/*!
 * 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
 *
 */

/*  NAVIGATION
------------------------------------------------*/
#menu-button {
    display: none;
}

@media screen and (min-width: 767px) {
    nav.mobile {
        display: none;
    }
}

nav.primary {
    position: relative;
    z-index: 500;

    margin: 0;
    padding: 0;
}

nav.primary ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    width: 100%;
    webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

nav.primary ul li {
    /* flex:1 0 auto; */
}

nav.primary ul li:hover,
nav.primary ul li:focus,
nav.primary ul li:active {
    color: #3d3d3d;
}

nav.primary ul li a {
    font-size: calc(.5875rem + ((1vw - 7.68px) * 1.1647));
    font-weight: normal;
    font-weight: bold;

    margin: 0;
    padding: 0;

    -webkit-transition: .5s ease-in;
    -webkit-transition: .17s ease-in;
    transition: .17s ease-in;
    text-decoration: none;

    color: #8d8d8d;
}

nav.primary ul li a:hover {
    color: black;
}

nav.primary ul li a.facebook-nav {
    font-size: 24px;
}

nav.primary ul li a.facebook-nav:hover {
    background: none;
}

.recolor.current {
    color: black !important;
}

/*  SUB NAV
------------------------------------------------*/
nav.primary ul li li {
    width: 300px;
}

nav.primary ul li li a:link,
nav.primary ul li li a:visited {
    font-size: 16px;
    /* border-bottom: white solid 1px; */
    font-size: calc(.6875rem + ((1vw - 7.68px) * 1.1647));
    line-height: calc(1.6875rem + ((1vw - 7.68px) * 2.0073));
    /* background: white; */

    width: auto;
    padding: 10px 20px;

    text-align: left;

    color: #8d8d8d;
    border-right: none;
    border-left: none;
}

nav.primary ul li li a:hover,
nav.primary ul li li a:active {
    color: #060606;
}

/*  NAV DROPDOWNS
------------------------------------------------*/
nav.primary ul ul {
    position: absolute;

    display: none;
}

nav.primary ul ul ul {
    position: absolute;
    top: 0;
    left: 100%;
}

nav.primary ul li:hover > ul {
    line-height: 18px;

    z-index: 500;

    display: block;

    padding-top: 18px;
}

nav.primary ul ul li {
    position: relative;

    float: none;

    margin: 0;
    margin-bottom: -1px;

    background: white;
    /* border-bottom: white 1px solid; */
}

#mobile-container {
    display: none;
}


@media only screen and (min-width: 1370px) {
    .nav-logo img {
        width: 360px;
    }

    nav.primary ul li a {
        font-size: calc(0.91875rem + ((1vw - 13.8px) * .9091));
    }

    nav.primary ul li li a:link,
    nav.primary ul li li a:visited {
        font-size: calc(1.01875rem + ((1vw - 13.7px) * .9091));
        line-height: 45px;
    }
}

@media only screen and (min-width:768px) and (max-width: 1340px) {
    nav.primary ul li li {
        width: 100%;
        max-width: calc(10.575rem + ((1vw - 7.68px) * 8.6806));
    }
}

/************************************************ Responsive Styles **/

