/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* Основные стили */

nav {
	height: 40px;
	width: 100%;
	font-size: 11pt;
	font-family:Arial, sans-serif;
	font-weight: normal;
	position: relative;

}
nav ul {
	padding: 0;
	margin: 0 auto;
	width: 100%;
	height: 40px;
}
nav li {
width: 19%;
	display: inline;
	float: left;
}
@media only screen and (max-width : 900px) {
	nav li {
		font: 12px arial, sans-serif;
	}
	nav li a {
		       white-space: nowrap;

	}
}

nav a {
	color: #fff;
	display: inline-block;
	width: 100%;
	text-align: center;
	text-decoration: none;
	line-height: 40px;

}
nav li a {
	overflow: hidden;
		border-right: 1px solid #f2f2f2;
	border-radius: 0 10px 10px 0;
	box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-box-sizing:border-box;
}

nav a:hover, nav a:active {
	background-color: #fed104;
	color:#000;
}
nav a#pull {
	display: none;
}


/*Стили для экранов 515px и меньше*/
@media only screen and (max-width : 600px) {
	nav {
		height: auto;
		border-bottom: 0;
	}
	nav ul {
		width: 100%;
		display: none;
		height: auto;
	}
		nav li {
		display: block;
		float: none;
		width: 100%;
		font: 14px arial, sans-serif;
	}
	nav li a {
		border-bottom: 1px solid #f2f2f2;
		border-right: 1px solid #f2f2f2;
	}
	  	nav a {
	  	text-align: left;
	  	width: 100%;
	  	text-indent: 25px;
  	}
	nav a#pull {
		display: block;
		width: 100%;
		position: relative;
	}
	nav a#pull:after {
		content:"";
		background: url('/local/templates/sibelectrod/components/bitrix/menu/Top_menu/images/nav-icon.png') no-repeat;
		width: 30px;
		height: 30px;
		display: inline-block;
		position: absolute;
		right: 15px;
		top: 10px;
	}
}

















