/**
    ============================================================
    SAMHSA Global Footer
    Prefixed with .samhsa-gf to safely inject across apps.
    No framework dependencies. Pure CSS.
    ============================================================ 
*/

/* Reset & box-sizing scoped to footer */
.samhsa-gf *,
.samhsa-gf *::before,
.samhsa-gf *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.samhsa-gf a {
    text-decoration: none;
}

.samhsa-gf ul {
    list-style: none;
}

/*** globals ***/
.samhsa-gf .flex_center {
    display: flex;
    align-items: center;
}

.samhsa-gf .pe-15px {
    padding-right: 15px;
}

.samhsa-gf .w-100 {
    width: 100%;
}

/* width utils */
.samhsa-gf .w-1\/3 {
    flex: 0 0 auto;
    width: 33.333333%;
}

/* Bootstra's md */
@media (min-width: 769px) {
    .samhsa-gf .md\:w-1\/2 {
        flex: 0 0 auto;
        width: 50%;
    }

    .samhsa-gf .md\:1\/3 {
        flex: 0 0 auto;
        width: 33.333333%;
    }

    .samhsa-gf .md\:w-7\/12 {
        flex: 0 0 auto;
        width: 58.333333%;
    }
}

/* Bootstrap's lg */
@media (min-width: 992px) {
    .samhsa-gf .lg\:w-2\/3 {
        flex: 0 0 auto;
        width: 66.666667%;
    }
}

/* shared */
.samhsa-gf .samhsa-gf__inner {
    max-width: 1230px;
    margin: 0 auto;
}

/* ---- pre-footer ---- */
.samhsa-gf .samhsa-gf__pre-footer {
    background-color: #f6f6f6;
    color: #444;
    padding: 18px 16px;
}

/* Socials */
.samhsa-gf .samhsa-gf__social .row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 6px;
    margin-left: 6px;
}

.samhsa-gf .samhsa-gf__social svg {
    width: 42px;
    height: 48px;
    fill: #333;
}

/* Email signup */
.samhsa-gf .samhsa-gf__signup h2 {
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    color: #444;
    font-weight: 400;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .samhsa-gf .samhsa-gf__socials__email {
        flex-wrap: wrap;
    }

    .samhsa-gf .samhsa-gf__social {
        width: 100%;
        flex: unset;
        max-width: unset;
        margin-left: auto;
        margin-right: auto;
    }

    .samhsa-gf .samhsa-gf__social .row_cont {
        display: flex;
        justify-content: center;
    }

    .samhsa-gf .samhsa-gf__social .row {
        margin-left: 0;
    }

    .samhsa-gf .samhsa-gf__signup {
        margin-top: 16px;
    }

    .samhsa-gf .samhsa-gf__info__form {
        display: flex;
        flex-wrap: wrap;
        padding-left: 0px;
        width: 100%;
    }

    .samhsa-gf .samhsa-gf__signup-form {
        width: 100%;
    }
}

@media (max-width: 992px) {
    .samhsa-gf .samhsa-gf__signup h2 {
        font-size: 24px;
    }
}

.samhsa-gf .samhsa-gf__signup p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 21.6px;
    margin-bottom: 16px;
}

.samhsa-gf .samhsa-gf__signup-form {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.samhsa-gf .samhsa-gf__signup-email {
    font-family: Roboto, sans-serif;
    font-size: 18px;
    border-right: none;
    display: block;
    width: 100%;
    height: 41px;
    padding: 6px 12px;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 8px 0 0 8px;
    transition:
        border-color 0.15s ease-in-out,
        box-shadow 0.15s ease-in-out;
}

.samhsa-gf .samhsa-gf__signup-email:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.samhsa-gf .samhsa-gf__signup-btn {
    display: inline-block;
    width: auto;
    font-weight: 700;
    font-size: 18px;
    margin-top: 0;
    border-radius: 0 8px 8px 0;
    color: #000;
    background: #28a6d4;
    border: none;
    margin: 0px;
    padding: 5.4px 16px;
    cursor: pointer;
    text-align: center;
    vertical-align: middle;
    line-height: 1.5;
    white-space: nowrap;
}

@media (max-width: 830px) {
    .samhsa-gf .samhsa-gf__signup-email {
        border-radius: 4px;
    }

    .samhsa-gf .samhsa-gf__signup-btn {
        width: 100%;
        margin-top: 8px;
        border-radius: 8px;
    }

    .samhsa-gf .samhsa-gf__signup-form {
        flex-wrap: wrap;
    }
}

.samhsa-gf .samhsa-gf__signup-btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Language Assist samhsa-gf__link_list and utilities */
.samhsa-gf__link_list {
    margin-top: 16px;
}

.samhsa-gf .samhsa-gf__link_list h5 {
    font-family: "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 36px;
}

.samhsa-gf .samhsa-gf__link_list ul {
    display: flex;
    flex-wrap: wrap;
    line-height: 1.2;
}

.samhsa-gf .samhsa-gf__link_list li {
    display: inline;
    border-right: 1px solid #333;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.samhsa-gf .samhsa-gf__link_list li:last-child {
    border-right: none;
}

.samhsa-gf .samhsa-gf__link_list a {
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #444;
    margin-right: 0.5rem;
}

.samhsa-gf .samhsa-gf__inner a:hover,
.samhsa-gf .samhsa-gf__inner a:focus {
    text-decoration: underline;
}

.samhsa-gf .samhsa-gf__inner hr {
    margin-bottom: 16px;
    border: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    margin-top: 16px;
}

.samhsa-gf .samhsa-gf__usagov {
    font-size: 18px;
    font-family: "Roboto", sans-serif;
    margin-top: 24px;
    margin-bottom: 16px;
}

.samhsa-gf .samhsa-gf__usagov a {
    text-decoration: underline;
    color: #333;
}

/* ---- footer ---- */
.samhsa-gf .samhsa-gf__footer {
    background-color: #1e384b;
    padding: 16px;
}

.samhsa-gf .samhsa-gf__footer .samhsa-gf__inner {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .samhsa-gf .samhsa-gf__footer .samhsa-gf__inner {
        flex-wrap: wrap;
    }
}

.samhsa-gf .samhsa-gf__footer .samhsa-gf__inner .samhsa-gf__mission__address {
    padding: 32px 15px;
}

/* Mission text */
.samhsa-gf .samhsa-gf__inner .samhsa-gf__mission__address {
    font-size: 16px;
    font-weight: 400;
    font-family: "Roboto", sans-serif;
    line-height: 19.2px;
    color: #fff;
    padding-left: 7px;
}

.samhsa-gf .samhsa-gf__inner .samhsa-gf__address {
    font-style: normal;
    margin-top: 16px;
}

.samhsa-gf .samhsa-gf__inner .samhsa-gf__address a {
    text-decoration: underline;
    color: #fff;
}

.samhsa-gf .samhsa-gf__inner .samhsa-gf__address a:hover,
.samhsa-gf .samhsa-gf__inner .samhsa-gf__address a:focus {
    color: #ccc;
}

/* Logos */
.samhsa-gf .samhsa-gf__logos {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: end;
}

.samhsa-gf .samhsa-gf__logos .samhsa-gf__logo-samhsa {
    width: min(50vw, 210px);
}

.samhsa-gf .samhsa-gf__logos .samhsa-gf__logo-hhs {
    width: 80px;
    margin-left: 32px;
}
