/* Override the default design system colors */
.utah-design-system {
    --primary-color: #0C2A4E;
    --primary-color-dark: #081b32;
    --primary-color-light: #e1eadd;

    --secondary-color: #0e80a7;
    --secondary-color-dark: #205162;
    --secondary-color-light: #edf5f8;

    --accent-color: #ffb100;
    --accent-color-dark: #745a1e;
    --accent-color-light: #fff9ec;

    --header-primary-color: var(--primary-color);
    --link-color: var(--primary-color);
    --link-color-dark: var(--primary-color-dark);
}

.utds-header {
    z-index: 10;
    border-bottom: 1px solid #28416a !important;
}

.dark-theme .utds-header {
    background-color: #2d2f36;
    border-bottom: 1px solid #0d131d !important;
}

/* Turn off the empty href anchor */
.utds-header .utds-title-wrapper {
    pointer-events: none;
    cursor: default;
}

.dark-theme .utds-title-wrapper__title {
    color: #edf5f8;
}

.utds-title-wrapper__logo {
    gap: 8px;
}

#utah-logo-svg__header {

}

.dark-theme #utah-logo-svg__header {
    background-color: #2d2f36;
    --primary-color: #edf5f8;
}

.logo-text-stack {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

#logo-title-top {
    font-size: 0.9rem;
    color: #555;
}

.dark-theme #logo-title-top {
  color: #e0e0e0;
}

#logo-title-bottom {
    font-weight: 600;
    font-size: 1.3rem;
}

.dark-theme #logo-title-bottom {
    color: #97dbff;
}

.utds-footer {
    padding: 24px 24px 14px 24px !important;
}

.utds-footer__horizontal-divider {
    display: none;
}

#main_footer {
    padding: 0;
    margin: 0;
    /*background-color: var(--gray-color);*/
    /*background: var(--gray-color);*/
    background-color: #474747;
}

@media only screen and (max-width: 600px) {
    #logo-title-bottom {
        font-weight: 600;
        font-size: 1.1rem;
    }
}

@media only screen and (max-width: 480px) {
    #logo-title-bottom {
        font-weight: 600;
        font-size: 1rem;
    }

    #logo-title-top {
        display: none;
    }
}

/* WAVE Contrast Error finding - Force the visually-hidden text to be truly hidden without color conflicts */
.utds-icon-before-x-icon + .visually-hidden {
    color: #000000 !important;
    background-color: #ffffff !important;
}
#utah-logo-description {
    color: #000000 !important;
    background-color: #ffffff !important;
}