:root {
    --body-font-size: 16px;
    --h1-font-size: 52px;
    --h2-font-size: 44px;
    --h3-font-size: 36px;
    --h4-font-size: 28px;
    --h5-font-size: 24px;
    --h6-font-size: 20px;

    --h1-font-size-md: 42px;
    --h2-font-size-md: 34px;
    --h3-font-size-md: 30px;
    --h4-font-size-md: 26px;
    --h5-font-size-md: 22px;
    --h6-font-size-md: 18px;
    --header-line-height-md: 1.2;

    --h1-line-height: 56px;
    --h2-line-height: 48px;
    --h3-line-height: 40px;
    --h4-line-height: 32px;
    --h5-line-height: 28px;
    --h6-line-height: 24px;
    --body-line-height: 32px;

    --color-blue: #0D2344;
    --color-purple: #51284E;
    --color-yellow: #FFC849;
    --color-red: #852144;
    --color-white: #F5F6F0;
    --color-text: #231F20;
    --theme-gradient: linear-gradient(88.09deg, var(--color-yellow) 0.01%, #D36528 30.31%, var(--color-red) 70.18%, var(--color-blue) 99.99%);
    --theme-gradient-alt: linear-gradient(88.09deg,  var(--color-yellow) 0.01%, #D36528 14.91%, var(--color-red) 35%, var(--color-blue) 69.71%);

    --btn-bg-color: var(--color-yellow);
    --btn-bg-hover-color: #FFD980;
    --btn-bg-alt-color: var(--color-blue);
    --btn-bg-alt-hover-color: #081529;
    --btn-border-width: 2px;

    --max-width: 1140px;
    --max-width-lrg: 1280px;
}

/* Globals */
body {
    font-size: var(--body-font-size);
    line-height: calc( var(--body-font-size) * 2 );
}

html > body.ft_body, body, button, input, select, textarea {
    color: var(--color-text);
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

a:visited {
    color: var(--color-red);
}

p {
    font-size: var(--body-font-size) !important;
    line-height: var(--body-line-height) !important;
    font-weight: 400 !important;
}

a {
    color: var(--color-red);
}

a:hover {
    color: var(--color-red);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-purple) !important;
    text-transform: uppercase;
    font-weight: 700 !important;
}

a.btn:visited {
    color: inherit;
}

.btn,
button {
    text-shadow: none;
}

.btn:not(.eye-button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    font-size: var(--h6-font-size);
    text-transform: uppercase;
    font-weight: 700;
    line-height: 22px;
    border-radius: 50px !important;
    background-color: var(--btn-bg-color);
    border-color: var(--btn-bg-color);
    color: var(--color-blue);
    padding-left: 25px;
    padding-right: 25px;
    border-width: 2px;
    border-style: solid;
}

.btn:hover {
    background-color: var(--btn-bg-hover-color);
    border-color: var(--btn-bg-hover-color);
    color: var(--color-blue) !important;
}

.btn.btn-secondary {
    background-color: var(--btn-bg-alt-color);
    border-color: var(--btn-bg-alt-color);
    color: var(--color-white) !important;
}

.btn.btn-secondary:hover {
    border-color: var(--btn-bg-alt-hover-color);
    background-color: var(--btn-bg-alt-hover-color);
}

.btn.btn-outline {
    background-color: transparent;
    border-color: var(--btn-bg-color);
    color: var(--btn-bg-color) !important;
}

.btn.btn-outline:hover {
    background-color: var(--btn-bg-hover-color);
    border-color: var(--btn-bg-hover-color);
    color: var(--color-blue) !important;
}

#primary {
    margin-top: 30px;
}

/* Header */
.header-wrapper {
    padding: 30px 0 25px;
    background-color: var(--color-white);
    background-image: url( https://alaskacf.org/wp-content/themes/alaskacf2021/img/ACF-HeaderBackground.jpg );
    background-repeat: no-repeat;
    background-size: cover;
}

.utility-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 35px;
    max-width: var(--max-width);
    margin: 0 auto 20px;
    padding: 0 20px;
}

.utility-nav .widget {
    margin: 0;
}

#menu-top-left-utilities, 
#menu-top-right-utilities {
    align-items: center;
    font-size: calc( var(--body-font-size) + 2px );
    margin: 0;
}

#menu-top-left-utilities {
    gap: 10px 30px;
}

#menu-top-left-utilities li {
    margin: 0;
}

