/*
Theme Name: 72 off main theme
Description: Main theme for the site http://72off.ru
Version: 1.0
Author: Levi Levstr
Author URI: http://levi-levstr.ya.ru

The CSS, XHTML and design is released under GPL:
http://www.opensource.org/licenses/gpl-license.php

*/

/* Begin Base Elements */

* {margin: 0; padding: 0; border: 0;}

body {font: 0.8em  Tahoma, Arial, sans-serif; color: #774803; /*background: url('images/shadow_left.png') repeat-y #fff;*/
	background:#FFFCED url('images/header_bg_v2.png') repeat-x scroll 0 0;
	border-top:none;
}
html>body {width: auto; min-width: 800px;}

#main_wrap {
	min-width:800px;
	max-width:1200px;
	margin:0 auto;
	/*width: expression(( (document.documentElement.clientWidth || document.body.clientWidth) < 800) ? '800px' : ?((document.body.clientWidth > 1200) ? '1200px' : '100%'));*/
	*width:expression(document.body.clientWidth >= 800 ? (document.body.clientWidth <= 1200 ? '100%' : '1200px'):'800px');
}
a {text-decoration: underline; color:#695B40; font-weight: bold; background: transparent;}
a:hover {text-decoration: underline; color: #A19276;}

small {text-align: right; margin: 1em 0;}
input {color:#5A4E3B;border:1px solid #92816E;}
h1 {font-size: 1.5em;}
h2, h3, h4 {font-size: 1.2em; border-bottom: 1px dashed #ddd;}

hr {margin: 0 auto; clear: both; border-top: 1px solid #ddd;}

#column2 form, #column3 form {
	margin: 0;
	padding:0;
	-moz-border-radius: 0px;
	-khtml-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	background:none;
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	-khtml-box-shadow: none;
	box-shadow: none;
}
.date {color: #C7BEB0;  text-align: left; float: left; white-space:nowrap; padding-right:20px;font-size:0.8em;line-height:1.5em; padding-left:5px;}
/*.date1 {font-size: 3em; display: block;}
.date2 {font-size: 2em; display: block;}
.date3 {font-size: 2em; display: block; font-weight: bold;}*/
.text_edit {
	font-size:0.8em;
}

.pageInfo {font-size: 0em; color: #aaa; text-align: right; border-bottom: 1px dashed #E4DBCA; padding:0.5em; clear: both;}

.fifty {width: 40%; text-align: center;}

.boxedup {background: #FFFCED url('images/gradient.png') top repeat-x; border: 1px solid #ECD8BA; padding: 0.5em; margin: 0.5em;}
#column1 .boxedup h3 {
	margin-left:0.5em;
}
/* End Base Elements */

/* Begin Layout Elements */

#newheader {/*background: url('images/page_header.jpg') repeat-x; */text-align: left; /*padding-top: 30px;*/}


#headerimage {
/*height: 180px; 
background: url('images/logo_72.jpg') top right no-repeat; 
list-style: none;*/
float:left;
margin:0;
padding:0;
background: url('images/logo_72.jpg') -40px 0 no-repeat; 
width:390px;
height:365px;
text-indent:-9999px;
}
#headerimage a {
float:left;
display:block;
width:390px;
height:365px;
text-indent:-9999px;
}

#newheader h1 {/*padding: 65px 0 5px 20px; */border: 0;}
#newheader h1 a { /*font-size: 2em; color: #fda;*/ background:none;}
#newheader h1 a:hover {/*color: #f90; text-decoration: none; border-top: 5px solid #f90; border-bottom: 5px solid #f90;*/}
#newheader h2 {color: #666; font-size: 1em; padding-left: 20px; font-weight: normal; border: 0; margin-top: 10px;}
#newheader .center_text {
	padding-top:70px;
	font-size:0.85em;
	color:#5A4E3B;
}
#newheader .center_text  strong {
	font-size:1.1em;
}
#newheader .login_form {
	float:right;
	padding-top:70px;
	padding-left:30px;
	height:200px;
	color:#666666;
	/*width:110px;*/
	width:220px;
}
#newheader .login_form .inp_text {
	border:#92816E solid 1px;
	width:100px;
	font-size:1em;
	line-height:1.5em;
	background-color:#E3DCCC;
	color:#5A4E3B;
	padding:3px 5px;
}
#newheader .login_form .but {
	background-color:#D9D0C1;
	padding:3px 7px;
	border:#9A8665 solid 1px;
	color:#5A4E3B;
	margin-top:5px;
}


