/*
 * Stellarnav.js 1.0.0
 * jQuery responsive multi-level dropdown menu designed to do most of the heavy CSS work for you.
 * Copyright (c) 2016 Vinny Moreira - http://vinnymoreira.com
 * Released under the MIT license
 */


.stellarnav * {
    font-weight: 600;
}

.stellarnav a {
    font-family: Calibri !important;
}


/* all nav */
.stellarnav {
    position: relative;
    width: 100%;
    z-index: 999;
    line-height: normal;
}

    .stellarnav ul {
        margin: 0;
        padding: 0;
        text-align: center;
    }

    .stellarnav li {
        list-style: none;
        display: block;
        margin: 0;
        padding: 0;
        position: relative;
        line-height: normal;
        vertical-align: middle;
    }

        .stellarnav li a {
            padding: 10px;
            display: block;
            text-decoration: none;
            color: #@E;
            font-size: inherit;
            font-family: inherit;
            box-sizing: border-box;
            -webkit-transition: all .3s ease-out;
            -moz-transition: all .3s ease-out;
            transition: all .3s ease-out;
        }

    /* main level */
    .stellarnav > ul > li {
        display: inline-block;
    }

        .stellarnav > ul > li > a {
            padding: 10px 23px;
        }

    /* first level dd */
    .stellarnav ul ul {
        top: auto;
        width: 220px;
        position: absolute;
        z-index: 9900;
        text-align: left;
        display: none;
        background: #ddd;
        border: 1px solid #FFF;
    }

    .stellarnav li li {
        display: block;
    }

    .stellarnav:not(.mobile) a:hover{
        background-color: #bbb;
        color:black !important;
    }

    /* second level dd */
    .stellarnav ul ul ul {
        top: 0; /* dd animtion - change to auto to remove */
        left: 220px;
        border: 1px solid #FFF;
    }

    .stellarnav > ul > li:hover > ul > li:hover > ul {
        opacity: 1;
        visibility: visible;
        top: 0;
    }

    /* .drop-left */
    .stellarnav > ul > li.drop-left > ul {
        right: 0;
    }

    .stellarnav li.drop-left ul ul {
        left: auto;
        right: 220px;
    }

    /* light theme */
    .stellarnav.light {
        text-align: center;
        /*box-shadow: 0 3px 2px -2px black;*/
    }

    .stellarnav.light.mobile {
        margin-top: 3px;
        width:96%;
        margin-left:2%;
    }


        .stellarnav.light ul {
            background: #F5F5F5;
            border: 1px solid #bcbcbc;
            border-top: none;
            /*box-shadow: 0px 0px 5px 0px black;*/
        }

        .stellarnav.mobile.light ul{
            border-bottom: none;
        }

        .stellarnav.light li a {
            color: #2E4986;
        }

        .stellarnav:not(.mobile).light li a:not(.topLevel) {
            border-bottom: 1px dashed #bcbcbc;
        }

        /*setting bottom border of last link in sub level navigation bars*/
        .stellarnav:not(.mobile).light ul li:last-child:not(.topLevel)>a {
            border-bottom: none !important;
        }

        /*setting bottom border of last link in sub level navigation bars*/
        .stellarnav:not(.mobile).light ul li:first-child:not(.topLevel)>a {
            border-top: 1px solid #bcbcbc !important;
        }

         /*main (first) row of nav items*/
        /*.stellarnav>ul>li>a {
            color: white !important;
            border-top: none !important;
            background: #2E4986 !important;
        }*/

        .stellarnav.light .call-btn-mobile, .stellarnav.light .location-btn-mobile {
            color: #2E4986;
        }
        .stellarnav.light .menu-toggle{
            color: #333;
            width: 50%;
            background-color: #F5F5F5;
            border: 1px solid rgba(0, 0, 0, .15);
            border-radius: 5px;
            transition: ease-in-out all 500ms;
        }

        .stellarnav.light .menu-toggle.active {
            width: 100%;
            border-bottom-left-radius: 0px;
            border-bottom-right-radius: 0px;
        }

        .stellarnav.light.desktop {
            background: #F5F5F5;
        }
    /*Blue */
    .stellarnav.blue {
        background: #2E4986;
    }

        .stellarnav.blue ul ul {
            background: #2E4986;
        }

        .stellarnav.blue li a {
            color: #fff;
        }

        .stellarnav.blue .menu-toggle, .stellarnav.blue .call-btn-mobile, .stellarnav.blue .location-btn-mobile {
            color: rgba(0, 0, 0, 1);
        }

    /* dark theme */
    .stellarnav.dark {
        background: rgba(0, 0, 0, 1);
    }

        .stellarnav.dark ul ul {
            background: rgba(0, 0, 0, 1);
        }

        .stellarnav.dark li a {
            color: #FFF;
        }

        .stellarnav.dark .menu-toggle, .stellarnav.dark .call-btn-mobile, .stellarnav.dark .location-btn-mobile {
            color: rgba(255, 255, 255, 1);
        }
    /* sticky nav */
    .stellarnav.fixed {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 999;
    }

