
#nav {
	width: 55em; /* 880 */
	position: absolute;
	top: 0%;
	left: 100px;
	z-index:999;
}
#nav > a {
	display: none;
}
#nav li {
	position: relative;
	z-index:10;
}
#nav li a {
	color: #fff;
	display: block;
}
#nav li a:active {
	background-color: #4eb0ae !important;
}
#nav li.menu-item-has-children > a:after {
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #fff;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}
#nav li ul li.menu-item-has-children > a:after{
	width: 0;
	height: 0;
	border: 4px solid transparent;/* 5 */
	/* border-bottom: none; */
	border-left-color: #fff;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -5px;/* 5 */
}
/* first level */

#nav div > ul {
	height: 3.125em; /* 50 */
}
#nav div > ul > li {
	width: 12.5%;
	height: 100%;
	float: left;
}
#nav div > ul > li > a {
	height: 100%;
	font-size: 0.875em; /* 14 */
	line-height: 3.57em; /* 50 (14) */
	text-align: center;
}
#nav div > ul > li:not( :last-child ) > a {
	/*border-right: 1px solid #cc470d;*/
}
#nav div > ul > li:hover > a,  #nav div > ul:not( :hover ) > li.active > a {
	background-color: #05a4a1;
}
/* second level */

#nav li ul {
	background-color: #05a4a1;
	display: none;
	position: absolute;
	top: 100%;

}
#nav li:hover  > ul {
	display: block;
	left: 0;
	right: 0;
}
#nav li:hover ul li:hover ul{
	
left: 100%;
	
position: absolute;
	
top: 0;
	
display: table;
}
#nav li:not( :first-child ):hover ul {
	left: -1px;
}
#nav li ul a {
	font-size: 0.75em; /* 12 */
	line-height:3em;
	text-align:center;
}
#nav li ul li a:hover,  #nav li ul:not( :hover ) li.active a {
	background-color: #4eb0ae;
}
 @media only screen and ( max-width: 64em ) /* 1024 */ {
#nav {
	width:100%;
	top:50px;
	left:0;
}
}
 @media only screen and ( max-width: 49em ) /* 780 */ {
#nav {
	position:absolute;
	width:10em;
	top:0.5em;
	left:100%;
	margin-left:-10em;
	z-index:9999;
}
#nav > a {
	/* width: 3.125em; */ /* 50 */
	/* height: 3.125em; */ /* 50 */
	width: 2.5em;
	height: 2.5em;
	text-align: left;
	text-indent: -9999px;
	background-color: #4eb0ae;
	position: relative;
	left:6.875em;
	border: 1px solid #fff;
	margin-bottom: 7px;
}
#nav > a:before,  #nav > a:after {
	position: absolute;
	border: 2px solid #fff;
	top: 35%;
	left: 25%;
	right: 25%;
	content: '';
}
#nav > a:after {
	top: 60%;
}
#nav:not( :target ) > a:first-of-type,  #nav:target > a:last-of-type {
	display: block;
}
/* first level */

#nav div > ul {
	height: auto;
	display: none;
	position: absolute;
	left: 0;
	right: 0;
	background:#4eb0ae;
}
#nav:target div > ul {
	display: block;
}
#nav div > ul > li {
	width: 100%;
	float: none;
}
#nav div > ul > li > a {
	height: auto;
	text-align: left;
	padding: 0 0.833em; /* 20 (24) */
}
#nav div > ul > li:not( :last-child ) > a {
	border-right: none;
	border-bottom: 1px solid #05a4a1;
}
/* second level */
#nav li ul {
	position: static;
	padding: 1.25em; /* 20 */
	padding-top: 0;

}

img.aligncenter
{
	text-align:center;
}