/*  
Theme Name: Rozped
Theme URI: http://www.rozped.pl/
Description: 
Version: 
Author: Mikolaj Barczentewicz
Author URI: http://www.barczentewicz.com/
*/



/* ----------- general ----------------------- */
html, body {
	margin: 0;
	padding: 0;
}
* {
	margin: 0;
	padding: 0;
}
a img {
	border: 0;
}
a {
	font-weight: bold;
	color: #40608c;
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
	color: #2D405B;
}

/* ----------- top ----------------------- */
body {
	background: #f8f5e6;
	font-family: Verdana;
	font-size: 12px;
	color: #4f3b22;
}
#bg {
	background: #fff url("http://www.rozped.pl/img/bg-top.gif") repeat-x;

}
#header {
	background: url("http://www.rozped.pl/img/bg-sky.jpg") no-repeat 410px 18px;
	height: 116px;
	margin: 0 auto 0 auto;
	padding-top: 18px;
	width: 780px;
}
h1 {
	position: relative;
	top: 20px;
}
ul#top-menu {
	margin: 45px 0 0 0;
}
#top-menu li {
	list-style: none;
	float: left;
	display: inline;
	margin: 0 15px 0 0;
	padding: 0 0 11px 0;
}
#top-menu li a {
	color: #4f3b22;
	padding: 0 0 5px 0;
}
#top-menu li a.active {
	border-bottom: 5px solid #c6c3aa;
}
#top-menu li a:hover {
	color: #9e8468;
	border-bottom: 5px solid #c6c3aa;
	text-decoration: none;
}

/* ----------- middle ----------------------- */
#middle {
clear: both;
	margin: 0 auto 0 auto;
	width: 780px;
	position: relative;
	top: 27px;
}
#content {
	width: 535px;
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 13px;
	line-height: 1.5em;
	float: left;
	padding: 0 0 15px 0;
}
#content p {
	margin: 0 0 7px 0;
	clear: left;
}
#content ul, #content ol {
	margin: 0 0 7px 30px;
}
#content table {
	border-collapse: collapse;
	margin: 0 auto 7px auto;
	text-align: center;
}
#content th {
	background: #dadada;
	border: 1px solid #dadada;
	padding: 5px 10px;
}
#content td {
	border: 1px solid #dadada;
	padding: 5px 10px;
}
#content tr.alt {
	background: #eee;
}
#realizacje {
	width: 516px;
	float: left;
	clear: left;
	background: url("http://www.rozped.pl/img/bg-real.jpg") no-repeat;
	padding: 11px;
	height: 185px;
}
#wybrane-realizacje {
	width: 516px;
	float: left;
	clear: left;
	background: url("http://www.rozped.pl/img/bg-real.jpg") no-repeat;
	padding: 11px;
}
#wybrane-realizacje a {
	float: left;
	display: block;
	width: 157px;
	margin: 0 10px 10px 0;
	text-align: center;
}
#wybrane-realizacje a:hover {
	text-decoration: none;
}
#wybrane-realizacje ul {
	margin: 0;
	list-style: none;
}
#wybrane-realizacje li {
	padding: left;
	display: inline;
}
#content h2 {
	margin: 0 0 6px 0;
}
#content h2 a {
	color: #4f3b22;
	font-weight: normal;
}
h2 {
	font-family: "Trebuchet MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 17px;
}
h2#real {
	float: left;
	clear: left;
	margin: 0 0 4px 0;
}
#realizacje img {
	margin: 0 6px 0 0;
}
#referencje ul {
	margin: 0;
}
#referencje li {
	float: left;
	list-style: none;
	margin: 5px 15px 15px 0;
	border: 1px solid #ccc;
}


/* ----------- news ----------------------- */
#news {
	width: 230px;
	float: right;
}
#news h2 {
	font-size: 13px;
	text-transform: uppercase;
	border-bottom: 1px solid #b1b5a4;
	float: none;
}
#news h3 {
	margin: 6px 0 3px 0;
	font-size: 12px;
}
#news p {
	line-height: 1.5em;
}
#news h3 a {
	color: #656c58;
}
#news p.date {
	margin: 2px 0 8px 0;
	padding: 0 0 0 19px;
	color: #656c58;
	background: url("http://www.rozped.pl/img/date.gif") no-repeat 0 2px;
}
#content p.data {
	margin: 0 0 6px 0;
	padding: 0 0 6px 19px;
	color: #656c58;
	background: url("http://www.rozped.pl/img/date.gif") no-repeat 0 2px;
	border-bottom: 1px solid #ddd;
}
#archives h3 {
	font-size: 14px;
}
#archives p {
	margin: 0;
}
.navigation {
	margin: 10px 0 0 0;
}

/* ----------- sidebar ----------------------- */
#sidebar {
	width: 190px;
	float: right;
	background: #fcfaf5;
	margin: 0 0 15px 0;
}
#glowna #sidebar {
	margin: 0 0 15px 20px;
}
#glowna #sidebar h2 {
	margin: 0;
}
#glowna #sidebar ul {
	margin: 0;
}
#sidebar h2 {
	background:  url("http://www.rozped.pl/img/menu.gif") no-repeat;
	padding: 5px 10px;
	border-bottom: 1px solid #f7f0e2;
	font-size: 15px;
}
#sidebar li {
	display: inline;	
	list-style: none;
}
#sidebar ul {
	display: block;
}
#sidebar li a {
	display: block;
	padding: 5px 10px;
	border-bottom: 1px solid #f7f0e2;
	border-left: 1px solid #f7f0e2;
	border-right: 1px solid #f7f0e2;
	font-weight: normal;
	color: #4f3b22;
}
#sidebar li a.active {
	background: #efeae0;
}
#sidebar li a:hover {
	background: #f9f4e9;
	text-decoration: none;
}

/* ----------- footer ----------------------- */
.clear {
	clear: both;
}
#footer {
	border-top: 1px solid #e8e8e8;
	background: #f8f5e6;
	clear: both;
}
#foot {
	width: 780px;
	margin: 0 auto;
	font-size: 10px;
	color: #777;
	padding: 14px 0 14px 0;
	min-height: 37px;
}
#foot a {
	color: #999999;
	font-weight: normal;
}
.left {
	float: left;
}
#foot .right {
	text-align: right;
}
.right {
	float: right;
}


/* --------------- 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://www.rozped.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://www.rozped.pl/lb-images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.rozped.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 */
	}	