/*  
Theme Name: Xaoc.ru theme
Theme URI: http://www.xaoc.ru/
Description: A two-columned wordpress theme with a web 2.0ish look
Author: Anton Nikiforov
Author URI: http://www.antonnikiforov.com

*/

/* Begin Typography & Colors */
#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */


/* 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 input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#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 {
	text-align: center;
	width: 100%;
	}

#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;
	}

hr {
	display: none;
	}

a img {
	border: none;
	padding: 3px;
	}
	
img {
 	border: none;
	padding: 3px;
}		
	
/* End Various Tags & Classes*/

/***Begin Web 2.0 Specific CSS***/
body {
	background-image: url("images/bg.gif");
	background-repeat: repeat-x;
	padding: 0px;
	margin: 0px;
	font-family: Arial;
	font-size: 12px;
}

.mainbox {
	margin: 0px auto;
	/*width: 775px;*/
}



/***********************
*	Wrapper            *
***********************/

#wrapper {
	float: left;
	width: 100%;
	min-width: 1000px;
	height: 100%;
	overflow: hidden;
	font-size: 12px;
	}
	
/***********************
*	           *
***********************/	

.bringdown {
	clear: both;
}

.alignleft {
	float: left;
	margin-bottom: 15px;
}

.alignright {
	float: right;
	margin-bottom: 15px;
}

a:link {
	color: #88991E;
	text-decoration: none;
}

a:visited {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

/***Header Stuff***/
#logo {
	/*behavior: url('iepngfix.htc');
	background-image: url("wp-content/themes/web20/iepngfix.htc");
	width: 298px;*/
	height: 36px;
	float: left;
	margin-top: 21px;
}

#logo h1 {
	color: #FFF;
	font-weight: bold;
	font-size: 40px;
	margin: 0px;
	padding: 0px;
	font-family: 'Trebuchet MS', Verdana, Arial, Sans-Serif;
}

#logo h1 a {
	color: #FFF;
	font-weight: bold;
	font-size: 40px;
	margin: 0px;
	padding: 0px;
}
#logo h1 a:hover {
    text-decoration: none;
	
}

#header_adsense {
	padding-top: 28px;
}

#headerdec {
	behavior: url("wp-content/themes/web20/iepngfix.htc");
	background-image: url("images/design.png");
	width: 179px;
	height: 97px;
	margin-left: 526px;
}

#search {
	margin-left: 551px;
	margin-top: -68px;
}

#search input {
	width: 133px;
	height: 17px;
	border: 1px solid #FFF;
	background-color: #D3D9DB;
}

input#submit {
	width: 69px;
	height: 21px;
	border: 0px;
	position: absolute;
	margin-top: 1px;
}

ul#menu {
	padding: 0px;
	margin: 0px;
	margin-top: 50px;
}

html>body ul#menu {
	margin-top: 51px;
}

#menu li {
	list-style-type: none;
	width: 80px;
	height: 24px;
	background-image: url("images/navbg.gif");
	float: left;
	text-align: center;
	padding-top: 5px;
}

li#lastlink {
	width: 81px;
}

#menu a {
	color: #000;
	font-size: 14px;
}

#menu a:link {
	text-decoration: none;
}

#menu a:visited {
	text-decoration: none;
}

#menu a:hover {
	text-decoration: underline;
}

/***Main Area Stuff***/
#content {
	float: left;
	width: 60%;
	min-width: 600px;
	height: 100%;
	overflow: hidden;
	}
/*
#content {
	float: left;
	
	padding-bottom: 10px;
}
*/
/*
#sidebar {
	float: right;
	float: left;
	width: 190px;
	padding-bottom: 10px;
	margin-top: 33px;
	margin-left: 44px;
}
*/
/***Footer Stuff***/
#footer {
	clear: both;
	background-image: url("images/foot-top.gif");
	background-repeat: no-repeat;
	width: 740px;
	padding-top: 8px;
	color: #FFF;
	font-family: Tahoma;
	font-size: 11px;
}