#menu-top-left-utilities li a {
    
}

#menu-top-right-utilities {
    gap: 0 5px;
}

#menu-top-right-utilities a {
    line-height: 1;
}

.logo-wrapper {
    text-align: center;
}

#logo img {
    max-width: 500px;
}

#menu-top-left-utilities li a, 
#menu-top-right-utilities li a {
    color: var(--color-text);
    font-weight: 500;
}

.nav-wrapper {
    /* background: var(--theme-gradient); */
    background: var(--theme-gradient-alt);
    padding: 0;
}

.menu_search_box button {
    min-width: 0;
    font-size: var(--h6-font-size);
    background-color: var(--btn-bg-alt-color) !important;
    box-shadow: none;
}

.menu_search_box button:hover {
    background-color: var(--btn-bg-alt-hover-color) !important;
    border-color: var(--btn-bg-alt-hover-color) !important;
}

#mega-menu-wrap-primary #mega-menu-primary {
    display: flex;
    gap: 10px 10px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    height: auto;
    font-size: var(--h6-font-size);
    line-height: 1;
    color: var(--color-white);
    padding: 40px 10px;
    font-weight: 900 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
    display: none;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-flyout:hover > a:after {
    display: none;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
    background-color: var(--color-blue);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
    top: 100%;
    background-color: var(--color-blue);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item {
    border-color: var(--color-yellow);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    line-height: 1.25;
    padding: 10px;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus {
    background-color: var(--color-red);
}

#mega-menu-wrap-primary .mega-menu-toggle {
    background: none;
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator {
    
}

#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator::after {
    font-family: "Font Awesome 6 Free";
    font-weight: 600;
    font-size: 16px;
}

@media only screen and (min-width: 769px) {
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:hover, 
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link:focus {
        font-weight: 900;
        background-color: var(--color-blue);
    }

    .wp-block-uagb-column #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:hover, 
    .wp-block-uagb-column #mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-item > a.mega-menu-link:focus {
        background-color: var(--color-purple);
    }

    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-flyout li.mega-menu-item a.mega-menu-link > span.mega-indicator::after {
        content: '\f0da';
    }
}


/* Footer */
footer.entry-meta {
    display: none;
}

.site-footer .footer-widget-area .footer-column .textwidget a {
    line-break: anywhere;
}

#footer-pre-area {
    height: 300px;
    background-size: cover;
    margin-top: 60px;
}

#footer-pre-area .red-underline,
#footer-pre-area > p {
    display: none;
}

.ft_footer .site-footer {
    position: relative;
    background: var(--color-blue);
    padding-top: 65px;
    padding-bottom: 60px;
}

.ft_footer .site-footer .ftr-tagline {
    text-align: center;
    margin-bottom: 60px;
}

.ft_footer .site-footer .ftr-tagline > h5 {
    display: none;
    font-size: var(--h5-font-size);
}

.ft_footer .site-footer #ftr-logo {
    display: inline-block;
    /* margin-top: 30px; */
}

.ft_footer .site-footer .footer-widget-area {
    text-transform: none;
}

.ft_footer .site-footer .footer-widget-area p {
    font-size: calc( var(--body-font-size) + 2px ) !important;
}

.ft_footer .site-footer .footer-widget-area .footer-column .textwidget a.btn {
    font-size: var(--h6-font-size);
    width: 100%;
}

.ft_footer .site-footer .footer-widget-area .footer-column .textwidget a.btn.btn-outline {
    color: var(--color-yellow);
}

.ft_footer .site-footer .footer-widget-area .footer-column .textwidget a.btn.btn-outline:hover {
    color: var(--color-blue);
}

.ft_footer .site-footer .footer-widget-area #nav_menu-12 {
    background-color: transparent;
    border: 2px solid var(--color-yellow);
}

.ft_footer .site-footer .footer-widget-area #nav_menu-12 .widget-title {
    font-size: var(--h6-font-size) !important;
    line-height: 1.2 !important;
    color: var(--color-white) !important;
    margin-bottom: 12px;
    font-weight: 700 !important;
}

.ft_footer .site-footer .footer-widget-area a:visited {
    color: var(--color-white);
}

.ft_footer .site-footer .footer-widget-area #nav_menu-12 a {
    font-size: var(--h6-font-size);
    line-height: 42px;
    text-decoration: none;
}

.ft_footer .site-footer .footer-widget-area #nav_menu-12 a:hover {
    text-decoration: underline;
    color: var(--color-white);
}

