.navbar-default {padding: 20px; box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);background-color: rgba(255, 255, 255, 0.9);}
.navbar-default .navbar-nav > li > a {font-size: 1em; color: #000;}
.navbar-default .navbar-nav > li > a:hover {color: #252160;}
.navbar-default .navbar-brand {
    color: #252160;
    font-size: 2em;
    font-weight: bold;
}
.navbar-default .navbar-brand:hover {
    color: #252160;
}

.btnlb {
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border: 1px solid #252160 !important;
    padding: 15px 65px;
    display: inline-block;
    color: #fff !important;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    white-space: normal;
    overflow: hidden;
    background: #252160 !important;
}

.modallogin {
    padding-left: 7em;
    padding-right: 7em;
}

footer {
    background: #727373;
    bottom: 0;
    position: absolute;
    width: 100%;
}

@media (max-height: 680px)  {
    #science img {
        top: 5.5em !important;
    }
    #science h3 {
        margin-top: 4.5em !important;
    }
    #you-speak .child {
        max-width: 116% !important;
    }
    #languamagic .lion {
        padding-top: 13em !important;
    }
    .onepage-pagination {
        display: none !important;
    }
    .choice-mobile {
        padding-top: 0 !important;
    }
}

@media (max-width: 1025px) and (max-height: 1337px) {
    #science img {
        top: 20em !important;
    }

    #science h3 {
        margin-top: 17em !important;
    }

    .navbar-default .navbar-brand {
        font-size: 1.9rem !important;
    }

    .navbar-default .navbar-nav > li > a {font-size: 1.4em; color: #000 !important;}
    #you-speak .text1 {
        padding-top: 11em !important;
    }

    #languamagic h3 {
        padding-top: 3em !important;
    }

    #languamagic .lion {
        padding-top: 40em !important;
    }
    .desk {
        display: none !important;
    }
    .box-bg-mobile {
        height: 23vh !important;
    }
    .box-bg-mobile a {
        padding-top: 10vh !important;
    }
    .container {
        width: auto !important;
    }
    .children-box-mobile {
        background-image: url(../img/children-ipad2.png) !important;
        animation-delay: 0s;
    }
    .adult-box-mobile {
        background-image: url(../img/adults-ipad.png) !important;
    }
    .struggling-box-mobile {
        background-image: url(../img/struggling-ipad.png) !important;
    }
    .publishers-box-mobile {
        background-image: url(../img/publish-ipad.png) !important;
    }
    .choice-mobile {
        padding-top: 91px;
    }
    .onepage-pagination {
        display: none !important;
    }
    #you-speak .img12 {
        top: 100px !important;
    }
    #you-speak .child {
        margin-top: 50px !important;
    }
}


@media (max-width: 768px) and (max-height: 1024px) {

    #science img {
        top: 20em !important;
    }

    #science h3 {
        margin-top: 17em !important;
    }

    .navbar-default .navbar-brand {
        font-size: 1.8rem !important;
    }

    .navbar-default .navbar-nav > li > a {font-size: 1em; color: #000 !important;}
    #you-speak .text1 {
        padding-top: 11em !important;
    }

    #languamagic h3 {
        padding-top: 3em !important;
    }

    #languamagic .lion {
        padding-top: 40em !important;
    }
    .desk {
        display: none !important;
    }
    .box-bg-mobile {
        height: 23vh !important;
    }
    .box-bg-mobile a {
        padding-top: 10vh !important;
    }
    .container {
        width: auto !important;
    }
    .children-box-mobile {
        background-image: url(../img/children-ipad2.png) !important;
        animation-delay: 0s;
    }
    .adult-box-mobile {
        background-image: url(../img/adults-ipad.png) !important;
    }
    .struggling-box-mobile {
        background-image: url(../img/struggling-ipad.png) !important;
    }
    .publishers-box-mobile {
        background-image: url(../img/publish-ipad.png) !important;
    }
    .choice-mobile {
        padding-top: 91px;
    }
    .onepage-pagination {
        display: none !important;
    }
    #you-speak .img12 {
        top: 100px !important;
    }
    #you-speak .child {
        margin-top: 50px !important;
    }

}