#footbar {
	background-image: url("images/foot-bar.gif");
	width: 739px;
	height: 20px;
	margin: 0px auto;
	text-align: center;
	font-size: 12px;
	margin-top: 5px;
	margin-bottom: 5px;
	color: #000;
	padding-top: 5px;
	font-family: Verdana;
	font-weight: bold;
}
#footbar a {
 color: #88991E;
 font-size: 12px;
 }

#footercontent {
	background-image: url("images/foot-bottom.gif");
	background-repeat: no-repeat;
	width: 730px;
	background-color: #434F54;
	background-position: bottom left;
	padding: 5px;
	padding-top: 0px;
}

#footer h2 {
	background-image: url("images/subhead.gif");
	width: 154px;
	height: 20px;
	text-align: center;
	font-size: 11px;
	font-weight: bold;
	color: #FFF;
	padding-top: 4px;
	margin: 0px;
	font-family: Tahoma;
	margin: 0px auto;
}

#footer h3 a {
	margin: 0px;
	padding: 0px;
	color: #E7EC6A;
	font-size: 11px;
	font-weight: bold;
	font-family: Tahoma;
}

#footer a {
	margin: 0px;
	padding: 0px;
	font-size: 11px;
	font-weight: bold;
}

#footer h3 {
	margin: 0px;
	padding: 0px;
}

.recentcontent {
	margin-bottom: 5px;
}

.recentcontent p {
	margin: 0px;
	padding: 0px;
}

.footbox {
	width: 240px;
	float: left;
	text-align: center;
	margin-bottom: 15px;
}

/***Post Stuff***/
.post {
	margin-top: 10px;
	margin-left: 20px;
}

.posttitle {
	float: left;
	font-family: Tahoma;
	font-size: 11px;
	color: #7F7F7F;
	display:block;
}

.posttitle h2 {
	color: #88991E;
}

.post h2 a {
	font-family: Arial Rounded MT Bold, Arial;
	color: #88991E;
	font-size: 28px;
	margin: 0px;
	padding: 0px;
	margin-bottom: 3px;
}

.posttitle small {
	font-family: Tahoma;
	font-size: 11px;
	color: #7F7F7F;
	margin-top: 1px;
	position: absolute;
}

.post a:link {
	text-decoration: none;
}

.post a:visited {
	text-decoration: none;
}

.post a:hover {
	text-decoration: underline;
}

.commentsquare {
	width: 67px;
	height: 76px;
	background-image: url("images/c-box.gif");
	color: #FFF;
	font-size: 27px;
	float: right;
	text-align: center;
}

.commentsquare a {
	color: #FFF;
	font-size: 27px;
	text-decoration: none;
}

.commentsquare a:link {
	text-decoration: none;
}

.commentsquare a:visited {
	text-decoration: none;
}

.commentsquare a:hover {
	text-decoration: underline;
}

.postcontent {
	clear: both;
}

.postfoot {
	border-top: 1px solid #B6B157;
	border-bottom: 1px solid #B6B157;
	padding-top: 6px;
	padding-bottom: 6px;
	margin-top: 43px;
}

/***********************
*	Sidebar            *
***********************/

#sidebar {
	float: left;
	width: 40%;
	min-width: 400px;
	height: 100%;
	padding: 0 0 30px 0;
	}
/*
#sidebar h2 {
	margin: 20px 0 10px;
	}
*/	
#sidebar h2 {
	background-image: url("images/sideheader.gif");
	background-repeat: no-repeat;
	/*width: 188px;*/
	height: 28px;
	padding: 0px;
	margin: 0px;
	font-family: Arial;
	font-weight: bold;
	font-size: 20px;
	color: #F7FBE5;
	margin-top: 16px;
	margin-bottom: 2px;
	text-align: center;
	margin: 20px 0 10px;
}	
	

#sidebar ul,
#sidebar ol {
	margin: auto 0;
	padding: 0;
	list-style-type: none;
	}

/* Left Sidebar */
#sidebar1 {
	float: left;
	width: 60%;
	height: 100%;
	overflow: hidden;
	}

	#sidebar1 .sb1 {
		width: 80%;
		margin: 0 auto;
		}
	#sidebar1 .sb1 a {
		color: #88991E;
		}

