/*
Theme Name: arh-stroy
Theme URI: http://a-stroy.ru/
Description: WordPress theme
Version: 1.0

*/


* {
padding: 0px; 
margin: 0px;
}
html {
font-size: 100.0%;
}
body {
text-align: center; 
background: #676946 url('images/bf1.gif'); 
font: 0.9em Verdana, sans-serif;
font: 0.9em/1.3em Verdana, sans-serif; 
color: #2e0a00;
}
#margin-l {
width: 62em; 
margin: 0px auto; 
background: url('images/pad-left.gif') repeat-y left top; 
}
#margin-r {
margin-left: 4em;
background: url('images/pad-right.gif') repeat-y right top; 
}
#container {
padding-top: 0.5em;
margin-right: 4em;
overflow: hidden;
background: #F9F9F9 url('images/pad-center.gif') repeat;
}
#header{
width: 54em;
height: 285px;
margin: 0px auto; 
text-align: left; 
overflow: hidden;
background: #ede600 url('images/header.jpg') no-repeat right top; 
}
#content-wide,
#content-narrow {
background: #FFFFFF;
float: left;
}
#content-wide{
width: 54em;
}
#content-narrow {
width: 39.7em;
margin-right: 0.3em;
}
#sidebar {
width: 13.9em; 
background: #808000;
float: right; 
}
#copyright,
#footer {
width: 100%;
text-align: center; 
vertical-align: middle;
}
#copyright{
font-size: 90%;
}
#copyright p{
line-height: 32px;
vertical-align: middle;
padding-bottom:6px;
}
#copyright a{
text-decoration: none;
color: #733200;
}
#copyright img{
margin-top:6px;
}
#footer-left{
width: 100%;
height: 60px;
margin: 0px auto; 
background: #ede600 url('images/footer_left.gif') no-repeat left top;
}
#footer-right {
height: 100%; 
background: #ede600 url('images/footer_right.gif') no-repeat right top;
margin-left: 130px;
}
#footer-center {
height: 100%; 
margin-right: 130px;
overflow: hidden;
background: #ede600 url('images/footer_center.gif') repeat-x left top;
text-align: center;
vertical-align: middle;
color: #FFFFCC;
}
#footer-center p{
display: block;
line-height: 60px;
color: #330d00;
}
#header *{
margin: 0px; 
padding: 0px;
}
#nav{
text-align: left; 
width: 207px;
background: url('images/logo.jpg') no-repeat scroll left top; 
height: 285px;
padding-left:20px;
}
#nav a.fake {
display: block;
height: 116px;
width: 170px;
}	
.nav-btn{
width: 170px;
height: 34px;
vertical-align: top;
}
.nav-btn a{
	position:relative;
}

.nav-btn span{
position: absolute;
width: 100%;
height: 100%;
}
#nav-main span{
background: url('images/btn_main.gif') no-repeat;
}
#nav-ang span{
background: url('images/btn_ang.gif') no-repeat;
}
#nav-tok span{
background: url('images/btn_tok.gif') no-repeat;
}
#nav-isd span{
background: url('images/btn_isd.gif') no-repeat;
}
#nav-con span{
background: url('images/btn_con.gif') no-repeat;
}
#nav-div{
height: 1px;
}
#nav a{
display: block;
height: 26px;
width: 170px;
margin-left:14px;
color: #a2914b;
font-size: 0.8em;
}
#nav a:hover{
margin-left:10px;
}
#nav a:active{
margin-left:18px;
}

#content-narrow,
#content-wide,
#sidebar{
text-align: left; 
margin-top: 0.5em;
margin-bottom: 1em;
}
.content-top-left{
width: 100%;
height: 28px;
margin: 0px auto; 
background: #AAAAAA url('images/c_title_left.gif') no-repeat left top;
}
.content-top-left *{
margin: 0px auto; 
height: 28px;
}
.content-top-right {
padding-right: 26px; 
background: #AAAAAA url('images/c_title_right.gif') no-repeat right top;
margin-left: 22px;
}
.content-top {
overflow: hidden;
background: #AAAAAA url('images/c_title_center.gif') repeat-x left top;
text-align: center;
vertical-align: middle;
color: #FFFFCC;
}

.content-body-left{
width: 100%;
margin: 0px auto;
padding: 0px; 
background: #AAAAAA url('images/c_body_left.gif')  repeat-y left top;
}
.content-body-right {
margin-left: 6px;
padding-right: 7px;
background:  #AAAAAA url('images/c_body_right.gif') repeat-y right top;
}
.content-body-container {
overflow: hidden;
padding: 0.7em;
padding-bottom: 30px;  
background: #FEFEFE url('images/c_body_center.gif') repeat left top;
}
.content-bottom-left{
width: 100%;
height: 17px;
margin: 0px auto; 
background: #AAAAAA url('images/c_footer_left.gif') no-repeat left top;
}
.content-bottom-left *{
margin: 0px auto; 
height: 17px;
}
.content-bottom-right {
padding-right: 11px; 
background: #AAAAAA url('images/c_footer_right.gif') no-repeat right top;
margin-left: 17px;
}
.content-bottom-container {
overflow: hidden;
background: #AAAAAA url('images/c_footer_center.gif') repeat-x left top;
text-align: center;
vertical-align: middle;
color: #FFFFCC;
}


.widget{
width: 100%;
}
.widget-top-left{
width: 100%;
height: 28px;
margin: 0px auto; 
background: #AAAAAA url('images/r_menu_title_left.gif') no-repeat left top;
}
.widget-top-left *{
margin: 0px auto; 
height: 28px;
}
.widget-top-right {
background: #AAAAAA url('images/r_menu_title_right.gif') no-repeat right top;
margin-left: 22px;
}
.widget-top {
margin-right: 29px;
overflow: hidden;
background: #AAAAAA url('images/r_menu_title_center.gif') repeat-x left top;
text-align: center;
vertical-align: middle;
color: #FFFFCC;
}
.content-top h2,
.widget-top h2{
vertical-align: bottom;
line-height: 26px; 
}

