.tooltip{
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    opacity: 0;
}

.tooltip-inner {
    max-width: 200px;
    padding: .25rem .5rem;
    color: var(--color-ultra-light-theme);
    background-color: var(--color-theme);
}

.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
   
    border-right-color: var(--color-theme);
}

.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
 
    border-top-color: var(--color-theme);
}

.text-primary {
    color: var(--color-theme) !important;
}

.color-danger,
.text-danger{
    color: var(--color-danger) !important;
}

.btn-primary:focus, 
.btn-primary.focus {
    background-color: #278eb4;
    border-color: #278eb4;
}

.badge-primary{
    background: var(--color-theme) !important;
}

a {
    color: var(--color-black);
    transition: color .10s ease-in-out;
}

a:hover{
    color: var(--color-theme);
    text-decoration: none;
}

.list-group-item {
    padding: 7px 9px;
    margin-bottom: 1px;
    background-color: #fff;
    border: none;
    border-radius: 30px !important;
    font-size: 1rem;
    font-weight: 600;
    transition: all .15s ease-in-out;
}

.list-group-item.active,
li.active .list-group-item{
    z-index: 2;
    color: var(--color-theme);
    background-color: var(--color-ultra-light-theme);
    border-color: var(--color-ultra-light-theme);
    margin-top: 0px !important;
}

.list-group-item i{
    text-align: center;
    background: var(--color-ultra-light-theme);
    color: var(--color-theme);
    padding: 9px 8px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    margin-right: 4px;
    font-size: 13px;
    transform: scale(1);
    transition: all .15s ease-in-out;
    margin-left: -10px;
    float: left;
    margin-right: 8px;
}

.list-group-item:hover i{
    transform: scale(1.2);
}

.list-group-item.active i,
li.active .list-group-item i{
    text-align: center;
    background: var(--color-theme);
    color: var(--color-ultra-light-theme);
    padding: 9px 8px;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    font-size: 13px;
    transition: all .15s ease-in-out;
}

.badge-pill {
    font-size: 9px;
    text-transform: uppercase;
}

.badge-light{
    color: rgba(0, 0, 0, 0.5);
    background-color: #dee2e6;
}

.dropdown-item.active, .dropdown-item:active {
    color: #737373;
    text-decoration: none;
    background-color: #e4e4e4;
}

.breadcrumb{
    background: var(--color-light-gray);
    padding-top: 5px;
    padding-bottom: 15px;
    padding-left: 5px;
    font-size: 13px;
}

.breadcrumb > li + li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0";
}

.dropdown-item{
    color: var(--color-black);
}

table{
    font-size: 0.95rem
}

.form-control:focus {
    color: #495057;
    border-color: #2b97bf;
    box-shadow: 0 0 0 0.2rem rgba(43, 151, 191, 0.24);
}

hr {
    border-top: 1px solid#e0e0e0;
}

.page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: var(--color-theme);
    border-color: var(--color-theme);
}

.page-link {
    color: var(--color-black);
    background-color: #f0f3f7;
    border: 1px solid #f0f3f7;
    border-radius: .2rem;
    margin: 0 2px;
    padding: 0.6rem .75rem;
}

.page-link:hover {
    z-index: 2;
    color: #343434;
    text-decoration: none;
    background-color: #dee2e6;
    border-color: #dee2e6;
}

.page-item.disabled .page-link {
    color: #6c757d;
    pointer-events: none;
    cursor: auto;
    background-color: #f7f7f8;
    border-color: #f7f7f8;
}

.page-link:focus {
    z-index: 2;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(155, 166, 178, 0.24);
}

.page-item.active .page-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 151, 191, 0.29);
}

.table-hover tbody tr:hover {
    background-color: rgb(250, 250, 250);
}

.btn-primary {
    color: #fff;
    background-color: var(--color-theme);
    border-color: var(--color-theme);
}

