/*section.military-section {
    padding-top: 50px;
    margin-top: -50px;
}
*/
.military-hero {
    /*    background-image: url('img/centerstone-military-hero-image.jpg');*/
    background-size: cover;
    min-height: 450px;
}

.military-hero__heading {
    font-size: 88px;
    font-weight: 700;
}

.military-hero__text {
    font-size: 1.25rem;
    line-height: 1.85rem;
    margin-bottom: 0;
}

.military-hero__body {
    left: 50%;
    top: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 90%;
}

.military-section {
    padding: 110px 0;
    max-height: 720px;
}

.military-section__heading,
.military-section__text {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.military-section__heading {
    font-family: 'Kobern', sans-serif;
    font-size: 2.625rem;
    font-weight: 700;
    text-transform: uppercase;
}

.military-section__text {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    line-height: 2rem;
}

.military-section--media,
.military-section--struggling,
.tip-card__violence-bullying {
    background-color: #282D31;
}

.military-section--sex-relationships {
    background-color: #367689;
}


.military-section--drugs-alcohol {
    background-color: #E7C533;
}
 
.military-section--comics {
    background-color: #A2BF3A;
}


.military-section--care {
    background-image: url(/wp-content/uploads/teal_camo.svg);
    background-size: cover;
    background-color: #55a49c;
    color: white;
}

.tip-card__locations {
    background-color: #98cdcd;
}

.tip-card__informed {
    background-color: #FFFFFF;
}

.tip-card__treat {
    background-color: #f4b753;
}


/* Media Queries for Teen Sections */
@media only screen and (max-width: 600px) {
    .military-hero__heading {
        font-size: 48px;
        line-height: 56px;
    }

    #accessing-care a.btn.btn-primary.btn-blue-white {
        font-size: 1.1em;
    }
}

@media only screen and (min-width: 768px) {
    .military-hero {
        /*background-image: url('img/centerstone-military-hero-image.jpg');*/
        background-size: cover;
        min-height: 660px;
    }

    .military-hero__text {
        font-size: 1.875rem;
        line-height: 2.625rem;
    }

    .military-hero__body {
        width: 80%;
    }
}

