/*
Theme Name: Autozoo
Theme URI: http://web-promise.com
Description: Theme for Autozoo.ru!
Author: Promise
Version: 1.0
*/

* {
	margin: 0;
	padding: 0;
}
html {
	height: 100%;
}
header, nav, section, article, aside, footer {
	display: block;
}
body {
	font: 14px/18px  Tahoma, Geneva, sans-serif;
	width: 100%;
	height: 100%;
	background: #ABABAB url(images/bg-body.png);
}
a {
	color: #336699;
	outline: none;
	text-decoration: underline;
}

button disabled {display:none;}

a:hover {
	text-decoration: none;
}

hr {
	height:2px;
	background:url(images/hr.jpg) repeat-x;
	clear:both;
	margin: 10px 0;}

p {
	margin: 0 0 18px
}
img {
	border: none;
}
input {
	vertical-align: middle;
}

.break {
	font-size: 0;
	width: 0; height: 0;
	clear: both;
}
.alignleft {
	float: left;
	margin: 4px 10px 10px 0;
}
.alignright {
	float: right;
	margin: 4px 0 10px 10px;
}
.aligncenter {
	text-align: center;
}
.hidden {
	display: none;
}

#topbody {
	background:url(images/bg.png) repeat-x;

}
#wrapper {
	width: 980px;
	padding: 10px;
	background:#fff;
	margin: 0 auto;
	border-bottom: 10px #fff solid;
	
	}


/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 370px;
}

#header #logo{
	width:370px;
	height:105px;
	float:left;
	margin:-9px 0 0 -23px;}


#header #link{
	height:38px;
	width:633px;
	display:block;
	margin-bottom: 3px;
	float:right;
	text-align:right;
	background:#E7E7E7;}

#header #link img{margin: 13px;}

#header ul {
	width:381px;
	height:38px;
	overflow:hidden;
	float:left;
	background: url(images/ul.gif) no-repeat;
	list-style-type: none;}
	
#header ul li{float: left; font: 16px Tahoma, Geneva, sans-serif; color:#333; padding:8px 12px 14px; font-weight: bold; background:url(images/li.jpg) no-repeat right;}
#header ul li a {color: #333; text-decoration:none;}
#header ul li a:hover, #header ul li.current-menu-item a{color: #fff; text-decoration:none; text-shadow:1px 1px 0px #333;}

#header #subscribe {
	float: right;
	text-decoration:center;
	height:26px;
	background:#fff;
	padding: 6px;}
	
#header #subscribe img{margin: 3px;}

#header #top-posts{
	width:970px;
	height:250px;
	padding:8px 5px 10px;
	clear:both;
	background: #9A9A9A url(images/toppost.jpg) no-repeat;}
	
	#header #top-posts a{color:#fff; text-decoration:none;}

#top-posts .banner{
	width:300px;
	height:250px;
	border: 1px #FFFFFF solid;
	margin:auto 3px 0 0;
	display:block;
	position:relative;
	float:left;
	clear:none;
background: url(images/bannerfl.jpg) no-repeat;
	}
	
#header #top-posts .bestpost{
	width:156px;
	padding: 2px;
	height:115px;
	text-align:center;
	display:block;
	margin:0 3px 6px;
	font:11px Tahoma, Geneva, sans-serif;
	font-weight:bold;
	text-shadow:1px 1px 0px #333;
	overflow:hidden;
	float:left; clear:none;
	}
	
	#header #top-posts .bestpost img{border: 2px #fff solid; width:150px}
#header #top-posts .bestpost a{color:#fff; text-decoration:none;}
#header #top-posts .bestpost:hover{ background:#696969;}
	
	


/* Middle
-----------------------------------------------------------------------------*/
#middle {
	border-right: 310px solid #9A9A9A;
	height: 1%;
	padding-right:10px;
	margin-bottom:-10px;
	position: relative;
}
#middle:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}
#container {
	width: 100%;
	float: left;
	overflow: hidden;
	margin-right: -100%;
}
#content {
	padding: 0;	
}
#content img{
	padding:2px;
	border:1px #999999 solid ;}
