/* Created March 2023 by C. Boren / Clique Studios */
/* Created March 2023 by C. Boren / Clique Studios */

/* Vars */

:root {
	--background-blue: #0078BD;
    --text-blue: #002C4C;
    --dark-background: #002C4C;
    --ice-blue: #E3F2FF;
    --background-blue-shift: #002C4C;
    --ice-blue-lighter: rgba(227, 242, 255, 0.5);
	
/*    --dark-background: #0F1E4A;*/
/*    --text-blue: #0E256C;*/
/*    --background-blue-shift: #08248C;*/
/*    --background-blue: #082CB0;*/	
    --dkred: #BF0404;
    --gold: #F4B61A;
    --text: #2A2B30;
    --button-blue: var(--background-blue-shift);
    --max-width: 1365px;
    /* --max-width: 1300px; */
    --max-width-wide: 1840px;
    --nav-height: 100px;
    --border-radius: 16px;
/*    --ice-blue: #E9ECFB;*/
    --white: #F9FAFE;
    --border-color: #A9B4EF;
    --error-color: #BF0404;

    /* Overwrite old colors */
    --blue: var(--text-blue);
    --red: var(--gold);
    --font-primary: 'Public Sans', sans-serif;
    --font-secondary: 'Public Sans', sans-serif;
    --focus-color: var(--dark-background);
    --focus-offset: 5px;
    --focus-type: dashed;
}

body {
    letter-spacing: unset;
}

body.hide-search #nav-search{
display: none;
}

/* Fonts */
h1, h2, h3, h4, h5, label{
    color: var(--text-blue);
}

.has-error, label, .invalidField{
    --red: var(--error-color);
}

@font-face {
    font-family: 'Public Sans';
    src: url('https://www.ilsos.gov/fonts/PublicSans-VariableFont_wght.woff2');
    font-weight: 100 900;
}

@font-face {
    font-family: 'Public Sans';
    font-style: italic;
    src: url('https://www.ilsos.gov/fonts/PublicSans-Italic-VariableFont_wght.woff2');
    font-weight: 100 900;
}

/* Global focus states */
*:focus-visible {
    /* box-shadow: 0px 0px 20px var(--text-blue); */
    outline: 2px var(--focus-type) var(--focus-color) !important;
    outline-offset: var(--focus-offset) !important;
}

/* @media screen and (max-width: 768px){
    *:focus-visible{
        box-shadow: none;
    }
} */

input:not([type=submit]):focus-visible {
    --focus-offset: -1px;
    --focus-type: solid;
    --focus-color: var(--gold);
    box-shadow: 0px 0px 10px var(--text-blue);
}

body {
    background-color: var(--white);
    color: var(--text);
    font-size: 16px !important;
    font-family: var(--font-primary);
}

.wrapper {
    margin: 0 auto;
    width: calc(100% - 80px);
    max-width: var(--max-width);
}

.wrapper-wide {
    max-width: var(--max-width-wide);
}

@media screen and (max-width: 767px) {
    .wrapper {
        width: calc(100% - 40px);
    }
}

/* Message bar */

#message-bar {
    --focus-color: var(--gold);
    background-color: var(--text-blue);
    color: var(--white);
    display: block;
    width: 100%;
    min-height: 40px;
}

#message-bar .wrapper {
    display: block;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    min-height: 100%;
    min-height: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#message-bar ul {
    list-style: none;
    color: var(--white);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

#message-bar ul li {
    margin: 0;
    padding: 0;
}

#message-bar a:not(.how-you-know) {
    color: var(--white);
    margin: 0;
    padding: 0;
    text-decoration: none;
    border: none;
    font-size: 13px;
}

#message-bar button.how-you-know {
    color: var(--white);
    margin: 0;
    padding: 0;
    /* text-decoration: none; */
    /* border: none; */
    font-size: 13px;
    border-bottom-color: var(--white);
    appearance: none;
    background-color: transparent;
    border-top: none;
    border-left: none;
    border-right: none;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

#message-bar button.how-you-know::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: transparent url('https://www.ilsos.gov/images/refresh-2023/chevron-down.svg') center center no-repeat;
    transition: transform .25s ease-in-out;
}

#message-bar button.how-you-know:hover {
    border-bottom-color: var(--gold);
}

#message-bar button.how-you-know.expanded::after {
    transform: rotate(-180deg);
}

@media screen and (max-width: 768px) {
    #message-bar button.how-you-know {
        width: 40px;
        height: 40px;
        display: block;
        margin-left: auto;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #message-bar button.how-you-know span {
        display: none;
    }

    #message-bar button.how-you-know::after {
        width: 40px;
        height: 40px;
    }
}

#message-bar .left,
#message-bar.right {
    min-height: 40px;
    display: flex;
    align-items: center;
}

#message-bar .left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
}

