/* administrace */
body.admin {
  margin:5px 0;
	font-family:Arial, Verdana, Tahoma, sans-serif; 
	font-size:12px;
	background-color:silver;
	text-align:center;
}

#main {
  margin:0 auto;
  background-color:white;
  border:solid 2px black;
  min-height:200px;
  height:200px;
  min-width:980px;
  width:90%;
  text-align:center;
}
body[class] #main {
  height:auto;
}

#menu {
  text-align:left;
  margin:0 auto;
  width:300px;
  border:solid 2px black;
  background-color:white;
}

#login {
  margin:30px auto;
  width:300px;
}

h1 {
  font-size:22px;
  text-align:center;
  margin:0;
  padding:0 2em 0.2em 2em;
}

h2 {
  font-size:18px;
  margin:0;
  padding:0 2em 0.2em 2em;
}

h3 {
  font-size:14px;
  margin:0;
  padding:0.2em 2em;
}
p {
  margin:0;
  padding:0.2em 2em;
}
p.user {
  font-size:12px;
  color:firebrick;
  text-align:center;
  font-weight:bold;
}
p.copy {
  margin:0;
  padding:10px 0 5px 0;
  color:#666666;
  text-align:center;
}
p.copy a {
  color:#66aa66;
}
em {
  font-weight:bold;
  font-style:italic;
}
strong {font-weight:bold;}

small { font-size:80%; }

acronym { text-decoration:underline; }

span.center { text-align:center; }
span.ok {color:green;}
span.warning {color:red;}

#menu h3 {
  padding:10px 20px;
}

a {
  color:blue;
  text-decoration:underline;
}
a:hover { 
  color:red;
}
/* formuláře */
fieldset {
  border:solid 1px #cccccc;
  margin:5px 10px;
}

legend {
  text-align:left;
  font-weight:bold;
  padding:0.1em 0.5em;
  border:solid 1px black;
}

label {
  font-weight:bold;
  font-size:12px;
}