#content h2{
	width:640px;
	padding:5px;
	background: #ADADAD;
	border: 1px  #999 solid;	
	font: 22px Tahoma, Geneva, sans-serif;
	font-weight:bold;
	color:#fff;
	text-shadow:1px 1px 0px #333;
	margin:10px 0;	
}
#content h2 a{color: #fff; text-decoration:none;}
#content h2:hover {background:#999999;}
#content .post{
	padding: 0 0 10px;
	width:650px;
	margin-bottom:10px;
clear: both;
	border-bottom: 0px #ADADAD solid;}
	#content .index_post {margin-top:-10px;}
.detalis {
	width:632px;
	padding:5px 10px;
	font-size:14px;
	margin:10px 0;
	background:#EEEEEE;}
	
.date { background:url(images/date_icon.gif) no-repeat left; padding-left: 20px; margin-right: 30px;}
.cat { background:url(images/cat-icon.gif) no-repeat left; padding-left: 20px; margin-right: 30px;}
.view { background:url(images/view.gif) no-repeat left; padding-left: 20px;  margin-right: 30px;}
.com { background:url(images/com.gif) no-repeat left; padding-left: 20px;}

.share {
	width:642px;
	padding:5px 10px;
	font-size:12px;
	margin:10px 0 0;
	background:#EEEEEE;}

#relpost {width: 100%;
clear: both; }
#relpost .relatepost {
width: 160px;
height: 160px;
border: 1px #eaeae solid;
overflow: hidden;
float: left;
margin: 0 20px 20px 20px;}

#relpost .relatepost img {border: none;}

#relpost .thmb {


width: 156px;
height: 86px;
background: #fff;
overflow: hidden;}

/* Sidebar Right
-----------------------------------------------------------------------------*/


#sideRight {
	float: right;
	margin-right: -320px;
	width: 300px;
	padding:5px;
	position: relative;
	
}

#sideRight h2{
	background:url(images/h2side.jpg) repeat-x;
	color:#fff;
	text-shadow:2px 2px 0px #333;
	font-size: 22px;
	font-weight:bold;
	width:280px;
	margin: 10px 0;
	padding-left:20px;
	height:30px;
	background-position: 50%;	
	}
#sideRight h2 span{
	background:#9A9A9A;
	padding:0 5px;}

#sideRight  #search{
		width:280px;
		height:75px;
		float:right;
		display:block;
		background: url(images/search.jpg) no-repeat;
		margin:10px auto;
		}
	
#sideRight  #search input{
		background: none;
		margin: 20px 6px;
		font-size:14px;
		text-transform:lowercase;
		color:#999;
		width: 200px;
		float:left;
		border:none;}
		
#sideRight  #search input active{
			border:none; }
	
#sideRight  #search  button {
	width: 70px;
	height: 30px;
padding:20px 12px;
font-size:15px;
font-weight:bold;
color:#333;
text-align:center;
background: none !important;
border:none;
float:right;
cursor:pointer;

	}
.go_search{display:none;} 

#sideRight ul {
	list-style-image:url(images/sideli.jpg);
	list-style-position:inside;	
	font-size:14px;
	margin: 10px 0;
	color: #fff;}
#sideRight ul li{
	background:url(images/hr.jpg) repeat-x bottom;
	font-size:14px;
	padding: 5px;}

#sideRight ul a{ color:#fff; text-decoration:none; font-weight:bold;}
#sideRight ul a:hover, #sideRight ul  li.current-cat a { color:#000; text-decoration:underline;}

#sideRight .bannerside {margin: 20px 0; background: url(images/banner-side.jpg) no-repeat;}

#sideRight .lastnews {
	padding: 10px 25px 10px;
	
	background: url(images/hr.jpg) repeat-x bottom;
	
}

