.ck-editor__editable,
textarea {
    min-height: 150px;
}

.datatable {
    width: 100% !important;
}

table.dataTable tbody td.select-checkbox::before,
table.dataTable tbody td.select-checkbox::after,
table.dataTable tbody th.select-checkbox::before,
table.dataTable tbody th.select-checkbox::after {
    top: 50%;
}

.dataTables_length,
.dataTables_filter,
.dt-buttons {
    margin-bottom: 0.333em;
    margin-top: 0.2rem;
}

.dataTables_filter {
    margin-right: 0.2rem;
}

.dt-buttons .btn {
    margin-left: 0.333em;
    border-radius: 0;
}

.table.datatable {
    box-sizing: border-box;
    border-collapse: collapse;
}

table.dataTable thead th {
    border-bottom: 2px solid #c8ced3;
}

.dataTables_wrapper.no-footer .dataTables_scrollBody {
    border-bottom: 1px solid #c8ced3;
}

.select2 {
    max-width: 100%;
    width: 100% !important;
}

.select2-selection__rendered {
    padding-bottom: 5px !important;
}

.has-error .invalid-feedback {
    display: block !important;
}

.btn-info,
.badge-info {
    color: white;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background-image: none;
}

.sidebar .nav-item {
    cursor: pointer;
}

.btn-default {
    color: #23282c;
    background-color: #f0f3f5;
    border-color: #f0f3f5;
}

.btn-default.focus,
.btn-default:focus {
    box-shadow: 0 0 0 0.2rem rgba(209, 213, 215, 0.5);
}

.btn-default:hover {
    color: #23282c;
    background-color: #d9e1e6;
    border-color: #d1dbe1;
}

.btn-group-xs > .btn,
.btn-xs {
    padding: 1px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.searchable-title {
    font-weight: bold;
}
.searchable-fields {
    padding-left: 5px;
}
.searchable-link {
    padding: 0 5px 0 5px;
}
.searchable-link:hover {
    cursor: pointer;
    background: #eaeaea;
}
.select2-results__option {
    padding-left: 0px;
    padding-right: 0px;
}

.form-group .required::after {
    content: " *";
    color: red;
}

.form-check.is-invalid ~ .invalid-feedback {
    display: block;
}

.c-sidebar-brand .c-sidebar-brand-full:hover {
    color: inherit;
}

.custom-select.form-control-sm {
    padding: 0.25rem 1.5rem;
}

.c-active::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #f8f9fa;
    border-radius: 100px;
    margin-left: auto;
}

.hide {
    display: none !important;
}

.form-date {
    border: 1px solid #ced4da !important;
    width: 100% !important;
    height: 2.5rem;
}

.preview-image {
    width: 100% !important;
    height: 100% !important;
    background-color: #f0f3f5 !important;
}

.fw-bold {
    font-weight: bold;
}

.hide-tabs {
    display: none;
}

.show-tabs {
    display: block;
}

.col-warning-tbody {
    background-color: #ffebbf;
}
.col-warning {
    background-color: #ffdfbf;
}
.col-footer-warning {
    background-color: #ffdfbf;
}

.col-danger-tbody {
    background-color: #ffbfbf;
}
.col-danger {
    background-color: #ffcabf;
}
.col-footer-danger {
    background-color: #ffcabf;
}

.col-success-tbody {
    background-color: #dbffbf;
}
.col-success {
    background-color: #ccffbf;
}
.col-footer-success {
    background-color: #ccffbf;
}

input.form-disabled[type="number"]::-webkit-inner-spin-button,
input.form-disabled[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.form-disabled[type="number"] {
    -moz-appearance: textfield;
}

.bg-softlight {
    background-color: #f5f5f5 !important;
}

.pointer {
    cursor: pointer;
}

a.decoration-none:hover {
    text-decoration: none !important;
}

.vh-50 {
    min-height: 50vh !important;
}

.vh-75 {
    min-height: 75vh !important;
}

.kebab-button {
    position: relative;
    border: 1px solid #ffffff00;
    border: none;
    padding: 0px 10px;
    background-color: transparent;
    font-size: 18px;
}

.kebab-item {
    display: none;
    position: absolute;
    content: "";
    left: 97%;
    top: 0%;
    min-width: 100px !important;
    background-color: #fff;
    z-index: 999;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.custom-file,
.custom-file-labels {
    position: relative;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
}
.custom-file-labels {
    position: absolute;
    margin: 0;
    width: 100%;
    right: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 0px 10px;
    height: calc(1.5em + 0.75rem + 2px);
    font-weight: 400;
    border: 1px solid;
    border-top-color: currentcolor;
    border-right-color: currentcolor;
    border-bottom-color: currentcolor;
    border-left-color: currentcolor;
    border-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
    background-color: #fff;
    border-color: #d8dbe0;
    cursor: pointer;
}

.img-preview {
    position: absolute;
    left: 50%;
    bottom: 100%;
    z-index: 999999;
    width: 250px;
    margin: 20px;
}

.img-preview2 {
    position: absolute;
    left: 50%;
    bottom: -35%;
    z-index: 999999;
    width: 250px;
    margin: 20px;
}

.bg-tosca {
    background-color: #1aae9f !important;
}

.badge-warning-soft {
    background-color: #fae6d8 !important;
}

#btnSidebar {
    display: none;
}

@media (max-width: 559px) {
    .c-sidebar-sm-show {
        width: 100vw !important;
    }
}

@media (min-width: 600px) and (max-width: 699px) {
    .c-sidebar-sm-show {
        width: 45vw !important;
    }
}

@media (min-width: 700px) and (max-width: 991px) {
    .c-sidebar-sm-show {
        width: 30vw !important;
    }
}

@media (max-width: 991px) {
    #btnSidebar {
        display: block !important;
    }

    .c-sidebar-sm-show {
        display: block !important;
        height: 100vh;
        position: fixed;
        top: 0;
        left: 0;
        margin: 0 !important;
        padding: 0 !important;
        overflow-y: auto;
    }

    .c-sidebar-brand {
        display: flex;
        justify-content: space-between;
        padding: 10px;
    }
}

.container-password {
    width: 40%;
}

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