body::-webkit-scrollbar {
    width: 0.5em;
    background-color: #555;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: #3088c4;
    outline: 1px solid slategrey;
}

#logo:hover {
    z-index: 10;
    position: absolute;
    float: left;
    margin-left: 10%;
    width: 280px;
    height: 6em;
    background: url("../../../images/icons/aflogo3.png");
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .3s;
    -webkit-transition: all .3s;
}


.BlokItem h3 {
    font-family: Klavika;
    text-transform: uppercase;
    padding: 5px;
    color: #888;
    font-size: 200%;
}

#Blok {
    float: left;
    height: auto;
    background: white;

    width: 80%;
    margin-left: 10%;
    text-align: center;

}


.menu-btn div {
    position: absolute;
    left: 100%;
    top: 64%;
    padding-right: 8px;
    margin-top: -0.50em;
    line-height: 1.2;
    font-size: 18px;
    font-weight: 200;
    vertical-align: middle;
    z-index: 99;
}

.menu-btn {
    font-family: Ionicons;
    margin: 0;
    padding: 0;
    text-align: right;
    width: 100%;
    height: 4em;

}

.menu-btn p {
    position: absolute;
    top: 0.8em;
    font-size: 1.5em;
    right: 1em;
    padding: 0;
    margin: 0;
}


.menu-btn span {
    display: block;
    width: 19px;
    height: 3px;
    margin: 4px 0;
    background: rgb(0, 0, 0);
    z-index: 99;
}

.responsive-menu {
    display: none;
}

.responsive-menu ul {
    padding: 0px;
    margin: 0;
}

.responsive-menu ul li ul li {
    background: #F8F8F8;
}

.responsive-menu a {
    color: #989DA1;
    text-transform: uppercase;
    font-family: sans-serif;
    padding: 10px 20% 10px 20%;
    text-decoration: none;
}

.responsive-menu li {
    background: #fff;
    float: none;
    line-height: 55px;
    width: 100%;
    text-align: center;
    border-bottom: #EDEDED solid 1px;
    position: relative;
    padding: 0;
    list-style-type: none;
}

.expand {
    display: block !important;
}

.open-menu-link {
    color: #3088c4;
    display: none;
    position: absolute;
    right: 15px;
    top: 0;
    line-height: 55px;
    font-size: 30px;
    cursor: pointer;
}

li .sub-menu {
    display: none;
}

.visible {
    display: block !important;
}




.loader {
    position: relative;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background-color: #3088c4;
    border-radius: 50%;
}


.mobile-nav {
    display: none;
}

#mid {

    position: relative;
    width: 100%;
    float: left;
    text-align: left;
    padding-bottom: 10px;
}

.desTxt {
    float: left;
    background: white;
    padding-top: 60px;
    margin-bottom: 60px;
}

