.gallery-slider .single__image {
  position: relative;
  overflow: hidden;
}
.gallery-slider .single__image img {
  display: block;
  transition: all 0.3s ease-in-out;
}
.gallery-slider .single__image .on_hover {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease-in-out;
  color: #ffffff;
}
.gallery-slider .single__image .on_hover_none {
  transition: all 0.3s ease-in-out;
}
.gallery-slider .single__image .image__title {
  font-size: 20px;
  font-weight: 600;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%);
  color: #ffffff;
  text-transform: capitalize;
}
.gallery-slider .single__image:hover .on_hover {
  opacity: 1;
}
.gallery-slider .single__image:hover .on_hover_none {
  opacity: 0;
}
.gallery-slider .single__image.has-hover-animation:hover img {
  transform: scale(1.1);
}
.gallery-slider .rt-swiper-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9;
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.gallery-slider .rt-swiper-navigation .swiper-prev,
.gallery-slider .rt-swiper-navigation .swiper-next {
  display: grid;
  color: #ffffff;
  place-items: center;
  padding: 5px 0;
  font-size: 16px;
  width: 40px;
  height: 40px;
  background: var(--e-global-color-primary);
  text-align: center;
  line-height: 1.5;
}
.gallery-slider .rt-swiper-navigation .swiper-prev {
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 0 20px 20px 0;
}
.gallery-slider .rt-swiper-navigation .swiper-next {
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 20px 0 0 20px;
}

.rt-swiper-navigation-outside {
  top: -14% !important;
  max-width: 85px;
  right: 0;
  height: max-content;
}
.rt-swiper-navigation-outside .swiper-prev,
.rt-swiper-navigation-outside .swiper-next {
  border-radius: 0 !important;
}
.rt-swiper-navigation-outside span {
  font-size: 16px;
  display: grid;
  place-items: center;
}