/*
 *  CSS - často používané styly
 *  Copyrighted by Tomáš Halada, www.LTweb.info
 */

.pf {
  margin: 5px auto;
  text-align: center;
}
.pf img {
  border: 1px solid #000000;
  background-color: #f8f8f8;
}

/* zarovnani ------------------------------------------------------------- */
.nic {display: none;}
.left {text-align: left;}
.right {text-align: right;}
.center {text-align: center;}
.justify {text-align: justify;}
.note {font-size: 0.85em;}
.bold {font-weight: bold;}
.normal {font-weight: normal;}

.f_left {float: left;}
.f_right {float: right;}
.top {
  vertical-align: top;
  padding-top: 5px;
}
.uppercase {text-transform: uppercase;}
.piece {
  color: #909090;
  margin-top: 3px;
}

.hidden {
  display: none;
}

.show {
  display: block;
}
.block {
	display: block;
}


.a-input {
  display: block;
  border: 1px solid #c0c0c0;
  background-color: #f8f8f8;
  font-weight: bold;
  width: 50%;
  padding: 5px;
  margin: 15px auto;
}

/* aktualni cesta na zacatku vlozene stranky ---------------------------- */
.path {
  text-align: left;
  padding: 0 5px 5px 5px;
  margin: 0 0 15px 0;
  border-bottom: 1px solid #670d22;
}

/* hlasky ----------------------------------------------------------------- */
.hlaska-ok, .hlaska-ko, .hlaska-info {
  width: 90%;
  padding: 8px;
  margin-top: 5px;
  margin-bottom: 5px;
  border: 1px solid #deae62;
  text-align: center;
  font-size: 0.9em;
}
.hlaska-ok strong, .hlaska-ko strong, .hlaska-info strong {
  display: block;
  font-variant: small-caps;
  font-weight: bold;
  font-size: 1.1em;
}
.hlaska-ok {background-color: #9fc464;}
.hlaska-ko {background-color: #e05862;}
.hlaska-info {background-color: #fcf8ce;}


/* univerzalni tabulky ---------------------------------------------------- */

/* tabulka pro formuláře - dva sloupce, opakující se "hlavičky" */
.table-form {
  width: 500px;
  border: 1px solid #000000;
  background-color: #ffffff;
  color: #000000;  
  border-collapse: collapse;
  text-align: left;
}
.table-form td {
  padding: 2px 5px;
}
.table-form .thead {
  /* .thead je už buňka tabulky, může se vícekrát opakovat */
  padding: 2px 5px;
  background: #6d0c22;
  color: #ffffff;
  font-size: 0.9em;
  font-weight: bold;
}
.table-form .nazev {
  width: 130px;
}
.table-form .format {
  width: 200px;
}
.table-form .smaller {
  font-size: 9px;
}
.table-form .povinne {
  background-color: #ffffd0;
  border: 1px solid #000000;
}
.table-form .hv { /* hvezdicka za povinnym */
  color: #d00000;
  font-weight: bold;
  font-size: 1.1em;
  padding-right: 5px;
}
.table-form .disabled {
  color: #808080;
  background-color: #e0e0e0;
}
.table-form .upper {
  text-transform: uppercase;
}
.table-form .top {
  vertical-align: top;
  padding-top: 5px;
}

.table-form .submit {
  text-align: right;
}
.table-form .submit input {
  font-weight: bold;
}

/* tabulka pro výpis dat - hlavička + více sloupců s daty */
.table-list {
  border: 1px solid #000000;
  background-color: #ffffff;
  color: #000000;  
}
.table-list thead td {
  padding: 2px 5px;
  background: #6d0c22;
  color: #ffffff;
  font-size: 0.9em;
}
.table-list tbody {
}
.table-list tbody td {
  padding: 5px;
  background-color: #fceac0;
}
.table-list a {
  margin: 0 1px;
}
.table-list form, .table-list input {
  /*font-size: 10px;*/
  /*height: 18px;*/
}
.table-list thead .smaller {
  display: block;
  font-size: 0.8em;
  font-weight: normal;
}

.table-list .col1 .stav1, .table-list .col2 .stav1 {background-color: #f4c06e;} /* nevyrizeno */
.table-list .col1 .stav2, .table-list .col2 .stav2 {background-color: #c0c0c0;} /* storno */
.table-list .col1 .stav3, .table-list .col2 .stav3 {background-color: #a1e1a1;} /* vyrizeno */

/* input KS přidat do košíku */
.ks-input, .table-list .ks-input {
  width: 22px;
  height: 16px;
  padding: 0 1px;
  text-align: right;
}

/* tabulka pro přehledy - dva sloupce, položka: hodnota */
.table-sum {
  border: 1px solid #000000;
  background-color: #fceac0;
  color: #000000;  
}
.table-sum td {
  padding: 2px 10px;
  border: 1px solid #ffffff;
}
.table-sum .polozka {
  text-align: left;
}
.table-sum .hodnota {
  text-align: right;
  font-weight: bold;
}

/* ruzne spolecne veci -------------------------------------------------- */
/* otaznikovy odkaz na blizsi vysvetleni */
.a-help, .a-help:link, .a-help:active, .a-help:visited, .a-help:hover {
  padding: 0 4px;
  background-color: #f0d0d0;
  color: #404040;
  font-weight: bold;
  text-decoration: none;
  margin-left: 5px;
}

/* table checkboxu ------------------------------------------------------ */
.table-check {
  width: 95%;
  border-collapse: collapse;
  margin-top: 5px;
}
.table-check tr.disabled td {color: #aaaaaa;} 
.table-check td {
  padding: 3px 6px;
  border-bottom: 1px solid #d0d0d0;
}
.table-check .radio {
  width: 50px;
}
.table-check .image {
  padding-right: 10px;
}
.table-check .image img {
  border: 1px solid #000000;
  background-color: #f8f8f8;
}
.table-check .text {
  text-align: left;
}
.table-check .name {
  font-weight: bold;
  padding-bottom: 5px;
} 
.table-check .link {
  text-align: right;
}
.table-check .last td {
  border-bottom: none;
}


