.text-right {
    text-align: right;
}

.alert-primary .text-primary {
    color: #50cd89!important;
}

.alert-primary .svg-icon.svg-icon-primary svg [fill]:not(.permanent):not(g) {
    fill: #50cd89!important;
}

table.first-col-highlighted > *:first-child:not(thead) td:first-child {
    background-color: #f3f7f9;
    min-width: 160px;
    width: 25%;
    font-weight: 500;
    vertical-align: top;
}

.form-control.form-control-solid, .form-select.form-select-solid {
    border-color: #e4e6ef !important;
    background-color: #ffffff !important;
}

.dropdown.show>.form-select.form-select-solid, .form-select.form-select-solid.active, .form-select.form-select-solid.focus, .form-select.form-select-solid:active, .form-select.form-select-solid:focus {
    border-color: #e4e6ef !important;
}

.autocomplete-wrapper {
    width: 100%;
    max-height: 300px;
    overflow: scroll;
    box-shadow: 0px 20px 50px 0 rgb(82 63 105 / 10%);
}

.autocomplete-wrapper .dropdown-item {
    padding: 0.45rem 1rem;
}

.autocomplete-wrapper .dropdown-item:focus-visible {
    outline: none;
}

.autocomplete-wrapper .dropdown-item.active, .dropdown-item:active {
    background-color: inherit;
}

table.dataTable thead th, table.dataTable tbody td {
    white-space: normal;
    word-wrap: break-word;
    max-width: 200px;
}

table.dataTable>thead .sorting:after, table.dataTable>thead .sorting:before, table.dataTable>thead .sorting_asc:after, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_desc:after, table.dataTable>thead .sorting_desc:before {
    right: 0;
}

.select2-container--bootstrap5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
    right: 0;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice .select2-selection__choice__remove {
    margin-left: 0.5em;
    margin-right: 0.5em;
}

.select2-container--bootstrap5 .select2-selection--multiple:not(.form-select-sm):not(.form-select-lg) .select2-selection__choice .select2-selection__choice__display {
    margin-right: 1.4rem;
    margin-left: 0.4em;
}

body[data-kt-sticky-header="on"] .main-logo {
    height: 55px !important;
}

@media (max-width: 991.98px) {
    .main-logo {
        height: 55px !important;
    }
}

span.font-italic {
    font-style: italic;
}

.ribbon {
    z-index: 100;
    margin: 0;
    padding: 0;
    background: red;
    color:white;
    padding:0.6em 0;
    top:0;
    right:0;
    left:0;
    text-align: center;
    cursor: pointer;
    position: sticky;
}

.datepicker-item, .datetimepicker-item {
    cursor: pointer !important;
}

input::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}