//@import '../../variables.scss';
.au-slide {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;

  &.au-slide-nav-horizontal {
    .au-slide-nav-left {
      left: 15px;
      bottom: 1px;
    }

    .au-slide-nav-center {
      left: 50%;
      transform: translateX(-50%);
      bottom: 1px;
    }

    .au-slide-nav-right {
      right: 15px;
      bottom: 1px;
    }
  }

  &.au-slide-nav-vertical {
    .au-slide-nav-left {
      left: 15px;
      top: 50%;
      transform: translateY(-50%);
    }

    .au-slide-nav-center {
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);

    }

    .au-slide-nav-right {
      right: 15px;
      top: 50%;
      transform: translateY(-50%);
    }

    .au-slide-nav > li {
      display:block;
      margin-bottom: 3px;
    }
  }

  .au-slide-content {
    position: relative;
    z-index: 1;
    top: 0;
    /*width: 9999px;*/
    height: 100%;

    &::after {
      display: block;
      clear: both;
      content: "";
    }
  }

  .au-slide-item {
    position: relative;
    float: left;
    height: 100%;
    img {
      width: 100%;
      height: 100%;
    }
  }

  .link-slide {
    display: block;
    width: 100%;
    height: 100%;

    .banner-bg-area {
      height: 100%;
    }

    .banner-bg-txt {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%,-50%);
      text-align: center;
      color: #fff;
      font-size: 65px;
    }
  }

  .au-slide-nav {
    position: absolute;
    height: 30px;
    line-height: 30px;
    margin-bottom: 0;
    z-index: 1;
    font-size: 12px;
    color: var(--color-slide-nav-index);
  }

  .au-slide-nav > li {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 2px;
    background-color: var(--color-slide-nav-index);
    margin-left: 3px;
    cursor: pointer;

    &.active {
      background-color: var(--color-slide-nav-active);
    }
  }
}
