a, a:link, a:visited, a:active, a:hover {
  color: white;
}
img {
  border: 0;
}
table {
  border-collapse: collapse;
}
form {
  margin: 0px; 
}
.tabulkastred {
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #000000;
}
.tabulkastred th {
  text-align: center;
  border: 1px solid #000000;
}
.tabulkastred td {
  text-align: center;
  border: 1px solid #000000;
}
.tabulkaformular {
  margin-left: auto;
  margin-right: auto;
  border-style: none;
	text-align: center;
}
.tabulkaformular input, .tabulkaformular select, .tabulkaformular textarea {
  width: 350px;
}
input#radio {
  width: 13px;
}
.tabulkaneohranicena {
  margin-left: auto;
  margin-right: auto;
  border-style: none;
	text-align: center;
}
.tabulkaneohranicena th {
  border-style: none;
}


/* tělo stranky */
body {
	background-color: #878787;
	color: #fffafa;
	font-family: sans-serif;
	font-size: 12px;
	
}
.kompletni {
	position: relative;
	width: 804px;
	margin: 0px auto;
	background-color: #ffffff;
}

/* hlavicka */ 

.hlavicka {
	background-color: #ffffff;
	width: 800px;
	height: 121px;
	float: left;
	margin: 0 0 2px 2px;
}
.nadpis {
  text-decoration: none;
}
.nazev {
  float: left;
  background-color: #3d3d3d;
  width: 399px;
  height: 121px;
  font-family: serif;
  text-align: center;
}
.nazev p {
  font-size: 20px;
}
.nazev h1 {
  font-size: 30px;
}
.logo {
  float: right;
  width: 399px;
  height: 121px;
  background-image: url('../obrazky/top_logo.jpg');
}

/* menu */

.menu {
	margin-left: 2px;
	width: 164px;
	height: 600px;
	float: left;
}
.nazevbloku {
  height: 25px;
  line-height: 25px;
  text-indent: 10px;
  background-color: #5ba1cd;
  font-weight: bold;
  margin-bottom: 2px;
}
.blok {
  background-color: #e4e4e4;
  color: #000000;
  padding: 3px;
  margin-bottom: 2px;
}
.blok a {
  color: #000000;
  text-decoration: none;
  display: block;
  line-height: 25px;
  padding-left: 3px;
  
}
.blok a:hover {
  color: #000000;
  background-color: #f4f4f4;
}
.tabulkamenu td {
  text-align: center;
}
.textpole {
  width: 97px;
}
#button {
  text-align: right;
}
.blueboard {
  text-align: center;
}

/* obsah stranky */

.str {
	margin-right: 2px;
	color: #000000;
	width: 634px;
	float: right;
}
.str a {
  color: #5ba1cd;
}
.nazevsekce {
  height: 25px;
  margin-bottom: 2px;
  background-color: #5ba1cd;
  color: #ffffff;
  font-weight: bold;
  text-align: center;
  line-height: 25px;
}
.nadpis {
  color: #ffffff;
	background-color: #5ba1cd;
  margin-bottom: 2px;
  padding: 3px 0 3px 0;
  text-indent: 3px;	
}
.nadpis a {
  color: #ffffff;
}
.ododkaz {
  cursor: pointer;
}
.text {
	text-align: justify;
	padding: 3px;
	background-color: #f4f4f4;
	margin-bottom: 2px;
}
.obsah {
  background-color: #f4f4f4;
  padding: 3px;
  min-height: 600px;
  margin-bottom: 2px;
  overflow: auto;
}
.obsahstred {
  background-color: #f4f4f4;
  padding: 3px;
  height: 600px;
  margin-bottom: 2px;
  text-align: center;
  overflow: auto;
}
.pocetstranek {
  background-color: #5ba1cd;
  margin-bottom: 2px;
  text-indent: 10px;
  }
.pocetstranek a {
  color: #000000;
  text-decoration: none;
}
li.hotovo{
	color: green;
	text-decoration: line-through;
}
li.prace{
	color:#ff5500;
}
li.zamitnuto{
  color: red;
  text-decoration: line-through;
}
img.planek{
  max-height: 100px;
  max-width: 100%;
}
.smiley{
  margin: auto;
}
.smiley td {
  padding: 3px;
}
#upravy {
  background-color: #E4E4E4;
}
.vzkaznik {
  font-size: 11px;
  max-height: 575px;
  max-width: 300px;
  overflow: auto;
  background-color: #F4F4F4;
  border: 1px solid #FFFFFF;
}
.vzkaznik td {
  text-align: justify;
  border: none;
}
#vzkaznikimg {
  width: 90%;
  height: 90%;
}
.vzkaznik textarea, .vzkaznik input, .vzkaznik tr {
  width: 95%
}
.vzkaznik textarea, .vzkaznik input {
  font-size: 11px;
}
.hlavickavzkaz {
  background-color: #E4E4E4;
}
.stranvzkaz {
  background-color: #5BA1CD;
  color: #FFFFFF;
}
.stranvzkaz a {
  color: #FFFFFF;
}
.smazatvz a {
  color: #FF0000;
}

/* Banlist */

.banla, .banli  {
  width: 90%;
  margin: auto;
  border: 1px solid #000000;
  border-collapse: collapse;
}
.banla td, .banli td, .banli th, .banla th {
  border: 1px solid #000000;
  border-collapse: collapse;
  text-align: center; 
}
.banla td{
  width: 70%; 
}
#banip {
  width: 25px; 
}
#bankd {
  width: 140px; 
}
#bando {
  width: 75px;
}
#banak {
  width: 15px;
}

/* seznam stanic */

.tabulkarazeni {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  border-style: none;
	text-align: center;
}
.tabulkarazeni th {
  border: 0px;
}
.tabulkaseznam {
  width: 90%;
  font-size: 12px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  border: 1px solid #000000;
}
.tabulkaseznam td {
  border: 1px solid #000000;
  height: 25px;
}
.tabulkaseznam th {
  border: 1px solid #000000;
  height: 25px;
}
.bunkastred {
  text-align: center;
}
.prostredni {
  text-align: left; 
  padding-left: 10px; 
}
.tabulkatrate {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
  margin-top: 5px;
  border: 1px solid #000000;
}
.tabulkatrate th td {
  border: 1px solid #000000;
  height: 25px;
  padding: 0 10px 0 10px;
}

/* administrace */

.administrace {
  background-color: #f4f4f4;
  padding: 3px;
  height: 600px;
  margin-bottom: 2px;
  text-align: center;
}
#administracea {
  padding: 36px 10px 36px 10px;
  position: relative;
  display: block;
}
.administrace a:hover {
  background-color: #e4e4e4;
}


/* paticka */

div.paticka {
	background-color: #5ba1cd;
	width: 800px;
	height: 25px;
	clear: both;
	text-align: center;
	line-height: 25px;
	border-left: 2px solid #ffffff;
	border-right: 2px solid #ffffff;
}

/* specificke */

tr.neactive {
  background-color: #c0c0c0;
  color: black;
}
legend {
	font-size: 20px;
}
ul {
	margin: 10px 0px;
}

/* Chyby */
.neprihlasen, .chybamysql {
	margin: 15px;
	padding: 5px;
	background-color: #ff6633;
	border: 1px solid #000000;
	font-weight: bold;
	color: #ffffff;
}
div#reg {
	top: 100px;
	left: 33px;
}