@media screen and (max-width: 767px) {
    nav.primary {
        display: none;
    }

    #menu-button {
        font-size: calc(.9375rem + ((1vw - 2.57px) * .9804));
        line-height: calc(2.1875rem + ((1vw - 2.57px) * 4.902));
        position: relative;
        z-index: 400;
        display: block;
        /* width: 100%; */
    }

    #menu-button a {
        font-size: 15.5px;
        font-weight: 100;

        margin: 0 0 0 calc(.7rem + ((1vw - 2.57em) * .0196));
        padding: 1px 4px;

        text-decoration: none;

        color: #838383 !important;
        border: 1px solid #838383;
        border-radius: 6px;
    }

    nav.mobile {
        position: absolute;
        z-index: 998;
        display: block;
        visibility: hidden;
        overflow: auto;
        width: 100%;
        height: auto;
        background: #333;
    }

    .slideDown {
        top: calc(7.0625rem + ((1vw - 2.57px) * 7.2549)) !important;

        -webkit-animation: .4s ease-out 0s 1 slideIn;
        animation: .4s ease-out 0s 1 forwards slideIn;
    }

    .slideUp {
        -webkit-animation: .4s ease-out 0s 1 slideOut;
        animation: .4s ease-out 0s 1 slideOut;
    }

    /* MENU HEADER SOCIAL MEDIA */
    nav.mobile .social-media {
        font-size: 16px;

        position: absolute;
        z-index: 9999;
        top: 15px;
        left: 15px;

        display: inline-block;

        vertical-align: top;
        text-decoration: none;
        word-spacing: 13px;

        color: #ccc !important;
    }

    nav.mobile .social-media a:link,
    nav.mobile .social-media a:visited {
        text-decoration: none;

        color: #ccc;
    }

    nav.mobile .social-media a:hover,
    nav.mobile .social-media a:active {
        text-decoration: underline;

        color: #fff;
    }

    /* MENU HEADER STYLES */
    nav.mobile h3 {
        font-family: 'neue-aachen-pro';
        font-size: 32px;
        font-weight: 300;

        position: relative;

        padding: 23px 20px;

        color: #ccc;
        background: #313131;
    }

    nav.mobile .menu-title {
        font-size: 12px;

        position: absolute;
        top: 16px;
        right: 47px;

        vertical-align: top;
        text-transform: uppercase;

        color: #ccc;
    }

    /* MENU CLOSE 'X' BUTTON */
    nav.mobile .menu-toggle {
        font-family: Arial, sans-serif;
        font-size: 18px;
        font-weight: 700;
        line-height: 1;

        position: absolute;
        top: 8px;
        right: 10px;

        display: inline-block;

        padding: 23px 19px 5px;

        vertical-align: top;
        text-decoration: none;

        color: #ccc;
    }

    nav.mobile .menu-toggle:hover {
        color: #fff;
    }

    /* MENU LIST STYLE */
    nav.mobile ul {
        font-weight: 300;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    nav.mobile ul li {
        font-size: 15px;

        color: #999;
        border-bottom: 1px solid #303030;
    }

    /* FIRST LEVEL */
    nav.mobile ul li a {
        font-size: 16px;

        position: relative;

        display: block;

        padding: 15px 35px 15px 20px;
        /* text-align:right; */

        text-decoration: none;

        color: #999;
        border-left: 4px #333 solid;
        text-shadow: 1px 1px 1px rgba(0, 0, 0, .3);
    }

    nav.mobile ul li a.current {
        color: #fff !important;
        border-left: 4px #c51230 solid;
        background: rgba(45, 45, 45, .5);
    }

    nav.mobile ul li a:hover {
        color: #fff;
        border-left: 4px #c51230 solid;
        background: rgba(45, 45, 45, .5);
    }

    /* SECOND LEVEL */
    nav.mobile ul li li:last-child {
        border: none;
    }

    nav.mobile ul li li a {
        padding: 15px 35px 15px 20px;

        color: #ccc;
        border-left: 4px #444 solid;
        background: #444;
    }

    nav.mobile ul li li a:hover {
        background: rgba(65, 65, 65, .5);
    }

    /* THIRD LEVEL */
    nav.mobile ul li li li:last-child {
        border: none;
    }

    nav.mobile ul li li li a {
        color: #ccc;
        border-left: 4px #555 solid;
        background: #555;
    }

    nav.mobile ul li li li a:hover {
        background: rgba(85, 85, 85, .5);
    }

    .nav-footer {
        font-size: 16px;
        line-height: 16px;

        position: relative;

        padding: 15px 0;

        text-align: center;

        color: #292929;
    }

    #mobile-container {
        font-size: 15px;

        position: fixed;
        z-index: 400;
        /* needs to be lower than nav.mobile, adjust as needed */
        z-index: 99999;
        bottom: 0;
        /* initially will need to be hidden */

        display: block;

        width: 90px;
        width: 100%;
        padding: 10px 0;

        color: #fff;
        border-top: solid 6px #c51230;
        background: #000;
    }

    li.mobile-button {
        float: left;

        width: 20%;

        text-align: center;
    }

    li.mobile-button img {
        display: inline-block;

        max-width: 100%;
    }

    li.mobile-button a {
        color: #fff;
    }
}

@media screen and (max-width: 767px) {
    #mobile-container {
        font-size: 13px;
    }

    .navbar {
        width: 100vw;
        padding-left: 0;
        align-items: center;
        justify-content: space-between !important;
        display: flex;
        justify-content: center;
    }

    .nav-logo img {
        width: calc(15rem + ((1vw - 2.57px) * 11.7647));
        padding-top: 20px;
    }
}

@media only screen and (min-width:768px) and (max-width: 1020px) {
    nav.primary ul li a {}
}
