/* ================ OBECNE ===================== */

body {
  font-family: Verdana, Geneva, Arial, helvetica, sans-serif;
  font-size: 8pt;

  margin: 0;
  padding: 0;
}

table {
    font-size: 1.0em;
}

h4 {
    font-size: 1.0em;
    background: #0066CC;
    color: white;
}
h1 {
    color: #0066CC;
}

a {
    color: #0066CC;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}


/* ------------------- FORMULARE -------------------- */
.form {
    margin: 0;
    padding: 0;
}
.form label {
    white-space: nowrap;
}
.form input, .form select, .form textarea {
    font-size: 0.9em;
}
.form .form-row {
    padding: 2px 0;
}
.form .form-row label {
    text-align: right;
    margin-right: 3px;
}
.form .fi-text, .form .fi-password, .form .fi-textarea, .form .fi-select, .form .fi-file {
    border: solid 1px black;
    font-family: Verdana, sans-serif;
}
.form .fi-submit {
    border: solid 1px gray;
    background: #4696b6 /*#ed7a18*/;
    color: white;
    font-weight: bold;
    font-family: Verdana, sans-serif;

    padding: 0 10px;
}
.form .submit {
    text-align: right;
    padding: 2px;
}

.form .fi-legend th {
    text-align: left;
}

.form .icon {
    border: 0px;
    vertical-align: middle;
}

.form .poradi img {
    border: 1px outset rgb(0,0,0);
}

/* ================== HLAVICKA STRANKY ====================== */
.page-header {
    text-align: right;
    height: 50px;
}
.page-header td {
    padding: 5px;
    background: white;
    border-bottom: solid 0px #0066CC;

    color: gray;
}
.page-header strong {
    color: #0066CC;
}
.page-layout-header {
    text-align: left;
    padding: 3px;
    background: #004284;
    color: white;
}
/* ===================== LEVE MENU ========================= */
#menu-left-holder {
    width: 185px;
    border-right: solid 1px silver;
}
#menu-left .menu-item h5 {
    font-size: 1.2em;
    /* background: #EEEEEE url('../images/pozadi-hlavicka-sede.gif') repeat-x top left;*/
    background: #4696b6; border-bottom: 1px solid white;
    margin: 0;
    padding: 5px;
}
#menu-left .menu-item h5 a {
    color: white;
}

#menu-left .menu-item.active h5 {
    background: #0066CC url('../images/pozadi-hlavicka.gif') repeat-x top left;
}
#menu-left .active h5 a {
    color: white;
}

/* --------------- SUBMENU ----------------- */
#menu-left .submenu-item {
    background: white url('../images/odrazka-tecka.gif') no-repeat center left;
    padding: 3px 10px 3px 15px;
    font-size: 0.9em;
    border-bottom: solid 5px #f8f8f8;
    border-top: solid 1px white;
    width: 160px;
}
#menu-left .submenu-item a {
    color: black;
}
#menu-left .submenu {
    display: none;
}

#menu-left .active .submenu {
    display: block;
}
#menu-left .submenu .submenu-item.active {
    background: #0066CC url('../images/odrazka-tecky2.gif') no-repeat center left;
    border-bottom-color: #004284;
}
#menu-left .submenu .submenu-item.active a {
    color: white;
}

/* ---------------- HLASKY ------------------- */
.error {
    color: red;
    background: transparent url('../images/msg-vykricnik.gif') no-repeat 2px 2px;
    border: solid 1px red;
}
.message {
    color: green;
    background: transparent url('../images/msg-vykricnik.gif') no-repeat 2px 2px;
    border: solid 1px green;
}
.msg .fi-submit {
    border: solid 1px black;
    background: white;
}
.msg {
    border-collapse: collapse;
    margin: 3px 0;
}
.msg .hlavicka th {
    text-align: left;
}
.msg tbody td {
    padding: 5px;
}
.msg .hlavicka, .msg .paticka {
    color: white;
    padding: 2px;
}
.msg .paticka {
    background: white;
}
.msg .paticka th {
    text-align: right;
}
.error .fi-submit {
    color: red;
}
.message .fi-submit {
    color: green;
}
.error {
    border: solid 1px red;
}
.message {
    border: solid 1px green;
}
.error .hlavicka, .error .paticka {
    background: red;
}
.message .hlavicka, .message .paticka {
    background: green;
}

