﻿@charset "utf-8";
/* CSS Document */

body, div, h1, h2, h3, p, ul, ol, li, img, header, section, aside, footer, button {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    font-size: 15px;
}

p {
    margin: 20px auto;
}

a { /* link color */
    text-decoration: none;
    color: #981a1e;
}

    a:hover {
        color: #6f92a7;
    }

h1 {
    color: #981a1e;
    font-size: 1.5em;
    margin-top: 20%;
}

h1, h2, h3 {
    font-weight: normal;
}

h2 {
    font-size: 1.5em;
    margin: auto;
}

.leftfloat {
    float: left;
}

body {
    background: #f0ede6;
    font-family: "Trebuchet MS", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.desktop_piece {
    display: none;
}

.mobile_piece {
    display: block;
}


/* Header */
.headlogo {
    max-width: 71%;
    padding-left: 5%;
    padding-top: 12px;
}

#site_head {
    background: rgb(115,26,28);
    background: linear-gradient(0deg, rgba(115,26,28,1) 35%, rgba(152,26,30,1) 100%);
    max-height: 85px;
    min-height: 65px;
    width: 100%;
    display: block;
    position: relative;
    z-index: 99;
}

.header_cont { /* header container */
    width: 100%;
}

.dropdown {
    position: relative;
    margin: 20px 20px 0 0;
    padding-bottom: 10px;
}

.dropdowncontent {
    display: none;
    position: absolute;
    top: 100%;
    right: -20px;
    width: 150px;
    background: rgb(115,26,28);
    padding-right: 20px;
    border-radius: 10px;
}

.dropdown:hover .dropdowncontent {
    display: block;
}

.mobilemenu {
    background-color: white;
    width: 35px;
    height: 5px;
    margin: 5px;
    border-radius: 1px;
}

.head_nav {
    float: right;
    display: inline;
    margin: auto;
}

    .head_nav a { /* assign nav color size pad */
        color: #f6f6ee;
        font-size: 15px;
        display: block;
        margin: 5px;
        text-align: right;
        padding: 5px;
    }


.home { /* displays rounded box over current page nav */
    background: #4f1d1e;
    border-radius: 10px;
}

.linkset a:hover { /* displays rounded box over hover */
    text-shadow: 1px 1px 1px #2c0306;
    background: #4f1d1e;
    border-radius: 10px;
    color: #f6f6ee;
}

.sociallink {
    border: none;
    box-shadow: none;
    float: right;
    margin: 10px;
    height: 34px;
    width: 34px;
}

.linkset {
    font-weight: bold;
}

.inline {
    display: inline-block;
}

/* Main container */

.main_content {
    max-width: 960px;
    margin: 0 auto;
    padding-top: 25px;
}

/* Home Page Section */

.section_tit {
    clear: both;
    text-align: center;
    margin: 25px auto;
    max-width: 63%;
}

.sectionline {
    background-color: black;
    height: 1px;
    min-width: 25px;
    display: none;
    margin: 6px;
}

.section_tit h3 { /* section titles on pages */
    text-align: center;
    font-size: 1.8em;
    margin: 10px 0 10px 0;
    color: black;
    text-shadow: 1px 1px 0px #fff;
    display: inline-block;
}

.mainphoto { /* place main photo on home page */
    margin: auto;
    text-align: center;
    max-width: 84%;
    margin: auto;
}

.imgborder { /* add border and shadow around images */
    border: 1px solid #cccccc;
    border-radius: 5px;
    box-shadow: 0px 0px 5px #c6c6bf;
    background-color: white;
    padding: 5px;
    max-width: 84%;
}

#brochure {
    max-width: 170px;
}

#program {
    max-width: 89%;
}

/* Containers */

.row {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.column {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.description {
    margin: 15px;
    display: inline-block;
}

.boxlinks {
    float: none;
    max-width: 55%;
    margin: auto;
}

.box { /* white container boxes*/
    min-height: 150px;
    width: 85%;
    background: rgba(255,255,255,0.75);
    border: 1px solid #cccccc;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #c6c6bf;
    margin: 30px 15px 20px 15px;
    padding: 15px;
    position: relative;
    align-self: center;
}

.boximage {
    max-width: 65%;
    margin: auto;
    display: inline-block;
    vertical-align: middle;
}

.center {
    text-align: center;
}

/* Table for Sponsors */
table {
    border: 1px solid #000;
    border-collapse: collapse;
    margin: 5%;
}

th {
    background-color: lightgray;
}

th, tr, td {
    border: 1px solid black;
    padding: 8px;
}

/* Footer */

footer.bottom {
    clear: both;
    display: block;
    margin: 30px auto;
    border-top: 1px solid black;
}

    footer.bottom p {
        text-align: center;
        color: black;
        font-size: 13px;
    }

/*Scaling for different screen sizes*/

@media only screen and (min-width: 460px) {
    .box {
        max-width: 46%;
    }
}

@media only screen and (min-width: 560px) {
    .headlogo {
        width: 400px;
    }

    .boximage {
        height: 165px;
    }

    #program {
        max-width: 500px;
    }

    .sectionline {
        display: inline-block;
    }
}

@media only screen and (min-width: 630px) {
    .section_tit {
        min-width: 395px;
    }

    .mainphoto {
        max-width: 500px;
    }
}

@media only screen and (min-width: 880px) {
    .boxlinks {
        float: right;
    }
}

@media only screen and (min-width: 925px) {
    .sectionline {
        width: 25%;
    }
}

@media only screen and (min-width: 1160px) {
    .dropdowncontent {
        display: inline;
        width: 100%;
        position: relative;
        background: none;
        right: auto;
        height: 34px;
    }

    .sociallink {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }

    .linkset {
        display: inline;
    }

    .head_nav a {
        display: inline-block;
    }

    .mobilemenu {
        display: none;
    }

    .desktop_piece {
        display: block;
    }

    .mobile_piece {
        display: none;
    }

    .row {
        display: flex;
        flex-direction: row;
        justify-content: center;
        text-align: left;
    }

    .box {
        align-self: auto;
    }
}
