/* Nette Flash message, Forms */
.flash-info     { font-weight: bold; color: green;}
.flash-warning  { font-weight: bold; color: red;}

.bg-login-image     { background: url('/img/login.jpg'); }
label               { margin-bottom: .3rem; color: #1a1a1a; font-size: .92rem; }
label.required:after, .novy label[for=frm-uzivatelForm-heslo]:after     { content: "*"; color: #ec4949; padding-left: 3px; }
ul.errors           { padding: 0; color: #ec4949; }
ul.errors li        { list-style-type: none; }

thead               { line-height: 1.1rem; }
.table .thead-dark th { background-color: #2e53bf; border-color: #2e53bf; }
.table thead th     { padding-top: .4rem; }
.lr td:last-child, .lr th:last-child  { text-align: right; padding-right: 10px; }
.lr-0 td:last-child, .lr-0 th:last-child  { text-align: right; padding-right: 0; }
.table th a         { color: white; }
.table              { border-bottom: 1px solid; }
.table-sm           { font-size: .9rem; }

.tableFixHead          { overflow: auto; }
.tableFixHead thead th { position: sticky; top: 0; z-index: 1; }

select option:disabled { display: none; }

.card-header        { background-color: #d9e4ff; padding: .4rem 1rem; color: #1a1a1a; font-weight: bold; }
.card-body          { padding: .7rem 1rem; }

.info               { font-weight: bold; color: #40b540; }
.warning            { font-weight: bold; color: #ec4949; }
.red                { color: #ec4949; }
.green              { color: #40b540; }
.h3                 { font-size: 1.5rem; }
.table-vypis td     { padding: .2rem; font-size: 0.9rem; }
#sklad .fa-sign-in-alt          { color: #40b540; }
#sklad .fa-sign-out-alt, em     { color: #ec4949; }
#sklad h3            { font-size: 1.5rem; color: black; }
#sklad .del          { text-decoration: line-through; }
#sklad .datum, #sluzby .datum    { max-width: 80px; display: inline; }
.filtr th div        { margin-top: 5px; }
.filtr input, .filtr select     { height: 26px; padding: 0.15rem .5rem; }
#nazev-zbozi, #zbozi-varianta        { font-weight: bold; }
#nazev-zbozi span, .nazev-zbozi     { color: #8307ff; }
#nazev-zbozi span, #zbozi-varianta span  { color: #8307ff; font-size: 1.05rem; }
#nazev-zbozi span.chyba, #zbozi-varianta span.chyba  { color: #ec4949; padding-left: 0; font-size: 1rem; }

#klienti input[type=number]         { max-width: 80px; display: inline; }
#sklad #frm-skladForm-id_sklad      { max-width: 500px; text-align: center; margin: auto; }
#sklad-stav #frm-skladForm-id_sklad, #sluzby #frm-skladForm-id_sklad { max-width: 500px; display: inline; margin-left: 10px; }

.edit-sklad         { font-size: 20px; }
.edit-sklad i.fas   { font-size: 40px; }
.edit-sklad i.far   { font-size: 30px; }
.edit-sklad .col    { text-align: center; }


/* ZAMESTNANCI */
#snippet--zamestnanci .table-sm td { white-space: nowrap; }
#zamestnanci .lr td:last-child, #zamestnanci .lr th:last-child  { min-width: 60px; padding-right: 5px; }
#zamestnanci h6     { margin-top: 40px; }
#zamestnanci h6:first-of-type { margin-top: 0; }
.table2             { margin: 0; border: 0; }
.table2 th          { color: #1a1a1a; font-weight: normal; }
.table2 td, .table2 th      { padding: 2px 0; border: 0; }

/* MAJETEK */
#snippet--majetek tr td:nth-of-type(5)  { white-space: nowrap; }
#snippet--majetek tr td:nth-of-type(5) div.row  { flex-wrap: initial; }
#frm-majetekForm-prislusenstvi, #frm-zapujcniListForm-prislusenstvi { height: 200px; }


/* UKOLY */
#ukoly h6           { color: #1a1a1a; font-size: 1.1rem; }
#ukoly textarea     { height: 200px; }
#ukoly select       { height: 235px; }
#ukol-detail i      { font-size: 0.8rem; }
.read, .unread      { font-size: 1.4rem; line-height: 0; cursor: default; }
.read               { color: #40b540; }
.unread             { color: #ec4949; }
/*#chat .card-header  { background-color: #dadada; }*/
.card-header div    { font-weight: normal; }
#chat .card-body    { padding: .8rem; }
.fa-envelope        { color: red; }
#snippet--prijate .fa-check { color: #40b540; }
#snippet--zadane .fa-check  { color: orange; }
#snippet--zadane .historie .fa-check  { color: #40b540; }
.historie           { font-style: italic; }


/* DOVOLENA */
#dovolena table     { width: 100%; box-sizing: border-box; table-layout: fixed; border-collapse: collapse; border-spacing: 0; }
#dovolena table td  { vertical-align: top; padding: 0; }
#dovolena table a:hover { text-decoration: none; }
#dovolena table td.fc-widget-content { background: #c6c6c6; border: 1px solid #1a1a1a; color: #1a1a1a; }
#dovolena  .fc-row .fc-content-skeleton td { border-color: transparent; padding: 2px 4px; }
.fc-head th { background: #191919; border: 1px solid #191919; color: #dedede; padding: 2px; text-align: center; }
.fc-row { border-style: solid; border-width: 0; }
.fc-bg { bottom: 0; position: absolute; top: 0; left: 0; right: 0; }
.fc-row { position: relative; }
.fc-row .fc-bg, .fc-day-grid .fc-row { z-index: 1; }
.fc-row .fc-content-skeleton { position: relative; z-index: 4; padding-bottom: 2px; }
.fc-scroller > .fc-day-grid { position: relative; width: 100%; }
.fc-bg table { height: 100%; }
.fc-row table { border-left: 0 hidden transparent; border-right: 0 hidden transparent; border-bottom: 0 hidden transparent; }
.fc-row:first-child table { border-top: 0 hidden transparent; }
.fc-other-month { opacity: .4; }
.fc-day-number  { float: right; }
.fc-content { font-size: .8rem; padding: 2px;  color: white; }
.fc-event-container { position: relative; }
.fc-add { height: 30px; }
.fc-add i { position: absolute; bottom: 4px; right: 4px; color: grey; }
.stav-0  { background-color: #606060; }
.stav-0.moje_skupina, .stav-0.moje { background-color: #2850ee; }
.stav-1  { background-color: #2ca42c; }
.stav-2  { background-color: #b51717; }
.moje_skupina   { border: 2px solid yellow; }
.moje           { border: 2px solid white; }
#frm-mesiceForm-mesic   { width: 100px; float: right; }

.table_moje  { font-size: 0.9rem; color: #0e0e0e; }
.table_moje td { border-bottom: 1px solid grey; }
.table_moje tr:first-of-type td { border-top: 1px solid grey; }
#dovolena table.table_moje td:nth-of-type(2) { padding: 0 5px; width: 160px }
#dovolena table.table_moje td:nth-of-type(3) { width: 90px; }
.stav0  { color: #2850ee; }
.stav1  { color: #2ca42c; }
.stav2  { color: #b51717; }


@media screen and (min-width: 786px) { /* md */
    #nazev-zbozi, #zbozi-varianta  { padding-top: 28px; }
    #nazev-zbozi span.chyba, #zbozi-varianta span.chyba { padding-left: 10px; }
    #frm-pohybZboziForm input[type=text], #frm-pohybZboziForm input[type=number]  { width: 90%; }
}


@media screen and (max-width: 576px) { /* sm */
    .sipky  { max-width: 60px; }
    .ikona  { max-width: 60px; padding-top: 5px; }
    .edit-sklad .ikona i.fas   { font-size: 30px; }
}