@media only screen and (max-width: 991px) {
    .military-section {
        padding: 80px 0;
        max-height: 100%;
    }

    .military-section--media,
    .military-section--comics {
        text-align: center;
    }

    .military-section--media .justify-content-small,
    .military-section--comics .justify-content-small {
        text-align: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media only screen and (min-width: 992px) {
    .military-section__heading {
        font-size: 3.5vw;
    }

    .military-section__text {
        font-size: 1.43rem;
        line-height: 2.25rem;
    }

    .military-section--sex-relationships {
        background-image: url('img/centerstone-military-media-image.jpg');
        background-position: left;
        background-repeat: no-repeat;
        background-size: 75%;
    }

    .military-section--comics {
        background-image: url('img/centerstone-military-bullying-image.jpg');
        background-position: right;
        background-repeat: no-repeat;
        background-size: cover;
    }
}

@media only screen and (min-width: 1224px) {
    .military-section--media {
        background-size: 60%;
    }

    .military-section--comics {
        background-size: 80%;
    }
}

/* TOUGH TOPIC CARDS -------------------- */
.tough-topics .card {
    border: 0;
    margin-bottom: 0;
    padding: 2em;
    border-radius: 0;
}

.tough-topics .card span {
    color: #3E3F3F;
    display: block;
    font-family: 'Kobern', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.tough-topics .card .card-title {
    font-family: 'Roboto', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 54px;
    text-transform: uppercase;
}

.tough-topics .card .card-title,
.tough-topics .card .card-text {
    color: #367689;
}

.tough-topics .card .card-text {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.75rem;
}

.tip-card__parents {
    background-color: #E7C533;
}

.tip-card__struggling {
    background-color: #367689;
}

@media only screen and (min-width: 900px) {
    .tough-topics .card {
        padding: 0;
    }

    .tough-topics .card .card-title {
        font-size: 54px;
        line-height: 66px;
    }

    .tough-topics .card .card-text {
        font-size: 1.25rem;
        line-height: 2rem;
    }
}

@media only screen and (min-width: 1200px) {
    .tough-topics .card {
        border: 0;
        padding: 6em;
    }

    .tough-topics .card span {
        margin-bottom: 14px;
    }

    .tough-topics .card .card-title {
        font-size: 66px;
        line-height: 74px;
    }

    .tough-topics .card .card-text {
        font-size: 1.25rem;
        line-height: 2rem;
    }
}

/* TABS -------------------------------- */
html {
    scroll-behavior: smooth;
}

.military-tabs {
    background: #FFFFFF;
    box-shadow: 0 8px 9px 0 rgba(0, 0, 0, 0.20);
    position: relative;
    z-index: 20;
}

.tabs-navigation--sticky {
    position: fixed;
    top: 0;
    width: 100%
}

.tabs-navigation--sticky+.content {
    padding-top: 102px;
}

.military-tabs .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.military-tabs .nav-tabs::-webkit-scrollbar {
    display: none;
}

.military-tabs .nav-tabs {
    border: 0;
    color: white;
}

.military-tabs .nav-tabs .nav-item.show .nav-link,
.military-tabs .nav-tabs .nav-link.active,
.military-tabs .nav-tabs .nav-link {
    background-color: #fff;
    border: 0;
    color: #367689;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.25px;
    text-transform: uppercase;
    padding: 1.75rem 2rem 1.35rem;
}

.military-tabs .nav-tabs .nav-link:hover {
    color: #7094DB;
}

.military-tabs .nav-tabs .nav-item {
    margin-bottom: 0;
    position: relative;
    white-space: nowrap;
}

.military-tabs .nav-tabs .nav-link.active:after,
.military-tabs .nav_tabs.active:after {
    content: '';
    height: 6px;
    background-color: #367689;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

@media only screen and (max-width: 991px) {
    .military-tab-nav__container {
        /*        left: calc(-1 * (100vw - 100%) / 2);*/
        max-width: 100%;
        padding: 0;
        position: relative;
        width: 100vw;
    }

    .military-tabs .nav-tabs:after {
        content: '';
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        width: 8%;
        z-index: 100;
    }

    .military-tabs .nav-tabs:after {
        background: linear-gradient(-90deg, rgba(255, 255, 255, 1) 0%, rgba(225, 255, 255, 0) 100%);
        right: 0;
    }
}

@media only screen and (min-width: 768px) {
    .nav-tabs {
        text-align: center;
    }

    .nav-tabs .nav-item.show .nav-link,
    .nav-tabs .nav-link.active,
    .nav-tabs .nav-link {
        font-size: 16px;
    }
}

/* BUTTONS --------------------------- */
.btn-primary {
    min-height: 46px;
    min-width: 185px;
    border-radius: 3px;
    border-color: transparent;
    background-color: #367689;
    -webkit-box-shadow: 0 4px 6px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 4px 6px 0 rgba(0, 0, 0, .2);
    color: #fff;
    font-family: Kobern-Regular;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.71px;
    line-height: 2em;
    text-align: center;
    text-transform: uppercase;
    white-space: normal;
}

.btn-primary:hover {
    background-color: #fff;
    border: 1px solid #367689;
    color: #367689;
}

.military-topic__button {
    background-color: #FFFFFF;
    border-radius: 3px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.20);
    color: #3E3F3F;
    font-family: 'Sriracha', sans-serif;
    font-size: 20px;
    line-height: 24px;
    padding: .575rem .75rem;
    text-transform: uppercase;
    width: 100%;
    white-space: pre-wrap;
}

.military-topic__button:hover {
    background-color: #A2BF3A;
    color: #3E3F3F;
}

.btn--hover-yellow:hover {
    background-color: #E7C533;
}

@media only screen and (min-width: 768px) {
    .military-topic__button {
        font-size: 16px;
        line-height: 46px;
    }
}

@media only screen and (min-width: 1200px) {
    .military-topic__button {
        height: 100px;
        /*font-size: 22px;*/
        line-height: 80px;
        max-width: 280px;
    }
}

.military-h3 {
    color: #414142;
}

.military-h2 {
    color: #367689;
}

.tip-card__locations {
    background-color: #f4b753;
}
.military-section--care {
    background-image: url("/wp-content/uploads/teal_camo_darker.png");   
}
.page-id-25100 
    .jumbotron {
    background: url("/wp-content/uploads/jpg/iStock-1171197513-dark-scaled.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    color: #ffffff;
    text-align: center;
}


/* General .military-page class to target some styles that are already in place on the site */
.military-page iframe {
    width: 100%;
    min-height: 300px;
}

.hidden {
    display: none;
}