* {margin: 0; padding: 0}
header, nav, section, article, aside, footer {display: block}
body {font: 14px/18px  Arial, Tahoma, sans-serif; color: #333;  background-image: url(bf.gif); background-repeat: repeat-x;  background-color: #fff}
a {outline: none; color: #B35500; text-decoration: none;}
a:hover{color: #F70; text-decoration: underline;}
p {margin: 0 0 15px 0;}
img {border: none}
textarea{padding: 2px 5px;}
h1{ margin-bottom: 10px; color: #444; line-height: 23px; font-size: 23px; letter-spacing: -1px; font-weight: normal; clear: both;}

a.link {outline: none;  text-decoration: none;color: #B35500 !important} 
a.link:hover { text-decoration: underline;color: #F70 !important}

#wrapper {
	margin:0 auto 0px;
	text-align:left;
	width:980px;

}
#header{
	width:980px;
	height: 239px;
	background-image: url(logo.jpg);
	background-repeat: no-repeat;
}
#menu{
	width: 226px; overflow: hidden;
	background-image: url(mc.png);
	background-repeat: repeat-y;
}
#menu_footer{
	width: 226px;
	height: 30px;
	background-image: url(mf.png);
	background-repeat: no-repeat;
}

#menu_login{
	width: 226px;
	height: 143px;
	background-image: url(mlog.png);
	background-repeat: no-repeat;
}

#footer{
	height: 62px;
	background-image: url(fo.png);
	background-repeat: repeat-x;
}
#foo{
	background-image: url(fo1.png);
	background-repeat: no-repeat;
	height: 62px;
}
#fo2{
	background-image: url(fo2.png);
	background-repeat: repeat-x;
	height: 62px;
	width: 100%;
}
#main{	margin: 25px 0 25px 50px;  overflow: visible;}

#menu_left{ font-size: 12px; width: 226px;  overflow: hidden; }
#menu_left ul{list-style: none; margin:0; padding: 0px;}
#menu_left li{margin: 0; padding: 0px; text-indent: 0px;  list-style: none; list-style-position: outside;}
#menu_left a{ display: block; padding: 4px 4px 4px 25px; border-bottom: solid 1px #ccc;  font-weight: bold;}
#menu_left li a{ color: #e4e4e4; }
#menu_left li a:hover{text-decoration: none; color: #FFF;}
#menu_left li li a{ background:#e4e4e4; color: Black;  padding-left: 25px; font-size: 12px; text-transform: none;}
#menu_left li li a:hover{color:#444;}
#menu_left a strong {font-weight: normal; display: block; }
#menu_left a.open strong{display: block; }
#menu_left a.active{background-color:#FCE38F; color: Black;}

#menu_left a strong {font-weight: bold; display: block;  background-image: url(op.png); background-repeat: no-repeat; margin-left: -15px; padding-left: 15px;}
#menu_left a.open strong{display: block;  background-image: url(cl.png); background-repeat: no-repeat;  margin-left: -15px; padding-left: 15px;}



#rubric_path{
margin: 20px 0 0 50px;
border-bottom: 5px #eee solid;
color: #5A819E;
font-size: 16px; 
font-weight: bold;
padding-bottom: 3px;
}
#rubric_path a{color: #5A819E}

