.m-carousel {
  background: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  padding-top: 50%;
}

.m-carousel-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.m-carousel-item {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: inline;
  float: left;
}

.m-carousel-item-con {
  display: block;
  width: 100%;
  height: 100%;

  .bgImg {
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.m-carousel-dots {
  position: absolute;
  bottom: 6px;
  left: 0;
  width: 100%;
  text-align: center;

  li {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0.5;

    &.active {
      opacity: 0.8;
    }
  }
}

.m-carousel-item-title {
  position: absolute;
  bottom: 0;
  left: 0;
  line-height: 30px;
  color: #fff;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  padding: 0 10px;
}