/* 
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 */

/* Stile per i link del menu Elementor */
/* Stile per i link del menu Elementor */
.elementor-nav-menu--main .elementor-nav-menu .elementor-item {
    background-color: #393D78;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 10px;
    display: inline-block;
    box-shadow: 5px 5px 0px #EDEDED;
    border: none;
    box-sizing: border-box; /* Assicura che padding e border siano inclusi nella larghezza */
    width: max-content; /* Mantiene la larghezza del contenuto */
}

/* Stile hover che mantiene le stesse dimensioni */
.elementor-nav-menu--main .elementor-nav-menu .elementor-item:hover {
    padding: 15px 30px; /* Stesso padding dello stato normale */
    font-size: 16px; /* Stesso font-size */
    font-weight: 600; /* Stesso font-weight */
    /* Aggiungi qui altri effetti visivi che non cambiano la larghezza */
    background-color: #2c2f5e; /* Esempio: cambia solo il colore */
}

/* Rimuovi stili di default del menu */
.elementor-nav-menu--main .elementor-nav-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

/*STILE CAMPO INPUT*/
/* CSS per campo ricerca in Elementor */

/* Wrapper del campo di ricerca */
.custom-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Stile dell'input */
.custom-search-input {
    width: 100%;
    padding: 20px 70px 20px 30px;
    font-size: 18px;
    color: #999;
    background-color: white;
    border: 2px solid #ED7203;
    border-radius: 25px !important;
    outline: none;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

/* Placeholder */
.custom-search-input::placeholder {
    color: #999;
    font-size: 18px;
}

/* Focus dell'input */
.custom-search-input:focus {
    border-color: #ED7203;
    color: #333;
}

/* Button di ricerca */
.custom-search-button {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.custom-search-button:hover {
    background-color: rgba(237, 114, 3, 0.1);
}

/* Icona di ricerca */
.custom-search-icon {
    width: 28px;
    height: 28px;
    color: #ED7203;
    stroke-width: 2.5;
}

/* Responsive */
@media (max-width: 768px) {
    .custom-search-input {
        padding: 15px 60px 15px 20px;
        font-size: 16px;
    }
    
    .custom-search-input::placeholder {
        font-size: 16px;
    }
    
    .custom-search-icon {
        width: 24px;
        height: 24px;
    }
    
    .custom-search-button {
        right: 12px;
    }
}

/*accordion stile*/
#content > div > div > div.elementor-element.elementor-element-fdafa15.e-flex.e-con-boxed.e-con.e-parent.e-lazyloaded > div > div.elementor-element.elementor-element-18a44e0.elementor-widget.elementor-widget-n-accordion > div > div {
    border: 2px solid #393D78;
    border-radius: 25px;
	padding: 25px;
}
details.e-n-accordion-item[open] .e-n-accordion-item-title-text {
    color: #ED7203 !important;
}

#content > div > div > div > div > div.elementor-element.elementor-element-2361308.elementor-widget.elementor-widget-n-accordion {
    border: 2px solid #393D78;
    border-radius: 25px;
	padding: 25px;
}

/*link footer*/
.link-footer {
	color: #ffffff;
}
.link-footer:hover {
	color: #f2f2f2;
}

/*stile input tracciabilita*/
/* Stile per il primo input - quello di ricerca */
#barcode2025 {
    border-radius: 20px;
    border: 1px solid #ced4da;
}
.search-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 1.2rem 5rem 1.2rem 1.5rem;
    border: 3px solid #ffffff;
    border-radius: 50px;
    font-size: 1.1rem;
    outline: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.search-input:focus {
    border-color: #EA7108;
    box-shadow: 0 4px 16px rgba(234, 113, 8, 0.3);
}

.search-input::placeholder {
    color: #999;
}

.search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    color: #EA7108;
    padding: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border-radius: 50%;
    z-index: 10;
}

.search-button:hover {
    background-color: rgba(234, 113, 8, 0.1);
    transform: translateY(-50%) scale(1.15);
}

.search-button:active {
    transform: translateY(-50%) scale(0.95);
}

.search-button svg {
    width: 26px;
    height: 26px;
    stroke-width: 2.5;
}

/* Stile per la tabella */
#fulmine2025_response_table {
    width: 100%;
    max-width: 1000px;
    margin: 2rem auto;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

#fulmine2025_response_table th,
#fulmine2025_response_table td {
    padding: 1rem;
    border: 1px solid #dee2e6;
    text-align: left;
}

#fulmine2025_response_table th {
    background-color: #2c3e4d;
    color: #ffffff;
    font-weight: 600;
}

#fulmine2025_response_table td {
    background-color: #ffffff;
}

/*tooltip*/
      .tooltip {
        display: none;
        position: absolute;
        z-index: 1000;
    }
    .tooltip.show {
        display: block;
    }

/*bandiere */
#menu-1-5bded07 > li.menu-item.wpml-ls-slot-5.wpml-ls-item.wpml-ls-item-it.wpml-ls-menu-item.menu-item-type-wpml_ls_menu_item.menu-item-object-wpml_ls_menu_item.menu-item-wpml-ls-5-it > a > img {
	width: 25px;
}
#menu-1-5bded07 > li.menu-item.wpml-ls-slot-5.wpml-ls-item.wpml-ls-item-en.wpml-ls-menu-item.wpml-ls-first-item.menu-item-type-wpml_ls_menu_item.menu-item-object-wpml_ls_menu_item.menu-item-wpml-ls-5-en > a > img {
	width: 25px;
}
#menu-1-5bded07 > li.menu-item.wpml-ls-slot-5.wpml-ls-item.wpml-ls-item-zh-hans.wpml-ls-menu-item.wpml-ls-last-item.menu-item-type-wpml_ls_menu_item.menu-item-object-wpml_ls_menu_item.menu-item-wpml-ls-5-zh-hans > a > img {
	width: 25px;
}