.btn-outline-primary {
    color: var(--color-theme);
    background-color: transparent;
    background-image: none;
    border-color: var(--color-theme);
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #2789ae;
    border-color: #2789ae;
}

.btn-primary:hover {
    color: #fff;
    background-color: #2789ae;
    border-color: #2789ae;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 151, 191, 0.37);
}

.btn-outline-primary:not(:disabled):not(.disabled).active:focus, .btn-outline-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-outline-primary.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 151, 191, 0.37);
}

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show>.btn-outline-primary.dropdown-toggle {
    color: #fff;
    background-color: #2789ae;
    border-color: #2789ae;
}

.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #2789ae;
    border-color: #2789ae;
}

.btn-primary.focus, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 151, 191, 0.29);
}

.btn-success {
    color: #fff;
    background-color: var(--color-success);
    border-color: var(--color-success);
}

.btn-success:hover {
    color: #fff;
    background-color: #8db75e;
    border-color: #8db75e;
}

.btn-success:not(:disabled):not(.disabled).active, .btn-success:not(:disabled):not(.disabled):active, .show>.btn-success.dropdown-toggle {
    color: #fff;
    background-color: #769850;
    border-color: #769850;
}

.btn-success:not(:disabled):not(.disabled).active:focus, .btn-success:not(:disabled):not(.disabled):active:focus, .show>.btn-success.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.2rem #9ece698a;
}

.btn-success.focus, .btn-success:focus {
    box-shadow: 0 0 0 0.2rem rgba(158, 206, 105, 0.35);
    background-color: #7aa14f;
    border-color: #7aa14f;
}

.btn-success.disabled, .btn-success:disabled {
    color: #fff;
    background-color: var(--color-success);
    border-color: var(--color-success);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--color-light-gray);
}

.close {
    font-weight: 200;
    color: #000;
    text-shadow: none;
}

.close:not(:disabled):not(.disabled):focus, 
.close:not(:disabled):not(.disabled):hover{
    outline: none;
}

.table-responsive .summary{
    font-size: 0.94rem;
    padding-bottom: 4px;
}

.alert-success {
    border-radius: 8px;
    color: #446223;
    background-color: #e3f3d1;
    border-color: #e3f3d1;
    border-left: 5px solid #44622382;
}

label {
    font-weight: 600;
}

.invalid-feedback {
    background: #e35a67;
    width: fit-content;
    color: #fff;
    padding: 3px 8px;
    border-radius: 5px;
    margin-top: 9px;
    z-index: 110;
}

.invalid-feedback::before{
    content: "\f0de";
    font-family: "Font Awesome 5 Free";
    width: 12px;
    height: 12px;
    display: block;
    position: absolute;
    margin-top: -15px;
    z-index: 10;
    font-weight: 700;
    color: #e35a67;
    font-size: 20px;
}

.custom-select.is-valid, .form-control.is-valid, .was-validated .custom-select:valid, .was-validated .form-control:valid {
    border-color: var(--color-success);
}

.custom-select.is-valid:focus, .form-control.is-valid:focus, .was-validated .custom-select:valid:focus, .was-validated .form-control:valid:focus {
    border-color: var(--color-success);
    box-shadow: 0 0 0 0.2rem rgba(158, 206, 105, 0.32);
}

.was-validated .form-control:valid, .form-control.is-valid{
    background-image: none;
    padding: .375rem .75rem;
}

.modal-content{
    border: 1px solid #7c7c7d;
    border-radius: 0.7rem;
}

.modal-footer,
.modal-header,
.modal-body{
    padding: 1rem;
}

.modal-header .close {
    padding: 1.2rem;
}

.grid-view .summary{
    padding-bottom: 5px;
    font-size: 0.9rem;
}

.table td, .table th {
    padding: 0.35rem;
}

.table thead th {
    padding: 0.95rem 0.35rem;
}

.select2-container--krajee-bs4 .select2-selection--single .select2-selection__arrow {
    height: 96.9%;  
}

