HTML {
     height: 100%;
     background: #01B2F6 url(imgs/html_bg.jpg) repeat-y center 0; 
  }
body {  /*border-top: 30px solid #87A8D3;*/
	/*background-image: url(imgs/main_bg.jpg);*/
	/*background-repeat: no-repeat;*/
	/*background-color: #23A7B3;*/
	/*height: 100%;*/
	background: url(imgs/main_bg.jpg) no-repeat center bottom;
	font-family: arial, sans-serif;
	font-size: 12px;
	color: #000;
	padding: 0;
	margin: 0; z-index: 3;
}

img { 
-webkit-box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 20px;
-moz-box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 20px;
box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 20px;
border: 0; 
}

a { text-decoration: underline; color: #809E02; padding: 0; margin: 0; }
a:hover { text-decoration: none; color: #767676; outline: 0; padding: 0; margin: 0; }

a.discrete { text-decoration: none; color: #808080; padding: 0; margin: 0; }
a.discrete:hover { text-decoration: underline; color: #808080; border-bottom: 0; outline: 0; padding: 0; margin: 0; }

a.title { text-decoration: none; color: #a99570; padding: 0; margin: 0; }
a.title:hover { text-decoration: none; color: #a99570; outline: 0; padding: 0; margin: 0; }

#submit  {width:125px; padding-bottom: 3px;
	  font-family:  Comic Sans MS, Candara, Arial;
	  font-size: 22px;
	  line-height: 27px;
	  font-weight: 600;
	  text-align: center;
	  letter-spacing:1px;
	  background: #809E02; color:#EEE; border:none;
border-radius: 10px;
-moz-border-radius: 10px; 
-webkit-border-radius: 10px; 
-khtml-border-radius: 10px;}
#submit:hover {background: #DADADA;color:#000;}

#submit_srch  {width:125px; padding: 3px 0 7px 0;
	  font-family:  Comic Sans MS, Candara, Arial;
	  font-size: 22px;
	  line-height: 27px;
	  font-weight: 600;
	  text-align: center;
	  letter-spacing:1px;
	  background: #0078FF; color:#EEE; border:none;
border-radius: 10px;
-moz-border-radius: 10px; 
-webkit-border-radius: 10px; 
-khtml-border-radius: 10px;}
#submit_srch:hover {background: #DADADA;color:#000;}

h1 {
font-family: Arial, georgia, serif;
font-size: 19px;
font-weight: 400;
line-height: 22px;
letter-spacing: 2px;
padding: 0;
margin: 0; }

dfn {
font-size: .4em;
font-style: normal;
line-height: 50px; }

h2 {    text-align: center;
	font-family: Comic Sans MS, Arial;
	font-size: 17px; color:#E6FFE8;
	font-weight: 800;
	padding: 3px 0 4px 0;	margin: 0;
	background:#00923F;
	
	border-radius: 7px;
	-moz-border-radius: 7px; 
	-webkit-border-radius: 7px; 
	-khtml-border-radius: 7px;
	}

h3 {    
	font-family: Comic Sans MS, serif; color:#06A;
	background:#B3DBE5;
	font-size: 20px;
	font-weight: 100;
	line-height: 1em;
	padding: 5px;
	margin: 35px 0 5px 0; }

#wrap { /*background:#7B7B7B*/ /*url(imgs/bg_header.jpg) no-repeat 0 0*/;
	width: 1000px;/*980*/
	min-height: 500px;
	height: auto !important;
	height: 500px;
	margin: 0px auto 0 auto;
	padding-bottom: 5px; 
	}
#title {padding: 10px 0 15px 10px;color:#F7E8C6; font-family: Candara, Comic Sans MS, Arial; font-size: 25px; font-style: italic; line-height: 30px;}


#header {       /*background:#FFF;*/
		height: 475px;
		background: url(imgs/header_img.jpg) no-repeat 0px 0px;
		border: 2px solid #00923F;
		margin: 10px 0px 10px 0px;
		-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
		-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
		box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;

		border-radius: 27px;
		-moz-border-radius: 27px; 
		-webkit-border-radius: 27px; 
		-khtml-border-radius: 27px;
		
	}

	.adv {color:#2A1D65;text-align: center; padding-top: 170px; /*padding: 64px 0 4px 240px;*/ }
	.title {text-align: center; /*padding: 40px 0 0 180px;*/ }
	.tagline {
			font-family: garamond, serif;
			font-size: 1.4em;
			font-style: italic;
			text-indent: 25px;
			line-height: 20px;
			padding: 4px;
			margin: 0; }
/* поисковая форма */
#srch
{
position: relative;
top: 40px; 
left: 700px; 
}


/* ГОЛОВНОЕ МЕНЮ */
#head_menu 
{
font-size: 21px;
font-family: Comic Sans MS, Candara, Arial;font-weight:bold;letter-spacing: 2px; 
height: 133px;
margin: 0px 0px 10px 0px; /*padding-left: 50px;*/
/*background: #79FF76;*/
border-radius: 27px;
-moz-border-radius: 27px; 
-webkit-border-radius: 27px; 
-khtml-border-radius: 27px;
}
#head_menu ul 
{     	 
float: none;
margin: 0;
padding-left:0px;
padding-top:13px;
list-style: none;
}
#head_menu ul li 
{
/*border-left:  30px solid #606160; border-right:  30px solid #606160;*/
/*vertical-align: middle;*/
/*border-radius: 7px;
-moz-border-radius: 7px; 
-webkit-border-radius: 7px; 
-khtml-border-radius: 7px;
display: inline;
margin:0px 15px 0px 0px;
padding: 2px 10px 5px 15px;
background:#40A36D url(imgs/header_menu_but.jpg) no-repeat left center; /*положение рис. left(righ,center) center(righ,left)*/
}
#head_menu ul li:hover
{/*background: #7B1C00;*/}
#head_menu ul li a{text-decoration: none; color:#692805;}
#head_menu ul li a:hover{text-decoration: none; color:#F7FFC6;}
/*#head_menu ul li.first_punct {background:none;}*/ /* оформление последнего пункта головного меню */

#head_menu img { 
-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px;
-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px;
box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px;
border: 0; 
}



#content {      /* ЦЕНТРАЛЬНАЯ  ЧАСТЬ */
		
		background: #FFF/*transparent url(imgs/transparent.png) repeat*/;
		/*min-height: 1200px;*/
		/*height: auto !important;*/
		/*height: 250px;*/
		padding: 10px 5px 0 5px;
		margin: 0;
		border: 2px solid #6A6964;
		border-radius: 27px;
		-moz-border-radius: 27px; 
		-webkit-border-radius: 27px; 
		-khtml-border-radius: 27px;
		
		-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
      		-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
      		box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;	
	 }
/* ОСНОВНОЕ МЕНЮ - ЛЕВАЯ КОЛОНКА */
#menu {font-family: Candara, Comic Sans MS, Arial; 
       /*background:#2E5405;*/
       float: left;
       width: /*19%*/265px;
       padding: 0;
       margin: 0; }