#wrapper {/*background: url('images/shadow_right.png') top right repeat-y; */padding: 1px; min-width:800px;
	max-width:1200px;
	margin:0 auto;
	/*width: expression(((document.documentElement.clientWidth || document.body.clientWidth) < 800) ? '800px' : ?((document.body.clientWidth > 1200) ? '1200px' : '100%'));*/
	*width:expression(document.body.clientWidth >= 800 ? (document.body.clientWidth <= 1200 ? '100%' : '1200px'):'800px');
}
#column1, #column2, #column3 {
	padding-bottom:30px;
} 
#highlands {float: left; width: 100%;}

#column1 {/*background: url('images/front_page.png') top right no-repeat; */margin: 0 245px 0 255px; padding-top: 10px; text-align: left;}
#column1 p {margin: 0 1.5em 1.5em 1.5em; 
	margin-left:0.5em;
line-height: 1.5em;}
#column1 h1, #column1 h2, #column1 h3 {color: #553608; font-weight: bold; margin: 0.5em 0; padding-bottom: 0.2em; border: 0;}
#column1 h2 {font-size: 1.5em; margin-bottom:0.2em;}
#column1 h2 a, #nav_links a {color: #21759b/*803D00*/;}
#column1 h2 a:hover {color: #965B26;}
#column1 ul, #column1 ol {margin: 1em; padding: 0.5em; border-top: 1px dashed #F0EDDB; border-bottom: 1px dashed #F0EDDB;}
#column1 ul li {margin: 0 1em; padding: 0.2em; list-style: square inside;}
#column1 ol li {margin: 0 3em; padding: 0.2em; list-style: decimal outside;}
#column1 blockquote {margin: 15px; padding: 0 0 10px 30px; font-style: italic; background: url('images/blockquote.png') 0 0 no-repeat;}
#column1 blockquote p {margin: 1em 2em 0 0;}

#column2 {float: left; width: 210px; margin-left: -100%; font-size: 0.9em; padding-top: 0px;}
#column2 ul {margin-left: 40px; list-style: none;}

#column3 {float: left; width: 230px; margin-left: -230px; font-size: 0.8em; padding-top: 10px;}
#column3 ul {margin-right: 38px; list-style: none;}

#column3 table {
	margin-bottom:10px;
	
}
#column3 table td, #column3 table td font {
	font-size:1.1em;
	line-height:2em;
}
#column3 table td font a {
	font-size:1.25em;
}
#column3 table td a {
	color:#21759b;
}
#column3 table td a:hover {

}


#footer {/*background: url('images/shadow_footer.png') top left repeat-x;*/border-top:2px solid #774803; font-size: 0.8em; clear: both; padding: 20px 10px; 
background:#FFFCED;
color:#774803;
}
#footer p { margin: 0; padding: 0;}

#back {clear: both; font-size: 0.8em; text-align: right; padding: 0 10px; clear: both; margin-top: 20px;}
#back a {font-weight: normal;}
#back span {float: left;}
#back strong {color: #006;}

/* End Layout Elements */

/* Begin Navigation Elements */

/*#navigation {display: block; background: url('images/page_nav.png') repeat; text-align: center; height: 2em; padding: 2px 0; border-top: 1px solid #fff; border-bottom: 2px solid #ccc; }
*/

