.stellarnav {
    position: relative;
    z-index: 9900;
    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 15px;
    display: block;
    text-decoration: none;
    color: #555;
    font-size: 12px;
    box-sizing: border-box;
    -webkit-transition: all .3s ease-out;
    -moz-transition: all .3s ease-out;
    transition: all .3s ease-out;
    text-align: right;
}

/* main level */

.stellarnav > ul > li {
    display: inline-block;
}
.stellarnav > ul > li > a {
    padding: 23px 12px;
    font-size: 12px;
    color: #ddd;
}
.stellarnav > ul > li.menu-item-has-children { 
transition:all .3s;
-webkit-transition:all .3s;
-moz-transition:all .3s;
-o-transition:all .3s;
 }
.stellarnav > ul > li > a:hover,.stellarnav > ul > li.menu-item-has-children:hover { 
color:#fff;
background-color:#023450;
 }
/* first level dd */

.stellarnav ul ul {
    top: auto;
    width: 220px;
    position: absolute;
    z-index: 9900;
    text-align: left;
    display: none;
    background: #ddd;
}
.stellarnav ul ul li a:hover { 
color:#000;
}

.stellarnav li li {
    display: block;
}
/* second level dd */

.stellarnav ul ul ul {
    top: 0;
    /* dd animtion - change to auto to remove */
    left: 220px;
}

.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;
}
/* 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: "\f107";
    font-family: 'FontAwesome';
    margin-right: 4px;
}

.stellarnav li.has-sub:hover > a:after {
    content: "\f106";
}

.stellarnav li li.has-sub > a:after {
    content: '\f104';
    font-family: 'FontAwesome';
    margin-left: 10px;
    transition: all .4s;
}

.stellarnav li.drop-left li.has-sub > a:after {
    float: left;
    content: '\f104';
    font-family: 'FontAwesome';
    margin-left: 10px;
    margin-top: 7px;
}

.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 {
    display: none;
    text-transform: uppercase;
    text-decoration: none;
}

.stellarnav .call-btn-mobile {
    display: none;
}

.stellarnav .dd-toggle {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0;
    width: 48px;
    height: 43px;
    text-align: center;
    z-index: 9999;
    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.mobile > ul > li > a.dd-toggle {
    padding: 0;
}

.stellarnav li.call-btn-mobile,
.stellarnav li.call-btn-location {
    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 {
    color: #ddd;
    padding: 15px;
}
.stellarnav .menu-toggle i {
    font-size: 20px;
}

.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;
}

.stellarnav.mobile ul {
    background: rgba(221, 221, 221, 1);
}

.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 li.has-sub > a {
    padding-right: 50px;
}

.stellarnav.mobile.light li a {
    border-bottom: 1px solid rgba(0, 0, 0, .15);
}

.stellarnav.mobile li a.dd-toggle {
    border: 0;
}

.stellarnav.mobile.light li a.dd-toggle {
    border: 0;
    background-color: #3498DB;

}

.stellarnav.mobile .menu-toggle,
.stellarnav.mobile .dd-toggle,
.stellarnav.mobile .close-menu {
    display: 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.call-btn-location {
    display: inline-block;
    width: 50%;
    text-transform: uppercase;
    text-align: center;
}

.stellarnav.mobile li.call-btn-mobile.full,
.stellarnav.mobile li.call-btn-location.full {
    display: block;
    width: 100%;
    text-transform: uppercase;
    border-right: 0;
    text-align: left;
}

.stellarnav.mobile li.call-btn-mobile i,
.stellarnav.mobile li.call-btn-location i {
    margin-right: 5px;
}

.stellarnav.mobile.light ul {
    background:#333;
}
.stellarnav.mobile.light ul ul li.has-sub {
    padding:0 10px;
}
.stellarnav.mobile.light ul ul {
    background: #444;
}
.stellarnav.mobile.light ul ul ul {
    background: #555;
    margin-top: 10px;
}
.stellarnav.mobile.light ul ul ul ul {
    background: #666;
}

.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.top {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
}

.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 */