﻿#menu-button {
    /* hiding responsive menu button */
    display: none;
}

nav.mobile {
    /* hiding responsive menu */
    display: none;
}


/***** Start of primary nav ******/

nav.primary ul li li.drop a {
    width: 29.25%;
    float: left;
    margin: 0%;
    padding: 4px 2%;
    height: 32px;
    background: #001f66;
    color: #0088ce !important;
    box-sizing: content-box;
}

nav.primary ul ul.drop {
    display: none;
    position: absolute;
    z-index: 999999;
    background: #001f66;
    width: 560px;
}

.bar {
    display: none;
}

nav.primary {
    /* width: calc(100% - 360px); */
    /* float: left; */
    /* display: flex; */
    /* justify-content: center; */
}

nav.primary ul {
    width: 100%;
    /* max-width: 800px; */
    margin: 0 auto;
    display: flex;
    justify-content: center;
    text-align: center;
}

nav.primary ul li {
    float: left;
}

nav.primary ul li a {
    padding: 26px 17px;
    display: block;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    color: #000c46 !important;
    font-size: 16px;
    white-space: nowrap;
}

nav.primary ul li a:hover {
    color: #fff !important;
    background: #0088ce;
}

nav.primary ul li li a {
    /* appearance of the sub-level links */
    padding: 12px 20px;
    text-transform: none;
    font-weight: 600;
    font-size: 13px;
    color: #fff !important;
    background: #000c46;
    text-transform: uppercase;
    text-align: left;
	min-width: 180px;
}

nav.primary ul li li a:hover {
    /* appearance of the sub-level links on hover */
    background: #0088ce;
    color: #fff !important;
}

.manulogos img {
    width: 100%;
}

nav.primary ul li li.manulogo a {
    width: 27%;
    float: left;
    margin: 2%;
    padding: 1%;
}


/* Optional-use, Begin targeting styles of first and last links */

nav.primary ul li:last-child {
    /* Optional-use, this targets last li */
}

nav.primary ul li:last-child a {
    /* Optional-use, this targets last link */
}

nav.primary ul li:first-child a {
    /* Optional-use, this targets first li */
}


/* Optional-use, targeting styles of first and last sub-level links*/

nav.primary ul li li:last-child {}

nav.primary ul li li:last-child a {}

nav.primary ul li li:first-child a {}


/* Optional-use, End targeting styles of first and last links */


/* 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: 999999;
    background: #fff;
    width: auto;
}

nav.primary ul ul.manulogos {
    display: none;
    position: absolute;
    z-index: 999999;
    background: #eeeeee;
    padding-top: 10px;
    margin-left: 20px;
    width: 500px;
    right: 15%;
}

nav.primary ul ul ul {
    position: absolute;
    right: 100%;
    top: 0;
    margin: 0;
    padding: 0;
    width: 155px;
}

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: 1573px) {

}

@media screen and (max-width: 1411px) {
    nav.primary ul {
         padding:0 10px;
        box-sizing: border-box;
    }
    nav.primary ul li a {
        padding: 26px .5vw;
        font-size: 1.2vw;
    }
}

@media screen and (max-width: 1200px) {
    
}


/******** End of primary Nav ***************/

@media screen and (max-width: 1140px) {
    nav.primary {
        display: none;
    }
    .fa-bars {
        margin-right: 7px;
    }
    /*==============================
	Mobile Nav Styles
================================*/
    #menu-button {
        /* initially will need to be hidden */
        display: block;
        position: relative;
        z-index: 999;
        /* needs to be lower than nav.mobile, adjust as needed */
        width: calc(100% - 250px);
        box-sizing: border-box;
        float: left;
    }
    #menu-button a {
        color: #000 !important;
        background: #fff;
        width: 100%;
        float: left;
        padding: 13px 10px;
        box-sizing: border-box;
        text-decoration: none;
        color: #000c46 !important;
        font-family: 'Montserrat', sans-serif;
        font-weight: bold;
        font-size: 20px;
        text-align: center;
    }
    #menu-button a:hover {
        color: #fff !important;
        background: #000c46;
    }
    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: Gotham, "Helvetica Neue", Helvetica, Arial, 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: #0088ce !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: 15px;
        text-transform: uppercase;
        font-weight: 500;
        font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
    }
    nav.mobile ul li a:hover {
        color: #FFF !important;
        background: #0088ce;
    }
    .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: 14px;
        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: 520px) {
    #menu-button {
        width: calc(100% - 200px);
    }
    #menu-button a {
        padding: 12px 5px;
        font-size: 16px;
    }
}

@media screen and (max-width: 380px) {
    #menu-button {
        width: calc(100% - 160px);
    }
}