@charset "utf-8";
/* CSS Document */
.clearfixs::after
{
	content: '';
	display: table;
	clear: both;

}
#nav
{
	width: 96.5%; /*60em;*/ /* 1000 */
	
	/*font-weight: bold;*/
	position: relative;
	margin: 0 auto;
	z-index: 20000;

	/*margin-left: -30em;*/ /* 30 480 */
}


#nav > a
{
	display: none;

}

#nav li
{
	position: relative;

}
#nav li a
{
	color: #3C3C3C;/*#fff;*/
	display: block;
}
#nav li a:active
{
	background-color: #EF7700 !important;
}

#nav span:after{
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #3C3C3C;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.313em; /* 5 */
}


			/* first level */

#nav > ul
{
	height: 3em;/*3.75em;*/ /* 60 */
	background-color: #EFEFEF;
	list-style: none;
	margin-left: -5px;

}
#nav > ul > li
{
	/*width: 25%;*/
	width: 16.66%;
	height: 100%;
	float: left;
}
#nav > ul > li > a
{
	height: 100%;
	font-size: 0.9em; /* 24 */
	line-height: 1.9em;/*2.5em;*/ /* 60 (24) */
	text-align: center;
	padding: 10px;
}
#nav > ul > li:not( :last-child ) > a
{
	border-right: 1px solid #ccc;/*#cc470d;*/
}
#nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.active > a
{
	background-color: #cc470d;
	color: #ffffff;
}


				/* second level */

#nav li ul
{
	background-color: #cc470d;
	display: none;
	position: absolute;
	top: 100%;
	list-style: none;
	margin-left: -20px;
	/*width: 150px;*/
	width: 186px;
	margin-left: 0;
}
#nav li:hover ul
{
	display: block;
	left: 0;
	right: 0;
}
#nav li:not( :first-child ):hover ul
{
	left: -1px;
}
#nav li ul a
{
	font-size: 0.9em;/*1.25em;*/ /* 20 */
	border-top: 1px solid #e15a1f;
	padding: 0.75em; /* 15 (20) */
	color: #ffffff;
}
#nav li ul li a:hover, #nav li ul:not( :hover ) li.active a
{
	background-color: #e15a1f;
}

/* 1000 */
/*@media only screen and ( max-width: 62.5em ) { 
	#nav
	{
		width: 100%;
		position: static;
		margin: 0;
		z-index: 2000;
	}
}*/
@media only screen and ( max-width: 58.5em ) { /* 640 */
#nav > ul > li > a > img,#nav li ul a img{
	width: 15%;
	/*font-size: 0.8em;*/
}

}

@media only screen and ( max-width: 50.5em ) { /* 640 */
#nav > ul > li > a, #nav li ul a {
	
	font-size: 0.8em;
	
}
#nav > ul > li > a > img, #nav li ul a img{
	width: 0;
	font-size: 0.8em;
	
}
}