/* 
Theme Name: Destination Puglia
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 */

a {
    color: var(--e-global-color-primary);
}

header.elementor-657, header.elementor-1688 {
    position: fixed;
    width: 100%;
    z-index: 999;
}

header.elementor-117 svg path, header.elementor-1704 svg path {
    fill: #222222;
}

header.elementor-117 .im-scroll, header.elementor-1704 .im-scroll {
    position: fixed;
    width: 100%;
    z-index: 999;
}

header.elementor-117 .im-scroll svg path, header.elementor-1704 .im-scroll svg path {
    fill: white;
}

header.elementor-117 .im-scroll .elementor-button, header.elementor-1704 .im-scroll .elementor-button, header.elementor-1704 .im-scroll .elementor-widget-container {
    border-color: white !important;
    color: white !important;
}

header.elementor-117 .logo-w , header.elementor-117 .im-scroll .logo, header.elementor-1704 .logo-w , header.elementor-1704 .im-scroll .logo {
    display: none;
}

header.elementor-117 .im-scroll .logo-w, header.elementor-1704 .im-scroll .logo-w {
    display: block;
}

header.elementor-117 .im-scroll li a, header.elementor-1704 .im-scroll li a {
    color: white !important;
}

header li a.elementor-item-active {
    font-weight: bold !important;
}

.im-scroll {
    background-color: var(--e-global-color-primary);
}

.card-cat-esperienze .icon-link-cat-esperienza {
    opacity: 0;
}

.card-cat-esperienze:hover .icon-link-cat-esperienza {
    opacity: 1;
}

.card-cat-esperienze .desc-cat-esperienza {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
    height: 0;
    margin: 0;
}

.card-cat-esperienze:hover .desc-cat-esperienza {
    transform: translateY(0%);
    opacity: 1;
    height: auto;
    margin-top: 8px;
}

.card-cat-esperienze .icon-link-cat-esperienza, .card-cat-esperienze h3, .card-cat-esperienze .desc-cat-esperienza {
    transition: all 0.2s ease;
}

.hboxfw-boxed {
    max-width: 700px;
}

.lista-categorie-prodotto {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    overflow-x: scroll;
    padding: 50px 0;
}

.lista-categorie-prodotto .singola-categoria {
    width: calc((100% / 11) - (400px / 11));
}

.lista-categorie-prodotto .singola-categoria a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lista-categorie-prodotto .singola-categoria h3 {
    font-size: 16px;
    text-align: center;
    color: var(--e-global-color-e4009e4);
    margin-bottom: 0;
}

.lista-categorie-prodotto .singola-categoria img {
    width: 100%;
    height: auto;
}

.wpc-filters-widget-wrapper {
    display: flex;
    flex-direction: row;
}

.wpc-filter-collapsible {
    border: 1px solid var(--e-global-color-primary);
    padding: 12px 18px;
    margin-bottom: 0 !important;
    width: 150px;
    margin-right: 30px;
}

.wpc-filter-title {
    margin-bottom: 0 !important;
}

.wpc-filter-collapsible .wpc-filter-content {
    position: absolute;
    top: 50px;
    left: 0;
    width: max-content;
}

.wpc-filter-header .wpc-wrap-icons {
    color: var(--e-global-color-primary);
}

.mappafw {
    height: 100vh;
}

.leaflet-container {
    background-color: transparent;
}

#map:focus-visible {
    outline: none;
}

.marker-cluster-small, .marker-cluster-small div, .marker-cluster-medium, .marker-cluster-medium div, .marker-cluster-large, .marker-cluster-large div {
	background-color: #EDD35D;
    color: white;
}

.loop-esperienza {
    aspect-ratio: 1/1;
}

.ar-4-5 img{
    aspect-ratio: 9/10;
    object-fit: cover;
}

.ar-1-1 img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.elementor-accordion-item .elementor-tab-title {
    border-bottom: 1px solid;
}

.swiper-pagination-bullet {
    background: none !important;
    border: 1px solid var(--e-global-color-secondary);
    opacity: 1;
}

.swiper-pagination-bullet.swiper-pagination-bullet-active{
    background: var(--e-global-color-secondary) !important;
}

.elementor-element.elementor-pagination-position-outside .swiper {
    padding-bottom: 50px;
}

.cerca-w svg {
    fill: white;
}

p.price {
    margin-bottom: 0;
}

.loop-esperienza .titesp, .loop-esperienza .citesp, .loop-esperienza .duresp, .loop-esperienza .ratesp, .loop-esperienza .priesp, .loop-esperienza .icon-link {
  transition: all 0.2s ease;
}

.loop-esperienza .duresp {
  margin: 4px 0 10px 0 !important;
}

.loop-esperienza .titesp, .loop-esperienza .citesp {
  order: 1;
}

.loop-esperienza .duresp, .loop-esperienza .ratesp, .loop-esperienza .priesp {
  order: 2;
}

.loop-esperienza .icon-link {
    opacity: 0;
}

.loop-esperienza:hover .icon-link {
    opacity: 1;
}

.loop-esperienza:hover .duresp,
.loop-esperienza:hover .ratesp,
.loop-esperienza:hover .priesp {
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  height: 0;
  margin: 0 !important;
  order: 3;
}

.loop-esperienza:hover .titesp,
.loop-esperienza:hover .citesp {
  order: 2;
}

.dgwt-wcas-search-icon svg {
    width: 22px;
    height: 22px;
}

.icon-wl-nav {
    height: 26px;
}

.elementor-menu-cart--items-indicator-bubble {
    height: 22px;
}

.dgwt-wcas-search-input {
    border-radius: 4px !important;
}

.wpc-filter-selected-values {
    display: none;
}

.wpc-filter-content {
    z-index: 1;
}