#message-bar a:not(.how-you-know):hover {
    text-decoration: underline;
}

#message-bar .bottom {
    padding: 0;
    grid-column: 1 / -1;
    max-height: 0px;
    overflow: hidden;
    transition: max-height .5s ease-in-out;
}

#message-bar .bottom.expanded {
    max-height: 150px;
}

#message-bar .bottom .two-col {
    padding: 1rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0 auto;
    gap: 1rem;
    max-width: 900px;
}

@media screen and (max-width: 1024px) {
    #message-bar .wrapper {
        grid-template-columns: 1fr;
    }

}

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


    #message-bar .bottom.expanded {
        max-height: 400px;
    }

    #message-bar .bottom .two-col {
        grid-template-columns: 1fr;
        max-width: 400px;
    }



}

#message-bar .two-col>div {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 1rem;
}

#message-bar .two-col .icon {
    --size: 48px;
    width: var(--size);
    height: var(--size);
    border-radius: 100%;
    background-color: var(--white);
    color: var(--text-blue);
}

#message-bar .two-col svg {
    max-width: 48px;
    max-height: 48px;
}

#message-bar .two-col .text svg {
    max-width: 12px;
    max-height: 12px;
    margin: 0 .25em;
}

#message-bar .two-col .text p {
    font-size: 14px;
    line-height: 1.25em;
    font-weight: 400;
}

#message-bar .two-col .text p:first-child {
    font-size: 16px;
    line-height: 1.25em;
    font-weight: 400;
    margin-bottom: .25em;
}

#message-bar .two-col .text p strong {
    font-weight: 700;
}

/* Main Navbar */
#nav-bar {
    --focus-color: var(--gold);
    --focus-offset: 0px;
    color: var(--white);
    background-color: var(--background-blue);
    position: relative;
    min-height: var(--nav-height);
}

#nav-bar .logo-link {
    display: block;
}

#nav-bar .logo-link:not(:hover) {
    border-bottom-color: transparent;
}

@media screen and (max-width: 1024px) {
    #nav-bar::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--background-blue);
    }
}

#nav-bar .logo {
    max-width: 120px;
}

#nav-bar .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#nav-bar .right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

/* Mega Menu */

.megamenu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* gap: 1rem; */
}

.megamenu a {
    color: var(--white);
}

.megamenu button {
    /* height: calc(var(--nav-height) - 12px); */
    --focus-offset: -2px;
    height: var(--nav-height);
    appearance: none;
    background-color: transparent;
    padding: 0 1em;
    border: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .25em;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
}

.megamenu button:after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/chevron-down.svg');
    background-repeat: no-repeat;
    background-position: center;
    /* background-size: contain; */
}

.megamenu button:hover,
.megamenu button[aria-expanded="true"] {
    background-color: var(--text-blue);
}

.megamenu button:hover {
    border-bottom-color: var(--gold);
}

.megamenu li {
    margin: 0;
    padding: 0;
}

.megamenu .megamenu-dropdown {
    display: none;
    z-index: 10;
}

.megamenu .megamenu-dropdown.active {
    display: block;
    width: 100%;
    min-height: 100px;
    background-color: var(--text-blue);
    position: absolute;
    top: 100%;
    left: 0;
}

.megamenu .megamenu-dropdown ul {
    width: calc(100% - 32px);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.megamenu .megamenu-dropdown ul.megamenu-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 47px 0;
}

.megamenu .megamenu-dropdown ul.megamenu-list {
    /* Rows are minus 1 since the title takes up an entire row */
    --rows: 7;
    --columns: 4;
    display: grid;
    grid-template-columns: repeat(var(--columns), 1fr);
    gap: 16px;
    padding: 47px 0;
    grid-auto-flow: column;
    grid-template-rows: repeat(var(--rows), 1fr);
    font-weight: 300;
}

.megamenu .megamenu-dropdown ul.megamenu-list li.full-width {
    /* Span all columns */
    grid-column: 1/-1;
    font-weight: 400;
    border-bottom: 1px solid var(--gold);
    padding-bottom: .25em;
}

/* .megamenu .megamenu-dropdown ul.megamenu-list li:not(.full-width){ 
    position: relative;
}
.megamenu .megamenu-dropdown ul.megamenu-list li:not(.full-width)::after{ 
    position: absolute;
    content: '';
    left: -1em;
    top: 0;
    width: 1px;
    height: 100%;
    background-color: white;
} */

.megamenu .megamenu-dropdown ul.megamenu-cards li:not(.full-width) a {
    padding: 1em;
    background-color: var(--background-blue);
/*    background-color: var(--dark-background);*/
    border-radius: var(--border-radius);
    display: block;
    border: 2px solid transparent;
}

.megamenu .megamenu-dropdown ul.megamenu-cards li:not(.full-width) a:hover {
    border-color: var(--gold);
}

