/*  
Theme Name: Danowski
Theme URI: http://www.danowski.pl
Description: 
Version: 1.0
Author: Mikolaj Barczentewicz
Author URI: http://www.barczentewicz.com/
*/

/* --------------- common ---------------------------------- */
html, body {
	margin: 0;
	padding: 0;
}
body {
	font-family: Verdana, sans-serif;
	font-size: small;
	text-align: center;
	line-height: 1.5em;
	color: #050d24;
	background: #a1434c url(http://danowski.pl/wp-content/themes/danowski/images/bg-g.gif) repeat-x;
	}
body {
	font-size: x-small; /* IE5 Win */
	voice-family: "\"}\""; 
	voice-family: inherit;
	font-size: small;
}
html>body { /* be nice to Opera */
	font-size: small;
}
* {
	margin: 0;
	padding: 0;
}
h1, h2, h3, h4 {
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
}
p {
	clear: left;
}
#news p {
	margin: 0.5em 0 0.6em 0;
}
#commentform p {
	margin: 7px 0 0 0;
}
h1 {
	font-size: 1.5em;
	margin: 10px 0 0 0;
}
h1 a {
	color: #050d24;
}
img.okladka-lewa {
	float: right;
	margin: 0 0 5px 10px;
	background: #eee;
	border: 1px solid #ccc;
	padding: 3px;
}
.post {
	border-bottom: 2px solid #eee;
}
.alignleft, .alignright {
	text-align: center;
	margin: 1em 0 0 0;
	background: #eee;
	border: 1px solid #ccc;
	padding: 5px;
}
.alignleft {
	float: left;
	width: 130px;
}
.alignright {
	float: right;
	width: 100px;
}
.right {
	float: right;
	margin: 0 0 5px 10px;
	color: #555;
	background: #eee;
	border: 1px solid #ccc;
	padding: 5px;
	text-align: center;
}
.left {
	float: left;
	margin: 0 10px 5px 0;
	color: #555;
	background: #eee;
	border: 1px solid #ccc;
	padding: 5px;
	text-align: center;
}
.center {
	text-align: center;
}
a.right, a.left, .right a, .left a {
	text-decoration: none;
	color: #555;
}
a:hover.right, a:hover.left, .left a:hover, .right a:hover  {
	text-decoration: none;
	color: #999;
}
pre { font-size: 1em; }
code {
	color: #7B9905;
	font-size: 1em;
	line-height: 1.2em;
	text-align: left;
	}
code strong {
	color: #4E6200;
	}
blockquote {
	border-left: 4px solid #ddd;
	padding: 1px 20px 2px 15px;
	margin: 0.5em 0 0.6em 0.3em;
}
.error {
	background: #990000;
	color: #fff;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	padding: 10px;
	border: 1px solid #333;
	margin: 0 0 10px 0;
	position: relative;
}

/* --------------- links ---------------------------------- */
a {
	color: #2f63b3;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
a img {
	border: none;
}

/* --------------- head ---------------------------------- */
#header {
	height: 106px;
	background: #90242a url(http://danowski.pl/wp-content/themes/danowski/images/top.jpg) repeat-x;
	margin: 0 auto;
	text-align: left;
	width: 770px;
}
#tytul {
	padding: 19px 0 0 25px;
	height: 59px;
}
#mapa-link a {
	display: block;
	float: right;
	color: #fff;
	padding: 5px 5px 0 19px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/mapa.gif) no-repeat 0 10px;
}
ul#top-menu {
	list-style: none;
	margin: 1px 0 0 25px;
}
ul#top-menu li {
	float: left;
}
ul#top-menu li a {
	float: left;
	padding: 2px 7px 3px 7px;
	margin: 0 2px 0 0;
	background: #a03e45 url(http://danowski.pl/wp-content/themes/danowski/images/up.gif) repeat-x;
	color: #fff;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
}
ul#top-menu li a.active {
	font-weight: bold;
	border-bottom: 3px solid #fff3f3;
	padding-bottom: 0px;
}
ul#top-menu li a:hover {
	background: #91242a url(http://danowski.pl/wp-content/themes/danowski/images/down.gif) repeat-x;
	text-decoration: none;
	border-right: 1px solid #fff;
	border-left: 1px solid #fff;
	border-bottom: 3px solid #fff3f3;
	padding-bottom: 0px;
}


