/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

:root {
    --primary-dark: #002d61;
    --primary: #004680;
    --primary-light: #0076d5;
    --secondary-dark: #990000;
    --secondary: #cc0000;
    --secondary-light: #e61717;
    --bg-color: #fafafa;
    --bg-dark: #0d141a;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.4;
    margin: 0;
}

a {
    color: var(--primary-light);
}

.digital-pass {
    background: var(--bg-dark);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    height: 60px;
    padding: .5rem;
    text-align: center;
}
    .digital-pass img {
        width: 100%;
        max-width: 398px;
    }

header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    margin: 0 auto;
    padding: 0 2rem;
    /* max-width: 815px; */
    background: var(--primary);
    background: -o-linear-gradient(left, var(--primary) 0%, var(--primary-dark) 100%);
    background: -webkit-gradient(linear, left top, right top, from(var(--primary)), to(var(--primary-dark)));
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
}
    header h1 img {
        height: 40px;
    }
    @media screen and (min-width: 500px) {
        header {
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
                -ms-flex-direction: row;
                    flex-direction: row;
        }
        header h1 img {
            height: 80px;
        }
    }
    header h1 {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
    }
    header div {
        -webkit-box-flex: 2;
            -ms-flex: 2;
                flex: 2;
    }

    header p {
        font-size: 1.25rem;
        text-align: right;
        margin: .375rem 0;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: end;
            -ms-flex-pack: end;
                justify-content: flex-end;
    }
    header p img {
        margin-right: .75rem;
        height: 30px;
    }
    header h1 {
        line-height: 1;
    }

.video-player {
    background: #000;
}

.video-container {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 855px;
}

.ondemand .video-player,
.ondemand .video-container {
    height: 100%;
    overflow: hidden;
}

.on-demand-cta {
    background: var(--primary);
}
.cc-wrapper {
    background-color: black;
}
.cc-section {
    background-color: black;
    margin: 0 auto;
    text-align: right;
    position: relative;
    max-width: 855px;
}
.toggle-cc {
    color: var(--primary-dark);
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    margin: 0.5rem;
    border-radius: 4px;
    border: 0;
    position: absolute;
    right: 0;
    cursor: pointer;
    background-color: #fff
}
.closed-captions {
    width: 100%;
    height: 210px;
}
@media screen and (min-width: 768px) {
    .closed-captions {
        height: 250px;
    }
}
.btn-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    color: #fff;
    padding-top: 1rem;
}
.btn-grid a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    color: #fff;
    text-decoration: none;
}
.btn-grid img {
    width: 90px;
}
.ads-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 1rem;
    max-width: 840px;
    margin: 0 auto;
    padding: 0.75rem 0 1rem;
}
.ads-grid img {
    width: 85%;
    margin: 0 auto;
    display: block;
    max-width: 450px;
    border: 1px solid rgba(255,255,255,.65);
}

.cs {
    font-weight: bold;
    margin-top: 2rem;
    text-align: center;
}

footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 auto;
    max-width: 815px;
}
    footer p {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
        font-size: .875rem;
        padding: 1rem;
        text-align: center;
    }


