/*
Theme Name: karting.by
Theme URI: http://karting.by/
Description: The WordPress theme based on the default theme and typo3 theme from AOE media Gmbh.
Version: 1.0
Author: Andrew Lopatin
Author URI: http://karting.by/
Tags: blue, custom header, fixed width, two columns, widgets
*/


/* Begin Typography & Colors */ 
body{
  background: #fff;
	font-size: 62.5%;
	font-family: tahoma,verdana,arial,sans-serif;
	color: #797979;
	text-align: center;	
}

#header{
}

#container{
  background: transparent url('images/container-bg.gif') repeat-y 0 0;
}

#sub-container{
	background: transparent url('images/content-bg.gif') no-repeat 0 0;
}

#wrpr{
  /* для "резиновой" ширины
  margin-left: 200px; */
}

#text{
  padding: 0 87px 0 15px;
  font-size: 1.1em;
  text-align: left;
}

#sidebar{
  background: transparent url('images/sidebar-bg.gif') no-repeat scroll 0 0;
  font-size: 1.1em;
  text-align: left;	  
}

#footer{
	background: transparent url('images/footer-bg.gif') no-repeat 0 0;
}

.entry{
  margin-top: 1.4em;
  font-size: 1em;
	line-height: 1.4em;
}

.entry p{
	margin-bottom: 1.4em;
}

.postmetadata {
	text-align: center;
}

.thread-alt{
	background-color: #f8f8f8;
}

.thread-even{
	background-color: white; 
} 

.depth-1{
	border: 1px solid #ddd;
} 

.even, .alt{
	border-left: 1px solid #ddd; 
}

small{
	font-size: 0.9em;
	line-height: 1.5em;
}

h1, h2, h3{
	font-weight: bold;
}

h1{
	font-size: 4em;
	text-align: center;
}

h2{
	font-size: 1.5em;	
}

h2.pagetitle{
	font-size: 1.5em;
}

h3{
	font-size: 1.3em;
}

h1, h1 a, h1 a:hover, h1 a:visited{
	text-decoration: none;
	color: white;
}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited{
  color: #ff7200;
}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite{
	text-decoration: none;
}

.entry p a:visited{
	color: #ff7200;
}

.commentlist li, #commentform input, #commentform textarea{
	font-size: 0.9em;
}

.commentlist li ul li{
	font-size: 1em;
} 

.commentlist li{
	font-weight: bold;
}

.commentlist li .avatar { 
	float: right;
  padding: 2px;	
	background: #fff;
	border: 1px solid #eee;
}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}

.commentlist p {
	font-weight: normal;
	text-transform: none;
	line-height: 1.5em;
}

#commentform p{
}

.commentmetadata{
	font-weight: normal;
}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike{
	color: #777;
}

code{
	font-size: 1.1em;
}

acronym, abbr, span.caps{
	font-size: 0.9em;
	letter-spacing: .07em;
}

a, h2 a:hover, h3 a:hover{
	color: #ff7200;
	text-decoration: none;
}

a:hover{
	text-decoration: underline;
}

#wp-calendar #prev a, #wp-calendar #next a{
	font-size: 0.9em;
}

#wp-calendar a{
	text-decoration: none;
}

#wp-calendar caption {
	font-size:  1.3em;
	font-weight: bold;
	text-align: center;
}

#wp-calendar th{
	font-style: normal;
	text-transform: capitalize;
}	
/* End Typography & Colors */ 


/*	Begin Headers */
h1{
	padding-top: 70px;
}

h2{
	margin-top: 10px;
}

h2.pagetitle{
	margin-top: 30px;
	text-align: center;
}

h3{
	margin: 30px 0 0;
	padding: 0;
}

h3.comments{
	margin: 40px auto 20px ;
}
/* End Headers */


/* Begin Structure */
*{
  margin: 0;
  padding: 0;
}

body{
  width: 100%;
}

#wrapper{
	/* для фиксированной ширины */
  width: 989px;
  float: left;

	/* для "резиновой" ширины
  width: expression((documentElement.clientWidth||document.body.clientWidth)<995?'1000px':'');
  min-width: 1000px; */
}

