#nav {
	width: 100%; /* 1000 */
    #position: absolute;
	top:-20px;
    #margin-left: -30em; /* 30 480 */
	z-index:99999;
}
#nav > a {
	display: none;
}
#nav li {
	position: relative;
	list-style-type:none;
}
#nav li a {
	color: #fff;
	display: block;
	padding:8px 15px;
	text-decoration:none;
	transition:.5s;
	border-radius:35px;
}
#nav span:after {
	width: 0;
	height: 0;
	border: 0 solid transparent; /* 5 */
	border-bottom: none;
	border-top-color: #555555;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
}
/* first level */

#nav > ul {
 #height: 3.75em; /* 60 */
 background-color:;
}
#nav > ul > li {
 width:;
	height: 100%;
	float: left;
}
#nav > ul > li > a {
	height: 100%;
 	#line-height: 2.5em; /* 60 (24) */
	text-align: center;
}
 #nav > ul > li:not( :last-child ) > a {
 border-right: 0 solid #555555;
}
 #nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.active > a {
 background-color: #dc3545;
 color:#fff;
}
/* second level */

#nav li ul {
 	background-color:;
	display: none;
	position: absolute;
	top: 100%;
	z-index:999999;
}
#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: 12px; /* 20 */
	border-top: 1px solid #dc3545;
	padding:10px 12px; /* 15 (20) */
	width:220px;
	background:#252431;
	transition:.3s;
	color:#fff;
	font-weight:600;
	text-transform:uppercase;
	margin-top:10px;
}
 #nav li ul li a:hover, #nav li ul:not( :hover ) li.active a {
	 background-color:#dc3545;
	 color:#fff;
}
@media only screen and (max-width :1050px) {
 #nav {
	 width: 100%;
	 position: static;
	 margin: 0;
}
}
@media only screen and (max-width :1050px) {

 #nav {
 position: relative;
 top: auto;
 left: 0%;
}
/*update-css*/
 #nav > a {
 width:37px; /* 50 */
 height: 37px; /* 50 */
 text-align: left;
 text-indent: -9999px;
 background-color: #dc3545 ;
 position: absolute;
 right:1%;
 top:-135px;
 border-radius:180px;
 border-color: #fff;
}
/*update-css*/
 .smaller #nav > a {
 width:37px; /* 50 */
 height: 37px; /* 50 */
 text-align: left;
 text-indent: -9999px;
 background-color: #dc3545 ;
 position: absolute;
 right:1%;
 top:-135px;
 border-radius:180px;
 border-color: #fff;
}
 #nav > a:before, #nav > a:after {
 	display: block;
    content: '';
    position: absolute;
    height:7px;
    width:20px;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    right:8px;
    top: 12px;
	border-color: #fff;
}

#nav > a:before, #nav > a::after,
#nav > a:before, #nav > a:after::before {
    border-color: #D91F1F;
  }
  
  
 #nav > a:after {
 top:46%; 
}
 #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;
 right: 0;
  width:100%;
  background:#252431;
  color:#fff;
}
 #nav:target > ul {
 display: block;
}
 #nav > ul > li {
 width: 100%;
 float: none;
}
 #nav > ul > li > a {
 height: auto;
 text-align: left;
 width:100%;
 padding:12px 3%;
color:#fff;
border-radius:0;
}
 #nav > ul > li:not( :last-child ) > a {
 border-right: none;
 border-bottom: 1px solid #313131;
}

#nav li ul a {
	font-size: 13px; /* 20 */
	border-top: 1px solid #555;
	padding:8px 3%; /* 15 (20) */
	width:100%;
	background:#505050;
	transition:.3s;
}
/* second level */

#nav li ul {
 position: static;
 padding-top: 0;
 display:block
}



}
.current-menu-item a{
	background-color: #dc3545 !important;
	color:#fff !important;
}