.colonade {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/colonade.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.postova {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/postova-poistovna.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.premium-ic {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/premium-ic.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.youplus {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/youplus.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 30%;
}

.alianz {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/alianz.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.generali {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/generali.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.komunalna {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/komunalna.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.kooperativa {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/kooperativa.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.axa {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/axa.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.wusten {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/wusten.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.uniqua {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/uniqua.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.union {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/union.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.aegon {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/aegon.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.eup {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/eup.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.qbe {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/qbe.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.groupama {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/groupama.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.csob {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/csob.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.sp {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/sp.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.vub {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/vub.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.prima {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/prima.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.sberbank {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/sberbank.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.unicredit {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/unicredit.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.mbank {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/mbank.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.tatra {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/tatra.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.otp {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/otp.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.pss {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/pss.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.quatro {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/quatro.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.novis {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/novis.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.basler {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/basler.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.vubliz {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/vubliz.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.csobpos {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/csobpos.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;
}

.wust {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/wust.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;

}

.staveb {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/staveb.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;

}

.csoblis {
    float: left;
    width: 300px;
    height: 250px;
    background: url("../images/csoblis.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 50%;

}

.premium-ic:hover,
.colonade:hover,
.postova:hover,
.alianz:hover,
.csoblis:hover,
.staveb:hover,
.wust:hover,
.csobpos:hover,
.vubliz:hover,
.basler:hover,
.novis:hover,
.quatro:hover,
.pss:hover,
.otp:hover,
.tatra:hover,
.mbank:hover,
.unicredit:hover,
.sberbank:hover,
.prima:hover,
.vub:hover,
.sp:hover,
.csob:hover,
.groupama:hover,
.gbe:hover,
.eup:hover,
.aegon:hover,
.union:hover,
.uniqua:hover,
.wusten:hover,
.axa:hover,
.kooperativa:hover,
.komunalna:hover,
.generali:hover,
.alianz:hover,
.qbe:hover {
    -webkit-box-shadow: inset 0px 0px 104px -17px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: inset 0px 0px 104px -17px rgba(0, 0, 0, 0.23);
    box-shadow: inset 0px 0px 104px -17px rgba(0, 0, 0, 0.23);
    border-radius: 5px;
    background-size: 55%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.youplus:hover {
    -webkit-box-shadow: inset 0px 0px 104px -17px rgba(0, 0, 0, 0.23);
    -moz-box-shadow: inset 0px 0px 104px -17px rgba(0, 0, 0, 0.23);
    box-shadow: inset 0px 0px 104px -17px rgba(0, 0, 0, 0.23);
    border-radius: 5px;
    background-size: 35%;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.obal {
    margin-left: 3%;
}

.desTxt p {
    float: left;
    font-family: Tahoma;

    width: 60%;
    margin-left: 20%;
    text-align: left;
    color: #333;
}

#backImage {
    float: left;
    height: 450px;
    width: 100%;


    text-align: center;
}

.parallax-window {
    min-height: 400px;
    background: transparent;
}

#backImage p {
    width: 100%;

    padding-top: 210px;
    color: white;
    font-family: Raleway;
    font-size: 300%;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}

.bg {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5)
}

#nav-menu {
    float: right;
    margin-top: 2.9em;
    margin-right: 10%;
    font-family: sans-serif;
    font-weight: bold;
    font-size: 14px;
}

#menu {
    float: left;
    width: 100%;
    color: white;
}

ul#menu {
    margin: 0 0 5px;
    padding: 0;
    text-align: left;
}

ul#menu li {
    display: inline;
    list-style: none;
    padding-left: 15px;
    float: left;
    position: relative;
    background: white;
}

ul#menu li a {
    background: none;
    padding: 5px 0px 5px 0;
    color: #333;
    text-decoration: none;

    transition: all .3s;
    -webkit-transition: all .3s;
}

ul#menu li a:hover {
    background: white;
    transition: all .3s;
    -webkit-transition: all .3s;
    text-decoration: none;
    color: #3088c4;
}

ul#menu ul {
    display: none;
    position: absolute;
    left: 0;
    top: 20px;
}

ul#menu li {
    display: block;
}

ul#menu li:hover ul {
    display: block;
    width: 150px;
    margin-left: -5em;
    margin-top: 2px;
}

ul#menu li:hover ul li a {
    display: block;
    color: #333;
    padding: 10px;
    width: 150px;
    font-size: 90%;
    transition: all .3s;
    -webkit-transition: all .3s;
}

ul#menu li:hover ul li a:hover {
    transition: all .3s;
    -webkit-transition: all .3s;

    padding-left: 15px;
    color: #3088c4;
}

#header {
    z-index: 25;
    width: 100%;
    position: fixed;
    height: 6em;
    background: white;
}

#logo {
    z-index: 10;
    position: absolute;
    float: left;
    margin-left: 10%;
    width: 280px;
    height: 6em;
    background: url("../images/aflogo2.png");
    background-size: 50%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all .3s;
    -webkit-transition: all .3s;
}


#footer {
    z-index: 1;
    clear: both;
    padding: 0;
    bottom: 0px;
    height: 8em;
    width: 100%;
    -webkit-box-shadow: 0px -11px 0px 0px rgba(45, 104, 146, 1);
    -moz-box-shadow: 0px -11px 0px 0px rgba(45, 104, 146, 1);
    box-shadow: 0px -6px 0px 0px rgba(45, 104, 146, 1);
    background: #3088c4;
}

.footerBack {
    float: right;

    bottom: 0px;
    height: 30px;
}

.arrow2 {
    float: right;
    margin-top: 6em;
    margin-right: 20px;
    width: 20px;
    height: 20px;
    background: url("../images/arrow3.png");
    background-size: 100%;
    background-repeat: no-repeat;
    transition: all .2s;
    -webkit-transition: all .2s;
}

#odkaz2 {
    float: right;
    cursor: pointer;
}

.arrow2:hover {
    float: right;
    margin-top: 6.1em;
    margin-right: 20px;
    width: 20px;
    height: 20px;
    background: url("../images/arrow3.png");
    background-size: 100%;
    background-repeat: no-repeat;
    transition: all .2s;
    -webkit-transition: all .2s;
}

#footer ul {
    z-index: 1;
    font-family: Raleway;
    padding: 0;
    clear: both;
    float: left;
    margin-bottom: 0px;
    margin-left: 12%;
    margin-top: 4em;
    height: 20%;
}

#footer ul li {
    margin-bottom: 10px;
    list-style-type: none;
    display: inline;
}

#footer ul li a {
    text-decoration: none;
    color: white;
    padding: 5px 10px 5px 10px;
    transition: all .3s;
    -webkit-transition: all .2s;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

#footer ul li a:hover {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    transition: all .3s;
    -webkit-transition: all .2s;
}

#footer ul li a small {
    visibility: hidden;
}

#footer ul li a:hover small {
    visibility: visible;
}

@font-face {
    font-family: Klavika;
    src: url(../../../../images/fonts/klavika-bold-opentype.ttf);
}

@font-face {
    font-family: Raleway;
    src: url(../../../../images/fonts/raleway-thin.ttf);
}

@font-face {
    font-family: Hagin;
    src: url(../../../../images/fonts/droidserif-bolditalic.ttf);
}

@font-face {
    font-family: Ionicons;
    src: url(../../../../images/fonts/ionicons.ttf);
}








@media screen and (min-device-width: 1200px) and (max-device-width: 1600px) and (-webkit-min-device-pixel-ratio: 2) and (min-resolution: 192dpi) {

    #nav-menu {

        display: block;
    }

    .mobile-nav {
        display: none;
    }


}








/*////////////////////////////////////////////////////////////////////////////////////////////  RESPONZIVE   /////////////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    #nav-menu {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .desTxt {
        float: left;
        padding-top: 30px;
        height: auto;
        width: 100%;
        margin-bottom: 60px;
    }


    .premium-ic,
    .colonade,
    .postova,
    .alianz,
    .csoblis,
    .staveb,
    .wust,
    .csobpos,
    .vubliz,
    .basler,
    .novis,
    .quatro,
    .pss,
    .otp,
    .tatra,
    .mbank,
    .unicredit,
    .sberbank,
    .prima,
    .vub,
    .sp,
    .csob,
    .groupama,
    .gbe,
    .eup,
    .aegon,
    .union,
    .uniqua,
    .wusten,
    .axa,
    .kooperativa,
    .komunalna,
    .generali,
    .alianz,
    .qbe {
        width: 25%;
        margin-left: 5%;
        height: 100px;
        float: left;
        background-size: 50%;
    }

    .youplus {
        width: 25%;
        margin-left: 5%;
        height: 100px;
        float: left;
        background-size: 30%;
    }

    .obal {
        margin-left: none;
    }



    #header {

        height: 4em;

    }

    #logo {
        position: absolute;
        left: 10%;
        top: -1em;
        width: 200px;
        transform: translate(-50%, 0%);
    }

    #backImage {
        float: left;
        height: 400px;
        width: 100%;
        background: url("../images/bg3.jpg");
        background-position: center;
        background-size: 400% 100%;
        background-repeat: no-repeat;
        text-align: center;
    }

    #backImage p {
        width: 100%;
        padding-top: 2em;
        color: white;
        font-family: Raleway;
        font-size: 300%;
    }

    .heading {
        float: left;
        font-family: Raleway;
        color: white;
        height: 50%;
        width: 100%;
        margin-top: 6em;
        text-align: center;
    }



    .heading h1 {
        font-size: 80%;
    }

    .arrow2 {
        float: right;
        margin-top: 3em;
        margin-right: 20px;
        width: 20px;
        height: 20px;
        background: url("../images/arrow3.png");
        background-size: 100%;
        background-repeat: no-repeat;
        transition: all .2s;
        -webkit-transition: all .2s;
    }

    .arrow2:hover {
        float: right;
        margin-top: 3.1em;
        margin-right: 20px;
        width: 20px;
        height: 20px;
        background: url("../images/arrow3.png");
        background-size: 100%;
        background-repeat: no-repeat;
        transition: all .2s;
        -webkit-transition: all .2s;
    }






    #footer ul li {
        display: inline;

    }

    #footer ul {
        z-index: 1;
        font-family: Raleway;
        padding: 0;

        font-size: 90%;
        margin-left: 0;
        float: left;
        margin-bottom: 0px;
        margin-left: 1em;
        height: 20%;
        margin-top: 3em;
        list-style-type: none;
        bottom: 10px;

    }

    #footer ul li a {
        text-decoration: none;
        color: white;
        padding: none;
        background: none;
        border-radius: none;
        transition: all .3s;
        -webkit-transition: all .3s;
    }



}


/*////////////////////////////////////////////////////////////////////////////////////////////  RESPONZIVE   /////////////////////////////////////////////////////////////////////////////////////////*/
@media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 1) {
    #nav-menu {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .desTxt {
        float: left;
        padding-top: 30px;
        height: auto;
        width: 100%;
        margin-bottom: 60px;
    }

    .premium-ic,
    .colonade,
    .postova,
    .alianz,
    .csoblis,
    .staveb,
    .wust,
    .csobpos,
    .vubliz,
    .basler,
    .novis,
    .quatro,
    .pss,
    .otp,
    .tatra,
    .mbank,
    .unicredit,
    .sberbank,
    .prima,
    .vub,
    .sp,
    .csob,
    .groupama,
    .gbe,
    .eup,
    .aegon,
    .union,
    .uniqua,
    .wusten,
    .axa,
    .kooperativa,
    .komunalna,
    .generali,
    .alianz,
    .qbe {
        width: 25%;
        margin-left: 5%;
        height: 100px;
        float: left;
        background-size: 50%;
    }

    .youplus {
        width: 25%;
        margin-left: 5%;
        height: 100px;
        float: left;
        background-size: 30%;
    }

    .obal {
        margin-left: none;
    }



    #header {

        height: 4em;

    }

    #logo {
        position: absolute;
        left: 10%;
        top: -1em;
        width: 200px;
        transform: translate(-50%, 0%);
    }

    #backImage {
        float: left;
        height: 400px;
        width: 100%;
        background: url("../images/bg3.jpg");
        background-position: center;
        background-size: 400% 100%;
        background-repeat: no-repeat;
        text-align: center;
    }

    #backImage p {
        width: 100%;
        padding-top: 3em;
        color: white;
        font-family: Raleway;
        font-size: 300%;
    }

    .heading {
        float: left;
        font-family: Raleway;
        color: white;
        height: 50%;
        width: 100%;
        margin-top: 6em;
        text-align: center;
    }



    .heading h1 {
        font-size: 80%;
    }

    .arrow2 {
        float: right;
        margin-top: 3em;
        margin-right: 20px;
        width: 20px;
        height: 20px;
        background: url("../images/arrow3.png");
        background-size: 100%;
        background-repeat: no-repeat;
        transition: all .2s;
        -webkit-transition: all .2s;
    }

    .arrow2:hover {
        float: right;
        margin-top: 3.1em;
        margin-right: 20px;
        width: 20px;
        height: 20px;
        background: url("../images/arrow3.png");
        background-size: 100%;
        background-repeat: no-repeat;
        transition: all .2s;
        -webkit-transition: all .2s;
    }






    #footer ul li {
        display: inline;

    }

    #footer ul {
        z-index: 1;
        font-family: Raleway;
        padding: 0;

        font-size: 90%;
        margin-left: 0;
        float: left;
        margin-bottom: 0px;
        margin-left: 1em;
        height: 20%;
        margin-top: 3em;
        list-style-type: none;
        bottom: 10px;

    }

    #footer ul li a {
        text-decoration: none;
        color: white;
        padding: none;
        background: none;
        border-radius: none;
        transition: all .3s;
        -webkit-transition: all .3s;
    }



}

