body
{
  /* Safari 4-5, Chrome 1-9 */
  /* Can't specify a percentage size? Laaaaaame.
  background: -webkit-gradient(radial, center center, 0, center center, 460, from(white), to(#1f1f1f));
  background: -webkit-radial-gradient(circle, white, #1f1f1f);
  background: -moz-radial-gradient(circle,white, #1f1f1f);
  background: -ms-radial-gradient(circle,white,#1f1f1f);*/
  background-color: #4B5B5F;
  font-family: Trebuchet MS;
  color: white;
  font-size: 14px;
}

a
{
	color: white;
	text-decoration: none;
}

a:hover
{
	color: cyan;
	text-decoration: none;
}

a:visited
{
	color: white;
	text-decoration: none;
}

a.pod
{
	color: white;
	text-decoration: underline;
	font-size: 12px;
}

a.pod:hover
{
	color: cyan;
	text-decoration: underline;
	font-size: 12px;
}

a.pod:visited
{
	color: white;
	text-decoration: underline;
	font-size: 12px;
}

table.hlavni
{
	width: 1100px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
}

div.nadpis
{
    color: white;
    font-size: 16px;
    padding-left: 5px;
}

td.hlavni
{
    width: 815px;
    vertical-align: top;
    padding: 5px 5px 5px 5px;
}

td.pravy
{
    width: 260px; 
    vertical-align: top;
    padding: 5px 5px 5px 5px;
}

/*menu*/
td.menuh
{
	background-color: #003333;
    margin-left: auto;
    margin-right: auto;
}

#menu{
	background-color: #003333;
	 font-size: 18px;
     margin-top: 15px;
}
#menu ul{
	display: table;
	margin: 0 auto 0 auto;
	padding: 0;
}
#menu li{
	display: table-cell;
	position: relative;
	width: auto;
	padding-right: 10px;
	padding-left: 10px;
	list-style: none;
}

#menu li a{
	width: auto;
	height: 20px;
	display: block;
	text-decoration: none;
	text-align: left;
	line-height: 35px;
	background-color:#003333;
	font-size: 18px;
	font-weight: normal;
	color: white;
	padding-right: 10px;
	padding-left: 10px;
	padding-bottom: 10px;
	white-space: nowrap;
	list-style: none;
}


#menu li a:hover{
	color: cyan;
}

#menu ul ul{
position: absolute;

visibility: hidden;
display: block;
}

#menu ul li:hover ul{
visibility:visible;
}

#menu li li {  display: block }

/*uvod*/

div.uvitani
{
	 font-size: 14px;
	 margin-top: 25px;
}

table.prehled
{
	width: 1100px;
}

td.ohr
{
	border-bottom: 4px solid #E6E6E6;
	border-left: 4px solid #E6E6E6;
	border-right: 4px solid #E6E6E6;
	border-top: 4px solid #E6E6E6;
	height: 250px;
	background-color: #FAFAFA;
	vertical-align: top;
	white-space: pre-wrap;
	max-height:250px;
	text-align: left;
	width: 535px;
	max-width: 535px;
	display: block;
}

.mezera
{
	width: 10px;
	height: 10px;
}

div.vice
{
	font-size: 10px;
	margin-top: -20px;
	margin-right: 10px;
	max-width: 485px;
}

/*vypis*/
td.vypis
{
	border-bottom: 4px solid #E6E6E6;
	border-left: 4px solid #E6E6E6;
	border-right: 4px solid #E6E6E6;
	border-top: 4px solid #E6E6E6;
	height: 450px;
	background-color: #5B777F;
	vertical-align: top;
}

div.text
{
	margin-left: 5px;
	margin-bottom: 5px;
	margin-right: 5px;
	margin-top: 5px;
}

table.napiste
{
	margin-top: 10px;
}

.round
{
	border-bottom: 4px solid #E6E6E6;
	border-left: 4px solid #E6E6E6;
	border-right: 4px solid #E6E6E6;
	border-top: 4px solid #E6E6E6;
}

.rbutton
{
	background-color: #E6E6E6;
	color: #472400;
}

/*novinky*/
div.datum
{
	font-size: 10px;
	margin-top: 5px;
	margin-right: 10px;
	color: #AEAEAE;
}

/*pata*/
.pata
{
	color: #E6E6E6;
}

/*admin*/
div.vypis
{
}

