/* Food Handlers Fast - Modern Header & Footer */

/* ---------------- HEADER ---------------- */

.fhf-header {
    background: #fff;
    border-bottom: 1px solid #e6eaee;
}

.fhf-topline {
    background: #07314e;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 7px 15px;
    text-align: center;
}

.fhf-header-main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 12px 15px 14px;
}

.fhf-header-logo img {
    max-width: 190px;
    height: auto;
}

.fhf-nav {
    margin-top: 10px;
}

.fhf-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
}

.fhf-nav a {
    display: inline-block;
    padding: 9px 12px;
    border-radius: 7px;
    text-decoration: none;
    color: #1e2933;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.fhf-nav a:hover {
    background: #f1f5f8;
    color: #168fc5;
}

.fhf-nav .fhf-course-link {
    border: 1px solid #dde4e9;
    background: #fff;
}

.fhf-nav .fhf-bundle-link {
    background: #29abe2;
    border-color: #29abe2;
    color: #fff;
}

.fhf-nav .fhf-bundle-link:hover {
    background: #178fc1;
    color: #fff;
}

.fhf-nav .fhf-login-link {
    color: #dc3545;
}

/* Mobile */

.fhf-mobile-header {
    display: none;
}

.fhf-mobile-menu-button {
    background: transparent;
    border: 0;
    padding: 8px;
    font-size: 30px;
    color: #1e2933;
}

.fhf-mobile-menu .dropdown-menu {
    min-width: 290px;
    padding: 8px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,.14);
}

.fhf-mobile-menu .dropdown-item {
    padding: 10px 12px;
    border-radius: 6px;
    font-weight: 700;
}

.fhf-mobile-menu .fhf-mobile-bundle {
    background: #29abe2;
    color: #fff;
}

@media (max-width: 767px) {
    .fhf-desktop-header {
        display: none;
    }

    .fhf-mobile-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
    }

    .fhf-mobile-header .fhf-header-logo img {
        max-width: 170px;
    }
}


/* ---------------- FOOTER ---------------- */

.fhf-footer {
    background: #062d47;
    color: #fff;
    padding: 52px 0 24px;
}

.fhf-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
}

.fhf-footer h3 {
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 17px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.fhf-footer-course {
    display: block;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 8px;
    color: #fff !important;
    text-decoration: none !important;
    padding: 11px 13px;
    margin-bottom: 9px;
    font-weight: 700;
}

.fhf-footer-course:hover {
    background: rgba(255,255,255,.13);
}

.fhf-footer-course.bundle {
    background: #29abe2;
    border-color: #29abe2;
}

.fhf-footer-course.bundle:hover {
    background: #178fc1;
}

.fhf-footer-link {
    display: block;
    color: #fff !important;
    text-decoration: none !important;
    margin-bottom: 10px;
    opacity: .9;
}

.fhf-footer-link:hover {
    opacity: 1;
    text-decoration: underline !important;
}

.fhf-footer-brand {
    font-size: 15px;
    line-height: 1.6;
    opacity: .9;
}

.fhf-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14);
    margin-top: 34px;
    padding-top: 19px;
    text-align: center;
    font-size: 13px;
    opacity: .8;
}

@media (max-width: 767px) {
    .fhf-footer {
        padding: 38px 0 20px;
    }

    .fhf-footer-column {
        margin-bottom: 28px;
    }
}

/* Compact desktop header */

@media (min-width: 768px) {

    .fhf-header-main {
        max-width: 1180px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .fhf-desktop-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        gap: 28px;
    }

    .fhf-desktop-header .fhf-header-logo {
        flex: 0 0 auto;
    }

    .fhf-desktop-header .fhf-header-logo img {
        display: block;
        max-width: 190px;
        height: auto;
    }

    .fhf-desktop-header .fhf-nav {
        margin-top: 0;
        flex: 1 1 auto;
    }

    .fhf-desktop-header .fhf-nav ul {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 6px;
    }

    .fhf-desktop-header .fhf-nav a {
        padding: 9px 10px;
        font-size: 14px;
    }

    .fhf-desktop-header .fhf-nav .fhf-course-link {
        padding-left: 11px;
        padding-right: 11px;
    }
}

/* Slightly tighter layout for medium desktop widths */

@media (min-width: 768px) and (max-width: 1100px) {

    .fhf-desktop-header {
        gap: 15px;
    }

    .fhf-desktop-header .fhf-header-logo img {
        max-width: 155px;
    }

    .fhf-desktop-header .fhf-nav ul {
        gap: 3px;
    }

    .fhf-desktop-header .fhf-nav a {
        padding: 8px 7px;
        font-size: 13px;
    }
}

/* Footer benefit column */

.fhf-footer-benefit {
    margin-bottom: 15px;
}

.fhf-footer-benefit strong {
    display: block;
    color: #fff;
    font-size: 15px;
    margin-bottom: 2px;
}

.fhf-footer-benefit span {
    display: block;
    color: rgba(255,255,255,.78);
    font-size: 14px;
    line-height: 1.45;
}