#menu p { margin: 0 0 3px 0; }

#menu h2{
      -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
      -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
      box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
      }



.feed_mig {
	  float: left;	
	  padding: 0;
	  margin: 1px 5px 0 0; }

#nav{		font-family: Comic Sans MS, Arial;
		/*background:#F7E9C6;*/
		float: top;
		/*width: 19%;*/
		padding: 0;
		margin:25px 0 15px 0;
		border-radius: 7px;
	 	-moz-border-radius: 7px; 
	 	-webkit-border-radius: 7px; 
	 	-khtml-border-radius: 7px;
		}
#nav ul {  
	  list-style-type: none;
	  padding: 0;
	  margin: 0px 0 10px 10px; }

#nav li {
     	 padding:0px 0px 0px 0px; margin: 0px 5px 0 5px;
      	 /*border-bottom: 2px dashed #112001;*/
	 /*width: 100%;*/
	 font-size: 17px;
	 line-height: 27px;
	 font-weight: normal;
	 text-align: left;
	/*text-indent: 8px;*/
	}
#nav li:hover {/*background:url(imgs/bg_punkt_menu_hover.png) no-repeat 2px center;*/}

#nav li a { text-indent:0px;
	    text-decoration: underline;
	    color:#00923F;
	    padding:0;
	    /*background-image: url(imgs/dot.gif);*/
	    background-repeat: no-repeat;
	    background-position: top left; }

