/* Mobile (portrait and landscape) ----------- */

@media (max-width: 479px) {
    @font-face {
        font-family: 'playfair';
        src: url('../fonts/Playfair Display 700italic.ttf');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'fjalla';
        src: url('../fonts/Fjalla One regular.ttf');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'solano';
        src: url('../fonts/SolanoGothicMVB-Bd.otf');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'unitedsans';
        src: url('../fonts/UnitedSansReg-Medium.otf');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'borgia_probold_italic';
        src: url('../fonts/BorgiaPro-BoldItalic-webfont.eot');
        src: url('../fonts/BorgiaPro-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/BorgiaPro-BoldItalic-webfont.woff') format('woff'), url('../fonts/BorgiaPro-BoldItalic-webfont.ttf') format('truetype'), url('../fonts/BorgiaPro-BoldItalic-webfont.svg#borgia_probold_italic') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'borgia_proitalic';
        src: url('../fonts/BorgiaPro-Italic-webfont.eot');
        src: url('../fonts/BorgiaPro-Italic-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/BorgiaPro-Italic-webfont.woff') format('woff'), url('../fonts/BorgiaPro-Italic-webfont.ttf') format('truetype'), url('../fonts/BorgiaPro-Italic-webfont.svg#borgia_proitalic') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'borgia_proregular';
        src: url('../fonts/BorgiaPro-Regular-webfont.eot');
        src: url('../fonts/BorgiaPro-Regular-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/BorgiaPro-Regular-webfont.woff') format('woff'), url('../fonts/BorgiaPro-Regular-webfont.ttf') format('truetype'), url('../fonts/BorgiaPro-Regular-webfont.svg#borgia_proregular') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    #skrollr-body {
        float: left;
        width: 100%;
        height: 100%;
        padding: 0 !important;
    }
    html,
    body {
        height: 100%;
        min-height: 100%;
        margin: 0;
        padding: 0;
    }
    body {
        font-family: 'borgia_proregular';
        font-size: 19px !important;
        line-height: 35px;
        min-height: 100%;
    }
    html {
        height: 100%;
        min-height: 100%;
    }
    a,
    a:hover,
    a:active,
    a:focus {
        outline: 0;
    }
    .smallcaps {
        font-variant: small-caps;
    }
    .header {
        height: 800px;
    }
    .header .caption {
        border: 0 none;
        bottom: 0;
        color: #002449;
        font-family: 'Helvetica', sans-serif;
        font-size: 10px;
        left: 10px;
        line-height: 16px;
        margin: 0 !important;
        padding: 0;
        position: relative;
    }
    .col-md-7 {
        border-left: 1px solid #002449;
        padding: 0 30px !important
    }
    .top_ad {
        height: 100px;
        left: 50%;
        margin: 0 0 20px -170px;
        overflow: hidden !important;
        padding: 0;
        position: relative;
        text-align: center;
        top: 10px;
        width: 340px;
        z-index: 999;
    }
    .desktop-ad {
        display: none;
        background-color: #fff;
    }
    .mobile-ad {
        height: 100px;
        margin-top: 20px;
        margin-bottom: 20px!important;
        display: block;
        background-color: #fff;
        z-index: 999;
    }
    .opener {
        font-family: 'solano';
        text-transform: uppercase;
        font-size: 27px;
        line-height: 35px;
        color: #008e4b;
    }
    .dropcap {
        color: #008e4b;
        float: left;
        font-family: 'solano';
        font-size: 130px;
        padding: 45px 10px 5px 0;
        margin-left: 0px;
        text-align: center;
    }
    #video-container {
        background-color: #fff;
        height: 100%;
        width: 100%!important;
        top: 0;
    }
    .video_bg video {
        background-color: #ffffff;
        height: auto;
        padding: 0;
        position: relative;
        width: 100%;
        z-index: 9;
    }
    video {
        background-color: #fff;
        height: 100%;
        min-width: 100%;
        width: auto;
    }
    .videoWrapper {
        padding-bottom: 71%;
        position: relative !important;
        width: 400px;
        height: 100%;
        transform: translateX(-50%);
        left: 50%;
    }
    
    .video-js {
        position: absolute;
        width: 100%;
        min-height: 100%!important;
    }
    .videoWrapper iframe {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    .videoWrapper2 {
        position: relative;
        padding-bottom: 56.25%;
        /* 16:9 */
        padding-top: 25px;
        height: 0;
    }
    .videoWrapper2 iframe {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    .credit.video {
        margin: 0 -15px 40px;
    }
    .caption.video {
        margin: 5px -15px 0;
    }
    .videoWrapper object {
        height: 100%;
        left: 0;
        position: absolute;
        top: 0;
        width: 100%;
    }
    .pullquote {
        width: 100%;
        margin: 10px 0 0;
    }
    .pullquote p {
        font-family: 'solano';
        font-size: 26px;
        line-height: 1;
        font-weight: normal;
        color: #004988;
        text-align: center;
        text-transform: uppercase;
        padding: 0;
    }
    .pullquote p > span {
        font-style: italic;
    }
    .pullquote img {
        width: 100%;
    }
    .caption {
        /* border-bottom: 4px solid #761713;
        background-color: #761713;*/
        color: #000;
        font-family: 'unitedsans';
        font-size: 15px;
        font-weight: normal;
        line-height: 20px;
        padding: 1em 1em 0.5em 0;
        position: relative;
        text-align: left;
        z-index: 999;
    }
    .divider {
        background-color: #B71C1C;
        width: 150px;
        line-height: 2px;
    }
    .photo-credit {
        border-top: 3px solid #008e4b;
        width: 180px;
        padding: 1em 0 0;
        color: #999;
        font-family: 'Helvetica', sans-serif;
        font-size: 9px;
        line-height: 15px;
        text-transform: uppercase;
        text-align: left;
    }
    .row {
        margin: 0 auto;
        max-width: 1200px;
    }
    .credit {
        width: 35%;
        color: #999;
        font-family: 'Helvetica', sans-serif;
        font-size: 9px;
        line-height: 12px;
        text-transform: uppercase;
        text-align: left;
    }
    .break {
        height: 0px;
    }
    .pagebreak {
        margin-left: 32%;
        height: 130px;
    }
    p.first {
        margin: 0 0 40px 0;
    }
    .credit.right {
        text-align: right;
    }
    p {
        margin: 30px 0 !important;
        position: relative;
        z-index: 9;
    }
    .full_inner {
        float: left;
        margin: 10px 0 40px;
        position: relative;
    }
    .full_inner img {
        width: 100%;
    }
    .half_inner {
        float: left;
        margin: 10px 0 5px;
        position: relative;
        width: 100%;
    }
    .half_inner img {
        width: 100%;
    }
    .change {
        margin: 0 auto;
        overflow: hidden;
        text-align: center;
        width: 95%;
    }
    .change img {
        max-width: 1200px;
        width: 100%;
    }
    .wrapper {
        position: relative;
        background-repeat: repeat-y;
    }
    .author {
        top: 45%;
        color: #fff;
        font-family: 'solano';
        font-size: 20px;
        line-height: 27px;
        letter-spacing: 5px;
        text-shadow: 2px 2px 4px #333;
        margin: 0 auto;
        text-align: center;
        z-index: 1000;
        position: absolute;
        text-transform: uppercase;
        display: none!important;
    }
    .header-text {
        width: 100%;
        top: 45%;
        margin-left: 20px;
        text-align: center;
        position: absolute;
        text-shadow: 4px 4px 6px #000;
    }
    .header-text h2 {
        color: #fff;
        font-family: 'fjalla';
        font-size: 18px;
        line-height: 14px;
        letter-spacing: 1px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }
    .header-text h2 > span {
        color: #fff;
        font-family: 'fjalla';
        font-size: 32px;
        letter-spacing: 5px;
        margin-left: 5px;
        vertical-align: bottom!important;
        text-transform: uppercase;
    }
    .header-text h3 {
        color: #fff;
        font-family: 'fjalla';
        font-size: 18px;
        line-height: 32px;
        letter-spacing: 5px;
        margin-bottom: 30px;
        text-transform: uppercase;
    }
    .divider {
        background-color: #008e4b;
        width: 100px;
        line-height: 3px;
        margin-left: 35%;
        margin-top: 25px;
    }
    .intro {
        color: #000;
        font-weight: 800;
        font-family: 'playfair';
        letter-spacing: 1px;
        margin: 20px auto 0!important;
        width: 100%;
        font-size: 25px;
        line-height: 28px;
    }
    .small-txt {
        font-size: 16px;
        line-height: 1.1em;
        font-style: italic;
    }
    .header {
        margin: -45px auto 0;
        position: relative;
        width: 100%;
        height: 350px!important;
        max-width: 480px !important;
        background: url(../img/header_mobile.jpg) no-repeat scroll center top / contain!important;
        -webkit-background-size: contain;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }
    .whiteout {
        display: none;
        /*height: 25%;
        bottom: -30px;
        left: 0;
        margin: auto;
        opacity: 1;
        position: absolute;
        right: 0;
        top: 0;
        z-index: 1000;
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 1) 100%); */
    }
    .whiteout-credit {
        color: #000;
        font-family: 'Helvetica', sans-serif;
        font-size: 11px;
        line-height: 19px;
        padding: 10px 10px 0 0;
        text-align: right;
        text-transform: uppercase;
    }
    .white {
        background-color: #fff;
    }
    #footer {
        position: relative;
        z-index: 0;
    }
    .section {
        margin: 0;
        overflow: hidden;
        position: relative;
    }
    video {
        max-width: 100%;
        height: auto;
    }
    .change {
        margin: 0 auto;
        overflow: hidden;
        text-align: center;
        width: 95%;
    }
    .absolute-center {
        bottom: 0;
        left: 0;
        margin: auto;
        position: absolute !important;
        right: 0;
        top: 0;
    }
    .backtosi {
        margin: 50px auto 60px !important;
        width: 200px;
    }
    .embed_tweet {
        width: 300px;
        margin: 40px auto;
    }
}

/* PARALLAX IMAGES */

.cd-fixed-bg {
    position: relative;
    height: 300px;
    max-width: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 999;
}
.cd-fixed-bg.cd-bg-a {
    background-image: url("../img/headera.jpg");
}
.cd-fixed-bg.cd-bg-1 {
    background-image: url("../img/header1.jpg");
}
.cd-fixed-bg.cd-bg-2 {
    background-image: url("../img/header2.jpg");
}
.cd-fixed-bg.cd-bg-3 {
    background-image: url("../img/header3.jpg");
}
.cd-fixed-bg.cd-bg-4 {
    background-image: url("../img/header4.jpg");
}
.cd-fixed-bg.cd-bg-5 {
    background-image: url("../img/header5.jpg");
}
