﻿/*--- TOP NAV ----*/
#top-nav {
    text-align: center;
    background: #f0f0f0;
    width: 100%;
    padding: 10px 0;
}

#top-nav ul li {
    display: inline-block;
}

#top-nav ul li a {
    padding: 0 30px;
    color: #000;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 16px;
    line-height: 45px;
    text-decoration: none;
    display: block;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
}

#top-nav ul li a .fa {
    color: #dd0905;
    font-size: 20px;
    margin-right: 10px;
}

#top-nav ul li a:hover {
    background: #000;
    color: #fff;
}


/***** Start of primary nav ******/
#menu-button {
    display: none;
}

nav.mobile {
    display: none;
}

nav.primary {
    padding: 0;
    margin: 0;
    width: 100%;
    /* background: #f0f0f0; */
    position: relative;
    /* box-shadow: 2px 6px 10px -4px rgba(0, 0, 0, 0.2); */
}

nav.primary ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

nav.primary ul li {
    display: inline-block;
    margin: 0;
    list-style-type: none;
    width: auto;
    /* border-right: 1px solid #000; */
    color: #000;
}

nav.primary ul li:last-child {
    border-right: 0;
}

nav.primary ul li a {
    /* padding: 0 20px; */
    /* color: #000; */
    /* letter-spacing: 1.5px; */
    /* font-weight: 700; */
    /* font-size: 16px; */
    /* line-height: 45px; */
    /* text-decoration: none; */
    /* display: block; */
    /* margin: 0; */
    /* text-align: center; */
    /* text-transform: uppercase; */
}

nav.primary ul li a:hover {
    color: #dd0905;
    transition: all 0.7s;
}

/* Appearance of the sub-level links */
nav.primary ul li li a {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
    line-height: 16px;
    text-transform: uppercase;
    padding: 0 15px;
    color: #fff;
    background: #fff;
    text-align: left;
    border-right: none;
    border-left: none;
    /* border-bottom: #303030 solid 1px; */
    text-align: left !important;
}

/* Appearance of the sub-level links on hover */
nav.primary ul li li a:hover {
    color: #dd0905;
    background: #fff;
}

/* This controls the Primary nav dropdowns for sublinks. Should not have to edit this too muuch */
nav.primary ul ul {
    display: none;
    position: absolute;
}

nav.primary ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
}

nav.primary ul li:hover > ul {
    display: block;
    line-height: 18px;
    z-index: 100;
}

nav.primary ul ul li {
    float: none;
    width: 270px;
    position: relative;
    margin: 0;
    display: block;
}





/******** End of primary Nav ***************/

@media screen and (max-width: 1100px) {

    /*==============================
	Mobile Nav Styles			
================================*/


    nav.primary {
        display: none;
    }

    #menu-button {
        /* initially will need to be hidden */
        display: block;
        font-size: 32px;
        z-index: 999;
        /* needs to be lower than nav.mobile, adjust as needed */
        padding: 0.5% 1% 0.5% 3%;
        width: 96%;
        float: left;
        /* background: #dd0905; */
        text-align: right;
    }

    #menu-button a {
        color: #fff;
        text-decoration: none;
    }

    #menu-button a:hover {
        color: #fff;
    }

    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #212121;
        color: #fff;
        z-index: 999999999999999999;
        /* needs to be higher than #menu-button, adjust as needed */
        overflow: auto;
    }

    nav.mobile h3 {
        /* Menu header styles */
        position: relative;
        padding: 12px 10px;
        color: #fff;
        font-size: 22px;
        font-weight: 700;
        border-bottom: 4px solid #222;
        letter-spacing: 2px;
    }

    nav.mobile .menu-toggle {
        /* Menu close button */
        position: absolute;
        top: 12px;
        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: #dd0905;
    }

    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;
        text-decoration: none;
        color: #fff;
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 400;
        letter-spacing: 1px;

    }

    nav.mobile ul li a:hover {
        background: #dd0905;
        color: #fff;
    }

    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;
    }

    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;
    }

    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 screen and (max-width:649px) {
    #menu-button {
        /* initially will need to be hidden */
        position: relative;
    }

}