.widget-body-left{
width: 100%;
margin: 0px auto;
background: #AAAAAA url('images/r_menu_body_left.gif') repeat-y left top;; 
padding:0px; 
}
.widget-body-right {
margin-left: 8px;
background: #AAAAAA url('images/r_menu_body_right.gif') repeat-y right top;
}
.widget-body{
margin-right: 13px;
overflow: hidden;
padding-left: 0.1em; 
padding-top: 0.5em; 
padding-right: 0.1em; 
padding-bottom: 0.2em; 
background: #5F5F5F url('images/r_menu_body_center.gif') repeat left top;
}
.widget-bottom-left{
width: 100%;
height: 18px;
margin: 0px auto; 
background: #AAAAAA url('images/r_menu_footer_left.gif') no-repeat left top;
}
.widget-bottom-left *{
margin: 0px auto; 
height: 18px;
}
.widget-bottom-right {
background: #AAAAAA url('images/r_menu_footer_right.gif') no-repeat right top;
margin-left: 15px;
}
.widget-bottom {
margin-right: 18px;
overflow: hidden;
background: #AAAAAA url('images/r_menu_footer_center.gif') repeat-x left top;
}

.clear {
width: 100%; 
height: 1px; 
clear: both; 
overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
margin-top: 0.6em; 
margin-bottom: 0.4em; 
line-height: 120%
font-weight: bold;
}
h1 {
font-size: 1.2em;
}
h2 {
font-size: 1.1em;
}
h3 {
font-size: 1em;
}
h3 {
font-size: 1em;
}
h4 {
font-size: 0.9em;
}
h5 {
font-size: 0.8em;
}
h6 {
font-size: 0.7em;
}
ol, ul {
margin-left: 20px;
padding-left: 0px;
width: 100%;
overflow: hidden;
}
.post p{
text-align: justify;
}
.post a{
text-decoration: none;
color: #733200;
font-weight: bold;
border-bottom:1px dashed #733200;
}
.post a:hover{
color: #7F6900;
border-bottom:1px dashed #7F6900;
}

.postmetadata a{
border-bottom:1px dashed #7C3500;
color:#7C3500;
text-decoration:none;
font-weight: normal;
}

.postmetadata a:hover{
color: #FF6D00;
border-bottom:1px dashed #FF6D00;
}
.categories {
float:left;
}
.tags {
float: right;
}
#sidebar .button{
height: 1.7em;
line-height: 100%;
font-size: 0.9em;
text-decoration: none;
color: #292929;
border: 1px solid #595959;
background: #9a9e84;
padding: 0.1em 0.5em;
margin: 0.5em 0.5em 0 0;   
}
#img-main {
margin-top: 4px;
overflow: hidden;
}

#img-main2 img{
width: 700%;
position: relative;
left: 50%;
margin-left: -350px;
padding: 10px;
border: 3px solid #0;
}

#img-main img{
width: 100%;
border: 3px solid #cc;
}

.post, .post_body{
padding: 5px;
width: 95%;
margin-left:4px;
margin-bottom: 12px;
border-bottom: 1px solid #CC0000;
overflow: hidden;
}

.postlink ul, 
.post ul{
margin-left: 22px;
}

.post p{
margin-top: 0px; 
margin-bottom: 12px; 
line-height: 150%
}

#sidebar ul{
margin-left: 0; 
padding: 5; 
list-style-type: none;
}
#sidebar ul ul{
margin-left: 15px; 
}
#sidebar li {
padding-left:0px;
}
#sidebar .children li {
padding-left:10px;
}
#sidebar a {
display: block;
font-size: 0.9em; 
color: #FFF7D2; 
text-align: left; 
text-decoration: none;  
height:1.5em; 
line-height:1.5em; 
margin: 0; 
text-indent:10px;
background: url('images/m1.gif') no-repeat center left; 
overflow: hidden
}
#sidebar a:hover {
color: #CFF7D2; 
}
/* =Images
-------------------------------------------------------------- */

.post img {
	margin: 0;
	/*height: auto;*/
	max-width: 640px;
	/*width: auto;*/
}
.post .attachment img {
	max-width: 900px;
}
.post .alignleft,
.post img.alignleft {
	display: inline;
	float: left;
	margin-right: 24px;
	margin-top: 4px;
}
.post .alignright,
.post img.alignright {
	display: inline;
	float: right;
	margin-left: 24px;
	margin-top: 4px;
}
.post .aligncenter,
.post img.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.post img.alignleft,
.post img.alignright,
.post img.aligncenter {
	margin-bottom: 12px;
}
.post .wp-caption {
	background: #f1f1f1;
	line-height: 18px;
	margin-bottom: 20px;
	padding: 4px;
	text-align: center;
}
.post .wp-caption img {
	margin: 5px 5px 0;
}
.post .wp-caption p.wp-caption-text {
	color: #888;
	font-size: 12px;
	margin: 5px;
}
.post .wp-smiley {
	margin: 0;
}
.post .gallery {
	margin: 0 auto 18px;
}
.post .gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 33%;
}
.post .gallery img {
	border: 2px solid #cfcfcf;
}
.post .gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.post .gallery dl {
	margin: 0;
}
.post .gallery img {
	border: 10px solid #f1f1f1;
}
.post .gallery br+br {
	display: none;
}
.post .attachment img { /* single attachment images should be centered */
	display: block;
	margin: 0 auto;
}
#sidebar .takru{
display:inline;
background: transparent none;
}
