﻿:root {
    --bright-title: #89CCE5;
    --bright-bg: #EBFBFF;
    --titan-blue: #00274C;
    --titan-orange: #FF7900;
    --dk-med-blue: #00376B;
    --med-blue: #084B8A;
    --brick-red: #97321F;
    --dk-green: #334F2E;
    --med-green: #516917;
}

#skipnav {
    height: 0px;
    overflow: hidden;
}

.skipnav {
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--titan-blue);
    color: white;
    position: inherit;
    overflow-y: scroll;
    font-family: "museo-sans", sans-serif;
    font-weight: 300;
    font-size: 16px;
}

img {
    max-width: 100%;
}

h1 {
    font-size: 3rem;
    text-align: center;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-top: 0;
}

h3 {
    font-size: 1.5rem;
    text-align: center;
}

main {
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
    min-height: calc(100vh - 160px);
}

#SiteFooter {
    text-align: center;
    font-size: 0.8rem;
    padding: 10px;
    border-top: 1px solid var(--med-blue);
    width: calc(100% - 20px);
    height: 80px;
}

@media screen and (max-width:900px) {
    #SiteFooter {
        height: auto;
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

#SiteNavigation {
    width: 100%;
    height: 100px;
    background-color: var(--titan-blue);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0px 0px 20px 5px RGBA(0,0,0,0.5);
}

.nav-logo a h1, .nav-logo a:visited h1 {
    color: white;
    font-size: 1.2rem;
}

.nav-logo {
    border-bottom: 2px solid transparent;
}

    .nav-logo:hover {
        border-bottom: 2px solid white;
    }

    .nav-logo.desktop {
        width: 200px;
        position: fixed;
        top: 10px;
        left: 10px;
    }

    .nav-logo.mobile {
        display: none;
    }



@media screen and (max-width:900px) {
    .nav-logo.desktop {
        display: none;
    }

    .nav-logo.mobile {
        display: block;
        width: 200px;
        max-width: 100%;
    }
}



#SiteNavigation nav {
    width: 100%;
    display: flex;
    gap: 10px;
    background-color: #00203E;
    height: 45px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    border-top: 1px dotted var(--med-blue);
}

    #SiteNavigation nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: inherit;
        height: 100%;
        padding-left: 20px;
        padding-right: 20px;
        color: white;
        text-decoration: none;
        font-weight: bold;
        font-size: 18px;
        text-shadow: 0 0 0 transparent; /* baseline */
        /* transition not needed when animating text-shadow */
    }

        #SiteNavigation nav a:hover {
            text-decoration: underline;
            animation: pulseGlow 1.2s ease-in-out infinite alternate;
            box-shadow: -4px 1px 3px -2px rgba(0, 0, 0, 0.5), 4px -1px 3px -2px rgba(0, 0, 0, 0.5);
            background-color: var(--titan-blue);
        }

        /* Two-color special link */
        #SiteNavigation nav a.special:hover {
            animation: pulseGlowSpecial 1.2s ease-in-out infinite alternate;
        }

@keyframes pulseGlow {
    0% {
        text-shadow: 0 0 0 transparent;
    }

    50% {
        text-shadow: 0 0 15px var(--titan-orange);
    }

    100% {
        text-shadow: 0 0 0 transparent;
    }
}

@keyframes pulseGlowSpecial {
    0% {
        text-shadow: 0 0 0 transparent;
    }

    50% {
        text-shadow: 0 0 15px var(--titan-orange), 0 0 15px red;
    }

    100% {
        text-shadow: 0 0 0 transparent;
    }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    #SiteNavigation nav a:hover,
    #SiteNavigation nav a.special:hover {
        animation: none;
        text-shadow: 0 0 15px var(--titan-orange);
    }
}



/*Mobile Header Mods */

.mobile-menu-button {
    display: none;
}

@media screen and (max-width:900px) {

    .spacer {
        display: none;
    }

    #SiteNavigation {
        flex-direction: column;
        gap: 5px;
        height: initial;
        position: initial;
        overflow: hidden;
        position: relative;
    }

        #SiteNavigation nav {
            height: auto;
            justify-content: space-evenly;
            background-color: var(--titan-blue);
            flex-direction: column;
            /*display:none;*/
            gap: 20px;
            margin-bottom: 10px;
            padding-top: 10px;
            text-transform: uppercase;
        }

    main {
        margin: 0px auto;
    }

    .mobile-menu-button {
        background-color: transparent;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        font-size: 27px;
        color: white;
        margin: 0 10px 0 0;
        width: 5%;
        text-align: center;
        font-weight: 600;
    }
}





.cool-image {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    width: 200px;
}





.column-wrapper {
    margin: 0 auto;
    max-width: calc(100% - 40px);
    width: 1200px;
    padding-left: 20px;
    padding-right: 20px;
}




/* Custom Styles from CBE */

a.action-link, a.action-link:visited {
    display: inline-block;
    margin-top: auto;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    min-width: 250px;
    text-align: center;
    padding: 5px 20px 5px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: normal;
    color: white;
    background-color: var(--titan-blue);
}

    a.action-link:hover {
        font-weight: bold;
        display: block;
        color: black;
        background-color: var(--titan-orange);
        box-shadow: 0px 2px 6px 0px #00274c99;
    }

    a.action-link.inverted, a.action-link.inverted:visited {
        color: black;
        background-color: var(--titan-orange);
        font-weight: bold;
    }

        a.action-link.inverted:hover {
            font-weight: bold;
            display: block;
            color: var(--titan-blue);
            background-color: var(--bright-bg);
        }


header.primary {
    padding-top: 20px;
}

.column-wrapper header {
    text-align: center;
    margin: 0;
}

.sidebar-wrapper {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 20px;
}

.sidebar-box {
}

.sidebar-content {
}

section.standard {
    padding: 15px;
}

section.graphic {
    padding-top: 15px;
    padding-bottom: 15px;
}

section.emphasis {
    background-color: var(--med-blue);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 15px 4px #00162b;
    line-height: 2rem;
}

    section.emphasis h2 {
        margin-top: 0;
        margin-bottom: 20px;
        text-align: left;
    }


.partner-logos {
}

    .partner-logos article {
        background-color: var(--bright-bg);
        display: flex;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-content: center;
        justify-content: space-evenly;
        border-radius: 7px;
        margin-bottom: 30px;
    }

        .partner-logos article img {
            max-height: 100px;
            max-width: 200px;
            margin: 20px;
        }



main hr {
    margin-top: 40px;
    margin-bottom: 30px;
}

main.home section {
    margin-bottom: 50px;
    margin-top: 50px;
    font-size: 1.1rem;
}


#LogoArea {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

    #LogoArea a, #LogoArea a:visited {
        color: white;
    }

        #LogoArea a:hover {
            text-shadow: 0 0 5px var(--titan-orange);
            text-decoration: none;
        }


/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    #ai-mesh2 {
        display: none;
    }
}