/***** PAGE TYPOGRAPHY *****/

h1 {
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    font-size: 2.8rem;
    line-height: 2.8rem;
}

.subtext {
    font-family: "Rubik-Regular", sans-serif;
    font-size: 13px;
    color: #000000;
}

h3 {
    color: #CC0000;
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    text-transform: uppercase;
    font-size: 2rem;
    line-height: 2.4rem;
    text-align: center;
    margin-top: 64px;
    margin-bottom: 20px;
}

/***** DETAIL LAYOUT *****/

.detail-section {
    margin-top: 40px;
}

.section-container {
    max-width: 744px;
}

.section-container-right, .section-container-left {
    display: flex;
    align-items: center;
}

.section-container-right {
    justify-content: flex-end;
}

.section-container-left {
    justify-content: flex-start;
}

h3 {
    color: #CC0000;
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    text-transform: uppercase;
    font-size: 45px;
    max-width: 576px;
}

/***** CONTENT HELPERS *****/

div.rellax {
    transition: all 0.2s ease;
}

/***** SERVICE CARDS *****/

.service-container {
    position: relative;
    margin-bottom: 48px;
    overflow: hidden;
}

.service-container img {
    transition: all 0.2s ease;
    min-width: 100%;
}

.service-container:hover img {
    transform: scale(1.1);
}

.service-container:before {
    content: "";
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9;
}

.service-heading {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFFF;
    font-family: "BigShouldersDisplay-Bold", sans-serif;
    text-transform: uppercase;
    font-size: 24px;
    height: 100%;
    width: 100%;
    display: flex;
    top: 0;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 15px;
    z-index: 9;
}

.service-heading:hover, .service-heading:focus {
    color: #FFFFFF;
}

/***** RECALL MODAL *****/

#recall-modal {
    overflow-y: hidden !important;
    top: 25vh;
}

#recall-modal .modal-content {
    background-color: #000000;
    border-top: 3.95px solid #CC0000;
}

#recall-modal .modal-content *:not(.close-container) {
    color: #FFFFFF;
    text-align: center;
}

#recall-modal .modal-heading {
    font-family: "Rubik-Light", sans-serif;
    font-size: 2rem;
    text-transform: uppercase;
}

#recall-modal .modal-description {
    font-size: 1rem;
}

#recall-modal .modal-content .cta {
    font-size: 1.2rem;
    color: #000000;
    background-color: #FFFFFF;
    padding: 5px 28px;
    text-transform: uppercase;
    border-radius: 6px;
    margin-top: 20px;
    margin-bottom: 20px;
}

#recall-modal .modal-description, #recall-modal .cta {
    font-family: "Rubik-Regular", sans-serif;
}

.close-container {
    text-align: right;
}

#recall-modal .close {
    float: none;
}

#recall-modal .cta:hover, #recall-modal .cta:focus {
    opacity: 0.9;
}

/***** RELATED SECTION *****/

.related {
    margin-top: 64px;
}

.section-description {
    font-family: "Rubik-Regular", sans-serif;
    font-size: 18px;
    color: #000000;
}

.close-container img {
    max-width: 70%;
}

.header-text-icon {
    max-height: 50px !important;
    margin-top: 36px !important;
}

/***** RESPONSIVE ADJUSTMENTS *****/

@media only screen and (min-width: 576px) {
    .modal-dialog {
        max-width: 760px;
    }
}

@media only screen and (min-width: 1024px) {
    .col-md-4:not(:last-of-type) {
        padding-right: 0;
    }
}

@media only screen and (max-width: 1023px) {
    .related h3 {
        text-align: center;
    }

    #recall-modal .modal-heading {
        font-size: 24px;
    }

    #recall-modal .modal-description {
        font-size: 16px;
    }

    #recall-modal .modal-content .cta {
        font-size: 22px;
    }

    .container-fluid {
        margin-top: 24px;
    }

    .service-container {
        max-height: 261px;
    }

    .service-container {
        margin-bottom: 20px;
    }

    h3 {
        font-size: 24px;
    }

    .section-description {
        font-size: 16px;
    }

    .detail-section .flex-order-1 {
        order: 1;
    }

    .detail-section .flex-order-2 {
        order: 2;
    }

    .detail-section .flex-order-3 {
        order: 3;
    }

    .separator {
        background-color: #E60020;
        height: 1px;
        width: 110px;
        margin: 24px auto;
        text-align: center;
    }

    .related {
        margin-top: 40px;
    }

    .section-container {
        text-align: center;
    }
}
