#tpl_userInfo {
    padding: 0;
}

@media only screen and (min-width: 768px) and (max-width:1199px) {
    #tpl_userInfo {
        padding: 0 !important;
    }
}

.myModal.custom {
    z-index: 9999999;
    /*background: transparent;
            backdrop-filter: blur(15px);*/
    backdrop-filter: blur(8px);
    overflow-y: auto;
}

.myModal.custom #loginBtn {
    visibility: visible;
    opacity: 1;
}

.myModal.custom #btnCloseModal .fa-solid {
    color: #fff !important;
}

.myModal.custom .modal-inner {
    border-radius: 25px !important;
    background-color: #61616130 !important;
    backdrop-filter: blur(15px);
    box-shadow: 0px 4px 4px 0px rgba(255, 255, 255, 0.15) inset, 0px 0px 68px 0px rgba(255, 255, 255, 0.05) inset;
}

.myModal.custom #loginForm {
    background-color: #61616150 !important;
}

.myModal.custom #login_username {
    width: 100% !important;
    border-radius: 20px !important;
    border: none !important;
    padding: 10px 20px !important;
    margin-bottom: 25px;
}

.myModal.custom #loginBtn {
    width: 100% !important;
    border-radius: 20px !important;
    color: #fff !important;
    background: #00AAFF !important;
    margin: 0 !important;
    border: none !important;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding: 22px !important;
}

#login_username {
    pointer-events: all !important;
}

.login_btn,
.login-button {
    background: #00AAFF !important;
}

.login_btn,
.login-button {
    background: #00AAFF !important;
}

#forgotPassword {
    display: none;
}

#auth_message {
    z-index: 999999999999999 !important;
}

#auth_message {
    bottom: 0vh !important;
    position: fixed !important;
    border-radius: 15px 15px 0 0 !important;
    /*height: auto;
            max-width: 400px;
            width: 80%;
            position: absolute;
            z-index: 100;
            bottom: -4vh;

            left: 0;
            right: 0;
            margin: auto;
            background: #202020;
            display: flex;
            align-items: center;
            justify-content: center;
            visibility: hidden;
            opacity: 0;
            transition: all .5s ease-in-out;*/
}

.myModal.custom #btnCloseModal .fa {
    color: #fff !important;
    font-size: 25px !important;
    background: none !important;
}

.myModal .modal-inner #btnCloseModal {
    top: 15px !important;
    right: 25px !important;
}

.content-subhead {
    margin: 40px 0 40px 0 !important;
    font-size: 16px !important;
}

.actionbox label {
    display: block;
}

form label.checkbox {
    display: block !important;
}

#goToRegister {
    color: #00AAFF !important;
}

.myModal.custom.visible.register .modal-inner {
    max-width: 600px !important;
}

.img-s4-mobile {
    display: none;
}

@media only screen and (max-width: 767px) {
    .event_btn.desktop {
        display: none;
    }

    .event_btn.mobile {
        display: block;
        margin-left: 12px !important;
    }

    .login-button {
        /*padding: 7px 15px !important*/
    }

    .logo,
    .menu-container.mb-5 {
        margin-bottom: 20px !important;
    }

    .myModal.login .modal-inner,
    .myModal.custom.visible.register .modal-inner {
        max-width: unset !important;
        width: 95%;
    }

    .img-s4 {
        display: none;
    }

    .img-s4-mobile {
        display: block;
    }

    .hidden-mobile {
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

@media (max-width: 992px) {
    .menu-mobile.active {
        margin-top: -40px;
        position: relative;
        z-index: 999999999999;
        /*position: absolute;
                width: 100%;*/
    }
}

.myModal .goToBack {
    position: static !important;
}

.myModal .goToBack a {
    font-family: "Roboto", sans-serif !important;
    margin: 10px 0 !important;
    color: white !important;
    font-size: 16px !important;
    text-decoration: none !important;
}

.myModal .goToBack a:hover {
    /*text-decoration: underline !important;*/
}

.myModal.custom.visible #registerForm .formField#name,
.myModal.custom.visible #registerForm .formField#surname,
.myModal.custom.visible #registerForm .formField#company,
.myModal.custom.visible #registerForm .formField#email,
.myModal.custom.visible #registerForm .formField#country,
.myModal.custom.visible #registerForm .formField#address,
.myModal.custom.visible #registerForm .formField#city,
.myModal.custom.visible #registerForm .formField#state,
.myModal.custom.visible #registerForm .formField#zip {
    width: 100%;
    border-radius: 20px !important;
    height: 36px !important;
    display: flex !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #ccccdd !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 14px !important;
    padding: 0.5em 1em !important;
    /* margin: 0px 1%; */
    color: #94A6AF !important;
    outline: none !important;
    margin-bottom: 0 !important;
}

.myModal.custom.visible #registerForm .formField#phone {
    width: 100%;
    border-radius: 20px !important;
    height: 36px !important;
    display: flex !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #ccccdd !important;
    font-family: "Roboto", sans-serif !important;
    font-size: 14px !important;
    padding-top: 0.5em !important;
    padding-bottom: 0.5em !important;
    color: #94A6AF !important;
    outline: none !important;
    margin-bottom: 0 !important;
}