.megamenu .megamenu-dropdown ul.megamenu-cards li:not(.full-width) a:hover .title {
    text-decoration: underline;
}

/* .megamenu .megamenu-dropdown ul.megamenu-cards li:not(.full-width) span {
    display: block;
} */

.megamenu-cards .title {
    font-size: 16px;
    font-weight: 300;
    line-height: 1em;
    margin-bottom: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.megamenu-cards .title::after {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/chevron-right.svg');
    background-repeat: no-repeat;
    display: inline-block;
    background-position: center;
}

.megamenu-cards .description {
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;

}

.megamenu .megamenu-dropdown ul.megamenu-cards li.header,
.megamenu .megamenu-dropdown ul.megamenu-cards li.footer {
    grid-column: span 3;
}

/* Nav Search */
.nav-search {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0px;
}

.nav-search label {
    width: 0px;
    height: 0px;
    overflow: hidden;
    opacity: 0;
    user-select: none;
    grid-column: 1 / -1;
}

.nav-search input {
    margin: 0;
    padding: 0 .5em;
    appearance: none;
    height: 36px;
    background-color: var(--dark-background);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: unset;
}

.nav-search input::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.nav-search input[type=submit] {
    background-color: #F0F0F0;
    color: transparent;
    width: 36px;
    height: 36px;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-search.svg');
    background-position: center;
    background-repeat: no-repeat;
}

.nav-search input[type=submit]:hover {
    background-color: var(--gold);
}

/* Footer */
.footer-2023 {
    --focus-color: var(--gold);
    min-height: 100px;
    background-color: var(--background-blue) !important;
    padding-top: 62px;
    position: relative;
    color: var(--white);
    margin-top: 100px;
}

.footer-2023 a {
    color: var(--white);
    text-decoration: none;
    /* opacity: .62; */
}

.footer-2023 a:focus {
    color: var(--white);
}

.footer-2023 a::before {
    content: unset;
    display: none;
}

.footer-2023 a:hover {
    color: var(--white);
    border-bottom-color: var(--gold);
}

.footer-2023 img.seal {
    width: 124px;
    height: 124px;
    position: absolute;
    left: calc(50% - 62px);
    top: -62px;
}

.footer-2023 .wrapper {
    display: grid;
    grid-template-columns: 3fr 2fr 4fr;
    gap: 2rem;
}

.footer-2023 h2 {
    font-size: 18px;
    line-height: 21px;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 14px;
}

.footer-2023 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-2023 ul li {
    line-height: 19px;
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-2023 .links,
.footer-2023 .departments {
    padding-left: 13px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-2023 .departments ul {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(13, 1fr);
    gap: 0 1rem;
}

.footer-2023 .links-wrapper {
    padding-bottom: 75px;
}

.footer-2023 .logo {
    width: 80%;
    max-width: 200px;
    margin-bottom: 36px;
}

@media screen and (min-width: 769px) {
    .footer-2023 .info-block {
        display: block;
/*        background-color: var(--background-blue-shift);		*/
		background-color: rgba(0, 44, 76, 0.25);
        padding: 1rem;
        margin-bottom: 2rem;
        border-radius: 8px;
    }

    .footer-2023 .info-block h2 {
        margin-top: 0px;
    }

    .footer-2023 .info-block p:last-child {
        margin-bottom: 0px;
    }
}

#copyright {
    background-color: var(--background-blue-shift);
    padding: 31px 0;
}

#copyright,
#copyright a,
#copyright li {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

#copyright p {
    font-weight: 700;
    display: inline-flex;
}

#copyright .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (min-width: 1025px) {
    #copyright .wrapper .top {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem;
        margin-bottom: 8px;
    }

    #copyright .wrapper p,
    #copyright .wrapper .top li {
        margin: 0;
        padding: 0 !important;
    }
}

#copyright ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1em;
}

/* TODO: Remove This */
#banner-second {
    display: none;
}

.footer-2023 ul.social.mobile {
    display: none;
}

.footer-2023 #mobile-footer-dept-toggle {
    display: none;
}

.footer-2023 ul.social li a {
    border: none;
    display: block;
    border-radius: 100%;
}

.footer-2023 ul.social li a:hover img {
    /* This makes it the gold color */
    filter: invert(23%) sepia(77%) saturate(1868%) hue-rotate(349deg) brightness(104%) contrast(91%);
}