/* --------------- center ---------------------------------- #a7484f #90232a*/
#bc {
	padding: 5px 0 4px 17px;
	color: #4a634d;
	border-bottom: 1px solid #e1be8a;
	width: 440px;
}
#bc a {
	color: #4a634d;
}
#center {
	background: #fff url(http://danowski.pl/wp-content/themes/danowski/images/bg-d.gif) repeat-x;
	text-align: center;
}
#content {
	margin: 0 auto;
	width: 770px;
	background: #fff;
	text-align: left;
	min-height: 441px;
	padding-bottom: 15px;
}
* html #content {
	height: 441px;
}
#news {
	width: 440px;
	padding: 0 0 0 13px;
}
#content h3 {
	margin-top: 1em;
	font-size: 133%;
	font-weight: normal;
}
#content h3 a {
	color: #050d24;
}
p.posted {
	color: #2f63b3;
	margin: 0 0 0 0;
}
.data {
	display: block;
	padding: 0 0 0 20px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/date.gif) no-repeat 0 2px;
	float: left;
}
.kom {
	display: block;
	float: left;
	margin: 0 10px 0 10px;
	padding: 0 0 0 20px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/comments.gif) no-repeat 0 2px;
}
#dane-ksiazki {
	float: right;
	width: 180px;
	padding: 10px;
	background: #eee;
	border: 1px solid #ddd;
	margin: 10px 0 7px 10px;
}
#spis #dane-ksiazki {
	width: 320px;
	float: none;
	text-align: left;
	margin: 10px auto 0 auto;
	min-height: 160px;
}
* html #spis #dane-ksiazki {
	height: 160px;
}
#spis #dane-ksiazki img {
	float: left;
	margin: 0 10px 0 0;
}
#spis-tresci {
	clear: left;
	padding: 0;
	margin: 0;
}
#spis-tresci ol {
	margin-top: 0;
	padding-top: 0;
}
#tresc {
	margin: 10px 0 0 0;
}
#news ul, #news ol  {
	margin: 5px 0 5px 25px;
}
#news li {
	margin: 3px 0 0 10px;
}
.cena {
	font-family: Georgia, Times New Roman, serif;
	font-size: 1.7em;
	font-weight: bold;
	color: #CC0000;
	margin: 6px 0 0 0;
}
a.do-koszyka {
	display: block;
	margin: 5px 0 0 0;
	padding: 4px 7px 4px 35px;
	background: #ddd url(http://danowski.pl/wp-content/themes/danowski/images/cart_add.gif) no-repeat 14px 5px;
	border: 1px solid #ccc;
	color: #444;
}
#spis a.do-koszyka {
	margin: 5px 0 0 135px;
	width: 130px;
	padding: 3px 7px 5px 35px;
}

