/*
Theme Name: Ebooki
Theme URI: http://darmowe-ebooki.pl/
Description: darmowe-ebooki.pl
Version: 0.1
Author: krzysztof.kwiatkowski@gmail.com
Author URI: http://darmowe-ebooki.pl/

	Ebooki v0.1
	http://darmowe-ebooki.pl/

	This theme was built by Krzysztof Kwiatkowski

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Begin Typography & Colors */
body { 
	font-size: 62.5%; /* Resets 1em to 10px */ font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; 
	background: #f4f3ee url('images/ebooki_bg.jpg') no-repeat top center;color: #333; text-align: center;
}

#page {	text-align: left; }

#banner	{ display:block; padding:30px 20px 30px 225px; margin:0 0 30px 0; width:420px; height:201px; background:transparent url('images/ebooki_header_bg.jpg') no-repeat top center; position:relative; }
#banner	h2	{ color:#fff; font-size:16px; text-decoration:none; font-family:Georgia; text-align:right; }
#banner	h3	{ color:#fff; float:right; background-color:#ff7d08; padding:3px; margin:5px 0; font-size:16px; text-decoration:none; font-family:Georgia; text-align:right; }
#banner	h3 a	{ color:#fff; text-decoration:none; }
#banner	h3 a:hover	{ color:#fff; text-decoration:underline; }

#banner	p 	{ clear:both; padding:30px 0 0 0; color:#fff; text-align:justify; }

#content {
	font-size: 1.2em
	}

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	}

#footer { background:#000; color:#f4f3ee; font-size:11px; line-height:20px; border:none; }

small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}

h1, h2, h3 {
	font-weight: bold;
	}

h1 {
	font-size: 4em;
	text-align: center;
	}

h2 { font-size: 1.6em; font-family:Tahoma, Verdana; font-weight:bold; font-size:14px; }
h2 a { text-decoration:underline; }

h2.pagetitle {
	font-size: 1.6em;
	}

#sidebar h2 { }

h3 {
	font-size: 1.3em;
	}

h1, h1 a, h1 a:hover, h1 a:visited {
	text-decoration: none;
	color: white;
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #ff800c;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: underline;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist li .avatar { 
	float: right;
	border: 1px solid #eee;
	padding: 2px;
	background: #fff;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font: 1em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #e56d00;
	text-decoration: none;
	}
	
h2 a:hover, h3 a:hover {
	color: #e56d00;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body { margin:0; padding:0;	}

#page {
	margin: 0 auto;
	padding: 0;
	width: 950px;
	}

#header {
	background:transparent url(images/ebooki_header_bg.gif) repeat-x top left;
	padding: 0;
	height: 190px;
	width: 100%;
	position: relative;
	}

#header_title 			{ position:absolute; left:50%; margin:0 0 0 -262px; width:525px; top:32px; }
#header_title h1		{ margin:0; padding:0; }
#header_title h1 a 		{ display:block; height:110px; width:525px; background-image:url(images/ebooki_header_logo.gif); }	
#header_title h1 a span { display:none; }

.ebooki_menu ul {
	padding: 0;
	margin:0;
	height: 50px;
	list-style-type: none;
	}

#header_search { z-index:1;
	padding: 0;
	width:950px;
	position: absolute;
	left:50%;
	top:10px;
	margin:0 0 0 -475px;
	text-align:left;
	}
#header_search .searchform label { display:block; float:left; color:#ddd; font-size:12px; font-family:Candara, Arial; font-weight:bold; padding:6px 0 0; }
#header_search .searchform { float:right; width:250px; }
#header_search .searchform .searchform_fields { width:160px; float:right; }
#header_search .searchform div div input	{ width:120px;}

#header .ebooki_menu { z-index:2;
	padding: 0;
	height: 50px;
	width: 475px;
	list-style-type: none;
	position: absolute;
	left:50%;
	top:0;
	margin:0 0 0 -475px;
	}

.ebooki_menu li 	{ float:left; }
.ebooki_menu li a	{ display:block; padding:20px 10px 18px 10px; color:#ddd; font-size:12px; font-family:Candara, Arial; font-weight:bold; }
.ebooki_menu li a:hover	{ color:#fff; text-decoration:none; }

.narrowcolumn {
	float: left;
	padding: 0 0 20px 0;
	margin: 0px 0 0;
	width: 665px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

.post {
	margin:0 0 20px; padding:0 0 20px;
	text-align: justify;
	background:transparent url(images/ebooki_post_bg.gif) repeat-x bottom left;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	clear: both;
}

.clear {
	clear: both;
}

#footer {
	padding: 0;
	margin: 0 auto;
	width:100%;
	height:128px;
	clear: both;
	position:relative;
	}

#footer .ebooki_menu		{ padding:0; height:50px; width:500px; list-style-type:none; position:absolute; right:50%; margin:0 -425px 0 0; top:0; }
#footer .ebooki_menu ul		{ float:right; }

#footer_copyrights			{ position:absolute; left:50%; margin:0 0 0 -475px; width:475px; text-align:left; padding:20px 0 0 0; }
#footer_copyrights a		{ color:#f4f3ee; text-decoration:underline; }
#footer_copyrights a:hover	{ color:#ddd; }
/* End Structure */



/*	Begin Headers */
h1, h2 { margin:0; }

h2.pagetitle {
	margin-top: 30px;
	text-align: center;
}

#sidebar h2 {
	margin: 5px 0 0;
	padding: 0;
	}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}
