/**
 * @file
 * Visual styles for Base+'s scroll to top button.
 */
.to-top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  width: 50px;
  height: 50px;
  color: var(--mt-color-default-contrast);
  border-width: 1px;
  border-style: solid;
  border-color: rgba(var(--mt-color-default-contrast-value), 0.1);
  cursor: pointer;
  text-align: center;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -o-transform: scale(0);
  transform: scale(0);
  -webkit-transition: all 0.4s;
  -moz-transition: all 0.4s;
  -o-transition: all 0.4s;
  -ms-transition: all 0.4s;
  transition: all 0.4s;
  z-index: 100;
  background-color: var(--mt-color-tint);
}
@media (max-width: 991px) {
  .mt-mobile-menu-widget-wrapper ~ .to-top {
    bottom: 60px;
    right: 5px;
    width: 40px;
    height: 40px;
  }
}
.to-top:hover {
  background-color: var(--mt-color-default-light);
}
.page-container-border-enabled .to-top {
  right: 30px;
  bottom: 20px;
}
.to-top.show {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -o-transform: scale(1);
  transform: scale(1);
  opacity: 1;
  filter: alpha(opacity=100);
}
.to-top .svg-inline--fa {
  font-size: 16px;
  padding: 11px;
}
@media (min-width: 992px) {
  .to-top {
    width: 55px;
    height: 55px;
    right: 30px;
    bottom: 30px;
  }
  .page-container-border-enabled .to-top {
    right: 45px;
    bottom: 30px;
  }
  .headroom--bottom .to-top {
    bottom: 85px;
  }
  .to-top .svg-inline--fa {
    font-size: 24px;
    padding: 14px;
  }
}