@media screen and (max-width: 1024px) {
    .footer-2023 .wrapper {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .footer-2023 .links,
    .footer-2023 .departments {
        border-left: unset;
        padding: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }

}

@media screen and (max-width: 767px) {
    .footer-2023 .departments ul {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        gap: 0;
    }

    .footer-2023 .logo {
        margin: 0 auto;
        display: block;
        max-width: 120px;
        padding-top: 22px;
    }

    #copyright ul.social.desktop {
        display: none;
    }

    .footer-2023 #dpts-desktop,
    .footer-2023 .departments h2 {
        display: none;
    }

    .footer-2023 #mobile-footer-dept-toggle {
        display: flex;
        appearance: none;
        padding: 18px 0;
        background-color: transparent;
        border: none;
        width: 100%;
        align-items: center;
        justify-content: space-between;
        font-weight: 700;
        font-size: 18px;
        line-height: 21px;
    }

    .footer-2023 #mobile-footer-dept-toggle::after {
        content: '';
        width: 16px;
        height: 16px;
        background: transparent url('https://www.ilsos.gov/images/refresh-2023/chevron-down.svg') center center no-repeat;
        transition: transform .25s ease-in-out;
    }

    .footer-2023 #mobile-footer-dept-toggle[aria-expanded="true"]::after {
        transform: rotate(-180deg);
    }

    .footer-2023 .departments {
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .footer-2023 #copyright {
        text-align: center;
    }

    .footer-2023 #copyright .wrapper {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-2023 #copyright .wrapper ul:not(.social) {
        display: grid;
        grid-template-columns: 1fr;
    }


}


@media screen and (min-width: 768px) {
    #copyright ul.social.mobile {
        display: none;
    }

}

/* Mobile Menu */

#mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}

#mobile-menu-toggle span.icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background: transparent url('https://www.ilsos.gov/images/refresh-2023/icon-menu.svg') center center no-repeat;
}

#mobile-menu-toggle.menu-open span.icon {
    background: transparent url('https://www.ilsos.gov/images/refresh-2023/icon-close.svg') center center no-repeat;
}

@media screen and (min-width: 1025px) {
    #mobile-menu-toggle {
        display: none;
    }

    #mega-menu-mobile {
        display: none;
    }
}

@media screen and (max-width: 1024px) {

    :root {
        --nav-height: 64px;
    }

    #nav-search {
        display: none;
    }

    #message-bar .right {
        display: none;
    }

    #nav-bar {
        z-index: 10;
        position: sticky;
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #nav-bar .wrapper {
        position: relative;
        z-index: 5;
    }

    #mega-menu {
        display: none;
    }

    /* .megamenu{
        position: fixed;
        width: 100%;
        height: 100%;
        top: 100px;
        overflow: scroll;
        display: block;
    } */
    #mega-menu-mobile {
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
        /* background-color: rgba(25, 25, 200, .5); */
/*        background-color: #0E256C;*/
        background-color: var(--background-blue);
        width: 100vw;
        height: 100vmax;
        transform: translate3d(-100%, 0, 0);
        transition: transform .33s ease-in-out;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: calc(var(--nav-height) * 1.25);
        overflow: auto;
    }
	#mega-menu-mobile a{
        /* border-bottom-color: var(--white); */
        border-bottom-color: transparent;
    }

    #mega-menu-mobile .secondary a:hover{
        border-bottom-color: var(--gold);
    }

    #mega-menu-mobile button {
        border: none;
        background-color: transparent !important;
        border-bottom: 1px solid var(--dark-background);
        padding-left: unset;
        padding-right: unset;
    }

    #mega-menu-mobile button::after {
        transition: transform .125s linear;
    }

    #mega-menu-mobile button[aria-expanded=true]::after {
        transform: rotate(-180deg);
    }

    #mega-menu-mobile.active {
        transform: translate3d(0, 0, 0);
    }

    #mega-menu-mobile>li {
        width: 100%;
        position: relative;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        width: calc(100% - 2rem);
    }

    #mega-menu-mobile li .megamenu-dropdown {
        display: block;
        position: relative;
        width: 100%;
    }

    #mega-menu-mobile li .megamenu-dropdown ul {
        display: none;
    }

    #mega-menu-mobile li .megamenu-dropdown.active {
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        position: relative;
        top: unset;
        left: unset;
        background-color: transparent;
        padding-top: 42px;
    }

    #mega-menu-mobile li .megamenu-dropdown.active ul {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
        padding-top: 0px;
    }

    #mega-menu-mobile button {
        font-size: 18px;
        line-height: 21px;
        width: 100%;
        display: flex;
    }

    #mega-menu-mobile form {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr auto;
    }

    #mega-menu-mobile li.secondary {
        padding: 16px 0;
        font-weight: 400;
    }

}

/* Button color overrides */

.btn-primary {
    background-color: var(--button-blue);
    border: 1px solid rgba(255, 255, 255, 0.17);
}

.btn-primary:hover,
.btn-primary:active {
    background-color: var(--text-blue);
}


.btn.btn-arrow {
    background-color: var(--ice-blue);
    color: var(--text-blue);
    appearance: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1em;
    padding: 9px 48px 9px 12px;
    border: none;
    margin: 0;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button.svg');
    background-position: calc(100% - 12px) center;
    background-repeat: no-repeat;
    white-space: unset;
}

