/* #cm_modalContainer {
    height: 100vh;
    width: 478px;
    top: 70px;
    z-index: 10001;
    position: absolute;
    display: none;
    justify-content: center;
    transform: translate(-50%, 0%);
    left: 50%;
} */

#cm_modalContainer {
    position: fixed;
    top: 0;
    width: 100%;
    left: 50%;
    transform: translateX(-50%);
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1001;
    height: 100%;
    display: none;
    justify-content: center;
}

#cm_modalContainer.show {
    display: flex !important;
}

/* .cm_modalOverlay {
    background-color: #000000B2;
    z-index: 9999;
    position: fixed;
    display: none;
    height: 100vh;
    width: 100%;
    top: 0;
} */

.cm_modalOverlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow: auto;
}

.cm_modalOverlay.show {
    display: flex !important;
}

/* #cm_modal {
    height: 700px;
    max-height: 700px;
    width: 478px;
    background-color: white;
    border-radius: 8px;
    padding: 60px 48px 60px 48px;
    overflow: hidden;
    position: relative;
} */

#cm_modal {
    height: 700px;
    width: 478px;
    max-width: 478px !important;
    background-color: white;
    border-radius: 8px;
    padding: 60px 48px 60px 48px;
    overflow: hidden;
    position: relative;
    margin-top: 60px;
    margin-bottom: 60px;
}

#cm_modal .cm_title {
    color: #173F82;
    font-size: 24px;
    font-weight: 500;
    font-family: Rubik;
    line-height: 28px;
    margin-bottom: 8px;
}

#cm_modal input[type=text],
#cm_modal input[type=password] {
    height: 56px !important;
    width: 100%;
    padding: 16px 15px 16px 15px !important;
    border-radius: 5px !important;
    border: 1px solid #AEBBC9;
    background: #FFFFFF;
}

#cm_modal input[type=text],
#cm_modal input[type=password],
#cm_modal input[type=submit] {
    margin-top: 16px;
}

#cm_modal #cm_closeButton {
    display: flex;
    justify-content: right;
    cursor: pointer;
    position: absolute;
    right: 16px;
    top: 16px;
}

#cm_modal .cm_formInformativa,
#cm_modal .cm_label {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    text-align: center;
    margin-top: 16px;
}

#cm_modal .cm_note {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
}

#cm_modal .cm_label {
    width: 90%;
    padding-left: 10px;
    text-align: left !important;
}

#cm_modal .cm_formInformativa a {
    color: #173F82;
    /* margin-top: 16px; */
}

#cm_modal .cm_formAccedi {
    font-family: Karla;
    font-size: 16px;
    font-weight: 400;
    line-height: 14px;
    text-align: center;
    color: #6B6B6B;
    margin-top: 24px;
}

#cm_modal input[type=submit],
#cm_modal button {
    width: 172px;
    height: 34px;
    background: #1E4EFC;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    padding: 0;
    display: flex;
    justify-content: center;
    border: solid .1111111111rem;
    border-radius: 2.2222222222rem;
    color: #fff;
    align-items: center;
}

#cm_modal .gform_wrapper .gform_footer {
    display: flex;
    justify-content: center;
}

#cm_modal #cm_formPartitaIva {
    margin-bottom: 4px;
}

#cm_modal #cm_formEmail {
    margin-top: 36px;
}

.main_page_landing #cm_modal {
    margin-top: 80px;
    margin-bottom: 20px;
}

.gform_wrapper .gform_footer {
    padding: 0 !important;
    margin: 0 !important;
}

.cm_inline {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}

.cm_form_inline {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
}

.cm_form_inline input {
    width: 48% !important;
}

.cm_form_inline .cm_form_errors {
    width: 48%;
}

.cm_form_errors {
    color: #E60000;
    font-family: Karla;
    font-size: 12px;
    font-weight: 400;
    line-height: 13px;
    text-align: left;
    display: none;
}

.cm_form_errors:not(:empty) {
    display: block;
    margin-top: 4px;
}

.cm_inline * {
    position: relative !important;
}

#cm_modal input[type="checkbox"] {
    width: 20px !important;
    height: 20px !important;
    border: 1px solid #91A2B5 !important;
}

