td, th {
    vertical-align:middle;
}

.form-control.invalid {
    border-color: rgb(var(--ct-danger-rgb));
}

.form-select.invalid {
    border-color: rgb(var(--ct-danger-rgb));
}

.logo-lg img {
    height: 60px !important;
}

.dropdown-divider {
    margin:0;
}

.mind-table-compact th {
    padding: 5px;
    text-align: left;
}

.mind-table-compact td {
    padding: 5px;
    cursor: pointer;
}


.mind-row-toolbar i {
    font-size: 18px;
}

.mind-inline-button {
    margin-top: 21px;
}


.mind-table-clienti th {
    padding: 5px;
}

.mind-table-clienti td {
    padding: 5px;
    cursor: pointer;
}

.mind-table-fatture th {
    padding: 5px;
    text-align: left;
}

.mind-table-fatture td {
    padding: 5px;
    cursor: pointer;
}

.mind-table-scadenze th {
    padding: 5px;
}

.mind-table-scadenze td {
    padding: 5px;
    cursor: pointer;
}

.mind-table-elementi-scadenze th {
    padding: 5px;
}

.mind-table-elementi-scadenze td {
    padding: 5px;
    cursor: pointer;
    /*white-space: pre-wrap;*/
    vertical-align: middle;
}

.mind-scrollable-wrapper {
    max-height: 500px;
    overflow-y: auto;
}

.mind-folder-toolbar {
    position: absolute;
    top: 3px;
    right: 5px;
    padding: 2px;
}

.mind-files-search {
    position: relative;
}

.mind-files-autocomplete {
    position: absolute;
    top: 38px;
    left: 2px;
}

    .mind-files-autocomplete ul {
        margin: 0;
        padding: 0;
        list-style: none;
        background-color: var(--ct-secondary-bg);
        min-width: 300px;
        /*border: solid 1px #e3e3e3;*/
        border: var(--ct-border-width) solid var(--ct-border-color);
    }

        .mind-files-autocomplete ul li {
            border-bottom: solid 1px var(--ct-border-color);
            padding: 10px;
            cursor: pointer;
        }

            .mind-files-autocomplete ul li > a {
                display: block;
            }

            .mind-files-autocomplete ul li:last-child {
                border-bottom: none;
                /*padding: 10px;*/
            }

            .mind-files-autocomplete ul li:hover {
                background-color: #f6f6f6;
            }

.mind-please-wait {
    margin: auto;
    z-index: 4;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

    .mind-please-wait > div:first-child {
        border: solid 1px #f6f6f6;
        background-color: rgb(38, 48, 56);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 80px;
        height: 80px;
        z-index: 4;
    }



.mind-please-wait-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(38, 48, 56);
    opacity: .8;
    z-index: 3;
}

.mind-please-wait .loader {
    width: 48px;
    height: 48px;
    display: inline-block;
    position: relative;
}

    .mind-please-wait .loader::before {
        content: '';
        box-sizing: border-box;
        width: 24px;
        height: 24px;
        position: absolute;
        left: 0;
        top: -24px;
        animation: animloader1 2s linear infinite alternate;
    }

    .mind-please-wait .loader::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 24px;
        height: 24px;
        background: rgba(255, 255, 255, 0.85);
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
        box-sizing: border-box;
        animation: animloader2 2s linear infinite alternate;
    }

@keyframes animloader1 {
    0%, 32% {
        box-shadow: 0 24px white, 24px 24px rgba(255, 255, 255, 0), 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }

    33%, 65% {
        box-shadow: 0 24px white, 24px 24px white, 24px 48px rgba(255, 255, 255, 0), 0px 48px rgba(255, 255, 255, 0);
    }

    66%, 99% {
        box-shadow: 0 24px white, 24px 24px white, 24px 48px white, 0px 48px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 24px white, 24px 24px white, 24px 48px white, 0px 48px white;
    }
}

@keyframes animloader2 {
    0% {
        transform: translate(0, 0) rotateX(0) rotateY(0);
    }

    33% {
        transform: translate(100%, 0) rotateX(0) rotateY(180deg);
    }

    66% {
        transform: translate(100%, 100%) rotateX(-180deg) rotateY(180deg);
    }

    100% {
        transform: translate(0, 100%) rotateX(-180deg) rotateY(360deg);
    }
}



.mind-please-wait-content {
    font-weight: 400;
    color: #f6f6f6;
    margin-top: 30px;
    position: relative;
    display: inline-block;
}

    .mind-please-wait-content::before {
        content: 'Elaborazione in corso!';
        color: #FFF;
        display: inline-block;
        box-sizing: border-box;
        animation: floating 1s ease-out infinite alternate;
    }

    .mind-please-wait-content::after {
        content: '';
        width: 100%;
        height: 10px;
        background: rgba(0, 0, 0, 0.15);
        position: absolute;
        left: 0;
        top: 100%;
        filter: blur(4px);
        border-radius: 50%;
        box-sizing: border-box;
        animation: animloader 1s ease-out infinite alternate;
    }

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-25px);
    }
}

@keyframes animloader {
    0% {
        transform: scale(0.8);
    }

    100% {
        transform: scale(1.2);
    }
}


@media (min-width: 1200px) {
    .modal-xl {
        --ct-modal-width: 1300px;
    }
}
