
/**
 * Popups
 * --------------------------------------------------
 */

.popup {
  position: fixed;
}

.popup-content {
  padding: 10px;
}

.loading-backdrop {
  @include transition(visibility 0s linear 0.3s);
  position: fixed;
  top: 0;
  left: 0;

  visibility: hidden;
  width: 100%;
  height: 100%;

  &.enabled {
    background-color: rgba(0,0,0,0.7);
  }

  &.active {
    @include transition-delay(0s);
    visibility: visible;
  }
}

.loading {
  position: fixed;
  top: 50%;
  left: 50%;
  padding: 20px;

  border-radius: 5px;
  background-color: rgba(0,0,0,0.7);

  color: #fff;

  text-align: center;
  text-overflow: ellipsis;
  font-size: 15px;

  h1, h2, h3, h4, h5, h6 {
    color: #fff;
  }
}
