body[data-sidebar-color=gradient] .left-side-menu,
body[data-sidebar-color=gradient] .logo-box {
    background: #435433;
}
.cms-table .action-icon {
    color: #435433;
}
.border-primary {
    border-color: #435433 !important;
}
.btn-primary {
    box-shadow: 0 0 0 rgba(67, 84, 51, .5);
    background-color: #435433;
    border-color: #435433;
}
.btn-primary:hover {
    background-color: #647d4b;
    border-color: #647d4b;
}
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #647d4b;
    border-color: #647d4b;
}
.badge-success {
    background-color: #F29104;
}
.btn-link, .custom-done-test {
    color: #435433;
}
.btn-link:hover {
    color: #647d4b;
}
.btn-primary.focus,
.btn-primary:focus,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show>.btn-primary.dropdown-toggle {
    background-color: #647d4b;
    border-color: #647d4b;
    box-shadow: 0 0 0 0.15rem rgba(67, 84, 51, .5) !important;
}

.page-link:focus {
    box-shadow: 0 0 0 0.15rem rgba(67, 84, 51, .5);
}

.checkbox-primary input[type=checkbox]:checked+label::before,
.custom-control-input:checked~.custom-control-label::before,
.page-item.active .page-link {
    background-color: #435433;
    border-color: #435433;
}
.pagination {
    flex-wrap: wrap;
}
#sidebar-menu a[href$="dashboard"] {
    display: none;
}

body.authentication-bg {
    background-color: #f5f6f8;
}
.text-error {
    color: #435433;
    text-shadow: rgba(67, 84, 51, .3) 5px 1px, rgba(67, 84, 51, .2) 10px 3px;
}

.error-text, .error {
    color: #ef5b71;
}

.header {
    background-color: #435433;
    height: 62px;
    padding: 10px 15px;
}

.header-title-tests {
    font-family: sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #ffffff;
}

.form-control:disabled {
    cursor: unset;
    color: #98a6ad;
}

.input-daterange {
  position: relative;
}

.datepicker {
  top: 150% !important;
}

.text-empty-list {
    font-size: 20px;
    font-weight: bold;
}

.datepicker-dropdown.datepicker-orient-top:before, .datepicker-dropdown.datepicker-orient-top:after {
  bottom: auto !important;
  top: -7px !important;
  transform: rotate(180deg) !important;
}

.custom-test-que {
    font-family: sans-serif;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    min-height: 200px;
    max-width: max-content;
    display: flex;
    align-items: end;
    justify-content: center;
    text-align: center;
}

@media (max-width: 500px) {
    .header-title-tests {
        font-size: 1rem;
    }
    .custom-test-que {
        font-size: 1.5rem;
    }
}

.header-link {
    background-color: #FCD400;
    color: #000000;
    width: 105px;
    padding: 5px 15px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    flex-wrap: nowrap;
    text-align: center;
}

.header-link:hover {
   background-color: #FFDF3C;
   color: #000000;
}

.nav-header {
    column-gap: 15px;
}

.button-gap-test {
    column-gap: 30px;
    row-gap: 20px;
    flex-wrap: wrap;
}

.nav-header {
    height: 33px;
}

.custom-test-height, .custom-done-test {
    height: calc(100vh - 60vh);
}

.custom-progress {
    width: 100%;
}

@media (min-width: 768px) {
    .custom-test-height, .custom-done-test {
        height: calc(100vh - 50vh);
    }
    .custom-progress {
        width: fit-content;
    }
}

.custom-done-test {
    font-family: sans-serif;
}

.select2-container .select2-selection--multiple .select2-selection__choice {
    background-color: #435433 !important;
}

body[data-sidebar-color=gradient][data-sidebar-size=condensed] #wrapper .left-side-menu #sidebar-menu>ul>li:hover>a {
    background: #0E478A;
}
body[data-sidebar-size=condensed] .left-side-menu #sidebar-menu>ul>li:hover>.collapse>ul a:hover {
    color: #0E478A;
}

body[data-sidebar-size=condensed] .left-side-menu #sidebar-menu>ul>li:hover>.collapse>ul a {
    white-space: normal;
}

.datepicker table tr td .active.disabled:hover[disabled], .datepicker table tr td .active.disabled[disabled], .datepicker table tr td .active:active, .datepicker table tr td .active:hover, .datepicker table tr td .active:hover.active, .datepicker table tr td .active:hover.disabled, .datepicker table tr td .active:hover:active, .datepicker table tr td .active:hover:hover, .datepicker table tr td .active:hover[disabled], .datepicker table tr td .active[disabled], .datepicker table tr td span.active.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled.active, .datepicker table tr td span.active.disabled.disabled, .datepicker table tr td span.active.disabled:active, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active.disabled:hover.active, .datepicker table tr td span.active.disabled:hover.disabled, .datepicker table tr td span.active.disabled:hover:active, .datepicker table tr td span.active.disabled:hover:hover, .datepicker table tr td span.active.disabled:hover[disabled], .datepicker table tr td span.active.disabled[disabled], .datepicker table tr td span.active:active, .datepicker table tr td span.active:hover, .datepicker table tr td span.active:hover.active, .datepicker table tr td span.active:hover.disabled, .datepicker table tr td span.active:hover:active, .datepicker table tr td span.active:hover:hover, .datepicker table tr td span.active:hover[disabled], .datepicker table tr td span.active[disabled], .datepicker table tr td.active.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled.active, .datepicker table tr td.active.disabled.disabled, .datepicker table tr td.active.disabled:active, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active.disabled:hover.active, .datepicker table tr td.active.disabled:hover.disabled, .datepicker table tr td.active.disabled:hover:active, .datepicker table tr td.active.disabled:hover:hover, .datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover {
    background-color: #435433 !important;
}
a {
    color: #0E478A;
}
a:hover,
.dd-list .dd3-content:hover {
    color: #0c3c77;
}

