.default-table-area{
    width: 100vw;
    font-size: var(--hn-basic-text-size);
}
.default-table-wrapper{
    width: 90vw;
}
.default-table-header{
    background: var(--hn-table-header-background-color);
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px; /* Mezera mezi položkami */
    justify-content: start;
    color: white;
    font-weight: 600;
}

.default-table-content-area{

}
.table-header-sorting{
    width: 15px;
}

.default-table-header-item{
    display: flex;
    flex-direction: row;
    padding-left: 20px;
    text-align: start;
    text-wrap: wrap;
    word-break: break-word;
}
.default-table-header-item .default-table-icon {
    padding-right: 3px;
    margin-left: -15px;
    cursor: pointer;
}
.default-table-header-item .default-table-text {
    cursor: pointer;
    display: inline;
}
.default-table-row{
    display: flex;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px; /* Mezera mezi položkami */
    justify-content: start;
    padding-bottom: 6px;
    padding-top: 6px;
    background: var(--hn-box-background-color);
    cursor: pointer;
}
.default-table-row:hover {
    filter: brightness(90%) !important;
}

.default-table-column{
    padding-left: 20px;
    text-align: start;
    text-wrap: wrap;
    word-break: break-word;
    display: block;
}

.default-table-column-right{
    padding-right: 20px;
    text-align: right;
    text-wrap: wrap;
    word-break: break-word;
    display: block;
}

.default-table-column-center{
    padding-right: 20px;
    text-align: center;
    text-wrap: wrap;
    word-break: break-word;
    display: block;
}

.default-table-column-documents{
    text-wrap: wrap;
    align-items: center;
    word-break: break-word;
    display: flex;
}
.default-table-column-documents:hover{
    color: var(--hn-basic-text-color);
}

.default-table-headline-text{
    font-size: var(--hn-table-headline-font-size);

}
.default-table-action-icon-item{
    /*height: 100%;*/
    /*width: 100%;*/
    margin: 2px;
    padding: 2px;
    /*align-items: center;*/
    display: flex;
    justify-content: end;
    cursor: pointer;
}

.default-table-header-area{
    display: flex;
    width: 90vw;
    position: sticky;
    left: 5vw;
    top: 0;
}

.default-table-headline-column{
    width: 50%;
}
.default-table-action-column{
    width: 50%;
    display: flex;
    justify-content: end;
    padding-bottom: 3px;
}

.paginator-row{
    width: 90vw;
    display: flex;
    position: relative;
    margin-bottom: 50px;
    justify-content: center;
    align-items: center;
}
.pagination-wrapper{
    font-size: var(--hn-basic-text-size);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 50px;
    margin-top: 15px;
}

.paginator-previous,
.paginator-next{
    width: 25px;
    display: flex;
    line-height: 18px;
    justify-content: center;
    align-items: center;
    background: var(--hn-box-background-color);
    margin-left: 3px;
    margin-right: 3px;
    padding: 5px 4px;
    cursor: pointer;
    margin-top: 3px;
}
.paginator-numbers{
    min-width: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    margin: 0 15px;
}
.paginator-number{
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--hn-box-background-color);
    margin-left: 3px;
    margin-right: 3px;
    padding: 5px 5px;
}
.paginator-number:hover{
    background: #ebebef;
}

.add-item-action-icon{
    width: 38px;
 }
.add-item-action-icon-wrapper{
    height: 38px;
    width: 38px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    top: 21px;
    border: none;
    background: none;
    transition: opacity 0.3s ease;
}

