/*
Theme Name: aga
Theme URI: http://agafonov.pp.ru/
Description: Custom WP theme.
Version: 0.1
Author: Dmitry Agafonov
Author URI: http://agafonov.pp.ru/
Tags: dark,
Text Domain: aga

	Hi, everyone!

*/

/* Common */

body {
	background:#000 url('/i/bg.png') repeat-x;
	margin:0 5%;
	padding:0;
	color:#333;
	font-family:"Times New Roman","Liberation Serif",serif;
	font-size:16px;
	line-height:20px;
}

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

h1 {
	font-size:32px;
	vertical-align:bottom;
	padding-bottom:10px;
}

h2 {
	font-size:32px;
	font-weight:normal;
	padding:20px 0;
	letter-spacing:-1px;
}

h3 {
	font-size:24px;
	font-weight:normal;
	padding:10px 0;
	letter-spacing:-1px;
}

h2 a, h3 a {
	text-decoration:none;
}

p {
	padding-bottom:10px;
}

a {
	color:#339;
}

a:visited {
	color:#336;
}

a img {
	border:none;
}

/* Header */

#header, #header a {
	color:#999;
	line-height:40px;
	font-style:italic;
}
#header h1, #header a:hover {
	color:#fff;
}
#pagemenu {
	position:relative; /* IE bug: links in float not clickable */
	float:right;
}
#pagemenu a {
	padding-left:10px;
}
#searchform {
}
#searchform input {
	position:relative;
	top:13px;
	float:right;
	font-size:14px;
	line-height:16px;
	font-style:normal;
	border:1px solid #336;
	background-color:transparent;
	color:#ccc;
	width:180px;
	margin-right:20px;
}
#searchform input:hover {
	border:1px solid #669;
}
#rsslink {
	float:right;
	opacity:0.5;
}
#rsslink:hover {
	opacity:1;
}

/* Content */

#content {
	background:#fff url('/i/cbg.png') repeat-x;
	margin-bottom:20px;
}
#content img.ico {
	vertical-align:top;
	width:16px;
	height:16px;
}
#content .entry h2 a {
	color:#333;
}
#content .entry ul, #content .entry ol {
	margin-left:40px;
	padding-bottom:10px;
}
#content .tags {
	margin:10px 0 20px 0;
	padding-top:10px;
	border-top:1px solid #ccc;
	color:#666;
}
#content .tags a {
	color:#669;
}
#content pre {
	border:1px solid #ccc;
	background-color:#eee;
	padding:10px;
	margin:0 0 10px 0;
}

#page {
	margin:20px 240px 20px 20px;
}

.post-edit-link {
	float:right;
}

.small, small {
	font-size:12px;
}
.center {
	text-align:center;
}

/* Begin Images */
p img {
	padding: 0;
	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 {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */

#sidebar {
	float:right;
	text-align:center;
	padding:0 20px;
	margin:20px 0;
	background:url('/i/sbg.png') no-repeat;
	min-height:320px;
}
#sidebar p, #sidebar h2 {
	width:180px;
	overflow:hidden;
}
#sidebar ul {
	list-style:none;
}
#sidebar ul.meta {
	margin-top:20px;
	padding-top:10px;
	border-top:1px solid #ccc;
}

#endcontent {
	clear:both;
}
div.navigation {
	font-size:12px;
	height:20px;
}
ol.commentlist, ul.children {
	list-style:none;
}
li.comment {
	padding:20px 0 0 20px;
	margin-top:10px;
	background:url('/i/ctbg.png') no-repeat;
}
/*li.comment.odd {
	background:url('/i/cobg.png') no-repeat;
}*/
li.comment.bypostauthor {
	background:url('/i/cabg.png') no-repeat;
}
div.comment-author {
	padding-bottom:10px;
}
div.comment-author img {
	padding-right:10px;
}
div.comment-meta {
	font-size:12px;
	padding-bottom:10px;
}
div.reply {
	font-size:12px;
}
#respond input, #respond textarea {
	font-size:14px;
	font-family:sans-serif;
	border:1px solid #ccc;
	padding:2px;
}
#respond textarea {
	width:99%;
}

/* Footer */
#promo {
	text-align:center;
	margin:5px 0 10px;
}
#footer {
	background:#fff url('/i/fbg.png') repeat-x;
	line-height:16px;
	font-style:italic;
	margin-bottom:20px;
}
#footer p {
	padding:10px 20px;
}
#footer img {
	vertical-align:top;
	width:16px;
	height:16px;
}
#links {
	float:right;
}

/* Decor */

div.c1, div.c2, div.c3, div.c4, div.c5, div.c6 {
	height:4px;
	width:4px;
	background-repeat:no-repeat;
	line-height:4px;
}
div.c2, div.c4 {
	clear:both;
}
div.c2, div.c4, div.c6 {
	float:right;
}
div.c1 {
	background-image:url("/i/c1.png");
}
div.c2 {
	background-image:url("/i/c2.png");
}
div.c3 {
	background-image:url("/i/c3.png");
}
div.c4 {
	background-image:url("/i/c4.png");
}
div.c5 {
	background-image:url("/i/c5.png");
}
div.c6 {
	background-image:url("/i/c6.png");
}

#powered {
	text-align:center;
	font-size:12px;
	font-style:italic;
}
#powered a {
	color:#666;
}
#powered a:hover {
	color:#ccc;
}

/*div, p, ol, ul { border:1px solid red; }*/

