/* cambio colore body */
html:not(.dark) body {
    background: #f5f5f7 !important;
}

html:not(.dark) .fi-sidebar-nav {
    background: white;
    border-top: 1px solid rgb(228, 228, 231);
    border-right: 1px solid rgb(228, 228, 231);
}

input:disabled,
select:disabled,
textarea:disabled,
.choices.is-disabled {
    background: #ebebeb !important;
}

main.fi-simple-main {
    margin-left: 15px !important;
    margin-right: 15px !important;
    margin-top: -100px !important;
}

/* cambia larghezza modale creazione iscritto */
.fi-modal-window:has(.ekeria-custom-modal) {
    max-width: 60vw !important;
}

/* scollbar width */
.fi-sidebar-nav {
    scrollbar-width: thin;
}

.fi-modal-window:has(.ekeria-custom-modal-sectors) {
    overflow: hidden;
}

/* .fi-modal-window:has(.ekeria-custom-modal-sectors) .ekeria-custom-modal-sectors {
    height: 350px;
} */

.ekeria-custom-modal-sectors:has(.choices__list.is-active) {
    height: 250px;
}

.fi-ta-actions:has(.ekeria-left-button) {
    margin: 0;
}

div[x-ref="modalContainer"] {
    align-items: center;
}

.text-capitalize {
    text-transform: capitalize;
}

.filepond--file {
    background: #007400 !important;
}

li.filepond--item {
    margin-bottom: 5px;
}

@media only screen and (max-width: 600px) {

    .fi-section-header,
    .fi-ta-header {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .fi-header {
        display: flex !important;
        flex-direction: column-reverse !important;
    }

    .fi-header:has(.ekeria-mobile-button) {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .fi-header:has(.ekeria-back-button) h1.fi-header-heading {
        margin-top: 30px;
    }

    .fi-header:has(.ekeria-mobile-button) h1.fi-header-heading {
        margin-top: 0;
    }

    .ekeria-back-button .fi-btn-label {
        display: none;
    }

    .ekeria-btn-filter, .ekeria-btn-nuovo {
        width: 100%;
    }

    .fi-ac.gap-3.flex.flex-wrap.items-center.justify-start:has(.ekeria-btn-nuovo) {
        justify-content: flex-end !important;
    }
}

.ec-list.ec-month-view .ec-day-head {
    flex-direction: row-reverse !important;
    display: flex !important;
    justify-content: space-between !important;
    background: #f5f5f7 !important;
}


.ec-list.ec-month-view .ec-day .ec-event {
    padding: 15px !important;
}

.ec-button.ec-today {
    color: white !important;
    position: relative;
    cursor: pointer;
}

.ec-button.ec-today::before {
    content: 'Oggi';
    color: black;
    width: auto;
    position: absolute;
}

.ekeria-modal-event-delete~button {
    display: none !important;
}

/* div[x-bind="menu"]:has(.ekeria-modal-create) {
    background-color: red !important;
} */

.fi-disabled *,
.disabled\:text-gray-500 {
    color: black !important;
    -webkit-text-fill-color: black !important;
    opacity: 1;
}

.ekeria-section-operator,
.fi-resource-relation-managers {
    margin-top: 75px;
}

.fi-resource-relation-managers {
    margin-bottom: 75px;
}

.fi-btn-color-secondary,
.fi-btn-color-secondary * {
    background: white !important;
    color: #149fda !important;
}

.fi-btn-color-secondary {
    border: 1px solid rgb(228, 228, 231);
}

.fi-main {
    margin-bottom: 100px;
}

.fi-pagination-overview {
    display: block !important;
}
