@keyframes navIn {
    from {
        transform: translateY(-88px);
        opacity: 0;
    }
    to {

    }
}
@keyframes navOut {
    from {

    }
    to {
        transform: translateY(-88px);
        opacity: 0;
    }
}

@media only screen and (min-width: 1040px) {

    #header {
        margin-bottom: -88px;
    }
    #frankenmenu {
        display: none;
    }
    .nav-animated #frankenmenu {
        display: block;
        animation: navOut 300ms ease;
        animation-fill-mode: forwards;
    }
    .nav-sticky #frankenmenu {
        animation: navIn 300ms ease;
        animation-fill-mode: forwards;
    }
}

.video-banner {
    position: relative;
}

.video-banner__video-wrap {
    position: relative;
    margin: auto;
    font-size: 2.4rem;
    line-height: 1.1;
    min-height: 250px;

    background: url(../images/bg_mono-texture-small.jpg) no-repeat center center;
    background-size: cover;
}

.video-banner__video-wrap:before {
    content: '\00a0';
    display: block;
    padding-top: 40%;
}

.video-banner__video-wrap__video video {
    background-size: 100% auto;
    background-image: url(../images/banner-video_desktop_fallback.jpg);

    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-width: 1280px;
    display: none;
}

.video-banner__video__content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    text-align: center;
    color: #ffffff;
    padding: 20px 0;

    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
}


.video-banner-heading {
    font-size: 3rem;
    line-height: 1;
    padding-bottom: 5px;
    color: #000;
}

.video-banner-tagline {
    font-weight: 300;
    padding-bottom: 30px;
    margin-bottom: 0px;
}

.video-banner-deco:before,
.video-banner-deco:after {
    content: '\00a0';
    display: inline-block;
    width: 115px;
    height: 34px;
    background: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22437%22%20height%3D%222.5%22%20viewBox%3D%220%200%20874%205%22%3E%0D%0A%20%20%3Cpath%20fill%3D%22%234a4a47%22%20fill-rule%3D%22evenodd%22%20d%3D%22M1063%2C2144v-5h874v5H1063Z%22%20transform%3D%22translate%28-1063%20-2139%29%22%2F%3E%0D%0A%3C%2Fsvg%3E) no-repeat center center;
}

.video-banner__footer {
    padding-top: 15px;
    padding-bottom: 10px;
    position: relative;
}

.video-banner-logo,
.video-banner__footer,
.video-banner-tagline,
.video-banner-cta {
    display: none;
}

@media only screen and (min-width: 25em) { /* 400px */
    .video-banner-heading {
        font-size: 4rem;
    }
}

@media only screen and (min-width: 31.25em) { /* 500px */
    .video-banner-heading {
        font-size: 4rem;
    }

    .video-banner__video__content {
        text-align: right;
    }
}

@media only screen and (min-width: 48em) { /* 768px */

    .video-banner-heading {
        font-size: 5rem;
    }

    .video-banner-logo img {
        max-width: 130px;
    }

}


@media only screen and (min-width: 50em) { /* 800px */

    .video-banner-heading {
        font-size: 6rem;
    }

}

@media only screen and (min-width: 65em) { /* 1040px */
    .video-banner-logo {
        display: block;
    }

    .video-banner-heading {
        color: #fff;
        font-size: 4rem;
        padding-top: 24px;
    }

    .device-type-desktop .video-banner-deco:before,
    .device-type-desktop .video-banner-deco:after {
        background: url(data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22437%22%20height%3D%222.5%22%20viewBox%3D%220%200%20874%205%22%3E%0D%0A%20%20%3Cpath%20fill%3D%22%23ffffff%22%20fill-rule%3D%22evenodd%22%20d%3D%22M1063%2C2144v-5h874v5H1063Z%22%20transform%3D%22translate%28-1063%20-2139%29%22%2F%3E%0D%0A%3C%2Fsvg%3E) no-repeat center center;
    }

    .video-banner__video-wrap__video video {
        display: block;
    }

    .video-banner-deco {
        margin-bottom: 15px;
    }
    .video-banner-cta .button {
        font-size: 1.9rem;
        padding: 15px 20px 15px;
        margin-left: 15px;
    }
    .video-banner__footer,
    .video-banner-cta {
        display: block;
    }
    .video-banner-logo img {
        max-width: inherit;
    }
}


@media only screen and (min-width: 77.5em) { /* 1240px */

    .video-banner-tagline {
        display: block;
    }
}

@media only screen and (min-width: 92.5em) { /* 1480px */

    .video-banner-logo {
        padding-bottom: 10px;
    }

    .video-banner-deco {
        margin-bottom: 25px;
    }
    .video-banner-heading {
        font-size: 6rem;
        padding-bottom: 15px;
    }
    .video-banner-tagline {
        font-size: 3rem;
        padding-bottom: 40px;
    }
}





/* on state for banner nav */
.video-banner .extra-nav-list__item--home a:after {
    opacity: 1;
}

/* fix so video doesn't play over lower sections */
.section--home {
    position: relative;
}


/* ----  Home promo bar ---- */


.promo-bar *:last-child {
    margin-bottom: 0;
}

.promo-bar__image {
    background-repeat: no-repeat;
    background-position: right;
    background-size: auto 100%;
}

.promo-bar__image--portrait {
    position: relative;
    padding-bottom: : 60px solid #e4e4df;
}

.promo-bar__image--portrait__text {
    position: absolute;
    bottom: 0px;
    right: 0px;
    left: 0px;
    padding: 0px 30px 30px;
    z-index: 2;
    text-align: center;
}


.promo-bar__image--landscape {
    min-height: 250px;
    padding-top: 30px;
    display: none;
    background-image: url(../images/promo-2017_comp-landscape_small.jpg);
}



@media only screen and (min-width: 37.5em) { /* 600px */
    .promo-bar__image--portrait__text {
        background: -moz-linear-gradient(top, rgba(227,227,223,0) 0%, rgba(227,227,223,1) 100%);
        background: -webkit-linear-gradient(top, rgba(227,227,223,0) 0%,rgba(227,227,223,1) 100%);
        background: linear-gradient(to bottom, rgba(227,227,223,0) 0%,rgba(227,227,223,1) 100%);
    }
}

@media only screen and (min-width: 48em) { /* 768px */
    .promo-bar__image--portrait {
        display: none;
    }

    .promo-bar__image--landscape {
        display: block;
    }
}

@media only screen and (min-width: 62em) { /* 992px */
    .promo-bar__image--landscape {
        min-height: 310px;
        padding-top: 50px;
    }
    .promo-bar__image--landscape .button {
        padding: 15px 40px;
        font-size: 2rem;
    }
}


@media only screen and (min-width: 71.25em) { /* 1140px */
    .promo-bar__image--landscape {
        padding-top: 55px;

    }
}

@media only screen and (min-width: 75em) { /* 1200px */
    .promo-bar__image--landscape {
        min-height: 310px;
        background-image: url(../images/promo-2017_comp-landscape.jpg);
    }
}

@media only screen and (min-width: 81.25em) { /* 1300px */
    .promo-bar__image--landscape {
        min-height: 330px;
    }
}
