/*
Theme Name: Cehla
Description: Простий та зручний шаблон
Version: 1.1.0.1
Author: Юрко Червоний
Author URI: http://skinik.name
Tags: fixed width, two columns, widgets, skinik, red, grey
*/

/* Reset
-------------------------------------------------------------------*/
* { padding: 0; margin: 0; outline: none;}
ul, ol { list-style: none; list-style-position: inside; }
ol ol, ul ul, ol ul, ul ol { margin-left: 20px; margin-bottom: 0; }
img { border: none; }

.no-text {
	font-size:0;
	line-height:0;
	text-indent:-9999em;
}


/* Body
-------------------------------------------------------------------*/
body { 
	font: 13px/18px "Lucida Grande", Verdana, Helvetica, Arial, Geneva, sans-serif; 
	color: #333; 
	background-color: #fff; 
}

h1, h2, h3, h4, h5,h6 { font-family: Georgia, serif, "Trebuchet MS", Helvetica, Arial, Geneva, Sans-Serif; font-weight: normal; color: #333; }
h1 { font-size: 22px; line-height: 26px; margin-bottom: 10px; }
h2 { font-size: 20px; line-height: 24px; margin-bottom: 7px; }
h3 { font-size: 18px; line-height: 22px; margin-bottom: 5px; }
h4 { font-size: 16px; line-height: 20px; margin-bottom: 5px; }
h5 { font-size: 14px; line-height: 18px; margin-bottom: 5px; }
h6 { font-size: 12px; line-height: 16px; margin-bottom: 5px; }

h1 span { color: #999; }

a { color: #5371c5; text-decoration: none; }
a:hover,active { color: #cc0000; text-decoration: underline; }
a:visited { color: #810381; }

p { margin-bottom: 10px; }

input, textarea { 
	font: 12px Verdana, Helvetica, Arial, Geneva, sans-serif; 
	border-radius: 2px;
	-moz-border-radius: 2px;
	-khtml-border-radius: 2px;
	-webkit-border-radius: 2px;
}

blockquote{ 
	font: italic 12px Georgia, Serif; 
	padding: 5px;
	border-left:3px solid #999999;
	margin: 10px 0 10px 20px;
	background-color: #fafafa;
}
blockquote p { margin: 0; }


/* Container
-------------------------------------------------------------------*/
#container { 
	width: 900px; 
	margin: 15px auto 0px auto;
	overflow: hidden; 
}
#container #wrapper { 
	width: 900px; 
	float: left; 
	overflow: hidden; 
}


/* Header
-------------------------------------------------------------------*/
#header { 
	width: 900px; 
	height: 70px; 
	float: left; 
	position: relative; 
}
#header h1 { 
	font: 24px Verdana;
	padding: 12px 0 0 0; 
	margin-bottom: 0; 
	color: #000;
	text-shadow: 1px 1px 1px #ccc; 
	text-decoration: none; 
}
#header h1 a { 
	color: #000; 
	text-shadow: 1px 1px 1px #ccc; 
	text-decoration: none; 
}
#header h1 span { 
	font-size: 15px; 
	color: #333;
	text-shadow: none; 
	display:block;
}



/* Search
-------------------------------------------------------------------*/
#search {
	position: absolute;
	top: 30px; 
	right: 0px;
}
#s { 
	width: 217px;
	height: 14px;
	padding: 5px 0 5px 23px;
	vertical-align: bottom;
	line-height: 1px;
	font: normal 12px Verdana, Sans-Serif;
	color: #777;
	border: 1px #999999 solid;
	background: url(images/sprite.gif) no-repeat 0 -15px;
}

/* Navigation
-------------------------------------------------------------------*/

#nav { 
	width: 900px;
	float: left; 
	height: 50px; 
	position: relative;
}
#nav ul { 
	height:25px;
	background: url(images/sprite.gif) no-repeat 0 12px;
	margin: 10px 0 0 0;
	padding-left: 25px;
	text-shadow: 1px 1px 1px #ccc; 
}
#nav ul li { 
	display: inline; 
	margin-right: 10px;
	font-weight: bold; 
	text-decoration: none; 
	color: #000; 
	line-height: 33px; 
}
#nav ul li ul li { 
	display: inline; 
	margin-right: 20px; 
}
#nav ul li a { 
	font-weight: bold; 
	text-decoration: none; 
	color: #000; 
	line-height: 33px; 
}
#nav .current_page_item a { border-bottom: 2px #999999 solid; }
#nav .current_page_item { border-bottom: 2px #999999 solid; }
#nav ul li a:hover { border-bottom: 2px #c00000 solid; }

