/* Fonts: */
@font-face {
    font-family: 'the_wavebold';
    src: url('../fonts/thewave-bold.eot');
    src: url('../fonts/thewave-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/thewave-bold.woff2') format('woff2'),
         url('../fonts/thewave-bold.woff') format('woff'),
         url('../fonts/thewave-bold.ttf') format('truetype'),
         url('../fonts/thewave-bold.svg#the_wavebold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'the_wavedemibold';
    src: url('../fonts/thewave-demibold.eot');
    src: url('../fonts/thewave-demibold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/thewave-demibold.woff2') format('woff2'),
         url('../fonts/thewave-demibold.woff') format('woff'),
         url('../fonts/thewave-demibold.ttf') format('truetype'),
         url('../fonts/thewave-demibold.svg#the_wavedemibold') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Layout: */
body {
    cursor: default;
    width:  100%;
    height: 100%;
    margin:  0;
    padding: 0;
    font-family: the_wavedemibold, arial, helvetica, sans-serif;
    font-size: 22px;
}

body,
a {
    color: white;
}

a {
    text-decoration: none;
}

/* Default layout: */
html,
body,
.wrapper {
    background-color: #000078;
}

body.no-scroll-color .wrapper {
    background-color: transparent;
}

body.layout-1 {
    background-color: #000078;
}
body.layout-2 {
    background-color: #ffa0af;
}
body.layout-3 {
    background-color: #005046;
}
body.layout-4 {
    background-color: #fffa82;
}
body.layout-5 {
    background-color: #bebebe;
}
body.layout-6 {
    background-color: #000078;
}
body.layout-7 {
    background-color: #71b78c;
}
body.layout-8 {
    background-color: #3cb4f5;
}
body.layout-9 {
    background-color: #ff5d5d;
}
body.layout-10 {
    background-color: #717171;
}
body.layout-11 {
    background-color: #ffbe32;
}

.footer {
    color: #000078;
}

.section {
    
}

.wrapper {
    width: 100%;
}

.header {
    width: 100%;
    height: 80px;
    padding: 10px;
    padding-top: 25px;
    text-align: center;
}

.header-left {
    position: absolute;
    top:  18px;
    left: 50px;
    font-family: the_wavedemibold, arial, helvetica, sans-serif;
}

.header-title {
    margin-top: -5px;
}

.header-right {
    position: absolute;
    top:   25px;
    right: 50px;
}

.content h1 {
    pointer-events: none;
    position: fixed;
    z-index: 1;
    top: 50%;
    width: 100%;
    margin-top: -60px;
    font-family: the_wavebold, arial, helvetica, sans-serif;
    font-size: 90px;
}

.content h1.mobile {
    top: 35%;
}

.content .description {
    position: fixed;
    z-index: 1;
    top: 65%;
    width: 100%;
    text-align: center;
}

.content .description small {
    display: block;
    margin-top: 25px;
    line-height: 150%;
    font-size: 60%;
}

.grid {
    padding: 25px 50px;
}

.grid-sizer,
.grid-item {
    width: 30%;
    margin-bottom: 2%;
}

.grid-item {
    /* display: none; */
    visibility: hidden;
}

.grid-gutter-sizer {
    width: 5%;
}

.grid-item .bg {
    display: block;
}

.grid-item .hover {
    position: absolute;
    top:  0;
    left: 0;
    display: none;
    width:  100%;
    height: 100%;
    background-image: url(../img/opaque-white-strong.png);
    font-size: 24px;
    font-family: the_wavedemibold, arial, helvetica, sans-serif;
    color: white;
}

.grid-item .hover.always-show {
    display: block;
}

.grid-item .hover .text {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 15px 20px;
}

.grid-item .hover .text strong {
    font-family: the_wavedemibold, arial, helvetica, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 85%;
}

.is-desktop .grid-item:hover .hover {
    display: inline-block;
}

.content.subpage {
    margin: 0 50px;
    margin-top: 50px;
    font-family: the_wavebold, arial, helvetica, sans-serif;
}

.content.subpage h2 {
    font-size: 65%;
}

.content.subpage h2,
.content.subpage p {
    margin-bottom: 25px;
}

.content.subpage .quote {
    line-height: 150%;
    font-family: the_wavedemibold, arial, helvetica, sans-serif;
    font-size: 90%;
}

.content.subpage small {
    display: inline-block;
    line-height: 150%;
    font-size: 60%;
    font-family: arial, helvetica, sans-serif;
}

.col-left {
    float: left;
    width: 50%;
    padding-right:  5%;
    margin-bottom: 20px;
}

.col-right {
    float: right;
    width: 50%;
    padding-left:  0;
    margin-bottom: 20px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.arrow-back {
    margin-top: -5px;
}

.btn-share {
    text-transform: uppercase;
    font-size: 50%;
}

.btn-share .icon {
    vertical-align: middle;
    display: inline-block;
    margin-right: 15px;
}

.content.subpage .readmore {
    float: left;
}

.content.subpage .thumbnails {
    padding-left: 0;
}

.content.subpage .thumbnails .thumbnail {
    float: left;
    display: block;
    width: 30%;
    margin-right: 3.33%;
}

.content.subpage .thumbnails .thumbnail .hover {
    position: absolute;
    top:  0;
    left: 0;
    display: none;
    width:  100%;
    height: 100%;
    background-image: url(../img/opaque-white-strong.png);
}

.content.subpage .thumbnails .thumbnail:hover .hover {
    display: inline-block;
}

.content.subpage .thumbnails .thumbnail.right {
    margin-right: 0;
}

.footer-description {
    width: 60%;
    margin: 25px auto;
    margin-bottom: 0;
    padding-bottom: 150px;
    font-family: arial, helvetica, sans-serif;
    font-size: 75%;
    text-align: center;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: white;
    text-align: center;
}

.desktop {
    display: block;
}

.mobile {
    display: none;
}

.clear {
    clear: both;
}

body.text-color-pink,
body.text-color-pink a {
    color: #f05b6c;
}

@media only screen
and (max-width : 1256px) {
    .grid-item {
        margin: 0 !important;
        margin-bottom: 20px !important;
    }
}

@media only screen
and (max-width : 850px) {
    .header-title {
        display: none;
    }
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
    
    .header {
        padding-top: 10px;
    }
    
    .section {
        
    }
    
    .header-left {
        top:   5px;
        left: 10px;
    }
    
    .header-left img {
        width: 168px;
        height: 14px;
    }
    
    .header-right {
        top: 10px;
        right: 10px;
    }
    
    .content.subpage {
        margin: 0 10px;
    }
    
    .grid {
        padding: 25px 0px !important;
    }
    
    .grid-sizer,
    .grid-item {
        display: block;
        width: 40% !important;
        margin: 0 !important;
        margin-left: 2.5% !important;
        margin-bottom: 12% !important;
    }
    
    .grid-item {
        float: left;
    }
    
    .grid-item.right {
        float: right;
    }
    
    .grid-gutter-sizer {
        width: 12%;
    }
    
    .content.subpage .thumbnails {
        margin-bottom: 100px;
    }
    
    .footer-description {
        width: 100%;
        margin-left:  10px;
        margin-right: 10px;
        padding-bottom: 50px;
    }
    
}

/* iPhone */
@media screen
and (min-device-width : 320px)
and (max-device-width : 667px) {
    
    .content.subpage h2 {
        margin: 15px 0;
    }
    
    .desktop {
        display: none;
    }
    
    .mobile {
        display: block;
    }
    
}

/* iPhone Landscape only */
@media screen
and (min-device-width : 320px) 
and (max-device-width : 667px)
and (orientation      : landscape){
    
    .content h1.mobile {
        display: none !important;
    }
    
    .content h1.desktop {
        display: block !important;
    }
    
    .content.subpage .thumbnails {
        width: 100%;
    }
    
}

/* iPhone Portrait only */
@media screen
and (min-device-width : 320px) 
and (max-device-width : 667px)
and (orientation      : portrait){
    
    .content h1.mobile {
        display: block;
    }
    
    .content h1.desktop {
        display: none;
    }
    
    .col-left,
    .col-right {
        float: none;
        width: 100%;
        padding: 0;
    }
    
    .content.subpage .readmore {
        width: 100%;
    }
    
    .content.subpage .thumbnails {
        width: 100%;
        padding-bottom: 200px;
    }
    
    .footer {
        font-size: 65%;
    }
    
}

@media screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
    
    .header-left img {
        width: 136px;
        height: 11px;
    }
    
    .footer {
        font-size: 50%;
    }
    
}