body {
    padding: 0px;
    margin: 0px;
    font-family: verdana;
    font-size: 14px;
    color: #000;
    background: #353535 url(../images/tile.gif);
}

button {
    background: black linear-gradient(#4a4a4a, #222222 20%, #090909 93%, #141414);
    border: 1px solid black;
    border-radius: 15px;
    color: #34C9CF;
    padding: 10px 15px;
    font-family: arial;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 1px 1px 2px #000;
    transition: color .15s linear;
}
button:hover {
    color: #eef772;
}


a:link {
    color: #112233;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}

a:active {
    color: #112233;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}

a:visited {
    color: #112233;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
}

a:hover {
    color: #223355;
    text-transform: none;
    text-shadow: 0 0 0.2em #ccc, 0 0 0.2em #ccc
}

h1,
h2 {
    font-family: arial;
    font-weight: bold;
}

h1 {
    font-size: 19px;
    color: #038c93;
}

h2 {
    font-size: 17px;
    color: #000;
}

img {
    max-width: 100%;
    border: none;
    height: auto;
}

#content {
    background: #ededed;
    margin: auto;
    width: 960px;
    max-width: 90%;
    padding: 0 20px 20px 20px;
}

#top-bg-image {
    background: url('../images/society_banner_resized.webp') top/100% auto no-repeat;
    overflow: hidden;
}

#header {
    padding: 3rem 0 1rem 0;
    text-align: right;
}

/*
 * appearance of the nav bar
 */

#bar, #yearNav, #seasonNav {
    display: inline-block;
    margin: 0 20px;
    padding: 0.5em 1em;
    background: black;
    background: black linear-gradient(#4a4a4a, #222222 20%, #090909 93%, #141414);
    border: 1px solid black;
    border-radius: 1em;
    font-family: arial;
    font-size: 18px;
    text-align: center;
}

#bar a, #yearNav a, #seasonNav a {
    color: #34c9cf;
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    text-shadow: 1px 1px 2px #000;
    transition: color .15s linear;
}

#bar a:hover, #yearNav a:hover, #seasonNav a:hover {
    color: #eef772;
}


#yearNav a.active, #seasonNav a.active {
    color: #eef772;
}

#show {
    padding: 20px;
    background: rgba(252, 252, 252, 0.9);
    background: linear-gradient(to bottom, rgba(252, 252, 252, 0.9), rgba(252, 252, 252, 1) 10em);
    border-radius: 10px 10px 0 0;
}

/* complete the border rounding that was started above */
#top-bg-image {
    border-radius: 0 0 10px 10px;
}

#upcoming {
    background: #eaeaea;
    width: 60%;
    text-align: center;
    padding: 10px;
    margin: auto;
    border-radius: 30px;
}

#upcoming h1 {
    margin-top: 0px;
}

#upcoming a {
    font-size: 14px;
}

#footer {
    display: block;
    width: fit-content;
    max-width: 90%;  /* same as #content */
    background: black;
    background: black linear-gradient(#4a4a4a, #222222 20%, #090909 93%, #141414);
    border: 1px solid black;
    border-radius: 1em;
    font-family: arial;
    font-size: 12px;
    text-align: center;
    color: #34c9cf;
    text-shadow: 1px 1px 2px #000;
    margin: auto;
    margin-top: 20px;
    padding: 1em 2em;
}

@keyframes fade-to-done {
    0% {
        background: #fff;
        text-decoration-color: rgba(0, 0, 0, 0);
        border-color: #ccc;
    }
    100% {
        background: #ccc;
        text-decoration-color: rgba(0, 0, 0, 1);
        border-color: #888;
    }
}

.events {
    margin: 0 auto;
}

.events th {
    width: 33%;
    border: 2px #ccc solid;
    padding: 8px;
    background: #fff;
    font-weight: bold;
    font-size: 18px;
    color: #34c9cf;
    text-shadow: -1px 0 2px #101010, 0 1px 2px #101010, 1px 0 1px #101010, 0 -1px 2px #101010;
}

.events td {
    border: 1px #ccc solid;
    padding: 5px;
    border-spacing: 40px 10px;
    background: #fff;
    text-align: center;
}

.events .expired td {
    animation: fade-to-done 0.5s linear;
    animation-fill-mode: forwards;
    text-decoration: line-through;
}

.contact {
    width: 400px;
    padding: 4px;
    border: 1px solid gray;
    border-radius: 8px;
}

.contact thead th {
    text-align: center;
}

.contact tbody th {
    text-align: right;
}

.fullwidth {
    width: 100%;
}

iframe {
    border: none;
}

.column-split {
    columns: 2;
}

.column-split > div {
    break-inside: avoid;
}

.archiveCollapsible {
    cursor: pointer;
    padding: 18px;
    margin: 10px;
    width: 10em;
    height: 6em;
    text-align: center;
    font-size: 14px;

}

.archiveCollapsible:active, .archiveCollapsible:hover {
    background-color: #4a4a4a;
}

.archiveContent {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    background-color: #f1f1f1;
}

.archiveContent ul {
    display: flex;
    flex-wrap: wrap;
}

.archiveContent ul li {
    list-style: none;
    flex: 0 0 29%;
    padding-left:2em;
    padding-bottom: 0.6em;
    text-align: center;
}

.separator {
    color: white;

}

#navHeader {
    text-align: center;
}

#seasonNav {
    margin-top: 0.5em;
}