/*
Theme Name: romanseque
Theme URI: http://romanseque.ru
Description: Вторая версия моей темы
Version: 2.0.0
Author: Строков Денис
Author URI: http://romanseque.ru
Tags: fixed-width, two-columns, right-sidebar, blue, white, light, threaded-comments

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/



body {
	font-size: 62.5%; /* Resets 1em to 10px */
	background-image: url('images/bg2.jpg');
	font-family: Corbel;
	color:#555;
	}

small {
	font-family: Corbel;
	font-size: 0.8em;
	}

h1, h2, h3, h4, h5, h6 {
	font-family: Corbel;
	text-align:left;
}

h1 { font-size: 140%; }
h2 { font-size: 130%; }
h3 { font-size: 120%; }
h4 { font-size: 110%; }

pre {
	overflow:auto;
}

acronym, abbr
{
	font-size: 0.9em;
	letter-spacing: .07em;
	cursor: help;
	border-bottom: 1px dashed #999;
}

strong {	
	color:#666;
}

a {
	color: #26a;
	text-decoration: none;
}

hr {
	display: none;
	}

a img {
	border: none;
	}


/* Layout */

body {
	margin: 0;
	padding: 0;
}

#page {
	margin: 0 auto;
	background-image: url('images/bg.png');
	background-repeat: repeat-y;
	min-height:100%;
	height:auto !important;
	height:100%;
	width: 1000px;
	padding-bottom: 0px;
}

#header {
	margin: 0 auto;
	padding: 0;
	width: 1000px;
}

#content {
	margin-left: 50px;
	padding:0 0 0 0;
	width:610px;
	float:left;
}
	
#sidebar {
	/*#background-image: url('images/sidetop.jpg');
	#background-color: #f5f5ea;
	background-repeat: repeat-x;*/ 
	width:270px;
	float:right;
	margin-right: 50px;
}	
#wrapper {
	clear: both;
	padding: 2px;
}
.sidebottom {
	/*background-image: url('images/sidebottom.jpg');
	background-repeat: repeat-x;*/
	display: block;
	width: 300px;
	height: 157px;
	margin: 0px;
	padding: 0px;
}

#footer {
	margin: 20px auto;
	clear: both;
}

/* Header */
#headerimage {
	background-image: url('images/headerpng.png');
	height: 116px;
	width:1000px;
}
#header h1 {
	margin:10px 0;
}

#header .description {
	font-size:1.2em;
}
.quotescollection_randomquote {
	background: url('images/q2.png') top left no-repeat;
	background-color: #ffffff;
	display: block;
	width: 400px;
	padding-left: 25px;
	border-raduis: 10px;
	
	font: italic 14px Georgia;
}
.quotescollection_randomquote p {
		background: url('images/q1.png') bottom right no-repeat;
		background-color: #ffffff;
		min-height: 30px;
		padding-right: 25px;
		text-align: left;
		margin-top: 90px;
	margin-right: 20px;
}
#hmenu {
	padding-left:10px;
	padding:20px 0;
}

#hmenu ul {
	display:inline;
	margin:0;
	padding:0;
}

	
#hmenu ul li {
	padding: 5px;
	display:inline;
	height: 20px;
	width: 100px;
	margin:0 20px 0 0;
	padding-left: 10px;
}

#hmenu ul li {
	font-size:1.2em;
	font-weight:bold;
	text-transform:uppercase;
}	

#hmenu ul li#hmenu_rss {
	background:url('images/rss.png') no-repeat;
	margin-left: 600px;
	padding-left: 20px;
}	

#hmenu {
	height: 20px;
}
#hmenu a {
	color: #ececec;
	font: 10px Corbel;
	font-weight: bold;
}
#hmenu a:hover {
	color: #ececec;
	text-decoration: underline;
	font: 10px Corbel;
	font-weight: bold;
}


/* End header */

/* Post */

.post {
	color: #333333;
	margin: 0;
	padding:20px 0; 
	text-align: justify;
	font-family: Corbel;
	font-size: 10px;
	overflow:hidden;
	clear:both;
	}

.post h2 {
	margin:0;
	padding:0;
	text-align:left;
}

.post h3.post-title {
	font-weight:bold;
	font-size:1.8em;
	margin:0;
	padding:0;
	text-align:left;
}	


