nav {
	z-index: 99;
	height: 53px;
	width: 100%;
	margin: 4px auto;
	clear: left;
	position: relative;
}
#hmenu,
#hmenu ul,
#hmenu ul li,
#hmenu ul li a,
#hmenu #menu-button {
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
	line-height: 13px;
	display: block;
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
#hmenu {
	float: left;
	margin-left: 18px;
}
#hmenu:after,
#hmenu > ul:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}
#hmenu #menu-button {
	display: none;
}
.htom {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.htom:before {
	content: "";
	position: absolute;
	z-index: -1;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ffbb02;
	-webkit-transform: scaleY(0);
	transform: scaleY(0);
	-webkit-transform-origin: 50% 0;
	transform-origin: 50% 0;
	-webkit-transition-property: transform;
	transition-property: transform;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-timing-function: ease-out;
	transition-timing-function: ease-out;
}
.htom:hover, .htom:focus, .htom:active {
  color: white;
}
.htom:hover:before, .htom:focus:before, .htom:active:before {
  -webkit-transform: scaleY(1);
  transform: scaleY(1);
}
#hmenu > ul > li {
	float: left;
	width: auto;
	text-align: center;
	font-weight: bold;
}
#hmenu.align-center > ul {
	font-size: 0;
	text-align: center;
}
#hmenu.align-center > ul > li {
	display: inline-block;
	float: none;
}
#hmenu.align-center ul ul {
	text-align: left;
}
#hmenu.align-right > ul > li {
	float: right;
}
#hmenu.align-right ul ul {
	text-align: right;
}
#hmenu > ul > li > a {
	padding: 18px 0;
	font-size: 15px;
	text-decoration: none;
	color: #FFF;
	-webkit-transition: color .2s ease;
	-moz-transition: color .2s ease;
	-ms-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
	width: 122px;
	text-align: center;
	text-shadow: 1px 1px 2px #000;
}
#hmenu > ul > li:hover > a,
#hmenu > ul > li.active > a {
	color: #FFF;
}
#hmenu ul ul {
	position: absolute;
	left: -9999px;
}
#hmenu li:hover > ul {
	left: auto;
}
#hmenu.align-right li:hover > ul {
	right: 0;
}
#hmenu ul ul ul {
	margin-left: 100%;
	top: 0;
}
#hmenu.align-right ul ul ul {
	margin-left: 0;
	margin-right: 100%;
}
#hmenu ul ul li {
	height: 0;
	-webkit-transition: height .2s ease;
	-moz-transition: height .2s ease;
	-ms-transition: height .2s ease;
	-o-transition: height .2s ease;
	transition: height .2s ease;
}
#hmenu ul li:hover > ul > li {
	height: auto;
}
#hmenu ul ul li a {
	padding: 8px 6px;
	width: 188px;
	font-size: 13px;
	background-color: #FED800;
	text-decoration: none;
	color: #FFF;
	-webkit-transition: color .2s ease;
	-moz-transition: color .2s ease;
	-ms-transition: color .2s ease;
	-o-transition: color .2s ease;
	transition: color .2s ease;
	text-align: left;
	text-shadow: 1px 1px 2px #000;
}
#hmenu ul ul li:hover > a,
#hmenu ul ul li a:hover {
	color: #FFF;
	background-color: #000;
}
#hmenu ul ul li.parent > a::after {
	position: absolute;
	top: 12px;
	right: 10px;
	width: 8px;
	height: 8px;
	border-bottom: 2px solid #000;
	border-right: 2px solid #000;
	content: "";
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transition: border-color 0.2s ease;
	-moz-transition: border-color 0.2s ease;
	-ms-transition: border-color 0.2s ease;
	-o-transition: border-color 0.2s ease;
	transition: border-color 0.2s ease;
}
#hmenu.align-right ul ul li.parent > a::after {
	right: auto;
	left: 10px;
	border-right: 0;
	border-top: 1px solid #000;
	border-left: 1px solid #000;
}
#hmenu ul ul li.parent:hover > a::after {
	border-color: #FFF;
}
.active {
	box-shadow: 0px 2px 0px 0px #ffbb02 inset;
}
.stickytop {
	position: fixed;
	top: 0;
	margin-top: 0;
	height: 53px;
	width: 100%;
	background-color: rgba(33,29,29,1.00);
}
.poisk {
	margin: 3px 0 0 0;
	display: block;
	position: absolute;
	right: 3%;
}
.poisk form {
	position: relative;
	width: 184px;
	margin: 7px auto 0 auto;
	border: 1px solid #7B7B7B;
	background-color: #2B2B2B;
	border-radius: 4px;
}
.poisk input, .poisk button {
  border: none;
  outline: none;
  background: transparent;
}
.poisk input {
	width: 100%;
	height: 28px;
	padding-left: 7px;
	color: #FFF;
	font-size: 11px;
}
.poisk button {
	height: 26px;
	width: 27px;
	position: absolute;
	top: 1px;
	right: 0;
	cursor: pointer;
	background-color: #AF1B16;
}
.poisk button:before {
	content: "\e804";
	font-family: fontello;
	font-size: 14px;
	color: #D8D8D8;
}
.search-pl::-webkit-input-placeholder {color:#BFBFBF;}
.search-pl::-moz-placeholder {color:#BFBFBF;}
.search-pl:-moz-placeholder {color:#BFBFBF;}
.search-pl:-ms-input-placeholder {color:#BFBFBF;}
@media (max-width:998px){
nav {
	width: 100%;
}
#hmenu > ul > li > a {
	font-size: 13px;
	width: 108px;
}
.poisk {
	right: 20px;
}
}
@media (max-width:900px){
nav {
	background-color: rgba(33,29,29,0.56);
}	
  #hmenu {
	width: 100%;
	margin-left: 0;
}
  #hmenu ul {
    width: 100%;
    display: none;
  }
  #hmenu > ul > li > a {
	padding: 20px;	  
	font-size: 15px;
	width:auto;
}
  .open {
	background-color: #3A3A3A;
  }
  #hmenu.align-center > ul,
  #hmenu.align-right ul ul {
    text-align: left;
  }
  #hmenu ul li,
  #hmenu ul ul li,
  #hmenu ul li:hover > ul > li {
	width: 100%;
	height: auto;
	border-top: 1px solid #B9B9B9;
  }
  #hmenu ul li a,
  #hmenu ul ul li a {
 	width: 100%;
  }
  #hmenu > ul > li,
  #hmenu.align-center > ul > li,
  #hmenu.align-right > ul > li {
    float: none;
    display: block;
  }
  #hmenu ul ul li a {
    padding: 20px 20px 20px 30px;
  }
  #hmenu ul ul ul li a {
    padding-left: 40px;
  }
  #hmenu ul ul,
  #hmenu ul ul ul {
    position: relative;
    left: 0;
    right: auto;
    width: 100%;
    margin: 0;
  }
  #hmenu > ul > li.parent > a::after,
  #hmenu ul ul li.parent > a::after {
    display: none;
  }
  #hmenu #menu-button {
	display: block;
	padding: 20px;
	color: #FFF;
	cursor: pointer;
	text-shadow: 1px 1px 2px #000;
	text-transform: uppercase;
	font-weight: bold;
  }
  #hmenu .submenu-button {
	position: absolute;
	z-index: 10;
	right: 0;
	top: 0;
	display: block;
	border-left: 1px solid rgba(204,204,204,1.00);
	height: 52px;
	width: 52px;
	cursor: pointer;
  }
  #hmenu .submenu-button::after {
    content: '';
    position: absolute;
    top: 21px;
    left: 26px;
    display: block;
    width: 1px;
    height: 11px;
    background: #EBEBEB;
    z-index: 99;
  }
  #hmenu .submenu-button::before {
    content: '';
    position: absolute;
    left: 21px;
    top: 26px;
    display: block;
    width: 11px;
    height: 1px;
    background: #EBEBEB;
    z-index: 99;
  }
  #hmenu .submenu-button.submenu-opened:after {
    display: none;
  }
}
.krohi {
	float: left;
	font-size: 13px;
	font-weight: bold;
	font-style: oblique;
	margin: 8px 0 0 40px;
	display: block;
}
.lort li {
	float: left;
	list-style: none;
}
.breadcrumb li + li:before{
  content:  '/';
  margin:   0 5px;
}  
@media (max-width:830px){
.krohi {
    font-size: 12px;
	margin: 8px 0 0 -25px;
}	
}
.sviaz a:link, .sviaz a:visited, .sviaz a:hover {
	color: #FFF;
	text-shadow: 2px 2px rgba(61,61,61,1.00);
}
.hp {
	font-size: 18px;
	font-weight: normal;
	margin-right: 6px;
}
.zaiavka {
	background-color: #A70002;
	padding: 6px 29px 2px 10px;
	font: bold 13px "Gill Sans", "Gill Sans MT", "Myriad Pro", "DejaVu Sans Condensed", Helvetica, Arial, sans-serif;
	position: fixed;
	bottom: 0;
	right: 6%;
	display: block;
	width: auto;
	border-left: 2px solid #CBCBCB;
	border-right: 2px solid #CBCBCB;
	border-top: 2px solid #CBCBCB;
	border-top-right-radius: 40px;
	border-top-left-radius: 9px;
	z-index: 3349;
}
.zaiavka:hover  {
	background-color: #2DA83E;
}
.panel {
    background-color: #444;
    height: 34px;
    padding: 10px;
}
.panel a#login_pop, .panel a#join_pop {
    border: 2px solid #aaa;
    color: #fff;
    display: block;
    float: right;
    margin-right: 10px;
    padding: 5px 10px;
    text-decoration: none;
    text-shadow: 1px 1px #000;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.6);
    bottom: 0;
    cursor: default;
    left: 0;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    visibility: hidden;
    z-index: 999;
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    -ms-transition: opacity .5s;
    -o-transition: opacity .5s;
    transition: opacity .5s;
}
.overlay:target {
    visibility: visible;
    opacity: 1;
}
.popup, .panel a#join_form {
    background-color: #fff;
    border: 3px solid #fff;
    display: inline-block;
    left: 50%;
    opacity: 0;
    padding: 15px;
    position: fixed;
    text-align: justify;
    top: 40%;
    visibility: hidden;
    z-index: 99999;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    -webkit-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -moz-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -ms-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -o-box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    box-shadow: 0 1px 1px 2px rgba(0, 0, 0, 0.4) inset;
    -webkit-transition: opacity .5s, top .5s;
    -moz-transition: opacity .5s, top .5s;
    -ms-transition: opacity .5s, top .5s;
    -o-transition: opacity .5s, top .5s;
    transition: opacity .5s, top .5s;
    min-width: 280px;
}
.overlay:target+.popup {
    top: 50%;
    opacity: 1;
    visibility: visible;
}
.bl-imp, label, textarea{
	display: block;
	width: 100%;
}
.bl-imp, textarea{
	margin: 0 0 4px 0;
	border: 2px solid #DDDDDD;
	padding: 7px 2%;
}
input.submit_button{
	font-size: 15px;
	line-height: 19px;
	display: block;
	padding: 9px 3%;
	background-color: #900020;
	font-variant: normal;
	font-weight: bold;
	color: #FFF;
	width: 100%;
	cursor: pointer;
	border: none;
	z-index: 99;
}
input.submit_button:hover{
	background-color: #CC0000;
}
span.required,
span.error{
   color: #ff0000;
}
span.required{
    font-size: 18px;
}
span.error{
    font-size: 11px;
        display: block;
}
.alter{
	color: #FFF;
	cursor: pointer;
	font-size: 28px;
	text-decoration: none;
	position: absolute;
	right: 7px;
	top: 7px;
	border-radius: 6px;
	width: 29px;
	padding: 0 0 0 6px;
	height: 29px;
	display: inline-block;
	font-weight: bold;
	background-color: #F90004;
}
.alter:visited {
   color: #FFF;	
}
.alter:hover {
	background-color: #810002;
	color: #FFF;	
}
.ftxt {
    font-size: 17px;
    margin: 16px auto;
    display: block;
    text-align: center;
    font-weight: bold;
}
.sog {
	font-size: 10px;
	padding: 12px 0;
	display: inline-block;
	vertical-align: middle;
}
.ysy {
   max-width: 260px;
   text-align: left;
}
.pagination{
	clear: both;
	padding: 10px;
	text-align: center;
	font-size: 13px;
	display: inline-block;
	margin-top: 4px;
	font-weight: bold;
}
.pagination ul{
	list-style: none;
}
.pagination ul li{
    display: inline;
}
.pagination a {
	margin: 3px;
	padding: 4px 0;
	text-decoration: none;
	color: #000;
	border: 1px solid #878787;
	display: inline-block;
	width: 34px;
	float: left;
}
.pactive {
	background-color: #FFD900;
}
.pagination a:active{
    background:#FFF;
}
.pagination a:hover{
	background-color: #ffbb02;
	color: #FFF;
}
