/*
Theme Name:Cehla
Description:Simple, easy and powerfull WordPress theme
Version:2.2.1
Author:Jurko Chervony
Author URI:http://skinik.name
Tags:red, black, two-columns, right-sidebar, fixed-width, sticky-post, threaded-comments, translation-ready, custom-menu, custom-background
*/

@import url("css/cehla.css");

/* Reset
##############################################################################*/
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,
small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0 none;vertical-align:baseline;background:transparent;}
header,footer,aside,article,section,hgroup,nav,figure{display:block;position:relative;}
*{padding:0;margin:0;}
:focus{outline:0 none;}
ul,ol{list-style:none outside;}
ol ol,ul ul,ol ul,ul ol{margin-left:15px;margin-bottom:0;}
img{border:0 none;}
textarea{resize:none;}



/* Body
##############################################################################*/
body {
	font:14px/1.5 Helvetica, Arial, "Lucida Grande", Verdana, Geneva, sans-serif;
	color:#222;
	background-color:#fff;
}

h1, h2, h3, h4, h5, h6 { font-weight:normal; }
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; }

a { color:#5371c5; text-decoration:underline; }
a:hover,
a:active { color:#ff0000; text-decoration:none; }
a:visited { color:#810381; }

p { margin-bottom:13px; }

input[type='submit'] { cursor:pointer; padding:0 5px; }
body.browser-opera input[type='submit'] { padding:1px 7px; }

input[type='text'],
input[type='search'],
input[type='email'],
input[type='password'],
input[type='file'],
textarea,
select {
	border:1px solid #999;
	background-color:#fff;
	padding:2px;
	border-radius:3px;
	-moz-border-radius:3px;
	-khtml-border-radius:3px;
	-webkit-border-radius:3px;
	box-shadow:inset 1px 1px 1px rgba(0,0,0,0.25);
	-moz-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.25);
	-webkit-box-shadow:inset 1px 1px 1px rgba(0,0,0,0.25);
}


input[type='text']:focus,
input[type='search']:focus,
input[type='email']:focus,
input[type='password']:focus,
input[type='file']:focus,
textarea:focus,
select:focus { background-color:#FFFFCC; }


blockquote {
	font:italic 0.9em Georgia, Serif;
	padding:5px 5px 5px 40px;
	margin:10px 0 10px 20px;
	background:#F4F5F7 url(i/cehla-sprite.png) no-repeat 7px -95px;
	border:1px #999 dashed;
}

table {
	border-collapse:collapse;
	margin:3px;
}
th {
	text-align:center;
	background-color:#f3f3f3;
}
fieldset,
th,
td {
	border:1px #999 solid;
}

legend, th, td { padding:4px; }
fieldset { padding:6px; }
hr {background-color:#333;border:0;height:1px;margin-bottom:18px;clear:both;}
abbr, acronym { border-bottom:1px dashed; cursor:help; }
del { text-decoration:line-through; }
pre { font-family:"Courier 10 Pitch", Courier, monospace; }
code { font-family:Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; background-color:#eee; font-style:italic; }


/* Container
##############################################################################*/
#container {
	width:960px;
	margin:15px auto;
	padding:5px 13px;
	overflow:hidden;
	background-color:#fff;
}
#container #wrapper {
	width:960px;
	float:left;
	overflow:hidden;
}


/* Header
##############################################################################*/
#header {
	width:960px;
	float:left;
}
#header h1 {
	font:26px Verdana;
	padding:12px 0 0 0;
	margin-bottom:0;
	line-height:1;
}
#header h1 a {
	color:#000;
	text-decoration:none;
}
#header h2 {
	font-size:15px;
	color:#000;
	line-height:1;
}



/*** Search ***/
#searchform {
	float:right;
	margin-top:20px;
}

#s {
	display:block;
	width:217px;
	height:18px;
	padding:4px 0 3px 23px;
	font-size:0.9em;
	color:#777;
	background:transparent url("i/cehla-sprite.png") no-repeat 2px 5px;
}

#searchform label,
#searchform input#searchsubmit { display:none; }

/*** Navigation ***/
#nav {
	width:690px;
	height:auto;
	float:left;
}

#nav ul {
	list-style:none;
	margin:0;
}
#nav li {
	float:left;
	position:relative;
}
#nav a {
	color:#000;
	font-size:1.2em;
	display:block;
	line-height:28px;
	padding:0 10px;
	text-decoration:none;
}
#nav ul ul {
	box-shadow:0px 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow:0px 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow:0px 3px 3px rgba(0,0,0,0.2);
	display:none;
	position:absolute;
	top:28px;
	left:0;
	float:left;
	min-width:180px;
	z-index:666;
}
#nav ul ul li {
	min-width:180px;
	float:none;
}
#nav ul ul ul {
	left:100%;
	top:0;
}
#nav ul ul a {
	color:#fff;
	font-size:0.9em;
	line-height:1;
	padding:10px;
	min-width:160px;
	height:auto;
	background-color:#464646;
}

