/* Fonts */
@font-face {
    font-family: 'Oswald-BoldItalic';
    src: url("../fonts/Oswald-BoldItalic.ttf");
}

@font-face {
    font-family: 'Oswald-LightItalic';
    src: url("../fonts/Oswald-LightItalic.ttf");
}

@font-face {
    font-family: 'Oswald-RegularItalic';
    src: url("../fonts/Oswald-RegularItalic.ttf");
}

/* General Layout */
* {
    margin: 0;
    box-sizing: border-box;
}

button, .btn {
    border-radius: 8px;
    font-size: 16px;
    padding: 7px 14px;
    color: #FFFFFF;
    font-family: 'Oswald-RegularItalic';
    cursor: pointer;
    background: #a7a9ac;
    border: 1px solid #FFFFFF;
}

button:hover, .btn:hover {
    background-color: #e2e3e4;
}

h1 {
    font-size: 44px;
    font-family: 'Oswald-BoldItalic';
    padding: 5px 0;
    line-height: 1.1;
}

.centered-title {
    text-align: center;
    position: relative;
    background-color: rgba(51, 10, 87, 0.5);
    width: 1000px;
    margin: 0 auto;
    padding: 16px;
    top: 8em;
    z-index: 1;
}

.page-title {
    border-bottom: 1px solid #abb0ac;
    color: #a7a9ac;
    margin-bottom: 5px;
}

h2 {
    font-size: 27px;
    font-family: 'Oswald-BoldItalic';
    line-height: 1.1;
}

h3 {
    font-size: 23px;
    font-family: 'Oswald-RegularItalic';
    line-height: 1.1;
    margin: 14px 0;
}

h4 {
    font-size: 20px;
    font-family: 'Oswald-LightItalic';
    line-height: 1.4;
}

p {
    font-size: 16px;
    font-family: 'Oswald-RegularItalic';
    margin:  0.2em 0;
    line-height: 1.6;
}

figcaption {
    font-size: 16px;
    font-family: 'Oswald-LightItalic';
    margin-top: 0.5em;
}

a {
    text-decoration: none;
}

table {
    border-collapse: collapse;
    width: 100%;
}

tr:nth-child(odd) {
    background-color: #330a57;
}

tr > td:first-child {
    min-width: 130px;
}

th {
    font-size: 16px;
    font-family: 'Oswald-BoldItalic';
    padding: 0.5em;
    text-align: left;
}

td {
    font-size: 16px;
    font-family: 'Oswald-LightItalic';
    padding: 0.5em;
}

.mg-1 {
    margin: 1em;
}

.mg-rgt-1 {
    margin-right: 1em;
}

#container, footer {
    max-width: 1366px;
    margin: 0 auto;
}

#account {
    background: #a7a9ac;
    padding: 10px;
    position: relative;
    justify-content: flex-end;
    min-height: 40px;
}

#hamburger-button {
    display: none;
}

#sidebar {
    background: white;
}

#sidebar ul {
    line-height: 1.6;
    padding: 0;
    list-style: none;
    display: flex;
}

#sidebar #main-links li {
    font-family: 'Oswald-BoldItalic';
    font-size: 18px;
    padding: 14px;
    min-height: 55px;
    background-color: #FFFFFF;
    text-align: center;
    display: flex;
    align-items: center;
    flex: 1;
}

#sidebar #main-links li:hover {
    background-color: rgba(51, 10, 87, 0.2);
}

#sidebar #main-links li.active:hover {
    background-color: transparent;
}

#sidebar #main-links i {
    margin-top: 3px;
    margin-right: 5px;
}

#sidebar #main-links a {
    color: #000000;
    display: flex;
    justify-content: space-around;
    flex: 1;
}

#sidebar #main-links li.active a {
    color: #a7a9ac;
    pointer-events: none;
}

#sidebar #additional-links a {
    color: #a7a9ac;
}

#main {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.home-image-block {
    width: 500px;
    height: 375px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin: 1.5em;
    display: flex;
    align-items: flex-end;
    padding: 1em;
}

.home-image-block a {
    font-family: 'Oswald-RegularItalic';
    color: #FFFFFF;
    background-color: #a7a9ac;
    padding: 0.5em;
    flex-grow: 1;
    font-size: 24px;
    cursor: pointer;
}

#main-content {
    padding: 20px;
    margin: 0 auto;
    max-width: 1300px;
}

#contact-box {
    width: 100%;
    background-color: #a7a9ac;
}

