﻿:root
{
    --siteBackgroundColor: #10111C;
    --borderConfig: 2px solid #313438;
}

*
{
    box-sizing: border-box;
}

a, button
{
    color: #54788D;
    cursor: pointer;
}

    a:hover
    {
        color: #82DFFF;
    }

body
{
    background-color: var(--siteBackgroundColor);
    color: #FFFFFF;
    display: grid;
    font-family: system-ui, sans-serif;
    grid-template-areas: "header main" "navigation main" "navigation footer";
    grid-template-columns: 230px 1fr;
    grid-template-rows: 160px 1fr 65px;
    min-height: 100vh;
}

footer
{
    border-top: var(--borderConfig);
    display: block;
    font-size: 0.6rem;
    grid-area: footer;
    text-align: center;
}

h4
{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

img
{
    display: inline-block;
    font-style: italic;
    max-width: 100%;
    vertical-align: middle;
}

main
{
    grid-area: main;
    padding: 1rem 1rem 0 1rem;
}

nav
{
    border-right: var(--borderConfig);
    grid-area: navigation;
    margin-left: 0.5rem;
}

table
{
    border-collapse: collapse;
    border-spacing: 0;
}

td
{
    border: 2px solid #FFFFFF;
    padding-left: 1rem;
}

#contactForm .alert
{
    border: none;
}

#contactForm div
{
    margin-bottom: 1rem;
}

#contactForm textarea
{
    height: 10rem;
    max-width: 750px;
    width: 100%;
}

#desktopHeader
{
    border-right: var(--borderConfig);
    grid-area: header;
    margin-left: 0.5rem;
    text-align: center;
}

#newsArchive
{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    #newsArchive > .title
    {
        width: 100%;
    }

#siteSearchBar
{
    display: flex;
    margin-left: -0.2rem;
    margin-top: 10px;
}


#teamMemberInfo div
{
    width: 286px;
}

.alert
{
    color: #FF0000;
    border: solid 1px;
    text-align: center;
    text-decoration: underline;
    padding: 1rem;
}

.archiveYearGroup
{
    min-width: 6.75rem;
}

.centerElement
{
    margin: 0 auto;
}
    
.centerText
{
    text-align: center;
}

.clearFloat
{
    clear: both;
}

.flexbox
{
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.floatLeft
{
    float: left;
}

.justifyContentCenter
{
    justify-content: center;
}

.imageDivBlock
{
    margin: 0 auto;
    max-width: 800px;
    text-align: center;
}

.mobileOnly
{
    display: none;
}

.newsArticle
{
    margin-bottom: 2rem;
}

.newsArticleHeader
{
    clear: both;
    margin-bottom: 0;
    text-align: center;
}

.newsAuthor
{
    font-weight: normal;
    font-size: 0.75em;
}

.newsHeadlineImage
{
    float: left;
    max-width: fit-content;
    padding-bottom: 1rem;
    padding-right: 1rem;
}

.newsSnipplet
{
    overflow: hidden;
}

.noListStyle
{
    list-style: none;
}

.searchBar
{
    border: var(--borderConfig);
    border-radius: 0.5rem;
    display: inline-flex;
    margin-left: 5px;
    margin-top: 5px;
    height: 30px;
    width: 215px;
}

    .searchBar button
    {
        background: transparent;
        border: none;
        padding-top: 2px;
        padding-left: 5px;
    }

        .searchBar button img
        {
            max-width: initial;
        }

    .searchBar input[type=text]
    {
        background: transparent;
        border: none;
        color: #FFFFFF;
        outline: none;
    }

.title
{
    text-align: center;
    text-decoration: underline;
}

.twoEqualColumns .column
{
    flex: 1 1 calc(50% - 1rem);
}

/*Phones*/
@media (max-width: 768px)
{
    body
    {
        grid-template-areas: "main" "footer";
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 65px;
    }

    nav
    {
        background-color: var(--siteBackgroundColor);
        display: none;
        border: none;
        grid-area: main;
        z-index: 10;
    }

    #desktopHeader
    {
        display: none;
    }

    #logo
    {
        display: inline-block;
        height: 64px;
    }

    #menuIcon
    {
        left: 15px;
        position: absolute;
    }

    #mobileHeader
    {
        display: flex;
        width: 100%;
        align-items: center;
        padding: 0.5rem;
    }

    #mobileLogo
    {
        flex-shrink: 0;
        max-width: 5rem;
        width: 100%;
    }

    #mobileSiteName
    {
        flex: 1;

    }

    #mobileCloseIcon
    {
        flex-shrink: 0;
        max-width: 3rem;
        width: 100%;
    }

    #mobileLogo img,
    #mobileCloseIcon img
    {
        width: 100%;
        height: auto;
        display: block;
    }
    .mobileOnly
    {
        display: initial;
    }
}