/* fonts */
@font-face {
    font-family: AstounderSquaredBB_bold;
    src: url(../fonts/AstounderSquaredBB_bold.ttf);
}

@font-face {
    font-family: proximanova-regular-webfont;
    src: url(../fonts/proximanova-regular-webfont.ttf);
}
@font-face {
    font-family: proximanova-bold-webfont;
    src: url(../fonts/proximanova-bold-webfont.ttf);
}

a{
    color: #fff;
    text-decoration: none;
}
a:hover, a:active{
    text-decoration: none;
}

body{
    font-family: proximanova-regular-webfont;
    color: #fff;
    text-shadow: 0px 1px 5px rgba(0,0,0,1);
    font-size: 30px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #000;
    margin: 0px;
    padding: 0px;
}
h1, h2, h3, h4, h5, h6{
    font-family: AstounderSquaredBB_bold;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0px 2px 6px rgba(0,0,0,1);
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
}
h1{
    font-size: 70px;
}
h2{
    font-size: 60px;
}
h3{
    font-size: 40px;
}
h4{
    font-size: 26px;
}

p{
    margin-bottom: 40px;
}

button{
    font-family: AstounderSquaredBB_bold;
}

section{
    padding-top: 140px;
    padding-bottom: 140px;
    position: relative;
}

footer{
    padding-top: 140px;
    padding-bottom: 5px;
}
footer .footer-download{
    padding-top: 40px;
    padding-bottom: 40px;
}
footer .footer-lower{
    margin-top: 40px;
}
footer .footer-lower-left{
    margin-top: 31px;
}

/* headers */
header{
    background: url(../img/backgroundM.jpg) no-repeat center center;
    background-size: cover;
    padding-bottom: 42.35%;
    margin-top: 70px;
    position: relative;
    min-height: 700px;
}
header.header-hour{
    background-image: url(../img/HourOfCode.jpg);
    padding-bottom: 150px;
    padding-top: 160px;
    min-height: 600px;
} 
header.header-schools{
    background-image: url(../img/Schools.jpg);
    padding-bottom: 150px;
    padding-top: 160px;
    min-height: 600px;
}
header h1{
    margin-bottom: 60px;
}

.download-button-wrapper{
    position: absolute;
    bottom: 170px;
    width: 100%;
    z-index: 100;
}
.download-button-wrapper img{
    box-shadow: 0px 3px 10px rgba(0,0,0,0.8);
    -moz-box-shadow: 0px 3px 10px rgba(0,0,0,0.8);
    -webkit-box-shadow: 0px 3px 10px rgba(0,0,0,0.8); 
    border-radius: 15px;
}

.video-box-wrapper{
    position: absolute;
    width: 100%;
    bottom: -161px;
    z-index: 99;
}
.video-box{
    position: relative;
    display: inline-block;  
}
.video-box img{
    max-width: 100%;
}
.youtubeplayer{
    position: absolute;
    left: 18%;
    top: 23%;
    width: 64%;
    height: 54%;
}
a.play_arrow {
    display: inline-block;
    height: 184px;
    width: 324px;
    position: absolute;
    /*border: 4px solid white;*/
    /* NEEDED FOR Internet Explorer */
    margin: 0 auto;
    top: 23%;
    bottom: 0px;
    right: 0px;
    left: 0px;
    background: url('/static/images/play.png') no-repeat center;
}

/* sections */
.section-title{
    padding-top: 200px;
    padding-bottom: 160px;
}
.badge-wrapper{
    position: relative;
    font-family: proximanova-bold-webfont;
    margin-top: -20px;
}
.badge-image{
    width: 100%;
    height: auto;
}
.badge-text{
    position: absolute;
    left: 33%;
    top: 28%;
    font-size: 14px;
    width: 33%;
    text-align: center;
    line-height: 1;
}
.badge-year{
    position: absolute;
    left: 32%;
    top: 46%;
    font-size: 20px;
    width: 35%;
    text-align: center;
    line-height: 1;
}

.hoc-overview .row{
    margin-bottom: 20px;
}
.hoc-overview .fillimage.nbr{
    max-width: 107px;
}
.hoc-overview .row h3{
    font-family: proximanova-bold-webfont;
    font-size: 22px;
    margin-bottom: 20px;
}

.section-trailer{
    position: relative;
    background: url(../img/hiro-sleep.jpg) no-repeat center center;
    background-size: cover;
    /*margin-bottom: 100px;*/
    padding-bottom: 250px;
    padding-top: 170px;
    min-height: 100vh;
}
.section-trailer.active{
    background-image:none; 
}
.overlay{
    background-color: rgba(20,29,0,0.5);
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 100%;
    z-index: 0;
    overflow: hidden;
    opacity: 0.6;
    pointer-events: none;
}
.overlay .screen{
    position: absolute;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    z-index: 1;
    margin: auto;
    opacity: 0;
    transition: opacity 0.5s;
}
.overlay .screen.active{
    opacity: 1;
}