.card-box td a {
    text-decoration: none;
}
.card-box td a:hover {
    text-decoration: none;
}
.text-primary {
    color: #0E478A !important;
}
a.text-primary:focus,
a.text-primary:hover {
    color: #0c3c77 !important;
}

.select2-container--default .select2-results__option[aria-selected=true]:hover,
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #435433;
    color: #fff;
}

.custom-file-label {
    line-height: 1.7;
    height: calc(1.5em + .9rem + 3px);
}
@media (max-width: 767px) {
    .nav {
        flex-wrap: initial;
        overflow: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .nav-tabs .nav-link {
        white-space: nowrap;
    }
}

.navbar-custom {
    height: 50px;
}
.navbar-custom .button-menu-mobile {
    line-height: 50px;
    height: 50px;
}
.navbar-custom .topnav-menu .nav-link {
    line-height: 50px;
    max-height: 50px;
}
.left-side-menu {
    top: 50px;
}
.search-bar {
    min-width: 280px;
}
.search-bar .position-relative {
    z-index: 1;
    width: 100%;
}
.search-bar .position-relative input{
    width: 100%;
}
.logo-box {
    height: 50px;
}
.logo-box .logo {
    line-height: 50px;
}

.logs-single .small {
    word-break: break-word;
}

.global-search,
.global-search-mob {
    height: 50px;
    display: flex;
    align-items: center;
}
.global-search .search-bar {
    min-width: 130px;
    width: 130px;
}
.global-search-mob a {
    padding: 15px;
    color: #98a6ad;
    font-size: 16px;
}
@media (min-width: 768px) {
    .global-search .search-bar {
        min-width: 280px;
        width: 280px;
    }
}

@media (max-width: 1200px) {
    .card-box select[name="acl_vch_id[]"] {
        height: auto !important;
    }
    .card-box select[name="acl_vch_id[]"] + .text-muted {
        display: none;
    }
}
.cms-acl .col-access {
    min-width: 120px;
}

/* Dashboard */
.ngu-dashboard {
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

textarea.form-control {
    min-height: 60px;
}
.datepicker td,
.datepicker th {
    border-radius: 4px;
}

.form-control:disabled,
.form-control[readonly] {
    background: #eee;
}

.progress-custom {
    width: 25%;
    height: 17px;
}
.custom-test-name {
    max-width: 70%;
}
.progress-bar {
    background-color: #0e478a;
}

.progress {
    background-color: #e2e3e4;
}

.custom-test-view-title {
    flex-direction: row;
    align-items: center;
}

.custom-btn-boolean {
    width: fit-content;
    min-width: 120px;
    height: fit-content;
    min-height: 45px;
    flex-wrap: nowrap;
}

.custom-text-lineh {
    height: 50px;
    margin-bottom: 16px;
}

.btn-white-custom {
    border-color: #dee2e6;
}
.btn-outline-danger-custom {
    border-color: #f1556c;
    color: #f1556c;
    pointer-events: none;
}

#auth-form .form-group label.error {
    margin-bottom: 0;
  }

.title-custom-heigth {
    min-height: 40px;
}

@media (max-width: 767px) {
    .progress-custom {
        width: 100%;
    }
    .custom-test-view-title {
        flex-direction: column;
        align-items: start;
        gap: 15px;
    }
    .custom-test-name {
        max-width: 100%;
    }
}
@media (min-width: 767px) {
    .page-title-box .page-title {
        margin-bottom: 15px;
        min-height: 75px;
    }
}
@media (min-width: 1200px) {
    .page-title-box .page-title-right {
        float: none;
    }
}

@media (min-width: 1500px) {
    .page-title-box .page-title {
        display: flex;
        align-items: center;
    }
    .page-title-box .page-title-right {
        float: right;
        margin-left: 22px;
    }
}

.deleted-search-row {
    background: #f1f1f1;
}

.custom-margin {
    margin-left: 20px;
    display: block;
}

@media (max-width: 767px) {
    .custom-margin {
        display: none;
    }
}
.custom-file-input:disabled + .custom-file-label {
    background: #eee;
}
.custom-control-input:disabled + .custom-control-label:before {
    background: #eee;
}
.toggle-more-text {
    all: unset;
    font-weight: bold;

}
.toggle-more-text:not(.open) .less,
.toggle-more-text.open .more {
    display: none;
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .modal-dialog.modal-dialog-mob-big {
        max-width: calc(100% - 20px);
    }
}
