html, body { margin: 0; padding: 0; height: 100%;}
body { background: #6e8cb2; font-family: Verdana; color: #0f0100; text-decoration: none; word-spacing: 0.05em; text-align: left; letter-spacing: 1px; line-height: 1.4em; font-size: 12px;}
#container { width: 960px; margin: auto; position: relative; z-index: 2; }
#menu { text-indent: -9999px; padding: 0; margin: 0; background: url(img/header.png) center bottom no-repeat; height: 196px; position: relative; z-index: 3;}
#menu li { float: left; list-style: none; }
#menu a { display: block; width: 65px; height: 196px; background-image: url(img/menu.png); margin: 0 7px 0 0; }
#menu a.active { border-bottom: 3px solid #0894e0; height: 193px;}
.m_ofirmie { background-position: 0 0; }
.m_ofirmie:hover, .m_ofirmie.active { background-position: -65px 0; }
.m_oferta { background-position: 0 -196px; }
.m_oferta:hover, .m_oferta.active { background-position: -65px -196px; }
.m_cennik { background-position: 0 -392px; margin: 0 542px 0 0 !important; }
.m_cennik:hover, .m_cennik.active { background-position: -65px -392px; }
.m_galeria { background-position: 0 -588px; }
.m_galeria:hover, .m_galeria.active { background-position: -65px -588px; }
.m_kontakt { background-position: 0 -784px; }
.m_kontakt:hover, .m_kontakt.active { background-position: -65px -784px; }
.m_fb { background-position: 0 -980px; margin: 0 !important;}
.m_fb:hover { background-position: -65px -980px; }
#menu:after { content: ''; background: url(img/content_top.png); height: 100px; position: absolute; left:0; top: 196px; width: 960px; }
#wrapper { background: url(img/content_bg.png); }
#content { width: 620px; float: left; padding: 30px 10px 10px 10px;}
#content.galeria { width: auto; float: none; }
#right { width: 300px; float: right; padding: 20px 0 10px 0; }
#right.kontakt { background: url(img/gosciu2.png) no-repeat; width: 260px; height: 243px; margin: 60px 0; padding: 30px 10px 30px 30px; }
#footer { clear: both; background: url(img/footer.png); height: 160px; padding: 20px 20px 20px 220px}

#bg { min-height: 100%; min-width: 1400px; width: 100%; height: auto; position: fixed; bottom: 0; right: 0; z-index: 0; }
#bg_overlay { background: url(img/bg_overlay.png); width: 100%; height: 100%; position: fixed; top: 0; left: 0; z-index: 1; }

@media screen and (max-width: 1400px) {
	#bg {
			left: 50%;
			margin-left: -700px;
	}
}

/* Styl tekstu */

h1, h2, h3, h4, h5, h6 {font-family: 'Gruppo', sans-serif; color: #0894E0; }
.center { text-align: center }
ul { margin: 20px; padding: 0; list-style-image: url(img/lista.png); }
ul li { margin: 0 0 15px 0; padding: 0; }
table { background: url(img/content_bg.png); margin: 1em auto; border: 0; text-align: right; border-collapse: collapse; font-size: 1.4em}
table td { border: 1px solid #0B5DBB; padding: 0.5em 1em; margin: 0; }

.galeria h1 { display: block; width: auto; }
.galeria a { float: left; width: 280px; height: 210px; padding: 5px; background: #FFF; border: 1px solid #BBB; margin: 10px; box-shadow: 1px 2px 7px #AAA }

.kontakt label { float: left; clear: both; width: 110px; padding: 0 5px; letter-spacing: 0; font-size: 11px; margin: 2px 0; text-align: right}
.kontakt input, .kontakt select { float: left; width:136px; margin: 1px 0; letter-spacing: 0; padding: 1px; border: 1px solid #AAA;}
.kontakt textarea { width: 252px; height: 100px; padding: 3px; border: 1px solid #AAA; letter-spacing: 0;}
.kontakt button { float: right; padding: 3px 12px; font-size: 1.2em;}
.kontakt h2 { margin: 0 0 10px 0; }
.kontakt .error { color: #A00; margin: -8px 0 0 0;}
.kontakt .info { color: #5A0; margin: -8px 0 0 0;}

#content a {text-decoration: underline; color: #000;}
#content a:hover {text-decoration: none; color: #0894e0;}

#cerabox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1106;
	display: none;

	-webkit-transform: scale(1);
	-webkit-transform-origin: 50% 50%;
	transform: scale(1);
	transform-origin: 50% 50%;
}

#cerabox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url(img/cerabox.png);
}

#cerabox-background {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1100;
	display: none;
	background: #000;
	opacity: .5;
}

#cerabox {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1101;
	display: none;
	opacity: 0;
	background: #fff;

	-webkit-transform: scale(1);
	-webkit-transform-origin: 0 0;
	transform: scale(1);
	transform-origin: 0 0;
}

#cerabox .cerabox-content {
	width: 100%;
	height: 100%;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
	/*CSS3*/
	-moz-box-shadow: 0 0 30px -5px #333;
	-webkit-box-shadow: 0 0 30px -5px #333;
	box-shadow: 0 0 30px -5px #333;
}

#cerabox span.cerabox-error, #cerabox .cerabox-title span {
	padding: 3px 5px;
	display: block;
	font-family: Verdana, Helvetica, sans-serif;
	font-size: 12px;
	color: #000;
	line-height: normal;
	letter-spacing: 0;
}
#cerabox span.cerabox-error { text-align: justify; }
#cerabox .cerabox-title span { display: none; color: #fff; }

#cerabox .cerabox-title {
	z-index: 1102;
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
	background: #000;
	background: rgba(0,0,0,.8);
	width: 100%;

	-webkit-transform: scale(1);
	-webkit-transform-origin: 0 100%;
	transform: scale(1);
	transform-origin: 0 100%;
}


