﻿/*!
 * Site designed by: Jordan Zoucha.
 *
 * This code was ran through an auto prefixer to maximize compatibility. If you wish to run it through the same auto prefixer, you may find it at https://autoprefixer.github.io/
 *
 * Code was ran through CSS Comb to make it neater and easier to read. The designer recommends that any edits be ran through CSS Comb found at http://csscomb.com/online
 *
 */

/*--- HEADER STYLES ---------------------*/
header {
    position: relative;
    z-index: 2;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 20px 491px 18px 454px;
    color: #000;
    background: #f7fbfe url('../siteart/header_bg.jpg') no-repeat center top;
    background-size: cover;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /* width: 100%; */
}

#top-left {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    padding-right: 63px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    width: 100% !important;
}

header #logo {
    font-family: 'Arial';
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#383838+0,000000+100 */
    text-decoration: none;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white, 0 0 45px white, 0 0 45px white, 0 0 45px white, 0 0 45px white;
    background: none;
    width: 100%;
}

#logo h1 {
    font-size: 36px;
    font-weight: 900;
    line-height: .9;

    padding-bottom: 7px;

    color: #383838;
    /* Old browsers */
    color: -moz-linear-gradient(top, #383838 0%, #000 100%);
    /* FF3.6-15 */
    color: -webkit-linear-gradient(top, #383838 0%, #000 100%);
    /* Chrome10-25,Safari5.1-6 */
    color: linear-gradient(to bottom, #383838 0%, #000 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#383838', endColorstr='#000000', GradientType=0);
    /* IE6-9 */
}

#logo h2 {
    font-size: 18px;
    font-weight: 900;
    line-height: .7;

    padding-left: 10px;

    color: black;
}

#infobox {
    font-size: 13px;

    max-width: 281px;
    margin-top: -4px;
    margin-left: 10px;
    padding: 5px 0 5px 7px;

    border: 1px solid #788175;
    border-radius: 7px;
    background: rgba(255, 255, 255, .8509803921568627);
}

#headerExpress {
    margin-left: 10px;
    padding-top: 15px;
}

#headerExpress img {
    -webkit-filter: drop-shadow(1px 1px 0 white) drop-shadow(-1px -1px 0 white);
    filter: drop-shadow(1px 1px 0 white) drop-shadow(-1px -1px 0 white);
}

#slideshow {
    overflow: hidden;
    /* Hides all other images within slideshow container while loading */

    width: 226px;
    /* width of container is slide width plus applied border width */
    height: 153px;
    /* height of container is slide height plus applied border width */
}


#slideshow img {
    top: 0;
    left: 0;

    padding: 0;

    border: 0;
}

/*--- NAV STYLES ---------------------*/

