.nav-wrapper{
	position:relative;
	text-align:center;
	background:#f9f9f9;
	border-top:1px solid #efeff0;
}
.nav-wrapper.logged{
	top:44px;
}

.site-nav {
	position:relative;
	z-index: 1000;
	display:inline-block;
	text-align:center;
	padding:0 0;
}

.site-nav .nav-icon-close, .site-nav .subnav-icon {
    display: none;
}

.site-nav ul.menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 1003;
	display:inline-block;
}

.site-nav ul.menu > li {
    display: inline-block;
}
.site-nav ul.menu > li > a {
	border-top:1px solid #efeff0;
	border-left:1px solid #f9f9f9;
	border-right:1px solid #f9f9f9;
	color:#3d3e3e;
    display: block;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
	padding:0 1em;
    font-size: 1em;
	z-index:2;
	line-height:3.313em;
	margin-top:-1px;
}


.site-nav ul.menu > li.appointment > a {
	border-top:1px solid #9eb2c7; /* PRIMARY COLOR LIGHT */
	border-left:1px solid #9eb2c7; /* PRIMARY COLOR LIGHT */
	border-right:1px solid #9eb2c7; /* PRIMARY COLOR LIGHT */
	background:#9eb2c7; /* PRIMARY COLOR LIGHT */
	color:#fff;
}



.site-nav ul.menu > li.current-menu-item > a{
	color:#CFA85D;   /* LINK HOVER COLOR */
	background:#fff;
	border-top:1px solid #fff;
	border-left:1px solid #efeff0;
	border-right:1px solid #efeff0;

}

.site-nav ul.menu > li > a:hover{
}
.site-nav ul.menu > li:hover > a {
	color:#CFA85D;   /* LINK HOVER COLOR */
	background:#fff;
	border-top:1px solid #fff;
	border-left:1px solid #efeff0;
	border-right:1px solid #efeff0;
}

.site-nav ul.menu > li.appointment:hover > a {
		border-top:1px solid #607a96; /* PRIMARY COLOR */
	border-left:1px solid #607a96; /* PRIMARY COLOR */
	border-right:1px solid #607a96; /* PRIMARY COLOR */
	background:#607a96; /* PRIMARY COLOR */
	color:#fff;
}


.nav-behind{
	position:relative;
	display:block;
	height:0;
	background:#f9f9f9;
}

/* ////////// --------------------------------- ////////// */
/* ////////// ----------- Sub Nav ------------- ////////// */
/* ////////// --------------------------------- ////////// */


.site-nav .sub-menu {
    text-align:left;
	border:0;
    padding:0;
    margin:0;
	background:#fff; 
    height: 0;
    left: 0;
	list-style:none;
    opacity: 0;
    overflow: hidden;
    position: absolute;
	text-transform:uppercase;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition: transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1), opacity 150ms ease-out;
    -webkit-transition: opacity 150ms ease-out, -webkit-transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1);
    transition: opacity 150ms ease-out, -webkit-transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1);
    transition: transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1), opacity 150ms ease-out;
    transition: transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1), opacity 150ms ease-out, -webkit-transform 150ms cubic-bezier(0.175, 0.885, 0.32, 1);
    -webkit-transition-delay: 200ms;
    transition-delay: 200ms;
    width: 16em;
    z-index: 1000;
	
		-webkit-box-shadow: 0px 7px 22px -4px rgba(92,92,92,0.3);
		 box-shadow: 0px 7px 22px -4px rgba(92,92,92,0.3);
	
	
}




.site-nav .sub-menu li {
    position: relative;
	border-top:1px solid #efeff0;
}


.site-nav .sub-menu li:first-child{
	border-top:none;
}

.site-nav .sub-menu a {
	color:#3d3e3e;
    display: block;
    padding: 0.5em 1.5em;
	font-size:.875em;
}


.site-nav .sub-menu a:hover {
	background:#f9f9f9;  
}



.site-nav .sub-menu .icon {
    fill: #f97c13;
    height: 11px;
    margin-top: -6px;
    position: absolute;
    right: 1em;
    top: 50%;
    width: 6px;
}


.site-nav .menu> li:hover > .sub-menu {
    height: auto;
    opacity: 1;
    overflow: visible;
    padding: 0 0;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}
.site-nav .sub-menu .sub-menu {
    left: 16em;
    top: 0;
}
.site-nav .sub-menu li:hover .sub-menu {
    height: auto;
    opacity: 1;
    overflow: visible;
    padding: 0 0;
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}
.site-nav-overlay {
    display: none;
}







/* ////////// --------------------------------- ////////// */
/* ////////// --------- Footer Nav ------------ ////////// */
/* ////////// --------------------------------- ////////// */


footer .menu{
	list-style:none;
	padding:0;
	margin:2em 0;
}
footer .menu li{
	display:inline-block;
	margin:0 10px;
}

footer .menu li a{
	text-decoration:none;
	color:#fff;
	text-transform:uppercase;
	font-size:1.250em;

}

footer .menu li a:hover{
	text-decoration:underline;
}










/* ////////// --------------------------------- ////////// */
/* ////////// -------- Media Queries ---------- ////////// */
/* ////////// --------------------------------- ////////// */

@media only screen and (max-width: 768px) {
    .nav-behind{
        display:none;
    }
    div#mg-wprm-wrap form.wpr-search-form button.wpr_submit{
        margin:8px 0 0 0;
    }
}