div.archive-title {
	font-size:1.6em;
	font-weight:bold;
}

.post hr {
	display: block;
	}

.postmetadata {
	clear: both;
	font-size:12px;
	color:#888;
	backgrund-color: #f2e5cb;
}

.clear {
	clear: both;
}

.entry {
	font-size:1.4em;
	line-height:1.4em;
	margin:20px 0;
}

.entry blockquote {
	border-radius: 5px 5px;
	-webkit-border-radius: 5px 5px;
	font-size:0.9em;
	padding:5px 20px;
	margin:10px 0;
	background:#f5f5ea;
}

.entry blockquote blockquote {
	font-size:1em;
}

.entry fieldset {
	border:1px dashed #ccc;
}

.entry fieldset legend {
	font-weight:bold;
	text-transform:uppercase;
}

.entry table {
	border-width:0 1px 1px 0;
	border-style:solid;
	border-color:#ccc;
	font-size:0.9em;
}


.entry table tr td {
	padding:5px 10px;
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;

}

.entry table tr th {
	border-width:1px 0 0 1px;
	border-style:solid;
	border-color:#ccc;
	padding:5px 10px;
	background:#f4f4f4;
	color:#666;
	font-weight:bold;
	text-align:center;
}

.entry ol { list-style-type:decimal; }
.entry ol ol {	list-style-type:lower-alpha; }
.entry ol ol ol {	list-style-type:lower-roman; }

a:hover { color:#dd2622 ; }


p img {
	padding: 0;
	max-width: 100%;
	}

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

.alignright {
	padding:0;
	margin: 2px 0 5px 10px;
	display: inline;
	float:right;
	}

.alignleft {
	padding:0;
	margin: 2px 10px 5px 0;
	display: inline;
	float:left;
	}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.navigation .alignleft {
	text-align:left;
}
.navigation .alignright {
	text-align:right;
}

.navigation {
	font-size:20px;
	clear:both;
	width: 700px;
	margin: 0px auto;
}	
#searchsubmit {
	float: right;
	margin-top: 3px;
	margin-right: 25px;
	display: block;
	height: 20px;
	background-color: #943535;
	border-color: #943535;
	font-family: Arial;
	color: #fff;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	padding: 2px 10px 2px 10px;
}
.wp-caption {
	border: 1px solid #ccc;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
}


.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

.searchbox {
	padding:20px;
	text-align:center;
	clear:both;
}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}


/* Comments*/

#comments {
	font-size:1.4em;
	line-height:1.4em;
}

.commentlist {
	margin:20px 0;
	padding:0 0 1px 0;
	background:url('images/border_h.png') repeat-x bottom;
}

.commentlist li {
	list-style:none;
	margin:0;
	padding:0;
	background:url('images/border_h.png') repeat-x top;
}

li.comment div, li.pingback div {
	padding:20px;
	overflow:auto;
}

li.comment div div, li.pingback div div {
	padding:0;
	overflow:visible;
}

.commentlist li.even {
	
}

.commentlist li.odd {
	
}

ul.children li {
	list-style:none;
}

img.avatar {
	float:left;
	padding:5px;
	margin:0;
	background:#f3f1e1;
}
.fn {
	margin-left: 10px;
}
.url {
	margin-top: 10px;
}
.comment-meta, commentmetadata {
	margin-left: 10px;
}
.comment-meta, .reply {
	margin:0;
	padding:0;
	font-size:0.8em;
}

.comment-author cite {
	font-style:normal;
	font-weight:bold;
}


textarea#comment {
	width:100%;

}

#comments div.navigation {
	font-size:0.8em;
}

/* Sidebar */

#sidebar {
	margin-top: 30px;
	font: 1.2em 'Corbel', Arial, Sans-Serif;
	}

#sidebar h2 {
	font-family: 'Corbel', Sans-Serif;
	font-size: 1.2em;
	}

#sidebar h2 {
	padding: 5px;
	text-decoration: underline;
	/*background:url('images/border_h.png') repeat-x bottom;*/
	}


#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	margin:0;
	padding-left: 10px;
	padding-right: 10px;
	list-style-type: none;
	list-style-image: none;
	}
#sidebar ul li ul {

}


#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 0;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 20px;
	}

#sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
	
/* Calendar */
#wp-calendar {
	empty-cells: show;
	width: 250px;
	font-size: 12px;
	}

#wp-calendar #next a {
	font-size: 12px;
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	font-size: 12px;
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	font-weight:bold;
	}

#wp-calendar caption {
	font-weight:bold;
	text-transform:uppercase;
	text-align:left;
	margin:0 0 5px 8px;
	color:#666;
	}

#wp-calendar td {
	padding: 3px 4px;
	text-align: center;
	}
	
#wp-calendar td#today {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	color: #ffffff;
	background:#943535;
}	

#wp-calendar td#prev a {
	padding: 0;
	text-align:left;
	font-weight:normal;
}

#wp-calendar td#next a {
	padding: 0;
	text-align:right;
	font-weight:normal;
}


/* End Calendar */


/* Footer */	

#footer {

	margin: 0 auto;
	padding-top: 44px;
	width: 1000px;
	background-image: url('images/footer.png');
	background-repeat: no-repeat;
	height: 164px;
	text-align:center;
	font-size:1.1em;
	color:#888;
}
#footer table {
	margin-left: 60px;
}
#footer table td p {
	color: #383838;
	font-size: 15px;
	margin-right: 30px;
}
#footer table td p a {
	color: #9e3636;
	text-decoration: underline;
}
.fleft {
	width: 130px;
}
a .retweet {
	background-color: #ffccff;
}

/* Custom */

.sec {
display: table-cell;
vertical-align: inherit;
font-family: Tahoma;
font-size: 43px;
width: 10px;
padding-right: 2px;
margin: 0px;
}
.sec {
display: table-cell;
vertical-align: inherit;
}
#postitle {
padding: 0px;
margin: 0px;
display: block;
font-family: Corbel;
font-size: 20px;
}
#postitle a {
color: #26a;
font-family: Corbel;
font-size: 18px;
}
#postitle a:hover {
color: #ad2522;
font-family: Corbel;
font-size: 18px;
}
#more-link {
	clear: both;
	font-size: 20px;
	color: #ad2522;
	text-decoration: underline;
}
.smaller {
padding-top: 5px;
display: block;
font-family: Corbel;
font-size: 11px;
}
/*Feeds, Google, Yandex, Twitter*/
#feeds a {
padding-left: 27px;
font-size: 10px;
font-weight: bold;
padding-bottom: 5px;
line-height: 25px;

}
#feeds {
	margin-top: 15px;
	margin-right: 32px;
	text-align: left;
}
#feeds td {
	vertical-align: middle;
	margin: 5px;
}
.rssfeed {
	width: 140px;
	height: 25px;
	background-image: url('images/rss.gif');
	background-repeat: no-repeat;
}
.yandex {
	width: 140px;
	height: 25px;
	background-image: url('images/yandex.gif');
	background-repeat: no-repeat;
}
.twitter {
	width: 140px;
	height: 25px;
	background-image: url('images/twitter.gif');
	background-repeat: no-repeat;
}
.google {
	width: 140px;
	height: 25px;
	background-image: url('images/google.gif');
	background-repeat: no-repeat;
}


#searchform {
	background: transparent ;
}	

/*Рейтинг*/

#rating h3 {
	border-bottom: 1px solid #4d4d4d;
	color: #333;
	display: block;
	float: left;
	font-size: 140%;
	width: 320px;
}

/*Подписка после поста*/
#postscribe  h4{
	font-weight: normal;
	font-size: 140%;
	line-height: 25px;
	color: #383838;
}
.prss {
	color: #ff6c00;
	text-decoration: underline;
	background-image: url('images/prss.gif');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 25px;
	padding-left: 25px;
}
.prss:hover {
	color: #ff6c00;
	text-decoration: none;
	background-image: url('images/prss.gif');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 25px;
	padding-left: 25px;
}
.ptweet{
	color: #0084ff;
	text-decoration: underline;
	background-image: url('images/ptweet.gif');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 25px;
	padding-left: 25px;
}
.ptweet:hover {
	color: #0084ff;
	text-decoration: none;
	background-image: url('images/ptweet.gif');
	background-repeat: no-repeat;
	background-position: bottom left;
	height: 25px;
	padding-left: 25px;
}