/* --------------- sidebar ---------------------------------- */
#sidebar {
	float: right;
	width: 300px;
}
#sidebar h3 {
	margin: 20px 0 0 0;
	padding: 0 0 0 3px;
	clear: both;
	border-bottom: 3px solid #ace149;
}
#sidebar h3#szukaj {
	margin: 9px 0 0 0;
}
input#searchbutton, input#addbutton {
	padding: 2px 6px;
	background: #B0545F;
	border: 1px solid #9f020d;
	color: #fff;
	font-size: 0.85em;
	margin: 6px 0 0 0;
}
* html input#searchbutton, * html input#addbutton {
	padding: 0.1em 0.2em;
	margin: 5px 0 0 0;
}
.search #s, #newsletter-cont #email {
  background: #fff url(http://danowski.pl/wp-content/themes/danowski/images/s.gif) repeat-x 0 0;
  border: 1px solid #9f020d;
  color: #9f020d;
  padding: 0.1em 0.2em;
  width: 200px;
  float: left;
  margin: 6px;
}
.search fieldset, #newsletter-cont fieldset {
border: none;
padding: 0;
}
.clear {
	clear: both;
}
ul#kategorie, ul#blogroll {
	list-style: none;
	margin: 6px 0 0 0;
}
#kategorie li, #blogroll li {
	display: inline;
}
#kategorie li a, #blogroll li a {
	display: block;
	padding: 5px 15px 5px 23px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/green.gif) no-repeat 3px 7px;
	border-bottom: 1px solid #dfeaf5;
	color: #050d24;
}
#kategorie li ul li a {
	display: block;
	padding: 5px 15px 5px 38px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/bullet_go.gif) no-repeat 18px 7px;
	border-bottom: 1px solid #dfeaf5;
	color: #050d24;
}
#kategorie li.current-cat a, #kategorie li.current_page_item a {
	background: url(http://danowski.pl/wp-content/themes/danowski/images/tick.gif) no-repeat 3px 7px;
}
#kategorie li.current-cat ul li a, #kategorie li.current_page_item ul li a {
	background: url(http://danowski.pl/wp-content/themes/danowski/images/bullet_go.gif) no-repeat 18px 7px;
}
#kategorie li ul li.current-cat a, #kategorie li ul li.current_page_item a {
	background: url(http://danowski.pl/wp-content/themes/danowski/images/tick.gif) no-repeat 18px 7px;
}
#kategorie li a:hover, #blogroll li a:hover {
	background-color: #a3bdd4;
	background-image: url(http://danowski.pl/wp-content/themes/danowski/images/green2.gif);
	color: #fff;
	text-decoration: none;
}
#kategorie li ul li a:hover {
	background-image: url(http://danowski.pl/wp-content/themes/danowski/images/bullet_go.gif);
}
#kategorie li.current-cat a:hover, #kategorie li.current_page_item a:hover {
	background-image: url(http://danowski.pl/wp-content/themes/danowski/images/tick2.gif);
}
#kategorie li.current-cat ul li a:hover, #kategorie li.current_page_item ul li a:hover {
	background-image: url(http://danowski.pl/wp-content/themes/danowski/images/bullet_go.gif);
	background-color: #a3bdd4;
}
#kategorie li ul li.current-cat a:hover, #kategorie li ul li.current_page_item a:hover {
	background-image: url(http://danowski.pl/wp-content/themes/danowski/images/tick2.gif);
	background-color: #a3bdd4;
}
#sidebar img {
	padding: 3px;
	background: #eee;
	border: 1px solid #ddd;
}
#losowe {
	margin: 6px 0 0 0;
	width: 300px;
	text-align: center;
}
#listy {
	margin: 6px 0 0 0;
	padding: 0 0 0 21px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/quotemarks.gif) no-repeat;
}
#listy img {
	float: right;
	margin: 0 6px 5px 5px;
}
#listy p {
	font-style: italic;
}
#rss {
	list-style: none;
	width: 300px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/rss-d.gif) no-repeat bottom;
	margin: 2px 0 0 0;
	padding: 0 0 5px 0;
}
#rss li {
	display: inline;
}
#rss a {
	color: #050d24;
	display: block;
	padding: 2px 0 2px 28px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/rss.gif) no-repeat 8px 4px;
}
#sidebar h4 {
	clear: left;
	font-size: 1.1em;
}
* html #sidebar h4 {
	margin: 3px 0 0 0;
}
#wyszukiwanie li {
clear: left;
	display: inline;
	color: #050d24;
}
#wyszukiwanie li a {
	color: #050d24;
	display: block;
	padding: 3px 15px 0 20px;
	background: url(http://danowski.pl/wp-content/themes/danowski/images/green.gif) no-repeat 3px 5px;
}
#wyszukiwanie li.wiecej-wynikow {
	display: block;
	margin-top: 5px;
	padding: 5px 15px 0 3px;
	border-top: 1px solid #ddd;
}
#wyszukiwanie li.wiecej-wynikow a#wiecej-wynikow {
	display: inline;
	text-decoration: underline;
	background: none;
	padding: 0;
	color: #CC0000;
	font-weight: bold;
}
#wyszukiwanie li.wiecej-wynikow a:hover {
	color: #999;
}

/* --------------- comments ---------------------------------- */
#commentform {
	width: 440px;
	padding: 0 0 0 0;
}
.comments {
	font-size: 1.2em;
	padding-bottom: 25px;
	border-bottom: 3px double #eee;
	}
.comments a:link, .comments a:visited {
	color: #78A515;
	font-weight: bold;
	text-decoration: none;
	}
.comments a:hover, .comments a:active {
	background: #78A515;
	color: #fff;
	text-decoration: none;
	}
.alt {
	background: #EAF8CF !important; 
	border: 1px solid #D5F0A4 !important;
	padding: 10px 10px 0 10px !important;
	}
.alt:hover {
	border: 1px solid #ACE149 !important;
	}
.commentlist li:hover {
	border: 1px solid #ACE149;
	}
.commentlist {
	padding: 0;
	margin: 0;
	}
.commentlist li {
	list-style: none;
	padding: 10px 10px 0 10px;
	background: #F6FCEB;
	border: 1px solid #DEF3B6;
	margin: 10px;
	color: #3C452D;
	}