/*////////////////////////////////////////////////////////////////////////////////////////////  RESPONZIVE   /////////////////////////////////////////////////////////////////////////////////////////*/
@media screen and (max-width:1200px) {
    #nav-menu {
        display: none;
    }

    .mobile-nav {
        display: block;
    }

    .desTxt {
        float: left;
        padding-top: 30px;
        height: auto;
        width: 100%;
        margin-bottom: 60px;
    }

    .premium-ic,
    .colonade,
    .postova,
    .alianz,
    .csoblis,
    .staveb,
    .wust,
    .csobpos,
    .vubliz,
    .basler,
    .novis,
    .quatro,
    .pss,
    .otp,
    .tatra,
    .mbank,
    .unicredit,
    .sberbank,
    .prima,
    .vub,
    .sp,
    .csob,
    .groupama,
    .gbe,
    .eup,
    .aegon,
    .union,
    .uniqua,
    .wusten,
    .axa,
    .kooperativa,
    .komunalna,
    .generali,
    .alianz,
    .qbe {
        width: 25%;
        margin-left: 5%;
        height: 100px;
        float: left;
        background-size: 50%;
    }

    .youplus {
        width: 25%;
        margin-left: 5%;
        height: 100px;
        float: left;
        background-size: 30%;
    }

    .obal {
        margin-left: none;
    }



    #header {

        height: 4em;

    }

    #logo {
        position: absolute;
        left: 2em;
        top: -1em;
        width: 200px;
        transform: translate(-50%, 0%);
    }

    #logo:hover {
        position: absolute;
        left: 2em;
        top: -1em;
        width: 200px;
        transform: translate(-50%, 0%);
        background: url("../../../images/icons/aflogo3.png");
        background-size: 50%;
        background-position: center;
        background-repeat: no-repeat;
        transition: all .3s;
        -webkit-transition: all .3s;
    }


    #backImage {
        float: left;
        height: 400px;
        width: 100%;
        background: url("../images/bg3.jpg");
        background-position: center;
        background-size: 400% 100%;
        background-repeat: no-repeat;
        text-align: center;
    }

    #backImage p {
        width: 100%;
        padding-top: 2em;
        color: white;
        font-family: Raleway;
        font-size: 300%;
    }

    .heading {
        float: left;
        font-family: Raleway;
        color: white;
        height: 50%;
        width: 100%;
        margin-top: 6em;
        text-align: center;
    }



    .heading h1 {
        font-size: 80%;
    }

    .arrow2 {
        float: right;
        margin-top: 3em;
        margin-right: 20px;
        width: 20px;
        height: 20px;
        background: url("../images/arrow3.png");
        background-size: 100%;
        background-repeat: no-repeat;
        transition: all .2s;
        -webkit-transition: all .2s;
    }

    .arrow2:hover {
        float: right;
        margin-top: 3.1em;
        margin-right: 20px;
        width: 20px;
        height: 20px;
        background: url("../images/arrow3.png");
        background-size: 100%;
        background-repeat: no-repeat;
        transition: all .2s;
        -webkit-transition: all .2s;
    }






    #footer ul li {
        display: inline;

    }

    #footer ul {
        z-index: 1;
        font-family: Raleway;
        padding: 0;

        font-size: 90%;
        margin-left: 0;
        float: left;
        margin-bottom: 0px;
        margin-left: 1em;
        height: 20%;
        margin-top: 3em;
        list-style-type: none;
        bottom: 10px;

    }

    #footer ul li a {
        text-decoration: none;
        color: white;
        padding: none;
        background: none;
        border-radius: none;
        transition: all .3s;
        -webkit-transition: all .3s;
    }



}