#column2 ul#nav {
	margin-left:20px;
	padding:0;
}
#nav { width:210px; }
#nav, #nav ul {text-align: left; font-size: 1.3em; list-style: none; font-weight: normal; z-index: 8;}
#nav ul>li {float: left; padding: 0; margin: 0;width:210px;}
#nav a {/*border-right: 5px solid #eee;*/ display: block; line-height: 2em; padding: 0 15px; color:#21759B;text-decoration: none; font-weight: bold;}
#nav a:hover {/*border-right: 5px solid #fda; color: #fff; background: #ccc;*/color: #d54e21;/* background: #F9EFE0;*/}
#nav li ul {margin: 0; padding: 0; font-size: 0.9em; /*border: 1px solid #ddd;*/ position: relative;  height: auto; width: 14em;
display:none;
margin-left:10px;
}
#nav li li {width: 14em; margin: 0; width:210px;}
#nav li ul a {/*border-left: 1em solid #fda;*/ margin: 0;line-height: 1.7em; color:#43B0E1;}
#nav li ul a:hover {/*border-left: 1em solid #f90;*/ color:#F94B12;}
#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {display:block;}
#nav li:hover, #nav li.sfhover { color: #d54e21; /*background: #F9EFE0;*/}

#page_nav a {display: block; color: #825337; padding: 10px;/* border: 1px solid #eee;*/}
#page_nav a:hover {color: #825337; /*border: 1px solid #ddd;*/ background: #E7D9C9;}

#page_nav {
	float:left;
	width:100%;
	margin-bottom:10px;
}
/*#breadcrumbs {position: absolute; font-size: 0.8em; top: 6px; left: 5px; text-align: left; text-transform: lowercase;}*/
#breadcrumbs {font-size: 0.8em; top: 6px; left: 5px; text-align: left; text-transform: lowercase;}

/* End Navigation Elements */

/* Begin Form Elements */

#searchCSS {font-size: 0.9em; /*position: absolute; top: 6px; right: 5px;*/ margin-bottom:20px; padding-left:0px; margin-top:15px;}
#searchform {text-align: left;}
#searchform #s {width: 115px; font-size: 9px; padding: 2px;
border:1px solid #92816E;
}
#searchform #s:focus {border: 1px solid #aaa; background: #fafafa;}
#searchsubmit, #column2 #searchform #searchsubmit, #column3 #searchform #searchsubmit {font-size: 9px; background: #fff url('icons/icon_search.png') 1px 1px no-repeat; cursor: pointer; padding: 1px 0 1px 15px; 
border:1px solid #92816E;
}
#searchsubmit:hover {border: 1px solid #999;}
#submit {cursor: pointer;}

.entry form {text-align: center;}

select {width: 140px;}
#commentform input {width: 170px; padding: 2px; margin: 5px 5px 1px 0; /*border: 1px solid #ccc; background: #fafafa;*/border: 1px solid #ECD8BA; background: #FCFBF7;color: #4F3309;}
#commentform input:focus {/*border: 1px solid #aaa; background: #f6f6f6;*/ border: 1px solid #D3BD9D; background: #F9EFDC;}
#commentform textarea {width: 95%; padding: 2px; border: 1px solid #ECD8BA; background: #FCFBF7;color: #4F3309;}
#commentform textarea:focus {border: 1px solid #D3BD9D; background: #F9EFDC;}
#commentform #submit {border: 1px solid #ECD8BA; color: #4F3309; background: #FCFBF7; vertical-align: top;}
#commentform #submit:hover {border: 1px solid #D3BD9D; background: #F9EFDC;}

