@import '../../_style/index.less';

@carouselPrefixCls: am-carousel;

.@{carouselPrefixCls} {
  &-ratio {
    position: relative;
    .@{carouselPrefixCls} {
      position: absolute!important;
      top: 0;
      left: 0;
      height: 100%!important;
      &-item {
        height: 100% !important;
      }
    }
    .slider-frame, .slider-list, .slider-slide {
      height: 100%!important;
    }
    .slider-slide {
      & > div {
        height: 100%;
      }
    }
  }
  &-item {
    &-content {
      // width: 100%;
      height: 100%;
    }
    &-default {
      display: flex;
      height: 100%;
      justify-content: center;
      align-items: center;
      color: #ffffff;
      background-color: @brand-success;
      font-size: @hd * 30;
    }
  }

  &-wrap {
    &-dot {
      > span {
        background-color: #d8d8d8;
      }
      &-active {
        & > span {
          background-color: @brand-primary;
        }
      }
    }
  }
}
