html {
  height:100%;
}

body{
	margin:0;
	padding:0;
	min-height:100%;
    width:100%;
    position:absolute;
    font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	background:url(img/bg.jpg) repeat-x fixed #8dccdb;
    font-size:16px;
    z-index:0;
}

* html body {
  height:100%;
}

#bg{
	position:absolute;
	width:100%;
	height:100%;
	z-index:-5;
}

#bg1{
    position:absolute;
    width:100%;
	height:100%;
	background:url(img/bg1.gif) repeat;
	z-index:-1;
}

#bg2{
	position:absolute;
	bottom:0;
	right:0;
	width:277px;
	height:249px;
    z-index:-2;
	background:url(img/bg2.png);
	
}

#footer1{
	position:absolute;
	bottom:0;
	height:184px;
	width:100%;
	background:url(img/footer1.png) center;
	z-index:-4;
}

#footer2{
	position:absolute;
	bottom:0;
	height:122px;
	width:100%;
	background:url(img/footer2.png) right;
	z-index:-3;
}

#akcia{
    display:block;
    position:absolute;
    right:0;
    top:0;
    width:131px;
    height:139px;
    background:url(img/akcia.png);
    
}


/*
#footer3{
	position:absolute;
	bottom:0;
	right:0;
	height:232px;
	width:670px;
	background:url(img/footer3.png);
	z-index:-2;
}
*/

#footer3{
	position:absolute;
	bottom:0;
	right:0;
	height:249px;
	width:277px;
	background:url(img/bg2.png);
	z-index:-2;
}



#header{
	height:200px;
}

/*-------------------------------------------------------------------------------*/

#logo{
	position:absolute;
	width:200px;
	height:117px;
	left:5%;
	top:40px;
	background:url(img/logo.gif) no-repeat left top;
}

#logo h1{
	padding:30px 0 0 90px;
	margin:0;
	color:#be1010;
	font-family:Arial, Helvetica, sans-serif;
	font-size:30px;	
}

#logo h2{
	padding:0 0 0 90px;
	margin:0;
	margin-top:-6px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:26px;	
	color:#11288c;
}

/*-------------------------------------------------------------------------------*/

#contacts{
	position:absolute;
	right:0;
	width:26%;
	height:90px;
	top:60px;
}

#contacts h1{
	color:#c21010;
	font-size:18px;
	font-weight:normal;
	padding:0;
	margin:0;
}

#contacts h2{
	font-size:16px;
	padding:0;
	margin:0;

}

#contacts h2 a{
	color:#c21010;
	text-decoration:none;
}

#contacts h2 a:hover{
	text-decoration:underline;
}


#contacts h3{
	color:#0e316b;
	font-family:Impact, Arial, sans-serif;
	font-size:30px;
	font-weight:normal;
	padding:0;
	margin:8px 0 0 0;
}
#contacts h3 span {
	font-size:16px;
	margin-right:8px;
}



#main{
    width:100%;
    overflow:hidden;
	padding-bottom:80px;
}


#content{
	padding:0 40px;
	margin-right:30%;
	font-family: Georgia, "Times New Roman", Times, serif;
    line-height:1.8em;
}

#content a{
    color:#1a6194;
    text-decoration:none;
}

#content a:hover{
    color:#0d82aa;
    text-decoration:none;
}

.caption{
	background:url(img/h1.gif) no-repeat left top;
	padding:0 0 4px 40px;
	margin:0;
	color:#be1010;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size:26px;
	font-style:normal;
}

#right{
	float:right;
	width:30%;
}

#menu{
	margin-top:15px;
}

#menu ul{
	list-style:none;
	padding:0;
	margin:0;
}

#menu li{
	padding:0;
	margin:0;
	width:100%;
}

#menu li ul{
	margin-left:35px;
}


#menu li a{
	display:block;
	text-decoration:none;
	padding:6px 4px 8px 34px;
	font-size:17px;
	color:#1a345b;
	background:url(img/menu.png) no-repeat;
	background-position:1000px;
}


#menu li li a{
	padding:4px 4px 6px 30px;
	font-size:15px;
	background:url(img/menu2.png) no-repeat;
	background-position:1000px;
}

#menu li a:hover{
	background-position:0;
}

#menu a.selected{
    color:#900b0b;
}

#menu li a.selected:hover{
    background:url(img/menuselected.png) no-repeat;
}


#menu li li a.selected:hover{
    background:url(img/menu2selected.png) no-repeat;
}


.gallery{
    width:100%;
    overflow:hidden;
}

.gallery div{
    display:table-cell;
    vertical-align:middle;
    text-align:center;
}


.gallery div {
margin-top: expression((50-parseInt(offsetHeight)/2)  <0 ? "0" : 50-(parseInt(offsetHeight)/2) +'px') ;
}


.gallery img{
    border:none;
}


.gallery a{
    display:table;
    float:left;
    height:100px;
    width:128px;
    margin:3px;
    background-color:#fddfa0;
    text-align:center;
    border:1px solid #a77d35;
}


.gallery a:hover{
    background-color:#fdbfa0;
	border:1px solid #cf191b;

}



#ban_act1{
    position:absolute;
    right:0;
    top:0;
}

#site_gallery {
	width:100%;
	overflow:hidden;
}


.site{
	clear:both;
	font-family:Arial, Helvetica, sans-serif;
	margin:10px 0;
}

.site .bg{
    background:url(img/site_item_bg.png) repeat-y;
	width:100%;
	overflow:hidden;
}

.site .top{
	clear:both;
	height:30px;
    background:url(img/site_item_top.png) no-repeat;
}

.site .bottom{
	clear:both;
	height:30px;
    background:url(img/site_item_bottom.png) no-repeat;
}


.site h4{
	color:#1a345b;
	padding:0;
	margin:0;
}



.thumb {
    float: left;
	margin:0 20px 0 30px;
	padding:5px;
	background-color:#FFFFFF;
	border:1px solid #a1d5e2;
}

.thumb img{
	border:none;
}

#footer{
	position:absolute;
	bottom:2px;
	left:10px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
}

#footer a{
	color:#0e316b;
	text-decoration:none;
}

#footer a:hover{
	text-decoration:underline;
}

#counter{
	position:absolute;
	bottom:4px;
	right:6px;
}

