.jx1-scroll-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1040;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #168c8c;
  color: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease,
    background-color 0.2s ease;
}

.jx1-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.jx1-scroll-top:hover,
.jx1-scroll-top:focus {
  background: #127272;
  color: #fff;
  outline: none;
}

.jx1-scroll-top:focus {
  box-shadow:
    0 0 0 3px rgba(22, 140, 140, 0.28),
    0 8px 20px rgba(0, 0, 0, 0.22);
}

.jx1-scroll-top .fa {
  font-size: 18px;
  line-height: 46px;
}

@media (max-width: 767px) {
  .jx1-scroll-top {
    right: 16px;
    bottom: 28px;
    width: 42px;
    height: 42px;
  }

  .jx1-scroll-top .fa {
    line-height: 42px;
  }
}