/*** RSS Buttons ***/
#nav #feed ul {
	background:transparent;
	height:45px;
	padding:0;
	margin:0;
	width:200px;
}
#nav #feed {  
	position: absolute; 
	right: 0px;
	top: -5px;
	display: block;
}

#nav #feed a {
	display:block;
	float:left;
	height:45px;
	width:45px;
	margin-left:5px;
	background: url(images/sprite.gif) no-repeat 0 0;
	opacity:0.7;
}
#nav #feed a:hover { opacity:1; border-bottom:none; }

#nav #feed .rss{background-position:0 -102px;}
#nav #feed .greader {background-position:0 -192px;}
#nav #feed .lenta {background-position:0 -147px;}


/* Content
-------------------------------------------------------------------*/
#content { 
	width: 631px; 
	float: left; 
	padding: 15px 0;
	margin-right: 25px;
	border-top:4px solid #c00000;
	overflow: hidden; 
}

#content .post {margin-bottom: 10px; overflow:hidden; }
#content .post p { 	text-align:justify; }

#content .post a.more-link { font-weight: bold; color: #c00000; }
#content .post a:hover.more-link { font-weight: bold; color: #999999; }

#content .post h1.post-title { 
	color: #333;
	font-family: Georgia, serif;
	font-size: 20px;
	margin-bottom: 1px;
	clear: both; 
}
#content .post h1.post-title a {
	font-family: Georgia, serif;
	text-decoration: none;
	color: #333;
}
#content .post h1.post-title a:hover { 
	text-decoration: underline;
	color: #333;
}

#content .post .post-info { 
	clear: both; 
	font-size: 11px; 
	color: #333; 
	padding: 2px 5px 2px 5px;
	margin: 10px 0; 
	border: 1px #999999 dashed;
}
#content .post .post-info a { color: #333; text-decoration:none; }
#content .post .post-info a:hover { color: #000; text-decoration:underline; }

/*** написи під заголовком публікації START ***/
#content .date-category-author{ margin-bottom:4px; color:#333; }
#content .date-category-author a { color: #333; text-decoration:none; }
#content .date-category-author a:hover { color: #000; text-decoration:underline; }
/*** написи під заголовком публікації END ***/

#content #pages { text-align: center; }
#content ul, ol, dl { margin-bottom: 20px; }
#content ul { 
	list-style: disc;
	list-style-position: inside; 
}
#content ol { 
	list-style: decimal; 
	list-style-position: inside; 
}
#content dl dt { 
	font-weight: bold;
}
#content dl dd { 
	font-style: italic;
	margin: 0 0 5px 20px;
	color: #555;
}

/*** Bookmarks ***/
#content .post .bookmarks {
	clear:both;
	margin: 0 0 5px 0;
	line-height:15px;
	height:16px;
	display:block;
}
#content .post .bookmarks .text {float:right;font-weight:bold; padding-right:10px;}
#content .post .bookmarks ul { display:block; width:auto; float:right; margin-bottom:0; }
#content .post .bookmarks ul li {
	display:block;
	float:right;
	list-style:none;
	float: right;
	width: 16px;
	height: 16px;
	margin: 0 0 -3px 5px;
}
#content .post .bookmarks ul li a {
	display:block;
	float:right;
	list-style:none;
	float: right;
	width: 16px;
	height: 16px;
	margin: 0 0 -3px 5px;
	background: url(images/sprite.gif) scroll no-repeat transparent;
}
#content .post .bookmarks .f { background-position: 0 -40px; }
#content .post .bookmarks .s { background-position: 0 -56px; }
#content .post .bookmarks .t { background-position: 0 -72px; }
#content .post .bookmarks  .fo { background-position: 0 -88px; }


/* Aligns
-------------------------------------------------------------------*/
.aligncenter { margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 5px 15px 10px 0; }
.alignright { float: right; margin: 5px 0 10px 15px; }


/* Форма коментування
-------------------------------------------------------------------*/
#commentform { 
	background-color: #fafafa; 
	border:1px solid #d3d3d3;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	padding: 10px; 
	color: #555; 
}
#commentform p { margin-bottom: 7px; }
#commentform textarea { 
	width: 85%; 
	border: 1px solid #aaa; 
	height: 120px;
	font-size: 0.9em;
	padding:2px;
}
#commentform input.text { 
	width: 150px; 
	border: 1px solid #aaa; 
	margin-right: 10px; 
	padding:2px;
	font-size: 0.9em;
}
#commentform input#submit { padding: 3px 10px; }



/* Вивід коментарів
-------------------------------------------------------------------*/
/*Стилі навігації коментарів*/
.entry{
margin: 0;
padding: 0;
}
.entry h3 {
	margin-top: 15px;
	clear: both;
}