fieldset.add { background-color:#eeffee; }
fieldset.edit { background-color:#eeeeff; }
fieldset.add legend { background-color:#fcfcaa; }
fieldset.edit legend { background-color:#ffccff; }

table.form {
  border:none;
  padding:0;
  margin:5px auto 3px auto;
}
.form td {
  padding:2px;
  text-align:left;
}
.form th {
  font-weight:bold;
  text-align:left;
  vertical-align:bottom;
  padding:3px;
}
.form th.top { vertical-align:top; }
.form th.center { text-align:center; }

table.form input {
  background-color:white;
  color:navy;
}
table.form input.short {
  width:100px;
}
table.form input.normal {
  width:250px;
}
table.form input.long {
  width:750px;
}
#userfile { /* input#userfile */
  width:500px;
}
table.form textarea.long {
  width:750px;
  height:80px;
}

/* data */
#data {
  margin:10px;
  padding:0 0 70px 0;
}
#search { /* input#search */
  width:350px;
}
table.data {
  border-top:solid 2px #aaaaaa;
  border-bottom:solid 2px #aaaaaa;
  border-collapse:collapse;
  width:100%;
}
table.data caption {
  padding:10px 0 5px 0;
  font-size:14px;
  text-align:center;
}
table.data thead {
  text-align:left;
  border-bottom:solid 2px #aaaaaa;
  background-color:#ffffaa;
  font-weight:bold;
}
table.data td, table.data th {
  padding:4px 10px;
  vertical-align:top;
}
table.data tbody td {
  text-align:left;
}
table.data tbody th {
  text-align:center;
  font-weight:bold;
}

table.data td.imgcol { /* sloupec s obrázky */
  text-align:center;
}
table.data td.imgcol img {
  border-style:solid;
  border-width:2px;
  border-color:#999999;
}
table.data td.imgcol img.jedovata {
  border-color:#ff8888;
}
table.data td.imgcol img.noborder {
  border:none;
}


/* střídání barev řádků */
table.data tbody tr.odd,
table.data tbody tr.even,
table.data tbody tr.file {
  border-bottom:solid 1px #cccccc;
}
table.data tbody tr.odd {background-color:#ffeeee;}
table.data tbody tr.even {background-color:#eeffee;}
table.data tbody tr.odddisabled {background-color:#c0c0c0;}
table.data tbody tr.evendisabled {background-color:#dcdcdc;}
table.data tbody tr.file {background-color:#eeeeee;}
table.data tbody tr.file th, table.data tbody tr.file td {vertical-align:baseline;}

table.data tbody tr.edit {
/* zvýraznění editovaného záznamu */
  background-color:#0033cc;
  color:#f0f0f0;
}

table.data tbody tr.delete {
/* zvýraznění záznamu při dotazu na smazání */
  background-color:#cc3333;
  color:#f0f0f0;
}

table.data tbody tr.publish {
/* zvýraznění záznamu při dotazu na publikování */
  background-color:#338833;
  color:#f0f0f0;
}

table.data tbody tr.hide {
/* zvýraznění záznamu při dotazu na skrytí */
  background-color:#888888;
  color:#f0f0f0;
}

table.data tbody tr.archive {
/* zvýraznění záznamu při dotazu na archivaci nebo vrácení z archivu */
  background-color:#cc8800;
  color:#f0f0f0;
}

table.data tbody tr.delete a, table.data tbody tr.edit a, table.data tbody tr.publish a, table.data tbody tr.hide a {
  color:white;
}

table.data a {
  font-weight:bold;
}

table.header { 
/* vnořená tabulka záhlaví aktuality */
  border:none;
  width:100%;
}

table.header td, table.header th {
  padding:2px 0;
  vertical-align:top;
}
table.header td.underlined, table.header th.underlined {
  border-bottom:solid 1px #aaaaaa;
}
table.header tr.ispublished { /* publikovaný příspěvek */
  color:#00aa00;
}
table.header tr.ishidden { /* skrytý, nepublikovaný příspěvek */
  color:#c00000;
}
table.header tr.isarchive { /* archivovaný příspěvek */
  color:#808080;
}
table.data tbody tr.edit table.header tr[class],
table.data tbody tr.delete table.header tr[class],
table.data tbody tr.publish table.header tr[class],
table.data tbody tr.hide table.header tr[class],
table.data tbody tr.archive table.header tr[class] {
  color:#f0f0f0;
}


table.data tbody td {
  text-align:left;
}

table.data tbody th {
  text-align:left;
  font-weight:bold;
}

/* CSS tlačítka */
a.submitbtn, a.resetbtn, a.deletebtn, a.editbtn, a.disabledbtn, a.logoffbtn,
a.submitbtnfloat, a.resetbtnfloat, a.editbtnfloat, a.deletebtnfloat,
a.resetbtnleft, a.disabledbtnleft {
/* normální */
  font-weight:bold;
	padding:1px;
	margin:3px 5px;
	text-decoration:none;
	border:solid 1px black;
/*  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -o-border-radius: 10px;
  border-radius: 10px;  */
  -moz-transition:all 0.2s cubic-bezier(0.5,0,1,1);
  -webkit-transition:all 0.2s cubic-bezier(0.5,0,1,1);
  -o-transition:all 0.2s cubic-bezier(0.5,0,1,1);
  transition:all 0.2s cubic-bezier(0.5,0,1,1);  
}
a.submitbtnfloat, a.resetbtnfloat, a.editbtnfloat, a.deletebtnfloat {
/* plovoucí */
  float:right;
  clear:left;
}
a.resetbtnleft, a.disabledbtnleft {
  float:left;
}

a.submitbtn, a.submitbtnfloat {
	color:white;
	background-color:green;
}
a.submitbtn:hover, a.submitbtnfloat:hover {
  color:black;
	background-color:lime;
}

a.resetbtn, a.resetbtnfloat, a.resetbtnleft {
	color:white;
	background-color:#BA55D3;
}
a.resetbtn:hover, a.resetbtnfloat:hover, a.resetbtnleft:hover {
  color:black;
	background-color:#FFC0CB;
}

a.deletebtn, a.deletebtnfloat {
	color:white;
	background-color:#B22222;
}
a.deletebtn:hover, a.deletebtnfloat:hover {
  color:black;
	background-color:#FD6347;
}

a.editbtn, a.editbtnfloat {
	color:white;
	background-color:#6A5ACD;
}
a.editbtn:hover, a.editbtnfloat:hover {
  color:black;
	background-color:#87CEFA;
}

a.disabledbtn, a.disabledbtnleft {
	color:white;
	background-color:gray;
}
a.disabledbtn:hover, a.disabledbtnleft:hover {
	color:white;
	background-color:silver;
}

a.logoffbtn {
	background-color:saddlebrown;
	color:white;
}
a.logoffbtn:hover {
  color:black;
	background-color:orange;
}