#header{
  height: 152px;
}

#container{
  width: 100%;  
}

* html #container{
  height: 1%;
}

#container:after{
  /* закрываем плавающие блоки */
	height: 0;
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
  line-height: 0;
}

#content{
  width: 100%;
  float: left;
}

#sub-container{
  /* для фиксированной ширины */
	width: 989px;
  float: left;
  min-height: 600px;
  height: auto !important;
  height: 600px;	
  
  
	/* border-right: 200px solid transparent; фон правого сайдбара */

  /* для "резиновой" ширины
	width: 100%;
	margin-left: -200px; */
}

#text{
  padding-bottom: 15px;
	border-left: 334px solid transparent; /* фон левого сайдбара */	
}

#sidebar{
  position: relative;
  width: 177px;
  margin-left: -863px;
  padding: 50px 15px 0 15px;   
  float: left;
}

#right{
  width: 200px;
  margin-left: -400px;
  padding-bottom: 15px;
  float: left;
  background: #BFF2FF; /* фон правого сайдбара */
  border-left: 200px solid #FFF2BF; /* фон левого сайдбара */
}

#footer{
  height: 150px;
}

.post{
	margin: 0 0 40px;
	text-align: justify;
}

.post hr{
	display: block;
}

.postmetadata{
	padding-top: 5px;
}

.postmetadata{
	clear: both;
}

.clear{
	clear: both;
}
/* End Structure */



/* Begin */
#breadcrumbs{
  margin: 0.7em 0 1.4em 0;
}
/* End */




/* Begin Header */
#logo{
	width: 100%;
  height: 111px;
  background: transparent url('images/logo.gif') no-repeat 0 0;
}
/* End Header */


/* Begin Menu */
#menu{
	width: 100%;
  height: 41px;
  background: transparent url('images/menu-bg.gif') no-repeat 0 0;
}

#menu ul{
  margin-left: 167px;  
}

#menu li{
  float: left;
  list-style: none; 
}

#menu li a{
  height: 41px;
  padding: 0 5px 0 40px;
  display: block;
  float: left;  
  background: transparent url('images/menu-item.gif') no-repeat;
  font-size: 1.1em;
  font-weight: bolder;
  line-height: 41px;
  letter-spacing: 0.05em;  
}

#menu li a:hover{
  background-position: 0 -41px;
	text-decoration: none;
	color: #848484;
}

#menu li.current_page_item a, #menu li.current-cat a{
	background-position: 0 -82px;
}

#menu li a.home{
  width: 8px;
  background-position: 0 -123px;
}

#menu li a.home:hover{
  background-position: 0 -164px;
	text-decoration: none;
	color: #848484;
}

#menu li.current_page_item a.home, #menu li.current-cat a.home{
	background-position: 0 -205px;
}

#menu li a.last:hover{
	background-position: 0 0;
}
/* End Menu */


/* Begin Sidebar */
#sidebar{
}

#sidebar form{
}

#sidebar h2{
  height: 16px;
	margin: 5px 0 10px 0;
	padding: 0 0 0 22px;	
  background: transparent url('images/icon.png') no-repeat 0 0;
	font-size: 1.2em;
  text-transform: uppercase;
  letter-spacing: 0.05em; 
}

#sidebar ul li{
	margin-bottom: 25px;
	list-style-type: none;
	list-style-image: none;
}

#sidebar ul p, #sidebar ul select{
	margin: 5px 0 8px;
}

#sidebar ul ul, #sidebar ul ol{
	margin: 5px 0 0 10px;
}

#sidebar ul ul ul, #sidebar ul ol{
	margin: 0 0 0 10px;
}

ol li, #sidebar ul ol li{
	list-style: decimal outside;
}

#sidebar ul ul li, #sidebar ul ol li{
	margin: 3px 0 0;
}