.badge-success{
    background-color: var(--color-success);
}

.alert-light {
    color: #818182;
    background-color: #f7f7f8;
    border-color: #dee2e6;
}

.badge .custom-control{
    min-height: 0.9rem;
}

.badge .custom-checkbox .custom-control-label::before,
.badge .custom-checkbox .custom-control-label::after
{
    top: -0.04rem;
}

.badge .custom-control-label {
    margin-top: 1px;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--color-theme);
}

.custom-control-input:checked~.custom-control-label::before {
    background-color: var(--color-theme);
}

.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--color-theme);
    background-color: var(--color-theme);
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
    background-color: var(--color-theme);
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(43, 151, 191, 0.48);
}

.custom-control-input:not(:disabled):active ~ .custom-control-label::before {
    color: #fff;
    background-color: #2b97bf;
    border-color: #227b9c;
}

.custom-control-input:focus~.custom-control-label::before {
    box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(43, 151, 191, 0.49);
}

.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #2b97bf;
}

.btn-primary.disabled, 
.btn-primary:disabled {
    color: #fff;
    background-color: #2b97bf;
    border-color: #2b97bf;
}

.btn.disabled, .btn:disabled {
    opacity: .4;
}

@media (min-width: 992px){
    .modal-lg {
        max-width: 992px;
    }
}

.table-warning, .table-warning>td, .table-warning>th {
    background-color: var(--color-light-gray);
}

.table-hover .table-warning:hover>td, .table-hover .table-warning:hover>th {
    background-color: var(--color-light-gray);
}

.select2-container--krajee-bs4.select2-container--open:not(.select2-container--disabled) .select2-selection, 
.select2-container--krajee-bs4:not(.select2-container--disabled) .select2-selection:focus {
    border-color: #2b97bf;
    box-shadow: 0 0 0 0.2rem #2b97bf38;
}

.select2-container--krajee-bs4:not(.select2-container--disabled) .select2-dropdown {
    box-shadow: 0 0.375rem 0.75rem 0.2rem rgba(139, 145, 152, 0.25);
    border-color: #2b97bffa;
    overflow-x: hidden;
    margin-top: -1px;
}

.select2-container--krajee-bs4 li.select2-results__option {
    color: #535353;
    background-color: #ffffff;
}

.select2-container--krajee-bs4 .select2-results__option[aria-selected=true] {
    color: #31708f;
    background-color: #2b97bf1f;
}

.select2-container--krajee-bs4 .select2-results__option--highlighted[aria-selected] {
    background-color: var(--color-dark-gray);
    color: #fff;
}


.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #495057;
    background-color: #ace4f7;
    border-color: #ffffff #ffffff var(--color-theme) #ffffff;
    border-left: none;
    border-right: none;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}


.nav-tabs .nav-link {
    border: 2px solid transparent;
    border-left: none;
    border-right: none;
    border-bottom: 2px solid #dee2e6;
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: #ffffff #e9ecef var(--color-theme)
}

b, strong {
    font-weight: 700;
}

.alert-danger {
    border-radius: 8px;
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border-left: 5px solid #721c24;
}

.badge-success[href]:focus, .badge-success[href]:hover {
    color: #fff;
    text-decoration: none;
    background-color: #81b24b;
}

a.badge-success:focus, a.badge-success.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(158, 206, 105, 0.58);
}

.custom-control-label::before {
    background-color: #f7f7f8;
}

.custom-control-label::before {
    width: 1.05rem;
    height: 1.05rem;
}

.custom-control-label::after {
    width: 1.05rem;
    height: 1.05rem;
}

.btn-outline-success {
    color: var(--color-success);
    background-color: transparent;
    background-image: none;
    border-color: var(--color-success);
}

.badge-warning {
    color: #0000009c !important;
    background-color: #ffc107 !important;
}

