.back-to-top-container {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 1000;
  pointer-events: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.back-to-top-container.sliding-out {
  transform: translateX(100%);
  opacity: 0;
}
.back-to-top-container.show {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}
.back-to-top-container.show.sliding-out {
  transform: translateX(100%) !important;
  opacity: 0 !important;
}
@media (max-width: 768px) {
  .back-to-top-container {
    bottom: 30px;
    right: 20px;
  }
}
.btt-main-container {
  position: relative;
}
.back-to-top-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 19px 24px;
  background-color: #ffffff;
  border-width: 1px;
  border-color: #ffffff;
  border-right: none;
  border-radius: 30.5px;
  cursor: pointer;
  box-shadow: 1px 3px 3px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  width: 60px;
  height: 60px;
}
.back-to-top-btn:hover {
  background-color: #ffffff;
}
.back-to-top-btn:focus {
  outline-offset: 2px;
}
.back-to-top-btn.expanded {
  background-color: #ffffff;
  box-shadow: 1px 3px 3px 0 rgba(0, 0, 0, 0.25);
  max-width: 182px;
  width: fit-content;
  height: 60px;
  gap: 20px;
}
.back-to-top-btn.expanded .back-to-top-text-container {
  opacity: 1;
  visibility: visible;
  max-width: 300px;
}
@media (max-width: 768px) {
  .back-to-top-btn.expanded {
    transform-origin: right center;
  }
}
.back-to-top-text-container {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  max-width: 0;
  overflow: hidden;
  margin-left: 6px;
  border-right: 1px solid white;
}
@media (max-width: 768px) {
  .back-to-top-text-container {
    max-width: 200px;
  }
}
.back-to-top-text {
  font-size: 18px;
  color: #00853e;
  line-height: 1;
  white-space: nowrap;
}
.back-to-top-icons-container {
  display: flex;
  align-items: center;
  position: relative;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.back-to-top-image {
  position: absolute;
  top: 50%;
  left: 40%;
  transform: translate(-50%, -50%);
  width: 25.14px;
  height: 14.76px;
}
#arrow-icon {
  opacity: 1;
}
#close-icon {
  opacity: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top-container,
  .back-to-top-btn,
  .back-to-top-image,
  .back-to-top-text-container {
    transition: none;
  }
}
