* {
	margin: 0;
	padding: 0;
	text-align: justify;
}
a {
	color: #000;
}
a:hover {
	color: #F00;
}
body {
	background: url(img/bg.png) repeat-y center top;
	color: #000;
	font-family: "Lucida Sans Unicode", sans-serif;
	font-size: 62.5%;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
}
input {
	color: #555;
	font: normal 1.1em "Lucida Sans Unicode",sans-serif;
}
p,cite,code,ul {
	font-size: 1.2em;
	padding-bottom: 1.2em;
}
ul {margin-left: 1.2em;}
li {list-style-image: url(img/li.gif);}
h1 {font-size: 1.4em;}
blockquote {
	background: #FFF;
	border-bottom: 1px solid #EEE;
	border-top: 1px solid #EEE;
	color: #333;
	display: block;
	font-size: 1.2em;
	margin-bottom: 1.2em;
	padding: 6px 12px;
}
blockquote p {padding: 3px 0;}
h1,h2,h3 {
	color: #000;
}

/* misc */
.clearer {
	clear: both;
	width: 900px;
	margin: auto;
}

/* structure */
.container {
	background-repeat:repeat-y;
	margin: 0 auto;
	width: 900px;
	height: auto;
}

/* top */
.top {
	background: #ae0a0a;
	font: normal 2.4em Verdana,sans-serif;
	height: 60px;
	margin: 0 auto;
	width: 900px;
	text-align:center;
	padding-top:20px;
	color:#FFF;
}
.top a {
	color: #FFF;
	display: block;
	line-height: 60px;
	text-decoration: none;
	width: 100%;
}
.top span {padding-left: 24px;}
.top a:hover {
	background: #000cff;
	color: #FFF;
}

/* header */
.header {
	height: 180px;
	margin: 0 auto;
	width: 900px;
}

/* item */
.item {clear: both;}
.item .date {
	background-color:#ae0a0a;
	color: #FDD;
	float: left;
	height: 33px;
	text-align: center;
	width: 36px;
}
.item .date div {padding-top: 4px;}
.item .date span {font: normal 1.6em serif;}
.item .content {
	float: left;
	width: 655px;
	height: 390px;
	margin-bottom: 32px;
}

.content1 {
	float: left;
	width: 655px;
	height: 300px;
}
.item h1 {
	background: #ae0a0a;
	color: #FFF;
	line-height: 33px;
	padding-left: 16px;
}
.item .body {
	padding: 12px 18px;
	width: 619px;
}

/* main */
.main {
	float: left;
	width: 691px;
	height: auto;
}

/* navigation */
.navigation {
	float: left;
	margin-left: 1px;
	width: 208px;
}
.navigation h1 {
	color: #FFF;
	font-size: 1.3em;
	line-height: 40px;
	padding-left: 12px;
	background-color: #ae0a0a;
}
.navigation ul {margin: 0; padding: 0;}
.navigation li {
	border-bottom: 1px solid #FFF;
	list-style: none;
}
.navigation li a {
	background-image:url(img/bgbot.png);
	color: #FFF;
	display: block;
	padding: 8px 4px 8px 12px;
	text-decoration: none;
}
.navigation li a:hover {
	background-image:url(img/bgfooter.gif);
	font-style:italic;
	color: #FFF;
}

/* footer */
.footer {
	background: url(img/bgfooter.gif) repeat-x;
	color: #FFF;
	font-size: 1.1em;
	line-height: 40px;
	margin: 0 auto;
	text-align: center;
	width: 900px;
	height: 41px;
}
.footer a {color: #FFF;}
.footer a:hover {color: #FAFCB0;}

/*---- gallery <-------*/

#gallery {
	width: 455px;
	height: 352px;
}

#imgpic {
	height:130px;
	width:100px;
	padding:10px;
	background-color:#999;
}

#lightbox{	
position: absolute;	
left: 0; 
width: 100%; 
z-index: 100; 
text-align: center; l
ine-height: 0;
}

#lightbox img{ 
width: auto; 
height: auto;
}

#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-image: 
url(data:image/gif;base64,AAAA); /* Trick IE into showing hover */ 
display: block; 
}
#prevLink { 
left: 0; 
float: left;
}

#nextLink { 
right: 0; 
float: right;
}

#prevLink:hover, #prevLink:visited:hover { 
background: url(../images/prevlabel.gif) left 15% no-repeat; 
}

#nextLink:hover, #nextLink:visited:hover { 
background: url(../images/nextlabel.gif) right 15% no-repeat; 
}

#imageDataContainer{ 
font: 10px Verdana, Helvetica, sans-serif; 
background-color: #fff; 
margin: 0 auto; 
line-height: 1.4em; 
overflow: auto; 
width: 100%	; 
}

#imageData{	
padding:0 10px; 
color: #666; 
}

#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: 66px; 
float: right;  
padding-bottom: 0.7em; 
outline: none;
}	 	

#overlay{
	position: absolute; 
	top: 0; 
	left: 0; 
	z-index: 90; 
	width: 100%; 
	height: 500px; 
	background-color: #000;
}

/* --- images <----- */
#pictures li {
	float:left;
	height:<?php echo ($max_height + 10); ?>px;
	list-style:none outside;
	width:<?php echo ($max_width + 10); ?>px;
	text-align:center;
}
img {
	border:0;
	outline:none;
}

#vidio {
	width:640px;
	height:480px;
	margin:auto;
}

#mejd {
	height:125px;
	width:207px;
	background:#ae0a0a;
	margin: 0 0 1px 0;
}

#tyho {
	height:31px;
	width:88px;
	margin:22px auto;
}

#start {
	height:30px;
	width:100px;
	margin:20px auto;
}

#aer {
	height:67px;
	width:100px;
	padding: 27px 53px 27px 53px;
}

.ujast {
	width:205px;
	height:280px;
	margin: 30px 0 0 70px;
	float: left;
	text-align:justify;
}

.picujas {
	width:auto;
	height:auto;
	border: 1px solid #999;
}

.predimstvo {
	width:205px;
	height:280px;
	margin: 30px 70px 0 0;
	float: right;
	text-align:justify;
}

.raztoqnie {
	height:60px;
	width:auto;
}

.colorbot {
	color:#F00;
}

#google {
	width:auto;
	height:220px;
	margin:0 auto;
}

#banneraer {
	width:207px;
	height:400px;
}

#defaultcont {
	height:auto;
	width:645px;
	padding-right:10px;
	margin-left:36px;
	margin-top: 10px;
	margin-bottom:50px;
}

/*============================
vent.php
==============================*/

#imgre {
	width:299px;
	height:300px;
	margin: auto;
}

#contvent {
	float: left;
	width: 655px;
	height: 33px;
}

#ventilation {
	width:645px;
	height:auto;
}

#razotqnie {
	width:655px;
	height:2800px;
}

/*============================
reshenie.php
==============================*/

#reshenie {
	height:auto;
	width:645px;
	padding:0 10px 0 0;
	float: left;
	margin-left: 35px;
}

#picvlaga {
	float:left;
	width:316px;
	height:299px;
	margin-right: 5px;
}

#downpictext {
	height:auto;
	float: left;
	width: 645px;
	padding-right: 10px;
}

/*============================
drugi produkti
==============================*/

#picture1 {
	width:180px;
}

#picture2 {	
}

#korobka {
}

#picdost {
}

#ins1 {
}

#ins2 {
}

#ins3 {
}

#ins4 {
}

#inss {
}

#insss {
}