/* ====================== OBSAH ========================= */
#obsah {
    padding: 10px;
}
#obsah .obsah-nadpis {
    height: 30px;
}
#obsah .obsah-nadpis h1 {
    font-size: 1.6em;
    color: #0066CC;
}
h3 {
    background: #EEEEEE url('../images/odrazka-tecka.gif') no-repeat center left;
    padding: 3px 10px 3px 15px;
    color: gray;
    font-size: 0.9em;
    margin: 0;
}


/* ------------------ STROM ------------------------- */
.strom {
    width: 200px;
}
.strom iframe {
    border: solid 1px gray;
}
.strom .struktura {
    border: solid 1px gray;
}
/* ----------- ZALOZKY ---------------- */
#tabs {
    padding-top: 5px;
}
#tabs .tab-item {
    background: #4696b6 /*#ed7a18*/ url('../images/ruzek.gif') no-repeat top left;
    border-bottom: solid 5px #23b9de /*#f58220*/;
    padding: 3px 10px;
    margin: 1px 2px 0 0;

    float: left;
}
#tabs .tab-item a {
    font-size: 0.9em;
    font-weight: bold;
    color: white;
}
#tabs .tab-item.active {
    background-color: #000000;
    border-bottom-color: #080808;
}
#tabs .tab-item.active a {
    color: white;
}

/* ------------------- VYPIS DAT ----------------------- */
.tabulka {
    border: solid 1px #004284;
    border-collapse: collapse;

    margin: 3px 0;
}

.tabulka .hlavicka {
    border-bottom: solid 5px #000000;
}
.tabulka .hlavicka td, .tabulka .hlavicka th {
    background: #000000;
    padding: 2px;
    text-align: left;
}
.tabulka .hlavicka th {
    font-weight: normal;
    color: white;
}
.tabulka .hlavicka td {
    background: #EEEEEE;
}
.tabulka .hlavicka .strankovani {
    text-align: right;
}
.tabulka .hlavicka th a {
    color: white;
}
.tabulka .data {
    border-collapse: collapse;
    border: solid 1px gray;
}
.tabulka .data thead th {
    background: #4696b6 /*#ed7a18*/;
    padding: 2px;
    border: solid 1px white;
    color: white;
    text-align: center;
}
.tabulka .data thead th a {
    color: white;
}
.tabulka .data tbody td, .tabulka .data tbody th  {
    border: solid 1px gray;
    padding: 2px;
}
.tabulka .data tbody th {
    color: gray;
}
.tabulka .data tbody td .obr {
    border: solid 1px gray;
}

.tabulka .data .poradi {
    width: 100px;
}
.tabulka .data .poradi img {
    border: outset 1px silver;
}
.tabulka .data .sudy {
    background: #EEEEEE;
}
.tabulka .data .active {
    background: #b5ec88 !important;
}
.tabulka .data .datum {
    text-align: center;
}
.tabulka .data .deadline {
    color: red;
}
.tabulka .data a .obr {
    border: solid 1px black;
}
.tabulka .paticka {
    background: #000000;
}

.tabulka.prava .hlavicka th {
    font-weight: bold;
    text-align: center;
}

.tabulka.prava tbody th {
    text-align: left;
}
.tabulka.prava tbody td, .tabulka.prava tbody th {
    background: #EEEEEE;
}
.upravit thead th {
    color: white;
    background: #004284;
    text-align: left;
    padding: 5px;
}
.upravit tbody th, .upravit tbody td {
    background: #EEEEEE;
}
.upravit tbody th {
    width: 17%;
    text-align: right;
}
.upravit tbody td, .upravit tbody th {
    padding: 2px;
}
.upravit .paticka .form-row {
    padding: 2px;
}