@media (max-width: 773px) and (max-height: 946px){

    .navbar-default .navbar-brand {
        font-size: 1.8rem !important;
    }

    .navbar-default .navbar-nav > li > a {font-size: 1em; color: #000 !important;}
    #you-speak .text1 {
        padding-top: 11em !important;
    }

    #languamagic h3 {
        padding-top: 3em !important;
    }

    #languamagic .lion {
        padding-top: 40em !important;
    }
    .desk {
        display: none !important;
    }
    .box-bg-mobile {
        height: 23vh !important;
    }
    .box-bg-mobile a {
        padding-top: 10vh !important;
    }
    .container {
        width: auto !important;
    }
    .children-box-mobile {
        background-image: url(../img/children-ipad2.png) !important;
        animation-delay: 0s;
    }
    .adult-box-mobile {
        background-image: url(../img/adults-ipad.png) !important;
    }
    .struggling-box-mobile {
        background-image: url(../img/struggling-ipad.png) !important;
    }
    .publishers-box-mobile {
        background-image: url(../img/publish-ipad.png) !important;
    }
    .choice-mobile {
        padding-top: 91px;
    }
    .onepage-pagination {
        display: none !important;
    }
    #you-speak .img12 {
        top: 100px !important;
    }
    #you-speak .child {
        margin-top: 50px !important;
    }
}


@media (max-width: 1024px) and (max-height: 705px){

    #science img {
        top: 12em !important;
    }

    #science h3 {
        margin-top: 10em !important;
    }

    #languamagic .lion {
        padding-top: 22em !important;
    }
    #airplane img {
        max-width: 45% !important;
    }
    #you-speak .child {
        max-width: 230% !important;
        margin-left: -30% !important;
        margin-top: 35% !important;
    }
    .onepage-pagination {
        display: none !important;
    }
}

/*
===========
00 - HOME
===========
*/
body.viewing-page-1 .onepage-pagination{ display: none;}

/* --- START VIDEO SECTION --- */

video {
    object-fit: initial;
    background: #000;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: 100%;
    z-index: -100;
    background-size: cover;
    transition: 1s opacity;
}

.btn {
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    border: 1px solid #fff;
    padding: 15px 65px;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    font-size: 1em;
    font-weight: 500;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
    white-space: normal;
    overflow: hidden;
    background: transparent;
}

.btn:hover {
    color: #ffffff;
    border-color: #ffffff;
    background-color: #b5b4b4 !important;
    transition: all 0.5s linear;
}

#video #mask_video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 100;
    padding: 2.25em 1.6875em;
    background-image: -webkit-repeating-radial-gradient(center center, rgba(0,0,0,0.1), rgba(0,0,0,0.5) 1px, rgba(0,0,0,0.8) 1px, transparent 100%);
    background-image: -moz-repeating-radial-gradient(center center, rgba(0,0,0,1), rgba(0,0,0,.2) 1px, transparent 1px, transparent 100%);
    background-image: -ms-repeating-radial-gradient(center center, rgba(0,0,0,0.1), rgba(0,0,0,1) 1px, rgba(0,0,0,0.5) 1px, transparent 100%);
    background-image: repeating-radial-gradient(center center, rgba(0,0,0,0.1), rgba(0,0,0,1) 1px, rgba(0,0,0,0.7) 1px, transparent 100%);
    -webkit-background-size: 3px 3px;
    -moz-background-size: 3px 3px;
    background-size: 3px 3px;
}

.text {
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 200;
    width: 70%;
    height: 30%;
    padding: 15px;
    text-align: right;
    text-shadow: rgb(3, 3, 3) 4px 4px 15px;
}

.first {
    font-size: 3em;
    line-height: 1em;
    color: #ffffff;
    font-weight: 100;
    margin: 40px 0;
}

.second {
    font-size: 2em;
    line-height: 1em;
    color: #ffffff;
    font-weight: 100;
    margin: 40px 0 80px 0;
}

a.arrow-down{
    position: absolute;
    left: 50%;
    bottom: 13%;
    color: #ffffff;
    border: 1px #ffffff solid;
    border-radius: 50%;
    padding: 21px;
    font-size: 20px;
    line-height: 15px;
    margin-left: -27px;
    z-index: 300;
}

/* --- END VIDEO SECTION ---*/

/* --- START CHOICE SECTION ---*/

#choice_type {
    background: #f5f5f5;
}

.col-lg-3.col-xs-3{
    padding-right: 0;
    padding-left: 0;
}

.box-bg {
    animation-duration: 2s;
    display: none;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
}

#choice.active .box-bg {display: block}

.box-bg a {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 65vh;
    -moz-transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
    background-color: rgba(0, 0, 0, 0.8);
}

