html, body{
	height:100%;
	min-height:100%;
	font:14px Times New Roman,Serif;
}

a:link, a:visited{
	color:#115AA4;
	text-decoration:underline;
}
a:hover{
	text-decoration:none;
}

.hide{
	display:none;
}
li{
	list-style-position:inside;
}
form{
	overflow:hidden;
}
h1, .h1{
	font:34px Georgia,Times New Roman, serif;
	padding:10px 0px;
	position:relative;
	color:black;
}

h2, .h2{
	font-size:28px;
	padding:10px 0;
	color:black;
}
h3, .h3{
	font-weight:bold;
	color:black;
	font-size:14px;
}
h4, .h4{
	font-weight:bold;
	color:black;
	font-size:13px;
	text-decoration:underline;
}
label{
	float:left;
}
.black{
	color:black !important;
}
.green{
	color:#2D942D !important;
}
.input_left,.input_right{
	margin-top:-5px;
}

/* кнопки */
#page .button,#page input[type="submit"]{
	display:block;
	width:209px;
	height:46px;
	border:0;
	padding:0;
	background:url('../img/form_bgs.png') left bottom no-repeat;
	color:black;
	font-size:22px;
	font-family:Times New Roman;
	margin:25px auto;
}
#page input[type="text"],#page input[type="password"]{
	width:215px;
	height:27px;
	display:block;
	padding:4px 5px 0 5px;
	color:#626262;
	font-size:18px;
	font-family:Times New Roman;
	border:0;
	border-top:1px solid #a6a6a6;
	border-bottom:1px solid #a6a6a6;
	margin:-5px 0 0 0;
	float:left;
}
/* уголки */
.input_left, .input_right{
	width:2px;
	height:33px;
	background:url('../img/input.png') left top no-repeat;
	float:left;
}
.input_right{background-position:right top;}

/* иконки */
.icon_ok,.icon_error{
	width:14px;
	height:14px;
	overflow:hidden;
	background:url('../img/icons.png') left top no-repeat;
	margin-right:10px;
	float:left;
}
.icon_error{background-position:left -14px;}
.icon_no{
	width:14px;
	height:14px;
}

#page{
	width:100%;
	min-width:1000px;
	
	height:auto !important;
	min-height:100%;
	height:100%;
	background: white;
	
}

/* шапка */
#header{
	width:100%;
	height:91px;
	background: url('../img/header.jpg') left top repeat-x;
	position:relative;
	overflow:hidden;
}
/* логотип */
#logo{
	width:555px;
	padding-left:35px;
	height:32px;
	margin:25px auto 0 auto;
	display:block;
	background:url('../img/logo.png') left top no-repeat;
	font:26px Georgia, Times New Roman,Serif;
	font-weight:bold;
	font-style:italic;
	color:white;
	text-decoration:none;
}

/* правый блок навигации */
#h_nav{
	position:absolute;
	right:44px;
	top:35px;
}
#h_nav a{
	color:white;
	margin-left:55px;
	text-decoration:underline;
}
#h_nav a:hover{
	text-decoration:none;
}


#content{
	width:100%;
	padding-top:50px;
	float:left;
	position:relative;
}

/* форма создать страницу */
#add_page_block{
	width:590px;
	margin:0 auto;
	font-size:18px;
}
#add_page_block textarea{
	width:590px;
	height:300px;
}
#add_page_table{
	width:100%;
	height:227px;
	border:0;
	margin:10px 0;
	padding:20px 0 10px 10px;
	background:url('../img/form_bgs.png') left top no-repeat;
}
#add_page_table td{
	padding:5px 10px 0 0;
}
#add_page_table td.first{
	width:170px;
}

#add_page_table small, #add_page_table p{
	font: 11px Arial, sans-serif;
	color:black;
}
#add_page_table p b{
	font-weight:normal;
	color:#E50000;
}
#add_page_block label{
	color:#161616;
}
#add_page_block input[type="text"], #add_page_block input[type="password"]{
	margin-top:-5px;
}
#add_page_block .input_left, #add_page_block .input_right{
	margin-top:-5px;
}

#add_page_block td.first label{
	float:right;
}
#add_page_block td.last{
	width:140px;
}
#add_page_block td.last p{
	margin-left:24px;
}