#nav li:hover > a,
#nav li.hover > a,
#nav ul ul :hover > a {
	background-color:#c00000;
	color:#fff;
}
#nav ul li:hover > ul,
#nav ul li.hover > ul {
	display:block;
}
#nav ul li.current_page_item > a,
#nav ul li.current-menu-ancestor > a,
#nav ul li.current-menu-item > a,
#nav ul li.current-menu-parent > a {
	color:#fff;
	background-color:#c00000;
}


/* Content
##############################################################################*/
body.error404 #content { width:960px; }


#content {
	float:left;
	overflow:hidden;
	padding:15px 0;
	width:690px;
}

#content #breadcrumb {
	margin:-5px 0 15px 0;
}

#content article {
	display:block;
	margin-bottom:13px;
	overflow:hidden;
}

#content article.sticky { /* sticky post */
	background-color:#f4f5f7;
	padding:10px 3px;
}

#content h1.post-title {
	margin-bottom:3px;
	clear:both;
	font-size:1.55em;
	line-height:1;
}
body.page #content h1.post-title { margin-bottom:10px; }
#content h2.post-title {
	font-size:1.4em;
	margin-bottom:3px;
}

#content h1.post-title a,
#content h2.post-title a {
	color:#333;
	line-height:1;
}

#content .post-info {
	clear:both;
	float:left;
	font-size:0.8em;
	color:#333;
	margin:4px 0 10px 0;
	border:1px #999 dashed;
	width:99%;
}
#content .post-info .post-info-item {
	float:left;
	padding:2px 3px;
	margin:3px;
}

#content .post-info a { color:#333; text-decoration:none; }
#content .post-info a:hover { color:#000; text-decoration:underline; }

/* Post thumbnails */
#content .thumbnails,
#content img.alignleft,
#content img.aligncenter,
#content img.alignright {
	padding:2px;
	border:1px #ccc solid;
}

/*** START info under post title ***/
#content .date-category-author{
	margin-bottom:4px;
	color:#333;
	font-style:italic;
	font-size:0.9em;
}
#content .date-category-author a { color:#333; text-decoration:underline; }
#content .date-category-author a:hover { color:#000; text-decoration:none; }
/*** END info under post title ***/


/*** Page Navi ***/
#content #pages {
	clear:both;
	float:left;
	text-align:center;
	width:100%;
	margin:10px 0;
}
#pages .wp-pagenavi span.pages,
#pages .wp-commentnavi span.pages,
#pages .wp-pagenavi span.extend,
#pages .wp-commentnavi span.extend {
	background:none transparent;
	color:#000;
	margin:2px;
	padding:2px 4px;
	border:0 none;
}
#pages .wp-pagenavi a,
#pages .wp-commentnavi a {
	background:none transparent;
	color:#000;
	margin:2px 7px;
	padding:2px 4px;
	text-decoration:underline;
	border:0 none;
}
#pages .wp-pagenavi a:hover,
#pages .wp-commentnavi a:hover {
	background:none transparent;
	color:#cc0000;
	text-decoration:none;
	border:0 none;
}




#pages .wp-pagenavi span.current,
#pages .wp-commentnavi span.current {
	background-color:#fafafa;
	color:#000;
	font-weight:bold;
	margin:2px 7px;
	padding:2px 4px;
	border:0 none;
	border-bottom:2px #cc0000 solid;
}
/**/



#content ul, ol, dl { margin-bottom:20px; }
#content ul {
	list-style:disc inside;
}
#content ol {
	list-style:decimal inside;
}
#content dl dt {
	font-weight:bold;
}
#content dl dd {
	font-style:italic;
	margin:0 0 5px 20px;
	color:#555;
}

/* Child pages */
#content ul.child-pages ul {
	margin-top:0;
	margin-bottom:0;
}


/*** Aligns and others classes ***/
.aligncenter { margin-left:auto; margin-right:auto; }
.alignleft { float:left; margin:5px 15px 10px 0; }
.alignright { float:right; margin:5px 0 10px 15px; }
.no-text {text-indent:-666em; overflow:hidden;}
.dnone {display:none;}
.clear { float:none; clear:both; }
.b { font-weight:bold; }


/* Comment Form
##############################################################################*/
#commentform {
	background-color:#fafafa;
	border:1px solid #d3d3d3;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	padding:10px;
}
#commentform p.comment-form-url { margin:0 0 17px 0; }
#commentform .required {
	color:#ff0000;
	font-size:1.3em;
}

#commentform textarea {
	display:block;
	color:#666;
	height:120px;
	margin:0 5px 15px 0;
	padding:2px;
	width:85%;
}
#commentform input#author,
#commentform input#email,
#commentform input#url {
	width:230px;
	margin-right:5px;
	padding:3px 3px 3px 24px;
	color:#666;
	float:left;
}

