﻿body {
}

.table-fixed {
    border: 3px solid grey;
}
.LevySloupec tr td:first-child {
    position: sticky;
    left: 0;
    z-index: 2;
    background-color: paleturquoise;
    border: 1px solid grey;
    border-collapse: collapse;
}
.table-fixed thead tr {
    border: 1px solid grey;
    border-collapse: collapse;
}
.table-fixed thead th {
    position: sticky;
    position: -webkit-sticky;
    z-index: 999;
    background-color: #b0e0e6;
    border: 1px solid grey;
    border-collapse: collapse;
}
.table-fixed tbody td {
    border: 1px solid grey;
    border-collapse: collapse;
}
.table-fixed thead {
    position: sticky;
    position: -webkit-sticky;
    top: 50px;
    z-index: 999;
    background-color: #b0e0e6;
}
.more_info {
    border-bottom: 1px dotted;
    position: relative;
}

    .more_info .title {
        position: absolute;
        top: 20px;
        background: green;
        padding: 4px;
        left: 0;
        color: white;
        white-space: nowrap;
        border-radius: 3px;
        animation: fadeIn linear 0.15s;
        font-size:1.5em;
    }

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.styled-table2 {
    border-collapse: collapse;
    margin: 1px 1px 1px 1px;
    /*font-size: 0.75em;*/
    font-family: sans-serif;
    min-width: 300px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    width: 100%;
}

    .styled-table2 thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: center;
        border: 1px solid black;
    }
    .styled-table2 thead th {
        background-color: #009879;
        color: #ffffff;
        text-align: center;
        border: 1px solid black;
    }

    styled-table2 th,
    .styled-table2 td {
        padding: 1px 1px;
        position: relative;
        text-align: right;
    }

    .styled-table2 tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        

        .styled-table2 tbody tr:last-of-type {
            border-bottom: 2px solid #009879;
        }
.styled-table2 a {
    font-size: 1.2em;
}

.styled-table2 tbody tr.active-row {
    font-weight: normal;
    color: #009879;
}
.styled-table2 tr:hover{
    background-color: #009879;
}
.styled-table2 tbody td {
    border-right: 1px dotted #009879;
}

    .styled-table2 td .title {
        position: absolute;
        z-index: 100;
        top: 20px;
        background: green;
        padding: 4px;
        left: 0;
        color: white;
        white-space: nowrap;
        border-radius: 3px;
        animation: fadeIn linear 0.25s;
        font-size: 1.5em;
    }

.styled-table {
    border-collapse: collapse;
    margin: 1px 1px 1px 1px;
    font-size: 1em;
    font-family: sans-serif;
    min-width: 300px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
    width:100%;
}
    .styled-table thead tr {
        background-color: #009879;
        color: #ffffff;
        text-align: left;
        border: 1px solid black;
    }
    styled-table th,
    .styled-table td {
        padding: 4px 5px;
        border-bottom: 1px solid silver;
        border-right: 1px dotted silver;
    }
    .styled-table tbody tr {
        border-bottom: 1px solid #dddddd;
    }

        .styled-table tbody tr:nth-of-type(even) {
            background-color: #f3f3f3;
        }

        .styled-table tbody tr:last-of-type {
            border-bottom: 2px solid #009879;
        }

styled-table tbody tr.active-row {
    font-weight: bold;
    color: #009879;
}


.IcoMobile{
    font-size:2em;
}

.IcoDesktop {
    font-size: 2em;
}

input[type=checkbox] {
    /* Double-sized Checkboxes */
    -ms-transform: scale(2); /* IE */
    -moz-transform: scale(2); /* FF */
    -webkit-transform: scale(2); /* Safari and Chrome */
    -o-transform: scale(2); /* Opera */
    transform: scale(2);
    padding: 10px;
}

/* Might want to wrap a span around your checkbox text */
.checkboxtext {
    /* Checkbox text */
    font-size: 110%;
    display: inline;
}

.btnm {
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 16px 32px;
    text-align: center;
    font-size: 16px;
    margin: 4px 2px;
    opacity: 1;
    transition: 0.3s;
}

    .btnm:hover {
        opacity: 0.6
    }

@media print {
    .no-print, .no-print * {
        display: none !important;
    }
}




