@keyframes fade-in {
  0%   { opacity: 0; }
  100% { opacity: 1; }
}

#tour-out {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
}
#tour-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: black;
  opacity: .5;
}
#tour {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 1100px;
  z-index: 1000;
  position: absolute;
  background-color: @pw;
  -webkit-transform: translate(-50%, -50%);

  button.tour-close-button {
    position: absolute;
    right: 10px;
    top: 0;
    color: @gray6;
    font-size: 28px;
    font-weight: 200;
    cursor: pointer;
    border: none;
    background: none;

    &:hover {
      text-decoration: none;
      color: @gray5;
    }
  }
  #animation, #features {
    float: left;
  }
  #animation {
    width: 66%;

    img {
      width: 90%;
      margin: 20px auto 40px;
      display: block;
      border: 1px @gray6 solid;
      box-shadow: 0 8px 15px rgba(0,0,0,0.1);
      transition: opacity 250ms ease-out;
    }
  }
  #features {
    width: 30%;

    .feature-content {
      display: none;
      animation: fade-in 500ms ease-out;

      &.active {
        display: block;
      }
    }
    .feature-description {
      color: @gray4;
      height: 120px;
    }
    .get-started-button-holder {
      text-align: center;
      margin-top: 100px;

      #tour-remove {
        opacity: 0;
        animation: fade-in 750ms ease-out 500ms forwards;
      }
    }
  }
  .pager {
    position: relative;
    -webkit-user-select: none;
    margin-top: 0;

    button {
      position: absolute;
      display: block;
      color: @green2;
      border: none;
      background: none;

      &:hover {
        text-decoration: none;
        cursor: pointer;
      }
    }
    button.previous-slide {
      background: url('images/tour/pager-arrow-left.png') left 0 no-repeat;
      background-size: 10px 22px;
      padding: 1px 0 0 20px;
      left: 0;
    }
    button.next-slide {
      background: url('images/tour/pager-arrow-right.png') right 0 no-repeat;
      background-size: 10px 22px;
      padding: 1px 20px 0 0;
      right: 0;
    }
    ul {
      display: block;
      margin-left: auto;
      margin-right: auto;
      padding: 0;
      top: 2px;

      li {
        display: inline-block;
        margin: 0 10px;
        width: 10px;
        height: 10px;
        border-radius: 6px;
        border: 1px solid @gray5;
        list-style: none;
        cursor: pointer;
        text-indent: -9999px;

        &:hover {
          border-color: @green2;
        }
      }
      li.selected {
        background: @green2;
        border-color: @green2;
      }
    }
  }
}
