/* 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");
}

@font-face {
    font-family: 'MinionPro-Regular';
    src: url("../fonts/MinionPro-Regular.otf");
}

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

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

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

.btn:hover {
    background-color: #000000;
}

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

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

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 > td:first-child {
    min-width: 130px;
}

tr:nth-of-type(odd) {
    background-color: #6b2c3f;
}

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;
}

.header-background img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.header-logo-container {
    display: flex;
	position: absolute;
	left: 10px;
	top: 10px;
}

header .flex {
    padding: 59px;
}

header #page-title {
    margin-left: 40px;
    color: white;
    -webkit-text-stroke: #6b2c3f 1px;
}

.mg-1 {
    margin: 1em;
}

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

#hamburger-button {
    display: none;
    border: none;
}

#main-links {
    line-height: 1.6;
    padding: 0;
    list-style: none;
    display: flex;
    background-color: #000;
	margin-top: -10px;
	justify-content: center;
}

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

#sidebar #main-links li:hover {
    margin-top: 7px;
    background-color: rgba(107, 44, 63, 0.2);
}

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

#sidebar #main-links li.active {
    border-bottom: #6b2c3f solid 3px;
}

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

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

#sidebar #main-links a {
    display: flex;
    justify-content: center;
    flex: 1;
    color: #FFFFFF;
}

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

#sidebar #additional-links {
    padding: 0;
}

#sidebar #additional-links a {
    padding: 14px;
    width: 59px;
    display: flex;
    align-items: center;
    color: #6b2c3f;
}

#sidebar #additional-links a:hover {
    background-color: rgba(107, 44, 63, 0.2);
}

.home-background-image {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#home-background-image-container {
    width: 80%;
    margin: 0 auto;
}

#header-on-slider {
    position: relative;
    top: -93px;
    padding: 30px 30px 30px 150px;
    background-color: rgba(255, 255, 255, 0.5);
}

.event-block {
    margin: 1em;
    width: 400px;
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF;
}

.event-name {
    padding: 1em;
}

.event-date {
    padding: 0.5em;
    font-size: 20px;
    font-family: 'Oswald-RegularItalic';
    text-align: center;
    color: #FFFFFF;
    background-color: #6b2c3f;
}

.event-info {
    padding: 0.5em;
    flex: 1;
}

.event-block .reg-btn {
    padding: 0.5em;
    background-color: #6b2c3f;
}

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

.main-content-box {
    margin: 30px 0;
    border-bottom: black solid 2px;
    border-top: black solid 2px;
}

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

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

#coaches-section-content .flex > div {
    margin: 0.5em;
}

#coaches-section-content img {
    border: white solid 4px;
    width: 200px;
    height: 200px;
}

#disclaimer {
    padding: 15px;
    margin: 20px auto;
    background-color: #c84121;
}

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

#kjk-plug a {
    color: black;
}

/* 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 {
    padding: 20px;
    background-color: #6b2c3f;
}

.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 {
    padding-bottom: 40px;
    margin-bottom: 40px;
    overflow: auto;
    border-bottom: 1px solid #6b2c3f;
}

.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;
}

/* 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;
    }

    #coaches-section-content .flex {
        flex-wrap: wrap;
    }

    #sidebar {
        margin-top: 0;
        height: unset;
    }

    #main-links {
        flex-wrap: wrap-reverse;
        justify-content: flex-end;
    }
}

/* Medium devices (tablets, less than 992px) */
@media only screen and (max-width: 992px) {
    header div > img {
        width: 150px;
    }

    header a > img {
        width: 100px;
    }

    #header-on-slider {
        padding: 20px 20px 20px 100px;
        top: -73px;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media only screen and (max-width: 768px) {
    header div > img {
        width: 150px;
    }
    #hamburger-button {
        display: block;
        position: absolute;
        top: 10px;
        right: 10px;
        background-color: #6b2c3f;
    }

    #main-links {
        position: absolute;
        z-index: 3;
        box-shadow: 0px 40px 40px rgba(0, 0, 0, 0.8);
        flex-direction: column;
        align-items: center;
        display: none;
        background-color: #000;
        width: 100%;
    }

    #sidebar #main-links li {
        max-width: unset;
    }

    #header-on-slider {
        padding: 10px 10px 10px 70px;
        top: -53px;
    }
}

/* 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;
    }

    header .flex {
        flex-direction: column;
        padding: 10px;
    }

    header #page-title {
        margin-left: 0;
        text-align: center;
    }

    #header-on-slider {
        top: 0;
        height: unset;
        margin-bottom: 50px;
    }

    header div > img {
        width: 100px;
    }

    #home-background-image-container {
        width: 100%;
    }
}