#powerbizRegistrazione_loader, #powerbizRiepilogo_loader {
    position: absolute;
}

.cm_centered {
    display: flex;
    justify-content: center;
}

.cm_grey {
    font-family: Karla;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.7px;
    text-align: center;    
}

.d-none {
    display: none;
}

.cm_step {
    display: flex;
    flex-direction: column;
    /* height: 60vh; */
    height: 580px;
    max-height: 580px;
}



#cm_riepilogo, #conferma_ok, #conferma_ko_piva_non_presente, #conferma_utente_gia_registrato, #conferma_contratto_gia_attivo, #conferma_errore_generico, #conferma_troppi_tentativi {
    justify-content: center;
    text-align: center;
    align-items: center;
}

#cm_riepilogo .cm_title {
    margin-bottom: 16px;
    line-height: 28px;
}

.cm_subtitle {
    font-family: Rubik;
    font-size: 16px;
    font-weight: 400;
    line-height: 18.96px;
    text-align: center;
    margin-bottom: 60px;
    color: #173F82;
}

#cm_riepilogo .cm_info_text {
    font-family: Rubik;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 20px;
    line-height: 21.33px;
    color: #191C1F;
}

#cm_riepilogo .riepilogo_ko {
    font-family: Karla;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    margin-top: 16px;
    cursor: pointer;
    color: #173F82;

}

#conferma_ok svg, #conferma_ko_piva_non_presente svg, #conferma_utente_gia_registrato svg, #conferma_contratto_gia_attivo svg, #conferma_troppi_tentativi svg, #conferma_errore_generico svg {
    /* margin-top: 60px; */
    margin-bottom: 60px;
}

.cm_form_footer {
    height: 120px;
  }
  
.cm_form_header {
    height: 36px;
}

.cm_form_content {
    overflow-y: auto;
    flex-grow: 1;
    position: relative;
}

#cm_formPasswordContainer {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

#cm_formPassword {
    width: 100%;
    padding: 12px 40px 12px 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.cm_togglePassword {
    position: absolute;
    top: 45px;
    right: 12px;
    transform: translateY(-50%);
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.cm_togglePassword path {
    fill: #a5a5a5;
}

.cm_togglePassword.showing path {
    fill: #000;
}

button#powerbizRegistrazione_invia:hover {
    background-color: #0C2CC6;
}

#cm_modalContainer .cm_form_content {
    overflow-y: unset;
}

.grecaptcha-badge {
    width: 70px !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    right: 4px !important;
    bottom: 0 !important;
}

.grecaptcha-badge:hover {
    width: 256px !important;
}

.hide-scrollbar {
    overflow: hidden;
}

/* Imposta lo stile della barra di scorrimento */
::-webkit-scrollbar {
    width: 10px;
    margin-left: 10px;
    /* Larghezza della barra di scorrimento */
}

/* Imposta lo stile del track (la traccia) della barra di scorrimento */
::-webkit-scrollbar-track {
    background-color: #f1f1f1;
    /* Colore di sfondo del track */
    margin-left: 12px;
    /* Aggiunge uno spazio vuoto a sinistra della barra di scorrimento */

}

/* Imposta lo stile del thumb (il cursore) della barra di scorrimento */
::-webkit-scrollbar-thumb {
    background-color: #888;
    /* Colore di sfondo del thumb */
    border-radius: 5px;
    /* Bordo arrotondato del thumb */

}

/* Imposta lo stile del thumb (il cursore) della barra di scorrimento al passaggio del mouse */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
    /* Colore di sfondo del thumb al passaggio del mouse */
}


@media (max-width: 767px) {
    #cm_modalContainer {
        width: 100%;
        height: 100vh;
        top: 0;
    }

    .cm_form_header {
        height: unset;
    }

    #cm_modal {
        min-height: 700px;
        height: unset;
        max-width: 478px !important;
        margin-right: auto;
        margin-left: auto;
    }

    .cm_step {
        height: unset;
        min-height: 580px;
    }

    .cm_form_content {
        padding-bottom: 15px;
        overflow-y: unset;
    }

    #cm_modal {
        max-height: unset;
    }
}