@media only screen and (max-width: 1000px) {
	
	.nav-behind{
	background:#f9f9f9;
		height:53px;
	border-top:1px solid #efeff0;
	
	}
	
	
	
	.site-nav ul.menu {display:none;}
	
	.site-nav{
		margin:0;
		width:100%;
	}
	
	
	
	.nav-wrapper{
		width:100%;
		float:none;
		margin:0;
		padding:0;
		height:0;
		text-align:left;
	}
	
	.nav-icon{
		fill:#3d3e3e;
	}
	
	
	
	
	
	.nav-wrapper.mobile{
		position:relative;
		top:0;
		left:0;
		background:#e2e3e4;
		height:auto;
	}
	
	.nav-wrapper.mobile .site-nav ul.menu {display:block;margin:0 20px 20px 20px;}

	
	.site-nav ul.menu > li {
		display:block;
		width:100%;
	}
	
	.site-nav ul.menu > li > a {
		color:#3d3e3e;
		border-top:0;
		border-left:0;
		border-right:0;
		border-bottom:0;
		line-height: 2.6em;

	}

	.site-nav ul.menu > li:hover > a {
		background:none;
		color:#3d3e3e;
		border-top:0;
		border-left:0;
		border-right:0;
		border-bottom:0;
	}
	.site-nav ul.menu > li > a:hover {
			color:#23a3e2;   /* LINK HOVER COLOR */
			background:none;
			border-top:0;
			border-left:0;
			border-right:0;
			border-bottom:0;
	}
	
	.site-nav .menu-item-has-children .subnav-icon {
		background:#607a96;  /* PRIMARY COLOR */
		cursor: pointer;
		display: block;
		position: absolute;
		right: 0;
		top: 0;
		width: 3em;
		height:45px;
		z-index: 1000;
	}
	
	
	.site-nav .subnav-icon:hover {
		background:#4b6684;  /* PRIMARY COLOR DARK */
	}
	
	
	.site-nav .subnav-icon:before, .site-nav .subnav-icon:after {
		background: #fff;
		content: "\0020";
		display: block;
		height: 2px;
		left: 19px;
		position: absolute;
		top: 20px;
		-webkit-transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1);
		transition: all 300ms cubic-bezier(0.175, 0.885, 0.32, 1);
		width: 10px;
	}
	.site-nav .subnav-icon:after {
		-webkit-transform: rotate(90deg);
		transform: rotate(90deg);
	}
	.site-nav .subnav-icon:hover:before, .site-nav .subnav-icon:hover:after {
		background: #fff;
	}
	.site-nav .subnav-icon.active:before {
		-webkit-transform: rotate(-45deg);
		transform: rotate(-45deg);
	}
	.site-nav .subnav-icon.active:after {
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}
	
	.site-nav .sub-menu li.menu-item-has-children .subnav-icon{
		height:30px;
	}
	
	.site-nav .sub-menu li .subnav-icon:before, .site-nav .sub-menu li .subnav-icon:after {
		top:14px;
	}
	
	.site-nav .sub-menu li.menu-item-has-children .subnav-icon.active{
		background:#185182;
	}
	
	.site-nav .sub-menu li.menu-item-has-children .subnav-icon.active:hover{
		background:#123e65;
	}
	
	.site-nav .menu{
		height: 100%;
		overflow-y: auto;
		padding: 1em 0;
	}
	.site-nav .menu> li {
		display: block;
		margin: 0;
		border-top:1px solid #c8c6c6;
	}
	.site-nav .menu li:first-child {
		
		border-top:0;
	}
	
	
	.site-nav .menu> li > a {
		color: #fff;
		font-size: 1em;
		height:45px;
		text-align:left;
		line-height: 2.6em;
	}
	
	
	.site-header.fixed .site-nav .menu> li:hover > a {

	}
	
	

	
	
	.site-nav .sub-menu {
		color:#3d3e3e;
		background: none;
		-webkit-box-shadow: none;
		box-shadow: none;
		display: none;
		height: auto;
		opacity: 1;
		overflow: visible;
		position: static;
		-webkit-transform: none;
		transform: none;
		-webkit-transition: none;
		transition: none;
		-webkit-transition-delay: 0;
		transition-delay: 0;
		width: auto;

		
		
		
	}
	.site-nav .sub-menu.active {
		display:block;
		background:none; 
		padding:0;
	}
	
	.site-nav .menu> li:hover > .sub-menu.active {
		padding:0;
	}
	
	.site-nav .sub-menu.active .sub-menu.active {

	}
	

	

	.site-nav .sub-menu li{
		border-top:0;
	}
	.site-nav .sub-menu .subnav-icon {
		height:30px;
	}

	.site-nav .sub-menu a {
		border-top:1px solid #c8c6c6;
		color:#3d3e3e;
		font-size: 0.875em;
		line-height:30px;
		padding: 0 1.25em;
		height:30px;
	}
	.site-nav .sub-menu a:hover {
		color:#23a3e2;   /* LINK HOVER COLOR */
		background:none;
	}
	.site-nav .sub-menu .icon {
		display: none;
	}
	.site-nav .sub-menu .sub-menu, .site-nav .sub-menu li:hover .sub-menu {
		padding: 0.5em .5;
	}
	.site-nav .sub-menu .sub-menu li {
		font-size: 1em;
	}
	
	
	
	
	
	
	
	
	
	
}

@media only screen and (max-width: 410px) {
	footer .menu li{
		display:inline-block;
		width:100%;
		margin:5px 10px;
	}
}
