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

#header {
	background-color: transparent;
	transition: all 0.3s ease-in-out;
}
#header.scrolled {
	background-color: var(--e-global-color-primary);
	min-height: 60px;
	transition: all 0.3s ease-in-out;
    z-index: 999;
}
li.menu-item.current_page_item a {
    font-weight: bold!important;
}
li.menu-item a:hover {
    text-decoration: underline;
    transition: all .5s ease-in-out;
}
li.menu-item a {
    transition: all .5s ease-in-out;
}
.button-menu .elementor-button-link:hover .elementor-button-icon svg path {
    fill: #fff;
    transition: all .5s ease-in-out;
}
.d-flex .elementor-icon-wrapper {
    display: flex;
    justify-content: center;
}
.footer-menu li a {
    border-bottom: 1px solid #ffffff;
}
.d-grid {
    display: grid;
    grid-auto-flow: column;
}
.h-100 > div:first-child {
    height: 100%;
}
.d-grid.parent:first-child {
    display: grid;
}

.custom-schede .e-n-tabs-heading {
    counter-reset: list-number;
  }
.custom-schede .e-n-tabs-heading button:before {
    counter-increment: list-number;
    content: counter(list-number)".";
    display: inline-flex;
    align-items: flex-start;
    justify-content: start;
    position: absolute;
    top: 30px;
}
.custom-schede button.e-n-tab-title {
    position: relative;
}
.custom-schede button .e-n-tab-title-text {
    display: inline-block!important;
    text-align: left!important;
    margin-left: 15px;
}
.fake-button .elementor-button-icon {
    height: 16px;
}

#map {
    width: 100%;
    height: 600px;
}
.leaflet-popup {
    margin-bottom: 60px!important;
}
.button-filter svg path {
    transition: all .5s ease-in-out;
}
.button-filter:hover svg path {
    fill: var(--e-global-color-secondary);
    transition: all .5s ease-in-out;
}
.button-filter .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
}
.button-filter .elementor-button-content-wrapper .elementor-button-text {
    text-align: left;
}
.button-filter .elementor-button-icon svg {
    width: 28px;
    min-height: 40px;
}
.button-filter .elementor-button-wrapper,
.button-filter .elementor-button-wrapper a {
    height: 100%;
}
#sliderBagno .elementor-swiper-button-prev,
#sliderBagno .elementor-swiper-button-next,
#sliderRiscaldamento .elementor-swiper-button-prev,
#sliderRiscaldamento .elementor-swiper-button-next,
#sliderClima .elementor-swiper-button-prev,
#sliderClima .elementor-swiper-button-next,
#sliderCeramiche .elementor-swiper-button-prev,
#sliderCeramiche .elementor-swiper-button-next {
	display: none;
}
.custom-pagination .c-pagination-prev,
.custom-pagination .c-pagination-next,
.custom-pagination .c-pagination-prev2,
.custom-pagination .c-pagination-next2,
.custom-pagination .c-pagination-prev3,
.custom-pagination .c-pagination-next3,
.custom-pagination .c-pagination-prev4,
.custom-pagination .c-pagination-next4
{
	cursor: pointer;
}
.button-red a svg path {
    transition: all .5s ease-in-out;
}
.button-red a:hover svg path {
    fill: var(--e-global-color-primary);
    transition: all .5s ease-in-out;
}
.button-fake a:hover {
    text-decoration: underline;
    transition: all .5s ease-in-out;
}
.button-fake a {
    transition: all .5s ease-in-out;
}

.immagine img {
    max-height: 80vh;
    object-fit: cover;
    transition: max-height 0.8s ease-in-out, object-fit 0.8s ease-in-out;
    overflow: hidden;
  }
.e-n-accordion-item[open] .immagine img {
    max-height: 100vh;
    object-fit: cover;
}
.elementor-select-wrapper .select-caret-down-wrapper {
    inset-inline-end: 20px!important;
    transform: translateY(-66%)!important;
}





/* MEDIA */
@media screen and (max-width: 767px) {
    .elementor.elementor .elementor-widget-n-tabs.e-n-tabs-mobile .e-n-tab-title {
        order: 0;
        width: fit-content;
    }
    .elementor-element-5058952 .e-n-tabs-heading button {
        border: 2px solid var(--e-global-color-secondary) !important;
        background: white !important;
        padding: 20px 30px !important;
        min-width: 300px;
        color: #000000!important;
        margin: 10px 0!important;
        display: flex;
        justify-content: center;
    }
    .elementor-element-5058952 .e-n-tabs-heading button[aria-selected="true"] {
        background: var(--e-global-color-secondary) !important;
        color: #ffffff!important;
        margin: 0!important;
    }
    .elementor-element-5058952 .e-n-tabs-heading {
        display: flex;
        align-items: center;
    }
    .custom-schede .e-n-tabs-heading button:before {
        position: relative;
        top: 0;
    }
    .custom-schede button .e-n-tab-title-text {
        margin-left: 0;
    }
    .container-button .elementor-element a {
        /*min-width: 250px;*/   
        width: 100%;
    }
    .button-filter .elementor-button-content-wrapper {
        justify-content: space-between;
    }
    .button-filter {
        margin: 10px 0;
        width: 100%;
    }
    .button-filter .elementor-button-text {
        font-size: 19px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
    .elementor.elementor .elementor-widget-n-tabs.e-n-tabs-mobile .e-n-tab-title {
        order: 0;
        width: fit-content;
    }
    .elementor-element-5058952 .e-n-tabs-heading button {
        border: 2px solid var(--e-global-color-secondary) !important;
        background: white !important;
        padding: 20px 30px !important;
        min-width: 300px;
        color: #000000!important;
        margin: 10px 0!important;
        display: flex;
        justify-content: center;
    }
    .elementor-element-5058952 .e-n-tabs-heading button[aria-selected="true"] {
        background: var(--e-global-color-secondary) !important;
        color: #ffffff!important;
        margin: 0!important;
    }
    .elementor-element-5058952 .e-n-tabs-heading {
        display: flex;
        align-items: center;
    }
    .custom-schede .e-n-tabs-heading button:before {
        position: relative;
        top: 0;
    }
    .custom-schede button .e-n-tab-title-text {
        margin-left: 0;
    }

    .container-button .elementor-element a {
        min-width: 200px;
    }
    .button-filter .elementor-button-content-wrapper {
        justify-content: space-between;
    }
    .button-filter {
        margin: 10px 0;
    }
    .immagine img {
        height: auto!important;
    }
    .w100 {
        width: 100%!important;
    }
}

@media screen and (max-width: 1555px) {
    .d-grid-notebook,
    .elementor-element.elementor-element-591b2d9.e-con-full.e-flex.e-con.e-child  {
        display: grid!important;
    }
}