html {
  margin: 0;
  padding: 10px 20px;
}

body {
  min-width: 620px;
  max-width: 90%;
  margin: 0 auto;
  padding: 0;
  font-family: "Trebuchet MS", Arial, Tahoma, sans-serif;
  font-size: 15px;
  color: #000;
}

#header {
  text-align: left; 
  padding: 1em 4em;
  font-size: 110%;
  border-top: 1px solid #574319;;
  border-left: 1px solid #574319;;
}

#header h1 {
  margin: 5px;
  padding: 0;
}

#header, #footer{
  max-height: 100px;
  color: #000;   
}

#footer {
  text-align: right; 
  clear: both;
  padding: 9px;
  font-size: 95%;
  border-bottom: 1px solid #574319;
  border-right: 1px solid #574319;
}

#footer a {
  color: #000;
}

#nav {
  width: 180px;
  float: left;
  border-top: 1px solid #574319;

}

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

#nav ul li {
  margin: 4px 0;
  padding: 1px 0;
}

#nav ul li a {
  display: block;
  position:relative;
  padding: 2px 10px;
  border:  1px solid #fff; 
  border-right-width: 0;
  border-bottom-color: #ddd; 
  text-align: left;
  color: #800;
  font-weight: bold;
  text-decoration: none;
}

#nav ul li a:hover {
  width: 160px;
  padding: 3px 10px;
  top: -1px;
  margin-bottom: -2px;
  border-top-color:    #574319;
  border-bottom-color: #574319;
  border-left-color:   #574319;
  background-color: #fff;
  color: #000;
}

#nav ul li a#this_page_navlink {
  margin-left: 4px;
  border: 1px solid #574319;
  border-right-width: 0;
  width: 156px;
  color: #000;
  text-align: center;
  background-color: #fff;
}

#nav ul li a#this_page_navlink:hover {
  background-color: #fff;
  color: #000;
}

#nav ul li a img {
  display: block;
  margin: 2px auto;  
}

#nav #sflogo img {
  display: block;
  margin: 10px auto;
  border: 0 white solid;
}



/***************************************
obsah
***************************************/
#content {
  min-height: 300px;
  /*margin-left: 180px;*/
  border-left: 1px solid #574319; 
  border-right: 1px solid #574319;
  padding: 5px 20px 100px;
  background: #fff;
}

#content h2 {
  text-align: center;
}

#content p {
  /* text-indent: 1em; */
}

#content code {
  background-color: #F5E5C3;
}

#content a {
  color: #AA7E1E;
  text-decoration: none;
  border-bottom: 1px solid #AA7E1E;
}

#content a[href*="http"] {
  padding-right: 14px;
  background: url('outlink.png') 100% 50% no-repeat;
}

#content a:visited, #content a[href^="http"]:visited {
  color: #800;
}

#content a:hover, #content a[href^="http"]:hover {
  border-bottom-color: #DCA632;
  background-color: #F5E5C3; 
  color: #000;
}

#content a[href^="http"]:hover {
  background-image: url('outlink_hover.png')
}


#content .ilustracia {
  overflow: hidden;
  width: 99%;
  margin: 30px 0;
}

#content .ilustracia p {
  margin: 0;
  padding: 0;
  font-size: 95%;
  text-align: center;
  text-indent: 0;
}


table {
  border-collapse: collapse;
  background: #fff;
}

table caption {
  padding: 2px 10px 5px;
  font-weight: bold;
}

table thead tr th {
  border: 1px solid #574319;
  padding: 3px 10px;
  font-weight: normal;
  color: #000;
}

table tbody tr td {
  border: 1px solid #DCA632;
  padding: 3px 10px;
  color: #222;
}

.tcol_enc, .tcol_psnr {
  background-color: #FCF8EE;
}


.search_phase {
  text-align: center;
}


label {
  display: block;
  float: left;
  width: 100px;
}

input[type="submit"] {
  padding: 0 20px;
}

pre {
  margin: 1em;
  border: 1px solid #aaa;
  overflow: auto;
}

