/*** Homepage Banner - .banner-1 ***/

.banner-1 .main_background_container {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    overflow: hidden;
}

.banner-1 .main_background_container.transparent_main_background {
    background-image: none !important;
    background-color: transparent !important;
}

.banner-1 .main_background_container::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    display: block;
    top: 0;
    left: 0;
    opacity: 1;
    background-image: url('assets/banner_overlay.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-1 .main_background_container::after {
    content: '';
    position: absolute;
    height: 25%;
    width: 100%;
    display: block;
    bottom: 0;
    left: 0;
    opacity: 1;
    background: rgb(60,60,59);
    background: -moz-linear-gradient(0deg, rgba(60,60,59,1) 0%, rgba(60,60,59,0) 100%);
    background: -webkit-linear-gradient(0deg, rgba(60,60,59,1) 0%, rgba(60,60,59,0) 100%);
    background: linear-gradient(0deg, rgba(60,60,59,1) 0%, rgba(60,60,59,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#3c3c3b",endColorstr="#3c3c3b",GradientType=1);
}


.banner-1 .content_wrapper {
    height: 100%;
    width: 100%;
    text-align: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;
    z-index: 3;
}

.banner-1 .content_wrapper .small_heading {
    color: #d8d8d8;
}

.banner-1 h1 {
    color: white;
}

.banner-1 .content_wrapper .banner_1_buttons {
    margin-top: 45px;
}

.banner-1 .content_wrapper .logo_container_flex {
    flex: unset;
}

.banner-1 .content_wrapper .featured_logos {
    margin-top: 190px;
    width: 100%;
    max-width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}


.banner-1 .content_wrapper .featured_logos .logo_column {
    width: calc(25% - 30px);
}


.banner-1 h1,
.banner-1 .small_heading,
.banner-1 div.banner_1_buttons a.button,
.banner-1 .logo_column {
    opacity: 0;
    animation-name: textFadeIn;
    animation-fill-mode: forwards;
}


/** In order of appearance ***/
.banner-1 .small_heading {
    animation-duration: 1s;
    animation-delay: 1s;
}
.banner-1 h1 {
    animation-duration: 1s;
    animation-delay: 1.5s;
}

.banner-1 div.banner_1_buttons a.button:nth-of-type(1) {
    animation-duration: 1s;
    animation-delay: 2s;
}
.banner-1 div.banner_1_buttons a.button:nth-of-type(2) {
    animation-duration: 1s;
    animation-delay: 2.3s;
}

.banner-1 .logo_column:nth-of-type(1) {
    animation-duration: 1s;
    animation-delay: 2s;
}
.banner-1 .logo_column:nth-of-type(2) {
    animation-duration: 1s;
    animation-delay: 2.2s;
}
.banner-1 .logo_column:nth-of-type(3) {
    animation-duration: 1s;
    animation-delay: 2.4s;
}
.banner-1 .logo_column:nth-of-type(4) {
    animation-duration: 1s;
    animation-delay: 2.6s;
}


@keyframes textFadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}


/*** Video Positioning ***/
.banner-1_video_background {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    overflow: hidden;
}


.banner-1_video_background > video {
    min-width: 100%;
    min-height: 100%;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    animation-name: videoFadeIn;
    animation-duration: 1s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
}

@media(orientation: portrait) {
    .banner-1_video_background > video {
        max-height: 100%;
    }
}

@keyframes videoFadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}


@media(max-width: 1199.98px) {
    .banner-1 .main_background_container {
        max-height: 1100px;
    }
}


@media(max-width: 991.98px) {
    .banner-1 .main_background_container {
        max-height: 800px;
    }
}

@media(max-width: 767.98px) {
    .banner-1 .content_wrapper .banner_1_buttons a.button.primary,
    .banner-1 .content_wrapper .banner_1_buttons a.button.secondary {
        width: 100%;
    }
}


@media(max-width: 575px) {
    .banner-1 .content_wrapper .featured_logos .logo_column {
        width: calc(50% - 30px);
    }

    .banner-1 .content_wrapper .featured_logos {
        margin-top: 15px;
    }

    .banner-1 .content_wrapper .banner_1_buttons {
        margin-top: 40px;
    }
}