#nav {
	position: absolute;
	margin-right: 160px;
}
#nav > a {
	display: none;
}
#nav li {
	position: relative;
	list-style:none;
}
#nav li a {
	color: #fff;
	display: block;
}
#nav li a:active {
	background-color: #0078ff !important;
}
#nav span:after {
	width: 0;
	height: 0;
	border: 0.313em solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #cbcbcb;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	left: -0.313em; /* 5 */
}
/* first level */

#nav > ul > li {
	float: right;
    list-style: outside none none;
}
#nav > ul > li > a {
	color: #8b8b8b;
    font-size: 13px;
    padding: 14px;
}
#nav > ul > li:not( :last-child ) > a {
	border-left: 1px solid #f1f1f1;
}
#nav > ul > li:hover > a,  #nav > ul:not( :hover ) > li.active > a {
	background-color: #f1f1f1;
}
/* second level */

#nav li ul {
	background-color: #fff;
	display: none;
	position: absolute;
	top: 100%;
	width:180px;
	z-index:99999999999
}
#nav li:hover ul {
	display: block;
	left: 0;
	right: 0;
}
#nav li ul a {
	border-top: 1px solid #f1f1f1;
    font-size: 12px;
    padding: 0.75em;
	color:#8b8b8b
}
#nav li ul li a:hover,  #nav li ul:not( :hover ) li.active a {
	background-color: #f1f1f1;
}

@media only screen and ( max-width: 62.5em ) /* 1000 */ {
#nav {
	width: 100%;
	position: static;
	margin: 0;
}
}

@media only screen and ( max-width: 40em ) /* 640 */ {

#nav {
	position: relative;
	top: auto;
	right: auto;
}
#nav > a {
	background-color: #dbdbdb;
    height: 4em;
    position: relative;
    text-align: right;
    text-indent: -9999px;
    width: 4em;
}
#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;
	z-index:999999999999999999;
}
#nav:target > ul {
	display: block;
}
#nav > ul > li {
    background: #fff none repeat scroll 0 0;
    float: right;
    height: 100%;
    width: 100%;
}
#nav > ul > li > a {
	font-size: 13px;
    height: 100%;
    padding: 14px 25px;
}
#nav > ul > li:not( :last-child ) > a {
	border-right: none;
	border-bottom: 1px solid #f1f1f1;
}
/* second level */

#nav li ul {
	position: static;
	padding: 1.25em; /* 20 */
	padding-top: 0;
}
}


.clearfix:after					{ visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
* html .clearfix 				{ zoom: 1; }
*:first-child+html .clearfix	{ zoom: 1; }
.cleaner 						{ height: 0; line-height: 0; clear: both; }