h3 {
    margin-bottom: 20px !important;
}

h4 {
    margin-top: 0.5rem !important;
}


.hidden {
    display: none !important;
}

.nav-link {
    padding: 15px 0 !important;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

ul > li:before {
    display: none;
}

#_expansionRow {
    border-bottom: 0 !important;
}

.copis-header {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-between;
}

#divFormContent {
    --header-tree-height: 0px;
    height: 100%;
    overflow-y: auto;
}

td > input[type=text] {
    padding: 10px !important;
}

td.valign-middle {
    vertical-align: middle !important;
}

.button-close {
    font-size: 20px;
    color: #c52a3a;
    cursor: pointer;
}

    .button-close:hover {
        color: #ad2533;
    }

.header-tree-node {
    display: block;
    width: 1px;
    height: 1px;
    padding: 8px;
    background-color: #b6c9dc;
    position: absolute;
    border-radius: 50%;
    left: -35px;
    top: 4px;
}

    .header-tree-node.last {
        background-color: #2362a2;
    }

    .header-tree-node.main::after {
        content: '';
        position: absolute;
        width: 0;
        padding: 0 1px;
        height: var(--header-tree-height);
        background-color: #b6c9dc;
        top: 0;
        left: 7px;
    }

.flex-table {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.copis-table--wrapper {
    position: relative;
}

#divtblPripad.copis-table-cover {
    height: calc(100vh - 340px);
}

    .copis-table-cover table tbody {
        max-height: calc(100vh - 300px);
        background: var(--skill-grid-background-color-1);
    }

        .copis-table-cover table tbody tr td {
            color: var(--skill-grid-text);
        }

        .copis-table-cover table tbody tr th {
            color: var(--skill-grid-text);
            border-top: 1px solid var(--skill-grid-border-color);
        }

    .copis-table-cover.has-expansion {
        max-height: initial;
        overflow: visible !important;
    }

.copis-table tbody tr:hover {
    background-color: #e4e4e4;
    cursor: pointer;
}

.copis-table thead th {
    position: sticky;
    top: 0;
    background-color: whitesmoke;
}

.copis-btn--floating {
    position: absolute;
    bottom: 34px;
    right: 34px;
    opacity: 0.5;
}

    .copis-btn--floating:hover {
        opacity: 1;
    }

.copis-form-footer button {
    margin: 0 10px;
}

    .copis-form-footer button:last-child {
        margin: 0 0 0 10px;
    }

input[type=text]:disabled, input[type=date]:disabled {
    color: var(--gov-color-grey-dark);
}

.gov-form-control select:disabled {
    color:black;
}

.gov-form-control select:disabled ~.gov-form-control__label {
    color: black;
}

.gov-container__content {
    height: 100%;
    max-width: 300rem !important;
}

.gov-tabs__link {
    font-size: .725rem;
    padding-bottom: 0 !important;
}

.gov-portal-nav__link:focus {
    box-shadow: none !important;
}

.gov-button--error {
    background-color: #c52a3a;
    color: white !important;
}

    .gov-button--error:hover {
        background-color: #ad2533;
    }

.gov-button--warning {
    background-color: #dd9f0c;
    color: white !important;
}

    .gov-button--warning:hover {
        background-color: #ecae1a;
    }

.gov-button--success {
    background-color: var(--gov-color-blue-light);
    color: white !important;
}

    .gov-button--success:hover {
        background-color: var(--gov-color-blue-light-hover);
    }

.gov-image-holder {
    height: 385px;
    border: 1px dotted #dddddd;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gov-image-holder img {
        height: 80%;
        max-width: 90%;
        object-fit: cover;
    }

.skillgrid-popup-filter .gov-form-control__checkbox {
    cursor: pointer;
    width: 20px;
    height: 20px;
    top: -1px;
    z-index: 9999;
}

div[class^="col-"] .gov-form-control--custom {
    margin: 18px 0 !important;
}

div[class^="col-"] div.search_checkbox {
    margin: 12px 10px !important;
}


.gov-form-control__input:focus, .gov-select select:focus {
    box-shadow: 0 0 0 2px #007bff;
}

.gov-form-control--custom {
    margin: 2px 0 !important;
}

    .gov-form-control--custom .gov-form-control__label {
        top: -3px;
    }

.gov-form-control__datepicker {
    max-width: 100% !important;
}

.gov-form-control__label.notnull::after {
    content: '*';
    color: #ad2533;
    margin-left: 5px;
}

