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

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

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

.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: 6px;
    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;
}

.select2-container .select2-selection--single {
    height: 34px;
}

.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #d8dbe0;
    border-radius: 4px;
}

.blue_btn {
    border-radius: 0;
    color: #ffffff;
    padding: 7px 15px;
    background-color: #2819ae;
}

.freez-cols .shadow {
    height: calc(100vh - 340px);
}

.freez-cols .shadow table td:first-child,
.shadow table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background-color: white;
}

.freez-cols .shadow table td:first-child {
    background-color: white !important;
}

.freez-cols table td:nth-child(2),
.freez-cols table th:nth-child(2) {
    position: sticky;
    left: 48px;
    z-index: 1;
}

.freez-cols table td:nth-child(3),
.freez-cols table th:nth-child(3) {
    position: sticky;
    left: 94px;
    z-index: 1;
}

.freez-cols table th {
    position: sticky;
    top: 0;
    background-color: #f9fafb;
    z-index: 2;
}

.freez-cols table th:first-child,
.freez-cols table th:nth-child(2),
.freez-cols table th:nth-child(3) {
    z-index: 3;
}

.freez-cols table tr:nth-child(odd) td {
    background-color: white;
}

.freez-cols table tr:nth-child(even) td {
    background-color: #f9fafb;
}

/* ROMANO EDITS */

.btn-warning,
.btn-warning:hover {
    color: #fff;
}

.card-header h2 {
    font-size: 18px;
    margin: 0px;
}

hr {
    border-color: #eee;
}

/*--- LOADING ANIMATION TEXT -----*/
.lds-dual-ring {
    display: inline-block;
    width: 20px;
    height: auto;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 15px;
    height: 15px;
    margin: 0 8px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    border-color: #fff transparent #fff transparent;
    animation: lds-dual-ring 1.2s linear infinite;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/*----------------------------------------*/

#contact-companies-table td,
#contact-companies-table label {
    color: #333;
}

[x-cloak] {
    display: none !important;
}

#perPage {
    margin-bottom: 1.5rem;
}

td.px-6,
th.px-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.grid .font-medium {
    font-weight: bold;
}

.freez-cols table a {
    text-decoration: none;
    background-color: transparent;
    color: #321fdb;
}

#contact-companies-table td,
#contact-companies-table label {
    color: #333;
}

[x-cloak] {
    display: none !important;
}

#perPage {
    margin-bottom: 1.5rem;
}

td.px-6,
th.px-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.grid .font-medium {
    font-weight: bold;
}

.card-header h5 {
    margin-bottom: 0px;
}

label {
    font-weight: 500;
}

/* ------------------------------------ - ROMANO CSS - -------------------------------------*/
/*
.btn .c-icon,
.btn i {
    width: auto;
    height: auto;
    margin: auto;
} */

.modal-backdrop:nth-child(2n-1) {
    display: none;
}

.table-responsive {
    position: relative;
}

/*---- Filters --------------*/

.custom-filters {
    display: inline-block;
    width: 100%;
}

.filter-divider {
    width: auto;
    display: none;
    margin: 0px 20px 0px 0px;
    width: 23.5%;
    float: left;
    height: 100px;
    overflow: auto;
    position: relative;
}

.filter-divider.date{
    height:auto;
    overflow: visible;
}

.filter-divider.show {
    display: inline-block !important;
}

.filter-divider.static {
    display: inline-block !important;
    overflow: visible;
}

.hidden-dropdown-wrapper {
    display: inline-block;
    position: relative;
}

.hidden-dropdown-button {
    margin: -5px 0px 0px 0px !important;
    background: #fff;
    min-width: 100px;
    text-align: center;
}

.hidden-dropdown-button:hover {
    background: #ccc;
}

.hidden-dropdown-list {
    position: absolute;
    z-index: 1000;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.2);
    background: #fff;
    width: 180px;
    display: none;
    text-align: left;
    margin-top: 7px;
    margin-left: -11px;
    padding: 10px 0px 0px;
    max-height: 70vh;
    overflow-wrap: break-word;
    overflow: auto;
}

