﻿/*
Theme Name: oGrey
Description: Стильний сріблястий шаблон
Version: 1.0
Author: z3ro_x
Author URI: http://yurko.if.ua
Tags: fixed width, two columns, widgets, z3ro_x, yurko, white, 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 Helvetica,Arial,sans-serif; 
	color: #333; 
	background: url(images/body_page.gif) repeat-x;
	background-color:#e6e5e6;
}

h1, h2, h3, h4, h5,h6 { font-family: Helvetica,Arial,sans-serif; font-weight: normal; color: #333; text-shadow: 1px 1px 1px #fff; }
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: #006FB5; text-decoration: none; }/*Станадартний лінк*/
a:hover,active { color: #006FB5; text-decoration: underline; }/*Коли навести*/
a:visited { color: #999; }/*Відвіданий*/

p { margin-bottom: 10px; }

input, textarea { 
	font: 12px Helvetica,Arial,sans-serif; 
	border-radius: 2px;
	-moz-border-radius: 2px;
	-khtml-border-radius: 2px;
	-webkit-border-radius: 2px;
}

blockquote{ 
	display:inline-block;
	font:  12px Helvetica,Arial,sans-serif; 
	padding: 5px;
	margin: 10px 0 10px 20px;
	background-color: #fafafa;
	border:1px dashed #e6e5e6;
}
blockquote p { margin: 0; }
code {
	font: 12px Helvetica,Arial,sans-serif; 
	display:inline-block;
	margin: 10px 0 10px 20px;
	padding: 8px;
	background-color: #fafafa;
	overflow:auto;
	border:1px dashed #e6e5e6;
}
code p {margin: 0; }
/* Container
-------------------------------------------------------------------*/
#container { 
	width: 990px; 
	margin: 0px auto 0px auto;
	overflow: hidden; 


}
#container #wrapper { 
	width: 984px; 
	float: left; 
	overflow: hidden; 
	background: url(images/body_bg.jpg) no-repeat;
	background-color:#e6e5e6;
}
#wrapper { 
	margin-left: 2px;
	margin-right: 2px;
}
/* Header
-------------------------------------------------------------------*/
#header { 
	width: 990px; 
	height: 150px; 
	float: left; 
	position: relative; 
}
#header h1 { 
	font: 48px Helvetica,Arial,sans-serif; 
	padding: 35px 0 0 0; 
	margin-bottom: 0; 
	color: #000;
	text-shadow: 1px 1px 1px #fff; 
	text-decoration: none; 
}
#header h1 a { 
	color: #000; 
	text-shadow: 1px 1px 1px #fff; 
	text-decoration: none; 
}
#header h1 span { 
	font-size: 15px; 
	color: #333;
	text-shadow: none; 
	display:block;
}



/* Search
-------------------------------------------------------------------*/
#search {
	position: absolute;
	top: 4px; 
	right: 0px;
}
#s { 
	margin-right: 5px;
	width: 198px;
	height: 14px;
	padding: 5px 0 5px 23px;
	vertical-align: bottom;
	line-height: 1px;
	color: #777;
	border: 1px #999999 solid;
	background: url(images/search-bg.gif) no-repeat 0 0px;
}

/* Navigation
-------------------------------------------------------------------*/

#nav { 
	width: 982px;
	margin: 0px 2px; 
	float: left; 
	height: 35px; 
	position: relative;
	text-transform: uppercase;
	border: #ccc solid 1px;
	box-shadow:0 1px 5px #C8C8C8; 
	-moz-box-shadow:0 1px 5px #C8C8C8;
	-webkit-box-shadow:0 1px 5px #C8C8C8;
	-khtml-box-shadow:0 1px 5px #C8C8C8;
}
#nav ul { 
	height:25px;
	margin-top: 1px;
	padding-left: 5px;
	font-size:12px;
}
#nav ul li { 
	display: inline; 
	margin-right: 0px;
	text-decoration: none; 
	color: #000; 
	line-height: 33px; 
}
#nav ul li ul li { 
	display: inline; 
	margin-right: 20px; 
	padding:5px;
}
#nav ul li a { 
	text-decoration: none; 
	color: #000; 
	line-height: 33px; 
	padding:5px;
}
#nav .current_page_item a {
	background-color: none;
	color:#000;
	text-decoration:none;
	padding:5px;
}

#nav ul li a:hover {
	background-color:#0072BC;
	color:#FFFFFF;
	text-decoration:none;
	padding:5px;
}

/*** RSS Buttons ***/
#nav #feed ul {
	background:transparent;
	height:35px;
	padding:0;
	margin:0;
	width:240px;
}
#nav #feed {  
	position: absolute; 
	right: 0px;
	top: -5px;
	display: block;
}

#nav #feed a {
	display:block;
	float:left;
	height:35px;
	width:35px;
	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 -172px;}
#nav #feed .lenta {background-position:0 -137px;}


/* Content
-------------------------------------------------------------------*/
#content { 
	width: 725px; 
	float: left; 
	padding: 5px 0;
	margin-right: 20px;
	margin-left:10px;
	margin-top:5px;
	overflow: hidden; 
}