.post {clear: both;		line-height: 160%; font-size: 13px;}
.entry a{color: #333; text-decoration: none;}
.entry img{	float: left; margin: 0 15px 2px 0;}
h2.title {margin: 0px;	padding: 0px 0px 4px 0px;	letter-spacing: -1px; font-size: 19px;	font-weight: normal;}
.title a {	border-bottom: none;	color: #2B5575;}
.byline { margin: 0;  color: Gray; line-height: 140%;}
.byline i{ color: #333; font-size: 14px;}
img.conf{  position: relative; top:1px; margin: 0 10px -1px 0; float: none; }

.d{margin-top: 15px; padding-bottom: 15px; border-top: 1px #ccc dotted; clear: both;}
.detale{	font-size: small;	color: #777;	padding-bottom: 10px;}
.page img{	margin: 10px 0;}
.page td{
    padding: 3px;
}

#menu_top{	float: right; margin-top: 23px;}

.home,.contact,.mapy, .printa,.adm,.edit {display : block; width : 20px; height : 16px; background-repeat: no-repeat; background-position:   0 0;} 
.home a, .contact a , .mapy a, .printa a, .adm a, .edit a{display : block; width : 20px; height : 16px; background-position : 0 0;} 
.home a:hover, .contact a:hover,.mapy a:hover,.printa a:hover, .adm a:hover, .edit a:hover  {display : block; width : 20px; height : 16px; background-repeat: no-repeat;background-position:   0 -16px;}
.home,.home a:hover{background-image: url(home.gif);}
.contact, .contact a:hover {background-image: url(mail.gif);} 
.mapy, .mapy a:hover {background-image: url(map.gif);} 
.printa, .printa a:hover {background-image: url(print.gif);} 
.adm, .adm a:hover {background-image: url(adm.gif);} 
.edit, .edit a:hover {background-image: url(edit.gif);} 

#search{	margin: 20px 0 0 330px; color: #ddd; font-size: 12px}
#search input{	border: 1px solid #ddd;}
.search { display:block; width:79px; height:28px; background-image: url(search.gif); background-repeat: no-repeat; background-position: 0 0;} 
.search a {display:block; width:79px; height:28px;  background-position: 0 0;} 
.search a:hover {display:block; width:79px; height:28px; background-image: url(search.gif); background-repeat: no-repeat; background-position:  0 -28px;}

img.mavrik{	margin: 0; border: none; vertical-align: text-bottom;}
.mailform {margin: 20px 0; padding: 20px; background-color: #f4f4f4; -moz-border-radius:7px; -webkit-border-radius:7px; border-radius:7px;  border: 1px solid #ccc; width: 400px;}
.mailform input, .mailform textarea { border: 1px #4F80AA solid;}

#main h3{font-weight: normal; font-size: 25px; margin: 0 20px 20px 0; color: #4B7AA3; border-bottom: 5px solid  #C1D4E3;  padding-bottom: 6px; text-shadow: 2px 1px 2px #bebebe; text-transform: uppercase; line-height: 24px }
#news_list{ padding-right: 30px;}
.r{float: right;}
#news_list h2.title {  font-size: 15px; font-weight: bold;  letter-spacing: normal;}

#art_list{ background-color: #E4E8EB;  -moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px;  padding: 20px;  width: 300px;}
#art_list .d{border-color: White;}

#rss_list{ background-color: #E4E8EB;  -moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px;  padding: 20px;  width: 300px;}
#rss_list h2.title {  font-size: 15px; font-weight: bold;  letter-spacing: normal;}
#rss_list .d{border-color: #fff;}



.warning{color: red; font-size: smaller; margin: 20px 0; padding: 10px 20px; background-color: #DEE6ED; -moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px;}
.warning:first-letter{	text-transform: uppercase;}

#login_menu{padding: 20px 25px; color: White;}
#login_menu a { color: #e4e4e4; font-weight: bold; font-size: 12px;}
#login_menu a:hover{ text-decoration: none; 	color: White;} 
#login_menu p{	border-bottom: 1px solid #D1D1D1}

#login_block{ line-height: 
	background-color: #fff;
	margin: 30px 150px 30px 50px;
	border: solid 1px #ce9128; 
	-moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px;  
}

#login_block h3{padding:10px;  background-color: #FFE9A8; color: #333; font-size: 16px; -moz-border-radius: 7px 7px 0px 0px; -webkit-border-radius: 7px 7px 0px 0px; border-radius: 7px 7px 0px 0px;
	border-bottom: 1px solid #ce9128;}
.block_form{padding: 20px; line-height: 23px;}
.block_form input, .block_form textarea {	border: solid 1px #999;}
.submit_button{background-color: #466F8D; color: #fff;  padding: 2px; 	-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;}
a#closebox{	 display: block; float: right; color: #777; font-weight: bold; font-size: 20px; padding: 7px;}
a#closebox:hover{ color: Red;  text-decoration: none;}
.reg{ margin-bottom: 20px; background-color: #eee; padding: 10px; border: solid 1px #aaa;	-moz-border-radius: 7px; -webkit-border-radius: 7px; border-radius: 7px;}

.comments{clear: both; padding: 15px 0; color: #444; font-size: small; overflow: hidden;}
.comments h4{	margin-top: 30px; padding-bottom: 3px; border-bottom: 5px solid #eee;}
.comments img{	max-width: 80px; float: left;}
.comments p{ margin-left: 100px;}
.comments a{  text-decoration: underline;}
.comment, #comment_form{line-height: 120%; border: solid 1px #bbb;  border-radius: 7px; -webkit-border-radius: 7px; -moz-border-radius: 7px; margin: 10px 0; padding:  10px; overflow: hidden;}
#comment_form{	background-color: #eee;}



/** === фильтр рисунков == **/
.page img, .lm img {border: solid 5px #eee; border-radius: 4px; -webkit-border-radius: 4px; -moz-border-radius: 4px;}
.des{	font-size: 10px; color: #777; text-align: center;}
.iml{float:left; margin: 5px 15px 0 0; overflow: hidden;}
.imr{float:right; margin: 5px 0px 0 15px; overflow: hidden;}
.imgs_left {float: left; margin: 0 10px 0 0;}
.imgs_right{float: right; margin: 0 0px 0 10px;}
.imgs_left img, .imgs_right img{margin: 5px 0; display: block; float: none; }
.imgs_down, .imgs_up {margin: 10px 0;}
.imgs_down img, .imgs_up img{	margin: 0 15px 15px 0;}
.im img{	margin: 0;}
.im {float: left; margin: 0 10px 10px 0; padding: 5px; border: solid 1px #aaa;	-moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;  background-color: #eee;}
.gallery{padding: 20px 0 0 0;  	}
.gallery table {width: 100%; border-collapse: collapse;  table-layout: fixed; }
.gallery table td {padding: 10px; }
.gallery table img { width: 100%; }

.ban{ font-size: 11px; line-height: 16px; border: solid 3px #cccccc; -moz-border-radius:7px; -webkit-border-radius:7px; border-radius:7px; padding: 5px 0;}
.soc {margin: 20px 0 20px 50px; border: solid 1px #ddd; overflow: hidden; padding: 5px; background-color: #eee;  -moz-border-radius:7px; -webkit-border-radius:7px; border-radius:7px; vertical-align: middle;}
.soc img{margin: 4px;}


.bmen{padding: 0 20px; }
.bmen a{	color: #555;}
.alph:first-letter {font-size: 170%; text-shadow: 1px 1px 1px silver; }
.alph a{	color: #2A5474;}

#possibility_menu{float: right; margin: 10px 0 20px 0;}
#possibility_menu a{	font-size: 11px; color: #fff; background-color: #2A5474; margin: 0  0 0 10px; padding: 2px 5px; -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px;}
#possibility_menu a:hover { text-decoration: none; background-color: #3F7EAF;}

#edit{margin: 20px 0; padding: 20px; background-color: #f4f4f4; -moz-border-radius:7px; -webkit-border-radius:7px; border-radius:7px; padding: 5px 0; border: 1px solid #ccc;}
#edit input, #edit textarea {	border: 1px solid #4F80AA; }
.ledit{text-align:right;   font-size: 11px; width: 200px;}  
.del{ position: relative; top: -15px;}

.main_news_td{ vertical-align: top; width:380px; }
.main_articles_td{vertical-align: top; width:320px;}