#sidebar1 .sb1 .rssfeeds {
	width: 100%;
	height: 144px;
	position: relative;
	}

	img.rss-logo {
		position: absolute;
		top: 0;
		right: 0;
		border: none;
		padding: 0;
		}
	p.rss-entries {
		position: absolute;
		top: 20px;
		left: 20px;
		background: transparent url(images/rss.gif) no-repeat left center;
		padding: 0 0 0 48px;
		margin: 0;
		}
	p.rss-comments {
		position: absolute;
		top: 80px;
		left: 20px;
		background: transparent url(images/rss.gif) no-repeat left center;
		padding: 0 0 0 48px;
		margin: 0;
		}
	p.rss-entries a,
	p.rss-comments a {
		font-weight: bold;
		}

li.recent-cmts {
	clear: both;
	padding: 15px 3%;
	background: transparent url(images/separator_rct-cmt.gif) repeat-x left bottom;
	line-height: 140%;
	}
li.recent-cmts:hover {
	background: #fafafa url(images/separator_rct-cmt.gif) repeat-x left bottom;
	}

/* Right Sidebar */
#sidebar2 {
	float: left;
	width: 40%;
	height: 100%;
	overflow: hidden;
	}
	#sidebar2 .sb2 {
		margin: 0 20px 0 0;
		}
	#sidebar2 .sb2 a {
		color: #88991E;
		}

#sidebar2 .sb2 ul ul li {
	background: transparent url(images/icon_list.gif) no-repeat 0 6px;
	padding: 0 0 0 20px;
	}


/***Sidebar Items***/
/*
#sidebar h2 {
	background-image: url("images/sideheader.gif");
	width: 188px;
	height: 28px;
	padding: 0px;
	margin: 0px;
	font-family: Arial;
	font-weight: bold;
	font-size: 20px;
	color: #F7FBE5;
	margin-top: 16px;
	margin-bottom: 2px;
	text-align: center;
}
*/
.showcase {
	background-color: #D2DE50;
	background-image: url("images/showcase-bot.gif");
	background-repeat: no-repeat;
	background-position: bottom left;
	width: 177px;
	color: #FFF;
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;
	padding: 5px;
	text-align: center;
}

.showcase img {
	margin-bottom: 8px;
	width: 177px;
	height: 139px;
	margin: 0px auto;
}

.archivebox {
	background-repeat: repeat-y;
	width: 186px;
	padding-bottom: 3px;
}

.archivebox ul {
	padding: 0px;
	margin: 0px;
}

.archivebox li {
	list-style-type: none;
	margin-top: 6px;
	margin-left: 27px;
}

.archivebox a {
	color: #767006;
	font-size: 12px;
}

.archivebox a:link {
	text-decoration: none;
}

.archivebox a:visited {
	text-decoration: none;
}

.archivebox a:hover {
	text-decoration: underline;
	color: #C0440D;
}
/*
#sidebar ul ul{
	padding: 0px;
	margin: 0px;
	background-repeat: repeat-y;
	width: 186px;
	padding-bottom: 3px;

}

#sidebar li li{
	list-style-type: none;
	margin-top: 6px;
	margin-left: 27px;
}

#sidebar a {
	color: #767006;
	font-size: 12px;
}

#sidebar a:link {
	text-decoration: none;
}

#sidebar a:visited {
	text-decoration: none;
}

#sidebar a:hover {
	text-decoration: underline;
	color: #C0440D;
}
*/

/***Text Wigit***/
h2.widgetitle {
	background-image: none;
	font-size: 0px;
	color: #FFF;
}

li.wigit_text {
	background-image: none;
	background-color: transparent;
	border: none;
}

/***Other Stuff***/
.footbox li {
	list-style-type: none;
	margin-top: 3px;
}

.footbox li a {
	color: #E7EC6A;
}


ul#metafoot {
	margin-left: 0px;
	margin-top: 0px;
}

html>body ul#metafoot {
	margin-left: -40px;
}

ul#metafoot2 {
	margin-left: 0px;
	margin-top: 0px;
}

html>body ul#metafoot2 {
	margin-left: -40px;
}
