/* ------------------------------------
 * Layout 
 * ------------------------------------ */

body {
    font-family: 'Lato', 'Helvetica', 'Arial', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

footer {
    margin-top: auto;
}

.wsu-container {
    width: 100%;
    margin: 0 auto;
    padding-right: max(25px, (100% - 1140px) / 2) !important;
    padding-left: max(25px, (100% - 1140px) / 2) !important;
}

.flex {
    display: flex;
    gap: 2em;
}

.grid {
    display: grid;
    width: 100%;
}

.grid > * {
    width: 100%;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.w-1\/3 {
    width: 33%;
}

.tdbar {
    background-color: #0c5449;
    border-color: #0c5449;
}

.navbar-default .navbar-nav li a:hover {
  background-color: #094038;
}


/* ------------------------------------
 * Global styles 
 * ------------------------------------ */

:root {
    --white: #ffffff;
    --black: #18181b;

    --green: #0c5449;
    --green-50: #cedddb;
    --green-100: #9ebbb6;
    --green-200: #6d9892;
    --green-300: #3d766d;
    --green-500: #0b4a40;
    --green-600: #094038;
    --green-700: #08352f;
    --green-800: #062b27;
    --green-900: #05211e;

    --gold: #ffcc33;
    --gold-50: #fff5d6;
    --gold-100: #ffebad;
    --gold-200: #ffe085;
    --gold-300: #ffd65c;
    --gold-500: #edbd2c;
    --gold-600: #dbae25;
    --gold-700: #c89f1f;
    --gold-800: #b69018;
    --gold-900: #a48111;
}

/* ------------------------------------
 * Buttons 
 * ------------------------------------ */
button.DetailAction,
a.DetailAction {
    background-color: var(--gold-200);
    color: var(--green-600);
    background-image: radial-gradient(200% 100% at 50% 100%, var(--gold-500), 50%, transparent 100%);
    transition: all 300ms;

    &:hover {
        background-color: var(--gold-100);
    }
}

/* ------------------------------------
 * Headings 
 * ------------------------------------ */
.h {
    padding: 0;
    margin-bottom: 1.3rem;
    border-bottom: 0;
    color: var(--green);
}

.divider-gold {
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--gold);

    &::after {
        display: none;
    }

    @media screen and (min-width: 560px) {
        border-bottom: 0;

        &::after {
            content: "";
            position: absolute;
            display: inline;
            width: 100%;
            height: 0.075em;
            margin-left: 1rem;
            top: 60%;
            bottom: auto;
            background-color: #ffcc33;
            transform: translateY(-30%);
        }
    }
}

/* ------------------------------------
 * Backgrounds
 * ------------------------------------ */

.wsu-background-gradient {
    position: absolute;
    z-index: 0;
    content: "";
    background-image: radial-gradient(500% 100% at 50% 100%,rgba(5,33,30,.95) 10%,transparent 100%);
    inset: 0;
}

/* ------------------------------------
 * Youtube 
 * ------------------------------------ */

/* Allow responsive YouTube embeds */
.youtube-video-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 5px;
}

.youtube-video-container::after {
    display: block;
    content: "";
    padding-top: 56.25%;
}

.youtube-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ------------------------------------
 * Hide only visually
 * ------------------------------------ */
/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */
.visually-hidden {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

/* ------------------------------------
 * Footer 
 * ------------------------------------ */
.wsu-footer {
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 5rem;
    justify-content: space-between;
    background-color: var(--green-600);
    border-top: 20px solid var(--green-700);
    color: var(--green-50);
    font-weight: 400;
    font-size: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px;

    @media screen and (min-width: 900px) {
        flex-wrap: nowrap;
    }
}

.wsu-footer__left-col {
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    width: 100%;
}

.wsu-footer .wsu-footer__wayne-contact,
.wsu-footer .wsu-footer__cit-contact,
.wsu-footer__support-contact {
        width: 100%;
}

.wsu-footer table {
    margin-top: 20px;
    width: 100%;

    @media screen and (min-width: 520px) {
        max-width: 350px;
    }
}

.wsu-footer .wsu-footer__support-contact table {
    @media screen and (min-width: 900px) {
        max-width: 100%;
    }
}

.wsu-footer__service-providers {
    color: var(--green-100);
    font-size: 16px; 
    font-weight: 400;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.wsu-footer th {
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    white-space: nowrap; /* 1 */
}

.wsu-footer td {
    vertical-align: text-top;
    padding-bottom: 1em;
}

.wsu-footer td:first-child {
    padding-right: 16px;
}

.wsu-footer td:last-child {
    width: 105px;
}

.wsu-footer a {
    color: var(--green-50); 
    transition: all 300ms;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    text-decoration-color: var(--green-300);
}

.wsu-footer a:focus,
.wsu-footer a:hover {
    text-decoration-thickness: 2px;
    text-decoration-color: var(--green-50);
}

.wsu-footer h2,
.wsu-footer h3 {
    color: var(--gold-300);
    font-weight: 500;
} 

.wsu-footer h2 a,
.wsu-footer h3 a {
    color: var(--gold-300);
    text-underline-offset: 5px;
    text-decoration-color: var(--green-600);
}

.wsu-footer h2 a:hover,
.wsu-footer h3 a:hover {
    text-decoration-color: currentColor;
}

.wsu-footer em {
    color: var(--green-100);
    display: block;
    font-size: 16px; 
    letter-spacing: 0.09em;
    font-style: normal;
    text-transform: uppercase; 
    margin-bottom: 6px; 
}

address {
    line-height: 1.5em;
    margin: 0;
}
