﻿#menu-button {
    /* hiding responsive menu button */
    display: none;
}

nav.mobile {
    /* hiding responsive menu */
    display: none;
}

/***** Start of primary nav ******/



.primary {
    overflow: hidden;
}

.primary a {
    float: right;
    font-size: 16px;
    color: black;
    text-align: center;
    padding: 23px 10px;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Teko', sans-serif;
}

.dropdown {
    float: right;
    overflow: hidden;
}

.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: black;
    padding: 19px 18px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
    font-weight: 600;
    font-family: 'Teko', sans-serif;
}

.primary a:hover,
.dropdown:hover .dropbtn {
    background-color: black;
    color: white
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 99999999;
}

.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdown-content a:hover {
    background-color: black;
    color: white
}

.dropdown:hover .dropdown-content {
    display: block;
}

nav.primary ul li li a {
    width: 29.25%;
    float: left;
    margin: 0%;
    padding: 4px 2%;
    height: 32px;
    background: #001f66;
    color: #dab400 !important;
    box-sizing: content-box;
}



.bar {
    display: none;
}

nav.primary {
    width: 100%;
    float: right;

}



@media screen and (max-width: 1450px) {
    .primary a {
        padding: 23px 14px;
        font-size: 12px;
    }

    .dropdown .dropbtn {
        padding: 19px 14px;
        font-size: 12px;
    }

}

@media screen and (max-width: 1250px) {
    .primary a {
        padding: 23px 12px;
        font-size: 12px;
    }

    .dropdown .dropbtn {
        padding: 19px 12px;
        font-size: 12px;
    }

}

@media screen and (max-width: 1150px) {
    .primary a {
        padding: 23px 8px;
        font-size: 12px;
    }

    .dropdown .dropbtn {
        padding: 19px 8px;
        font-size: 12px;
    }

}

@media screen and (max-width: 1100px) {
    .primary a {
        padding: 23px 5px;
        font-size: 12px;
    }

    .dropdown .dropbtn {
        padding: 19px 5px;
        font-size: 12px;
    }

}

/******** End of primary Nav ***************/



@media screen and (max-width: 1262px) {


    nav.primary {
        display: none;
    }


    .fa-bars {
        margin-right: 5px;
    }

    /*==============================
	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 */
        width: 100%;
        box-sizing: border-box;
        float: left;
        display: flex;
        margin-right: 10px;
    }

    #menu-button a {
        color: #fff !important;
        text-decoration: none;
        float: right;
        background: #C1161E;
        padding: 10px;
        /* margin-top: 20px; */
        font-family: 'Teko', sans-serif;
    }

    #menu-button a:hover {
        color: #fff !important;
        background: #000;
    }

    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #333;
        z-index: 999999;
        /* 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: 1.2em;
        font-weight: 600;
        border-bottom: 4px solid #222;
        font-family: 'Teko', sans-serif;
    }

    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: #ec1e28 !important;
    }

    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: 10px;
        color: #999 !important;
        text-decoration: none;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 500;
        font-family: 'Teko', sans-serif;
    }

    nav.mobile ul li a:hover {
        background: #ec1e28;
        color: #fff !important;
    }

    .manulogo img {
        width: 100%;
    }

    nav.mobile ul li.manulogo {
        border: none;
    }

    nav.mobile ul li li.manulogo a {
        width: 44%;
        float: left;
        margin: 2%;
        padding: 1%;
        background: #eee;
    }

    nav.mobile ul li li.manulogo a:hover {
        background: #fff;
    }

    nav.mobile ul li li a {
        /* appearance of the sub-level links */
        background: #444;
        position: relative;
        display: block;
        padding: 8px 10px 8px 15px;
        color: #ccc;
        text-decoration: none;
        font-size: 18px;
        text-transform: uppercase;
        font-weight: 400;
    }

    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: #000;
        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: 500px) {
    #menubutton a {
        font-size: 20px;
    }
}