div.vypis2
{
	border-bottom: 4px solid #E6E6E6;
	border-left: 4px solid #E6E6E6;
	border-right: 4px solid #E6E6E6;
	border-top: 4px solid #E6E6E6;
	background-color: #FAFAFA;
	width: 1100px;
	height: 500px;
}

div.g
{
    background-position: 45% 45%;
	width: 200px;
	height: 200px;
	background-repeat: no-repeat;
}

td.g
{
	width: 200px;
	height: 200px;
}

/*menu pod cudlikem*/
#custom-menu
{
z-index: 1000;
position: absolute;
border: solid 1px #472400;
background-color: #FAFAFA;
padding: 5px 0;
display: none;
}
#custom-menu ol
{
padding: 0;
margin: 0;
list-style-type: none;
min-width: 130px;
width: auto;
max-width: 250px;
font-family:Verdana;
font-size:12px;
}
#custom-menu ol li
{
	margin: 0;
	display: block;
	list-style: none;
	padding: 5px 5px;
}
#custom-menu ol li:hover
{
background-color: #efefef;
}

#custom-menu ol li:active
{
color: #472400;
background-color:  #FAFAFA;
}

#custom-menu ol .list-devider
{
padding: 0px;
margin: 0px;
}

#custom-menu ol .list-devider hr
{
margin: 2px 0px;
}

#custom-menu ol li a
{
color: #472400;
text-decoration: none;
display: block;
padding: 0px 5px;
}
#custom-menu ol li a:active
{
color: #472400;
}

/*tituly*/
table.tituly
{
	margin-left: auto;
	margin-right: auto;
}

table.tituly td
{
	border-bottom: 4px solid #E6E6E6;
	border-left: 4px solid #E6E6E6;
	border-right: 4px solid #E6E6E6;
	border-top: 4px solid #E6E6E6;
	max-width: 400px;
}

/*strom*/
.tree
{
	padding-left: 90px;
}

.tree ul {
	padding-top: 20px; position: relative;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li {
	float: left; text-align: center;
	list-style-type: none;
	position: relative;
	padding: 20px 5px 0 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

/*We will use ::before and ::after to draw the connectors*/

.tree li::before, .tree li::after{
	content: '';
	position: absolute; top: 0; right: 50%;
	border-top: 1px solid #ccc;
	width: 50%; height: 20px;
}
.tree li::after{
	right: auto; left: 50%;
	border-left: 1px solid #ccc;
}

/*We need to remove left-right connectors from elements without 
any siblings*/
.tree li:only-child::after, .tree li:only-child::before {
	display: none;
}

/*Remove space from the top of single children*/
.tree li:only-child{ padding-top: 0;}

/*Remove left connector from first child and 
right connector from last child*/
.tree li:first-child::before, .tree li:last-child::after{
	border: 0 none;
}
/*Adding back the vertical connector to the last nodes*/
.tree li:last-child::before{
	border-right: 1px solid #ccc;
	border-radius: 0 5px 0 0;
	-webkit-border-radius: 0 5px 0 0;
	-moz-border-radius: 0 5px 0 0;
}
.tree li:first-child::after{
	border-radius: 5px 0 0 0;
	-webkit-border-radius: 5px 0 0 0;
	-moz-border-radius: 5px 0 0 0;
}

/*Time to add downward connectors from parents*/
.tree ul ul::before{
	content: '';
	position: absolute; top: 0; left: 50%;
	border-left: 1px solid #ccc;
	width: 0; height: 20px;
}

.tree li a{
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-decoration: none;
	font-family: arial, verdana, tahoma;
	font-size: 11px;
	display: inline-block;
	
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	
	transition: all 0.5s;
	-webkit-transition: all 0.5s;
	-moz-transition: all 0.5s;
}

.tree li span
{
	border-bottom: 1px solid #ccc;
	padding-bottom: 5px;
}

/*Time for some hover effects*/
/*We will apply the hover effect the the lineage of the element also*/
.tree li a:hover, .tree li a:hover+ul li a {
	background: #E6E6E6; border: 1px solid #94a0b4;
}
/*Connector styles on hover*/
.tree li a:hover+ul li::after, 
.tree li a:hover+ul li::before, 
.tree li a:hover+ul::before, 
.tree li a:hover+ul ul::before{
	border-color:  #94a0b4;
}