/*  
Theme Name: drews
Theme URI: http://www.drews.ru/
Description:  Theme for home site http://drews.ru
Version: 1.00
Author: drews
Author URI: http://drews.ru/
*/

body {
	font-family: Trebuchet MS, Verdana, Sans-Serif;
	margin: 0;
	padding: 0;
	font-size: 16px;
}

div.container {
	margin: auto;
	padding: 0px;
	width: 100%;
	height: 100%;
	
}

#header {
	display: block;
	height: 230px;
	padding-left: 120px;
	background: #fff url(images/drews.gif) no-repeat 18px top;
}

	#header h1 {
		font-family: Verdana, Sans-Serif;
		font-size: 48pt;
		font-weight: normal;
		display: block;
		width: 420px;
		color: #1b1c40;
		float: left;
		padding: 0;
		margin: 0;
		text-shadow: 2px 2px 1px #DDDDDD;
	}
		#header h1 a {
			text-decoration: none;
			color: #1b1c40;
		}
	
	.desc {
		font-family: Verdana, Sans-Serif;
		font-size: 12px;
		color: #1b1c40;
		width: 400px;
		float: left;
		margin: 0;
		padding: 0;
		padding-top: 18px;
	}	

#content {
	position: relative;
	display: block;
	height: 100%;
}

#content-wrapper {
	float: left;
	overflow: hidden;
	background: #fff url(images/lspacer.gif) repeat-y left top;
}

#sidebar {
	position: absolute;
/*	float: right; */
	margin-left: -20px; 
	overflow: hidden;
/*	height: 100%; */
	width: 256px;
	top: 39px;
	left: 772px;
/*	background-color: #FFDFEA; */
}

#sidebar ul {
	list-style-type: none;
}

#sidebar h2.widgettitle {
	font-family: Trebuchet MS,Lucida Sans;
	font-size: 18px;
	font-weight: normal;
	color: #333366;

}

#footer {
	height: 80px;
	padding-left: 120px;
	padding-top: 18px; 
	border-top: solid 1px #CCCCCC;
	background: #fff url(images/lspacer.gif) repeat-y left top;
	position: relative;
}

div.postgrid {
	display: block;
	width: 630px;
	position: relative;
	padding-left: 120px;
}

	div.postgrid .post {
		height: 278px;
		width: 188px;
		border: solid 2px #ecf5e2; 
		float: left;
		margin-right: 18px;
		margin-bottom: 18px;
	}

div.post-title {
	font-family: Trebuchet MS, Sans-Serif;
	font-size: 14px;
	padding: 3px 4px;
	text-shadow: 1px 1px 1px #AAAAAA;
}
	div.post-title a:hover {
		color: #FF7200	
	}
	
	div.post-title a:visited {
		color: #F96D9B;
	}
	
div.post-excerpt {
	padding: 3px 4px;
	font-size: 12px;
}

	div.post-excerpt a {
		text-decoration: none;
		color: #1b1c40;
	}

	div.post-excerpt a:hover {
		color: #FF7200
	}

div.post-attrs {
	font-size: 10px;
	color: #0f0f0f;
	margin: 0px;
	padding: 4px;
	background-color: #ecf5e2;
}
	div.post-attrs .post-date {
		padding-left: 12px;
		padding-right: 18px;
		background: url(images/calendar.gif) no-repeat left 1px;
		cursor: hand;
		cursor: pointer;
	}
	div.post-attrs .post-img-count {
		padding-left: 16px;
		padding-right: 18px;
		background: url(images/frame.gif) no-repeat left 3px;
		cursor: hand;
		cursor: pointer;
	}
	div.post-attrs .post-comments-count {
		padding-left: 16px;
		padding-right: 18px;
		background: url(images/comment.png) no-repeat left 3px;
		cursor: hand;
		cursor: pointer;
	}

div.post-month {
	font-family: Trebuchet MS, Lucida Sans Unicode, Verdana, Sans-Serif;
	font-size: 18px;
	font-weight: normal;
	color: #333366;
	position: relative;
	padding-bottom: 12px;
	left: -36px;
	
}

.clear {
	clear: both;
	height: 0;
	overflow: hidden;
}

.wp-post-image {
	padding: 4px 4px 3px 4px;
}

.hentry {
	font-family: Trebuchet MS, Lucida Sans Unicode, Verdana, Sans-Serif;
	font-size: 12pt;
	margin-left: 120px;
	width: 75%;
}

.entry img {
	margin-top: 8px;
	margin-bottom: 8px;
}

.entry .img-num {
	position: absolute;
	display: block;
	background-color: #FFAA55;
	font-size: 18px;
	font-weight: bold;
	left: 18px;
	margin-top: 8px;
	width: 54px;
	text-align: center;
}

.entry .post-text {
	padding-bottom: 12px;
	margin-bottom: 12px;
}

.separator {
/*	padding-left: 120px;
	padding-right: 20px; */
}

.month-num {
	position: absolute;
	width: 54px;
	background-color: /*#F96D9B;*/ #FFAA55; 
	color: #272A59;
	font-size: 20px;
	text-align: center;
	left: 18px;
	top: 0px;
}

.postmeta {
	position: absolute;
	left: 18px;
	top: 0px;
	width: 54px;
	background-color: /*#F96D9B;*/ #FFAA55; 
	color: #272A59;
}

.postmeta .post-date {
	display: block;
	position: relative;
	font-family: Trebuchet MS, Tahoma, Sans-Serif;
	font-size: 10px;
	font-weight: bold;
	top: 0px;
}

.postmeta .post-day {
	display: block;
	font-size: 20px;
	text-align: center;
}

.postmeta .post-month {
	display: block;
	text-align: center;
}

#openid_enabled_link, .openid_link, #openid_identifier, #commentform #openid_identifier  {
	background-image:url("images/openid.gif");
	background-position:3px 50%;
	background-repeat:no-repeat;
	padding-left:21px !important;
}

.navi {
	width: 100%;
	margin-top: 24px;
}

.navi ul {
	list-style-type: none;
	padding: 0px;
	margin: 0px;
}

	.navi ul li {
		font-size: 18px;
		height: 24px; 
		list-style-type: none;
		display: inline;
		padding: 8px;
		background-color: #ECF5E2;
	}
		
		.navi ul li.sel {
			background-color: #F76F9B;
			color: #FFF;
		}

p.wp-caption-text {
	font-size: 12px;
	color: #6B4848;
}

h2 div#print {
	padding: 16px;
	border: solid 1px #ECF5E2;
	float: right;
}