#add_page_block td.last2{
	width:140px;
}
#add_page_block td.last2 p{
	margin-left:0px;
}

/* последняя проверка */
#last_check{
	width:550px;
	height:50px;
	padding:26px 20px 0 20px;
	margin-top:10px;
	background:url('../img/form_bgs.png') left -227px no-repeat;
}
#last_check label, #last_check img{
	float:left;
}
#last_check img{
	margin:-5px 5px 0 13px;
}
#last_check .icon_ok, #last_check .icon_error{
	margin-left:20px;
}
/* затемнение */
#shadow{
	background:#0F375F;
	opacity:0.75;	
	position:absolute;
	left:0;
	top:0;
	z-index:800;
	display:none;
}
#shadow{
	filter:alpha(opacity=75);
}
/* о проекте */
#about_block{
	width:350px;	
	position:absolute;
	z-index:900;
	display:none;
}

.about_title_left, .about_title, .about_title_right, .about_left, .about_right{
	background:url('../img/form_about.png') left top no-repeat;
}
.about_title{
	height:47px;
	margin:0 17px;
	padding-top:9px;	
	background-repeat:repeat-x;
	font:28px Georgia, Times New Roman, serif;
	color:white;
}
.about_title_left, .about_title_right{
	width:17px;
	height:56px;
	background-position:left -56px;
	float:left;
}
.about_title_right{
	float:right;
	background-position: right -56px;
}
.about_text{
	padding:20px 15px;
	border-left:5px solid #54a744;
	border-right:5px solid #54a744;
	font:13px Arial, sans-serif;
	background:white;
}
.about_text .h1{
	font:28px Georgia, Times New Roman, serif;
	padding:15px 0 10px 0; 
}
.about_text a{
	font: 18px Georgia, Times New Roman, serif;
	color:#115AA4;
}
.about_bottom{
	height:15px;
	border-bottom:5px solid #54a744;
	margin:0 17px;
	background:white;
}
.about_left, .about_right{
	width:17px;
	height:20px;
	background-position:left -112px;
	float:left;
}
.about_right{
	background-position:right -112px;
	float:right;
}

/* каталог */
#catalog{
	width:800px;
	margin:0 auto;
	padding-left:200px;
}
#catalog .h1{
	font-size:34px;
	padding:20px 0;
}
#catalog_table{
	font:14px Arial, Sans-serif;
	width:100%;
}
#catalog_table th{
	text-align:left;
	font-weight:bold;
}
#catalog_table td{
	padding:5px 0;
}
#catalog_table a{
	color:black;
	text-decoration:none;
}
#catalog_table a:hover{
	text-decoration:underline;
}
/* постраничная навигация */
.page_nav{
	font:22px Arial,Sans-serif;
	padding:20px 5px;
}

/* страница запаролена */
#need_password{
	width:590px;
	margin:0 auto;
	font-size:18px;
}
#need_password label{
	margin-right:10px;
}
#need_password p{
	overflow:hidden;
	padding:10px 0;
}
#need_password img{
	float:left;
	margin:-5px 10px 0 10px;
}
#need_password .icon_ok, #need_password .icon_error{
	margin-left:10px;
}
#need_password .button{
	float:left;
}
/* статья */
.article{
	width:690px;
	padding-left:100px;
	margin:0 auto;	
	float:none;
}
.article .h2{
font-size: 36px;
	margin-left:30px;
}
.article_text{
	font-size:18px;
	padding:20px 30px;
	font-family: Calibri;
	line-height: 24px;
}
.article_text p{
	margin-bottom:20px;
	text-align: justify;
}

.article_text ul {
margin-left: 30px;
margin-bottom: 20px;
margin-top: 15px;
}




.link_to_article{
	font:13px Arial,Sans-serif;
	font-weight:bold;
	color:#3E3E3E;
	padding:20px 30px;
	border-top:1px solid #909090;
	border-bottom:1px solid #909090;
}
.link_to_article .h3{
	color:#22A50A;	
}
.link_to_article p{
	padding:5px 0;
	clear:left;
	overflow:hidden;
}

