
/* CARD */
.card {
    background: #feffff73;
    border: 1px solid rgba(255, 255, 255, 1);
    padding: 15px;
    border-radius: 6px;
    width: 100%;
    margin: 0 0 10px 0;
    z-index: 2;
    position: relative;
}

.card_contains {
    padding: 20px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 1);
    background-color: #ffff;
    opacity: 1;
    z-index: 3;
    border-radius: 6px;
}

/* DIALOG */
.rz-dialog {
    transition: none !important;
    padding: 15px;
    background: transparent; /* niente background sul padre */
    border-radius: 6px;
    overflow: hidden; /* importante per contenere il vetro */
    animation: slideInRightFade 0.35s ease forwards !important;
  
    transform: translateY(-50%); /* centratura verticale */
    margin: 0 !important;
    max-height: none !important;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
}


.rz-dialog-side {
    transition: none !important;
    padding: 15px;
    background: transparent; /* niente background sul padre */
    border-radius: 6px;
    overflow: hidden; /* importante per contenere il vetro */
    animation: slideInRightFade 0.35s ease forwards !important;
    position: fixed !important;
    right: 50px !important; /* distanza da destra */
    top: 50% !important; /* centratura verticale */
    transform: translateY(-50%); /* centratura verticale */
    margin: 0 !important;
    max-height: none !important;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
}
    .rz-dialog::before,
    .rz-dialog-side::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(255,255,255,0.45);
        border: 1px solid rgba(255, 255, 255, 0.6);
        z-index: -1;
    }
.rz-dialog-titlebar,
.rz-dialog-side-titlebar {
    border-bottom: solid 1px #dcdcdc;
    font-size: 20px;
    border-radius: 6px;
    margin-bottom: 10px !important;
    padding: 12px 20px;
    color: #333;
    flex: 0;
}

.rz-dialog-content,
.rz-dialog-side-content {
    background-color: #ffff;
    opacity: 1;
    border-radius: 6px;
    flex: 1; /* OCCUPA TUTTO LO SPAZIO RIMANENTE */
    overflow-y: auto;
}

@keyframes slideInRightFade {
    0% {
        transform: translate(20px, -50%);
        opacity: 0;
    }

    100% {
        transform: translate(0, -50%);
        opacity: 1;
    }
}

@keyframes slideOutRightFade {
    0% {
        transform: translate(0, -50%);
        opacity: 1;
    }

    100% {
        transform: translate(20px, -50%);
        opacity: 0;
    }
}


.rz-dialog-mask {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.3);
}

.rz-dialog-side.rz-close {
    animation: slideOutRightFade 0.30s ease forwards !important;
}

.BgIscrizione {
    background: #5EAB4F;
    background: linear-gradient(49deg, rgba(94, 171, 79, 1) 0%, rgba(223, 242, 231, 1) 81%);
    position: relative;
    width: 200px;
    padding: 10px;
    height: 100px;
    margin-right: 10px;
    border-radius:15px;
}
    .BgIscrizione .rz-button{
        width:100%;
        height:100%;
    }
        .BgIscrizione .rz-button.rz-variant-text.rz-primary:hover {
            background-color: transparent !important;
        }
    .BgIscrizione img {
        background-color: #bcf1bf;
        width: 40px;
        height: 40px;
        padding: 8px;
        border-radius:5px;
        position: absolute;
        top: 5px;
        left: 5px;
    }

    .BgIscrizione .rz-text-body1 {
        color: #005427;
        position: absolute;
        left: 5px;
        top: 55px;
        font-weight:bold;
        font-size:16px;
    }
        .BgIscrizione .rz-text-body1 small{
            font-weight:500;
            text-transform:uppercase;

        }
        .ImmagineIscrizione img {
            width: 100%;
        }