/* Paragraph text and image */
.paragraph--type--text-and-image .col-tai-txt.col-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.paragraph--type--text-and-image .col-tai-txt.col-txt h2,
.paragraph--type--text-and-image .col-tai-txt.col-txt h3 {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 3rem;
  font-weight: 100;
}

/* PARAGRAPH IMAGE */
.paragraph--type--image .field--name-field-image {
    text-align: center;
    width: fit-content;
    margin: 3rem auto;
}

/* Paragraph gallery / image grid */

.paragraph--type--image-grid .images_gallery_wrapper .images_gallery .img_gallery_single {
    margin-bottom: 1.5rem;
}

/* Contacts paragraphs */
.paragraph--type--contact--wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.contact-paragraph svg {
  height: 25px;
  width: 25px;
  margin-right: 0.75rem;
}


/*******************
 Paragraph view
 *******************/

.paragraph--type--view {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.paragraph--type--view .text_view h2 {
     text-transform: uppercase;
     font-size: 2.3rem;
     font-weight: 400;
     letter-spacing: 1px;
 }
 .paragraph--type--view .text_view {
     width: 90%;
     margin: auto;
     margin-bottom: 2rem;
     padding-top: 2rem:
 }


/* Paragraph view - store */
/* test */
div#pId-17,
div#pId-22,
div#pId-28  {
    margin: 5rem var(--negativeMarginX);
    padding: 0 12px;
    background-color: var(--black);
}
div#pId-28,
div#pId-17 {
    padding-top: 2rem;
    color: var(--white);
    /* text-align: center; */
}
.paragraph--type--view .views-element-container .view-places.places-map.view.view-id-places.view-display-id-places_map {
  /* border: 2px solid darkred; */
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  width: 100%;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: space-between;
  position: relative;
}
.paragraph--type--view .views-element-container .view-places .view-header {
    width: 100%;
    /* border: 3px solid green; */
    height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
}
.paragraph--type--view .views-element-container .view-places .view-header::-webkit-scrollbar {
  width: 10px;
  background-color: var(--black);
  border-radius: 0;
}

.paragraph--type--view .views-element-container .view-places .view-header::-webkit-scrollbar-thumb {
  background-color: var(--white);
  border-radius: 0;
}

.paragraph--type--view .views-element-container .view-places .view-header::-webkit-scrollbar-thumb:hover {
  background-color: #ccc; /* colore più chiaro per feedback */
}

.paragraph--type--view .views-element-container .view-places .view-header::-webkit-scrollbar-track {
  background-color: var(--black);
  border-radius: 0;
}
/* Compatibilità Firefox */
.paragraph--type--view .views-element-container .view-places .view-header {
  scrollbar-width: thin;
  scrollbar-color: var(--white) var(--black); /* thumb bianco su sfondo nero */
}
.paragraph--type--view .view-places .view-filters {
    /* border: 2px solid red; */
    width: 100%;
    position: relative;
    color: var(--white);
    margin-bottom: 2rem;
}



.paragraph--type--view .view-filters .d-flex.flex-wrap {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.paragraph--type--view .view-filters .js-form-item-field-search-data-value {
    width: 100%;
}
.paragraph--type--view .view-filters .js-form-item-field-search-data-value input.form-control {
    background-color: transparent;
    border: 2px solid transparent;
    border-bottom-color: var(--white);
    border-radius: 0;
    color: var(--white);
  }

.paragraph--type--view .view-places.places-map.view-id-places.view-display-id-places_map > .view-content{
    /* border: 3px solid purple; */
    width: 100%;
    position: relative;
    height: 50vh;
    margin: auto;
}

.paragraph--type--view .view-places .view-footer {
    width: 100%;
    border: 2px solid var(--white);
    height: auto;
    color: var(--white);
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    margin-left: 1%;
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.paragraph--type--view .view-footer p {
    margin-bottom: 0;
    font-weight: 100;
    letter-spacing: 1px;
}
.paragraph--type--view .view-places .view-footer .form-item-email,
.paragraph--type--view .view-filters .js-form-item-field-search-data-value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.paragraph--type--view div#leaflet-map-view-places-places-map {
    height: auto !important;
}
.paragraph--type--view .views-element-container .view-places .view-header .views-row {
    border-bottom: 1px solid var(--gray);
    padding: 1rem 0rem 1rem 2rem;
}
.paragraph--type--view .views-field.views-field-title,
.paragraph--type--view .views-field.views-field-field-address {
    color: var(--white);
    font-family: var(--sans-serif);
    text-transform: uppercase;
}

.paragraph--type--view .views-field.views-field-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.paragraph--type--view .views-field.views-field-field-address,
.paragraph--type--view .views-field.views-field-field-opening-hours,
.paragraph--type--view .views-field p {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1px;
}
.paragraph--type--view .views-field.views-field-field-opening-hours {
    color: var(--white);
    font-family: var(--sans-serif);
}

form#webform-submission-diventa-retailer-block-content-5-add-form,
.webform-submission-diventa-retailer-block_content-5-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
}
form#webform-submission-diventa-retailer-block-content-5-add-form .form-control,
input#edit-field-search-data-value {
    width: 100%;
    color: var(--white);
    background-color: transparent;
    border: 1px solid transparent;
    border-bottom-color: var(--white);
    border-radius: 0;
}
input.form-email {}

form#webform-submission-diventa-retailer-block-content-5-add-form .form-control:focus,
input#edit-field-search-data-value {
    color: var(--white);
    background-color: transparent;
    border-color: transparent;
    box-shadow: 0 0 0 0 transparent;
    border-bottom: 1px solid var(--white);
}
input.form-email:focus {}
form#webform-submission-diventa-retailer-block-content-5-add-form .btn.btn-primary {
  background-color: var(--white);
  color: var(--black);
}
form#webform-submission-diventa-retailer-block-content-5-add-form .btn.btn-primary:hover {
  background-color: var(--black);
  color: var(--white);
}

div#leaflet-map-view-places-places-map--PGl7-Qd-Kto,
.leaflet-container.leaflet-touch.leaflet-fade-anim.leaflet-grab.leaflet-touch-drag.leaflet-touch-zoom,
.paragraph--type--view .leaflet-container {
    height: 100% !important;
}


/*******************************
******* paragraph slide ********
********************************/

.paragraph--type--slide .slide_wrapper {
  position: relative;
}


.paragraph--type--slide .slide_wrapper .content_slide {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 3;
    color: var(--white);
    width: 80%;
}

.paragraph--type--slide h2 {
    font-size: 3rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: -0.5rem;
}
.paragraph--type--slide a.btn {
    margin-top: 1rem;
}
/* paragraph parallax */
.paragraph.parallax {
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 var(--negativeMarginX);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.paragraph--type--parallax .field_text {
  background-color: rgba(0, 0, 0, 0.5);
  padding: 0.75rem 1.5rem;
  color: var(--white);
}

@media (min-width: 992px) {
  .paragraph.parallax {
    background-attachment: fixed;
  }
}