.toggle-left-column,
.toggle-right-column {
    background: rgba(114,159,195,.1);
    color: rgba(255,255,255,.65);
    display: none;
    font-size: 0.75rem;
    height: 32px;
    letter-spacing: 0.05em;
    padding: .5rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.toggle-left-column a:hover,
.toggle-right-column a:hover {
    text-decoration: underline;
}

.left-column,
.right-column {
    background: var(--bg-dark);
    margin: 0 auto;
    padding: 1rem 0;
}

.left-column h2,
.right-column h2 {
    text-align: center;
    /* color: white;
    line-height: 1.2;
    font-size: 1.25rem;
    margin: 2rem 0; */
}

.bottom-section .left-column,
.bottom-section .right-column {
    display: none;
}

.toggle-right-clickable-content,
.toggle-left-clickable-content {
    display: none;
}

@media screen and (min-width: 768px) {
    .ads-grid {
        -ms-grid-columns: 1fr 1rem 1fr;
        grid-template-columns: repeat(2, 1fr);
        padding: 0.75rem 1rem 1rem 1rem;
    }
    .ads-grid img {
        width: 100%;
    }
}

@media screen and (min-width: 1200px) {
    .top-section,
    .bottom-section {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .top-section {
        background: var(--primary);
    }

    .ondemand .top-section {
        height: 1537px;
        overflow: hidden;
    }

    .toggle-left-column,
    .toggle-right-column {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center;
            -webkit-box-pack: center;
                -ms-flex-pack: center;
                    justify-content: center;
    }

    .left-column,
    .right-column {
        background: var(--bg-dark);
        padding: 0;
        overflow-y: auto;
        width: 300px;
    }

    .toggle-left-clickable-content,
    .toggle-right-clickable-content {
        display: initial;
        color: #fff;
        position: absolute;
        top: 17rem;
        -webkit-writing-mode: vertical-lr;
            -ms-writing-mode: tb-lr;
                writing-mode: vertical-lr;
        -webkit-text-orientation: mixed;
                text-orientation: mixed;
        line-height: 3;
        text-decoration: none;
    }

    .toggle-right-clickable-content {
        right: 0;
    }

    .toggle-left-clickable-content.hidden,
    .toggle-right-clickable-content.hidden {
        display: none;
    }

    .left-column
    .transform {
        -webkit-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
                transform: rotate(180deg);
    }

    .left-column {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
    }

    .middle-column {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
    }

    .right-column {
        -webkit-box-ordinal-group: 4;
            -ms-flex-order: 3;
                order: 3;
    }

    .bottom-section .left-column,
    .bottom-section .right-column {
        display: block;
    }

    .hidden {
        width: 50px;
    }

    .hidden h2,
    .hidden .content {
        display: none;
    }
}

.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; height: auto; }
.embed-container iframe,
.embed-container object,
.embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.ondemand .embed-container { position: relative; padding-bottom: 56.25%;  height: 900px !important; overflow: hidden; max-width: 100%; }
.ondemand .embed-container iframe,
.ondemand .embed-container object,
.ondemand .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.content {
    margin: 0 auto;
    max-width: 815px;
    width: 100%;
}

.content p,
.content table {
    font-size: 0.875rem;
}

.schedule {
    background: #fff;
    margin: 0 1rem 1rem;
    padding: .5rem;
}

.schedule p {
    border-top: 1px solid #eee;
    padding-top: 1em;
}

.left-column h3 {
    background: var(--primary);
    color: #fff;
    font-size: 1rem;
    margin: 1rem 1rem 0;
    padding: 1rem;
    text-align: center;
}

hr {
    background: #eee;
    border: 0;
    height: 4px;
    margin: 2rem 0;
}

.content h4 {
    background: var(--bg-dark);
    color: #fff;
    margin: 0;
    padding: 1rem .5rem;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    tr:first-of-type td {
        border-top: 0;
    }
    td {
        border-top: 1px solid #eee;
        padding: 1em 0;
        vertical-align: top;
    }
        tr td:first-of-type {
            padding-right: .5rem;
        }
    td i {
        display: block;
    }

.tabs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 1rem;
}
    .tabs li {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
    }
    .tabs a {
        background: #fff;
        color: #141313;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        font-weight: bold;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        padding: 1rem;
        text-decoration: none;
    }
    .tabs .disabled {
        background: #D8D8D8;
        color: #979797;
    }

.collapsed {
    display: none;
}

.sbc {
    background: #222;
    color: #b7b7b7;
    padding: 2rem 1rem;
    text-align: center;
}

.sbc p {
    font-weight: bold;
}

.sbc a {
    color: #b7b7b7;
    display: block;
    text-decoration: none;
}
    .sbc a:hover {
        color: #fff;
    }

.sbc-container {
    display: block;
    margin: 0 auto;
    max-width: 815px;
    width: 100%;
}


.sbc ul li {
    display: block;
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    min-height: 25px;
    padding-left: 45px;
    background-repeat: no-repeat;
    text-align: left;
}

@media screen and (min-width: 800px) {
    .sbc-container {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }
    .column {
        -webkit-box-flex: 1;
            -ms-flex: 1;
                flex: 1;
    }
}



#namb { background-image: url(img/footer/namb.png); }
#imb { background-image: url(img/footer/imb.png); }
#lifeway {
  background-image: url(img/footer/lifewayIcon.svg);
  background-size: contain;
}
#erlc { background-image: url(img/footer/erlc.png); }
#guidestone { background-image: url(img/footer/guidestone.png); }
#sbcec { background-image: url(img/footer/sbcec.png); }
#bpnews { background-image: url(img/footer/bpnews.png); }
#sbclife { background-image: url(img/footer/sbclife.png); }
#sbfoundation { background-image: url(img/footer/sbfoundation.png); }
#cp { background-image: url(img/footer/cp.png); }
#historical { background-image: url(img/footer/historical.png); }
#wmu { background-image: url(img/footer/wmu.png); }
#ggbts { background-image: url(img/footer/ggbts.png); }
#mbts { background-image: url(img/footer/mbts.png); }
#nobts { background-image: url(img/footer/nobts.png); }
#sebts { background-image: url(img/footer/sebts.png); }
#sbts { background-image: url(img/footer/sbts.png); }
#swbts { background-image: url(img/footer/swbts.png); }