@media screen and (max-width: 800px) and (orientation: landscape) {
    .heading h1 {
        padding: 0 0 0 0;
        margin: 5% 0 0 0;

    }

    .mobile-nav {
        display: block;
    }

    #logo {
        position: absolute;
        left: 5%;
        top: -1em;
        width: 30%;
        transform: translate(-50%, 0%);
    }

    #mid {
        background: white;
    }



    #footer ul li {
        margin-bottom: 20px;
        list-style-type: none;
        display: inline-block;
    }

    #footer {
        height: 8em;
    }

    #footer ul {
        z-index: 1;
        font-family: klavika;
        padding: 0;
        clear: both;
        float: left;
        margin-bottom: 0px;
        margin-left: 2%;
        height: 20%;
        background: #3088c4;
    }
}

@media only screen and (min-device-width: 800px) and (max-device-width: 1280px) and (-webkit-min-device-pixel-ratio: 2) {
    #nav-menu {
        display: block;
    }

    .mobile-nav {
        display: none;
    }

    #nav-menu {
        float: right;
        margin-top: 2em;
        margin-right: 5%;
        font-family: sans-serif;
        font-weight: bold;
        font-size: 13px;
    }

    ul#menu ul {
        display: none;
        position: absolute;
        left: 0;
        top: 18px;
    }
}