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;
    height:500px; 
}
#header {
    background-image: url(../img/header.png);
    background-repeat: no-repeat;
    height:229px;
    width:950px;
    margin: auto; 
    position: relative;
    z-index: 10;
}


h1 {
  font-size: 18px;
  font-weight: normal;
  
}
h2 {
  font-size: 15px;
  font-weight: normal;
}

h3 {
  font-size: 12px;
  font-weight: bold;
}

ul {
  margin:0;
}

p{
  line-height: 180%;
}
li{
  line-height: 180%;
}

#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: 20px;
  right: 30px;
  z-index: 10px;
}


#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: 25px;

}

#vert_menu ul.subnav li {
display: block;
padding: 0;

}

#horiz_menu a {  
  color: #fff;
  text-decoration: none;
}

#horiz_menu a {
  padding-left: 15px;
  padding-right: 15px;
  display: block;
  padding-bottom: 5px;
}

#horiz_menu a:hover{
  color: #ccc;
  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: 170px; 
    border-left: 1px solid navy;
    border-right: 1px solid navy;
    background-color: #fff;
    text-align: left;
} 

ul.topnav li ul.subnav li,
ul.topnav li ul.subnav2 li {  
    margin: 0; padding: 0;
    clear: both;  
    width: 170px;      
    border-bottom: 1px solid navy;
    border-bottom: 1px solid navy;
}  

ul.subnav a,
ul.subnav2 a {
  text-decoration: none;
  display: block;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
}

ul.subnav a:hover,
ul.subnav2 a:hover {
  color: #a62224;
}

#stred {
    background-image: url(../img/bgpage.png);
    background-repeat: repeat-y;
    min-height:450px;
    width:950px;
    margin: auto; 
    position: relative;
}

#stred img {
    border: 1px solid #000;
    float: right;
    margin-left: 10px;
    padding: 5px;
}

#obsah {
  margin-left: 125px;
  margin-right: 25px;
  text-align: left;  
}

#obsah_space {
  padding: 10px;
  padding-right: 35px;
  
}
a {
  color: green;
}

a:hover {
  color: #aaa;
}

.drob_navigace {
  font-size: 11px;
    text-align: right;
}

.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:43px;
    width:950px;
    margin: auto; 
    position: relative;
}

#copyright {
  color:#bbb;
  font-size: 11px;
  text-align: right;
  width: 900px;
  margin: auto;
}

strong {
  font-variant: small-caps;
  font-weight: bold;
}

#stred img.right_image {
  float: left;
  margin-right: 10px;
}

.myclear {
      display: table; 
      width: 100%;
      _clear: both;
      font-size: 0;
      height: 0px;
      line-height: 0;
}
