: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: 48px;
    overflow: hidden;
}

.navbar-brand {
    width: 250px;
    height: 48px;
    max-height: 48px;
    padding: 0px;
    margin: 0px;
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

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

@media (min-width: 992px) {
    .sidebar {
        width: 250px;
        min-height: calc(100vh - 48px);
        border-right: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
    }

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

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

    .navbar-search {
        display: block;
    }
}

div.main.main-expanded {
    width: 100%;
}

.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-item .nav-item .nav-link {
    padding-left: 2.25rem;
}

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

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

.sidebar .nav-link.active,
.sidebar .nav-item .nav-item .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,
    .sidebar .nav-item .nav-item .nav-link.active {
        border-left: 4px solid transparent;
        border-right: 4px solid var(--bs-primary);
    }
}

.sidebar .nav-link:not(.collapsed) .bi-chevron-left,
.sidebar .nav-link.collapsed .bi-chevron-down {
    display: none;
}

.sidebar .nav-link.collapsed .bi-chevron-left,
.sidebar .nav-link:not(.collapsed) .bi-chevron-down {
    display: block;
}

.navbar-side a.collapsed svg:last-child {
    transform: rotate(0deg);
}

.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;
}

.nav-tabs.nav-entitymenu .nav-link.active {
    background-color: rgb(var(--c-1));
    border-bottom-color: rgb(var(--c-1));
}

@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: rgb(var(--c-2));
}

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

.table-hover>tbody>tr:hover>.nohover {
    --bs-table-bg-state: transparent;
}

.table-hover.table-hover-1>tbody>tr:hover>.nohover {
    --bs-table-bg-state: transparent;
}

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

.stackedtasks .card {
    border-color: rgb(var(--c-4));
}

.stackedtasks .cardsmaincol {
    position: relative;
    background-color: rgb(var(--c-2)) !important;
    border: 1px solid rgb(var(--c-3));
    border-left: none;
}

.stackedtasks .cardsmaincol:first-child {
    border-left: 1px solid rgb(var(--c-3));
}

.stackedtasks .card.colcard-add {
    background-color: transparent;
    border-color: transparent;
}

.stackedtasks .card.colcard-add a {
    overflow: hidden;
}

.stackedtasks .card.colcard-add a span {
    display: inline-block;
    margin-top: -2rem;
    margin-bottom: -1rem;
    font-size: 4rem;
    font-weight: bold;
}

.stackedtasks .card.colcard-add:hover,
.stackedtasks .card.colcard-add:focus {
    border-color: rgb(var(--c-4));
}

.stackedtasks .cardscol {
    min-height: 100px;
    height: calc(100% - 15px);
}

.stackedtasks .cardscol.cardscol-add {
    height: calc(100% - 15px - 68px);
}

.stackedtasks .cards-sortable-bg,
.stackedtasks .subtasks-sortable-bg {
    background-color: rgb(var(--c-3));
    padding: 9px;
    margin: -9px;
}

.guideprocedurestep .btn-zoomin:hover,
.guideprocedurestep .btn-zoomin:focus {
    border-color: var(--bs-primary) !important;
}

.guideprocedurestep .btn-zoomin:hover span,
.guideprocedurestep .btn-zoomin:focus span,
.guideprocedurestep .btn-zoomout:hover span,
.guideprocedurestep .btn-zoomout:focus span {
    background-color: var(--bs-primary) !important;
    color: #fff !important;
}

.btn-zoomin {
    position: relative;
}

.btn-zoomout {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 9001;
    background-color: rgb(0,0,0,0.9);
    border: none !important;
    padding: 0px !important;
}

.table-inactive td {
    --bs-table-bg-state: rgb(var(--c-1));
    --bs-text-opacity: 1;
    color: rgba(var(--c-10), 0.6) !important;
}

.tooltip-inner {
    text-align: left;
}