nav.primary {
    /* Old browsers */
    /* FF3.6-15 */
    /* Chrome10-25,Safari5.1-6 */
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /* IE6-9 */
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#8e3f20+0,602610+28,4c1c08+100 */
    /* Old browsers */
    /* FF3.6-15 */
    /* Chrome10-25,Safari5.1-6 */
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    /* IE6-9 */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

nav.primary,
#menu-button,
nav.mobile {
    height: 34px;

    background: #8e3f20;
    background: -webkit-gradient(linear, left top, left bottom, from(#8e3f20), color-stop(28%, #602610), to(#4c1c08));
    background: linear-gradient(to bottom, #8e3f20 0%, #602610 28%, #4c1c08 100%);
    -webkit-box-shadow: 0 2.5px 2px -2px black;
    box-shadow: 0 2.5px 2px -2px black;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8e3f20', endColorstr='#4c1c08', GradientType=0);
}

nav.primary ul li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    border-width: 0 0 0 3.5px;
    border-style: solid;
    -o-border-image: linear-gradient(to right, #531f0a, #723016) 1 100%;
    border-image: -webkit-gradient(linear, left top, right top, from(#531f0a), to(#723016)) 1 100%;
    border-image: linear-gradient(to right, #531f0a, #723016) 1 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
}

nav.primary ul li ul {
    display: none;
    position: absolute;
    z-index: 9999999;
    background: linear-gradient(to bottom, #8e3f20 0%, #602610 28%, #4c1c08 100%);
    margin-top: 32px;
    padding: 10px;
    height: auto;
    border: none !important;
}

nav.primary ul li ul li {
    border: none !important;
}

nav.primary ul li ul a {
    border: none !important;
}

nav.primary ul li:hover>ul {
    display: block;
}

nav ul li:hover {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#5f5f5f+0,383838+10,000000+100 */
    background: #5f5f5f;
    /* Old browsers */
    /* FF3.6-15 */
    /* Chrome10-25,Safari5.1-6 */
    background: -webkit-gradient(linear, left top, left bottom, from(#5f5f5f), color-stop(10%, #383838), to(#000));
    background: linear-gradient(to bottom, #5f5f5f 0%, #383838 10%, #000 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5f5f5f', endColorstr='#000000', GradientType=0);
    /* IE6-9 */
}

nav.primary ul li:last-of-type {
    border-width: 0 3.5px 0 3.5px;
}

nav.primary ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: flex;
    width: 100%;
    height: 28px;
    padding-top: 1.5px;
    border-bottom: 1px black;
    border-bottom: 1.5px solid #512b18;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

a.nav:link,
a.nav:active,
a.nav:visited {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    display: block;
    padding: 0 12px;
    text-decoration: none;
    color: #fff;
}

/*---MOBILE NAV STYLES ---------------------*/

#menu-button {
    display: none;
}

nav.mobile {
    display: none;
}

@media screen and (max-width: 1000px) {

    nav.primary {
        display: none;
    }

    #menu-button {
        font-size: 24px;

        position: relative;
        /* line-height:60px; */
        z-index: 2;
        /* needs to be lower than nav.mobile, adjust as needed */

        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;

        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    #menu-button a {
        font-size: 23px;

        text-decoration: none;

        color: #fff;
    }

    @media screen and (max-width: 1000px) {

        /*==============================
	Mobile Nav Styles			
================================*/
        nav.primary {
            display: none;
        }

        ing-right: 10px;
    }

    #menu-button a {
        color: #fff;
        text-decoration: none;
        /* padding: 0 0 0 .8em; */
        font-weight: normal;
    }

    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #333;
        z-index: 500;
        /* needs to be higher than #menu-button, adjust as needed */
        overflow: auto;
    }

    /* MENU HEADER SOCIAL MEDIA */
    nav.mobile .social-media {
        position: relative;
        text-decoration: none;
        display: inline-block;
        font-size: 16px;
        word-spacing: 13px;
        padding: 0 0 0 15px;
        color: #ccc !important;
    }

    nav.mobile .social-media a:link,
    nav.mobile .social-media a:visited {
        color: #ccc;
        text-decoration: none;
    }

    nav.mobile .social-media a:hover,
    nav.mobile .social-media a:active {
        color: #fff;
        text-decoration: underline;
    }

    /* MENU HEADER STYLES */
    nav.mobile .mobile_top {
        position: relative;
        display: block;
        padding: 0;
        margin: 50px 0 10px 0;
        color: #999;
        font-size: 18px;
        font-weight: 400;
    }

    /* MENU CLOSE 'X' BUTTON */
    nav.mobile .menu-toggle {
        position: absolute;
        padding: 3px 8px 3px;
        font-family: Arial, sans-serif;
        font-size: 24px;
        font-weight: bold;
        line-height: 1;
        background: #222;
        color: #999;
        text-decoration: none;
        top: -38px;
        right: 13px;
    }

    nav.mobile .menu-toggle:hover {
        /* Menu close button on hoveer */
        color: #fff;
    }

    /* MENU LIST STYLE */
    nav.mobile ul {
        list-style: none;
        font-weight: 300;
        margin: 0;
        padding: 0;
    }

    nav.mobile ul li {
        border-top: 1px solid #454545;
        border-bottom: 1px solid #151515;
        position: relative;
    }

    /* FIRST LEVEL */
    nav.mobile ul li a {
        position: relative;
        display: block;
        font-size: 15px;
        padding: 10px !important;
        color: #999;
        text-decoration: none;
        border-left: 4px #333 solid;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
        text-align: left;
    }

    nav.mobile ul li a:hover {
        background: rgba(45, 45, 45, 0.5);
        color: #fff;
        border-left: 4px #CB1C1C solid;
        /* border highlight - Change to fit match site colors */
    }

    /* SECOND LEVEL */
    nav.mobile ul li li:last-child {
        border: none;
    }

    nav.mobile ul li li a {
        background: #444;
        position: relative;
        display: block;
        padding: 10px 10px 10px 15px;
        border-left: 4px #444 solid;
        color: #ccc;
        text-decoration: none;
    }

    nav.mobile ul li li a:hover {
        background: rgba(65, 65, 65, 0.5);
    }

    /* THIRD LEVEL */
    nav.mobile ul li li li:last-child {
        border: none;
    }

    nav.mobile ul li li li a {
        background: #555;
        position: relative;
        display: block;
        padding: 10px 10px 10px 25px;
        color: #ccc;
        text-decoration: none;
        border-left: 4px #555 solid;
    }

    nav.mobile ul li li li a:hover {
        background: rgba(85, 85, 85, 0.5);
    }

    nav.mobile ul li .click {
        /* dropdown menu idicator arrow be sure to include this image with your image files */
        position: absolute;
        display: block;
        cursor: pointer;
        z-index: 12399994;
        top: 0;
        right: 0;
        width: auto;
        height: auto;
        padding: 17px 20px;
        color: #fff;

    }

    .nav-footer {
        color: #1B1B1B;
        position: relative;
        text-align: center;
        font-size: 14px;
        line-height: 16px;
        padding: 15px 0;
    }

    /* FONT AWESOME ICONS */
    nav.mobile ul li a .fa {
        width: 25px;
        font-weight: 100;
        padding: 8px 3px;
        margin: 0 6px 0 0;
        text-align: center;
        background: #292929;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        border-radius: 30px;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
    }


    nav.mobile ul li .fa-chevron-down {
        color: #999;
    }
}

}

/*---RESPONSIVE STYLES ---------------------*/

@media only screen and (max-width: 1765px) {
    header {
        padding-right: calc(2.5rem + ((1vw - 9.85px) * 57.8205));
        padding-left: calc(2.5rem + ((1vw - 9.85px) * 53.0769));
    }
}

@media only screen and (max-width: 1500px) {
    header {
        padding-right: 20px;
        padding-left: 20px;
    }
}

@media only screen and (max-width: 650px) {
    #top-left {
        padding-right: 20px;
    }

    #logo h1 {
        font-size: calc(1.5625rem + ((1vw - 5.2px) * 8.4615));
    }

    #logo h2 {
        font-size: calc(.6875rem + ((1vw - 5.2px) * 3.8462)) !important;
    }

    #infobox {
        font-size: calc(.671875rem + ((1vw - 5.2px) * 1.7308));

        margin-left: 0;
    }

    #menu-button {
        width: 100%;
    }
}

@media only screen and (max-width: 900px) {
    #logo h1 {
        line-height: 1.2;

        max-width: 370px;
    }

    #logo h2 {
        font-size: 15.75px;

        padding-left: 0;
    }

    #slideshow_container {
        -ms-flex-item-align: center;
        -ms-grid-row-align: center;
        align-self: center;
    }
}

@media only screen and (max-width: 520px) {
    header {
        flex-direction: column;

        padding: 10px;

        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
    }

    #top-left {
        padding-right: 0;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    #logo {
        text-align: center;
    }

    #logo h1 {
        font-size: calc(1.1875rem + ((1vw - 3.2px) * 5));

        max-width: 100%;
    }

    #logo h2 {
        font-size: calc(.8125rem + ((1vw - 3.2px) * 2)) !important;
    }



    #infobox {
        font-size: 12px;

        width: 90%;
    }



    #slideshow_container {
        display: none;
    }
}

@media screen and (max-width:450px) {
    #menu-button {
        width: 100%;
    }
}

/*-------- IE AND EDGE ONLY STYLES --------*/

@media screen and (max-width: 1793px) and (min-width: 521px) {

    _:-ms-lang(x),
    #top-left {
        -ms-flex: 1;
        flex: 1;
    }
}

/*-------- FIREFOX ONLY STYLES --------*/

@-moz-document url-prefix() {
    h2 {
        margin-bottom: 20px !important;
    }
}