/*  
Theme Name: Makowski
Theme URI: http://www.firma-makowski.pl
Description: 
Version: 1.0
Author: Mikołaj Barczentewicz
Author URI: http://www.barczentewicz.com/
*/


html, body {
	margin: 0;
	padding: 0;
}
* {
	margin: 0;
	padding: 0;
}
body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 82%;
	color: #333;
}
a img {
	border: none;
}
a {
	color: #a70606;
	text-decoration: none;
}
a:hover {
	border-bottom: 1px dotted #a70606;
}
.left {
	float: left;
}
.right {
	float: right;
}

/*---------------- header -------------------------------- */
#head {
	background: #cc0000;
}
#header {
	height: 150px;
	width: 780px;
	margin: 0 auto;
}
h1 {
	position: relative;
	top: 49px;
	height: 50px;
}
#header ul {
	margin: 72px 0 0 0;
	float: right;
	font-family: Tahoma, Verdana, Geneva, Arial, Helvetica, sans-serif;
}
#header li {
	display: inline;
}
#header li a {
	color: #ddd;
	display: block;
	float: left;
	padding: 5px 10px 6px 10px;
	margin: 0 0 0 10px;
}
#header li a:hover {
	color: #dfffff;
	border: none;
}
#header li.current-menu-item a, #header li.current-page-ancestor a {
	color: #dfffff;
	background: #cc4444;
	border-top: 1px solid #959595;
}


/*---------------- content -------------------------------- */
#container {
	margin: 22px auto 0 auto;
	width: 780px;
}
#content {
	width: 480px;
}
h2 {
	font-family: Georgia, Times, serif;
	font-size: 2.2em;
	font-weight: normal;
}
p.lead {
	font-family: Georgia, Times, serif;
	color: #688327;
	font-size: 1.4em;
	line-height: 1.4em;
	margin: 8px 0 0 0;
}
p {
	margin: 13px 0 0 0;
	line-height: 1.45em;
}
#realizacje {
	margin: 20px 0 0 0;
	width: 480px;
}
#realizacje img {
	margin: 10px 0 0 0;
	padding: 2px;
	background: #f5f5f5;
	border: 1px solid #ddd;
}
#realizacje a:hover {
	border: none;
}
#content ul {
	margin: 10px 0 0 0;
}
#content li {
	margin: 3px 0 0 30px;
}
#content ul.gal li {
	margin: 0;
	list-style: none;
	float: left;
}
#content ul.gal a {
	display: block;
	width: 150px;
	height: 112px;
	overflow: hidden;
	text-align: center;
	margin: 3px 3px 0 0;
	padding: 2px;
	background: #f5f5f5;
	border: 1px solid #ddd;
}
#content ul.gal.real a { height: auto; }
#content ul.gal a:hover {
	background: #f9f9f9;
	border: 1px solid #eee;
}


/*---------------- sidebar -------------------------------- */
#sidebar {
	width: 280px;
	float: right;
}
h3 {
	font-family: Georgia, Times, serif;
	font-size: 1.4em;
	font-weight: normal;
	border-bottom: 2px solid #333;
	padding: 0 0 2px 0;
}
#sidebar p {
	margin: 9px 0 0 0;
	font-size: 0.93em;
	line-height: 1.4em;
}
#sidebar p.more {
	margin: 0 0 20px 0;
	padding: 0 0 0 15px;
	background: url("http://www.firma-makowski.pl/img/bullet.gif") no-repeat 0 4px;
}
#sidebar ul {
	margin: 9px 0 20px 0;
}
#sidebar li {
	margin: 5px 0 0 0;
	padding: 0 0 0 15px;
	background: url("http://www.firma-makowski.pl/img/bullet.gif") no-repeat 0 3px;
	list-style: none;
}

.zdjecie-prawa {
	float: right;
	margin: 10px 0 0 0;
	padding: 2px;
	background: #f5f5f5;
	border: 1px solid #ddd;
}


/*---------------- footer -------------------------------- */
#clear {
	clear: both;
}
#foot {
	clear: both;
	background: url("http://www.firma-makowski.pl/img/foot-bg.gif") repeat-x;
	height: 78px;
	font-size: 0.85em;
	color: #999;
}
#footer {
	width: 780px;
	margin: 0 auto;
	position: relative;
	top: 30px;
}



/* --------------- 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.firma-makowski.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.firma-makowski.pl/lb-images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(http://www.firma-makowski.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 */
	}	
