/* All Sections */
* {box-sizing: border-box; -webkit-tap-highlight-color: rgba(0,0,0,0); outline:none;}
body, h1, h2, h3, h4, h5, h6, p { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-weight: normal; }
a {text-decoration: none; font-weight: 500; color: #0e3267;}
img { width: 100%; height: auto; vertical-align: top;}

.itng-body{
    color: #0e3267;
    font: 400 22px 'Roboto', sans-serif;
    line-height: 28px;
    background: #fff;
    min-height: 100%;
    height: 100%;
    min-width: 320px;
}
.itng-wrapper{
    background: url(../img/ITNG_header_mobile_design.png) no-repeat center top, url(../img/ITNG_footer_mobile_design.png) no-repeat center bottom;
    background-size: 1990px 201.5px, 1990px 170px;
    padding-top: 75px
}
.itng-parents{
    background: url(../img/ITNG_parents_mobile_background.jpg) repeat;
    background-size: 207px 175px;
}
.itng-kids{
    background: url(../img/ITNG_kids_mobile_background.jpg) repeat;
    background-size: 207px 175px;
}
.itng-content{
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}
.itng-content.itng-main-content{
    min-height: 55vh;
    padding-bottom: 300px;
}
.node-page .field-name-body{
    padding: 1em 0 0.3em 0;
    margin: 0 1em 0 1em;
}

/* Header & Footer*/
.itng-page-header, .itng-footer{
   background: #7acbc6;  
   width: 100%;
   padding: 10px 0;
}
.itng-page-header .itng-header {
    height: 80px;
    max-height: 80px;
}
.itng-site-logo{
    width: 50%;
    display: inline;
    float: left;
    height: auto;
    margin-top: 10px;
}
.itng-main-menu{
    display: none;
}
.itng-main-menu ul.menu{
    text-align:center;
    margin: 0;
    padding: 0;
}
ul.menu{
    border: none;
    list-style: none;
    text-align: left;
}
#block-system-main-menu .content .menu .leaf{
    display: block;
    font: normal 32px 'PaperCuteRegular', sans-serif;
    margin-left: 0;
    padding: 0 24px;
}
li.leaf a{
    color: #fff;
}
li.leaf:last-child a{
    color: #0e3267;
}
.full-width-menu{
    position: fixed;
    top: 0;
    z-index: 10000;
    height: 100%;
}
.itng-body.menu-open{
    position:fixed;
}
.itng-site-logo.menu-open{
    display: none;
}
.itng-menu-burger.menu-open{
    width: 100%;
    text-align: right;
    margin-bottom: 50px;
}
.itng-main-menu.menu-open{
    display: block;
} 
.burger-close:before {
    content: "\f00d";
}
.itng-menu-burger{
    margin-top: 20px;
    float:right;
    font: normal 36px 'PaperCuteRegular', sans-serif;
    color: #fff;
}
.itng-footer{ 
    text-align: center;
}
.itng-footer p{
   font: normal 36px "PaperCuteRegular", sans-serif;
   line-height: 40px;
   color: #fff;
   margin-bottom: 15px;
}
.itng-social-links ul, .itng-footer-links ul{
    list-style: none;
    padding: 20px 0;
    margin: 0;
}
.itng-social-links ul li, .itng-footer-links ul li{
    display: inline;
}
.itng-social-links ul li a{
    font: 48px "FontAwesome";
    color: #fff;
    display: inline-block;
    text-indent: -9999px;
    padding: 0 5px;
}
.itng-footer-links ul li a{
    font: normal 18px "Roboto", sans-serif;
    color: #fff;
}
.itng-hide-text:before{
    float: left;
    margin: 0;
    text-indent: 0;
}
#dhx-link{font: 10px 'Roboto', sans-serif}
.copyright-dhx {
    position: absolute;
    left: 0;
    right: 0;
    background: #fff;
    height: 39px;
    width: 100%;
}
.ditdw-dhx-link {
    display: block;
    position: relative;
    background: url(../img/dhx-left.svg)no-repeat left center,url(../img/dhx-right.svg)no-repeat right center;
    background-size: 49px,82px;
    height: 39px;
    margin: 0 10px;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
#cookie-policy {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    text-align: left;
    width: 100%;
    padding: 30px 20px;
    background: rgba(0,0,0,0.7);
}
#cookie-dismiss {
    background-color: #ee503b;
    border: none;
    border-radius: 25px;
    color: #fff;
    padding: 10px 35px;
    text-decoration: none;
    display: inline-block;
    font: normal 20px "PaperCuteRegular", sans-serif;
    margin: 4px 2px;
}
#cookie-policy h2{ 
    font: normal 36px "PaperCuteRegular", sans-serif;
    line-height: 40px;
    margin-bottom: 20px;
    color: #fff;
}
#cookie-policy p{
    width: 80%;
    display: inline;
    float: left;
    font: 400 20px "Roboto", sans-serif;
}
#cookie-policy a{
    color: #fff;
    text-decoration: underline;
}