.processing {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.settings-icon-wrapper{
    height: 38px;
    width: 38px;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    top: 21px;
    border: none;
    background: none;
}

.close-window-cross{
    width: 22px;
    cursor: pointer;
    pointer-events: none;
}
.close-window-cross-wrapper{
    position: relative;
    top: -10px;
    cursor: pointer;
}

.hypertextSearchLineWrapper{
    padding-top: 17px;
    display: flex;
    justify-content: end;
    padding-right: 15px;
    align-items: center;
    flex-direction: row;
}
.hypertextSearchLineInput input {
    background: var(--hn-box-background-color);
    line-height: 29px;
    border: 2px solid var(--hn-table-header-background-color);
    width: 180px;
    margin-right: 5px;
}
.hypertextSearchLineLabel{
    padding-right: 10px;
}

.paginator-overview{
    font-size: var(--hn-basic-text-size) !important;
    position: absolute;
    left: 0;
}

.paginator-select-limit{
    padding: 6px 7px;
    margin-left: 18px;
    background: var(--hn-box-background-color);
    cursor: pointer;
    border-radius: 0;
    border: none;
    font-size: var(--hn-basic-text-size);
}

.paginator-next:hover,
.paginator-previous:hover,
.paginator-select-limit:hover{
    background: #ebebef;
}

.hypertextSearchButton{
    padding: 5px !important;
}

.hypertextSearchButton{
    width: 130px;
    max-width: 130px;
    border-radius: var(--hn-button-border-radius);
    line-height: 24px;
    background: var(--action-button-color) !important;
    border: 1px solid var(--action-button-color);
    color: white;
    cursor: pointer;
    font-size: var(--hn-basic-text-size);
}
.hypertextSearchButton:hover{
    border-radius: 3px;
    border: 1px solid var(--action-button-color-hover);
    background: var(--action-button-color-hover) !important;
}


.ajax-sub-table-header-row{
    min-height: 17px;
    background: var(--hn-table-header-background-color);
    margin-top: 3px;
    color: white;
    padding: 8px 20px 8px 20px;
    font-size: var(--hn-basic-text-size);
    font-weight: 600;
    display: flex;
    flex-direction: row;

}

.ajax-sub-table-header-column,
.ajax-sub-table-column{
    font-size: var(--hn-basic-text-size);
    padding-right: 5px;
}

.ajax-sub-table-column-right{
    font-size: var(--hn-basic-text-size);
    padding-right: 5px;
    text-align: end;
}

.ajax-sub-table-column-center{
    font-size: var(--hn-basic-text-size);
    text-align: center;
}

.ajax-sub-table-column-documents{
    font-size: var(--hn-basic-text-size);
    display: flex;
    align-items: center;
}


.ajax-sub-table-heading-line{
    font-size: var(--hn-popup-form-headline-font-size);
    color: black;
    font-weight: 600;
    line-height: 25px;
    margin-top: 15px;
    width: 50%;
}

.ajax-sub-table-row{
    display: flex;
    flex-direction: row;
    padding: 8px 20px 8px 20px;
    background: var(--hn-box-background-color);
    margin-bottom: 4px;
}

.table-row-first-icon{
    width: 27px;
    padding-right: 10px;
}

.delete-hypertext-search-input{
    position: absolute;
    cursor: pointer;
    width: 19px;
}
.delete-hypertext-search-input-button{
    border: none !important;
    background: none;
    position: relative;
    left: -37px;
    top: -14px;
}


.table-row-first-color{
    background: white;
}

.table-row-second-color{
    background: var(--hn-box-background-color);
}
.small-screen-table-row-headline{
    display: none;
}
.ajax-sub-table-header-row.file-browser-sub-table-header-row{
    margin-top: 17px;
}

/* ####################### RESPONSE ###################### */

@media(min-width: 650px){
    .hide-on-big-screen{
        visibility: hidden;
        height: 0px;
        max-height: 0px;
        display:none
    }
}

@media(min-width: 1250px){
    .hide-on-big-screen-documents{
        visibility: hidden;
        height: 0px;
        max-height: 0px;
        display:none
    }
}

@media(max-width: 650px){
    .page-content-area{
        width: 100%;
        margin-top: -12px;
    }
    .default-table-header{
        background: white !important;
        padding-bottom: 0;
        padding-top: 0;
        display: flex;
        justify-content: center;
    }
    .default-table-column{
        display: none;
        text-wrap: nowrap;

    }
    .default-table-column.showOnSmallScreen {
        display: flex;
        padding-bottom: 0;
        margin-left: 32px;
        font-size: var(--hn-basic-text-font-size-mobile) !important;
    }
    .default-table-row{
        min-height: 43px;
        padding-bottom: 10px;
        padding-top: 10px;
        gap: initial;
        flex-direction: column;
    }
    .paginator-row{
        width: 100%;
    }
    .header-logo-wrapper img{
        width: 140px;
    }
    .default-table-header-area{
        margin-top: 41px;
        width: 100% !important;
        line-height: 16px;
    }
    .default-table-headline-column{
        width: 0;
        top: -33px;
        padding-left: 27px;
        position: relative;
    }
    .page-content-wrapper{
        width: 100vw;
    }
    .default-table-headline-text {
        font-size: var(--hn-table-headline-font-size-mobile);
        top: -15px !important;
        position: relative;
        margin-left: 6px;
        white-space: nowrap;      /* Zabrání zalomení textu */
        overflow: hidden;         /* Skryje text, který se nevejde */
        text-overflow: ellipsis;
        max-width: 68vw;
        min-width: 68vw;
    }

    .hypertextSearchLineWrapper .hypertextSearchButton {
        width: 90px;
        line-height: 14px;
        background: white !important;
        color: black;
    }
    .hypertextSearchLineInput input {
        line-height: 23px;
        width: 200px;
        max-width: 70vw;
        padding-left: 5px;
    }
    .hidden {
        display: none !important;
    }
    .add-item-action-icon-wrapper {
        height: 40px;
        width: 40px;
        top: -51px;
        left: -7px;
        display: flex;
        justify-content: end;
        margin-top: 6px;
        transition: opacity 0.3s ease;
    }
    .processing {
        opacity: 0.6;
        cursor: not-allowed;
        pointer-events: none;
    }

    .fade-in {
        animation: fadeIn 0.3s;
    }

    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }


    .settings-icon-wrapper{
        height: 40px;
        width: 40px;
        top: -51px;
        left: -10px;
        display: flex;
        justify-content: end;
        margin-top: 6px;
    }
    .hypertextSearchLineLabel{
        display: none;
    }
    .hypertextSearchLineWrapper{
        display: flex;
        justify-content: start;
        padding: 18px 0px 14px 23px;
        left: 8px;
        position: absolute;
    }
    .default-table-action-column button{
        width: 0;
    }
    .default-table-action-column{
        background: var(--hn-table-header-background-color);
        width: 100%;
        margin-left: -27px;
    }
    .default-table-column span{
        height: 22px;
    }
    .small-screen-table-row-headline{
        display: flex;
        padding-left: 32px;
        text-align: justify;
        margin-top: 3px;
        margin-bottom: 3px;
        overflow: hidden;
    }
    .default-table-header-item{
        display: flex;
        flex-direction: row;
        width: 21% !important;
        min-width: 20%;
        height: 18px;
        padding: 9px 15px 8px 15px;
        justify-content: center;
        font-size: var(--hn-basic-text-font-size-mobile);
        border-radius: 3px;
        margin-top: 13px;
        margin-bottom: 13px;
    }
}