.btn-arrow.wide {
    width: 100%;
    display: block;
    text-align: left;
    margin-bottom: 1rem;
}

.btn.btn-arrow:hover {
    background-color: var(--background-blue);
    color: var(--white);
    text-decoration: underline;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button-hover.svg');
}

.btn.btn-arrow.btn-arrow-alt {
    background-color: transparent;
    color: var(--white);
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button-hover.svg');
}

.btn.btn-arrow.btn-arrow-alt:hover {
    background-color: var(--ice-blue);
    color: var(--text-blue);
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button.svg');

}

.btn.btn-arrow.btn-arrow-box {
    width: 100%;
    margin-top: 1rem;
    padding: 17.5px calc(22px + 50px) 17.5px 22px;
    border-radius: 16px;
    border: 1px solid var(--gold);
    text-align: left;
    background-color: var(--background-blue);
    background-position: calc(100% - 22px) center;
    color: var(--white);
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button-hover.svg');
}

.btn.btn-arrow.btn-arrow-box:hover {
    background-color: var(--gold);
    border-color: var(--text-blue);
    color: var(--text-blue);
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button.svg');

}

.btn.btn-arrow.btn-arrow-box.two-lines {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.btn.btn-arrow.btn-arrow-box.two-lines .large {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.16em;
}

.btn.btn-arrow.btn-arrow-box.two-lines .small {
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.6em;
}

@media screen and (max-width: 768px) {
    .btn.btn-arrow.btn-arrow-box.two-lines .large {
        font-size: 18px;
    }

    .btn.btn-arrow.btn-arrow-box.two-lines .small {
        font-size: 12px;
    }
}

.btn.btn-arrow.btn-arrow-box.two-lines:hover {
    text-decoration: none;
}

.btn.btn-arrow.btn-arrow-box.two-lines:hover .large {
    text-decoration: underline;
}

.btn.btn-arrow.btn-arrow-box.two-lines:hover .small {
    text-decoration: none;
}

.btn.btn-arrow.btn-arrow-box-alt {
    background-color: white;
    border: 2px solid var(--gold);
    margin-bottom: 8px;
    border-radius: 8px;
    text-align: left;
    background-image: url(https://www.ilsos.gov/images/refresh-2023/chevron-right-blue.svg);
    background-position: calc(100% - 22px) 16px;
}

.btn.btn-arrow.btn-arrow-box-alt .large {
    font-weight: 600;
    font-size: 16px;
    line-height: 19px;
    color: var(--text-blue);
    margin-bottom: 8px;
}

.btn.btn-arrow.btn-arrow-box-alt:hover {
    background-color: var(--background-blue);
    color: white;
    text-decoration: none;
    background-image: url(https://www.ilsos.gov/images/refresh-2023/chevron-right.svg);
}

.btn.btn-arrow.btn-arrow-box-alt:hover .large {
    color: white;
    text-decoration: underline;
}

#banner-second-2023 {
    --seal-width: 164px;
    --bar-height: 100px;
    --title-size: 24px;
    --seal-spacing: 22px;
    background-color: var(--background-blue);
    height: var(--bar-height);
    position: relative;
    overflow: hidden;
    border-bottom: 6px solid var(--gold);
    width: 100%;
}

#banner-second-2023 .wrapper {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--background-blue);
}

#banner-second-2023 .wrapper div {
    font-weight: 200;
    font-size: var(--title-size);
    line-height: 1em;
    color: var(--white);
    position: relative;
    margin-left: calc(var(--seal-width) + var(--seal-spacing));
}

#banner-second-2023 img.the-seal {
    filter: grayscale(1);
    mix-blend-mode: overlay;
    max-width: var(--seal-width);
    position: absolute;
    left: 0;
    top: 0;
}

@media screen and (max-width: 1024px) {
    #banner-second-2023 {
        --seal-width: 100px;
        --bar-height: 80px;
    }
}

@media screen and (max-width: 450px) {
    #banner-second-2023 {
        --seal-width: 75px;
        --bar-height: 55px;
        --title-size: 16px;
        --seal-spacing: 16px;
    }
}

body.landing-2023 .container {
    max-width: unset;
    width: 100%;
    padding: unset;
}

body.landing-2023 h1 {
    font-weight: 200;
    font-size: 36px;
    line-height: 110%;
    color: var(--text-blue);
    padding-bottom: 24px;
    display: block;
    border-bottom: 8px solid var(--gold);
    margin-bottom: 48px;
}

p.larger {
    font-weight: 400;
    font-size: 24px;
    line-height: 1.3333em;
    color: var(--text-blue);
    margin-bottom: 1em;
}


