/* *1 common (общие)
----------------------------------------------------------------------------- */
html,body,form,p,h2 {
margin:0px;
padding:0px;
}
html,body {
height:100%;
}
body {
font:86% Times New Roman, Times, sans-serif;
color:inherit;
background:#f2e4ba;
}


/* *2 text (ссылки, абзацы, заголовки, списки)
----------------------------------------------------------------------------- */
a {text-decoration:none; color:#952005;}
a:hover {text-decoration:underline;}
images {border:none;}
p {
margin-bottom:15px;
font:1.1em/1.6em Times New Roman, Times, sans-serif;
color:#000;
background-color:inherit;
}
p a {
color:#952005;
background-color:inherit;
}
h2 {
margin-bottom:20px;
font:bold 1.8em Times New Roman, Times, sans-serif;
color:#7b350d;
background-color:inherit;
}
li#active {
    font-weight:bold;
	}
li#italic{
	font-style: italic;
	}


/* *3 main (основные)
----------------------------------------------------------------------------- */
#wrap {
width:100%;
min-width:770px;
min-height:100%;
position:relative;
overflow:hidden;
z-index:1;
background:url('images/wrap.gif') no-repeat 100% 100%;
}
#spacer {
width:100%;
height:80px;
clear:both;
}
.both {
width:100%;
overflow:hidden;
clear:both;
}

/* *4 footer (подвал)
----------------------------------------------------------------------------- */
#footer {
width:100%;
min-width:770px;
height:65px;
margin-top:-67px;
position:relative;
z-index:2;
color:inherit;
background:#982208;
}
#if {
position:absolute;
top:12px;
left:20px;
color:#fff;
font:1.2em "Times New Roman",sans-serif;
background-color:inherit;
}
#if a {
color:#fff;
background-color:inherit;
}
#author {
padding:0px 90px 10px 0;
position:absolute;
top:15px;
right:30px;
font:1.2em "Times New Roman",sans-serif;
background:url('images/yartex.png') no-repeat 100% 0;
}
#author a {
display:block;
color:#fff;
text-align:right;
text-decoration:none;
background-color:inherit;
}
#author a:hover {
text-decoration:underline;
}

/* *5 header (шапка)
----------------------------------------------------------------------------- */
#header {
width:100%;
height:270px;
position:relative;
color:inherit;
background:#8b4716 url('images/header.jpg') repeat-x 0 0;
}
#header .left {
width:377px;
height:207px;
position:absolute;
top:0px;
left:0px;
z-index:1;
background:url('images/h_left.jpg') no-repeat 0 0;
}
#header .right {
width:408px;
height:225px;
position:absolute;
top:0px;
right:0px;
z-index:1;
background:url('images/h_right.png') no-repeat 0 0;
}
#shadow {
width:100%;
height:63px;
position:absolute;
top:174px;
left:0px;
z-index:2;
background:url('images/shadow.png') repeat-x 0 0;
}
#menu {
width:100%;
height:63px;
position:absolute;
left:0px;
top:207px;
z-index:3;
color:inherit;
background:#972207 url('images/menu.gif') repeat-x 0 0;
}
#menu ul {
width:840px;
height:63px;
margin:0px auto;
padding:0px;
list-style:none;
position:relative;
overflow:hidden;
font:126% "Times New Roman",arial,sans-serif;
}
#menu li {
padding:0 20px;
position:relative;
top:23px;
float:left;
background:url('images/menu_li.gif') no-repeat 0 50%;
}
#menu li#active {
color:#f2e4ba;
background-color:inherit;
font-weight:bold;
}
#menu a {
color:#f2e4ba;
text-decoration:none;
background-color:inherit;
}
#menu a#active {
color:#f2e4ba;
background-color:inherit;
font-weight:bold;
}

#menu a:hover {
text-decoration:underline;
}
#logo {
width:380px;
height:59px;
padding-top:4px;
margin:0 auto;
position:relative;
top:167px;
z-index:4;
font:36px "times new roman", sans-serif;
color:#f2e4ba;
text-align:center;
background-color:inherit;
background:url('images/logo.png') no-repeat 0 0;
}
#logo a {
color:#f2e4ba;
text-decoration: none;
}

/* *6 cnt
----------------------------------------------------------------------------- */
#cnt {
width:100%;
padding:30px 0;
overflow:hidden;
}
#left {
width:20%;
float:left;
}
#left .space {
padding:0 30px 0 20px;
}
#submenu {
width:100%;
padding:0px;
margin:0px;
list-style:none;
overflow:hidden;
font:1.1em "Times New Roman",sans-serif;
}
li#active {
color:#972207;
}
#submenu li {
width:90%;
padding:0 0 5px 10px;
float:left;
background:url('images/submenu_li.gif') no-repeat 0 4px;
}
#submenu li a {
color:#972207;
background-color:inherit;
line-height: 0.8em;
}
#right {
width:20%;
float:left;
}
#right .space {
padding:0 40px;
}
#content {
width:60%;
float:left;
}
#content_main {
width:75%;
float:left;
}
#content .space {
padding:0 40px;
}
#content_main .space {
padding:0 40px;
}
.pic {
padding:0 10px 0 0;
float:left;
}
ul#podmenu li {
line-height:1.2em;
margin-left: -25px;
list-style-type: none;
font-style: normal;
}
ul#links {
list-style-type: none;
}
div#preview { 		
    position: relative;
	 width: 260px;
    height: 260px;
	float: left;
    margin: 10px;
	padding: 10px 0 15px 0;
 }

div#preview_text { 
    position: relative;
    float: left;
	padding: 8px 30px 10px 0;
 }

div#preview p { 		
	line-height: 1em;
	margin: 0px;
 }

/****************:)***************** YARTEX ***************:)*****************/

.yartex {
	min-height:40px;
	position:absolute;
	bottom:0;
	right:10%;
	font:bold 9px arial, sans-serif;
	width:190px;
	}

.yartex a img {
	bottom:0;
	right:0;
	position:absolute;
	border:0;
	}

.yartex_text, .yartex_text1  {
	float:left;
	color:white;
	width:100px;
	text-align:right;
	text-decoration:none;
	line-height:9px;
	}

.yartex_text1 {
	clear:left;
	padding-bottom:3px;
	margin-top:2px;
	}

html>body .yartex_text1 {
	padding-bottom:0px;
	}