#sb_instagram #sbi_images {
    padding: 0;
}

.wpc-filter-content.wpc-filter-citta {
    background-color: white;
    padding: 20px;
}

.elementor-widget-text-editor p:last-child {
  margin-bottom: 0 !important;
}

.elementor-field-type-acceptance {
    margin-bottom: 6px !important;
}

.elementor-field-type-submit {
    margin: 30px 0 0 0 !important;
}

.leaflet-popup-content-wrapper {
    padding: 0;
    border-radius: 0;
    width: 250px;
}

.leaflet-popup-content {
    margin: 0;
}

.cont-popup {
    padding: 30px;
    background-size: cover !important;
    background-position: center !important;
}

.cont-popup h3 {
    display: block;
    font-family: "Arimo", Sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.cont-popup .popcit, .cont-popup .poppre {
    display: block;
}

.cont-popup .popcit {
    font-family: "Comme", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1.75em;
}

.cont-popup .poppre {
    color: var(--e-global-color-secondary);
    font-family: "Arimo", Sans-serif;
    font-size: 16px;
    font-weight: 700;
}

.tinvwl_add_to_wishlist_button {
    color: var(--e-global-color-secondary);
}

.single_add_to_cart_button {
    background-color: var(--e-global-color-secondary) !important;
}

.elementor-widget-woocommerce-checkout-page .e-checkout__container {
    grid-template-columns: 65% auto !important;
}

.e-checkout__column-end {
    padding-left: 50px !important;
}

.e-checkout__column-end .e-sticky-right-column {
    padding: 20px !important;
    background-color: var(--e-global-color-2e154e3) !important;
}

.e-checkout__order_review, .e-coupon-box, .woocommerce-checkout-payment {
    background: none !important;
}

.cont-img-cat {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cont-img-cat .img-cat-hover {
    position: absolute;
    z-index: 1;
}

.cont-img-cat .img-cat {
    position: relative;
    z-index: 2;
    transition: all linear 0.1s;
}

.cont-img-cat .img-cat:hover {
    opacity: 0;
}

.elementor-menu-cart__footer-buttons {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.elementor-menu-cart__footer-buttons a {
    width: 100% !important;
}

.cont-gallery {
    display: flex;
    flex-direction: row;
    gap: 14px;
    flex-wrap: wrap;
}

.cont-gallery .cont-sing-gallery a, .cont-gallery .cont-mult-gallery a {
    line-height: 0;
}

.cont-gallery .cont-fw-gallery {
    width: 100%;
    height: 500px;
}

.cont-gallery .cont-hw-gallery {
    width: calc(50% - 7px);
    height: 500px;
}

.cont-gallery .cont-sing-gallery, .cont-gallery .cont-mult-gallery {
    width: calc((100% / 3) - (28px / 3));
    height: 500px;
}

.cont-gallery .cont-hide-gallery {
    display: none;
}

.cont-gallery .cont-sing-gallery a, .cont-gallery .cont-fw-gallery a, .cont-gallery .cont-hw-gallery a {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.cont-gallery img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.cont-gallery .cont-mult-gallery {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cont-gallery .cont-mult-gallery a {
    height: calc(50% - 7px);
    width: 100%;
}

.guarda-tutte-foto {
    position: absolute;
    line-height: 1;
    bottom: 20px;
    right: 20px;
    color: white;
    padding: 12px 20px;
    border: 1px solid white;
    border-radius: 100px;
}

.custom-scrollbar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px; /* Altezza della scrollbar */
    background: #f1f1f1; /* Sfondo della scrollbar */
    display: none;
}

.custom-scrollbar-thumb {
    height: 100%;
    width: 100px; /* Larghezza iniziale del thumb, la aggiorneremo con JS */
    background: var(--e-global-color-primary);; /* Colore del thumb */
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .custom-scrollbar {
        display: block;
    }
    .lista-categorie-prodotto {
        justify-content: flex-start;
        gap: 40px;
    }
    .lista-categorie-prodotto .singola-categoria {
        width: auto;
        flex: 0 0 17%;
    }
    .elementor-widget-woocommerce-checkout-page .e-checkout__container {
        grid-template-columns: repeat(1, 1fr) !important;
    }
    .e-checkout__column-end {
        padding-left: 0px !important;
    }
    .lista-categorie-prodotto .singola-categoria img {
        width: 60%;
    }

    /* width */
    .lista-categorie-prodotto::-webkit-scrollbar {
        height: 0;
    }

    /* Track */
    .lista-categorie-prodotto::-webkit-scrollbar-track {
        background: none;
    }

    /* Handle */
    .lista-categorie-prodotto::-webkit-scrollbar-thumb, .lista-categorie-prodotto::-webkit-scrollbar-thumb:hover {
        background: none;
    }
}

@media(max-width:767px){
    .lista-categorie-prodotto {
        justify-content: flex-start;
        gap: 10px;
    }
    .lista-categorie-prodotto .singola-categoria {
        flex: 0 0 37%;
    }

    .wpc-filters-widget-wrapper {
        flex-direction: column;
    }

    .wpc-filter-collapsible {
        margin-bottom: 20px !important;
        margin-right: 0;
        width:100%;
    }

    .wpc-filter-content {
        max-width: 100%;
    }
    .cont-gallery {
        gap: 6px;
    }
    .cont-gallery .cont-sing-gallery, .cont-gallery .cont-mult-gallery {
        width: calc((100% / 3) - (12px / 3));
        height: 50vw;
    }
    .cont-gallery .cont-mult-gallery {
        gap: 6px;
    }
    .cont-gallery .cont-mult-gallery a {
        height: calc(50% - 3px);
    }
}

@media(max-width:480px){
    .progress-wrap.btn-right-side {
        right: 22px !important;
    }
}