*{outline:0; margin:0; padding:0;} 

@font-face {
    font-family: 'Clarus';
    src: url('fonts/classicrussianplain-webfont.eot');
    src: url('fonts/classicrussianplain-webfont.eot?iefix') format('eot'),
         url('fonts/classicrussianplain-webfont.woff') format('woff'),
         url('fonts/classicrussianplain-webfont.ttf') format('truetype'),
         url('fonts/classicrussianplain-webfont.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

html,body{width:100%; height:100%;}
body{font:14px/17px Arial, Tahoma, Verdana, sans-serif; color:#1E1E1E;}

table{border-collapse:collapse; border:0;}
td{padding:2px; vertical-align:top;}

ul,ol{margin-left:20px;}
img{border:0;}

p{text-indent:10px; padding:3px 0;}

#leftbar h4{padding:15px 20px; ; font-size:15px; font-weight:bold; text-align:left; background:url(images/lefttitle.png) top center no-repeat; text-transform: uppercase;}
#leftbar h4 > a{color:#fff; text-decoration: none!important;}
#leftbar h4 > a:hover{color:#fff; text-decoration: underline!important;}

a{color:#45a852;}
a:link, a:visited{text-decoration:underline;}
a:hover{text-decoration:none;}
a.re{text-decoration:none;}
a.re:hover{text-decoration:underline;}
a.no, a.no:hover{text-decoration:none;}
.aslink, .error, .starrequired{color:#45a852!important;}
.ok{color:green;}
.astext{color:#45a852!important;}
.biglink{font-size:15px;}
.padding4{display:block; padding:4px 0px;}
.right{float:right;}
.clear{clear:both;}
.hr{margin:6px 3px; height:2px; background:url(images/hr.png) top center repeat-x;}
.hrleft{margin:10px 0; height:8px; background:url(images/hrleft.png) top center no-repeat;}
.hrcontent{margin:0px 0px 10px; height:8px; background:url(images/hrmain.png) top center repeat-x;}


#container{min-width:1150px; margin:auto;
//	width:expression(document.body.clientWidth < 1150? "1150px": "100%");
}
#header{text-align:left; min-height:130px; position:relative;
	background:url(images/header.png?v=3) top left repeat-x; 
}

.gerbcont{position:absolute; left:7px; top:18px;}
.gerbheader{position:relative; text-align:center; padding:6px 0 0 6px;}
.gerbheader img{height:90px;}
.gerbmask{position:absolute; left:7px; top:-2px; background:url(images/flagcont.png?v=3) top left no-repeat; width:89px; height:103px;}
.gerbself{overflow:hidden; width:90px; height:110px;}

.mainsearch{position:absolute; top:25px; right:0px; }
.mainsearch .textinput{
	background:#fff; 
	border:0px; 
	border-bottom:2px solid #c24a34; 
	padding:2px 25px 2px 4px; 
	margin:0;
	margin-right: 20px; 
	width:244px; 
	color: gray; 
	border-top: 2px solid gray; 
	border-left: 2px solid gray; 
	border-bottom: 2px solid lightgray;
	border-right: 2px solid lightgray;
	}
.mainsearch div {border-bottom: 1px solid #5c5c5c; padding-bottom: 5px; padding-top: 30px; width: 200px; float: right; }
.mainsearch div a{text-align:right; color:#5c5c5c; font-size:14px; font-weight: bold; display:block; padding:9px 20px 0 0; text-decoration: none;}
.mainsearch div a img{ padding:0 5px 0 0; position: relative; top: 2px;}

.mainlinkcont{padding:22px 0 0 114px; position:relative;margin-right:310px;}
.mainlinkcont > a > span{text-transform: uppercase; font-family:"Georgia";}
.mainlink{font-family:"Georgia"; color:white; font-size:22px; line-height:27px; text-decoration:none; display:block; height: 55px; overflow: hidden; }

@media screen and (max-width: 1200px) {
	   .mainlink{font-family:"Georgia"; color:white; font-size:20px; line-height:27px; text-decoration:none; display:block; height: 55px; overflow: hidden; }
	}
@media screen and (max-width: 1000px) {
	   .mainlink{font-family:"Georgia"; color:white; font-size:18px; line-height:27px; text-decoration:none; display:block; height: 55px; overflow: hidden; }
	}
@media screen and (max-width: 800px) {
	   .mainlink{font-family:"Georgia"; color:white; font-size:16px; line-height:27px; text-decoration:none; display:block; height: 55px; overflow: hidden; }
	}
.img-head-cont{position:relative; margin-top:0; width:120px; text-align:center;}

.podmenutop{padding-top:11px; font-family: Arial, Tahoma, Verdana, sans-serif; text-transform: uppercase;}
.podmenutop a{color:white; text-decoration:none; font-weight:bold; padding-right:12px; font-size:11px;}
.podmenutop a:hover{text-decoration:underline;}

#topmenu{width:100%; background:#dedede url(images/bgmenu.png); font-size:13px; margin-top:0px; margin-bottom:22px;}
#topmenu td{padding:0; text-align:center; cursor:pointer; height: 41px;}
#topmenu td > a{color: #636363; font-weight: bold;position: relative; top: 12px;}
#topmenu td div{position:relative;}

#topmenu td:hover{background:#828282;}
#topmenu td:hover a{color:#e7ffd6;}
#topmenu td:hover a span.leftbut{background:url(images/leftbut.png) top left;  width:34px; height: 41px; float: left; }
#topmenu td:hover a span.rightbut{background: url(images/rightbut.png) top right; width:34px; height: 41px; float: right; margin-top: -12px\0/;}
#topmenu td a span.leftbut{background:none;  width:34px; height: 41px; float: left; }
#topmenu td a span.rightbut{background: none;width:34px;height: 41px; float: right;}

#topmenu td:hover li a{color:#1E1E1E;}
#topmenu a{color:#1E1E1E; text-decoration:none;}

#topmenu ul{display:none; list-style:none; position:absolute; top:24px; margin:0 auto; padding:0; z-index:100; background: #eee url(images/bgsecondmenu.png) repeat-x;  padding-top: 15px;}
#topmenu li{width:100%; padding:0!important;margin:0;}
#topmenu li a{display:block; padding:7px 1px 9px; background:#eee; font-weight: normal;}
#topmenu li a{color:#1E1E1E;}
#topmenu li:hover a{background:#828282; color:#e7ffd6!important;}
#topmenu li .hr{margin:1px 5px;}

.glava{text-align:left;}
.glava img{width:185px; margin-left:25px; 
	-webkit-box-shadow: 2px 2px 20px #777;
	-moz-box-shadow:2px 2px 20px #777;
	box-shadow: 2px 2px 2px #777;
}
.nameofglava{font-size:17px; font-weight:normal; padding:5px 15px 15px;  text-align:left; background:#45a852; color: #fff; font-family: Georgia, Verdana, sans-serif;  }
.nameofglava2{font-size:15px; padding:15px 15px 5px; text-align:left; margin-top:15px; background:#45a852; color: #fff; font-style: italic; font-family: Georgia, Verdana, sans-serif;}
.glavamenu{margin-bottom:15px;  background: #dedede url(images/bgsecondmenu.png) repeat-x;  padding: 15px 0 15px;}
.glavamenu a{display:block; padding:8px 15px; color: #000; text-decoration:none; font-size:15px; text-align:left; font-style: italic;}
.glavamenu a:hover{background:#45a852; color: #fff; }

#leftbar {float:left; width:270px; position:relative; z-index:1;}
#rightcontainer{margin-left:-270px; float:right; width:100%;}
#rightcol{margin-left:270px;}
#content{float:left; width:100%; margin-right:0;}
#leftbar  div.leftcontentbg {background: #eee url(images/bgsecondmenu.png) repeat-x;  padding: 10px 5px;}

#leftbar .innerbar{margin:0 9px 0 9px;}
#rightbar .innerbar{margin:0 0 0 0;}

#content .innerbar{margin:0 15px 0 0; padding:15px;}

.titlein{font-size:18px!important; font-weight:normal;  margin-left: 10px; }
.hrtitle{border-bottom: 1px solid #cfcfcf; padding:5px 0 5px; margin-bottom: 10px; width: 200px; }

#footer {clear:both; text-align:left; font-size:13px; padding:15px; border-top:2px solid #45a852;}
.podpis{width:485px;}
#footer .hr{background:#888; margin:3px 0 10px 0;}
.copy{width:605px;}
#footer #muob{font-size:22px; padding:10px 0 0 64px; font-family:"Clarus"; float:left;}
.twim{font-size:9px; display:block; text-align:center;}
#counter{font-size:12px; padding:10px 0 10px 10px; background:url(images/counter.png) right center no-repeat; width:224px; overflow:hidden; position:relative;}
#counter .value_count{letter-spacing:6px; position:absolute; top:10px; right:-2px;}

.counters{
	 float:left;
	 width:224px;
}
.counter_out{
	float:right;
}

input, select{padding:3px;}
input.bigtext{width:300px;}
.formtable{width:100%; margin:5px 0px 0px; font-size:14px;}
.formtable td{padding:5px 3px;}
.formtable input[type=submit], .formtable input[type=reset], .formtable input[type=button] {border:1px solid white; color:white; padding:3px 5px; background:#AA2822; width:200px; font-weight:bold;}
.formtable input[type=text], .formtable input[type=password], .formtable select {width:200px;}
.formtable textarea{width:400px; height:150px;}
.font14{font-size:14px;}
.authtable input[type="text"], .authtable input[type="password"]{width:140px; background:white; border:0px; padding:2px;}
.authtable input[type="submit"]{border:1px solid white; background:white; margin-top:6px; padding:2px 5px; color:#AA2822; font-weight:bold; width:auto;}

.none{display:none;}

.oncontent{background:none; padding:3px; color:#000; display:block; clear:both;}

ul.nav{list-style:none; margin:0; padding:0;}
ul.nav li{float:left; padding:3px 3px 3px 10px;}
ul.nav li a{color:#000;}

.graysearch{color:#aaa; margin:5px; padding-left:5px;}
.oncontentgray{background:#eee; padding:3px; display:block; clear:both; font-size:12px;}
ul.navsearch{list-style:none; margin:0; padding:0;}
ul.navsearch li{float:left; padding:3px 3px 3px 10px;}

.searchform {margin:10px 5px;}
.searchform input[type=text]{width:400px; padding:5px 4px;}
.searchform select{padding:5px 4px;}
.deact{color:gray;}

.form_table{width:100%; margin:10px 0;}
.form_table td{padding:4px;}
.form_table input{width:400px; padding:2px;}
.form_table input[type=button], .form_table input[type=submit], .form_table input[type=reset]{width:250px; padding:2px;}
.form_table select{width:406px; padding:2px;}
.form_table textarea{width:398px; height:100px; padding:3px;}
.form_table textarea.bigarea{width:745px; height:120px; padding:3px;}




/*added 31.10 by mdlsr*/


#jquery-overlay {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
}
#jquery-lightbox {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
}
#jquery-lightbox a img { border: none; }
#lightbox-container-image-box {
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
}
#lightbox-container-image { padding: 10px; }
#lightbox-loading {
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
}
#lightbox-nav {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
}
#lightbox-container-image-box > #lightbox-nav { left: 0; }
#lightbox-nav a { outline: none;}
#lightbox-nav-btnPrev, #lightbox-nav-btnNext {
	width: 49%;
	height: 100%;
	zoom: 1;
	display: block;
}
#lightbox-nav-btnPrev { 
	left: 0; 
	float: left;
}
#lightbox-nav-btnNext { 
	right: 0; 
	float: right;
}
#lightbox-container-image-data-box {
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	overflow: auto;
	width: 100%;
	padding: 0 10px 0;
}
#lightbox-container-image-data {
	padding: 0 10px; 
	color: #666; 
}
#lightbox-container-image-data #lightbox-image-details { 
	width: 70%; 
	float: left; 
	text-align: left; 
}	
#lightbox-image-details-caption { font-weight: bold; }
#lightbox-image-details-currentNumber {
	display: block; 
	clear: left; 
	padding-bottom: 1.0em;	
}			
#lightbox-secNav-btnClose {
	width: 66px; 
	float: right;
	padding-bottom: 0.7em;	
}

.ayanami_gallery_container
{
	width:100%;
	height:72px;
	position:relative;
	overflow:hidden;
	margin-top:20px;
}
.ayanami_gallery_container .left
{
	position:absolute;
	left:0px;
	top:0px;	
	display:block;
	width:20px;
	height:70px;
	background:url('/img/gallery_arrow_left.gif') left top no-repeat;
	
	text-decoration:none;
}
.ayanami_gallery_container .right
{
	position:absolute;
	right:0px;
	top:0px;
	display:block;
	width:20px;
	height:70px;
	background:url('/img/gallery_arrow_right.gif') left top no-repeat;
	text-decoration:none;
}
.ayanami_gallery_container .roller
{
	position:absolute;
	left:20px;
	top:0px;
	display:block;
	height:70px;
	width:auto;
	white-space:nowrap;
	margin:0px;
	padding:0px;
}
.ayanami_gallery_container .roller li
{
	display:inline;
}
/*end of added on 31.10 by mdlsr*/

#back-top {
    position: fixed;
    z-index:2000;
    bottom: 5px; /* отступ от низа экрана до кнопки */
   right:10px; /* отступ слева экрана до кнопки, если хотите чтобы кнопка была по правый угол экрана поставте параметр margin-left: -1000px; дальше немного подкорректируете сами */
}
 
#back-top a {
    width: 50px; /* размер квадрата изначальный, без округленных углов*/
    display: block;
    text-align: center;
    font: 11px/100% Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    color: #bbb;
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
}
#back-top a:hover {
    color: #000;
}

/* иконка стрелки (тег span) */
#back-top span {
    width: 50px;
    height: 50px;
    display: block;
   
    background:   url(images/up.png) center center no-repeat;
    /*путь к стелочке, можете найти в интернете любую и вставить сюда*/
 
    -webkit-transition: 1s;
    -moz-transition: 1s;
    transition: 1s;
 
    
 
}
#back-top a:hover span {
    background:   url(images/up.gif) center center no-repeat;
}

.page-date{
    margin: 10px 0;
}
.page-date_timestamp,
.page-date_create{
    color: #bdbdbd;
    font-size: 12px;
    line-height: 1;
    text-indent: 0;
}