table.blueTable {
    font-family: Arial, Helvetica, sans-serif;
    border: 1px solid #1C6EA4;
    background-color: #EEEEEE;
    width: 100%;
    text-align: left;
    border-collapse: collapse;
}

    table.blueTable td, table.blueTable th {
        border: 1px solid #AAAAAA;
        padding: 3px 2px;
    }

    table.blueTable tbody td {
        font-size: 13px;
        color: #333333;
    }

    table.blueTable tr:nth-child(even) {
        background: #D0E4F5;
    }

    table.blueTable thead {
        background: #1C6EA4;
        background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
        background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
        background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
        border-bottom: 2px solid #444444;
    }

        table.blueTable thead th {
            font-size: 15px;
            font-weight: bold;
            color: #FFFFFF;
            border-left: 2px solid #D0E4F5;
        }

            table.blueTable thead th:first-child {
                border-left: none;
            }

    table.blueTable tfoot {
        font-size: 14px;
        font-weight: bold;
        color: #FFFFFF;
        background: #D0E4F5;
        background: -moz-linear-gradient(top, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
        background: -webkit-linear-gradient(top, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
        background: linear-gradient(to bottom, #dcebf7 0%, #d4e6f6 66%, #D0E4F5 100%);
        border-top: 3px solid #444444;
    }

        table.blueTable tfoot td {
            font-size: 14px;
        }

        table.blueTable tfoot .links {
            text-align: right;
        }

            table.blueTable tfoot .links a {
                display: inline-block;
                background: #1C6EA4;
                color: #FFFFFF;
                padding: 2px 8px;
                border-radius: 5px;
            }


.tree {
    --spacing: 1.5rem;
    --radius: 10px;
}

    .tree li {
        display: block;
        position: relative;
        padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
    }

    .tree ul {
        margin-left: calc(var(--radius) - var(--spacing));
        padding-left: 0;
    }

        .tree ul li {
            border-left: 2px solid #ddd;
        }

            .tree ul li:last-child {
                border-color: transparent;
            }

            .tree ul li::before {
                content: '';
                display: block;
                position: absolute;
                top: calc(var(--spacing) / -2);
                left: -2px;
                width: calc(var(--spacing) + 2px);
                height: calc(var(--spacing) + 1px);
                border: solid #ddd;
                border-width: 0 0 2px 2px;
            }

    .tree summary {
        display: block;
        cursor: pointer;
    }

        .tree summary::marker,
        .tree summary::-webkit-details-marker {
            display: none;
        }

        .tree summary:focus {
            outline: none;
        }

        .tree summary:focus-visible {
            outline: 1px dotted #000;
        }

        .tree li::after,
        .tree summary::before {
            content: '';
            display: block;
            position: absolute;
            top: calc(var(--spacing) / 2 - var(--radius));
            left: calc(var(--spacing) - var(--radius) - 1px);
            width: calc(2 * var(--radius));
            height: calc(2 * var(--radius));
            border-radius: 50%;
            background: #ddd;
        }

        .tree summary::before {
            z-index: 1;
            background: #696 url('expand-collapse.svg') 0 0;
        }

    .tree details[open] > summary::before {
        background-position: calc(-2 * var(--radius)) 0;
    }




.table_n {
    width: 99%;
    max-width: 99%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

    .table_n th, .table_n td {
        padding: 5px;
        text-align: center;
        border-bottom: 1px solid #ddd;
    }

    .table_n th {
        background: #0078D7;
        color: white;
        font-weight: bold;
    }

    .table_n tr:nth-child(even) {
        background: #f9f9f9;
    }

    .table_n input[type="number"] {
        width: 90%;
        padding: 3px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
        font-size: 14px;
    }

        .table_n input[type="number"]:focus {
            border-color: #0078D7;
            outline: none;
            box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
        }

    .table_n input[type="datetime-local"] {
        width: 90%;
        padding: 3px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
        font-size: 14px;
    }

        .table_n input[type="datetime-local"]:focus {
            border-color: #0078D7;
            outline: none;
            box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
        }


    .table_n select {
        width: 100%;
        padding: 6px;
        border: 1px solid #ccc;
        border-radius: 5px;
        text-align: center;
        font-size: 14px;
    }

        .table_n select:focus {
            border-color: #0078D7;
            outline: none;
            box-shadow: 0 0 5px rgba(0, 120, 215, 0.5);
        }


.tableV5 {
    width: 80%;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

    .tableV5 th, .tableV5 td {
        padding: 12px;
        text-align: left;
        border-bottom: 1px solid #ddd;
    }

    .tableV5 th {
        background-color: #007bff;
        color: white;
        text-transform: uppercase;
    }

    .tableV5 tr:hover {
        background-color: #f1f1f1;
    }

    .tableV5 input[type="checkbox"] {
        transform: scale(1.2);
    }

    .tableV5 input[type="checkbox"] {
        appearance: none;
        width: 20px;
        height: 20px;
        border: 2px solid #007bff;
        border-radius: 4px;
        background-color: white;
        transition: 0.2s;
        cursor: pointer;
    }

        .tableV5 input[type="checkbox"]:checked {
            background-color: #007bff;
            border-color: #0056b3;
            position: relative;
        }

            .tableV5 input[type="checkbox"]:checked::after {
                content: "✔";
                font-size: 16px;
                color: white;
                position: absolute;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
            }

.overlayV5 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s;
}

.popupV5 {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 300px;
}

    .popupV5 h2 {
        margin-bottom: 15px;
    }

.buttonsV5 {
    display: flex;
    justify-content: space-around;
}

    .buttonsV5 div {
        padding: 10px 15px;
        border-radius: 5px;
        cursor: pointer;
        transition: 0.2s;
        text-align: center;
        width: 80px;
    }

    .buttonsV5 .yes {
        background: #4CAF50;
        color: white;
    }

    .buttonsV5 .no {
        background: #D32F2F;
        color: white;
    }

    .buttonsV5 div:hover {
        opacity: 0.8;
    }