*						{ margin: 0; padding: 0; }
body						{ margin-top: 0px !important; 								background: #dcc293 url('images/bg.jpg') 0 0 repeat; min-width: 992px;}

#page-container					{ width: 992px; }

#header						{ width: 992px;	margin-bottom: 8px; }
#header	img					{ 				position: absolute;	left: 20px;	top: 0;		z-index: 50;	}

#header-text					{ width: 704px;	height: 216px;	position: relative;	left: 240px;	top: 0;		}
#header-text a					{ 											text-decoration: none; }
#header-text em					{ width: 704px;	height: 216px;	position: absolute;	left: 0;	top: 0;		background: url('images/header.jpg') 0 0 no-repeat; }

/* nav Start */
#nav						{ position: absolute;	top: 0;		left: 0; width: 992px;	height: 48px;	font-size: 0; z-index: 60; }
#nav a						{ display: block; float: left; height: 48px; position: relative; }
#nav a em					{ display: block; height: 48px; position: absolute; top: 0; left: 0; background: url('images/nav.png') no-repeat; }
#nav a#button-1					{ width: 308px; }
#nav a#button-1	em				{ width: 308px; background-position: -124px 0; }
#nav a#button-1:hover	em			{ background-position: -124px -48px; }
#nav a#button-1:active	em			{ background-position: -124px -48px; }
#nav a#button-2					{ width: 432px; }
#nav a#button-2	em				{ width: 432px; background-position: -432px 0; }
#nav a#button-2:hover	em			{ background-position: -432px -48px; }
#nav a#button-2:active	em			{ background-position: -432px -48px; }
#nav a#button-3					{ width: 124px; }
#nav a#button-3	em				{ width: 124px; background-position: 0 0; }
#nav a#button-3:hover	em			{ background-position: 0 -48px; }
#nav a#button-3:active	em			{ background-position: 0 -48px; }

/* nav End */
.apartman					{ margin-bottom: -32px; overflow: visible; clear: both; }
.apartman .title				{ 		height: 356px;	position: relative;	left: 0;  	top: 0;		overflow: visible; clear: both; }
.apartman .title .checklist			{ display: block; float: left; margin-top: 8px; }
.apartman .title .picture			{ width: 696px;			position: absolute;  	left: 238px; 					}
.apartman .title .picture .videoprohlidka	{ width: 171px;	height: 52px;	position: absolute;	left: 525px;  	top: 292px;	display: block; }
.apartman .title .picture .header		{ 				position: absolute;	left: 0;  	top: 24px;	display: block; }

.apartman .content				{ ; }
.apartman .content .main			{ width: 480px; float: left;	margin: -32px -16px 4px 16px; }
.apartman .content .main .wrapper		{ width: 480px; background: #ffffff url('images/main.png') repeat-y; background-image: url('images/main-top.jpg'), url('images/main-bottom.jpg'), url('images/main.png'); background-position: 0 0, left bottom, 0 0; background-repeat: no-repeat, no-repeat, repeat-y;  }
.apartman .content .main .padding		{ padding: 64px 32px 80px 32px; }
.apartman .content .main .cena			{ margin: 32px; text-align: center; font-size: 1.2em; }

.apartman .content .gallery			{ width: 480px; float: left; margin-top: 8px; }
.apartman .content .gallery ul			{ margin: 0; padding: 0; }
.apartman .content .gallery ul li		{ width: 240px;	display: block;	float: left; margin: 0 0 8px 0; padding: 0; list-style: none; background: transparent none; position: relative; text-align: center; }
.apartman .content .gallery ul li a		{ margin-right: auto; margin-left: auto; float: none; }
.apartman .content .gallery ul li.odd		{ clear: left; }
.apartman .content .gallery ul li img		{ position: relative; }
.apartman .content .gallery ul li img.h		{ top: 28px;  }
.apartman .content .gallery .pudorys		{  }
.apartman .content .gallery a img		{ border: 1px solid #e56000; }
.apartman .content .gallery a:hover img		{ border: 1px solid #c0c0c0; position: relative; z-index: 80 !important; }

.pohlednice					{ width: 432px; height: 292px; margin: -64px 0 -20px 32px; background: url('images/pohlednice.jpg') no-repeat; overflow: hidden; clear: both; }
.pohlednice p					{ width: 160px; height: 244px; position: relative; left: 248px; top: 24px; text-align: justify; font-size: 1.4em; line-height: 1.35em;}

#kontakty					{ overflow: hidden; clear: both; padding-top: 32px; padding-left: 48px; }
#kontakty .text					{ width: 432px; float: left; line-height: 1.5em; }
#kontakty .text	p				{ margin-bottom: 1em; }
#kontakty .kontaktni-formular			{ width: 312px; float: left; background-color: #faf2e1; border: 1px solid #c0c0c0; position: relative; left: 32px; top: 0px; margin-bottom: 40px;}
#kontakty .kontaktni-formular form		{ margin: 16px 32px 32px 32px; }
#kontakty .kontaktni-formular form input,
#kontakty .kontaktni-formular form textarea	{ width: 248px;  }

/* * Transformations and shadows * */

#nerikej, #header-text, .main .wrapper, .pohlednice, .title-picture, .kontaktni-formular, 
.checklist, .gallery li a img, .pudorys img	{ -moz-box-shadow: 0px  2px 8px rgba(0,0,0,.2); -webkit-box-shadow: 3px 3px 3px rgba(0,0,0,.2); box-shadow: 3px 3px 3px rgba(0,0,0,.2); }
.header						{ -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }

#nerikej					{ -webkit-transform: rotate(-8deg); -moz-transform: rotate(-8deg); transform: rotate(-8deg); }
#header-text					{ -webkit-transform: rotate(4deg); -moz-transform: rotate(4deg); transform: rotate(-8deg); }
.checklist					{ -webkit-transform: rotate(4deg); -moz-transform: rotate(4deg); transform: rotate(-8deg); }
/*
.apartman .content .gallery ul li:nth-child(n) a:hover img	{ -webkit-transform: scale(1.0); -moz-transform: scale(1.0); transform: scale(1.0); }
*/
.apartman .content .gallery ul li:nth-child(n)		{ margin: -16px -16px; }
.apartman .content .gallery ul li:nth-child(6n+0) a img	{ -webkit-transform: scale(0.9) rotate(-10deg); -moz-transform: scale(0.9) rotate(-10deg); }
.apartman .content .gallery ul li:nth-child(6n+1) a img	{ -webkit-transform: scale(0.9) rotate(7deg); -moz-transform: scale(0.9) rotate(7deg); }
.apartman .content .gallery ul li:nth-child(6n+2) a img	{ -webkit-transform: scale(0.9) rotate(4deg); -moz-transform: scale(0.9) rotate(4deg); }
.apartman .content .gallery ul li:nth-child(6n+3) a img	{ -webkit-transform: scale(0.9) rotate(-2deg); -moz-transform: scale(0.9) rotate(-2deg); }
.apartman .content .gallery ul li:nth-child(6n+4) a img	{ -webkit-transform: scale(0.9) rotate(-4deg); -moz-transform: scale(0.9) rotate(-4deg); }
.apartman .content .gallery ul li:nth-child(6n+5) a img	{ -webkit-transform: scale(0.9) rotate(6deg); -moz-transform: scale(0.9) rotate(6deg); }

/* / Transformations and shadows / */

.nobg						{ 											background: transparent none !important; }
.no-float					{ float:none; }

#nahoru						{ width: 71px; height: 28px; position: fixed; bottom: 8px; left: 0px; display: block; background: url('images/nahoru.png') 0 0 no-repeat; z-index: 60; }

#footer						{ width: 464px; height: 64px; position: fixed; bottom: 8px; right: -1px; font-size: 0.9em; background: url('images/footer.png') top right no-repeat; font-size: 1.2em; z-index: 60; }
#footer p					{ 											text-align: right; margin: 24px 32px 0 0;}