#commentform input#author { background:#fff url(i/cehla-sprite.png) no-repeat 5px -21px; }
#commentform input#email { background:#fff url(i/cehla-sprite.png) no-repeat 5px -46px; }
#commentform input#url { background:#fff url(i/cehla-sprite.png) no-repeat 5px -74px; }

#commentform input#author:focus,
#commentform input#email:focus,
#commentform input#url:focus,
#commentform #comment:focus {
	background-color:#FFFFCC;
	color:#000;
}


/* Display comments
##############################################################################*/
/* Comment nav. */
#content .entry h3 {
	margin-top:15px;
	clear:both;
}

#content .entry .commentlist { clear:both; }

#content .entry .commentlist ul.children { margin:7px 0 0 7px; }

#content .entry .commentlist li {
	border:1px solid #ccc;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	margin:13px 0;
	padding:5px 5px 10px 10px;
	list-style:none outside;
	overflow:hidden;
}

/* Odd-Even */
#content .entry ol.commentlist li.even { background-color:#fff; } /*  white */
#content .entry ol.commentlist li.odd { background-color:#F9F9F9; } /* grey */

#content .entry .commentlist li .avatar {
	float:right;
	border:1px solid #ccc;
	padding:2px;
	background-color:#f3f3f3;
}

/* Comment author */
#content .entry .commentlist .fn,
#content .entry .commentlist .fn a {
	font-weight:bold;
	font-size:1.1em;
	color:#333;
}
#content .entry .says { font-size:0.9em; }
#content .entry .alt {
	margin:0;
	padding:10px;
}

#content .entry .commentmetadata a { /* Comment date-time */
	color:#cc0000;
	font-size:0.9em;
	text-decoration:none;
}

#content .entry .comment-body { margin-top:17px; } /* Comment text */

#content .entry .nocomments { text-align:center; } /* If no comments */

/* Edit links */
#content .entry .links { margin-top:10px; }
#content .entry .links a { color:#cc0000; }



/* Sidebar
##############################################################################*/
#sidebar {
	width:240px;
	float:right;
	margin-bottom:15px;
	overflow:hidden;
	padding:0;
}

#sidebar h3,
#sidebar h2 {
	font-size:1.35em;
	margin-bottom:13px;
}

#sidebar a { color:#222; }
#sidebar a:hover { color:#cc0000; }
#sidebar .current-cat a { font-weight:bold;  }


#sidebar .block {
	padding:15px 0;
	overflow:hidden;
	word-wrap:break-word;
}


#sidebar .block ul li {
	list-style:none outside;
	margin-bottom:7px;
	line-height:1.1em;
	clear:both;
}
#sidebar .block ul li ul li { margin:5px 0 0 0; }

/*** Comments in sidebar ***/
#sidebar #sidebar-comments ul {
	padding:5px 0 0 0;
}

#sidebar #sidebar-comments ul li {
	background-image:none;
	padding:0;
	margin-bottom:10px;
	min-height:29px;
}

#sidebar #sidebar-comments ul li .user-avatar { float:left; }
#sidebar #sidebar-comments ul li .user-avatar img {
	margin:0 5px 3px 0;
	border:1px #ccc solid;
	padding:1px;
}

/*** Wp-Polls ***/
#sidebar .block .wp-polls-ul {
	margin:0 0 10px 0;
}
#sidebar .block .wp-polls ul li,
#sidebar .block .wp-polls-ans ul li {
	list-style:none;
	padding-left:0;
	background-image:none;
}


/*** 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-color:#f3f3f3; text-align:center; color:#000; }
#sidebar .block #calendar_wrap table td a { font-weight:bold; }


/* Footer
##############################################################################*/
#footer {
	width:960px;
	clear:both;
	float:left;
}
#footer a {
	color:#000;
}
#footer a:hover {
	color:#cc0000;
}

/*** footer_counters ***/
.footer_counters {
	margin:5px 0 10px;
	text-align:center;
}


/*** 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;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.wp-caption img {
	margin:0;
	padding:0;
	border:0 none;
}

.wp-caption p.wp-caption-text {
	font-size:0.9em;
	line-height:15px;
	padding:0 4px 4px;
	margin:0;
	text-align:center !important;
}


/*** Related posts ***/
#content .box {
	border:1px solid #f3f3f3;
	border-radius:5px;
	-moz-border-radius:5px;
	-webkit-border-radius:5px;
	padding:0;
	margin-bottom:10px;
}

#content .box h2,
#content .box h3 {
	background-color:#f3f3f3;
	padding:2px 5px;
}

#content .box ul.related_post {
	margin:0 0 5px 5px;
}
#content .box ul.related_post li {
	padding-left:0;
}
#content .box .excerpt {
	display:block;
}

/*** Wp-Syntax ***/
#content  .wp_syntax {
	width:99%;
}

/*** WP Recent Comments ***/
#recentcomments li.recentcomments a.openid_link {
    padding-left:21px !important;
}

/* For Nextgen Gallery */
#content .ngg-navigation { padding:15px 0; }


/* END CSS */
