@charset "utf-8";
/* CSS Document */

#nav {
	width: 100%; /* 1000 */
	font-family: Arial, Helvetica, sans-serif;
	position: absolute;
	top: 0;
	left: 0px;height:33px; padding-top:5px;
}
#nav > a {
	display: none;
}
#nav li {
	position: relative;
}
#nav li a {
	color: #444;
	display: block;
}
#nav li a:active {
	background-color: #d3d3d3 !important;
}
#nav span:after {
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #efa585;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}
/* first level */

#nav > ul { /* 60 */
padding:0px 5px;
}
#nav > ul > li {
	height: 100%;
	float: left;
}
#nav > ul > li > a {
	height: 100%;
	font-size: 1.25em; /* 24 */
	line-height: 28px; /* 60 (24) */
	text-align: center; padding:0px 1em; margin:0px 0.75em;
}
#nav > ul > li:not( :last-child ) > a {/*
	border-right: 1px solid #cc470d;*/
}
#nav > ul > li:hover > a,  #nav > ul:not( :hover ) > li.active > a {
	background-color: #2884e2; color:#fff; text-decoration:none;
}
/* second level */

#nav li ul {
	background-color: #fff;
	display: none;
	position: absolute;
	top: 100%; z-index:99999999;width:170px;
	margin-left: 0.75em;
}
#nav li:hover ul {
	display: block; padding-top:6px;
	left: 0.75em;
	right: 0; width:170px;
}
#nav li:not( :first-child ):hover ul {
	left: 0px;width:170px;
}
#nav li ul a {
	font-size: 12px; /* 20 */
	padding: 6px 10px; /* 15 (20) */ line-height:18px; color:#333;
}
#nav li ul li { border:none;}
#nav li ul li a:hover,  #nav li ul:not( :hover ) li.active a {
	
}
 /* 1000 */@media screen and ( max-width: 940px )  {
#nav {
	width: 100%;
	position: static;
	margin: 0;
	text-align: center;
}
#nav > ul > li > a {
	height: 100%;
	font-size: 1.25em; /* 24 */
	line-height: 33px; /* 60 (24) */
	text-align: center; padding:0px 1.25em;
}
}
@media screen and ( max-width: 860px )  {
#nav > ul > li > a {
	height: 100%;
	font-size: 1.25em; /* 24 */
	line-height: 33px; /* 60 (24) */
	text-align: center; padding:0px 1em;
}
}

@media screen and ( max-width: 720px )  {
#nav > ul > li > a {
	height: 100%;
	font-size: 1.25em; /* 24 */
	line-height: 33px; /* 60 (24) */
	text-align: center; padding:0px 10px;
}
}
 /* 640 */@media screen and ( max-width: 640px )  {
html {
	font-size: 75%; /* 12 */
}
#nav {
	position: relative;
	top: auto;
	left: auto;
}
#nav > a {
	width: 3.125em; /* 50 */
	height: 3.125em; /* 50 */
	text-align: left;
	text-indent: -9999px;
	background-color: #0c2a92;
	position: relative;
}
#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 > ul {
	height: auto;
	display: none;
	position: absolute;
	left: 0;
	right: 0;
}
#nav:target > ul {
	display: block; z-index:999999999; background:#d3d3d3;
}
#nav > ul > li {
	width: 100%;
	float: none;
}
#nav > ul > li > a {
	height: auto;
	text-align: left;
	padding: 6px 10px; /* 15 (20) */ line-height:18px;
}
#nav > ul > li:not( :last-child ) > a {
	border-right: none;
	border-bottom: 1px solid #bbb;
}
/* second level */
#nav li:not( :first-child ):hover ul {
	left: 0px;width:100%;
}
#nav li ul {
	position: static;
	padding: 1.25em 0.75em; /* 20 */
	padding-top: 0; width:100%;
}
}