.box-bg a:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.0);
    -moz-transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}

.box-bg a h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

.children-box {
    background-image: url("../img/box_children.jpg");
    animation-delay: 0s;
}

.adult-box {
    background-image: url("../img/box_adults.jpg");
    animation-delay: 0.3s;
}

.struggling-box {
    background-image: url("../img/box_struggling.jpg");
    animation-delay: 0.9s;
}

.publishers-box {
    background-image: url("../img/box_publishers.jpg");
    animation-delay: 1.2s;
}

/* --- END CHOICE SECTION ---*/


/* --- START CHALLENGE SECTION ---*/

#challenge {
    background: url("../img/bg_people.jpg") no-repeat bottom center;
    background-size: cover;
    z-index: 9;
}

#challenge h2 {
    display: none;
    text-align: left;
    padding-top: 3em;
    font-weight: 700;
    color: #616262;
    font-size: 4em;
    margin: 0 0 0 24%;
    position: relative;
    z-index: 1;
}

#challenge.active h2 {
    display: table;
    animation-delay: 0.3s;
    animation-duration: 2s;
}

#challenge h2:after {
    content: "";
    display: block;
    background-color: #000000;
    height: 1px;
    width: 60px;
    margin: 25px auto 0 0;
}

#challenge img {
    display: none;
    position: absolute;
    left: 10%;
    bottom: 0;
    z-index: 0;
}

#challenge.active img {
    display: block;
    animation-delay: 0.8s;
    animation-duration: 2s;
}

#challenge .col1 {
    height: 100vh;
}

#challenge h3 {
    display: none;
    font-weight: 700;
    color: #afafaf;
    font-size: 2.5em;
    position: relative;
    z-index: 1;
    padding: 22.5% 0 0 22%;
}

#challenge.active h3 {
    animation-delay: 0.5s;
    animation-duration: 2s;
    display: block;
}

#challenge span {
    color: #252160;
}

#challenge h4 {
    display: none;
    max-width: 90%;
    padding-left: 23%;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.2em;
    line-height: 2.5rem;
    position: absolute;
    bottom: 3%;
    z-index: 99;
}

#challenge.active h4 {
    animation-duration: 3s;
    display: block;
    animation-delay: 0.8s;
}

/* --- END CHALLENGE SECTION ---*/

/* --- START SCIENCE SECTION ---*/

#science {
    background-color: #f5f5f5;
}

#science h2 {
    display: none;
    font-weight: 700;
    color: #616262;
    font-size: 4.5rem;
    margin: 0 auto;
    position: absolute;
    left: 15%;
    z-index: 999;
    padding-top: 14rem;
}

#science.active h2 {
    display: block;
    animation-duration: 2s;
}

#science img {
    display: none;
    float: right;
    margin-right: 20%;
    top: 12em;
    position: relative;
    z-index: 99;
}

#science.active img {
    display: block;
    animation-duration: 2s;
}

#science h3 {
    display: none;
    font-weight: 700;
    color: #a2a3a3;
    font-size: 1.6em;
    margin-top: 11em;
    text-align: center;
}

#science.active h3 {
    display: block;
    animation-duration: 2s;
}

#science h3 span {padding-left: 25%}
/* --- END SCIENCE SECTION ---*/


/* --- START ENTER-LANGUABOOKS SECTION ---*/

#enter-languabooks .container {
    width: 85%;
}

#enter-languabooks .lion img {
    position: relative;
    z-index: 5;
    margin: 0 auto;
    display: block;
    padding-top: 7em;
}

#enter-languabooks .ipad {
    margin: 1em 0 0 10%;
}

.enter-col {
    display: none;
}

#enter-languabooks.active .enter-col {
    display: block;
    animation-duration: 2s;
}

#enter-languabooks h2 {
    font-weight: 700;
    color: #727373;
    font-size: 1.8em;
    margin-bottom: 50px;
    display: block;
}

#enter-languabooks h2:after {
    content: "";
    display: block;
    background-color: #000000;
    height: 1px;
    width: 60px;
    margin: 25px auto 0 0;
}

#enter-languabooks h3 {
    font-weight: 700;
    color: #727373;
    font-size: 1.6em;
}

#enter-languabooks p {
    font-size: 1em;
    color: #727373;
}
/* --- END ENTER-LANGUABOOKS SECTION ---*/


/* --- START YOU-SPEAK SECTION ---*/

#you-speak.active .enter-col {
    display: block;
    animation-duration: 2s;
}

