/* Created by Content Blocks */
.online-services {
  position: relative;
  padding: 0 40px;
}

.online-services .swiper-button-next,
.online-services .swiper-button-prev {
  top: calc(50% + 17px);
}

.online-services .swiper-button-prev {
  left: 0;
}

.online-services .swiper-button-next {
  right: 0;
}

.online-services .swiper-wrapper {
  padding-top: 35px;
}

.online-services .swiper-slide {
  background: rgb(var(--c-neutral-lighter));
  border-radius: var(--b-radius);
  border-bottom: 3px solid transparent;
  height: auto;
}

.online-services .services__item {
  position: relative;
}

.services__iteminner {
  padding: 2.5rem 2rem 2rem 2rem;
  transition: all 0.1s ease 0s;
  text-align: center;
}

.online-services .services__icon .font__fas {
  text-align: center;
  font-size: 25px;
  line-height: 50px;
  color: rgb(var(--c-neutral-lightest));
}

.online-services .services__icon {
  height: 60px;
  line-height: 60px;
  z-index: 2;
  width: 60px;
  display: flex;
  justify-content: center;
  top: 0;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  position: absolute;
  border-radius: 30px;
  background: rgb(var(--c-secondary));
  border: 5px solid rgb(var(--c-neutral-lightest));
}

@media (hover: hover) {
  .online-services .swiper-slide:hover .services__icon {
    background: rgb(var(--c-primary));
    border: 5px solid rgb(var(--c-secondary));
  }

  .online-services .swiper-slide:hover {
    border-bottom: 3px solid rgb(var(--c-primary));
  }
}

.online-services .services__slider {
  z-index: 1;

  & .swiper-slide {
    box-sizing: border-box;
    transition: padding ease 0.3s;
  }

  & .swiper-navigation {
    position: relative;
    top: auto;
    bottom: auto;
  }
}

.online-services div.services__slider {
  position: relative;
}

.services__link,
.services__subtitle {
  margin-top: 0.5rem;
  display: inline-block;
  text-wrap-style: balance;
}