/* only used when 'scrollbarFix' is set to true in the js. This fixes horizontal scrollbar caused by the dd menus that are very long.*/
body.stellarnav-noscroll-x {
    overflow-x: hidden;
}

/* general styling */
.stellarnav li.has-sub > a:after {
    content: '\f0da';
    font-family: FontAwesome;
    margin-left: 10px;
}

.stellarnav li li.has-sub > a:after {
    content: '\f0da';
    font-family: FontAwesome;
    margin-left: 10px;
}

.stellarnav li.drop-left li.has-sub > a:after {
    float: left;
    content: '\f0da';
    font-family: FontAwesome;
    margin-right: 10px;
}

.stellarnav.hide-arrows li.has-sub > a:after, .stellarnav.hide-arrows li li.has-sub > a:after, .stellarnav.hide-arrows li.drop-left li.has-sub > a:after {
    display: none;
}

.stellarnav .menu-toggle, .stellarnav .close-menu, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile {
    display: none;
    text-transform: uppercase;
    text-decoration: none;
}

.stellarnav .dd-toggle {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    width: 48px;
    height: 48px;
    text-align: center;
    z-index: 9901;
    border: 0;
}

    .stellarnav .dd-toggle i {
        position: absolute;
        margin: auto;
        top: 33%;
        left: 0;
        right: 0;
        -webkit-transition: transform .3s ease-out;
        -moz-transition: transform .3s ease-out;
        transition: transform .3s ease-out;
    }

    .stellarnav .dd-toggle.open {
        color: #333;
    }

.stellarnav.mobile > ul > li > a.dd-toggle {
    padding: 0;
}

.stellarnav li.call-btn-mobile, .stellarnav li.location-btn-mobile {
    display: none;
}

.stellarnav li.open > a.dd-toggle i {
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    -o-transform: rotate(135deg);
    transform: rotate(135deg);
}

/* Fallback for slow javascript */
@media only screen and (max-width : 768px) {
    .stellarnav {
        overflow: hidden;
        display: block;
    }

        .stellarnav ul {
            position: relative;
            display: none;
        }
}

/* mobile nav */

.stellarnav .menu-toggle, .stellarnav .call-btn-mobile, .stellarnav .location-btn-mobile {
    color: #777;
    padding: 15px;
    box-sizing: border-box;
    text-align: center;
    font-size: 1.2em;
}

.stellarnav .full {
    width: 100%;
}

.stellarnav .half {
    width: 50%;
}

.stellarnav .third {
    width: 33%;
    text-align: center;
}

.stellarnav .location-btn-mobile.third {
    text-align: center;
}

.stellarnav .location-btn-mobile.half {
    text-align: right;
}

.stellarnav.light .third, .stellarnav.light .half {
    border-left: 1px solid rgba(0, 0, 0, .15);
}

    .stellarnav.light .third:first-child, .stellarnav.light .half:first-child {
        border-left: 0;
    }

.stellarnav.blue .third, .stellarnav.blue .half {
    border-left: 1px solid rgba(0, 0, 0, .15);
}

    .stellarnav.blue .third:first-child, .stellarnav.blue .half:first-child {
        border-left: 0;
    }

.stellarnav.dark .third, .stellarnav.dark .half {
    border-left: 1px solid rgba(255, 255, 255, .15);
}

    .stellarnav.dark .third:first-child, .stellarnav.dark .half:first-child {
        border-left: 0;
    }