#contact-box > .flex {
    padding: 20px;
    margin: 0 auto;
    max-width: 1350px;
}

#contact-box #contact-box-right-col {
    margin-left: 1em;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#contact-box #additional-links a {
    margin: 0.5em;
    width: 32px;
    color: #FFFFFF;
    text-align: center;
}

#disclaimer {
    background-color: #e2e3e4;
    padding: 15px;
    margin: 20px auto;
    text-align: center;
}

#kjk-plug {
    padding: 20px 15px;
    margin: 20px auto 0;
    background-color: #330a57;
    text-align: center;
}

#kjk-plug a {
    color: #000000;
}

/* Interior */
#white-bg-color {
    background-color: #FFF;
    padding: 20px;
    height: 100%;
}

#white-bg-color h2 {
    line-height: 2;
}

#white-bg-color p {
    padding-bottom: 1em;
    margin: 0.5em 0;
}

.two-columns {
    flex-wrap: wrap;
}

.two-columns > div {
    flex: 1;
}

.callout-box {
    background-color: #a7a9ac;
    padding: 20px;
}

.callout-box .btn {
    margin-top: 1em;
}

.float-left {
    float: left;
    margin: 0 20px 0 0;
}

.float-right {
    float: right;
    width: 50%;
    margin: 20px 20px;
}

.block-container {
    border-bottom: 1px solid #330a57;
    padding-bottom: 40px;
    margin-bottom: 40px;
    overflow: auto;
}

.image-container {
    width: 50%;
    margin: 20px 0;
}

.sponsors-container div {
    width: 200px;
    height: 153px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 1em;
}

/* Flex */
.flex {
    display: flex;
}

.flex-row {
    flex-direction: row;
}

.flex-col {
    flex-direction: column;
}

.flex-grow-0 {
    flex-grow: 0;
}

.flex-grow-1 {
    flex-grow: 1;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-none {
    flex: none;
}

.flex-1 {
    flex: 1;
}

.jc-flex-start {
    justify-content: flex-start;
}

.jc-flex-end {
    justify-content: flex-end;
}

.jc-center {
    justify-content: center;
}

.jc-space-between {
    justify-content: space-between;
}

.jc-space-around {
    justify-content: space-around;
}

.ai-center {
    align-items: center;
}

.ai-flex-start {
    align-items: flex-start;
}

.as-center {
    align-self: center;
}

/* Image Slider */
.glide__arrow {
    background-color: rgba(0,0,0,0.5) !important;
    border: none !important;
}

.glide__arrows i {
    font-size: 30px;
}

.display {
    display: block !important;
}

/* Large devices (desktops, less than 1200px) */
@media only screen and (max-width: 1200px) {
    .upcoming {
        flex-grow: 1;
    }

    .two-columns {
        flex-direction: column;
    }

    .float-right {
        float: none;
        width: 100%;
        margin: 20px 0;
    }

    .image-container {
        width: 100%;
    }

    .mg-rgt-1 {
        margin-right: 0;
    }
    .centered-title h1 {
        font-size: 34px;
    }

    .centered-title {
        width: 90%;
    }
}

/* Medium devices (tablets, less than 992px) */
@media only screen and (max-width: 992px) {

}

/* Small devices (landscape phones, less than 768px) */
@media only screen and (max-width: 768px) {
    #account {
        justify-content: space-between;
    }

    #hamburger-button {
        display: block;
    }

    #sidebar {
        display: none;
        position: absolute;
        z-index: 3;
        box-shadow: 0px 40px 40px rgba(0, 0, 0, 0.8);
        width: 100%;
    }
    #sidebar ul {
        flex-wrap: wrap;
    }
    #contact-box > .flex {
        flex-wrap: wrap;
        justify-content: center;
    }
    #contact-box img {
        margin-bottom: 10px;
    }
    #contact-box #additional-links {
        justify-content: center;
    }
    .home-image-block {
        width: 250px;
        height: 188px;
    }
    .home-image-block a {
        font-size: 18px;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media only screen and (max-width: 576px) {
    .glide__arrows i {
        font-size: 15px;
    }

    h1 {
        font-size: 34px;
    }

    .float-left {
        float: none;
        margin: 0 0 20px 0;
    }

    .headshot-container {
        display: flex;
        flex-direction: row;
        justify-content: center;
    }

    .centered-title h1 {
        font-size: 24px;
    }

    .centered-title {
        width: 60%;
    }
}