td {
    vertical-align: middle !important;
}

.sidenav {
    z-index: 2 !important;
}

input,
.select2-selection,
textarea {
    color: black !important;
}

td svg {
    font-size: 20px !important;
}

.select2-results__options {
    overflow-y: auto;
    max-height: 300px;
}

.no-wrap {
    white-space: normal !important;
}

li[aria-selected="true"] {
    background-color: rgb(167, 167, 167);
}

.select2-container--classic
    .select2-selection--multiple
    .select2-selection__choice {
    background-color: #ffffff;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 2px 5px;
}

.select2-results__option[aria-selected="true"] {
    background-color: #5e72e4;
    color: white;
}

.select2-selection--single {
    /* height: 100% !important; */
    overflow: hidden;
}

.select2-selection__rendered {
    word-wrap: normal !important;
    text-overflow: inherit !important;
    white-space: normal !important;
}

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

.ql-toolbar + .ql-container {
    margin-top: 0px;
}

.ql-toolbar.ql-snow + .ql-container.ql-snow {
    border-top: 1px solid #ccc;
}

.was-validated .form-control:invalid,
.form-control.is-invalid,
.was-validated .custom-select:invalid,
.custom-select.is-invalid {
    border: 1px solid #fb6340 !important;
    border-color: #fb6340;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: white;
    opacity: 1;
    cursor: pointer;
}

/* Style the select2 dropdown when it's invalid */
.select2.is-invalid + .select2-container .select2-selection--single {
    border-color: #dc3545 !important;
}

/* Style the select2 input when it's invalid */
.select2.is-invalid
    + .select2-container
    .select2-selection--single
    .select2-selection__rendered {
    color: #dc3545 !important;
}

.select2-container--classic .select2-selection--single {
    background-color: #f7f7f7;
    border: 1px solid #aaa;
    border-radius: 4px;
    outline: 0;
    background-image: none;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

.select2-container--classic .select2-selection--single {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    outline: 0;
    background-image: none;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0);
}

.select2-container--classic.select2-container--open.select2-container--below
    .select2-selection--single {
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background-image: none;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0);
}

.ql-toolbar + .ql-container {
    margin-top: 10px;
}

.ql-toolbar.ql-snow + .ql-container.ql-snow {
    border-top: 1px solid #ccc;
}

.ql-container.ql-snow {
    border-radius: 5px;
}

.ql-editor {
    border: 1px solid #ccc !important;
}

.ql-container.ql-snow.is-invalid {
    border-top: 1px solid #f00 !important;
    border: 1px solid #f00;
}

.ql-toolbar.ql-snow + .ql-container.ql-snow {
    border-top: 1px solid #ccc;
}

.backdrop {
    position: fixed;
    z-index: 1040;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    cursor: pointer;
}

.d-flex.flex-column .btn.dropdown-toggle {
    background-color: #edeff1 !important;
    border: 1px solid transparent;
    border-radius: 0.375rem;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}