/* Slider */
.slick-prev, .slick-next{
    width: 50px;
    height: 50px;
    display: none !important;
}
.slick-prev:before{content: '\f053';}
.slick-next:before{ content: '\f054';}
.slick-dots li button:before{content: '\f10c';}
.slick-dots li.slick-active button:before{content: '\f111';}
.slick-dots li button:before, .slick-dots li.slick-active button:before{
    font: 16px 'FontAwesome';
    color: #0e3267; 
    opacity: 1;
}
.slick-prev:before, .slick-next:before{
    font: 36px 'FontAwesome';
    color: #0e3267;
    opacity: 1;
    display: none;
}
.slick-slide img, .slick-slide iframe, .video .field-name-field-video-url iframe{ 
    border-radius: 10px; 
    overflow: hidden;  
}
.field-collection-view{
    border: none;
}
.field-collection-container{
    border: none;
}
.field-name-field-slider.itng-carousel{
    position: relative;
}
.field-name-field-slider .field-name-field-body-text{
    padding-top: 20px;
}
.field-name-field-image.itng-carousel, .field-name-field-video-url.itng-carousel, .video .field-name-field-video-url{
    border: 15px solid;
    border-radius: 20px;
}
.field-name-field-slider.itng-carousel:before, .node-teaser:before, .itng-content-block .itng-cb-media:before, .video .field-name-field-video-url:before{
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 54.5px 46.5px 0;
    border-style: solid;
}
.itng-content-block .itng-cb-media:before{
    top: -35px;
    right: -35px;
}
.itng-cb-media .field-name-field-image, .itng-cb-media .field-name-field-video-url{
    position: relative;
}
.node-teaser:before{
    top: -10px;
    right: -5px;
}
.video .field-name-field-video-url:before{
    top: -30px;
    right: -30px;
}
/* Main Content */
.itng-title-text, .block-views h2{
    font: 400 34px 'PaperCuteRegular', sans-serif;
    line-height: 38px;
    text-align: center;
    padding: 20px 0;
    margin: 10px;
}
.field-name-body{
    padding: 20px 0;
}
/* Views and Filter*/
#views-exposed-form-home-content-home-view{
    position: relative;
}
#views-exposed-form-home-content-home-view .views-exposed-form .views-exposed-widget{
    float: none;
    padding: 10px 0;
}
#views-exposed-form-home-content-home-view select{
    cursor: pointer;
    width: 100%;
    height: auto;
    background-color: #0e3267;
    border: 10px solid #0e3267;
    border-radius: 15px;
    padding: 0 10px;
    font: 500 24px 'Roboto', sans-serif;
    color: #fff;
    appearance: none !important;
    -moz-appearance: none;
    -webkit-appearance:none;
    -o-appearance: none;
}
#views-exposed-form-home-content-home-view select::-ms-expand {
    display: none;
}
#views-exposed-form-home-content-home-view .form-type-select:before{
    cursor: pointer;
    position: absolute;
    top: 20px;
    right: 20px;
    content: '\f078';
    font: 28px 'FontAwesome';
    color: #fff;    
}
#views-exposed-form-home-content-home-view select option{
    border: 10px solid #0e3267;
    border-radius: 15px;
}
.ajax-progress-throbber { display: none}