.gov-form-control__label.oneof::after {
    content: '+';
    color: #3366ff;
    margin-left: 5px;
}


.gov-search__main input[type="text"] {
    padding: 1.5625rem 1.25rem .6875rem;
}

.gov-tabs ul {
    margin: 10px 0 20px 0;
}

    .gov-tabs ul li:before {
        display: none;
    }

.gov-form-control.not-empty .gov-select select:disabled ~ .gov-form-control__label {
    font-size: 0.75rem;
    padding-top: 0.4375rem;
}

.row div[class^="col-"]:first-of-type {
    padding-left: 0 !important;
}

.row div[class^="col-"]:last-of-type {
    padding-right: 0 !important;
}

@media screen and (min-width: 57.5em) {
    .gov-tabs__link {
        margin-right: 1.5rem !important;
    }
}

button.gov-button span.fa {
    margin-right: 3px;
}


/* bootstrap updates*/
.alert-warning {
    background-color: #ecae1a;
    color: #3b3b3b;
    border-color: #ecae1a;
}

    .alert-warning p#alertTitle {
        color: white;
    }

.alert-info {
    background-color: #ffffff;
    color: #3b3b3b;
    border-color: #a8a8a8;
}

.alert-success {
    background-color: #6fbd2c;
    color: white;
    border-color: #6fbd2c;
}

    .alert-success p#alertTitle {
        color: white;
    }

.alert-danger {
    background-color: #c52a3a;
    color: white;
    border-color: #c52a3a;
}

    .alert-danger p#alertTitle {
        color: white;
    }

.input-error input[type="text"] {
    color: #c52a3a;
    border-color: #c52a3a;
}

div.filter-dialog {
    max-width: 1280px;
}

.check-combo-box-element {
    position: relative;
}

.check-combo-box {
    display: none;
    position: absolute !important;
    width: 100%;
}

    .check-combo-box.active {
        display: block;
        z-index: 9999;
    }

.check-combo-box-header {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

    .check-combo-box-header .header-buttons {
        display: flex;
        gap: 5px;
    }

.combo-input-wrapper {
    position: relative;
}

    .combo-input-wrapper input[type="text"]::placeholder {
        font-weight: 300;
    }

    .combo-input-wrapper input[type="text"] {
        padding: 19px 50px 17px 18px !important;
        font-size: 15px;
    }

    .combo-input-wrapper::after {
        content: "b";
        display: inline-block;
        position: absolute;
        right: 0.9375rem;
        top: 50%;
        margin-top: -0.75rem;
        color: var(--gov-color-blue);
        font-family: "gov-basic-icons";
        font-size: 1.5rem;
        line-height: 1;
        pointer-events: none;
    }

div.filter-dialog div[id^=divfilter-tbl] {
    max-height: 250px;
    border: 0.5px solid #808080;
    background-color: #fafafa;
    top: 5px;
    position: absolute;
    overflow: visible;
}

    div.filter-dialog div[id^=divfilter-tbl] table {
        width: 100% !important;
    }

    div.filter-dialog div[id^=divfilter-tbl] thead {
        visibility: collapse;
    }

div.filter-dialog div[id^=gridFooterfilter-tbl] {
    visibility: collapse;
    height: 0px;
}

div.filter-dialog div[id^=divfilter-tbl] tbody tr.marked {
    background-color: lightblue;
}

div.filter-dialog div[id^=divfilter-tbl] tbody tr td {
    min-width: 10px;
    background-color: #fdfdfd;
}

div.filter-dialog div[id^=divfilter-tbl] tbody td:first-child, div.filter-dialog div[id^=divfilter-tbl] thead th:first-child {
    width: 25px;
    max-width: 25px;
}

div.filter-dialog div[id^=divfilter-tbl] .filter-search-wrapper {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,.1);
    height: 50px;
    position: relative;
}

    div.filter-dialog div[id^=divfilter-tbl] .filter-search-wrapper input[type=text]::placeholder {
        font-weight: 300;
    }

    div.filter-dialog div[id^=divfilter-tbl] .filter-search-wrapper input[type=text] {
        padding: 15px 18px;
        border: none;
        font-size: 15px;
    }

    div.filter-dialog div[id^=divfilter-tbl] .filter-search-wrapper .filter-search-btn-delete {
        position: absolute;
        top: 0;
        right: 20px;
        bottom: 0;
        height: 34px;
        color: darkgrey;
        font-size: 22px;
        margin: auto 0;
        cursor: pointer;
    }

        div.filter-dialog div[id^=divfilter-tbl] .filter-search-wrapper .filter-search-btn-delete:hover {
            color: var(--gov-color-blue);
        }

