/* BARRIOTHEME > GALLERY CSS */

/* =========================================================================================================== */
/*
     SSSSSS   WW      WW    III    PPPPPP    EEEEEEE   RRRRRR
    SS        WW      WW    III    PP   PP   EE        RR   RR
     SSSSS    WW   W  WW    III    PPPPPP    EEEEE     RRRRRR
         SS    WW WWW WW    III    PP        EE        RR  RR
    SSSSSS      WW   WW     III    PP        EEEEEEE   RR   RR
*/

/* __________________________________________________________________________ */
/* Swiper Container */
.square-gallery {
  padding-bottom: calc(var(--distance) + var(--distance-medium));
}
.swiper-articoli,
.swiper-articoli-mobile {
  overflow: visible;
}
.swiper-choices {
  margin-right: 15px;
  overflow: hidden;
}

/* __________________________________________________________________________ */
/* Swiper Slides */
.swiper-container.marquee {
  height: auto;
}
.marquee .swiper-wrapper {
  -webkit-transition-timing-function:linear!important;   
  transition-timing-function:linear!important; 
  position: relative;
  height: auto;
}
.marquee .swiper-slide {
  padding: 25px 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.marquee .swiper-slide,
.swiper-choices .swiper-slide {
  width: auto !important;
}
/* .swiper-choices .swiper-slide:first-of-type .single-choice {
  margin-left: 80px;
} */
.swiper-choices .swiper-slide:last-of-type .single-choice {
  margin-right: 80px;
}

/* __________________________________________________________________________ */
/* Swiper Navigation */

.swiper-navigation {
  width: 100%;
  height: 25px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

/* __________________________________________________________________________ */
/* Swiper Arrows */

.swiper-button-prev,
.swiper-button-next {
  margin: 0;
  position: absolute;
  width: 50%;
  height: var(--distance);
  top: unset;
  left: 0;
  right: unset;
  bottom: calc(var(--distance-medium) / 2);
  border: 0;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  outline: none !important;
  pointer-events: all !important;
  user-select: all !important;
  transition: var(--transition);
}
.swiper-button-next {
  right: 0;
  left: auto;
  justify-content: flex-end;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  content: "";
  width: 42px;
  height: 30px;
  background-color: var(--nero);
  transition: var(--transition);
}
.swiper-button-prev::after {
  order: 1;
  transform: scaleX(-1);
}

.swiper-button-prev::before {
  content: "PREV";
  font-family: var(--univers);
  font-size: var(--size-p-small);
  line-height: var(--lh-p-small);
  letter-spacing: 0;
  color: var(--nero);
  margin-left: calc(var(--distance-medium) / 2);
  order: 2;
}
.swiper-button-next::before {
  content: "NEXT";
  font-family: var(--univers);
  font-size: var(--size-p-small);
  line-height: var(--lh-p-small);
  letter-spacing: 0;
  color: var(--nero);
  margin-right: calc(var(--distance-medium) / 2);
  transition: var(--transition);
}

.swiper-button-prev::after {
  -webkit-mask: url(../media/svg/arrow-new.svg) no-repeat 50% 50%;
  mask: url(../media/svg/arrow-new.svg) no-repeat 50% 50%;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.swiper-button-next::after {
  -webkit-mask: url(../media/svg/arrow-new.svg) no-repeat 50% 50%;
  mask: url(../media/svg/arrow-new.svg) no-repeat 50% 50%;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.swiper-button-prev.swiper-button-disabled,
.swiper-button-next.swiper-button-disabled {
  pointer-events: none !important;
  user-select: none !important;
}