#commentform input {
	border: 1px solid #BFBFBF;
	color: #555;
	background: #fff;
	padding: 2px 5px 2px 5px;
	font-size: 1em;
	}
#commentform input:hover {
	background: #fff;
	border: 1px solid #ACE149;
	color: #555;
	font-size: 1em;
	}
#commentform textarea {
	font-family: Arial, Verdana, Helvetica;
	font-size: 1.1em;
	border: 1px solid #BFBFBF;
	color: #555;
	padding: 2px 5px 1px 5px;
	width: 420px;
	}
#commentform textarea:hover {
	background: #fff;
	border: 1px solid #ACE149;
	color: #506B15;
	}
h3#respond, h3#comments {
	margin-top: 2em;
clear: left;
}


/* --------------- kontakt ---------------------------------- */
#kontakt {
	margin: 1em 0 0 0;
	font-family: Georgia, serif;
	font-size: 12px;
	color: #999;
}
#kontakt label {
  font-family: Verdana, sans-serif;
  font-weight: bold;
  color: #660000;
}
#kontakt fieldset {
  border: 1px solid #ccc;
  padding: 15px 15px 0 15px;
}
#kontakt legend {
  font-family: arial, sans-serif;
  font-weight: bold;
  font-size: 0.95em;
  color: #666;
  background: #eee;
  border: 1px solid #ccc;
  border-bottom-color: #999;
  border-right-color: #999;
  padding: 4px 8px;
}
#fm_name, #fm_email, #fm_subject, #fm_verify {
	margin: 3px 0 0 6px;
}
.ver_img {
position: relative;
top: 5px;
left: 6px;
}
#fm_message {
	width: 400px;
}
#Submit {
	padding: 4px 12px;
	margin: 3px;
}
.fmerrortitle {
	color: #CC0000;
	font-size: 1.15em;
	font-weight: bold;
}

/* --------------- footer ---------------------------------- */
#footer {
	clear: both;
	background: #a1434c url(http://danowski.pl/wp-content/themes/danowski/images/foot.gif) repeat-x;
	min-height: 75px;
	margin: 0 auto;
	text-align: center;
	color: #eedfe0;
	font-size: 0.85em;
}
#footer a {
	color: #eedfe0;
}
* html #footer {
	height: 75px;
}
#foot {
	padding: 15px;
}
p#dol a {
	color: #b4696f;
}



/* --------------- sklep ---------------------------------- */
#sklep dl {
	clear: left;
	border-bottom: 2px solid #ddd;
	background: #f5f5f5;
	border: 1px solid #eee;
	padding: 7px 10px 7px 10px;
	margin: 0.5em 0 0.6em 0;
}
#sklep dt {
	color: #050d24;
	font-size: 1.15em;
	margin: 0 0 4px 0;
	font-weight: bold;
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
}
#sklep dt a {
	color: #050d24;
}
#sklep dt a:hover {
	text-decoration: underline;
}
#sklep dd.okladka-sklep {
	float: left;
	background: #ddd;
	border: 1px solid #ccc;
	padding: 3px 3px 1px 3px;
	margin: 0 10px 0 0;
}
#sklep .cena {
	margin: 10px 0 0 0;
}
#sklep a.do-koszyka {
	width: 135px;
	margin: 6px 0 4px 105px;
	padding: 4px 0 4px 35px;
	background: #ddd url(http://danowski.pl/wp-content/themes/danowski/images/cart_add.gif) no-repeat 14px 5px;
}
#koszty {
	padding: 6px 6px 0 6px;
}
#koszty li {
	margin-left: 15px;
	list-style: none;
}
#current-wyniki, #old-wyniki {
	color: #CC0000;
	margin-bottom: 5px;
	padding: 2px 5px 2px 5px;
	border-left: 2px solid #eee;
	border-right: 2px solid #eee;
}	



/* --------------- lighbox ---------------------------------- */
#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(http://danowski.pl/lb-images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(http://danowski.pl/lb-images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://danowski.pl/lb-images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 79px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	
	
/* --------------- spis tresci ---------------------------------- */
.toc {
  border: #ccc solid 1px;
  float: right;
  font-size: .9em;
  margin: 0 0 5px 12px;
  width: 200px;
}

.toc ol {
  margin:0px;
  padding-left:0px;
  list-style-type:none;
}

/* --------------- test -------------------------------- */

div#tresc p.right
{
font-weight:bold;
color:#9E3D46;
}

div#tresc p.right a
{
font-weight:normal;
color:#2f63b3;
}

div#tresc p.right strong
{
color:#555555;
}