:root {
    /* #37517e pro 1 ze 14 odstinu, pro 2-4 z 20 odstinu, pro 5-10 z 10 odstinu */
    --c-1: 242,245,249;
    --c-2: 228,234,243;
    --c-3: 211,220,236;
    --c-4: 193,206,228;
    --c-5: 95,128,185;
    --c-6: 70,103,160;
    --c-7: 54,80,124;
    --c-8: 39,57,89;
    --c-9: 23,34,53;
    --c-10: 8,11,18;
}

a {
    text-decoration: none;
}

a.underlined:hover,
a.underlined:focus {
    text-decoration: underline;
}

.text-muted {
    color: rgba(var(--c-10), 0.6) !important;
}

.bg-pucolor05 {
    background-color: rgba(var(--c-1),0.5) !important;
}

.bg-pucolor1 {
    background-color: rgb(var(--c-1)) !important;
}

.bg-pucolor2 {
    background-color: rgb(var(--c-2)) !important;
}

.bg-pucolor3 {
    background-color: rgb(var(--c-3)) !important;
}

.bg-pucolor4 {
    background-color: rgb(var(--c-4)) !important;
}

.bg-pucolor5 {
    background-color: rgb(var(--c-5)) !important;
}

.bg-pucolor6 {
    background-color: rgb(var(--c-6)) !important;
}

.bg-pucolor7 {
    background-color: rgb(var(--c-7)) !important;
}

.bg-pucolor8 {
    background-color: rgb(var(--c-8)) !important;
}

.bg-pucolor9 {
    background-color: rgb(var(--c-9)) !important;
}

.bg-pucolor10 {
    background-color: rgb(var(--c-10)) !important;
}

.table.table-bg-pucolorw>:not(caption)>*>* {
    background-color: rgba(255,255,255,0.75);
}

.bi {
    font-size: 1rem;
}

.small .bi, small .bi {
    font-size: 0.875rem;
}

.badge .bi {
    font-size: 0.75rem;
}

main {
    min-height: 700px;
}

.navbar {
    height: 32px;
    overflow: hidden;
}

.navbar .btn-closew:hover,
.navbar .btn-closew:focus {
    background-color: var(--bs-danger);
    color: #fff!important;
}

.sidebar .offcanvas-header {
    padding-right: 0.25rem;
}

@media (min-width: 992px) {
    .sidebar {
        width: 200px;
        min-height: calc(100vh - 32px);
        border-right: var(--bs-border-width) var(--bs-border-style) rgb(var(--bs-secondary-rgb),0.5) !important;
    }

    div.main {
        width: calc(100% - 200px);
    }

    .sidebar .offcanvas-lg {
        position: -webkit-sticky;
        position: sticky;
        top: 32px;
    }
}

.sidebar .nav-link {
    color: rgba(var(--c-10),0.7);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    font-size: .875rem;
    font-weight: 500;
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.sidebar .nav-link .bi {
    font-size: .875rem;
}

.sidebar .nav-link .bi.bi-ddstate {
    font-size: .6rem;
}

.sidebar .nav-link:hover {
    color: rgb(var(--c-10));
    background-color: rgb(var(--c-2));
}

.sidebar .nav-link.active {
    color: var(--bs-primary);
    border-left: 4px solid var(--bs-primary);
}

@media (min-width: 992px) {
    .sidebar .nav-link {
    }

    .sidebar .nav-link:hover {
    }

    .sidebar .nav-link.active {
        border-left: 4px solid transparent;
        border-right: 4px solid var(--bs-primary);
    }
}

.table-striped>tbody>tr:nth-of-type(odd):not(.table-success)>*,
.table-manual-striped>tbody>tr.odd:not(.table-success)>* {
    --bs-table-color-type: none;
    --bs-table-bg-type: none;
    background-color: rgb(var(--c-1));
}

.bg-pucolorw .table-striped.table-striped-w>tbody>tr:nth-of-type(odd):not(.table-success)>*,
.bg-pucolorw .table-manual-striped.table-manual-striped-w>tbody>tr.odd:not(.table-success)>* {
    --bs-table-color-type: none;
    --bs-table-bg-type: none;
    background-color: rgba(255,255,255,0.25);
}

.table-filter .form-group.mb-3 {
    margin-bottom: 0 !important;
}

@media (min-width: 992px) {
    .border-lg {
        border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }
    .border-top-0-lg {
        border-top: 0 !important;
    }
}

label.label-optional:after {
    font-style: italic;
    font-size: small;
    color: rgba(var(--c-10),0.5);
}

.tablelink {
    position: relative;
    padding: 0rem 0.08rem;
    display: inline-block !important;
}

.tablelink.d-none {
    display: none !important;
}

.tablelink:last-child {
    padding-right: 0rem;
}

.tablelink:first-child {
    padding-left: 0rem;
}

.table .form-group.mb-3 {
    margin-bottom: 0rem!important;
}

.table-condensed>:not(caption)>*>td {
    padding: 0.05rem 0.25rem !important;
}

.table-hover>tbody>tr:hover>* {
    --bs-table-bg-state: var(--bs-secondary-bg);
}

.table-rows .table-row {
    cursor: pointer;
}

@media (max-width: 991px) {
    .table-rows tr + tr td {
        border-top-width: 4px !important;
    }

    .table-row-pagination {
        border-top: 4px solid var(--bs-border-color)!important;
    }
}

.xdebug-error {
    position: relative;
    z-index: 3001;
}

.btn-sm {
    padding: 0.1rem 0.5rem!important;
}

.btn-hover:hover,
.btn-hover:focus {
    border: var(--bs-border-width) var(--bs-border-style) rgb(var(--bs-secondary-rgb),0.5) !important;
    background-color: rgba(var(--bs-secondary-rgb),0.1) !important;
}

.alert-dismissible {
    padding-top: 0.5rem!important;
    padding-bottom: 0.5rem!important;
}

.alert-dismissible .btn-close {
    padding-top: 0.75rem!important;
    padding-bottom: 0.75rem!important;
}