#sidebar a.goto{
  width: 110px;
  height: 14px;
  margin-top: 10px;
  padding: 4px 9px;
  display: block;
  background: transparent url('images/goto.gif') no-repeat scroll 0 0;
  font-weight: bolder;
  color: #7d7d7d;
}

#sidebar a.goto:hover{
	text-decoration: none;
}
	
#sidebar #searchform #s{
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit{
	padding: 1px;
}
/* End Sidebar */


/* Begin Footer */
#footer p{
	padding: 120px 0 0 166px;
	text-align: left;
}
/* End Footer */ 


/* Begin Images */
p img{
	max-width: 100%;
}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered{
	margin-left: auto;
	margin-right: auto;
	display: block;
}

img.alignright{
	margin: 0 0 2px 7px;
	padding: 4px;
	display: inline;
}

img.alignleft{
	margin: 0 7px 2px 0;
	padding: 4px;
	display: inline;
}

.alignright{
	float: right;
}

.alignleft{
	float: left
}
/* End Images */


/* Begin Entry Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	padding: 0 0 0 30px;
	padding-left: 10px;
	list-style: none;
	text-indent: -10px;
}

html>body .entry li{
	margin: 7px 0 8px 10px;
}

.entry ul li:before, #sidebar ul ul li:before{
	content: "\00BB \0020";
}

.entry ol{
	padding: 0 0 0 35px;
}

.entry ol li{
}

.postmetadata ul, .postmetadata li{
	display: inline;
	list-style-type: none;
	list-style-image: none;
}
/* End Entry Lists */


/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 5px 3px;
	text-align: center;
}

#sidebar #searchform #s{
	width: 108px;
	padding: 2px;
}

#sidebar #searchsubmit{
	padding: 1px;
}

.entry form{ /* This is mainly for password protected posts, makes them look better. */
	text-align: center;
}

select{
	width: 130px;
}

#commentform{
	margin: 5px 10px 0 0;
}

#commentform input{
	width: 170px;
	margin: 5px 5px 1px 0;
	padding: 2px;
}

#commentform textarea{
	width: 100%;
	padding: 2px;
}

#respond:after{
  content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

#commentform #submit{
	margin: 0 0 5px auto;
	float: right;
}
/* End Form Elements */


/* Begin Comments*/
.alt{
	padding: 10px;
}

.commentlist{
	text-align: justify;
}

.commentlist li{
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
}
	
.commentlist li ul li{
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p{
	margin: 10px 5px 10px 0;
}

.children{
}

#commentform p{
	margin: 5px 0;
}

.nocomments{
	text-align: center;
}

.commentmetadata{
	display: block;
}
/* End Comments */


/* Begin Calendar */
#wp-calendar{
	width: 155px;
	margin: 10px auto 0;
	empty-cells: show;
}

#wp-calendar #next a{
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a{
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a{
	display: block;
}

#wp-calendar caption{
	width: 100%;
	text-align: center;
}

#wp-calendar td{
	padding: 3px 0;
	text-align: center;
}

#wp-calendar td.pad:hover{ /* Doesn't work in IE */
	background-color: #fff;
}
/* End Calendar */


/* Begin Various Tags & Classes */
acronym, abbr, span.caps{
	cursor: help;
}

acronym, abbr{
	border-bottom: 1px dashed #999;
}

blockquote{
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
}

blockquote cite{
	margin: 5px 0 0;
	display: block;
}

.center{
	text-align: center;
}

.hidden{
	display: none;
}

hr{
	display: none;
}

a img{
	border: none;
}

.navigation{
	margin-top: 10px;
	margin-bottom: 60px;
	display: block;
	text-align: center;
}
/* End Various Tags & Classes*/


/* Captions */
.aligncenter, div.aligncenter{
	margin-left: auto;
	margin-right: auto;
	display: block;
}

.wp-caption{
  margin: 10px;
	padding-top: 4px;
	background-color: #f3f3f3;
	border: 1px solid #ddd;
	text-align: center;	
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img{
	border: 0 none;
}

.wp-caption p.wp-caption-text{
	padding: 0 4px 5px;
	font-size: 11px;
	line-height: 17px;
}
/* End captions */