.upravit .fi-text, .upravit .fi-textarea {
    width: 400px;
}
.upravit .fi-textarea {
    height: 100px;
}
.upravit .fi-text.datum {
    width: 8em;
}
.upravit .fi-text.cislo {
    width: 8em;
    text-align: right;
}
.upravit .fi-text.cena {
    width: 8em;
    text-align: right;
}
.upravit .obr {
    border: solid 1px black;
}


.upravit h2{font:bold 26px "Trebuchet MS"; color:#379BFF; padding:0; margin:10px 0 0px 0; background:none; font-variant: small-caps; border-bottom:solid 1px #ccc}
.upravit h3{font:bold 22px "Trebuchet MS"; color:#0069D2; padding:0; margin:20px 0 0px 0; background:none; font-variant: small-caps;}
.upravit h4{font:bold 16px "Trebuchet MS"; color:#004284; padding:0; margin:10px 0 0px 0; background:none}
.upravit h5{font:bold 14px "Trebuchet MS"; color:#000; padding:0; margin:10px 0 0px 0; background:none}

.pozadavek-nazev td { text-transform:uppercase; font: bold 18px/35px "Tahoma"}
.pozadavek-nazev td em { font: normal 18px/35px "Tahoma"; color:#aaa; padding-left:20px}
.priorita {text-transform:uppercase; font-weight:bold}
.p1 {color:#ff0000;}
.p2 {color:#970097;}
.p3 {color:#00BF0A}
.p4 {color:#148400}
.p5 {color:#000}

.upravit {line-height:20px}
/*.upravit ul {
    padding: 0px;
    margin: 0px;
}
.upravit li {
    list-style-type: none;
}*/


.chat .article {
    padding: 10px 5px 5px 20px;


    border: solid 1px silver;
    border-width: 1px 0 0 1px;
}
.chat .article {
    background: #EEEEEE;
}
.chat .article .article {
    background: white;
}
.chat .article .article .article {
    background: #EEEEEE;
}
.chat .article .article .article .article {
    background: white;
}
.chat .article .article .article .article {
    background: #EEEEEE;
}

.chat .article h4 {
    background: none;
    margin: 0;
    padding: 0;
    font-size: 1.2em;
    color: black;
}
.chat .article .text {
    padding: 5px 0;
}
.chat .article .a-body {
    margin-bottom: 10px;
}
.chat .article .info {
    font-style: italic;
    color: gray;
    font-size: 0.8em;
}
.chat .article .commands {
    text-align: right;
    padding-right: 10px;
    font-size: 0.9em;
}


/* ================= DETAIL ZAPISU Z PORAD ====================== */
#wysiwyg-zapis table {
    font-size: 1.0em;
    border-collapse: collapse;
    border: solid 2px gray
}
#wysiwyg-zapis table th,
#wysiwyg-zapis table td {
    text-align: left;
    border: solid 1px gray;
}
#wysiwyg-zapis a {
    color: #2D2A53;
    text-decoration: none;
}
#wysiwyg-zapis p {
    margin: 0;
    padding: 0 0 5px 0;
    line-height: 1.6em;
    text-align: justify;
}
#wysiwyg-zapis h3 {
    margin: 0;
    padding: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: bold;
}
#wysiwyg-zapis h4 {
    margin: 0;
    padding: 5px 0;
    font-size: 1.1em;
    font-weight: bold;
}
#wysiwyg-zapis ul {
    padding-left: 17px;
    margin-left: 0;
}
#wysiwyg-zapis ul li {
    list-style-type: square;
    margin-top: 5px;
}
#wysiwyg-zapis ol li {
    margin-top: 5px;
}
#wysiwyg-zapis table {
    line-height: 1.3em;
}

#wysiwyg-zapis table p {
    margin: 0;
    padding: 0;
    line-height: 1.3em;
    text-align: left;
}
#wysiwyg-zapis table ul,
#wysiwyg-zapis table ul li,
#wysiwyg-zapis table ol,
#wysiwyg-zapis table ol li {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}