#cerabox .cerabox-close {
	position: absolute;
	top: -20px;
	right: -20px;
	width: 40px;
	height: 40px;
	background: url(img/cerabox.png) -42px 0px no-repeat;
	cursor: pointer;
	z-index: 1105;

	-webkit-transform: scale(1);
	-webkit-transform-origin: 100% 0;
	transform: scale(1);
	transform-origin: 100% 0;
}

#cerabox .cerabox-content img.image {
	float: left;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#cerabox .cerabox-content iframe.iframe {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#cerabox a.cerabox-left, #cerabox a.cerabox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url(img/blank.gif);
	z-index: 1104;
	display: none;
}

#cerabox a.cerabox-left {
	left: 0px;

	-webkit-transform: scale(1);
	-webkit-transform-origin: 0 50%;
	transform: scale(1);
	transform-origin: 0 50%;
}

#cerabox a.cerabox-right {
	right: 0px;

	-webkit-transform: scale(1);
	-webkit-transform-origin: 100% 50%;
	transform: scale(1);
	transform-origin: 100% 50%;
}

#cerabox a.cerabox-left span, #cerabox a.cerabox-right span {
	position: absolute;
	top: 50%;
	/*left: -9999px;*/
	width: 40px;
	height: 40px;
	margin-top: -20px;
	cursor: pointer;
	z-index: 1104;
	display: block;
}

#cerabox a.cerabox-left:hover span, #cerabox.mobile a.cerabox-left span {
	background-image: url(img/cerabox.png);
	background-position: -42px -40px;
	background-repeat: no-repeat;
	left: -20px;
}

#cerabox a.cerabox-right:hover span, #cerabox.mobile a.cerabox-right span {
	background-image: url(img/cerabox.png);
	background-position: -42px -80px;
	background-repeat: no-repeat;
	right: -20px;
}

#cerabox .cerabox-content-protection {
	display: none;
	position: absolute;
	background: transparent url(img/blank.gif);
	z-index: 1103;
	left: 0;
	right: 0;
	bottom: 0;
	top: 0;
	-moz-user-select: none;
	-khtml-user-select: none;
	user-select: none;
}

/*IE6*/
#cerabox-loading.ceraboxbox-ie6 {
	position: absolute; margin-top: 0;
	top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}



/*Mobile*/
#cerabox.mobile {
	/*width: 100% !important;
	height: 100% !important;*/
	background: #000;
}

#cerabox.mobile .cerabox-content {
	background: #fff;
	/*CSS3*/
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
}

#cerabox.mobile .cerabox-content :first-child {
	background: #fff;
}

#cerabox.mobile .cerabox-close {
	top: 2px !important;
	right: 0 !important;
}

#cerabox.mobile a.cerabox-left span {
	left: 0 !important;
}

#cerabox.mobile a.cerabox-right span {
	right: 0 !important;
}

#cerabox.mobile a.cerabox-left, #cerabox.mobile a.cerabox-right {
	width: 10%;
}
