body {
background-color:#181818;
background-repeat: repeat;
font-family: Arial, Tahoma;
font-size:12px;
margin:0;
min-width:1032px;
padding:0;
width:100%;
}
a {text-decoration:none;font-weight:bold;color:#8b0b00;}
a:hover { text-decoration:underline}
body h1 {margin-left: auto; padding:0 ; margin-top:0;}
h2 {padding:0; margin:0}	
table  {padding:0; margin:0}
table tr {padding:0; margin:0}
img {border:0}
hr {margin-top:5px; margin-bottom:5px}
table tr td {padding:0; margin:0; vertical-align:top; text-align:left}
table tr th {text-align:left; vertical-align:top}
#page {margin-left: auto; 
	margin-bottom:0px; margin-right: auto;width:1032px;background:url(images/leftbgr.jpg) repeat-y;background-color:#ffffff; margin-top:10px


}
#header {background-color:#ffffff;float:left; width:1032px ; background:url(images/header.jpg); background-repeat:no-repeat; height:134px;  
}	
#imglogo { margin-left:15px; margin-bottom:5px}
#imgslogan { margin-left:35px; margin-bottom:22px}
#mainimg { border-top:2px #273a96 solid; border-bottom:2px #273a96 solid; margin-left:15px; margin-right:15px; padding-top:3px; padding-bottom:3px; clear:both;  }


 .menu {  
     list-style: none;  
     position: relative;  
     margin: 0;  
     padding: 0; 
	 padding-top:0px;
	 margin-left:0px;
	 background-image:url(no_flicker.jpg); /*some browsers are to slow when aligning the menu items via jQuery and so the background shines through, this prevents this flickering*/

 }  
 .menu li{
	display: block;
	overflow: hidden;
	padding: 0;
	cursor: pointer;
	float: left;
	width: auto;
	height: 35px;
	margin-right: 0px;
	background-image:url(images/mainmenu.png);
	background-repeat:no-repeat;
}
.menu a{
	display:block;
	height:35px;
	text-indent:-9999px;
	outline:none;
	width:199px;
}

#menu1 {
	background-position:0px 0px; width:199px
}
#menu2 {
	background-position:0px -35px ; display:none
}
#menu3 {
	background-position:0px -70px
}
#menu4 {
	background-position:0px -105px;
}
#menu5 {
	background-position:0px -140px
}

#menu1.active, #menu1:hover{ 
	background-position: -199px 0px;
}
.menu1a{ background-image:url(images/mainmenu.png);background-repeat:no-repeat;background-position: -199px 0px;}
#menu2.active, #menu2:hover{
	background-position: -199px -35px;
}
.menu2a{ background-image:url(images/mainmenu.png);background-repeat:no-repeat;background-position: -199px -35px;}
#menu3.active, #menu3:hover {
	background-position: -199px -70px;
}
.menu3a{ background-image:url(images/mainmenu.png);background-repeat:no-repeat;background-position: -199px -70px;}
#menu4.active, #menu4:hover {
	background-position: -199px -105px;
}
.menu4a{ background-image:url(images/mainmenu.png);background-repeat:no-repeat;background-position: -199px -105px;}
#menu5.active, #menu5:hover {
	background-position: -199px -140px;
}
.menu5a{ background-image:url(images/mainmenu.png);background-repeat:no-repeat;background-position: -199px -140px;}







#main { margin-bottom:15px; clear:both  }
#leftpanel {width:199px; color:#FFFFFF; float:left; text-align:center; margin-bottom:0px; }