/* ------------- TISK ZAPISU Z PORAD ------------------ */
.zapisy {
    font-size: 1.0em;
    line-height: 1.3em;
    border-collapse: collapse;
    border: solid 2px gray
}
.zapisy p {
    margin: 0;
    padding: 0 0 5px 0;
    line-height: 1.6em;
    text-align: justify;
}
.zapisy h3 {
    margin: 0;
    padding: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: bold;
}
.zapisy h4 {
    margin: 0;
    padding: 5px 0;
    font-size: 1.1em;
    font-weight: bold;
}
.zapisy ul {
    padding-left: 17px;
    margin-left: 0;
}
.zapisy ul li {
    list-style-type: square;
    margin-top: 5px;
}
.zapisy ol li {
    margin-top: 5px;
}

.zapisy ul,
.zapisy ul li,
.zapisy ol,
.zapisy ol li {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.zapisy p {
    margin: 0;
    padding: 0;
    line-height: 1.3em;
    text-align: left;
    text-indent: 0;
}
.zapisy {
    border-collapse: collapse;
    border: solid 2px black;
}
.zapisy td,
.zapisy th {
    border: solid 1px black;
}


/* Stromova struktura */
#struktura-holder {
    width: 275px;
}

#strom {
    background-color: rgb(238,238,238);
    border: 1px solid rgb(210,210,210);
    padding: 0.5em 0.6em;
    margin: 0;
}

#strom img {
    vertical-align: text-bottom;
    border: 0px;
}

#strom a.aktivni {
        font-weight: bold;
}

.strom-vrchol {
    margin: 0;
    padding: 0;
}

.strom-vrchol li {
    list-style-type: none !important;
}

.strom, .strom .radek {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.strom {
    background: transparent url("../images/fs-prubezny.gif") repeat-y top left;
    margin-left: 0px;
}

.strom .radek {
    padding-left: 24px;
    margin-left: -6px;
}

ul.tree0 {
    margin-left: 6px !important;
}

.strom .radek.level1 {
    padding-left: 0;
}

.strom .radek span {
    display: block;
    min-height: 16px;
    background: transparent url("../images/fs-uroven-prubezny-dalsi.gif") no-repeat top left;
    font-weight: normal;
}

.strom .radek span.vetev {
    background-image: url("../images/fs-uroven-prubezny-dalsi.gif");
    padding-left: 19px;
    margin-left: 0px;
}

.strom .radek span.vetev-posledni {
    background-image: url("../images/fs-uroven-posledni-dalsi.gif");
    padding-left: 19px;
    margin-left: 0px;
}

.strom.pozadi .radek {
    background-color: rgb(238,238,238);
}

.strom.pozadi .transparent .radek {
    background-color: transparent;
}

.strom.pozadi .transparent .pozadi .radek {
    background-color: rgb(238,238,238);
}

.strom.pozadi .transparent .pozadi .transparent .radek {
    background-color: transparent;
}

.strom.pozadi .transparent .pozadi .transparent .pozadi .radek {
    background-color: rgb(238,238,238);
}

.strom.pozadi .transparent .pozadi .transparent .pozadi .transparent .radek {
    background-color: transparent;
}

.projekty .popis {
    display: none;
}

.zpozdeny {
  background:#ffb9a0 !important;
}

.ocekavany {
  background:#ffffc0 !important;
}

.odhad_error {
  color:#800 !important;
}
.over_odhad {
  color:#cc2222 !important;
  font-weight: bold;
}
.over_kalkulace {
  font-weight: bold;
  background:#cc2222 !important;
}



.free-day { background-color: blue; color: white; }

#cerpani .weekend { background-color: blue !important; color: white !important; }
#cerpani .holiday { background-color: green !important; color: white !important; }


.poznamky {
    border: solid 1px #004284;
    border-collapse: collapse;

    margin: 3px 0;
}
.poznamky .hlavicka td, .poznamky .hlavicka th {
    background: #4696b6 /*#ed7a18*/;
    border: solid 1px #FFFFFF;
    text-align: left;
    color: white;
    width: auto;
}
.poznamky .data td {
    width: auto;
    border: solid 1px #808080;
    vertical-align: middle;
}
.poznamky .data .zruseny td {
    background: #b0b0b0;
    color: #303030;
}
.poznamky .data .zruseny.lichy td {
    background: #a0a0a0;
    color: #202020;
}
.poznamky .data .lichy td {
    background: #e0e0e0;
}