.hidden-dropdown-list label {
    display: block;
    position: static;
    cursor: pointer;
    padding: 0px 10px;
    text-overflow: ellipsis;
    font-size: 12px;
}

.hidden-dropdown-list label:hover {
    display: block;
    position: static;
    cursor: pointer;
}

.hidden-dropdown-list label input {
    margin-right: 10px;
}

/*------------------------------------------------- Datatable ----------*/

.planner-cell {
    background: #b3ff99 !important;
    /* margin: -10px -10px; */
    height: 100%;
    padding: 10px;
}

.planner-cell:has(.booked) { background: #ffff99 !important; }
.planner-cell:has(.unavailable) { background: #ff9999 !important; }

.theDatatable{
    max-width: 100%;
    overflow: hidden;
}

.datatableWrapper {
    min-height: calc(100vh - 500px);
    max-width: 100%;
    overflow: hidden;
}

.datatable td,
.datatable th {
    white-space: nowrap !important;
}

.table-bordered,
.table-bordered td {
    border: 1px solid;
    border-color: #eee;
}

.datatable td .fas {
    color: #999;
    margin: 0px 4px 0px 0px;
    font-size: 16px;
}

.datatable td a {
    text-decoration: none;
    background-color: transparent;
    color: #39f;
}

.datatable td a:hover {
    color: #321fdb;
}

.datatable td {
    background-color: white;
}

.datatable .odd td {
    background-color: #f9fafb;
}

.datatable td .fas:hover {
    color: #000;
}

.dataTables_scrollBody {
    max-height: calc(100vh - 390px);
}

.datatable .dtfc-fixed-left {
    z-index: 10;
}

.table-loading-overlay {
    background: hsla(0, 0%, 100%, 0.8);
    color: #333;
    font-size: 30px;
    height: 100%;
    padding: 10% 0px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 100;
    left: 0;
    display: none;
}

.datatable-row-checkbox {
    margin: 3px auto 0px;
}

.dt-buttons .btn {
    background: #eee;
}

.dt-buttons .btn:hover {
    background: #FFF;
}


.datatable-bulk-actions{
    float: right;
    text-align: right;
    font-weight: bold;
    margin-bottom: -40px;
    position: relative;
    z-index: 100;
}

.datatable-bulk-actions select{
    min-width: 150px;
}

/*----- Pagination -----------*/

.pagination-wrapper {
    padding: 20px 10px;
}

.pagination-wrapper #counter {
    font-size: 14px;
    font-weight: 500;
}

#pagination_buttons {
    display: inline-block;
    width: 100%;
    font-size: 0.7rem;
}

#pagination_buttons .fas {
    margin: 0px 4px 0px 0px;
}

.pagination_select {
    display: inline-block;
}

.pagination_select select {
    padding: 3px;
    font-size: 14px;
    font-weight: 500;
    margin: 5px 0px;
    display: inline-block;
    border: 1px solid #ccc;
    width: 100px;
    border-radius: 5px;
    margin-right: 50px;
}

#pagination_buttons button {
    margin: -5px 0px 5px 5px;
    width: 5%;
    min-width: 60px;
    font-size: 0.7rem;
}

/*----Filters ----*/
.filter-options {
    display: block;
    margin: 0px 0px 10px 0px;
    background: #eee;
    cursor: pointer;
}

.filter-options:hover {
    background: #ccc;
}

.filter-options span {
    display: inline-block;
    padding: 10px;
}

.filter-options.active {
    background: #2eb85c;
    color: #fff;
}

.filter-options i.fas {
    padding: 13px;
}

.not-found-message {
    padding: 30px;
    font-size: 16px;
    font-weight: 500;
    color: #ccc;
}

.filter-options .red {
    color: #cc0000;
}

/*-------------------*/

.ql-editor {
    min-height: 250px;
}

