/* all nav */
.navbar { position: relative; width: 100%; z-index: 9900; line-height: normal; }
.navbar ul { margin: 0; padding: 0; text-align: center; }
.navbar li { list-style: none; display: block; margin: 0; padding: 0; position: relative; line-height: normal; vertical-align: middle; }
.navbar li a { padding: 15px; display: block; text-decoration: none; color: #777; 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 */
.navbar > ul > li { display: inline-block;  }
.navbar > ul > li > a { padding: 20px 40px; }

/* first level dd */
.navbar ul ul { top: auto; width: 220px; position: absolute; z-index: 9900; text-align: left; display: none; background: #ddd; }
.navbar li li { display: block; }

/* second level dd */
.navbar ul ul ul { top: 0; /* dd animtion - change to auto to remove */ left: 220px; }
.navbar > ul > li:hover > ul > li:hover > ul { opacity: 1; visibility: visible; top: 0; }

/* .drop-left */
.navbar > ul > li.drop-left > ul { right: 0; }
.navbar li.drop-left ul ul { left: auto; right: 220px; }

/* light theme */
.navbar.light { background: rgba(255, 255, 255, 1); }
.navbar.light ul ul { background: rgba(255, 255, 255, 1); }
.navbar.light li a { color: #000; }
.navbar.light .menu-toggle { color: rgba(0, 0, 0, 1); }

/* dark theme */
.navbar.dark { background: rgba(0, 0, 0, 1); }
.navbar.dark ul ul { background: rgba(0, 0, 0, 1); }
.navbar.dark li a { color: #FFF; }
.navbar.dark .menu-toggle { color: rgba(255, 255, 255, 1); }
/* sticky nav */ 
.navbar.fixed { position: fixed; width: 100%; top: 0; left: 0; z-index: 9999; }

/* 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.navbar-noscroll-x { overflow-x: hidden; }

/* general styling */
.navbar li.has-sub > a:after { content: '\f0d7'; font-family: 'FontAwesome'; margin-left: 10px; }
.navbar li li.has-sub > a:after { content: '\f0da'; font-family: 'FontAwesome'; margin-left: 10px; }
.navbar li.drop-left li.has-sub > a:after { float: left; content: '\f0d9'; font-family: 'FontAwesome'; margin-right: 10px; }
.navbar.hide-arrows li.has-sub > a:after, .navbar.hide-arrows li li.has-sub > a:after, .navbar.hide-arrows li.drop-left li.has-sub > a:after { display: none; }
.navbar .menu-toggle, .navbar .close-menu { display: none; text-transform: uppercase; text-decoration: none; }
.navbar .call-btn-mobile { display: none; }
.navbar .dd-toggle { display: none; position: absolute; top: 0; right: 0; padding: 0; width: 48px; height: 48px; text-align: center; z-index: 9999; border: 0; }
.navbar .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; }
.navbar.mobile > ul > li > a.dd-toggle { padding: 0; }
.navbar li.call-btn-mobile, .navbar li.call-btn-location { display: none; }
.navbar 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) {
	.navbar { overflow: hidden; display: block; }
	.navbar ul { position: relative; display: none; }
}*/

.navbar { overflow: hidden; display: block; }
.navbar ul { position: relative; display: none; }

/* mobile nav */
.navbar .menu-toggle { color: #777; padding: 15px; float: right; }
.navbar .menu-toggle i {font-size: 17px; }
.navbar.mobile { position: fixed; }
.navbar.mobile.fixed { position: fixed; }
.navbar.mobile ul { position: relative; display: none; clear: right;}
.navbar.mobile.active { padding-bottom: 0; }
.navbar.mobile.active ul { display: block; position: fixed; overflow-y: scroll; overflow-x: hidden; width: 100%; top: 52px; bottom: 0px;}
.navbar.mobile ul { text-align: left; }
.navbar.mobile > ul > li { display: block; }
.navbar.mobile > ul > li > a { padding: 15px; }
.navbar.mobile ul { background: rgba(221, 221, 221, 1); }
.navbar.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; }
.navbar.mobile ul ul ul { left: auto; top: auto; }
.navbar.mobile li.drop-left ul ul { right: auto; }
.navbar.mobile li a { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.navbar.mobile li:last-child a { border-bottom: none; }
.navbar.mobile li.has-sub a { padding-right: 50px; }
.navbar.mobile.light li a { border-bottom: 1px solid rgba(0, 0, 0, .15); }
.navbar.mobile li a.dd-toggle { border: 0; } 
.navbar.mobile.light li a.dd-toggle { border: 0; }
.navbar.mobile .menu-toggle, .navbar.mobile .dd-toggle, .navbar.mobile .close-menu  { display: block; }
.navbar.mobile li.call-btn-mobile { border-right: 1px solid rgba(255, 255, 255, .1); box-sizing: border-box; }
.navbar.mobile li.call-btn-mobile, .navbar.mobile li.call-btn-location { display: inline-block; width: 50%; text-transform: uppercase; text-align: center; }
.navbar.mobile li.call-btn-mobile.full, .navbar.mobile li.call-btn-location.full { display: block; width: 100%; text-transform: uppercase; border-right: 0; text-align: left; }
.navbar.mobile li.call-btn-mobile i, .navbar.mobile li.call-btn-location i { margin-right: 5px; }
.navbar.mobile.light ul { background: rgba(255, 255, 255, 1); }
.navbar.mobile.dark ul { background: rgba(0, 0, 0, 0.95); border-bottom:52px solid #000;}
.navbar.mobile.dark ul li a:hover { background: rgba(255, 255, 255, .08); }
.navbar.mobile.dark ul ul { background: rgba(255, 255, 255, .08); }
.navbar.mobile.light li.call-btn-mobile { border-right: 1px solid rgba(0, 0, 0, .1); }
.navbar.mobile.top { position: absolute; width: 100%; top: 0; left: 0; z-index: 99999; }
.navbar.mobile li.has-sub > a:after, .navbar.mobile li li.has-sub > a:after, .navbar.mobile li.drop-left li.has-sub > a:after { display: none; }
/* mobile nav */
/*Prevent content scrolling when navbar is open*/
.noscroll {
    overflow: hidden;
}