figure.quote {
    background-color: white;
    padding: 40px 24px 16px;
    border: none;
    border-radius: 16px 16px 16px 0px;
    margin: 0;
    /* transform: translateX(-30px) translateY(30px); */
    position: relative;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/quote-opening.svg');
    background-position: 24px 16px;
    background-repeat: no-repeat;
}


figure.quote blockquote {
    border: none;
    margin: 0;
    padding: 0;
    color: var(--text);
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

figure.quote figcaption {
    font-weight: 300;
    font-size: 18px;
    line-height: 1.3333em;
    color: var(--text-blue);
    margin-top: .25em;
}

figure.quote figcaption::before {
    content: '\2014';
}

h1,
h2,
h3 {
    font-weight: 200;
}

body.landing-2023 .content {
    max-width: unset;
    width: 100%;
    padding: 0;
}

.blue-box {
    --icon-circle-size: 72px;
    --icon-size: 33px;
    padding: 24px;
    background-color: var(--ice-blue);
    border-radius: 8px;
    border-top: 4px solid var(--background-blue);
}

.blue-box p {
    margin-bottom: 1.5em;
}

.blue-box li {
    padding-bottom: 0;
}

.blue-box a:focus {
    outline-color: var(--gold) !important;
    outline-offset: 5px !important;
}

.blue-box .title {
    display: grid;
    grid-template-columns: var(--icon-circle-size) 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 16px;
    color: var(--text-blue);
}



.blue-box .content {
    min-height: unset;
}

.blue-box .title .icon {
    width: var(--icon-circle-size);
    height: var(--icon-circle-size);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 100%;
}

.blue-box .title .icon img {
    max-width: var(--icon-size);
    max-height: var(--icon-size);
}

.blue-box .title h2 {
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-size: 24px;
    line-height: 28px;
}

.blue-box .title h2,
.blue-box .title h1,
.blue-box .title h3,
.blue-box .title h4 {
    color: inherit;
}

.blue-box a:not(.btn) {
    color: var(--background-blue);
}

.blue-box a:hover:not(.btn) {
    color: var(--background-blue-shift);
}

.blue-box .small {
    font-style: italic;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
}

.blue-box.dark-blue-box {
    color: white;
    background-color: var(--text-blue);
    border-top-color: var(--gold);
}

.blue-box.dark-blue-box .title>* {
    color: var(--gold);
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.33em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.blue-box.dark-blue-box .title {
    --icon-size: 16px;
    --icon-circle-size: 16px;
    gap: 8px;
}

.blue-box.dark-blue-box .title .icon {
    --icon-circle-size: 16px;
    border-radius: unset;
    background-color: transparent;
}

.blue-box.dark-blue-box.center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blue-box.dark-blue-box.center .content {
    text-align: center;
}

ol.breadcrumb {
    font-size: 16px;
    border-bottom: 1px solid #C6C9D5;
}

ol.breadcrumb a {
    color: var(--background-blue);
    border-bottom: 1px solid var(--background-blue);
}

ol.breadcrumb a:hover {
    color: var(--text-blue);
    border-bottom: 1px solid var(--gold);
}

.content .tag {
    color: var(--text-blue);
    background-color: var(--ice-blue);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.62em;
    display: inline-block;
    border-radius: 2px;
    padding: .25em .5em;
    margin-top: .25em;
}


.btn.btn-category {
    background-color: var(--white);
    appearance: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1em;
    padding: 9px 48px 9px 12px;
    border: none;
    margin: 0;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/chevron-right-blue.svg');
    background-position: calc(100% - 12px) center;
    background-repeat: no-repeat;
    white-space: unset;
    text-align: left;
    border: 1px solid var(--border-color);
    margin-bottom: 8px;
    width: 100%;
    display: flex;
    gap: 0 1em;
    flex-wrap: wrap;
}

.btn-category .title {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2em;
    color: var(--background-blue-shift);
}

.btn-category .description {
    font-weight: 400;
    font-size: 14px;
    line-height: 1.3em;
}

/* .btn-category.wide {
    width: 100%;
    display: block;
    text-align: left;
    margin-bottom: 1rem;
} */

.btn.btn-category:hover {
    background-color: var(--background-blue);
    color: var(--white);
    text-decoration: none;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/chevron-right.svg');
}

.btn.btn-category:hover .description {
    text-decoration: none;
}

.btn.btn-category:hover .title {
    color: var(--white);
    text-decoration: underline;
}

h2.subtitle,
h3.subtitle,
h4.subtitle,
span.subtitle {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.33em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

p {
    margin-bottom: 1.5em;
}

.updated-content h1 {
    padding-top: .25em;
}

.updated-content .tag+h1 {
    padding-top: unset;
}


/* Overrides */
.onlineSerContain {
    --red: var(--background-blue);
}

/* 
.landing-2023 > .alert:not(:last-child), .homepage > .alert{
    margin-bottom: 0px;
} */

body>.alert {
    margin-bottom: 0px;
}

body.homepage footer {
    margin-top: 0px;
}

body>.alert .wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

body>.alert .alert-content {
    max-width: 1100px;
}

body>.alert button.close-button {
    appearance: none;
    border: 1px solid transparent;
    background-color: transparent;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    padding: 0;
}

body>.alert button.close-button svg {
    display: block;
    width: 24px;
    height: 24px;
}

body>.alert button.close-button:hover {
    background-color: rgba(255, 255, 255, 0.5);
    border-color: var(--text);
}

/* Print Styles */
@media print {

    /* Hide Nav items on print */
    #nav-bar .wrapper,
    #nav-bar .megamenu,
    #message-bar,
	footer,
    #banner-second-2023 {
        display: none !important;
		font-size: 10pt;
    }
}


/*homepage skip the line*/

#skiptheline {margin-bottom: 0px;}
#skiptheline .text {padding-top: 15px;}		
@media (min-width: 330px){
    #skiptheline {margin-left: 10px; margin-right: 10px;}
}			
@media (min-width: 339px){
    #skiptheline .link {padding-top: 15px;}
}			
@media (min-width: 768px){
    #skiptheline {margin-left: 5%; margin-right: 5%;}
    #skiptheline .text {padding-top: 0px!important;}
}		
@media (min-width: 966px){
    #skiptheline {margin-left: 5%; margin-right: 5%;}
    #skiptheline .text {padding-top: 15px!important;}
}	
@media (min-width: 990px){
    #skiptheline {margin-left: 3%; margin-right: 3%;}
    #skiptheline .text {padding-top: 7px!important;}
}
@media (min-width: 1200px){
    #skiptheline {margin-left: 15%; margin-right: 15%;}
    #skiptheline .text {padding-top: 15px!important;}
}

/*added for seniors */
#serving  a {
		display: block;
		min-height: 95px;
		background-color: white;
		color: var(--text);
		text-decoration: none;
		border-radius: 16px;
		border: 1px solid var(--gold);
		padding: 16px;
	}
	#serving  a:hover {
		background-color: var(--background-blue);
		--focus-color: var(--gold);
	}
	#serving  a .title {
		display: inline-flex;
		font-weight: 600;
		font-size: 16px;
		line-height: 19px;
		color: var(--background-blue);
		align-items: center;
		justify-content: flex-start;
	}
	#serving a .title::after {
		content: '';
		width: 16px;
		height: 16px;
		background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-link-right-blue.svg');
		background-position: center;
		background-size: contain;
		background-repeat: no-repeat;
		display: inline-block;
		margin-left: .25em;
	}
    #serving a.external .title::after {
        background-image: url('https://www.ilsos.gov.ilsos.net/images/refresh-2023/icon-link-external-blue.svg');
    }
    #serving a:hover .title::after {
        background-image: url('https://www.ilsos.gov.ilsos.net/images/refresh-2023/icon-link-right-white.svg');
    }
    #serving a.external:hover .title::after {
        background-image: url('https://www.ilsos.gov.ilsos.net/images/refresh-2023/icon-link-external-white.svg');
    }

    #serving a .content {
        display: block;
        min-height: unset;
        font-size: 14px;
        line-height: 18px;
		padding: 0px;
    }

    #serving a:hover .title {
        text-decoration: underline;
    }

    #serving a:hover .title,
    #serving a:hover .content {
        color: white;
    }