#sideRight .lastnews  img{
	width:246px;
	padding:2px;
	border: 1px #696969 solid;
	background:#fff;
	position:relative;
	margin:0 0 5px;}
	
#sideRight .lastnews a{
	font-size:14px;
	font-weight:bold;
	text-shadow:1px 1px 0px #333;
	text-decoration:none;
	color:#fff;}

#sideRight .lastnews:hover { background:#696969;}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	width:1000px;
	margin:10px auto;
	
	height: 40px;
	
}





.wp-pagenavi {clear: both;}

.wp-pagenavi a, .wp-pagenavi span {
	text-decoration: none;
	font:14px Verdana;
	color:#C2C2C2;
	padding: 2px 5px;
	position:relative;
	margin: 2px 5px  -5px 2px;
}

.wp-pagenavi .pages, .wp-pagenavi .last, .wp-pagenavi .extend{background:none; border:none; font:11px Verdana; color: #5674b9;}

.wp-pagenavi a:hover, .wp-pagenavi span.current {
 color:#5674B9;
}

.wp-pagenavi span.current {
	font-weight: bold;
}

select {width: 300px;}


#comments {
	padding: 0 0 20px;
}
	
	#comments p {
		margin-bottom: 10px;
		line-height: 1.5em;
	}
	#comments form {
		padding-top: 20px;
	}
		#comments form p {
			margin-bottom: 5px;
		}
		#comments form input, textarea {
			border: 1px solid #cccccc;
			font-size: 0.9em;
			font-family: Verdana;
			padding: 4px;
			background-position: 4px 4px;
			background-repeat: no-repeat;
		}
		#comments form input {
			width: 260px;
			border: 1px solid #cccccc;
		}
		#comments form textarea {
			width: 350px;
			padding: 4px 4px !important;
			border: 1px solid #cccccc;
		}
		#container #comments form button {
			display: block;
			border: 1px solid #909090;
			background-color: #cccccc;
			font-size: 0.9em;
			font-family: Verdana;
			width: 120px; height: 23px;
		}
	.commentdetails {
		margin-top: 25px;
	}
	.commentauthor {
		margin-bottom: 5px !important;
		font-weight: bold;
	}
	.commentdate {
		font-size: 0.8em;
		margin-bottom: 5px;
		color: #909090;
	}
	.required {
		color: #ff0000;
	}

/** END miscellaneous **/

/** BEGIN wordpress 2.7 comments **/
#comments ol {
	list-style-type: none;
	clear: both;
	padding: 0;
	margin: 0;
}
	#comments ol li {
		padding: 10px;
		border: 1px solid #e0e0e0;
		margin-bottom: 10px;
	}
	#comments ol li .avatar {
		float: right;
	}
	#comments ol li .comment-author {
		
	}
		#comments ol li .comment-author .fn {
			font-weight: bold;
			font-size: 1.2em;
		}
	#comments ol li .comment-meta {
		font-size: 0.9em;
		color: #999999;
		margin: 5px 0 10px;
	}
	#comments ol li .reply {
		font-size: 0.9em;
		font-weight: bold;
		padding-bottom: 10px;
	}
	#comments .children {
		list-style-type: none;
	}
#comments .navigation {
	padding: 10px 0 20px;
	font-size: 0.9em;
}
	#comments .navigation a {
		color: #999999;
		padding: 3px 8px;
		border: 1px solid #cccccc;
	}
	#comments .navigation a:hover {
		color: #000000;
		border-color: #000000;
		text-decoration: none;
	}
	
#content h2.title {
	background:url(images/h2side.jpg) repeat-x;
	color:#006CAB;
	text-shadow: none;
	font-size: 22px;
	font-weight:bold;
	width:650px;
	margin: 10px 0;
	padding-left:20px;
	height:30px;
	border: none;
	background-position: 50%;	
	}
#content h2.title  span{
	background:#fff;
	padding:0 5px;}

