/*
Theme Name: MedPain
Author: Vlad Sher
Tags: медицина, лечение, болезнь, заболевание
*/

/** BEGIN basic styles **/
* {
	margin: 0;
	padding: 0;
}
body {
	font: 12px Arial;
	text-align: center;
	background: transparent url(images/body.gif) repeat 0 0;
	color: #FFFFFF;
}
img {
	border: 0;
}
a {
	text-decoration: none;
	color: #000000;
}
a:hover {
	color: #FF0000 !important;
}
.break {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
.alignleft {
	float: left;
	margin: 10px 10px 5px 0;
}
.alignright {
	float: right;
	margin: 10px 0 5px 10px;
}
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
/** END basic styles **/

.wrapper {
	text-align: left;
	width: 968px;
	margin: auto auto;
	background: url(images/wrapper.gif) repeat-y 0 0;
}

/** BEGIN header **/
#header {
	background: url(images/header.gif) repeat 0 0;
}
#logo {
	float: center;
	background: url(images/logo.gif) no-repeat right 0px;
	padding: 10px 70px 145px 150px;
}
	#logo h1 {
		font-size: 2.2em;
	}
	#logo h3 {
		font: 1.0em Arial;
	}
	#logo a {
		color: #b5af75;
	}
	#logo a:hover {
		color: #FFFFFF !important;
	}
#navigation {
	float: right;
	list-style-type: none;
	padding: 0px 0px 0 0;
}
	#navigation li {
		float: left;
		margin-right: 3px;
	}
	#navigation li a {
		float: left;
		display: block;
		background-color: #dce4d6;
		padding: 1px 10px;
		font: bold 1em Arial;
		text-transform: normal;
		color: #004F75;
	}
	#navigation li a:hover {
		text-decoration: none;
		background-color: #fefbfb;
		color: #00699B !important;
	}
/** END header **/

/** BEGIN content **/
#content {
	background: url(images/content.gif) repeat-y 0 0;
	color: #000000;
	padding: 20px 14px;
}
#content a {
	color: #000000;
	font-weight: bold;
}
	/** BEGIN main **/
	#main {
		float: left;
		width: 56%;
	}
	.title {
		font-size: 1.4em !important;
		font-weight: normal;
		padding: 20px 10px;		
	}
	.post {
		margin: 0 10px 20px 10px;
		border-bottom: 1px dotted #C0C0C0;
		padding-bottom: 10px;
	}
	.post p {
		line-height: 1.6em;
		margin: 10px 0;
		text-align: justify;
	}
	.post h3, h4, h5 {
		font-size: 1.4em;
		font-weight: normal;
		margin: 20px 0 10px;
	}
	.post ul {
		margin: 0 0 10px 18px;
		list-style-type: disc;
	}
	.post ul li {
		padding: 4px 0;
	}
	.post ol {
		margin: 0 0 10px 22px;
		list-style-type: decimal;
	}
	.post ol li {
		padding: 4px 0;
	}
	#content blockquote {
		line-height: 1.6em;
		margin: 10px 0;
		text-align: justify;
		font-style: italic;
		padding: 0 5px 0 10px;
		border-left: 2px solid #CCCCCC;
		background-color: #EEEEEE;
	}
	#content h2 {
		font-size: 2em;
		font-weight: normal;
	}
	.post h2 a {
		font-weight: normal !important;
	}
	.author {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/author.gif) no-repeat 0 2px;
	}
	.category {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/category.gif) no-repeat 0 5px;
	}
	.date {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/date.gif) no-repeat 0 2px;
	}
	.comments {
		margin: 0 !important;
		padding-left: 25px;
		background: url(images/comments.gif) no-repeat 0 5px;
	}
	.author a, .category a, .date a, .comments a {
		font-weight: normal !important;
	}
	.author a:hover, .category a:hover, .date a:hover, .comments a:hover {
		font-weight: bold !important;
	}
	#postnav {
		padding: 10px;
	}
	#main .left {
		width: 70%;
	}
	#comments {
		padding: 10px;
	}
	#comments h2 {
		font-size: 1.6em;
		margin-bottom: 20px;
	}
	#comments h3 {
		font-size: 1.4em;
		margin: 20px 0;
		font-weight: normal;
	}
	#comments form {
		padding: 5px;
	}
	#comments form input, #comments form textarea {
		margin-bottom: 2px;
	}
	.comment1, .comment2 {
		margin: 5px 0;
		padding: 5px;
	}
	.comment1 p, .comment2 p {
		margin-bottom: 10px;
		text-align: justify;
		line-height: 1.4em;
	}
	.comment2 {
		background-color: #EEEEEE;
		border-top: 1px dotted #C0C0C0;
		border-bottom: 1px dotted #C0C0C0;
	}
	.required {
		font-weight: bold;
		color: #FF0000;
	}
	.notfound {
		padding: 20px;
	}
	.notfound p {
		margin: 10px 0;
	}
	.commentdetails {
		float: left;
	}
	.commentauthor {
		font-size: 1.2em;
		margin-bottom: 2px !important;
	}
	.commentauthor a {
		font-weight: normal !important;
	}
	.commentdate {
		font-size: 0.9em;
	}
	.gravatar {
		float: right;
		margin: 5px 0 5px 10px;
	}
	/** END main **/
	/** BEGIN sidebar **/
	#sidebar {
		float: right;
		width: 43%;
	}
	#sideleft {
		width: 55%;
		float: left;
	}
	#sideright {
		width: 45%;
		float: right;
	}
	#sidebar ul {
		list-style-type: none;
		margin: 10px 0 20px;
	}
	#sidebar ul li ul {
		margin: 0 0 0 -10px !important;
	}
	#sidebar ul li {
		padding: 2px 10px 2px 25px;
		line-height: 2em;
		background: url(images/categories.gif) no-repeat 0 7px;
	}
	#sidebar ul li a {
		font-weight: normal !important;
	}
	#sidebar h3 {
		font-size: 1.1em;
		margin-bottom: 10px;
	}
	#categories li {
		background-image: url(images/categories.gif) !important;
	}
	#popularposts li {
		background-image: url(images/popularposts.gif) !important;
	}
	#blogroll li {
		background-image: url(images/blogroll.gif) !important;
	}
	#recentposts li {
		background-image: url(images/recentposts.gif) !important;
	}
	#recentcomments li {
		background-image: url(images/recentcomments.gif) !important;
	}
	#ads {
		margin-bottom: 20px;
	}
	#ads img {
		margin: 2px 1px 1px 2px;
	}
	/** END sidebar **/
/** END content **/

/** BEGIN footer **/
#footer {
	background: url(images/footer.gif) repeat 0 0;
}
	#footer div.wrapper {
		height: 85px;
	}
	#footer a {
		color: #FFFFFF;
		font-weight: bold;
	}
	#footer a:hover {
		color: #FFFFFF !important;
		text-decoration: underline;
	}
	#copy {
		float: left;
		padding: 20px;
	}
	#rss {
		float: right;
		padding: 25px 20px 20px 50px;
		font-size: 1.4em;
		background: url(images/rss.gif) no-repeat 0 20px;
		line-height: 0.8em;
	}
	.links {
		font-size: 12px !important;
	}
	#search {
		float: right;
		padding: 20px;
	}
	#search input {
		font-size: 2em;
		color: #a7bcc3;
		background-color: #fefbfb;
		border: 0;
		width: 250px;
		float: left;
		padding-left: 5px;
	}
	#search button {
		width: 32px; height: 27px;
		background: url(images/search.gif) no-repeat 0 0;
		border: 0;
		text-indent: -9999px;
		margin-left: 10px;
	}
/** END footer **/