﻿h2 {
    color: #222 !important;
}

.global-header {
    border-bottom: 7px solid #d29f2a;
}

.main-content {
    padding: 0 20px;
}

.global-footer .row {
    max-width: 1390px;
}

/**********************************************/
/************** VideoIndexPage ****************/
/**********************************************/

.featured-video-row {
    position: relative;
    width: 100%;
    margin-top: 0px;
    overflow: hidden;
}

    .featured-video-row video {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

.featured-video-text-block {
    position: absolute;
    bottom: 15px;
    left: 5%;
    z-index: 2;
    width: 90%;
    padding: 10px 20px 20px 20px;
    background-color: rgba(255,255,255,.9);
}

    .featured-video-text-block p {
        margin: 0;
    }

        .featured-video-text-block p.upper-copy {
            font-size: 27px;
            font-weight: 400;
            text-transform: uppercase;
            margin-bottom: 0;
        }

    .featured-video-text-block h1 {
        font-family: "Fjalla One", sans-serif;
        margin: 10px 0;
        color: #00406e;
        font-size: 25px;
        font-weight: bold;
        text-transform: uppercase;
        line-height: 1em;
    }

    .featured-video-text-block p {
        font-size: 16px;
        font-weight: 700;
        color: #00406e;
        text-transform: uppercase;
        margin: 0;
        margin-bottom: 0px;
        line-height: 1em;
    }

.video-group-text {
    display: block;
    width: 100%;
    width: 100%;
    padding: 20px 10px;
    text-align: center;
}

    .video-group-text h2 {
        margin-top: 0;
    }

.video-grid-container {
    display: grid;
    grid-template-columns: 1fr;
    background-color: #6c6f77;
}

.video-item-container {
    display: block;
    min-width: 0;
}

    .video-item-container:nth-child(even) {
        background-color: #54565b;
    }

.video-item {
    display: block;
    max-width: 475px;
    margin: 0 auto;
    padding: 40px 0 20px 0;
}

.video-block {
    position: relative;
    display: block;
}

.quote-block {
    display: block;
    padding: 20px 10px 5px 10px;
}

    .quote-block h3, .quote-block p {
        color: #fff;
    }

        .quote-block p.subtitle {
            color: #fff !important;
            font-size: 20px;
            text-align: left;
            text-transform: uppercase;
            line-height: 20px;
        }

    .quote-block h3 {
        margin-top: 0;
        font-size: 30px;
        line-height: 30px;
    }

.hide-nav {
    display: none;
}


/**********************************************/
/************** VideoIndexPage ****************/
/**********************************************/




/**********************************************/
/************** VideoDetailPage ***************/
/**********************************************/

section.detail-main {
    background-color: #D2D3D5;
}

.main-video-row {
    display: grid;
    grid-template-columns: 1fr;
}

.text-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-text-block {
    display: block;
    width: 100%;
}

.video-column h2 {
    color: #464646;
    text-align: center;
}

.text-column h1 {
    color: #464646;
    font-size: 55px;
    font-weight: bold;
    text-align: center;
    text-transform: uppercase;
    margin-top: 0;
    margin-bottom: 0px;
}

.subtitle {
    color: #000 !important;
    font-size: 24px;
    text-align: center;
    text-transform: uppercase;
}

a.video-nav-button {
    display: block;
    width: 80%;
    margin: 0px auto;
    padding: 4px 0px;
    font-size: 24px;
    font-weight: bold;
    color: #464646;
    text-align: center;
    border: 3px solid #464646;
    text-transform: uppercase;
    transition: all 0.5s;
}

    a.video-nav-button:hover {
        color: #fff !important;
        background: #0d2142;
        text-decoration: none !important;
    }

a.back-button {
    display: block;
    padding: 10px 0px;
    color: #464646;
    text-align: center;
    text-transform: uppercase;
    text-decoration: underline !important;
}

    a.back-button:hover {
        text-decoration: none !important;
    }

ul.relatedVideosList {
    margin-left: 0;
    list-style: none;
}

    ul.relatedVideosList li {
        padding: 0px 30px;
    }

        ul.relatedVideosList li img {
            max-width: 250px;
            display: block;
            margin: 0px auto;
        }


/**********************************************/
/************** VideoDetailPage ***************/
/**********************************************/



@media only screen and (min-width: 400px) {
    /*section.content {
        background-color: #0c283c;
    }*/
}

@media only screen and (min-width: 40.063em) { /* ~623px medium break point*/
    /*section.content {
        background-color: #fff;
    }*/

    .featured-video-text-block h1 {
        font-size: 35px;
    }

    .video-category-row-text {
        padding: 0px 60px;
    }

        .video-category-row-text h2 {
            font-size: 2.5em;
        }
}

@media only screen and (min-width: 48.0625em) { /* ~751px large break point */
    .banner-text h1 {
        /*color: purple;*/
    }

    .featured-video-text-block {
        bottom: 50%;
        left: 5%;
        max-width: 100%;
    }

        .featured-video-text-block h1 {
            margin: 15px 0 10px 0;
            font-size: 54px;
        }

        .featured-video-text-block p {
            font-size: 32px;
        }

    .video-group-text {
        width: 80%;
        margin: 0 auto;
    }

    .content .video-group-text h2 {
        font-size: 2.5em;
    }

    .video-grid-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }

    .video-item-container:nth-child(4n + 1), .video-item-container:nth-child(4n + 4) {
        background-color: #6c6f77;
    }

    .video-item-container:nth-child(4n + 3), .video-item-container:nth-child(4n + 2) {
        background-color: #54565b;
    }

    .video-text-block {
        margin: auto 0px;
    }

    ul.relatedVideosList li {
        padding: 0px 0px;
        display: inline-block;
    }

        ul.relatedVideosList li img {
            padding: 0px;
        }

    .main-video-row {
        grid-template-columns: 30% 69%;
        gap: 20px;
    }

    .video-column {
        order: 1;
    }

    .text-column {
        order: 2;
    }
}

@media only screen and (min-width: 64.063em) { /* ~1008px xlarge break point */
    .main-content {
        max-width: none;
    }
                                               
    .banner-text h1 {
        /*color: green;*/
    }

    .featured-video-row {
        height: calc(100vh - 160px);
    }

    .featured-video-text-block {
        max-width: 50%;
    }

    .custom-nav {
        top: 12%;
    }

    .video-column {
        order: 2;
    }

    .text-column {
        order: 1;
    }
}

@media only screen and (min-width: 75em) { /* ~1182px xxlarge break point */
    .banner-text h1 {
        /*color: red;*/
    }

    .video-grid-container {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .video-item-container:nth-child(n) {
        background-color: #6c6f77;
    }

    .video-item-container:nth-child(even) {
        background-color: #54565b;
    }
}

@media only screen and (min-width: 95em) { /* ~1503px desktop break point */
    .banner-text h1 {
        /*color: yellow;*/
    }

    .video-grid-container {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    }
}

@media only screen and (min-width: 110em) and (min-height: 650px) {
    /*.right-col .banner-text .heading {
        color: pink;
    }*/
}
