
/*===== Навигация nav ======*/

#fdw nav ul {
	display:block;
	z-index:999999;
	font-family: 'Roboto', sans-serif;
	padding: 0px;
}
#fdw nav ul li {
	display:inline-block;
  margin-left: 8px;
	padding-bottom: 15px;
	position:relative;
}
#fdw nav ul.main_menu li a.main_menu_a{
	color:#444;
	display:inline-block;
	position:relative;
	padding: 10px 15px;
	border: 2px solid #acce11;
	border-radius: 5px;
	text-decoration: none;
}

#fdw nav ul li span.arrow {
	right: -15px;
  width: 8px;
  height: 8px;
  margin-top: 7px;
	margin-left: 10px;
  float: right;
  display: block;
  background: url(/images/arrow_nav.svg) no-repeat left 0px;
  transition: transform .3s;
}

/*===== Стили для sub_menu =======*/
#fdw nav ul li ul.sub_menu {
	position:absolute;
	top:55px;
	left:0px;
	margin:0;
	padding:0;
	background: #ededed;
	display:none;
	z-index:999999;
	max-height: 145px;
	overflow: auto;
	width: auto;
	padding-right: 20px;
	border-right: 5px solid #ededed;
	border-top: 5px solid #ededed;
	border-bottom: 5px solid #ededed;
	/*===== Тени =======*/
	-webkit-box-shadow: 0px 20px 47px 1px rgba(201,199,201,1);
	-moz-box-shadow: 0px 20px 47px 1px rgba(201,199,201,1);
	box-shadow: 0px 20px 47px 1px rgba(201,199,201,1);
}
#fdw nav ul li .arrow_top {
	position: absolute;
	top: 45px;
	left: 5px;
	width: 20px;
	height: 10px;
	display: block;
	border: none;
	background: url(/images/arrow_top.png) no-repeat left 0px;
	display: none;
}
#fdw nav ul li ul.sub_menu li {
	color:#444;
	display:block;
	position:relative;
  padding: 8px 0px;
	text-decoration: none;
	float:none;
	border-bottom:1px solid #ececec;
}

#fdw nav ul li ul.sub_menu li a {
	color: #444;
	text-decoration: none;
	padding: 0px 5px;
	white-space: nowrap;
}
#fdw nav ul li ul.sub_menu li a:hover {
	background:#acce18;
	color:#333;
}

/*===========================================*/


@media only screen and (min-width: 768px) and (max-width: 959px) {
		/* nav */
		#fdw nav ul li{
			margin-left:12px;
		}
}

	/* Для всех мобильных устройств */
@media only screen and (max-width: 767px) {

		#fdw nav select {
			width:100%;
			display:block;
			margin-bottom:30px;
			cursor:pointer;
			padding:6px;
			background:#f9f9f9;
			border:1px solid #e3e3e3;
			color:#777;
		}
}