.ft_footer .site-footer .footer-widget-area .row {
    display: block;
}

.ft_footer .site-footer .footer-widget-area .row .footer-column {
    padding: 0;
    max-width: 100%;
}

.ft_footer .site-footer .social-icons-footer > div {
    display: flex;
    justify-content: center;
    gap: 10px 10px;
}

.ft_footer .site-footer .menu-user-logins-container {
    margin-top: 0;
}

.ft_footer .site-footer a:not(.btn) {
    /* text-decoration: underline; */
}

.ft_footer .site-footer .site-info {
    display: flex;
    justify-content: flex-end;
    max-width: var(--max-width-lrg);
}

.ft_footer .site-footer .site-info::before {
    flex-grow: 1;
}

.ft_footer .site-footer .site-info .cf-standards {
    flex-grow: 1;
}

.ft_footer .site-footer .site-info p {
    flex-grow: 4;
    align-self: center;
    text-align: center;
    font-weight: 700;
}

.ft_footer .site-footer .site-info p,
.ft_footer .site-footer .site-info .cf-standards {
    float: none;
}

/* Utility Classes */

.text-transform-none {
    text-transform: none;
}

.font-weight-400 {
    font-weight: 400;
}

.font-weight-500 {
    font-weight: 500;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-700 {
    font-weight: 700;
}

.font-weight-900 {
    font-weight: 900;
}

.add-btm-margin {
    margin-bottom: 20px;
}

.h1-size {
    font-size: var(--h1-font-size) !important;
    line-height: var(--h1-line-height) !important;
}

.h2-size {
    font-size: var(--h2-font-size) !important;
    line-height: var(--h2-line-height) !important;
}

.h3-size {
    font-size: var(--h3-font-size) !important;
    line-height: var(--h3-line-height) !important;
}

.h4-size {
    font-size: var(--h4-font-size) !important;
    line-height: var(--h4-line-height) !important;
}

.h5-size {
    font-size: var(--h5-font-size) !important;
    line-height: var(--h5-line-height) !important;
}

.h6-size {
    font-size: var(--h6-font-size) !important;
    line-height: var(--h6-line-height) !important;
}

.theme-blue {
    color: var(--color-blue) !important;
}

.theme-purple {
    color: var(--color-purple) !important;
}

.theme-yellow {
    color: var(--color-yellow) !important;
}

.theme-red {
    color: var(--color-red) !important;
}

.theme-white {
    color: var(--color-white) !important;
}

.theme-font {
    color: var(--color-text) !important;
}

.theme-gradient-strip::before {
    content: '';
    height: 10px;
    width: 100%;
    display: block;
    position: absolute;
    top: -10px;
    left: 0;
    background: linear-gradient(88.09deg, #FFC849 0.01%, #D36528 30.31%, #852144 70.18%, #0D2344 99.99%);
}

.hide {
    display: none !important;
}

/* Responsive */

@media (max-width: 900px) {

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        font-size: calc( var(--h6-font-size) - 2px );
    }
}

@media (max-width: 860px) {

    #mega-menu-wrap-primary #mega-menu-primary {
        gap: 10px 5px;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        font-size: calc( var(--h6-font-size) - 4px );
        padding: 30px 10px;
    }
}

@media (max-width: 768px) {

    .site-header {
        display: flex;
        flex-direction: column;
    }

    .site-header .header-wrapper {
        order: 2;
    }

    .site-header .nav-wrapper {
        order: 1;
    }

    .header-wrapper .utility-nav {
        display: none;
    }

    .nav-wrapper {
        padding: 0 30px;
        background: var(--color-blue);
    }

    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
        background: var(--color-blue);
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
        padding: 18px 20px;
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        padding: 10px 30px;
        font-size: var(--body-font-size);
    }

    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
        padding: 10px 45px;
    }

    #logo img {
        max-width: 330px;
    }
}

@media (max-width: 580px) {

    .ft_footer .site-footer {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Min */

@media (min-width: 992px) {

    .ft_footer .site-footer .footer-widget-area .row {
        display: flex;
        justify-content: space-between;
    }

    .ft_footer .site-footer .footer-widget-area .row .footer-column:nth-child(1) {
        max-width: 260px;
        padding: 0 30px 0 0;
    }

    .ft_footer .site-footer .footer-widget-area .row .footer-column:nth-child(3) {
        padding: 0 40px 0 20px;
    }
}