.comment_no {padding-top: 10px; float: right; font-size: 3.5em; color: #ECD8BA;}

#column1  .commentlist {padding: 0; margin: 5px; list-style: none;}
#column1 .commentlist li {clear: both; list-style: none; padding: 10px; background: #FFFCED url('images/gradient.png') 0 -10px repeat-x; border-top: 1px solid #ECD8BA; margin: 10px;}
#column1 .commentlist li:hover {background-position: 0 0; border-top: 1px solid #DBC6A7;}

#column1 .commentlist .gravatar {display: block; float:left; padding: 3px; margin: 0 20px 5px 0; border: 2px solid #ccc; background: #eee;}

.alt {clear: both;}

/* End Form Elements */

/* Begin Images */

p img {padding: 0;}
p img[alt="an image"] {float: left; margin: 0 7px 2px 0;}
img.alignright {padding: 4px; margin: 0 0 2px 7px; display: inline;}
img.alignleft {padding: 4px; margin: 0 7px 2px 0; display: inline;}

.center {display: block; margin-left: auto; margin-right: auto;}
.alignright {float: right;}
.alignleft {float: left;}

.images {width: 95%; text-align: center;}
.images img {float: left; clear: both; margin: 0 auto;}

/* End Images */

/* Begin Portlets */

#wp-calendar {text-align: center;}
#wp-calendar {width: 100%; background: #fff;}
#wp-calendar caption {background: #ddd; font-weight: bold;}
#wp-calendar thead {background: #eee;}
#wp-calendar #today {background: #eef;}
#wp-calendar a {text-decoration: underline;}

/*
#column2 ul, #column3 ul {padding-bottom: 20px; margin-bottom: 1em; background: url('images/portlet_header.png') bottom right no-repeat;}
#column2 ul li, #column3 ul li {margin: 0; padding: 0.5em; background: #fafafa;}
#column2 ul li.listHeader, #column3 ul li.listHeader {background: transparent; padding: 0;}
#column2 ul li h2, #column2 ul li h3, #column3 ul li h2, #column3 ul li h3 {margin: 0; padding: 0.5em; color: #666; background: url('images/portlet_header.png')}
*/
/* End Portlets */

/* Begin Icons and Stuff */
.icons {
	margin-bottom:15px;
}
.icons a {display: block; height: 16px; padding-left: 25px;}
.icons a:hover {background-position: left bottom ;}

.icons .s_delicious {background: #fafafa url('icons/delicious.gif') no-repeat;}
.icons .s_digg {background: #f6f6f6 url('icons/digg.gif') no-repeat;}
.icons .s_technorati {background: #fafafa url('icons/technorati.gif') no-repeat;}
.icons .s_reddit {background: #f6f6f6 url('icons/reddit.gif') no-repeat;}
.icons .s_magnolia {background: #fafafa url('icons/magnolia.gif') no-repeat;}
.icons .s_stumbleupon {background: #f6f6f6 url('icons/stumbleupon.gif') no-repeat;}
.icons .s_yahoo {background: #fafafa url('icons/yahoo.gif') no-repeat;}
.icons .s_google {background: #f6f6f6 url('icons/google.gif') no-repeat;}

.iconComment a {padding-left: 20px; background: url('icons/icon_comment.png') top left no-repeat;}
.iconEdit {background: url('icons/icon_edit.png') top left no-repeat; padding: 1px 0 5px 20px;}
.iconrss {background: url('icons/icon_feed.gif') no-repeat;}

/* End Icons and Stuff */


#column1 ul.archive_links {
	list-style:none;
	border:none;
}
#column1 ul.archive_links li {
	list-style:none;
	border:none;
}
#column1 ul.archive_links ul  {
	border:none;
	padding:0;
	margin:0;
	float:left;
	clear:left;
}
#column1 ul.archive_links ul li {
	float:left;
}
#login {
	margin-top:0;
}
.infs {
	height:20px;
}

#column1 ul.menu_list {
	list-style:none;
	border:none;
	margin-left:0px;
	margin-top:0px;
	padding-top:0px;
}
#column1 ul.menu_list li {
	list-style:none;
	margin-left:2px;
}
#loginform {
	padding-bottom:5px;

}
#login #loginform {
	padding-bottom:5px;
	float:left;
}


.contacts {
	font-size:13px;
}
.tag_list {
	padding-bottom:5px;
	padding-left:5px;
}
#column1 .tag_list a {color: #21759b; font-weight:normal;}
#column1 .tag_list a:hover {color: #965B26;}
.entry {
	padding-top:15px;
}




table.wp-caption {border:1px solid #000000; border-collapse: collapse; line-height: 15px; text-align: center;}
table.wp-caption td {border:1px solid #000000; padding:3px;text-align: center;}


.center {
	text-align: center; padding-top: 0px; padding-bottom: 10px;
}

.all {
	padding-top: 25px; padding-bottom: 15px;
}

.glava {
	font-size: x-large; padding-bottom: 15px;
}

.razdel1 {
	padding-left: 20px; line-height: 25px; padding-bottom: 10px;
}

.razdel2 {
	padding-left: 40px; line-height: 25px; padding-bottom: 10px;
}

.star {
	padding-left: 20px; line-height: 25px; padding-bottom: 45px;
}
