@charset "UTF-8";

//
// @copyright        2017 opencart.cn - All Rights Reserved
// @link             http://www.guangdawangluo.com
// @author           Pu shuo <pushuo@opencart.cn>
// @created          2017-10-23 11:41:25
// @modified         2017-10-27 14:33:16
//

.swiper-box {
  position: relative;

  @media (min-width: 768px) {
    &:hover {
      .swiper-button-next, .swiper-button-prev {
        display: block;
      }
    }
  }

  .swiper-button-next, .swiper-button-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ddd;
    text-align: center;
    background-image: none;
    display: none;
    &:hover {
      border-color: $main_color;
      i {
        color: $main_color;
      }
    }

    i {
      font-size: 40px;
      line-height: 48px;
    }
  }

  .swiper-button-next {
    // right: -50px;
  }

  .swiper-button-prev {
    // left: -50px;
  }

  .swiper-pagination {
    bottom: 0;
    width: 100%;

    span {
      margin: 0 4px;
    }
  }

  .carousel-module {
    overflow: hidden;
    position: relative;
  }
}