#content .post {margin-bottom: 0; overflow:hidden; text-align:justify; font-size:12px;}
#content .post p {text-align:justify; }

#content .post a.more-link { color: #777; }
#content .post a:hover.more-link { color: #006FB5; }

#content .post h1.post-title { 
	color: #333;
	font-size: 20px;
	margin-bottom: 1px;
	clear: both; 
	text-shadow: 1px 1px 1px #fff; 
}
#content .post h1.post-title a {
	font-family: Helvetica,Arial,sans-serif; 
	text-decoration: none;
	color: #333;
}
#content .post h1.post-title a:hover { 
	text-decoration: underline;
	color: #006FB5;
}

#content .post .post-info { 
	clear: both; 
	font-size: 11px; 
	color: #333; 
	padding: 0px 5px 2px 5px;
	margin: 10px 5px; 
	border: 1px #ccc solid;
	text-shadow: 1px 1px 1px #fff;
box-shadow:0 1px 5px #C8C8C8; 
-moz-box-shadow:0 1px 5px #C8C8C8;
-webkit-box-shadow:0 1px 5px #C8C8C8;
-khtml-box-shadow:0 1px 5px #C8C8C8;
}

#content .post .post-info a { color: #333; text-decoration:none; }
#content .post .post-info a:hover { color: #006FB5; text-decoration:underline; }

/*** написи під заголовком публікації START ***/
#content .date-category-author{ 
	font-size:11px; 
	margin-bottom:2px; 
	color:#333; 	
	text-shadow: 1px 1px 1px #fff; 

	letter-spacing: 0px;
}/*Під сумнівом!!*/
#content .date-category-author a {color: #333; text-decoration:none; }
#content .date-category-author a:hover { color: #006FB5; 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: 15px;
	height: 15px;
	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: #fff; 
	border:1px solid #c2c2c2;
	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:#f9f9f9;/*  білий */
	margin-top:15px;/* відступи знизу для дочірніх коментарів */
}
ol.commentlist li.odd {
	background:#f0f0f0;/*  сірий */
	margin-top:15px;/* відступи знизу для дочірніх коментарів */
}
/*********** START  виділення коментарів автора  ************/
ol.commentlist li.comment-author-admin{
	border:1px solid #006FB5;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
}
.comment-author-admin .fn { color:#000000; }
.comment-author-admin .fn a { color:#ff6633; }
/*********** 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: 218px; 
	float: left; 
	font-size: 11px; 
	color: #555;
	margin-bottom: 15px;
	overflow: hidden;
	padding: 0;
}
#sidebar h3,h2 { 
	text-transform: uppercase;
	font-size: 14px;
	color: #333; 
	border-bottom: 1px #c2c2c2 dotted;
	padding-bottom:10px;
}

#sidebar a { color: #333; text-decoration: none; }
#sidebar a:hover { color: #006FB5; text-decoration: underline;  }
#sidebar .current-cat a { color: #000; text-decoration: underline;  }
#sidebar .cat-item a:hover { color: #006FB5; 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: 10px 0 10px 0;
	padding-right: 0;
	overflow: hidden;
	border-bottom: 3px #c2c2c2 solid;

}
#sidebar .block ul li { 
	padding-left: 18px; 
	padding-right: 10px; 
	list-style-type: circle;
	/*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: 982px;
	height: 35px;
	clear: both;
	position: relative;
	border: 1px #ccc solid;
	text-align: center;
	padding: 0;
	margin-left: 2px;
	margin-right: 2px;
	margin-bottom: 14px;
	box-shadow:0 1px 5px #C8C8C8; 
	-moz-box-shadow:0 1px 5px #C8C8C8;
	-webkit-box-shadow:0 1px 5px #C8C8C8;
	-khtml-box-shadow:0 1px 5px #C8C8C8;
}
#footer ul {
	height: 25px;
}
#footer ul li { 
	text-transform: uppercase;
	font-size:12px;
	display: inline; 
	text-decoration: none; 
	color: #000; 
	line-height: 33px; 
	text-shadow: 1px 1px 1px #fff; 
}
#footer a { 
	color: #555;
	text-decoration: underline;
}
#footer a:hover { 
	color: #006FB5;
	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
-------------------------------------------------------------------*/
#content .box {
	border: 1px solid #c2c2c2; 
	border-radius:5px;
	-moz-border-radius: 5px;
	-webkit-border-radius:  5px;
	-khtml-border-radius: 5px;
	padding: 0;
	margin: 0 5px;
}
#content .box h3{
	background:#f3f3f3;
	padding: 0 2px; 
	border-bottom: 1px solid #c2c2c2;
	border-radius:5px;
	-moz-border-radius: 5px;
	-webkit-border-radius:  5px;
	-khtml-border-radius: 5px;
}
#content .box ul.related_post {
	margin-left:5px;
	margin-bottom:5px;
	padding-bottom:0;
}
#content .box ul.related_post li {
	padding-left:0;
}
#content .box .excerpt {
	display:block;
}
