/*Globali */

textarea {
    resize: none;
}

.rz-textbox {
    width: 100%;
}

/* Inizio Rz Switch */
.rz-col .rz-switch {
    margin: 17px 10px;
}

.rz-switch {
    height: 15px !important;
}

    .rz-switch.rz-switch-circle {
        background: #db7676;
        transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
        border-radius: calc(5 * var(--rz-border-radius));
    }

    .rz-switch.rz-state-empty span {
        background: #d5c8c8 !important;
    }

    .rz-switch.rz-switch-checked span {
        background: #00ad4d !important;
    }

    .rz-switch.rz-switch-circle.rz-disabled {
        opacity: .8;
        cursor: initial;
    }

    .rz-switch .rz-switch-circle:before {
        box-shadow: 0 0 2px #00642c;
        background: var(--rz-switch-circle-background-color);
        width: 1rem;
        height: 1rem;
        inset-inline-start: 0.4rem;
        margin-block-start: -0.5rem;
        border-radius: calc(5 * var(--rz-border-radius) - 3px);
        transition: transform .2s linear;
    }

/* Fine Rz Switch */

.rz-col {
    position: relative;
}

    .rz-col .rz-messages-error {
        position: absolute;
        right: 40px;
        top: 15px;
    }

/* Inizio Rz Form */

.rz-form-field {
    width: 100%;
}

.rz-form-inLine {
    margin-bottom: 20px;
}

.rz-form {
}

    .rz-form .invalid {
        height: 46px;
        width: 100% !important;
    }

    .rz-form .rz-row {
        padding: 3px 0 !important;
    }

    .rz-form .rz-label {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: #333 !important;
        text-transform: capitalize;
        padding: 15px 10px 0 10px;
        display: block;
    }

        .rz-form .rz-label.switch-label {
            background-color: transparent !important;
            position: relative !important;
            display: inline !important;
            top: 0 !important;
            padding: 10px 10px 0 10px;
            line-height: 50px;
        }


    .rz-form .rz-textbox,
    .rz-form-inLine .rz-textbox {
        width: 100%;
        font-weight: 700;
        font-size: 16px;
        color: #333 !important;
        transition: background-color 1s ease;
        transition: border-color 1s ease;
        padding: 22px 10px;
        border-radius: 5px;
    }

        .rz-form .rz-textbox.rz-state-disabled {
            width: 100%;
            font-weight: 700;
            font-size: 16px;
            border: none;
            color: #333 !important;
            transition: background-color 1s ease;
            transition: border-color 1s ease;
            padding: 22px 10px;
            background-color: transparent !important;
            opacity: 1;
        }

    .rz-form .rz-textarea {
        resize: none;
        width: 100%;
        font-weight: 700;
        font-size: 16px;
        color: #333 !important;
        transition: background-color 1s ease;
        transition: border-color 1s ease;
        padding: 10px 10px;
        border-radius: 5px;
    }

        .rz-form .rz-textarea.rz-state-disabled {
            width: 100%;
            font-weight: 700;
            font-size: 16px;
            border: none;
            color: #333 !important;
            transition: background-color 1s ease;
            transition: border-color 1s ease;
            padding: 10px 10px;
            background-color: transparent !important;
            opacity: 1;
        }

    .rz-form .rz-dropdown,
    .rz-form-inLine .rz-dropdown {
        width: 100% !important;
        font-weight: 700;
        font-size: 16px;
        color: #333 !important;
        transition: background-color 1s ease;
        transition: border-color 1s ease;
        height: 45px;
        padding: 0 10px;
        border-radius: 5px;
    }

        .rz-form .rz-dropdown .rz-dropdown-label,
        .rz-form-inLine .rz-dropdown .rz-dropdown-label {
            height: 45px;
            padding-top: 10px;
        }

        .rz-form .rz-dropdown.rz-state-disabled,
        .rz-form .rz-dropdown.rz-state-disabled .rz-dropdown-label,
        .rz-form-inLine .rz-dropdown.rz-state-disabled,
        .rz-form-inLine .rz-dropdown.rz-state-disabled .rz-dropdown-label {
            width: 100%;
            font-weight: 700;
            font-size: 16px;
            border: none;
            color: #333 !important;
            background-color: transparent !important;
            opacity: 1;
            padding: 7px 5px;
            white-space: wrap;
            height: 100%;
        }

            .rz-form .rz-dropdown.rz-state-disabled .rz-dropdown-trigger-icon,
            .rz-form-inLine .rz-dropdown.rz-state-disabled .rz-dropdown-trigger-icon {
                display: none;
            }

    .rz-form .rz-checkbox-list-horizontal {
        width: 100%;
        font-weight: 700;
        font-size: 16px;
        color: #333 !important;
        transition: background-color 1s ease;
        transition: none;
        height: 45px;
        padding: 10px 0;
        border: none !important;
        outline: none !important;
    }

    .rz-form .rz-chkbox-box .rzi {
        color: #333 !important;
    }

    .rz-form .rz-datepicker .rz-inputtext {
        width: 100%;
        font-weight: 700;
        font-size: 16px;
        color: #333 !important;
        transition: background-color 1s ease;
        transition: border-color 1s ease;
        padding: 22px 10px;
        border-radius: 5px;
    }

    .rz-form .rz-datepicker:not(.rz-form-field-content) > .rz-inputtext:disabled {
        width: 100%;
        font-weight: 700;
        font-size: 16px;
        border: none;
        color: #333 !important;
        background-color: transparent !important;
        opacity: 1;
    }

    .rz-form .rz-datepicker.rz-state-disabled .rz-button-icon-only {
        display: none;
    }

    .rz-form .rz-numeric {
        width: 100%;
        font-weight: 700;
        font-size: 16px;
        color: #333 !important;
        transition: background-color 1s ease;
        transition: border-color 1s ease;
        height: 45px;
        padding: 0 5px;
        border-radius: 5px;
    }

    .rz-form .rz-numeric-input.rz-inputtext.rz-text-align-left {
        height: 45px;
        line-height: 45px;
    }

    .rz-form .rz-numeric.rz-state-disabled,
    .rz-form .rz-numeric.rz-state-disabled .rz-inputtext {
        width: 100%;
        font-weight: 700;
        font-size: 16px;
        border: none;
        color: #333 !important;
        background-color: transparent !important;
        opacity: 1;
    }

        .rz-form .rz-numeric.rz-state-disabled .rz-numeric-button {
            display: none;
        }

    .rz-form .rz-switch {
        height: 15px !important;
    }

.rz-form-inLine .rz-button.rz-primary.rz-variant-filled {
    height: 46px;
}

/* Fine Rz Form*/



/* Inizio Gestione Placeholder */
.rz-numeric-input.rz-state-empty.rz-inputtext::placeholder,
.rz-dropdown-label.rz-inputtext.rz-placeholder,
.rz-form .rz-dropdown::placeholder,
.rz-textbox::placeholder,
.rz-form .rz-textbox::placeholder {
    color: #9a9a9a;
    font-weight: 400;
    font-size: 14px;
    font-style: italic;
}
/* Fine Gestione Placeholder */
