﻿#menu-button {
    /* hiding responsive menu button */
    display: none;
}

nav.mobile {
    /* hiding responsive menu */
    display: none;
}

/***** Start of primary nav ******/
nav.primary {
    margin: 0 auto 0 20px;
    text-align: left;
    display: inline-block
}

nav.primary ul {
    float: none;
    text-align: center;
    margin: 0 auto;
    display: inline-block;
    vertical-align: middle;
}

nav.primary ul li {
    float: left;
}

nav.primary ul li a {
    padding: 15px 15px;
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav.primary ul li a .fa {
    font-size: 20px
}

.ie8 nav.primary ul li a,
.ie7 nav.primary ul li a {}

nav.primary ul li a:hover {
    color: #404040;
    background: #ededed;
}

nav.primary ul li li {
    /* appearance of the sub-level links */
    border: 0;
}

nav.primary ul li li a {
    /* appearance of the sub-level links */
    background: #404040;
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    width: 250px;
    box-shadow: 0px 6px 10px -7px #767676;
}

nav.primary ul li li a:hover {
    /* appearance of the sub-level links on hover */
    background: #fff;
    color: #404040;
}


nav.primary ul li li ul a {
    /* appearance of the sub-level links */
    background: #404040;
    color: #fff;
    padding: 10px 20px;
    font-size: 13px;
    text-align: left;
    width: 230px;
}

nav.primary ul li li a:hover {
    /* appearance of the sub-level links on hover */
    background: #fff;
    color: #404040;
}


/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute;
    z-index: 999999999999;
    width: auto;

}

nav.primary ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

nav.primary ul li:hover > ul {
    display: block;
    line-height: 18px;
}

nav.primary ul ul li {
    float: none;
    position: relative;
    margin: 0;
}



@media screen and (max-width: 1620px) {
    nav.primary ul li a {
        padding: 15px 10px;
    }
}

@media screen and (max-width: 1450px) {
    nav.primary ul li a {
        font-size: 14px;
        padding: 15px 8px;
    }
}

@media screen and (max-width: 1300px) {
    nav.primary ul li a {
        font-size: 13px;
        padding: 15px 5px;
    }
}



@media screen and (max-width: 1670px) {

    nav.primary {
        display: none;
    }

    /*==============================
Mobile Nav Styles			
================================*/
    #menu-button {
        /* initially will need to be hidden */
        display: block;
        font-size: 25px;
        position: relative;
        z-index: 999;
        /* needs to be lower than nav.mobile, adjust as needed */
        padding: 0.5% 1% 0.5% 3%;
        width: 96%;
        background: none;
        text-align: left
    }

    #menu-button a {
        color: #fff !important;
        text-decoration: none;
    }

    #menu-button a:hover {
        color: #fa6c0b !important;
    }

    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #333;
        z-index: 999999999999999999;
        /* needs to be higher than #menu-button, adjust as needed */
        overflow: auto;
    }

    #menu-button h3 {
        /* Menu header styles */
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        text-align: left
    }

    .menu-toggle h3:hover {
        color: #ffba00;
    }

    nav.mobile .menu-toggle {
        /* Menu close button */
        position: absolute;
        top: 0;
        right: 10px;
        display: inline-block;
        padding: 6px 9px 5px;
        font-family: Arial, sans-serif;
        font-weight: bold;
        line-height: 1;
        background: #222;
        color: #999;
        text-decoration: none;
        vertical-align: top;
    }

    nav.mobile .menu-toggle:hover {
        /* Menu close button on hoveer */
        color: #ffba00;
    }

    .mobile.open h3 {
        color: #fff
    }

    nav.mobile ul {
        list-style: none;
        font-weight: 300;
        border-top: 1px solid #151515;
        border-bottom: 1px solid #454545;
        margin: 0;
        padding: 0;
    }

    nav.mobile ul li {
        border-top: 1px solid #454545;
        border-bottom: 1px solid #151515;
    }

    nav.mobile ul li a {
        position: relative;
        display: block;
        padding: 8px 10px;
        color: #999;
        text-decoration: none;
        font-size: 15px;
        letter-spacing: 1px;
        font-weight: 300;
        text-align: left;
        text-transform: uppercase;
    }

    nav.mobile ul li a:hover {
        background: #fff;
        color: #000;
    }

    nav.mobile ul li li a {
        /* appearance of the sub-level links */
        background: #444;
        position: relative;
        display: block;
        padding: 10px 10px 10px 15px;
        color: #ccc;
        text-decoration: none;
        font-size: 14px;
    }

    nav.mobile ul li li li a {
        /* appearance of third level sub-level links if needed */
        background: #666;
        position: relative;
        display: block;
        padding: 10px 10px 10px 25px;
        color: #fff;
        text-decoration: none;
        font-size: 14px
    }

    nav.mobile ul li span.click {
        /* dropdown menu idicator arrow be sure to include this image with your image files */
        background: url(../siteart/arrow.png)10px 12px no-repeat;
        background-size: 55%;
        position: relative;
        display: block;
        float: right;
        margin: -44px 0 0 0;
        cursor: pointer;
        z-index: 12399994;
        width: 44px;
        height: 44px;
        -webkit-transition: background-size .3s ease-in-out;
        -moz-transition: background-size .3s ease-in-out;
        transition: background-size .3s ease-in-out;
    }

    nav.mobile ul li span.click:hover {
        background-size: 60%;
    }
}


@media only screen and (max-width:700px) {

    #menu-button {
        text-align: center;
        margin: 0 auto;
        float: none;
        left: 0;
        right: 0
    }

    #menu-button h3 {
        text-align: center
    }
}
