/**
 * DESIGN VARS
 */
/**
 * BOOTSTRAP VARS
 */
.service-slider .wrapper {
  display: flex;
  transition: 0.3s ease;
}
.service-slider .wrapper .slide {
  min-width: 42%;
  margin-right: 20px;
}
@media (max-width: 1199.98px) {
  .service-slider .wrapper .slide {
    min-width: 52%;
  }
}
.service-slider .wrapper .slide .card-container .card {
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  border-radius: 0;
  padding-bottom: 10px;
  background-color: transparent !important;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.service-slider .wrapper .slide .card-container .card .overlay-link {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
.service-slider .wrapper .slide .card-container .card .image-container {
  position: relative;
  padding-top: 67%;
  transition: 0.3s ease;
}
.service-slider .wrapper .slide .card-container .card .image-container.nopic {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #26323e;
}
.service-slider .wrapper .slide .card-container .card .image-container .image {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover !important;
  object-fit: cover !important;
  top: 0;
  left: 0;
}
.service-slider .wrapper .slide .card-container .card .content {
  padding: 15px 20px;
  height: 100%;
  color: #26323e;
}
.service-slider .wrapper .slide .card-container .card .content .readmore {
  background-image: url('/wp-content/themes/dydon/assets/images/blue_arrow.svg');
  background-repeat: no-repeat;
  background-position: center right;
  padding-right: 40px;
  margin-top: 20px;
  float: right;
  display: none;
  color: #26323e;
  text-transform: uppercase;
}
.journal-slider-uppercase {
  text-transform: uppercase;
}

.service-slider .wrapper .slide.active {
  min-width: 56%;
}

.service-slider .wrapper .slide.active .card-container .card {
  height: auto;
  overflow: visible;
  box-shadow: 7px 23px 44px -26px rgba(0, 0, 0, 0.78);
  -webkit-box-shadow: 7px 23px 44px -26px rgba(0, 0, 0, 0.78);
  -moz-box-shadow: 7px 23px 44px -26px rgba(0, 0, 0, 0.78);
}
.service-slider .wrapper .slide.active .card-container .card .image-container {
  opacity: 1;
}
.service-slider .wrapper .slide.active .card-container .card .readmore {
  display: inline-block;
}

.service-slider .image-container,
.journal-swiper .image-container {
  position: relative;
}
.service-slider .image-container .d-inner,
.journal-swiper .image-container .d-inner {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  position: absolute;
  display: flex;
  background: #666666;
  color: #fff;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  background-color: #b1b2a6 !important;
  background-image: url('../../assets/images/gradient2.svg');
}
.service-slider .image-container .d-inner .dv,
.journal-swiper .image-container .d-inner .dv {
  left: 50%;
  top: 50%;
  position: absolute;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  color: #fff;
}

.controlls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 18px;
  position: relative;
  margin-right: -110px !important;
  z-index: 1;
}
.controlls .my-slider-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #26323e;
  height: 60px;
  width: 60px;
  border-radius: 30px;
  transition: 0.3s ease;
  outline: none;
  cursor: pointer;
}
#servizi-left.my-slider-arrow {
  margin-right: 9px;
}
#servizi-right.my-slider-arrow {
  margin-left: 9px;
}

.controlls .link {
  margin-right: 14px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1px;
  font-family: 'Sora';
  color: #26323e;
}
.controlls .servizi-pagination {
  display: flex;
  align-items: baseline;
  flex: 1;
  gap: 0px;
}
.controlls .servizi-pagination .point {
  height: 4px;
  width: 16px;
  background-color: #26323e;
  transition: 0.3s ease;
}
.controlls .servizi-pagination .point.active ~ * {
  height: 1px;
}
.controlls .servizi-pagination .point:first-child {
  margin-left: 15px;
}
.controlls .servizi-pagination .point:last-child {
  margin-right: 15px;
}

.mobile-slider .swiper-slide .card-container .card {
  overflow: hidden;
  border-radius: 0;
  padding-bottom: 20px;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: none;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}
.mobile-slider .swiper-slide .card-container .card .overlay-link {
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  position: absolute;
}
.mobile-slider .swiper-slide .card-container .card .image-container {
  position: relative;
  opacity: 0;
  padding-top: 56.25%;
  transition: 0.3s ease;
}
.mobile-slider .swiper-slide .card-container .card .image-container .image {
  position: absolute;
  height: 100%;
  width: 100%;
  -o-object-fit: cover !important;
  object-fit: cover !important;
  top: 0;
  left: 0;
}
.mobile-slider .swiper-slide .card-container .card .content {
  padding: 28px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 100%;
}
.mobile-slider
  .swiper-slide.swiper-slide-active
  .card-container
  .card
  .image-container {
  opacity: 1;
}

