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

#nav {
	width: 100%; /* 1000 */
	top: 0;
	left: 0px; 
}
#nav > a {
	display: none; 
}
#nav li {
	position: relative;
}
#nav li a {
	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;
}
#nav > ul > li {
	height: 100%;
	float: left; 
}
#nav > ul > li > a {
	height: 100%;
	line-height: 48px; /* 60 (24) */
	text-align: center;padding:0px 1.5em; color:#fff; 
}
#nav > ul > li:not( :last-child ) > a {/*
	border-right: 1px solid #cc470d;*/
}
#nav > ul > li:hover > a,  #nav > ul:not( :hover ) > li.active > a {
	color:#fff; text-decoration:none; background:#ff5500
}

#nav > ul > li.cur a {color:#fff;}
/* second level */

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

@media screen and ( max-width: 720px )  {
#nav > ul > li > a {
	height: 100%;
	font-size: 1em; /* 24 */
	text-align: center; padding:0px 0.9em; margin:0px;
}
}
 /* 640 */@media screen and ( max-width: 640px )  {
html {
	font-size: 75%; /* 12 */
}#nav > ul > li.cur a {
    color: #444;
}
#nav > ul > li > a {color:#444;
}

#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: #272e34;
	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:#f3f3f3;
}
#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 #ddd;
}
/* 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%;
}
}