.stellarnav.mobile {
    position: static;
}

    .stellarnav.mobile.fixed {
        position: static;
    }

    .stellarnav.mobile ul {
        position: relative;
        display: none;
    }

    .stellarnav.mobile.active {
        padding-bottom: 0;
    }

        .stellarnav.mobile.active > ul {
            display: block;
        }

    .stellarnav.mobile ul {
        text-align: left;
    }

    .stellarnav.mobile > ul > li {
        display: block;
    }

        .stellarnav.mobile > ul > li > a {
            padding: 15px;
            font-size: 1.3em;
        }

        .stellarnav.mobile ul ul {
            position: relative;
            opacity: 1;
            visibility: visible;
            width: auto;
            display: none;
            -moz-transition: none;
            -webkit-transition: none;
            -o-transition: color 0 ease-in;
            transition: none;
        }

            .stellarnav.mobile ul ul ul {
                left: auto;
                top: auto;
            }

    .stellarnav.mobile li.drop-left ul ul {
        right: auto;
    }

    .stellarnav.mobile li a {
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .stellarnav.mobile > ul {
        border-top: 1px solid rgba(255, 255, 255, .15);
    }

    .stellarnav.mobile.light li a {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }

    .stellarnav.mobile.light > ul {
        border-top: 1px solid rgba(0, 0, 0, .15);
    }

    .stellarnav.mobile.blue li a {
        border-bottom: 1px solid rgba(0, 0, 0, .15);
    }

    .stellarnav.mobile.blue > ul {
        border-top: 1px solid rgba(0, 0, 0, .15);
    }

    .stellarnav.mobile li a.dd-toggle {
        border: 0;
    }

    .stellarnav.mobile.light li a.dd-toggle {
        border: 0;
    }


    .stellarnav.mobile.light li.topLevel ul {
        border-right: 0;
        border-left: 0;
    }

    .stellarnav.mobile.light li.topLevel > a.dd-toggle {
        height: 58px
    }

    /*first level sub menus*/
    .stellarnav.mobile.light li.topLevel ul li a:not(.dd-toggle) {
        font-size: 1em;
        padding-left: 1em;
    } 

    .stellarnav.mobile.light li.topLevel ul li a.dd-toggle {
        height: 41px;
        width: 48px;
    }

    /*second level sub menus*/
    .stellarnav.mobile.light li.topLevel ul li ul li a:not(.dd-toggle){
        padding-left: 2em;
    }

    .stellarnav.mobile.blue li a.dd-toggle {
        border: 0;
    }

    .stellarnav.mobile .menu-toggle, .stellarnav.mobile .dd-toggle, .stellarnav.mobile .close-menu, .stellarnav.mobile .call-btn-mobile, .stellarnav.mobile .location-btn-mobile {
        display: inline-block;
    }

    .stellarnav.mobile li.call-btn-mobile {
        border-right: 1px solid rgba(255, 255, 255, .1);
        box-sizing: border-box;
    }

    .stellarnav.mobile li.call-btn-mobile, .stellarnav.mobile li.location-btn-mobile {
        display: inline-block;
        width: 50%;
        text-transform: uppercase;
        text-align: center;
    }

        .stellarnav.mobile li.call-btn-mobile.full, .stellarnav.mobile li.location-btn-mobile.full {
            display: block;
            width: 100%;
            text-transform: uppercase;
            border-right: 0;
            text-align: left;
        }

        .stellarnav.mobile li.call-btn-mobile i, .stellarnav.mobile li.location-btn-mobile i {
            margin-right: 5px;
        }

    /*.stellarnav.mobile.light ul {
        background: #2E4986;
    }*/

    .stellarnav.mobile.blue ul {
        background: #2E4986;
    }

    .stellarnav.mobile.dark ul {
        background: rgba(0, 0, 0, 1);
    }

        .stellarnav.mobile.dark ul ul {
            background: rgba(255, 255, 255, .08);
        }

    .stellarnav.mobile.light li.call-btn-mobile {
        border-right: 1px solid rgba(0, 0, 0, .1);
    }

    .stellarnav.mobile.blue li.call-btn-mobile {
        border-right: 1px solid rgba(0, 0, 0, .1);
    }

    .stellarnav.mobile.top {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 9901;
    }

    .stellarnav.mobile li.has-sub > a:after, .stellarnav.mobile li li.has-sub > a:after, .stellarnav.mobile li.drop-left li.has-sub > a:after {
        display: none;
    }
/* mobile nav */
@media only screen and (max-width : 420px) {
    .stellarnav.mobile .call-btn-mobile.third span, .stellarnav.mobile .location-btn-mobile.third span {
        display: none;
    }
}