.mobile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 18px;
  margin-top: 26px;
  position: relative;
  z-index: 1;
}
.mobile .my-slider-arrow {
  border-width: 1px;
  border-style: solid;
  border-radius: 100%;
  margin: 0px 10px;
  transition: 0.3s ease;
  outline: none;
  max-height: 64px;
  max-width: 64px;
  min-height: 64px;
  min-width: 64px;
  display: flex;
  align-items: center;
  padding: 12px;
}
.journal-slider-tag {
  margin-bottom: 10px;
  text-transform: uppercase;
  font-size: 16px;
  font-family: 'Sora';
}
.desktop-controls {
  display: block;
}
.mobile-controls {
  display: none;
}
@media (max-width: 991px) {
  .service-slider {
    overflow: hidden;
  }
  .service-slider .wrapper .slide {
    min-width: 76.92%;
  }
  .service-slider .wrapper .slide.active {
    min-width: 76.92%;
  }
  .service-slider .wrapper .slide.active .card-container .card {
    box-shadow: none; /* Remove the shadow */
  }
  .service-slider .wrapper .slide {
    margin-right: 10px;
  }
  .journal-slider-heading {
    font-size: 20px;
    line-height: 28px;
  }
  .journal-slider-tag {
    font-size: 14px;
    line-height: 18px;
  }
  .desktop-controls {
    display: none;
  }
  .mobile-controls {
    display: flex;
  }
  .controlls {
    margin-right: 0px !important;
  }
}
@media (max-width: 575.98px) {
  .mobile .my-slider-arrow {
    max-height: 48px;
    max-width: 48px;
    min-height: 48px;
    min-width: 48px;
  }
}
.mobile .my-slider-arrow svg {
  width: 100%;
}
.mobile .link {
  margin-right: 14px;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 1px;
  font-family: 'Sora';
  color: #26323e;
}
.mobile .servizi-pagination {
  display: flex;
  align-items: center;
  margin-right: 30px;
}
.mobile .servizi-pagination .point {
  height: 16px;
  width: 16px;
  border-radius: 8px;
  background-color: #26323e;
  margin: 0 2px;
  border: solid 4px white;
  transition: 0.3s ease;
}
@media (max-width: 575.98px) {
  .mobile .servizi-pagination .point {
    height: 12px;
    width: 12px;
    border: solid 2px white;
  }
}
.mobile .servizi-pagination .point.swiper-pagination-bullet-active {
  border: solid 4px rgba(255, 255, 255, 0.7);
  background-color: #26323e;
}

.afterel {
  position: relative;
  z-index: 10;
}
.afterel::after {
  position: absolute;
  top: 0;
  right: 10px;
  height: 120%;
  content: '';
  width: 100vw;
  background-color: #fff;
  z-index: -1;
}

.journal-swiper {
  width: 100%;
  margin: 20px auto;
}
.journal-swiper .swiper-slide {
  font-size: 18px;
  background: #fff;
  box-shadow: 0px 38.5185px 25.4815px rgba(0, 0, 0, 0.0425185),
    0px 20px 13px rgba(0, 0, 0, 0.035),
    0px 8.14815px 6.51852px rgba(0, 0, 0, 0.0274815),
    0px 1.85185px 3.14815px rgba(0, 0, 0, 0.0168519);
  height: auto;
}
.journal-swiper .swiper-wrapper {
  padding-bottom: 55px;
}
.journal-swiper .img-wrapper {
  width: 100%;
  height: 165px;
  min-height: 215px;
}
.journal-swiper .img-wrapper.nopic {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #26323e;
}
.journal-swiper .img-wrapper img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover !important;
  object-fit: cover !important;
}

.journal-swipe-pagination {
  display: flex;
  align-items: baseline;
  flex: 1;
}
.journal-swipe-pagination .swiper-pagination-bullet {
  height: 4px;
  width: 20px;
  background-color: #26323e;
  transition: 0.3s ease;
  margin: 0px !important;
  opacity: 1 !important;
  border-radius: 0px !important;
}
.journal-swipe-pagination
  .swiper-pagination-bullet.swiper-pagination-bullet-active
  ~ * {
  height: 1px;
}
.journal-swipe-pagination .swiper-pagination-bullet:first-child {
  margin-left: 15px;
}
.journal-swipe-pagination .swiper-pagination-bullet:last-child {
  margin-right: 15px;
}
.journal-slider-heading {
  font-family: 'Sora';
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  margin-bottom: 16px !important;
}
.pagination-label-journal {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
}
