/* top header */
#topHeader {
    width: 100%;
    border-bottom: 1px solid gray;
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#topHeader > div {
    height: 20px;
    padding: 1px 20px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

#topHeader .first-row {
    background-color: #dcdcdc;
}

#topHeader .second-row {
    background: url("../img/bg_top.gif");
}

#topHeader .second-row a {
    color: red;
    font-weight: bold;
    background: url("../img/bg_top.gif");
}

#topHeader .second-row img {
    vertical-align: middle;
}

/* tabulka */
.header-cell {
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.header-cell p.intable {
    margin: 5px 0;
}

.header-cell .sort-indicator {
    fill: white;
    margin-left: 5px;
}
/* edit form */

.spantlacidlo	{
    width: 150px;
    position: relative;
    z-index: 10;
    line-height: 25px;
    margin-left: 0px;
    margin-top: 0px;
    margin-right: 1px;  
    background-color:#ececec; 
    border-top: 1px solid #BEC4C7;
    border-left: 1px solid #BEC4C7;
    border-right: 1px solid #BEC4C7;
    border-bottom: 1px solid #ececec;
    margin-bottom: -1px;
}

#editForm {
    background: #ececec;
    border: 1px solid #BEC4C7;
    display: grid;
    grid-template-columns: 250px 110px 50px 170px auto;
    row-gap: 7px;
    column-gap: 7px;
    padding: 20px 0;
}

#editForm > label {
    grid-column: 1;
    padding: 2px 0px 2px 10px;
}

#editForm input {
    height: 16px;
    margin-top: 2px;
    font-size: 8pt;
    text-align: left;
    border-style: inset;
    border-width: thin;
    background-color: #ffffff;
    font-family: Arial;
}

#editForm textarea {
    margin-top: 2px;
    font-size: 8pt;
    text-align: left;
    border-style: inset;
    border-width: thin;
    background-color: #ffffff;
    font-family: Arial;
}

#editForm > * {
    grid-column: 2;
}

#editForm .two-column {
    grid-column: 2 / 4;
}

#editForm .three-column {
    grid-column: 2 / 5;
}

#editForm .comment {
    grid-column: 4 / 6;
    margin-top: 3px;
}

#editForm label[for='url_vo'] {
    grid-column: 1/3;
}

#editForm input[name='url_vo'] {
    grid-column: 3/6;
    margin-right: 30px;
}

.buttons {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.buttons > div {
    margin-right: 90px;
}

/* prilohy */
#uploadFileForm {
    display: none;
}

#attachmentsContainer .hidden {
    display: none;
}

#attachmentsContainer {
    grid-column: 2/6;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 10px;
}

.file-box {
    flex-grow: 0;
    border: 1px solid gray;
    background-color: #F6F8F9;
    display: flex;
    flex-direction: column;
}

.file-box .dismiss {
    cursor: pointer;
}

.file-name {
    display: inline-block;
    margin: 2px 5px;
}

.add-file-container {
    width: 50px;
    height: 50px;
    border: 1px dashed gray;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.add-file-container > div {
    font-size: 10px;
    color: gray;
}

#attachmentsContainer .error p, #attachmentsContainer .error div {
    color:red;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    margin: 4px;
}

.progress-label {
    text-align: center;
    margin-bottom: 3px;
}

.progress-track {
    height: 4px;
    background-color: gray;
}

.error .progress-track {
    background-color: red;
}