/************ чергування кольорів у коментарях ***********/
ol.commentlist li.even {
	background:#fff;/*  білий */
	margin-top:15px;/* відступи знизу для дочірніх коментарів */
}
ol.commentlist li.odd {
	background:#f3f3f3;/*  сірий */
	margin-top:15px;/* відступи знизу для дочірніх коментарів */
}
/*********** START  виділення коментарів автора  ************/
ol.commentlist li.comment-author-admin{
	border:1px solid #c00000;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.comment-author-admin .fn { color:#c00000; }
.comment-author-admin .fn a { color:#c00000; }
/*********** END  виділення коментарів автора  ************/

.commentlist li .avatar { 
	float: right;
	border: 1px solid #ccc;
	padding: 2px;
	background: #f3f3f3;
}
.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
}
.says{
	font-size: 0.9em;
	font-weight: normal;
}
.commentmetadata {
	font-weight: normal;
}
.alt {
	margin: 0;
	padding: 10px;
}
.commentlist {
	padding: 0;
	text-align: justify;
}
.commentlist li {
	font-size: 0.9em;
	font-weight: bold;
	border:1px solid #aaa;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	margin: 10px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	overflow: hidden;
}
.commentlist li ul li {
	font-size: 1em;
	margin: 7px 0px -10px -10px;
	list-style: none;
}
.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	margin: 10px 5px 10px 0;
}
.children { padding:0px; }/* відступи для дочірніх коментарів */
.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
}
.commentmetadata {
	margin: 0;
	display: block;
}

/* Sidebar
-------------------------------------------------------------------*/
#sidebar { 
	width: 240px; 
	float: left; 
	font-size: 11px; 
	color: #555;
	margin-bottom: 15px;
	border-top:4px solid #999999;
	overflow: hidden;
	padding: 0;
}

#sidebar h3,h2 { 
	font: bold 14px Georgia, serif;
	color: #333; 
}

#sidebar a { color: #333; text-decoration: none; }
#sidebar a:hover { color: #777; text-decoration: underline;  }
#sidebar .current-cat a { color: #000; text-decoration: underline;  }
#sidebar .cat-item a:hover { color: #000; text-decoration: underline;  }
#sidebar a.about_author{ text-decoration: underline; }
#sidebar a:hover.about_author{ text-decoration: none; border: none; }

#sidebar .no-border-bottom {border-bottom:none !important;}/* Прибирає нижню рамку */

/* Wp-Polls
-------------------------------------------------------------------*/
#sidebar .block .wp-polls-ul {
	margin:0 0 10px 0 !important;
}
#sidebar .block  .wp-polls ul li, .wp-polls-ans ul li {
	list-style: none !important;
	padding-left: 0  !important; 
}

#sidebar .block { 
	padding: 15px 0;
	padding-right: 0;
	overflow: hidden;
	border-bottom: 1px #c00000 dashed;
}
#sidebar .block ul li { 
	padding-left: 18px; 
	list-style-image: url(images/arrow.gif); 
}
#sidebar .block ul li ul li { margin-left: -20px; }


/* Calendar
-------------------------------------------------------------------*/
#sidebar .block #calendar_wrap .pad { background: none; }
#sidebar .block #calendar_wrap #prev { background: none; }
#sidebar .block #calendar_wrap #next { background: none; }
#sidebar .block #calendar_wrap table { width: 100%; margin: 0;padding: 0;}
#sidebar .block #calendar_wrap table th { width: 14.2%; }
#sidebar .block #calendar_wrap table td { width: 14.2%; background: #f3f3f3; text-align: center; color: #000; }
#sidebar .block #calendar_wrap table td a { font-weight: bold; }


/* Footer
-------------------------------------------------------------------*/
#footer {
	width: 100%;
	height: 23px;
	clear:both;
	position: relative;
	border-top: 4px #999999 solid;
	text-align: center;
	padding-top: 4px;
	margin-bottom: 20px;
}
#footer a { 
	color: #555;
	text-decoration: underline;
}
#footer a:hover { 
	color: #555;
	text-decoration: none;
}


/* Captions
-------------------------------------------------------------------*/
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.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;
	text-align:center !important;
}


/* Related posts
-------------------------------------------------------------------*/
.box {
	border: 1px solid #f3f3f3; 
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	-khtml-border-radius:5px;
	padding: 0;
	margin-bottom:10px;
}

.box #related_posts h3{
	background:#f3f3f3;
	padding: 2px; 
}

.box #related_posts ul {
	margin-left:5px;
	margin-bottom:0;
	padding-bottom:0;
}
.box .post #related_posts ul li {
	padding-left:0;
}
.box #related_posts .excerpt {
	display:block;
}