#nav li a:hover {
     	    text-decoration: none;
            color:#2C2C2C; 
	    background-repeat: no-repeat;
	    background-position: top left; }


		#main { 
		        /*background:#FFF;*/
			float:left;
			width: 990px;
			padding: 0;
			margin: 0 0 20px 0; 
			border-radius: 10px;
	 		-moz-border-radius: 10px; 
	 		-webkit-border-radius: 10px; 
	 		-khtml-border-radius: 10px;
			}
			
		.left { /*background:#B8E9A6;*/
			float: left;
			width: 95%; /*(с правым столбцом  = 75% ) */
			text-align: justify;
			padding: 20px;
			margin: 0; 
			
			border-radius: 10px;
	 		-moz-border-radius: 10px; 
	 		-webkit-border-radius: 10px; 
	 		-khtml-border-radius: 10px;
			}
		.left h2 {text-align: right;}
		 /* Свойства текстовой части  */
		.main_content {
			text-align: justify;
			font-size: 17px;
			font-family: Arial;
			margin: 0 0 10px 0; }

		.main_content li {
			margin-top: 5px;
			margin-left : 30px; }

		.main_content p {
			text-align: justify; text-indent:15px;
			margin: 0 0 10px 0; }
		.main_content ul .p a {margin-bottom: 135px; }
		
		.main_content h1 {font-family: Comic Sans MS, serif; color:#373737;
			      	  background:#E8E8E8;
				  font-size: 20px;
				  font-weight: 100;
				  line-height: 20px;
				  padding: 7px 0 7px 20px; 
				  margin: 15px 0 25px 0; }
		.main_content h2 {
			text-align: center;
			/*border-bottom: 2px dashed #112001;*/
			font-family: Comic Sans MS, Arial;
			font-size: 17px; font-weight: bold;
			padding: 0 0 10px 0;
			margin: 0 0 0 0;
			background:none;
			color: #111 ;
			border-radius: 0px;
			-moz-border-radius: 0px; 
			-webkit-border-radius: 0px; 
			-khtml-border-radius: 0px; }	
		.main_content h2 a { color:#809E02;}
		.main_content h2 a:hover { color:#9E9E9E;}
			
		/* оформление гостевой книги - вывод записей*/
		.gb_post{margin-bottom: 10px; background:#F3F2FE;border-bottom: 1px dotted #112001; }
		.gb_author {}
		.gb_date{margin-left: 10px;background:#E6E6E6;font-weight: normal;}
		.gb_subj{font-weight: bolder;margin-top:5px;}	
		.gb_message { margin: 5px 0px; }
		.gb_comment_link{background:none;}
		
		
		.right {background:#FFD8D8;
			float: right;
			width: 24%;
			/*text-align: justify;*/
			padding: 0;
			margin: 0; }

		.right p { margin: 0 0 10px 0; }
		
		#news{background:#C9D186;
		float: bottom;
		/*width: 19%;*/
		padding: 0;
		margin: 0;
		border-radius: 7px;
	 	-moz-border-radius: 7px; 
	 	-webkit-border-radius: 7px; 
	 	-khtml-border-radius: 7px;
		}
		.last-news-date {font-size: 14px; font-weight: bold; color:#4E7606; margin: 10px 10px 10px 10px;padding-bottom: 5px; text-align: right; border-bottom: 2px dashed #112001;}
		.last-news-title {font-weight: bolder; color:#F00;text-align: center; padding:0 10px 0 10px;font-size: 24px;}
		.last-news-mess p{font-style: italic;text-align: justify;;font-size: 14px;padding:10px 5px 0 5px;}
		.last-news-mess a{color:#D90000;font-size: 14px;} .last-news-mess a:hover{color: #767676;}

		.three_columns {
			clear: both;
			text-align: justify;
			padding: 10px 0 0 0;
			margin: -40px 0 0 0; }

		.three_columns p {
			padding: 0 5px 0 5px;
			margin: 0; }

		.h3_foot {
			background-image: url(imgs/h3_bg.gif);
			background-repeat: repeat-x;
			background-position: top center;
			line-height: 1.5em;
			text-align: center;
			border-top: 1px solid #dbdbdb; }

		.two_left {
			float: left;
			width: 556px; }

		.foot_left {
			float: left;
			width: 250px; }

		.foot_mid {
			float: right;
			width: 250px; }


		.one_right {
			float: right;
			width: 29%; }

		.foot_right { width: 250px; }

 /* ПОДВАЛ */
#footer {
	color:#F3F3F3;
	background: transparent url(imgs/transparent.png) repeat;
	clear: both;
	min-height: 35px;height: 110px;
	text-align: left;
	/*height: auto !important;*/
	/*background-image: url(imgs/bg_footer.jpg);*/
	/*background-position: top center;*/
	/*background-repeat: repeat-x;*/
	padding: 15px 25px 0 45px;
	margin:10px 0px 5px 0px; text-align: left;font-weight: bolder; font-size: 13px;
	border: 2px solid #6A6964;
	border-radius: 27px;
	-moz-border-radius: 27px; 
	-webkit-border-radius: 27px; 
	-khtml-border-radius: 27px;
	
	-webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
      	-moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
      	box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px;
	}


.footer_right 
	{float: none;
	color:#000;
	/*background:#979797;*/
	min-height: 25px;
	height: 85px;
	text-align: center; font-weight: normal; font-size: 13px; line-height: 23px;
	padding: 0px 15px 0 15px;
	margin: 0; 
	}
#footer a {color: #112001;}
#footer a:hover {color: #4D7B00;}

#ffscrollbarfix 
{       
	border: 0;
	position: absolute;
	top: 0;
	bottom: -0.1px;
	width: 1em;
	z-index: -1;
}

/* СЛАЙДЕР */
#blinds-cont {
	/*background: url(bg.png) 0 0 no-repeat;*/
	width: 970px;/*1000px;*/
	height: 310px;/*410px;*/
	margin: 80px auto 0 auto;
	padding: 0;
	-moz-box-shadow: 0 0 40px #000;
	-webkit-box-shadow: 0 0 40px #000;
	font-family: "Comic Sans MS", "Arial Narrow", "Arial", sans-serif;
}

#blinds {
	width: 970px;
	height: 310px;
	margin: 0 auto;
	/*background: url(spinner.gif) 50% no-repeat;*/
}

.floom_container {
	overflow: hidden;
	border-top: solid 1px #666;
	border-bottom: solid 1px #fff;
}

.floom_progressbar {
	height: 3px;
	background: #131718;
	width: 0;
	position: relative;
	top: 2px;
	z-index: 1000;
	border-bottom: solid 1px #fff;
	font-size: 1px;
}

.floom_slice {
	z-index: 10;
	position: relative;
}

	
.floom_vertical {
	float: left;
}

.floom_horizontal {
	
}

.floom_caption {
	width: 100%;
	position: relative;
	top: 5px;
	text-align: center;
	font-size: 16px;
	color: #333;
	text-shadow: 0 1px 0 #fff;
	font-style: italic;
}



/*Nivo-slider*/
/* Для подключения слайдера в template прописать элемент: <div id="slideshow" class="slideshow"> </div>*/

#slideshow 
  { background: #cccccc; 
   float: left;
   width: 520px;  height: 245px; 
   margin: 135px 0px 20px 10px; 
   /*position: relative;*/
-webkit-box-shadow: rgba(0, 0, 0, 2) 0px 0px 10px;
-moz-box-shadow: rgba(0, 0, 0, 2) 0px 0px 10px;
box-shadow: rgba(0, 0, 0, 2) 0px 0px 10px;
   
border-radius: 10px;
-moz-border-radius: 10px; 
-webkit-border-radius: 10px; 
-khtml-border-radius: 10px;
   
   }
   
#slideshow .nivo-controlNav 
  {display:none;/* Включение / отключение навигации по слайдам */ 
   bottom: -40px; 
   left: 50%; 
   margin-left: -30px; 
   position: absolute;  }
   
#slideshow .nivo-controlNav .nivo-control 
{  background: url(imgs/bullets.png) no-repeat; 
   display: block; 
   float: left; 
   height: 20px; 
   text-indent: -9999px; 
   width: 22px; }
   
/* The Nivo Slider styles */   
#slideshow .nivo-controlNav .nivo-control.active 
{   background: url(imgs/bullets.png) no-repeat scroll 0 -22px; 

}  
.nivoSlider {
	position:relative;
	border-radius: 10px;
-moz-border-radius: 10px; 
-webkit-border-radius: 10px; 
-khtml-border-radius: 10px;
	
}
.nivoSlider img {
	position:absolute;
	top:0px;
	left:0px;
	border-radius: 10px;
-moz-border-radius: 10px; 
-webkit-border-radius: 10px; 
-khtml-border-radius: 10px;
	
}
/* If an image is wrapped in a link */
.nivoSlider a.nivo-imageLink {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:100%;
	border:0;
	padding:0;
	margin:0;
	z-index:6;
	display:none;
}
/* The slices and boxes in the Slider */
.nivo-slice {
	display:block;
	position:absolute;
	z-index:5;
	height:100%;
}
.nivo-box {
	display:block;
	position:absolute;
	z-index:5;
}
/* Caption styles */
.nivo-caption {
	position:absolute;
	left:0px;
	bottom:0px;
	background:#000;
	color:#fff;
	opacity:0.8; /* Overridden by captionOpacity setting */
	width:100%;
	z-index:8;
}
.nivo-caption p {
	padding:5px;
	margin:0;
}
.nivo-caption a {
	display:inline !important;
}
.nivo-html-caption {
    display:none;
}
/* Direction nav styles (e.g. Next & Prev) */
.nivo-directionNav a {
	position:absolute;
	top:45%;
	z-index:9;
	cursor:pointer;
}
.nivo-prevNav {
	left:0px;
}
.nivo-nextNav {
	right:0px;
}
/* Control nav styles (e.g. 1,2,3...) */
.nivo-controlNav a {
	position:relative;
	z-index:9;
	cursor:pointer;
}
.nivo-controlNav a.active {
	font-weight:bold;
}