.view, .block-views{
    padding: 30px 0;
    width: 100%;
}
.view-header{
    padding-bottom: 25px;
}
.views-row{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
}
.itng-promo-thirds .views-row{
    justify-content: center;
}
.itng-quarters .views-column{
    flex: 1 1 50%;
    max-width: 50%;
}
.node-teaser{
    position: relative;
    padding: 10px;
}
.field-name-field-thumbnail-image{
    text-align: center;
}
.node-teaser .field-name-field-thumbnail-image img{
    position: relative;
    border: 8px solid black;
    border-radius: 20px;
}
.node-teaser.developmentalbenefits .field-name-field-thumbnail-image img{
    width: 75%;
}
.node-teaser.node-post-type .field-name-field-thumbnail-image img{
    position:relative;
}
.itng-sponsored{
    position: absolute;
    width: 25%;
    height: auto;
    top: 10px;
    left: 10px;
}
.node-teaser.developmentalbenefits:before{
    border-style:none;
}
.node-teaser h3{
    font: 500 20px 'Roboto', sans-serif;
    line-height: 26px;
    padding-top: 5px;
}
.node-teaser p{
    font: 400 20px 'Roboto', sans-serif;
    line-height: 26px;
}
.field-name-field-button-text{
    width: 90%;
    max-width: 250px;
    margin: 15px auto;
    padding: 10px;
    border-radius: 25px;
    text-align: center;
    background-color: #0e3267;
    font: normal 16px 'PaperCuteRegular', sans-serif;
    line-height: 20px;
    color: #fff;   
}
.field-name-field-button-text a{
    display: inline-block;
    width: 100%;
    color: #fff;
}
.item-list .pager-load-more{
    margin-top: 25px;
}
.item-list .pager-load-more li{
    display:block;
    width: 10%;
    min-width: 150px;
    margin: 0 auto;
    padding: 10px;
    border-radius: 50px;
    text-align: center;
    background-color: #0e3267;
    font: normal 30px 'PaperCuteRegular', sans-serif;
    line-height: 30px;
}
.pager-load-more li a{
    color: #fff;
}
.item-list .pager-load-more-empty{
    display: none;
}

/* Container Page */
.itng-content-block{
    padding: 20px 0;
}
.itng-content-block .itng-cb-media{
    border: 15px solid;
    border-radius: 20px;
} 
.itng-content-block .itng-cb-media img, .itng-content-block .itng-cb-media iframe{
   border-radius: 10px;
   overflow: hidden;
}
.itng-content-block .itng-cb-media {
    position: relative;
    margin-bottom: 20px;
}
.itng-content-block .itng-cb-body p:not(:first-child){
    padding-top: 10px;
}
.video .field-name-field-video-url{
    position: relative;
    margin: 0 15px
}
#itng-404-gu{
    background-color:#0e3267;
    color:#fff;
}
#itng-404-lo{
    background-color:#ee503b;
    color:#fff;
}
/* EXIT WARNING AND COUNTDOWN TIMER */
#exit-warning-modal { display: none; position: absolute; left: 0; background: rgba(0,0,0,0.1); z-index: 9001; color: #0e3267; text-align: center; }
#exit-warning-modal .exit-warning-content { position: relative; top: 50%; left: 50%; width: 500px; height: 300px; margin: -150px 0 0 -250px; background: #fff; border: 15px solid #ed135d; border-radius: 20px; padding: 19px 0 8px; font-weight: 700; }
#exit-warning-modal .exit-warning-content:before{
    content: "";
    position: absolute;
    top: -38px;
    right: -35px;
    border-width: 0 54.5px 46.5px 0;
    border-style: solid;
    border-image: url(../img/ed135d_leaf.png);

}
#exit-warning-modal h3 { font: 400 28px 'Roboto', sans-serif; line-height: 1.5em; margin-top: 10px; }
#exit-warning-modal #exit-warning-countdown { text-align: center; font: 400 75px 'Roboto', sans-serif; line-height: 1.5em; }
#exit-warning-modal a.exit-button { 
	display: inline-block; 
	width: 200px;	
}
#exit-warning-modal a.exit-accept{
    background-color: #ed135d;
}