.paginator-sub-table-items-range{
    width: initial
}
.paginator-sub-table-select{
    width: initial;
    height: 100%;
    display: flex;
    align-content: center;
    margin-top: 8px;
}
.paginator-sub-table-overview{
    width: 100%;
    display: flex;
    flex-direction: row;
}
.paginator-sub-table-wrapper{
    font-size: var(--hn-basic-text-size);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 15px;
}
.paginator-sub-table-previous-next-and-number-wrapper{
    position: absolute;
    width: 100vw;
    display: flex;
    justify-content: center;
    margin-top: 25px;
}
.paginator-sub-table-items-range,
.paginator-sub-table-select .paginator-select-limit {
    margin-top: 25px;
}

@media(max-width: 1100px){
    .paginator-sub-table-previous-next-and-number-wrapper{
        position: initial;
        margin-top: 13px;
    }
    .paginator-sub-table-wrapper{
        flex-direction: column;
        padding-bottom: 23px;
    }
    .paginator-sub-table-overview {
        justify-content: center;
    }
    .paginator-sub-table-items-range,
    .paginator-sub-table-select .paginator-select-limit {
        height: 29px;
        margin-top: 0;
    }
    .paginator-sub-table-items-range,
    .paginator-sub-table-select .paginator-select-limit{
        margin-top: 0px;
    }
}

@media(min-width: 650px){
    .default-table-header-item{
        background: initial !important;
        padding-bottom: 12px;
        padding-top: 12px;
    }
}
