/*
* @subsection   ToTop
* @license      MIT license - http://opensource.org/licenses/MIT
* @version      1.0.0
*/
.ui-to-top {
  //width: 90px;
  //height: 90px;
  font-size: 67px;
  line-height: 67px;
  color: darken($primary, 15%);
  //background: $contrast;
  //border-radius: 50%;
  //box-shadow: $box-shadow-ambient, $box-shadow-key-light;
  position: fixed;
  right: 15px;
  bottom: 15px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  z-index: 20;

  @include transform(translateY(140px));

  &:hover {
    color: $grayscale-darken;
    //background: darken($primary, 5%);
    text-decoration: none;
  }

  &:before{
    //line-height: 90px;
    //text-shadow: 2px 1px 1px rgba(255,255,255,1);
  }

  &.active{
    @include transform(translateY(0));
  }
}

.mobile .ui-to-top,
.tablet .ui-to-top {
  display: none !important;
}

@media (min-width: $screen-xs-min){
  .ui-to-top {
    right: 40px;
    bottom: 40px;
  }
}