/* End Headers */



/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignnone,
img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignnone,
.alignleft { float:left; }

img.alignnone,
img.alignleft { float:left; height:175px; width:140px; }
.post h2	{ padding:0 0 0 155px; }
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	}

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li { list-style-type:none; list-style-image: none; margin-bottom:3px; }

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol { margin:0; }

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

	
#ebooki_kategorie ul		{ margin:0; padding:0; font-size:12px; color:#000; }
#ebooki_kategorie ul li		{ background-color:#f2f3e0; display:block; height:16px; padding:10px 15px; opacity:0.6; filter:alpha(opacity = 60); -moz-border-radius:5px; -khtml-border-radius:5px; -webkit-border-radius:5px; border-radius:5px; }
#ebooki_kategorie ul li a	{ font-size:12px; color:#000; }
#ebooki_kategorie ul li a:hover	{ text-decoration:underline; color:#ff5613; }

/* End Entry Lists */



/* Begin Form Elements */
.searchform 				{ margin:0 auto; padding:5px 3px; text-align:center; }
.searchform label			{ display:none; }
.searchform div				{ height:26px; background:#fff; -moz-border-radius:3px; -khtml-border-radius:3px; -webkit-border-radius:3px; border-radius:3px; }
.searchform div div			{ margin:0; text-align:left; float:left; }
.searchform div div input	{ border:0; margin:5px 0 0 5px; padding:0; width:200px; font-size:12px; color:#636363; }
.searchform div button		{ float:right; height:24px; width:24px; padding:0; margin:1px 2px; border:0; background:transparent url(images/ebooki_search_button.gif) no-repeat top left; }
.searchform div button span	{ display:none; }

.newsletterform #newsletter_submit		{background-image:url(images/ebooki_newsletter_submit.gif);}
.newsletterform #newsletter_unsubmit	{background-image:url(images/ebooki_newsletter_unsubmit.gif);}

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar { padding:0; float:right; width:250px; }

#sidebar .block			{ padding:0 0 40px;}

#sidebar .block h2		{ padding:0 0 15px; margin:0; height:40px; width:220px; background-repeat:no-repeat; }
#sidebar .block h2 span { display:none; }

#ebooki_kategorie.block 	h2 { background-image:url(images/ebooki_side_kategorie.gif); }
#ebooki_wyszukiwarka.block 	h2 { background-image:url(images/ebooki_side_wyszykiwarka.gif); }
#ebooki_newsletter.block 	h2 { background-image:url(images/ebooki_side_newsletter.gif); }

#ebooki_banner a		{ display:block; width:235px; height:200px; background-image:url(images/ebooki_side_banner.jpg); }
#ebooki_banner a span	{ display:none; }

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

.hidden {
	display: none;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 60px;
	}
/* End Various Tags & Classes*/



/* 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;
}
/* End captions */


/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
.wp-pagenavi { font-size:11px; }

.wp-pagenavi a, .wp-pagenavi a:link {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #e1e0dd;
	color: #000;
	background-color: #f8f8f5;	
}
.wp-pagenavi a:visited {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #e1e0dd;
	color: #000;
	background-color: #f8f8f5;	
}
.wp-pagenavi a:hover {	
	border: 1px solid #666;
	color: #000;
	background-color: #DEDEDB;
}
.wp-pagenavi a:active {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #e1e0dd;
	color: #0066cc;
	background-color: #f8f8f5;	
}
.wp-pagenavi span.pages {
	padding: 2px 4px 2px 4px; 
	margin: 2px 2px 2px 2px;
	color: #000000;
	border: 1px solid #e1e0dd;
	background-color: #f8f8f5;
}
.wp-pagenavi span.current {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	font-weight: bold;
	border: 1px solid #e1e0dd;
	color: #fff;
	background-color: #ff800c;
}
.wp-pagenavi span.extend {
	padding: 2px 4px 2px 4px; 
	margin: 2px;	
	border: 0;
	color: #000000;
	background-color: transparent;
}