.section-featured{
    padding-top: 0px;
    padding-bottom: 0px;
}

.section-code img{
    margin-top: 30px;
    margin-bottom: 30px;
}

.section-testimonials{
    padding-bottom: 500px;
}
.section-testimonials h3{
    border-bottom: 4px solid #ce3d30;
    box-shadow: 0px 4px 0px 0px rgba(0,0,0,0.6);
}

.section-teacher-resources{
    /* color: #685821;
    text-shadow: none; */
}
.overview p {
    font-size: 20px;
}
.featured-box{
    background-color: #fff;
    padding: 30px;
    border-radius: 30px;
    box-shadow: 0px 5px 20px rgba(0,0,0,0.4);
    margin-top: 40px;
    text-align: center;
    margin-bottom: 60px;
}
.featured-box img{
    max-width: 100%;
    max-height: 180px;
    margin-bottom: 0px;
    margin-top: 0px;
}
.featured-box.hoc h3{
    font-size: 35px;
}
.featured-box.hoc p{
    min-height: 140px;
}
.featured-box h3{
    color: #ad9238;
    text-shadow: none;
}
.featured-box p{
    color: #685821;
    text-shadow: none;
    font-size: 24px;
}
.section-slides{
    padding-top: 240px;
}
.section-slides .slider-container{
    position: relative;
}
.section-slides .slider-phone{
    width: 100%;
    height: auto;
    z-index: 9;
}
.section-slides .slides{
    position: absolute;
    left: 19%;
    width: 78%;
    top: 8%;
    height: 76%;
    background-color: #111;
    z-index: 8
}
.section-slides.flipped .slides{
    left: 3%;
}
/* Separators */
.separator{
    position: relative;
    overflow: visible;
    height: 0;
    padding: 0;
    z-index: 9;
}
.separator-top{
    
}
.separator-image{
    position: absolute;
    width: 100%;
    top: 50%;
    left: 0;
    right: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    pointer-events: none;
}
.separator-image-top{
     -webkit-transform: translateY(-99%);
    -moz-transform: translateY(-99%);
    -ms-transform: translateY(-99%);
    transform: translateY(-99%);
}
.separator-image-bottom{
     -webkit-transform: translateY(0%);
    -moz-transform: translateY(0%);
    -ms-transform: translateY(0%);
    transform: translateY(0%);
}