#leftpanel strong { text-transform:uppercase; font-weight:bold; font-size:1.3em; padding-top:12px; padding-bottom:3px;   text-transform:uppercase; display:block; color:#8b0b00; clear:both; padding-left:5px; padding-right:5px}
#leftpanel p {padding:5px}
#mainpanel {margin-left:199px; background-color:#FFF   }
#mainpanel h1 { text-transform:uppercase; font-size:1.3em; font-weight:bold; background:url(images/mainph.png); padding-left:10px; background-repeat:repeat-x; color:#8b0b00; padding-top:12px}
#mainpanel h2 { text-transform:uppercase; font-size:1.2em; font-weight:bold;padding-top:5px;padding-left:10px; color:#8b0b00 }
#mainpanel p {padding-left:10px; padding-right:10px; color:#000; text-align:justify}
#mainpanel ul { color:#000}
#mainpanel li {list-style-image:url(images/sipka2.gif)}
#mainpanel ol { color:#000}
#mainpanel ol li { color:#000; list-style:decimal}
.centerimg {float:left; border: 1px #273a96 solid; padding-left:10px}
#fotogal {/*margin-left:264px; */}
#footer {clear:both;  text-align:center;  color: #333; font-size:0.9em; background:url(images/footer.jpg) repeat-x; height:20px}
#footer p {padding-top:5px}
#footer a { color:#999999; font-weight:normal}
#administrace { position:fixed; top:0; background:#000000; left:0; padding:3px}
.adminimg { padding-left:10px; cursor:pointer}
.form1
{
	font-family: Arial,Tahoma;
  padding-left: 5px;
	padding-top: 5px;
	margin-bottom: 2px;
	font-size:9pt;
	background-color: #d4d4d4;
	border: none;
	border-left: 1px solid #8b8b8b;
	height: 20px;
	width: 175px;
	color: #000000;
}

.form2
{
	font-family: Arial,Tahoma;
	padding-left: 5px;
	padding-top: 5px;
	margin-bottom: 2px;
	font-size:9pt;
	background-color: #d4d4d4;
	border: none;
	border-left: 1px solid #8b8b8b;
	width: 175px;
	color: #000000;
}
.form3
{
	width:180px;
	margin-top:8px;
	font-family: Tahoma;
  font-size:9pt;
	background-color: #d4d4d4;
	color: #000000;
	border: 1px solid;
	border-color: #8b8b8b;
	height: 18px;
	margin-top: 3px;
	margin-bottom: 3px;
}

#leftform {padding-top:15px; padding-bottom:15px}
#fotogal img {border: 1px #faab4d solid; padding:2px; margin-bottom:5px}
#podporujeme table { text-align:center}
#podporujeme img {border: 1px #273a96 solid; padding:2px}
#podporujeme table tr th { text-align:center}
#podporujeme table tr td { text-align:center; width:33%; padding-bottom:15px}
#certifikaty a{color:#FFF; font-size:0.9em; font-weight:bold}
#certifikaty table { text-align:center}
#certifikaty table tr th { text-align:center}
#certifikaty table tr td { text-align:center; width:33%; padding-bottom:15px}
#certifikaty img { margin-bottom:5px}
.certifikatynazev {height:42px;}
.foto1d { border:#FFF 3px solid; width:250px; height:400px; float:left;  margin-right:17px; margin-bottom:20px; clear:right; text-align:center;vertical-align:middle;  }
.foto2d {  border:#FFF 3px solid;width:250px; height:400px; float:left;  clear:right; margin-right:15px;margin-bottom:20px; text-align:center;vertical-align:middle; }
.foto3d {  border:#FFF 3px solid;width:250px; height:400px; clear: right; float:left; margin-right:15px;margin-bottom:20px; text-align:center; vertical-align:middle; }
.foto4d {  border:#FFF 3px solid;width:250px; height:400px; clear: right; float:left;text-align:center; vertical-align:middle; }
.foto0d {  border:#FFF 3px solid;width:250px; height:400px; margin-left:0px; margin-left:15px; top:0px; margin-right:17px; clear:right; float:left;text-align:center;vertical-align:middle; }

.foto1f {border:#FFF 3px solid; width:150px; height:150px; float:left;  margin-right:9px; margin-bottom:20px; clear:right; text-align:center;vertical-align:middle;  }
.foto2f {border:#FFF 3px solid; width:150px; height:150px; float:left;  clear:right; margin-right:9px;margin-bottom:20px; text-align:center;vertical-align:middle; }
.foto3f { border:#FFF 3px solid;width:150px; height:150px; clear: right; float:left; margin-right:9px;margin-bottom:20px; text-align:center; vertical-align:middle; }
.foto4f { border:#FFF 3px solid;width:150px; height:150px; clear: right; float:left;text-align:center; vertical-align:middle; }
.foto0f { border:#FFF 3px solid;width:150px; height:150px; margin-left:0px; margin-left:9px; top:0px; margin-right:9px; clear:right; float:left;text-align:center;vertical-align:middle; }

.brclall {clear:both}
#zamestnani table {margin-left:7px; color:#FFF}
/*#fotogalerie img {border-bottom:#FFF 3px solid;}*/
#fotogalerie a {color:#000; font-size:0.9em; font-weight:bold; display:block;}
#fotogalerie a:hover {text-decoration:none; color:#8b0b00}
.fotogalerienazev {height:29px; margin-top:5px}
.mensiitalic {font-size:0.9em; font-style:italic}
#kontakty form {margin-left:10px; color:#000}
 #galleria{width:795px;margin:20px auto}
#adminpg {margin-left:10px; color:#000 }
#adminpg table {color:#000}
#reference a { color:#000}
#reference a:link { color:#FFF}#reference a:visited { color:#FFF}#reference a:hover { color:#FFF}#reference a:active { color:#FFF}
#zivotopis {margin-left:10px; }
#zivotopis {color:#FFF}
.logoimg {margin-top:10px; margin-left:55px}
#referencefoto {margin-left:650px; border-top:#FFF 3px solid; border-left:#FFF 3px solid; border-right:#FFF 3px solid; width:150px}
#referencefoto img {border-bottom:#FFF 3px solid; border-right:#FFF 3px solid; width:150px}
#referencemain { float:left; width:650px}