.alert-light {
    border-radius: 8px;
    color: #616161;
    background-color: #f7f7f8;
    border-color: #f7f7f8;
    border-left: 5px solid #9ba6b2;
}

.btn-light {
    color: #4d4d4d;
    background-color: #f8f9fa;
    border-color: #e7e7e7;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
    border-left: 5px solid #f0d174;
    border-radius: 8px;
}

.btn-outline-success:hover {
    color: #fff;
    background-color: #9ece69;
    border-color: #9ece69;
}

.btn-secondary {
    color: #fff;
    background-color: #9ba6b2;
    border-color: #9ba6b2;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #697077;
    border-color: #63696f;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #e9e9e9;
}

.datetimepicker table tr td span.active:active, 
.datetimepicker table tr td span.active:hover:active, 
.datetimepicker table tr td span.active.disabled:active, 
.datetimepicker table tr td span.active.disabled:hover:active, 
.datetimepicker table tr td span.active.active, 
.datetimepicker table tr td span.active:hover.active, 
.datetimepicker table tr td span.active.disabled.active, 
.datetimepicker table tr td span.active.disabled:hover.active {
    color: #fff;
    background-color: var(--color-theme);
    border-color: var(--color-theme);
}

.datetimepicker table tr td.active:active, 
.datetimepicker table tr td.active.highlighted:active, 
.datetimepicker table tr td.active.active, 
.datetimepicker table tr td.active.highlighted.active {
    color: #fff;
    background-color: var(--color-theme);
    border-color: var(--color-theme);
    text-shadow: none;
}

.datetimepicker table tr td.active:active:hover, 
.datetimepicker table tr td.active.highlighted:active:hover, 
.datetimepicker table tr td.active.active:hover, 
.datetimepicker table tr td.active.highlighted.active:hover, 
.datetimepicker table tr td.active:active:focus, 
.datetimepicker table tr td.active.highlighted:active:focus, 
.datetimepicker table tr td.active.active:focus, 
.datetimepicker table tr td.active.highlighted.active:focus, 
.datetimepicker table tr td.active:active.focus, 
.datetimepicker table tr td.active.highlighted:active.focus, 
.datetimepicker table tr td.active.active.focus, 
.datetimepicker table tr td.active.highlighted.active.focus {
    color: #fff !important;
    background-color: var(--color-theme);
    border-color: var(--color-theme);
}

.datetimepicker table tr td.today {
    color: #000 !important;
    background-color: #e5e5e5 !important;
    border-color: #e5e5e5 !important;
}

.datetimepicker table tr td.today:hover {
    color: #000 !important;
    background-color: #e5e5e5 !important;
    border-color: #e5e5e5 !important;
}

.datetimepicker table tr td span.active:active:hover, 
.datetimepicker table tr td span.active:hover:active:hover, 
.datetimepicker table tr td span.active.disabled:active:hover, 
.datetimepicker table tr td span.active.disabled:hover:active:hover, 
.datetimepicker table tr td span.active.active:hover, 
.datetimepicker table tr td span.active:hover.active:hover, 
.datetimepicker table tr td span.active.disabled.active:hover, 
.datetimepicker table tr td span.active.disabled:hover.active:hover, 
.datetimepicker table tr td span.active:active:focus, 
.datetimepicker table tr td span.active:hover:active:focus, 
.datetimepicker table tr td span.active.disabled:active:focus, 
.datetimepicker table tr td span.active.disabled:hover:active:focus, 
.datetimepicker table tr td span.active.active:focus, 
.datetimepicker table tr td span.active:hover.active:focus, 
.datetimepicker table tr td span.active.disabled.active:focus, 
.datetimepicker table tr td span.active.disabled:hover.active:focus, 
.datetimepicker table tr td span.active:active.focus, 
.datetimepicker table tr td span.active:hover:active.focus, 
.datetimepicker table tr td span.active.disabled:active.focus, 
.datetimepicker table tr td span.active.disabled:hover:active.focus, 
.datetimepicker table tr td span.active.active.focus, 
.datetimepicker table tr td span.active:hover.active.focus, 
.datetimepicker table tr td span.active.disabled.active.focus, 
.datetimepicker table tr td span.active.disabled:hover.active.focus {
    color: #fff;
    background-color: var(--color-theme);
    border-color: var(--color-theme);
}