#you-speak .text1 {
    padding-top: 12.5%;
    font-size: 1em;
    color: #727373;
}

#you-speak .child {
    max-width: 170%;
}

#you-speak .text2 {
    padding-top: 8%;
    font-size: 1em;
    color: #727373;
}

#you-speak .text3 {
    font-size: 1em;
    color: #727373;
}

#you-speak .text4 {
    padding-top: 10%;
}

#you-speak .img12 {
    float: right;
    margin-right: 30px;
    top: 0;
    position: relative;
}
/* --- END YOU-SPEAK SECTION ---*/

/* --- START LANGUAMAGIC SECTION ---*/

#languamagic {
    background-color: #f5f5f5;
}

#languamagic .container {
    width: 100%;
}

#languamagic.active .enter-col {
    display: block;
    animation-duration: 2s;
}

#languamagic .lion {
    padding-top: 50%;
    left: 0;
    position: absolute;
    max-width: 150%;
}

#languamagic h3 {
    font-weight: 700;
    color: #727373;
    font-size: 3.875rem;
    padding-top: 20%;
}

#languamagic p {
    font-size: 1.2em;
    color: #727373;
    text-align: justify;
}

#languamagic .col-lion {
    width: 50%;
}
/* --- END LANGUAMAGIC SECTION ---*/

/* --- START AIRPLANE SECTION ---*/

#airplane {
    z-index: 0;
    background: url(../img/bg_languamagic.png) no-repeat right center;
}

#airplane.active .enter-col {
    display: block;
    animation-duration: 2s;
}

#airplane h3 {
    font-weight: 700;
    color: #727373;
    font-size: 3.875rem;
    padding-top: 3em;
}

#airplane p {
    font-size: 1em;
    color: #727373;
    text-align: justify;
}

#airplane .images {
    padding-top: 2%;
}

#airplane .text-under-images {
    padding-top: 2%;
}

#airplane img {
    margin: 0 auto;
}

@media (max-width: 1366px){
    #airplane img {
        max-width: 50%;
    }
}

/* --- END AIRPLANE SECTION ---*/

.mobile {
    display: none;
}


@media (max-width: 700px) {
    .main {
        display: none !important;
    }
    .mobile {
        display: block !important;
    }
    body {
        overflow-y: scroll !important;
        overflow-x: hidden !important;
    }
}



.mobile-1 {
    background: url("../video/languabooks_for_ell.jpg");
    height: 100vh;
    background-size: cover;
}

.first-mobile {
    padding-top: 70%;
    font-size: 3em;
    line-height: 1em;
    color: #fff;
    font-weight: 100;

}

.second-mobile {
    padding-top: 10%;
    font-size: 2.5em;
    line-height: 1em;
    color: #fff;
    font-weight: 100;
}

a.arrow-down-mobile{
    position: absolute;
    left: 50%;
    bottom: -25%;
    color: #000;
    border: 1px #000 solid;
    border-radius: 50%;
    padding: 21px;
    font-size: 20px;
    line-height: 15px;
    margin-left: -27px;
    z-index: 300;
}

.box-bg-mobile {
    animation-duration: 2s;
    height: 50vh;
    background-size: cover;
    background-repeat: no-repeat;
}

.box-bg-mobile a {
    display: block;
    width: 100%;
    height: 100%;
    padding-top: 7vh !important;
    -moz-transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
    background-color: rgba(0, 0, 0, 0.8);
}

.box-bg-mobile a:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.0);
    -moz-transition: all 0.5s ease-in;
    -webkit-transition: all 0.5s ease-in;
    -o-transition: all 0.5s ease-in;
    transition: all 0.5s ease-in;
}

.box-bg-mobile a h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
}

.children-box-mobile {
    background-image: url("../img/children-ipad2.png");
    animation-delay: 0s;
}

.adult-box-mobile {
    background-image: url("../img/adults-ipad.png");
    animation-delay: 0.3s;
}

.struggling-box-mobile {
    background-image: url("../img/struggling-ipad.png");
    animation-delay: 0.9s;
}

.publishers-box-mobile {
    background-image: url("../img/publish-ipad.png");
    animation-delay: 1.2s;
}

.choice-mobile {
    padding-left: 0;
    padding-right: 0;
}

.challenge {
    background: url("../img/bg_people.jpg") no-repeat;
    background-size: cover;
}

.revolutionary {
    background: #f5f5f5;;
}