/* подождите 15 минут  и прочие - блок ошибок*/
.block_error, .block_ok{
	width:490px;
	padding:20px 50px;
	margin:0 auto;
	font-size:22px;
	text-align:center;
	line-height:32px;
}
.block_error .h2, .block_ok .h2{
	font-size:22px;
	color:#88541C;
	padding:15px 0;
}
.block_error .small{
	font-size:16px;
	color:#777;
	line-height:18px;
}
.block_error p{
	margin-bottom:28px;
}
.timer{
	color:#2DA715;
}
.block_ok .h2{
	font-weight:bold;
	color:#42B719;	
}

/* обратная связь */
#feedback{
	width:590px;
	margin:0 auto;
}
#feedback .h2{
	text-align:center;
	padding:10px 0 40px 0;
}
#feedback_table{
	font-size:18px;
	width:100%;
}
#feedback_table textarea{
	width:217px;
	height:300px;
	padding:5px;
	border:1px solid #A6A6A6;
	color:#626262;
	font-size:18px;
}
#feedback_table td{
	padding:7px 10px 0 0;
}
#feedback_table img{
	float:left;
	margin:-5px 10px 0 0;
}
#feedback_table .check{
	width:110px !important;
}
#feedback_table td.first{
	width:180px;
}
#feedback_table td.first label{
	float:right;
	margin-right:10px;
}
#feedback_table td.last{
	font:11px Arial,Sans-serif;
	width:140px;
}
#feedback_table td.last p{
	margin-left:24px;
}
#feedback_table .button{
	font-size:20px !important;
	float:left;
	margin:15px 0;
}


/* подвал */
#push{
	height:417px;
	clear:both;
}
#footer{
	width:100%;
	height:91px;
	position:relative;
	margin-top:-91px;
	clear:both;
	background: url('../img/footer.jpg') left bottom repeat-x;
}

/* стрелки */
#show_counters, #hide_counters, #show_new_texts, #hide_new_texts{
	position:absolute;
	right:25px;
	font-size:20px;
	color:#5f5f5f;
	cursor:pointer;
}
#show_counters, #hide_counters{
	top:40px;
}
#show_new_texts{	
	top:-30px;
}
#hide_new_texts{
	 top:20px;
}
/* свежие тексты */

#new_texts{
	width:100%;
	height:0;
	position:absolute;
	overflow:hidden;
	background:url('../img/footer.jpg') left top repeat-x;
	top:0;
	display:none;
}
#new_texts .h1{
	width:700px;
	margin:10px auto;
}
#new_texts ul{
	width:700px;
	margin:10px auto;
	font-size:14px;
}
#new_texts ul li{
	display:block;
	padding:15px 15px 15px 5px;
	border-top:1px dotted black;
}
#new_texts ul li.first{
	border:0 !important;
}
#new_texts ul li .date{
	float:right;
}
#new_texts ul li a{
	text-decoration:none;
	color:black;
}
#new_texts ul li a:hover{
	text-decoration:underline;
}

/* карусель в подвале */
#carousel{
	width:100%;
	position:relative;
	overflow:hidden;
}
#razrabotka,#counters{
	width:100%;
	height:91px;
	position:relative;
	float:left;
}
#razrabotka a{
	color:#404040;
}
#razrabotka p{
	color:#404040;
	font-size:18px;
	width:300px;
	text-align:center;
	margin:40px auto 0 auto;
}
#counters{
	text-align:center;
	margin-right:-100%;
	height:61px;
	padding-top:30px;

}
#counters a{
	margin-right:10px;
}

#admin_login_form{
	width:590px;
	margin:0 auto;
	font:14px Arial, Sans-serif;
}
#admin_login_form tr{
	height:50px;	
}
#admin_login_form tr td{
	padding-top:5px;
}
#admin_login_form img{
	float:left;
	margin:-5px 5px 0 5px;
}
#admin_login_form .icon_error,#admin_login_form .icon_ok{
	margin-left:10px;
}
#admin_catalog{
	width:900px;
	margin:0 auto;
}
#admin_catalog table{
	border-collapse:collapse;
}
#admin_catalog .del:hover{
	background:red;
}
#admin_catalog .new{
	background-color:#34ee11;
}
.page_content{
	margin-top:5px;
	padding:5px 10px;
	border:1px dotted grey;
}
.hide_ul{
	color:grey;
	font-size:10px;
	font-weight:bold;
}
#admin_catalog .first{
	width:590px;
}