/* used on dmv services page*/
.btn.btn-category-appt {
			background-color: #ffffff;
			appearance: none;
			font-weight: 400;
			font-size: 18px;
			line-height: 1em;
			padding: 15px 38px 15px 12px;
			border: none;
			margin: 0;
			background-image: url('https://www.ilsos.gov/images/refresh-2023/chevron-right-blue.svg');
			background-position: calc(100% - 12px) center;
			background-repeat: no-repeat;
			white-space: unset;
			text-align: left;
			border: 1px solid #002C4C;
			margin-bottom: 15px;
			width: 100%;
			display: flex;
			gap: 0 1em;
			flex-wrap: wrap;
		}

		.btn-category-appt .title {
			font-weight: 600;
			font-size: 18px;
			line-height: 1.2em;
			color: #002C4C;
		}

		.btn-category-appt .description {
			font-weight: 400;
			font-size: 14px;
			line-height: 1.3em;
		}
		.btn.btn-category-appt:hover {
			background-color: #002C4C;
			color: #ffffff;
			text-decoration: none;
			background-image: url('https://www.ilsos.gov/images/refresh-2023/chevron-right.svg');
		}

		.btn.btn-category-appt:hover .description {
			text-decoration: none;
		}

		.btn.btn-category-appt:hover .title {
			color: #ffffff;
			text-decoration: underline;
		}

