#menu-button {
    /* hiding responsive menu button */
    display: none;
}

nav.mobile {
    /* hiding responsive menu */
    display: none;
}

/***** Start of primary nav ******/
nav.primary {
    width: 100%;
    float: left;
    position: relative;

}

nav.primary .fa {
    font-size: 18px;
    float: right;
    margin-top: -35px;
    /*margin-right:40px;*/
    cursor: pointer;
    padding-right: 5px
}


.nav-open-button {
    display: none !important;
}

.fullmenus {
    height: 100%;
    width: 100%;
    background: #16416b;
}

nav.primary ul li span.click {
    /* dropdown menu idicator arrow be sure to include this image with your image files */
    background: url(/themes/SandhillsTemplate/images/down.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.primary ul li span.click:hover {
    background-size: 60%;
}

nav.primary ul {
    float: none;
    text-align: center;
}

nav.primary ul li {
    float: none;
    display: inline-block;
    text-align: center;
}

nav.primary ul li a {
    padding: 20px 25px !important;
    display: block;
    text-decoration: none;
    color: #fff;
    font-size: 15px !important;
    font-weight: 500;
    text-transform: uppercase;
}

nav.primary ul li a:hover {
    color: #fff;
    background: #e1212b
}

nav.primary ul ul li {
    float: left;
    display: block;
    text-align: center;
}

nav.primary ul li li a {
    /* appearance of the sub-level links */
    padding: 13px 100px 13px 20px !important;
    text-align: left;
    font-size: 14px !important;
    background: #16416b;
    color: #fff;
    border-top: 1px solid #083960;
    text-transform: uppercase;
}

nav.primary ul li li a:hover {
    /* appearance of the sub-level links on hover */
    color: #fff !important;
    background: #083960;
}

/* 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;
    width: auto;
    min-width: 160px;

}

nav.primary ul ul ul {
    position: absolute;
    left: 100%;
    top: 0;
    width: auto;
    min-width: 160px;
}

nav.primary ul li:hover > ul {
    display: block;
    line-height: 18px;
}

nav.primary ul ul li {
    float: none;
    position: relative;
    margin: 0;
}



/******** End of primary Nav ***************/
@media screen and (max-width: 1265px) {
    nav.primary {
        display: none;
    }



    /*==============================
	Mobile Nav Styles			
================================*/
    #menu-button {
        /* initially will need to be hidden */
        display: block;
        font-size: 32px;
        position: relative;
        z-index: 999;
        /* needs to be lower than nav.mobile, adjust as needed */
        padding: 1% 0% 1% 0;
        width: 100%;
        float: left;
        margin: 0 0%;
    }

    #menu-button a {
        color: #fff;
        text-decoration: none;
    }

    #menu-button a:hover {
        color: #DFDFDF;
    }

    nav.mobile {
        display: block;
        position: fixed;
        top: 0;
        left: -250px;
        width: 250px;
        height: 100%;
        background: #000;
        background: #16416b;
        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: 22px;
        font-weight: 400;
        border-bottom: 1px solid #000;

    }

    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: none;
        color: #fff;
        text-decoration: none;
        vertical-align: top;
    }

    nav.mobile .menu-toggle:hover {
        /* Menu close button on hoveer */
        color: #D3D3D3;
    }

    nav.mobile ul {
        list-style: none;
        font-weight: 300;
        border-top: 1px solid #083255;
        border-bottom: 1px solid #104F82;
        margin: 0;
        padding: 0;
    }

    nav.mobile ul li {
        border-top: 1px solid #083255;
        border-bottom: 1px solid #104F82;
    }

    nav.mobile ul li a {
        text-align: left;
    }

    nav.mobile ul li a {
        position: relative;
        display: block;
        padding: 10px;
        color: #fff;
        text-decoration: none;

        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    nav.mobile ul li a:hover {
        background: #083255;
        color: #fff;
    }

    nav.mobile ul li li a {
        /* appearance of the sub-level links */
        /* background: #083255; */
        position: relative;
        display: block;
        padding: 10px 10px 10px 15px;
        color: #fff;
        text-decoration: none;
        font-size: 12px;
    }

    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(/themes/SandhillsTemplate/images/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%;
    }
}