/* gradients */
.gradient-blue{
    background: #5c87c5; /* Old browsers */
    background: -moz-linear-gradient(top,  #5c87c5 0%, #224373 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #5c87c5 0%,#224373 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #5c87c5 0%,#224373 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5c87c5', endColorstr='#224373',GradientType=0 ); /* IE6-9 */
}

.gradient-green{
    background: #639740; /* Old browsers */
    background: -moz-linear-gradient(top,  #639740 0%, #4E7600 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #639740 0%,#4E7600 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #639740 0%,#4E7600 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#639740', endColorstr='#4E7600',GradientType=0 ); /* IE6-9 */
}

.gradient-red{
    background: #CE3D30; /* Old browsers */
    background: -moz-linear-gradient(top,  #CE3D30 0%, #A23026 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #CE3D30 0%,#A23026 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #CE3D30 0%,#A23026 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#CE3D30', endColorstr='#A23026',GradientType=0 ); /* IE6-9 */
}

.gradient-gold{
    background: #DCBA46; /* Old browsers */
    background: -moz-linear-gradient(top,  #DCBA46 0%, #AD9238 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top,  #DCBA46 0%,#AD9238 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom,  #DCBA46 0%,#AD9238 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#DCBA46', endColorstr='#AD9238',GradientType=0 ); /* IE6-9 */
}

.gradient-yellow{
    background: #ffce00;
}

.gradient-brown{
    background: #280c0a;
}

/* bootstrap overrides */

.navbar{
    font-family: AstounderSquaredBB_bold;
}
.navbar.navbar-default{
    background-color: #fff;
    box-shadow: 0px 0px 50px rgba(0,0,0,1);
    padding-top: 15px;
}
.navbar-brand{
    padding: 0px;
    margin-right: 15px;
}

.navbar-default .navbar-nav>li>a{
    color: #fff;
    transition: all 0.4s;
}
.navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover{
    color: #f1f1f1;
}
.nav>li{
}
.nav>li>a{
    padding: 0px;
    line-height: 50px;
    font-size: 40px;
    color: #fff;
    text-shadow: 0px 2px 6px #224373;
    padding-left: 35px;
    padding-right: 35px;
}
.nav.navbar-right>li>a{
    padding-left: 5px;
    padding-right: 0px;
}
.nav.navbar-right>li>a>img{
    height: 50px;
}
.main-nav{
    display: inline-block;
    float: none;
}
.navbar-default .navbar-nav>.active>a, .navbar-default .navbar-nav>.active>a:focus, .navbar-default .navbar-nav>.active>a:hover{
    background-color: transparent;
    color: #5c87c5;
}

.btn-lg{
    border-radius: 8px;
    font-size: 30px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.4);
    padding-right: 25px;
    padding-left: 25px;
    margin-bottom: 10px;
}
.btn-lg img{
    margin-right: 15px;
}
.btn-blue{
    background-color: #5c87c5;
}
.btn-yellow{
    background-color: #dcba46;
}
.btn-green{
    background-color: #639740;
}
.input-lg{
    font-size: 30px;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.4);
    height: 57px;
    margin-top: 2px;
}

.fillimage{
    width: 100%;
    height: auto;
}
.store-btn{
    width: 125%;
}
.carousel-indicators {
    bottom: -80px;
}

.carousel-indicators li {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: rgba(255,255,255,0.1);
    border: 1px solid transparent;
    border-radius: 10px;
}
.carousel-indicators .active {
    width: 15px;
    height: 15px;
    border: 1px solid #fff;
    margin: 0;
    margin-top: -1px;
    background-color: #fff;
}

/* Newsletter */
.subscribed_message{
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 20px;
}
footer .subscribed_message{
    text-align: left;
    font-size: 14px;
}
.eula-color{
    background-color: rgb(34,67,115);
}
.eula-header{
    margin-bottom: 60px;
}
.eula-text {
    text-align: justify;
    font-size: 17px;
}

/* mobile adjustments */
@media (min-width: 2300px){
    .navbar.navbar-default{
        padding-top: 25px;
    }
    .navbar-brand>img{
        height: 80px;
        margin-top: -10px;
    }
    .nav>li>a{
        font-size: 70px;
    }
    .download-button-wrapper{
        bottom: 400px;
    }
    .download-button-wrapper img{
        width: 400px;
    }
    .video-box-wrapper{
        bottom: -300px;
    }
    .video-box img{
        width: 1000px;
    }
    body{
        font-size: 50px;
    }
    section{
        padding-top: 300px;
        padding-bottom: 300px;
    }
    .section-title{
        padding-top: 340px;
    }
    .section-slides{
        padding-top: 300px;
    }
    h1{
        font-size: 140px;
    }
    h2{
        font-size: 120px;
    }
    h3{
        font-size: 80px;
    }
    h4{
        font-size: 50px;
    }
    .btn-lg{
        font-size: 50px;
        border-radius: 20px;

    }
    .carousel-inner>.item>a>img, .carousel-inner>.item>img{
        width: 100%;
    }
    .carousel-indicators{
        bottom: -140px;
    }
    .input-lg{
        height: 86px;
    }
}
@media (max-width: 1530px){
    .section-trailer{
        padding-bottom: 140px;
    }

    .nav>li>a{
        font-size: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .nav.navbar-right>li>a>img{
        height: 36px;
    }
    section{
        padding-top: 100px;
        padding-bottom: 100px;
    }
    .section-slides{
        padding-top: 150px;
    }
}
@media(max-width: 1450px){
    h1{
        font-size: 70px;
    }
    h2{
        font-size: 60px;
    }
    h3{
        font-size: 40px;
    }
    h4{
        font-size: 26px;
    }
    .download-button-wrapper img{
        width: 260px;
    }
    .badge-wrapper{
        margin-top: 0px;
    }
}
@media (max-width: 991px){
    body{
        text-align: center;
        font-size: 32px;
    }
    header{
        margin-top: 50px;
        background: url(../img/backgroundTop.jpg) no-repeat center center;
        padding-bottom: 133.33%;
        background-size: cover;
    }
    .download-button-wrapper{
        bottom: 160px;
    }
    .section-slides {
        padding-top: 140px;
    }
    .section-title{
        padding-bottom: 100px;
    }
    .section-trailer{
        padding-bottom: 100px;
        padding-top: 100px;
    }
    .footer-lower{
        margin-top: 30px;
    }
    .footer-lower .text-right{
        text-align: center;
        margin-top: 30px;
    }
    .footer-lower input{
        margin-bottom: 10px;
    }
    .btn-lg{
        float: none;
        margin-bottom: 15px;
    }
    .fillimage{
        width: 80%;
        max-width: 300px;
    }
    .subscribed_message{
        text-align: center;
    }
    input.form-control{
        margin-top: 30px;
        margin-bottom: 15px;
    }
    h1{
        font-size: 60px;
    }
    .navbar-right{
        border-top: 1px solid #f1f1f1;
    }
    .navbar-right li{
        display: inline-block;
    }

} 
@media (max-width: 768px){
    .download-button-wrapper{
        bottom: 100px;
    }
    .video-box-wrapper{
        bottom: -221px;
    }
}
@media (max-width: 480px){
    a.play_arrow {
        margin-top: -90px !important;
        top: 50% !important;
    }
}

@media (max-width: 430px){
    .video-box-wrapper{
        bottom: -160px;
    }
    h1{
        font-size: 48px;
    }
    h2{
        font-size: 42px;
    }
    h3{
        font-size: 28px;
    }
    h4{
        font-size: 18px;
    }
    body{
        font-size: 23px;
    }
}
.font-arial{
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}