/**
 * @file
 * Back-to-top button (mobile only).
 */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 50;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-justify-content: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1.5px solid #9aa3ad;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #9aa3ad;
  cursor: pointer;
  /* Hidden until the user scrolls down */
  opacity: 0;
  visibility: hidden;
  -webkit-transform: translateY(0.5rem);
      -ms-transform: translateY(0.5rem);
          transform: translateY(0.5rem);
  transition: opacity 0.2s, visibility 0.2s, color 0.2s, border-color 0.2s, -webkit-transform 0.2s;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s, color 0.2s, border-color 0.2s;
  transition: opacity 0.2s, visibility 0.2s, transform 0.2s, color 0.2s, border-color 0.2s, -webkit-transform 0.2s; }

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0); }

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: #3a83c4;
  color: #3a83c4; }

/* Mobile only */
@media (min-width: 768px) {
  .back-to-top {
    display: none; } }
