body {
	background: #000 url(../images/bg-body.jpg) repeat-x 0 140px;
	margin: 0;
	text-align: center;
	font: normal 0.75em/1.5em "Trebuchet MS", Arial, Helvetica, sans-serif;
	color: #fff;
}

img {
	border: none;
	color: #a5c301;
}

a {
	color: #a5c301;
	text-decoration: none;
}

.green {
	color: #a5c301;
}

a:hover, a:focus {
	text-decoration: underline;
}


#wrapper {
	width: 820px;
	text-align: left;
	margin: 0 auto;
}

div#header {
	height: 140px;
}

div#header h1 {
	float: left;
	margin: 10px auto auto 0px;
}

div#header ul {
	padding: 0;
	list-style: none;
	float: left;
	width: 372px;
	height: 22px;
	margin: 110px auto auto 100px;
}

div#header ul li {
	float: left;
}

div#header ul li a {
	display: block;
	height: 22px;
	background: transparent url(../images/bg-menu.png) no-repeat;
}

div#header ul li a span {
	display: none;
}

div#header ul li a#btn-o-mnie {width: 81px; background-position: 0 0;}
div#header ul li a#btn-news {width: 60px; background-position: -88px 0;}
div#header ul li a#btn-oferta {width: 58px; background-position: -155px 0;}
div#header ul li a#btn-referencje {width: 79px; background-position: -220px 0;}
div#header ul li a#btn-kontakt {width: 66px; background-position: -306px 0;}

div#header ul li a#btn-o-mnie:hover,
div#header ul li a#btn-o-mnie:focus {background-position: 0 -22px;}
div#header ul li a#btn-news:hover,
div#header ul li a#btn-news:focus {background-position: -88px -22px;}
div#header ul li a#btn-oferta:hover,
div#header ul li a#btn-oferta:focus {background-position: -155px -22px;}
div#header ul li a#btn-referencje:hover,
div#header ul li a#btn-referencjee:focus {background-position: -220px -22px;}
div#header ul li a#btn-kontakt:hover,
div#header ul li a#btn-kontakt:focus {background-position: -306px -22px;}

div#content {
	height: 380px;
	overflow: auto;
}

div#footer {
	position: absolute;
	padding: 30px 0 10px 0;
}

div#footer p.lock {
	background: transparent url(../images/ico-lock.png) no-repeat left center;
	padding: 0 30px;
	margin: 0;
	font-size: 0.9em;
}

img#camera {
	position: absolute;
	margin-top: -265px;
	margin-left: 380px;
}

img#gallery-list {
	position: absolute;
	margin-top: -340px;
	margin-left: 470px;
}

img#gallery-list-with-camera {
	position: absolute;
	margin-left: 20px;
	margin-top: 30px;
}

div.flatpage {
	color: #56504b;
	background: transparent url(../images/bg-flatpage.png) no-repeat;
	height: 300px;
	padding: 13px 20px;
	width: 449px;
	margin-top: 30px;
}

div.flatpage h2 {
	color: #111;
	background: transparent url(../images/ico-camera.png) no-repeat left center;
	padding: 5px 0 5px 40px;
	border-bottom: 1px dashed #a5c301;
	
}

div.flatpage-content {
	overflow: auto;
	height: 300px;
	width: 439px;	
	padding-right: 10px;
}

div.flatpage ul {
	list-style-image: url(../images/li.png);
}

.clear {
	clear: both;
}

.left {
	float: left;
}

.right {
	float: right;
}

.flatpage em.right {
	margin-right: 20px;
}

/* forms */

fieldset {
	border: none;
}

fieldset.generic input, fieldset.generic select, fieldset.generic textarea {
	border: 1px solid #a5c301;
	color: #111;
	padding: 2px;
	width: 200px;
	background-color: #fff;
}

fieldset.generic textarea {
	height: 100px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 0.9em;
}

fieldset.generic p {
	margin-top: 2px;
}

fieldset.generic p label {
	display: block;
	padding: 6px 3px;	
	width: 100px;
	float: left;
	text-align: right;
	margin-right: 10px;
}

ul.errorlist {
	list-style: none;
	padding: 0;
	margin-left: 120px;
	margin-bottom: 0;
	margin-top: 20px;
}

ul.errorlist li {
	border-bottom: none;
	list-style-image: none;
	color: #f00;
}

div.gallery-block {
	height: 340px;
}

div.box img,
div.gallery img {
	border: 3px solid #fff;
}

div.article-item p {
	margin-bottom: 2px;
}


.box {
	width: 350px;
	padding: 10px;
}

.box h3 {
	font-weight: normal;
	border-bottom: 1px dotted #a8aa82;
	margin: 1px 0;
}

.box h3, .box h3 a {
	color: #a8aa82;
	text-decoration: none;
}

.box h3 a.right {
	font-size: 0.75em;
}

.box h4, .box p {
	margin: 0;
}

.box p.body {
	margin-bottom: 10px;
}

div#box-reference h4 a {
	color: #fff;
}

div#box-photos a img {
	margin: 2px;
}

div#box-photos, div#box-words {
	width: 338px;
}

div#box-words a {
	color: #fff;
}

hr.green {
	color: #a5c301;
	background-color: #a5c301;
	height: 1px;
	border: none 0; 
}
