.dropdown-menu .dropdown-item .fal,
.dropdown-menu .dropdown-item .fa {
    width: 16px;
    text-align: center;
}

/* Status buttons */
.dropdown-toggle::after {
    margin-left: 0.4em;
}

.progress .progress-bar {
    border-radius: 3px;
}

.text-underline {
    color: var(--bs-body-color);
    text-decoration: underline dashed #4680ff !important;
    font-weight: 500;
    text-underline-offset: 4px;
}

/**
 * Datatable related CSS updates
 */
table.dataTable colgroup {
    display: none;
}

.datatable-table thead th,
.table thead th {
    text-transform: capitalize !important;
    font-size: 12px;
}

.table.wrap td,
.table.wrap th {
    white-space: normal !important;
}

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

.c-py-3 {
    padding-top: 1.17rem !important;
    padding-bottom: 1.17rem !important;
}

/* Centering option for table columns (to center the <td>s, but not when responsive overflows them to the child row) */
td.center-when-in-td {
    text-align: center;
}

/* Override DataTable default to allow wrapping of long lines in responsive table child rows. We have Additional
 * Information values which can be quite long and if they're all on one line it ends up making the table too wide
 * when the child row is expanded. */
.table tr.child td {
    white-space: initial;
}


/* For highlighting search results. <mark> is a standard HTML element. */
mark {
    background: #FCF25E;
    padding: 0;
}

/**
 * Steps for site flows count
 */
.steps-form {
    display: table;
    width: 100%;
    position: relative;
}

.steps-form .steps-row {
    display: flex;
    justify-content: space-between;
}

.steps-form .steps-row.multi-line-steps {
    flex-flow: row wrap;
    align-content: space-between;
    justify-content: start;
}

.steps-form .steps-row:before {
    top: 25px;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 100%;
    height: 1px;
    background-color: #ccc;
}

.steps-form .steps-row .steps-step {
    text-align: center;
    position: relative;
}

.steps-form .steps-row .steps-step p {
    margin-top: 0.5rem;
    color: #000000;
}

.steps-form .steps-row .steps-step button[disabled] {
    opacity: 1 !important;
    filter: alpha(opacity=100) !important;
}

.steps-form .steps-row .steps-step .btn-circle {
    width: 50px;
    height: 50px;
    text-align: center;
    padding: 11px 0;
    font-size: 17px;
    line-height: 1.428571429;
    border-radius: 40px;
    margin-top: 0;
    color: white;
}

.bg-red-lighten-1 {
    background-color: #ef9a9a !important;
}

.bg-red-lighten-2 {
    background-color: #e57373 !important;
}

.bg-red-darken-1 {
    background-color: #d32f2f !important;
}

.bg-red-darken-2 {
    background-color: #b71c1c !important;
}

.bg-light1 {
    background-color: #E9DFEC !important;
}

/* Required related css */
label.error {
    color: #F00;
    font-size: 14px;
}

.required:after {
    content: "*" !important;
    color: red !important;
}

.mw-200 {
    max-width: 200px;
}

/**
 * Select2 for multiple selection
 */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-search {
    display: inline-block;
    width: auto;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 0.765625rem;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
    font-size: 0.765625rem;
    line-height: 1.2;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    font-size: 0.765625rem;
    line-height: 2;
}

li.select2-selection__choice {
    display: inline-block !important;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

ul.select2-selection__rendered {
    padding-right: 12px !important;
}
.select2-selection__choice__remove{
    color:#fff;
}

/**
 *  table column content wrap
 */
.dtr-details .mw-200 {
    max-width: 100%;
    white-space: normal !important;
}

.form-label {
    font-weight: 500;
}

th.action {
    width: 80px !important;
}

.row-sorting-icon {
    color: #4680FF;
    font-size: 16px;
}

.table-row-sorting {
    width: 70px !important;
}

/** Full Calendar */
.fc-toolbar-chunk .fc-today-button{
    border-radius: var(--bs-btn-border-radius) !important;
}

.fc-event{
    background-color: #eff0f2 !important;
    color: #5b6b79 !important;
    border: 1px solid #999 !important;
}

.fc-h-event .fc-event-main{
    color: #5b6b79 !important;
}


/** Inline Block Separators */
.list-inline.separator li:not(:last-child):after {
    content: '|';
    margin: 0 10px;
}

/* Added this because popover is not showing on modal/popup */
div.popover {
    z-index: 999999 !important;
}

/* Swal.fire modal shows up underneath comments dialog without this. */
body>.swal2-container {
    z-index: 2000 !important;
}

.c-line-marker-notes {
    display: inline-block;
    width: 30px;
    height: 3px;
    margin-right: 5px;
    position: relative;
    top: -4px;
}

.wrap-text {
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
