body {
    background: #313131 url(../img/bg.png) repeat;
    color: black;
    margin: 0px;
    padding: 0px;
    font-family: Tahoma,Helvetica, Courier, Serif;
    font-size: 12px;
    text-align: center;
}

#center {
  position: relative;
}

#backg {
    background-image: url(../img/bgtop.png);
    background-repeat: repeat-x;
    background-position: top left;
}

.myclear {
      display: table; 
      width: 100%;
      _clear: both;
      font-size: 0;
      height: 1px;
      line-height: 0;
}
#header {
    background-image: url(../img/header.png);
    background-repeat: no-repeat;
    height:234px;
    width:950px;
    margin: auto; 
    position: relative;
    z-index: 10;
}

#copyright {
  padding-bottom: 20px;
  color: #fff;
  margin:auto;
  font-size: 11px;
}

#copyright a{
  color: #fff;
}

#copyright a:hover{
  color: #a6a6a6;
}
h1 {
  font-size: 18px;
  font-weight: normal;
  
}
h2 {
  font-size: 15px;
  font-weight: normal;
}

h3 {
  font-size: 12px;
  font-weight: bold;
}

.gal {
  float: left;
  width: 160px;
  height: 200px;
  
}
.gal span {
display: block;
font-size: 11px;
text-align: center;
  
}

.gal img {
  border: 1px solid black;
}

ul {
  margin:0;
}

p{
  line-height: 180%;
}
li{
  line-height: 150%;
}

#horiz_menu  ul.topnav li {  
    float: left;  
    margin: 0;  
    position: relative; /*--Declare X and Y axis base for sub navigation--*/  
    z-index: 10;
}  

#vert_menu ul.topnav li {
    margin: 0;  
    position: relative; /*--Declare X and Y axis base for sub navigation--*/  
    z-index: 10;
}  

#horiz_menu {
  position: absolute;
  bottom: -18px;
  right: 40px;
  z-index: 10px;
}
#nahodne {
  width: 178px;
  position: absolute;
  top: 0px;
  left: 40px;
  text-align: left;
  text-align: center;  
}
#nahodne img {
    border: 1px solid #ff9830;
}
#vert_menu {
  width: 178px;
  position: absolute;
  left: 40px;
  top: 120px;
  text-align: left;
  margin-top: 10px;
    background-image: url(../img/bgmenu.png);
    background-repeat: repeat-y;
}

#vert_menu_bottom {
height: 10px;
    background-image: url(../img/bgmenu3.png);
    background-repeat: no-repeat;
}

#horiz_menu ul,
#vert_menu ul {
  margin:0;
  padding: 0;
  list-style-type: none;
}

#vert_menu ul li {
display: block;
padding-top: 10px;
padding-left: 15px;

}

#vert_menu ul.subnav li {
display: block;
padding: 0;

}

#vert_menu  a {  
  color: #a62224;
}

#horiz_menu a {
  padding-left: 10px;
  padding-right: 10px;
  display: block;
  padding-bottom: 5px;
  font-weight: bold;
  color: #e07102;
}

#horiz_menu a:hover {
  color: #a62224;
  text-decoration: none;
}


#vert_menu a:hover {
  color: #000;
  text-decoration: none;
}

  
ul.topnav li span.subhover {
 cursor: pointer;} /*--Hover effect for trigger--*/  
ul.topnav li ul.subnav,
ul.topnav li ul.subnav2 {  
    list-style: none;  
    position: absolute;  
    left: 0; top: 15px;  
    margin: 0; padding: 0;  
    display: none;   
    width: 178px; 
    border-left: 1px solid #ff9830;
    border-right: 1px solid #ff9830;
    background-color: #fff;
    text-align: left;
} 
#vert_menu ul.topnav li ul.subnav ,
#vert_menu ul.topnav li ul.subnav2 {  
    list-style: none;  
    position: absolute;  
    left: 177px; top: 0px;  
    margin: 0; padding: 0;  
    display: none;   
    width: 170px; 
    border: 1px solid #ff9830;
    border-bottom: 0px solid #ff9830;
    background-color: #fff;
    text-align: left;
} 

#vert_menu ul.topnav li ul.subnav2 {  
    left: 170px; top: -1px;  
}  
 
#vert_menu ul.topnav li ul.subnav{
      _left: 150px;
}

ul.topnav li ul.subnav li,
ul.topnav li ul.subnav2 li {  
    margin: 0; padding: 0;
    clear: both;  
    width: 170px;      
    border-bottom: 1px solid #ff9830;
    border-bottom: 1px solid #ff9830;
}  

ul.subnav a,
ul.subnav2 a {
  text-decoration: none;
  display: block;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

#vert_menu ul.subnav a,
#vert_menu ul.subnav2 a {
  text-decoration: none;
  display: block;
  padding: 5px;
}

ul.subnav a:hover,
ul.subnav2 a:hover {
  color: #a62224;
}

#stred {
    background-image: url(../img/bgpage.png);
    background-repeat: repeat-y;
    width:950px;
    margin: auto; 
    position: relative;
}

#obsah {
  margin-left: 220px;
  text-align: left;  
  padding-bottom: 50px;
  min-height: 560px;
  _height: 560px;
}
#obsah img {
  border: none;
}

#obsah_space {
  padding: 20px;
  padding-top: 30px;
  padding-right: 50px;
  
}
a {
  color: #e07102;
}

a:hover {
  color: #a62224;
}

.drob_navigace {
  font-size: 10px;
    text-align: right;
    padding-bottom: 20px; 
}

.sipka1 {
  background-image: url(../img/sipka.gif);
  background-repeat: no-repeat;
  background-position: 160px 13px;
}
.sipka {
  background-image: url(../img/sipka.gif);
  background-repeat: no-repeat;
  background-position: 160px center;
}

#paticka {
    background-image: url(../img/bgbottom.png);
    background-repeat: no-repeat;
    height:38px;
    width:950px;
    margin: auto; 
    position: relative;
    font-size: 11px;
}

.ikona {
  position: relative;
  top: 5px;
  border: none;
  margin-right: 10px;
}

.priloha {
  padding: 5px;
}

.cleaner {
  clear: both;
}

.vert_nadpis {
    background-image: url(../img/bgmenu2.png);
    background-repeat: no-repeat;
    font-size: 15px;
}

.vert_nadpis .space {
    padding: 9px;
    padding-left: 35px;
}

.podstr {
  font-size: 11px;
    float: left;
    width: 120px;
    height: 100px;
    margin-left: 30px;
    text-align: center;
    background-image: url(../img/slozka2.jpg);
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 50px;
}
