/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/*BOTTONI*/
.bottone-primario{
    background: #4001B5;
    color: #fff;
    border-radius: 999px;
}
.bottone-primario:hover{
    background: #230063;
    color: #F1A948;
}

.bottone-secondario{
    background: #ffffff00;
    color: #4001B5;
    border-radius: 999px;
}
.bottone-secondario:hover{
    background: #EFE8FB;
    color: #230063;
}

/*Iubenda*/
.iub-accessibility-btn {
    padding:0 !important;
}

/*Form*/
.wpforms-field-row.wpforms-field-medium,
.wpforms-field-medium.wpforms-field-required,
.wpforms-field-medium.wpforms-field-required,
.wpforms-field-medium{
    max-width: 100% !important;
    align-self: center !important;
}
.submit-btn{
    padding: 16px 28px 32px 44px !important;
    background: #190A6E !important;
    border-radius: 999px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
}
.submit-btn::before{
    content: "";
    position: absolute;
    left: 1em;
    top: 50%;
    transform: translateY(-50%);
    width: 1em;
    height: 1em;
    background-image: url('https://promozioni.betaformazione.com/wp-content/uploads/2025/06/icon-gialla.svg');
    background-size: contain;
    background-repeat: no-repeat;
}
.submit-btn:hover{
    background: #0F0642 !important;
    color: #F1A948 !important;
}
.wpforms-submit-container {
    text-align: center; /* centra il bottone */
}
.wpforms-submit {
    display: inline-block; /* evita che occupi tutta la riga */
}
legend.wpforms-field-label{
    margin-bottom: 8px !important;
}
label.wpforms-field-label{
    margin-bottom: 8px !important;
}
.wpforms-field{
    padding: 8px !important;
}
.wpforms-container .wpforms-form .wpforms-field-layout .wpforms-layout-column{
    padding: 0 !important
}
.wpforms-field-container .wpforms-field.wpforms-field-textarea textarea{
    border-radius: 20px;
}

/*form-small-3d*/
.form-small-3d {
    position: relative;
    z-index: 10;
    margin-bottom: -160px;
}

/*form piccola in header*/
.form-bf-small-ads-fcontinua .wpforms-field{
    padding:4px !important;
}
.form-bf-small-ads-fcontinua .wpforms-layout-row{
    margin-left: 0px !important;
    margin-right: 0px !important;
}
.form-bf-small-ads-fcontinua .wpforms-field-layout{
    padding:0px !important;
}

/*no underline*/
.no-underline a{
    text-decoration: none !important;
}

@media (max-width: 768px) {
    /*form iscriviti*/
    .wpforms-field-row.wpforms-field-medium{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .wpforms-field-row-block.wpforms-one-half{
        padding: 0 !important;
    }
    .wpforms-field-row-block.wpforms-first.wpforms-one-half{
        width: 100% !important;
    }
    .wpforms-field-row-block.wpforms-one-half{
        width: 100% !important;
    }
    .wpforms-field-row-block.wpforms-one-half:not(.wpforms-first) {
        margin-top: 5px;
    }
}

/*whatsapp*/
.ht-ctc.ht-ctc-chat.ctc-analytics.ctc_wp_desktop.style-3_1.ht_ctc_animation.no-animation{
    bottom: 80px !important;
    right: 3px !important;
}