.myModal.custom.visible #registerForm .actionbox.pure-u-1.pure-u-md-1.is-center {
    margin-left: 0 !important;
}

.myModal.custom #registerBtn {
    width: 100% !important;
    border-radius: 20px !important;
    color: #fff !important;
    background: #00AAFF !important;
    margin: 10px 0 25px 0px !important;
    border: none !important;
    display: flex !important;
    align-items: center;
    flex-direction: row;
    justify-content: center;
    padding: 10px 0 !important;

}

.myModal #registerForm {
    padding: 0 !important;
    margin-top: 45px;
    padding: 20px 20px 20px 20px !important;
}

.myModal.custom.visible.register .error .msg {
    height: auto !important;
    margin-bottom: 0 !important;
    /*margin-left: 16px !important;*/
    position: absolute !important;
    bottom: 0;
    left: 16px;
    /*right: auto;*/
    margin: auto !important;
}

.myModal.custom.visible.register #div_privacy_1 .error .msg {
    visibility: hidden !important;
}

.myModal.custom.visible.register .rf_fieldContent {
    margin-bottom: 0px !important;
    padding-bottom: 20px !important;
    position: relative;
}

.myModal.custom.visible.register #register_cnt {
    display: flex;
    flex-wrap: wrap;
}

.rf_fieldContent input,
.rf_fieldContent select,
.iti.iti--allow-dropdown {
    margin-left: 8px !important;
    /* Spazio esterno a sinistra */
    margin-right: 8px !important;
    /* Spazio esterno a destra */
    width: calc(100% - 16px) !important;
    /* Adatta la larghezza per evitare che l'input sfori */
}

.myModal.custom.visible.register .checkbox.subfield {
    font-size: 14px !important;
}

#div_privacy_1 label.checkbox,
#div_summit_gift_box label.checkbox {
    display: flex !important;
    /* Imposta il layout flessibile */
    align-items: center;
    /* Allinea verticalmente il contenuto */
    margin-left: 8px;
}

.myModal.custom.visible.register .checkmark {
    top: unset !important;
}

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

    .myModal.custom.visible.register input,
    .myModal.custom.visible.register textarea,
    .myModal.custom.visible.register select {
        font-size: 14px;
        /* Imposta il font a 16px o superiore */
        appearance: none;
        /* Rimuove eventuali stili nativi */
        outline: none;
        /* Evita bordi extra quando il campo è attivo */
    }

    .myModal.custom.register .modal-inner {
        top: 0 !important;
        transform: none !important;
    }
}

.myModal.custom.visible.register #phone {
    width: 100% !important;
    /*padding-left: 52px !important;*/
}

.myModal.custom.visible.register .iti__country-name,
.myModal.custom.visible.register .iti__selected-dial-code {
    color: #000;
}

#iti-0__dropdown-content,
.iti.iti--container.iti--fullscreen-popup {
    z-index: 99999999999999999999;
    color: #000;
}

.myModal.custom {
    z-index: -1;
}

.myModal.custom.visible {
    z-index: 9999999999999;
}

#tpl_userInfo .login_btn,
#tpl_userInfo .login-button {
    background: #00AAFF !important;
    border: 1px solid #00AAFF !important;
    color: #fff !important;
}

#tpl_userInfo .login_btn span,
#tpl_userInfo .login-button span {
    color: #fff !important;
    text-transform: none;
}

#tpl_userInfo .login_btn .fa-arrow-right,
#tpl_userInfo .login-button .fa-arrow-right {
    color: #fff !important;
}

#tpl_userInfo .login-button {
    font-size: 16px !important;
    width: auto !important;
    border-radius: 25px !important;
    padding: 7px 27px !important;
    cursor: pointer !important;
    transition: all .3s ease-out !important;
    font-weight: 700;

}

#tpl_userInfo .login_btn,
#tpl_userInfo .login-button {
    background: #00AAFF !important;
}

@media (max-width: 767px) {

    .header_btn,
    #tpl_userInfo .login_btn,
    #tpl_userInfo .login-button {
        width: 150px !important;
        padding: 12px 30px !important;
        /*font-size: 14px;
                width: auto;
                border-radius: 25px;
                padding: 3px 7px;*/
    }
}

.welcomeMessage {
    display: none !important;
}

#logoutChunk .login-button,
.login_btn {
    background: #D8E5EB !important;
    border: 1px solid #D8E5EB !important;

}

#tpl_userInfo #logoutChunk .login-button i,
#tpl_userInfo #logoutChunk .login-button span {
    color: #0F1315 !important;
}

#tpl_userInfo #logoutChunk .login-button:hover,
#tpl_userInfo .login_btn:hover {
    background-color: #BAC7CE !important;
    border: 1px solid #BAC7CE !important;
    opacity: 1;
}

.myModal.custom.visible.register .rf_fieldContent#div_privacy_1 {
    padding-bottom: 0 !important;
}

#btnCloseModal {
    visibility: hidden;
}