div.filter-dialog div[id^=divfilter-tbl] .filter-table-wrapper {
    overflow: auto;
    max-height: 198px;
}

div.filter-dialog div#divParenttblCUMaster {
}

div.filter-dialog div#divtblCUMaster {
    max-height: 350px;
    border: 0.5px solid #808080;
    margin: 2px;
}

div.filter-dialog table#tblCUMaster thead {
    visibility: collapse;
}

div.filter-dialog div#gridFootertblCUMaster {
    visibility: collapse;
    height: 0px;
}

div.filter-dialog table#tblCUMaster tbody tr.marked {
    background-color: lightblue;
}

div.filter-dialog table#tblCUMaster tbody tr td {
    min-width: 10px;
}

div.filter-dialog table#tblCUMaster tbody td:first-child, div.filter-dialog table#tblCUMaster thead th:first-child {
    width: 25px;
    max-width: 25px;
}

div.filter-dialog div#divParenttblCUDetail {
}

div.filter-dialog div#divtblCUDetail {
    max-height: 350px;
    border: 0.5px solid #808080;
    margin: 2px;
}

div.filter-dialog table#tblCUDetail thead {
    visibility: collapse;
}

div.filter-dialog div#gridFootertblCUDetail {
    visibility: collapse;
    height: 0px;
}

div.filter-dialog table#tblCUDetail tbody tr.marked {
    background-color: lightblue;
}

div.filter-dialog table#tblCUDetail tbody tr td {
    min-width: 10px;
}

div.filter-dialog table#tblCUDetail tbody td:first-child, div.filter-dialog table#tblCUDetail thead th:first-child {
    width: 25px;
    max-width: 25px;
}

div.filter-dialog div#divParenttblSkladFilter {
}

div.filter-dialog div#divtblSkladFilter {
    max-height: 350px;
    border: 0.5px solid #808080;
    margin: 2px;
}

div.filter-dialog table#tblSkladFilter thead {
    visibility: collapse;
}

div.filter-dialog div#gridFootertblSkladFilter {
    visibility: collapse;
    height: 0px;
}

div.filter-dialog table#tblSkladFilter tbody tr.marked {
    background-color: lightblue;
}

div.filter-dialog table#tblSkladFilter tbody tr td {
    min-width: 10px;
}

div.filter-dialog table#tblSkladFilter tbody td:first-child, div.filter-dialog table#tblSkladFilter thead th:first-child {
    width: 25px;
    max-width: 25px;
}

.gov-portal-subnav__headline {
    padding-right: 5.25rem !important;
}

.gov-search__main.gov-small .gov-form-control__input {
    padding: 10px !important;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

.comment-wrapper {
    display: flex;
    gap: 10px;
}

.comment-icon {
    width: 50px;
    position: relative;
}

.comment-body {
    width: 100%;
    z-index: 1;
}

.comment-header {
    margin-bottom: 5px;
}

    .comment-header h4 {
        display: inline-block;
        margin: 0 10px 0 0 !important;
        font-size: .8rem !important;
    }

    .comment-header span {
        font-size: 0.75rem;
    }

.comment-list {
    border-top: 5px solid #dddddd;
}

.comment-main-form {
    padding: 15px 0;
}

.comment {
    border-top: 1px solid #dddddd;
    padding: 15px 0;
    position: relative;
}

    .comment:first-child, .comment.c-offset-1, .comment.c-offset-2, .comment.c-offset-3 {
        border: none;
    }

    .comment.c-offset-1 {
        margin-left: 57px;
    }

    .comment.c-offset-2, .comment.c-offset-3 {
        margin-left: 114px;
    }

.comment-form-wrapper form {
    padding-top: 15px;
}

.comment .svg-wrapper {
    position: absolute;
    z-index: 0;
    top: 33px;
    left: 23px;
}

    .comment .svg-wrapper svg {
        height: 100%;
    }

.comment.c-offset-1::before, .comment.c-offset-2::before {
    content: '';
    position: absolute;
    display: block;
    top: 7px;
    left: -34px;
    width: 0;
    height: 0;
    padding: 10px 10px;
    border-bottom: 1px solid #cfcfcf;
    border-left: 1px solid #cfcfcf;
    border-radius: 0 0 0 50%;
}

.notification-badge {
    position: relative;
    top: -8px;
    margin-left: 5px;
    padding: 1px 8px 1px 7px;
    font-size: 0.6rem;
}
