/* Modernized ©2018 Alexander Govyazin (aka AGr0) */
.l{ 
 margin-top:3px;
 margin-right:5px;
 z-index:-10;
 width:32px;
/* height:32px'*/
}
.zag{
 z-index:10;
}
/* Clearfix */
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1.2;
}
/* Основные стили */
nav {
/*    height: 40px;*/
 width: 1000;
 font-size: 12pt;
 font-family: Arial, sans-serif;
 font-weight: bold;
 position: relative;
 opacity:.7;
 background-color:#fc8;
 text-shadow: 1px 1px 2px black, 0 0 1em black;
 border-radius:16px;
}
nav ul {
    margin: auto;
    width: 95%;
/*    width: 768px;*/
}
nav li {
 display: inline;
 float: left;
}
nav a {
    color: #fff;
    display: inline-block;
    font-size: 12pt;
/*    width: 100px;*/
    padding:0 10px;
    text-align: center;
    text-decoration: none;
    line-height: 40px;
    text-shadow: 1px 1px 1px #000;
}
nav li a {
    /*border-right: 1px solid #576979;*/
    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box;
}
nav li:last-child a {
 border-right: 0;
}
nav a:hover, nav a:active {
 color: #ff0;
 text-shadow: 1px 1px 1px black, 0 0 1em black;
 border-radius:12px;
 background: linear-gradient(to top, #444 0%, #ccc 50%, #444 100%);
/* background-color: #8c99a4;
 /*box-shadow: 3px 3px 10px 5px #888, 0 0 4px rgba(0, 0, 0, .5) inset;*/
}
nav a#pull {
    display: none;
}
/* Стили для экранов 600px и меньше */
@media screen and (max-width: 600px) {
   .logo{display: none;
   }
    nav {
	height: auto;
    }
    nav ul {
	width: 100%;
	display: block;
	height: auto;
    }
    nav li {
	width: 45%;
	float: left;
	position: relative;
    }
    nav li a {
	border-bottom: 1px solid #576979;
	border-right: 1px solid #576979;
    }
    nav a {
  	text-align: left;
  	width: 100%;
  	text-indent: 25px;
    }
    nav {
	border-bottom: 0;
    }
    nav ul {
	display: none;
	height: auto;
    }
    nav a#pull {
    	display: block;
	width: 100%;
	position: relative;
    }
    nav a#pull:after {
	content:"";
	background: no-repeat;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAC9JREFUeNpi/P//PwM1AQsQU9VEJgYqg8FvICgMGUeel0eTzWiyGU02Qz/ZAAQYAOPcBjEdYroKAAAAAElFTkSuQmCC);
	width: 30px;
	height: 30px;
	display: inline-block;
	position: absolute;
	right: 15px;
	top: 10px;
    }
 .ruosp{
	width:90%;
 }
 .video{
	width:90%;
 } 
}
/* Смартфоны */
@media only screen and (max-width : 320px) {
    nav li {
	display: block;
	float: none;
	width: 100%;
    }
    nav li a {
	border-bottom: 1px solid #576979;
    }
}
/*Стили для скрытого выпадающего меню*/
.subm li > ul {
 position:absolute;
 display:none;
 z-index:1;
 background-color:#ccc;
 border-radius:12px;
}
.subm li > ul a {
 width:180px;
 padding:0 5;
 text-align: left;
}
.subm li > ul a:hover {
}
/*Делаем скрытую часть видимой*/
.subm li:hover > ul{
 display:block; 
 width:180px;  /*Задаем ширину выпадающего меню*/
 list-style:none;
 margin-left: 5px;
 padding:0 0;
}
/*Убираем горизонтальное позиционирование*/
.subm li:hover > ul > li {
 float:none !important;
}