/* tag with link */
a.tag-link {
    color: var(--text-blue);
    background-color: var(--ice-blue);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.62em;
    display: inline-block;
    border-radius: 2px;
    padding: .25em .5em;
    margin-top: .25em;
    text-decoration: none;
    border-bottom: none;
}
a.tag-link:hover {
    color: var(--ice-blue);
    background-color: var(--background-blue);
}

/* online service lists */
.btn.btn-arrow-white {
    background-color: #ffffff;
    color: #002C4C;
    appearance: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 1em;
    padding: 9px 48px 9px 12px;
    border: none;
    margin: 0;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button.svg');
    background-position: calc(100% - 12px) center;
    background-repeat: no-repeat;
    white-space: unset;
}

.btn-arrow-white.wide {
    width: 100%;
    display: block;
    text-align: left;
}

.btn.btn-arrow-white:hover {
    background-color: #002C4C;
    color: #ffffff;
    text-decoration: underline;
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button-hover.svg');
}

/* new stl banner */
.stl-banner {
    background-color:#E3F2FF; color:#002C4C; height: 100px;
}
.stl-banner .container {
    padding-top: 10px; padding-bottom: 15px;
}
.stl-banner .container img {
    width: 60%;
}
.stl-banner .stl-head {
    color: var(--dark-background); 
	font-size:1.5em;  
	font-weight: 900; 
	display:block; 
	line-height:1em;
}
.stl-banner .text {
    text-align: center;
    padding-top: 10px;
    padding-right: 20%;
    padding-left: 0px;
}
@media (min-width: 870px){
    .stl-banner .container img {
        width: 55%;
    }
    .stl-banner .stl-head {
        font-size:1.8em; line-height:1em;
    }
}
@media (min-width: 950px){
    .stl-banner .container img {
        width: 50%;
    }
    .stl-banner .stl-head {
        font-size:1.8em; line-height:1em;
    }
}
@media (min-width: 992px){				
    .stl-banner {
        height: 120px;
    }
    .stl-banner .container img {
        width: 50%;
    }
    .stl-banner .stl-head {
        font-size:2em; line-height:1em;
    }
}
@media (min-width: 1200px){				
    .stl-banner {
        height: 120px;
    }
    .stl-banner .container {
        width: 60%!important; padding-top: 10px; padding-bottom: 15px;
    }
    .stl-banner .container img {
        width: 100%;
    }
    .stl-banner .stl-head {
        font-size:2.5em; line-height:1em;
    }				
    .stl-banner .text {
        padding-right: 0;
    }
}
@media (min-width: 1500px){	
    .stl-banner .container {
        width: 48%!important; padding-top: 10px; padding-bottom: 15px;
    }
    .stl-banner .container img {
        width: 100%;
    }
    .stl-banner .stl-head {
        font-size:2.5em; line-height:1em;
    }				
    .stl-banner .text {
        padding-right: 0;
    }
}
@media (min-width: 1900px){	
    .stl-banner .container {
        width: 48%!important; padding-top: 10px; padding-bottom: 15px;
    }
    .stl-banner .container img {
        width: 130px;
    }
    .stl-banner .stl-head {
        font-size:2.5em; line-height:1em;
    }				
    .stl-banner .text {
        padding-right: 0;
    }
}
/* online services modal */
.modal-body .stl-banner  h4 {
    font-family: 'Public Sans';
    font-weight: 700;
    font-size: 15px;
    line-height: 20px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-background);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.modal-body .stl-banner h4::before {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    background: transparent url('https://www.ilsos.gov/images/refresh-2023/icon-homepage-banner-star.svg') center center no-repeat;
    margin-right: .5em;
    pointer-events: none;

}

.b-border {
    border-bottom: 2px #cccccc solid;
    width: 100%;
    padding-bottom: 60px;
}
.w-35 {
    width: 35%;
}

/*google translate styling*/

.goog-te-gadget {
    color:#ffffff !important;
	padding-top: 5px;
	padding-bottom: 3px;
} 
.goog-te-gadget select {
    color:#002C4C !important;
    border-radius: 4px;
    height: 30px;
} 

/*food safety*/
.btn.btn-arrow.btn-arrow-box-fs {
    width: 100%;
    margin-top: 1rem;
    padding: 17.5px calc(22px + 50px) 17.5px 22px;
    border-radius: 16px;
    border: 1px solid #d7e2c3;
    text-align: left;
    background-color: var(--background-blue);
    background-position: calc(100% - 22px) center;
    color: var(--white);
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button-hover.svg');
	font-size: 1.5em;
}

.btn.btn-arrow.btn-arrow-box-fs:hover {
    background-color: #d7e2c3;
    border-color: var(--text-blue);
    color: var(--text-blue);
    background-image: url('https://www.ilsos.gov/images/refresh-2023/icon-arrow-button.svg');

}

