.table th, .table td {
padding: 0.3em 0.3em; }

.min_width {
width: min-content !important; }


.title {
color: white;
font-weight: bold;
text-transform: uppercase;
display: block;
float: left;
height: 2.5em;
line-height: 2.5em;
padding: 0 1em;
position: relative;
left: -1em; }

.table td a {
text-decoration: none; }

.half {
opacity: 0.4; }

.filter {
padding: 5px; }

.small_input {
width: 80px !important; }

.cell_short {
text-align: center;
width: min-content; }

.cell_short input[type="checkbox"] {
margin: auto; }

.deny {
color: #aaa; }



/* barvy odberatelu */
.top,
.top td {
background-color: yellow !important; }

.nespolehlivy,
.nespolehlivy td {
background-color: pink !important; }

.bez_zakazek,
.bez_zakazek td {
background-color: #d6eaf8 !important; }

.aktivni,
.aktivni td {
background-color:  #abebc6  !important; }

.neaktivni,
.neaktivni  td {
background-color: #fcf3cf !important; }

.archivni,
.archivni td {
background-color: #b58d8d !important; }

.flex {
display: flex; }

.legend_item {
flex: 1;
text-align: center;
padding: 0.4em 1em;
overflow: hidden; }


/* zakazky */
.prijata,
.prijata td {
background-color: #efefef }

.rozpracovana,
.rozpracovana td {
background-color: #ffcc00 }

.korektura,
.korektura td {
background-color: #ff9900 }

.nefakturovat,
.nefakturovat td {
background-color: #ff9999 }

.k_fakturaci,
.k_fakturaci td {
background-color: #ff3300 }

.fakturovano,
.fakturovano td {
background-color: #3bc; }

.zaplaceno,
.zaplaceno td {
background-color: #99cc66 }

.storno,
.storno td {
background-color: #cc0099 }

.u_dodavatele,
.u_dodavatele td {
background-color: #996600 }

.kalkulace,
.kalkulace td {
background-color: #9999cc }


/* vypis stavu zakazek - musim to mit takto abych prebijel prebarveni radku */
td.prijata  {
background-color: #efefef }

td.rozpracovana {
background-color: #ffcc00 }

td.korektura {
background-color: #ff9900 }

td.nefakturovat {
background-color: #ff9999 }

td.k_fakturaci {
background-color: #ff3300 }

td.fakturovano {
background-color: #0099cc }

td.zaplaceno {
background-color: #99cc66 }

td.storno {
background-color: #cc0099 }

td.u_dodavatele {
background-color: #996600 }

td.kalkulace {
background-color: #9999cc }


.red {
color: red; }


/* kalendar */
#calendar {
box-sizing: border-box;
width: 100%; }

.th {
background-color: #ddd;
box-sizing: border-box;
position: relative;
float: left;
font-size: 0.9em;
width: 14.285% !important;
padding: 5px;
border: 1px solid #ddd; }

.td {
box-sizing: border-box;
position: relative;
float: left;
font-size: 0.9em;
width: 14.285% !important;
aspect-ratio: 2/1; 
min-height: 2em;
height: auto;
padding: 5px;
border: 1px solid #ddd; }

.xx {
display: block;
width: 100%;
box-sizing: border-box;
padding: 3px;
border-radius: 4px;
background-color: lightblue; }

.time {
flex-grow: 1;
text-align: right; }

.holiday {
padding: 0.3em 0.5em; }