.datetimepicker table tr td.today.active:hover {
    color: #000 !important;
}

.table-bordered td, .table-bordered th {
    border: 1px solid #e9e9e9;
}

.alert-danger .btn-outline-danger {
    color: #721c24;
    background-color: transparent;
    background-image: none;
    border-color: #721c24;
}

.alert-danger .btn-outline-danger.focus, .alert-danger .btn-outline-danger:focus {
    box-shadow: 0 0 0 0.2rem rgba(114, 28, 36, 0.2);
}

.alert-danger .btn-outline-danger:not(:disabled):not(.disabled).active, 
.alert-danger .btn-outline-danger:not(:disabled):not(.disabled):active, 
.alert-danger .show>.btn-outline-danger.dropdown-toggle {
    color: #fff;
    background-color: #b3858a;
    border-color: #b3858a;
}

.btn-outline-primary.focus, .btn-outline-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(43, 151, 191, 0.25);
}

.table-responsive {
    overflow-y: visible !important;
}

h4 .badge-pill{
    position: relative;
    top: -3px;
}

.badge-danger {
    color: #fff;
    background-color: #c75c5c;
}

.list-group-item.disabled, .list-group-item:disabled {
    color: #6c757d;
    background-color: #fff;
    opacity: 0.6;
}

@media (max-width: 767px) {
    .table-responsive .dropdown-menu {
        position: static !important;
    }
}

.table-info, .table-info>td, .table-info>th {
    background-color: #d0d0d0;
}

.table-success, .table-success>td, .table-success>th {
    background-color: #dee2e6;
}

td.kv-group-odd {
    background-color: #ffffff00 !important;
}

td.kv-group-even {
    background-color: #ffffff !important;
}

.table-hover .table-success:hover>td, .table-hover .table-success:hover>th {
    background-color: #c9cbcd;
}

.dropdown-container > .dropdown:not(:first-child) {
    margin-left: 0.5rem;
}

.dropdown-container {
    overflow-x: auto;
}

.alert-warning a{
    color: #856404;
    font-weight: 600;
}

.page-item.active .page-link:hover{
    background-color: #2789ae;
    border-color: #2789ae;
}

@media (min-width: 1200px) 
    {.container {
        max-width: 100%;
    }
}

table.kv-grid-table > tbody > tr > td > a {
    border: 1px solid var(--color-theme);
    padding: 4px;
    border-radius: 4px;
    color: var(--color-theme);
}


table.kv-grid-table > tbody > tr > td > button {
    border: 1px solid var(--color-theme);
    padding: 4px;
    border-radius: 4px;
    color: var(--color-theme);
    height: 26px;
    background-color: transparent;
}

.select2-search__field {
    width: 100% !important;
}
.select2-container--krajee-bs4 .select2-selection--single .select2-selection__clear {
    right: 0.05rem!important;

}

.kv-table-header>tr, .kv-table-header>tr>td, .kv-table-header>tr>th, .table-bordered>thead.kv-table-header>tr, .table-bordered>thead.kv-table-header>tr>td, .table-bordered>thead.kv-table-header>tr>th {
    border-bottom: none;
    border-top: none;
}
.highlighted {
    background-color: #d8d8d8 !important;
}

.export-menu-dropdown.dropdown-menu {
    right: 0 !important;
    left: auto !important;
}

.select2-container--krajee-bs4 .select2-results__group {
    width: 100%;
    word-wrap: break-word;
    word-break: break-word; /* более приоритетно */
    white-space: normal;
}