@media screen and (min-width: 480px){
    .itng-page-header .itng-header {
        height: 85px;
        max-height: 85px;
    }
    .itng-site-logo{
        width: 35%;
    }
    .itng-menu-burger{
        margin-top: 25px;
    }
    .itng-thirds .views-column{
        flex: 1 1 50%;
        max-width: 50%;
    }
    .field-name-field-button-text{
        font-size: 20px;
        line-height: 24px;
    }

}

@media screen and (min-width: 768px){
    .itng-body{
        font-size: 24px;
        line-height: 30px;
    }
    .itng-content{
        padding: 0 55px;
    }
    .itng-wrapper{
        background: url(../img/ITNG_header_design.png) no-repeat center top, url(../img/ITNG_footer_design.png) no-repeat center bottom;
        background-size: 3000px 303.5px, 3000px 256px;
        padding-top: 100px;
    }
    .itng-parents{
        background: url(../img/ITNG_parents_background.jpg) repeat;
        background-size: 312px 263.5px;
    }
    .itng-kids{
        background: url(../img/ITNG_kids_background.jpg) repeat;
        background-size: 312px 263.5px;
    }
    .itng-page-header .itng-header {
        height: 105px;
        max-height: 105px;
    }
    .itng-site-logo{
        width: 30%;
    }
    #block-system-main-menu .content .menu .leaf{
        font-size: 36px;
}
    .itng-title-text{
        font-size: 36px;
        line-height: 40px;
        padding: 10px;
    }
    .slick-prev, .slick-next{
        display: block !important;
    }
    .slick-prev:before, .slick-next:before{
        display: inline;
    }
    .field-name-field-slider.itng-carousel:before{
        top: -5px;
        right: -5px;
        border-width: 0 81.75px 69.75px 0;
    }
    .video .field-name-field-video-url:before{
        top: -45px;
        right: -40px;
        border-width: 0 81.75px 69.75px 0;
    }
    .itng-promo-thirds .views-column{
        flex: 1 1 50%;
        max-width: 50%;
    }
    .itng-quarters .views-column{
        flex-basis: 33.3%;
        max-width: 33.3%;
    }
    .node-teaser .field-name-field-button-text{
        width: 75%;
    }
    .field-name-field-button-text{
        font-size: 22px;
        line-height: 26px;
    }

    #itng-404{
        width: 80%;
        margin: 0 auto;
    }
    #itng-404-gu{ float: left;}
    #itng-404-lo{ float: right; }
}

@media screen and (min-width: 992px){
    .itng-content{
        padding: 0 58px;
    }
    .itng-site-logo{
        width: 25%;
    }
    .itng-promo-thirds .views-column{
        flex-basis: 33.3%;
        max-width: 33.3%;
    }
    .itng-quarters .views-column{
        flex-basis: 25%;
        max-width: 25%;
    }
    .itng-thirds .views-column{
        flex-basis: 33.3%;
        max-width: 33.3%;
    }
    .itng-content-block.image-left .itng-cb-media{
        float: left;
        width: 50%;
    }
    .itng-content-block.image-left .itng-cb-body{
        float: left;
        width: 50%;
        padding-left: 25px;
    }
    .itng-content-block.image-right .itng-cb-media{
        float: right;
        width: 50%;
    }
    .itng-content-block.image-right .itng-cb-body{
        float: right;
        width: 50%;
        padding-right: 25px;
        padding-right: 20px;
    }
    #itng-404{width: 60%;}
}

@media screen and (min-width: 1200px){
    .itng-content{
        padding: 0 71px;
    }
    .itng-content.itng-main-content{
        min-height: 800px;
    }
    .itng-site-logo{
        text-align: left;
        float:left;
        padding-right: 10px;
    }
    .itng-main-menu{
        display: inline;
        width: 75%;
        float: left;
        margin: 30px 0;     
    }
    .itng-main-menu ul.menu{
        text-align: left;
        margin-left: -50px;
    }
    #block-system-main-menu .content .menu .leaf{
        font-size: 30px;
        display: inline;
    }
    .itng-menu-burger{
        display: none;
    }
    #itng-404{width: 55%;}
}