/* The main container */
.nav {
	/* Layout & positioning */
	display: block;
	position: relative;
	margin: 0;
	padding: 0;
	/*width: 750px;*/ /* CHANGE this if you want another width or remove it if you want the width of the container */
	height: 43px;
	list-style: none;

	/* Background */
	background: #ff0000;
	z-index:5;
}

.nav>li {
	display: block;
	float: left;
	margin: 0;
	padding: 0;
	position: relative;
}

/* The main navigation links */
.nav>li>a {
	/* Layout & positioning */
	display: block;
	padding: 15px 20px;
	line-height: 13px;     	
     
	/* Typography */
	font-family: Helvetica, Arial, sans-serif;
	text-decoration: none;
	font-size: 13px;
	color: #fff;
	font-weight: bold;
	
	/* Effects */
	-webkit-transition: background .2s;
	-moz-transition: background .2s;
	-o-transition: background .2s;
	-ms-transition: background .2s;
}

/* The hover state of the navigation links */
.nav>li>a:hover, .nav>li:hover>a {
	background: #f01e27;
}

.nav>.dropdown>a {
	padding-right: 25px;
}



/* General submenu styling */
.nav ul {
	position: absolute;
	list-style: none;
	margin: 0;
	padding: 0;
	padding: 7px 0;
	background: #fff;
	left: -9999px;
	border-bottom: 1px solid #d8d8d8;
	border-left: 1px solid #d8d8d8;
	border-right: 1px solid #d8d8d8;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
	width:220px;
}

.nav ul li {
	position: relative;
	background: #fff;
	padding: 0 9px;
	width: 0px;
	height: 0px;
	-webkit-transition: height .3s, width .3s;
	-moz-transition: height .3s, width .3s;
	-o-transition: height .3s, width .3s;
	-ms-transition: height .3s, width .3s;
}

/* Level 1 submenus */
.nav>li:hover>ul {
	left: 0px;
}

/* Level 2+ submenus */
.nav ul ul {
	border-top: 1px solid #d8d8d8;
}

.nav ul>li:hover>ul {
	top: -8px;
	left: 200px; /* 148px; */
}

/* Expanding the submenus on hover */
.nav li:hover>ul>li {
	width: 200px; /*130px;*/
	height: 25px;
}
 
/* The links of the submenus */ 
.nav ul li a {
	
	display: block;
	position: relative;
	padding:  5px 10px;
	border-radius: 3px;
	width: 170px; /*110px;*/
	
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	text-decoration: none;
	color: #f23e46;
	
	-webkit-transition: all .2s;
	-moz-transition: all .2s;
	-o-transition: all .2s;
	-ms-transition: all .2s;
}

/* The hover state of the submenu links */
.nav ul li a:hover, .nav ul li:hover>a {
	background: #f23e46;
	color: #fff;
}
