/*------首页样式开始--------*/
/*-------carouse样式调整--*/

.container-no .carousel-control-next, .container-no .carousel-control-prev {
  width: 40px;
}

.container-no .carousel-control-prev-icon {
    background-image: url('/themes/xiesheng/public/assets/img/bg/left.png');
    width: 40px;
    height: 80px;
}
.container-no .carousel-control-next-icon {
    background-image: url('/themes/xiesheng/public/assets/img/bg/right.png');
    width: 40px;
    height: 80px;
}

/*------首页样式结束--------*/

/*-----列表页开始-----------*/
.btn-toolbar a {
    background-color: #773D88;
    color: #fff;
    border-color: #fff;
}

.btn-toolbar a:hover {
    background-color: #9956ad;
    color: #fff;
    border-color: #fff;
}


/*-----分页样式覆盖-------*/
.pagination .page-item.active .page-link {
  background-color: #773D88;
  color: #fff;
}
.pagination .page-item .page-link {
  border-color: #fff;
  color: #495057;
}
.page-item.disabled .page-link {
    color: #a6aeb5;
}

/*-----列表页结束-----------*/
/*-----详情页样式开始-------*/
.cz-detail-box {
    position: relative;
    overflow: hidden;
    /*padding: 20px 0;*/
    margin-top: 68px;
}

.cz-detail-box .container {
  background-color: #fff;
  padding: 20px;
  overflow: hidden;
}

.slider {
    background-color: #773D88;
    /*overflow: hidden;*/
    position: relative;
    padding: 10px 20px;
    position: static;
    margin: 20px 0;
}

.slider .top {

}
.slider .top h4 {
    color: #fff;
    font-size: 20px;
    border-bottom: 2px solid #fff;
    padding: 10px 20px;
}
.slider .cate {
    padding: 10px 0;
}
.slider .cate h5 {
    padding: 10px 0;
}

.slider .cate ul {
    overflow: hidden;
}

.slider .cate ul li {
    padding: 5px 0;
    text-indent: 20px;
}
.slider .cate ul li:hover {
  /*background-color: #fff;*/
}

.slider .cate ul li a {
    color: #fff;
    font-size: 14px;
}
.slider .cate ul li a:hover {
   color: #773D88;
   /*color: #87ceeb;*/
}
.slider .cate ul li a.active {
    color: #6fa5df;
}
.slider .cate ul li a.active:hover{
    color: #773D88;
}
.slider .cate h5 a {
    color: #fff;
    font-size: 16px;
}
.slider .cate h5 a:hover {
    color: #6fa5df;
}
.slider .cate h5 a.active {
   color: #6fa5df;
}
.slider .cate h5 a.active:hover {
    color: #6fa5df;
}
.content-box {
    position: relative;
    overflow: hidden;
    /*min-height: 600px;*/
    margin: 20px 0 30px 0;
    /*border: 1px solid #dee2e6;*/
    padding: 0 5px;
}
.content-box .title-info {
  text-align: center;
}

.content-box .title-info h4 {
  padding: 15px;
  font-size: 20px;
}
.content-box .title-info p {
  font-size: 14px;
  color: #6c757d;
}

/*---swiper样式修改----*/
.swiper-box {
    overflow: hidden;
    position: relative;
    height: 590px;
    width: 100%;
}
.swiper-article-box {
  overflow: hidden;
  position: relative;
  height: 650px;
  width: 100%;
}
.img-con {
 position: relative;
 overflow: hidden;
 height: 650px;
 background-repeat: no-repeat;
 background-position: top center;
 background-origin: content-box;
 background-size: contain;
 /*padding:0 10px;*/
}
.img-product-con {
    position: relative;
    overflow: hidden;
    height: 598px;
    background-repeat: no-repeat;
    background-position: top center;
    background-origin: content-box;
    background-size: contain;
    /*padding:0 10px;*/
}

.content-container {
 position: relative;
 /*padding: 30px;*/
}
.swiper-container {
    width: 100%;
    color: #fff;
    text-align: center;
}
.swiper-slide {
}
.swiper-pagination {
    position: absolute;
    z-index: 20;
    right: 0px;
    top: 60px;
    /*padding-top: 20px;*/
}
.swiper-pagination-switch {
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    background: #555;
    margin: 0 0px 5px;
    opacity: 0.8;
    border: 1px solid #fff;
    cursor: pointer;
}
.swiper-active-switch {
    background: #007bff;
}

.swiper-box .swiper-wrapper .swiper-slide-active img {
  margin-top: 70px;
}

.content-box img {
    max-width: 100%;
    height: auto;
    /*padding: 10px;*/
}

.page-box {
  overflow: hidden;
  text-align: center;
  display: flex;
  display: -webkit-flex;
  justify-content: space-between;
}
.page-box a {
    color: #fff;
}
.page-box .a-count {
  color: #6c757d;
  line-height: 30px;
  font-size: 12px;
  padding: 0 10px;
}
.page-box a:first-of-type {
  /*float: left;*/
}
.page-box a:last-of-type {
    /*float: right;*/
}

@media screen and (max-width: 768px){

    .slider {
      width: 100%;
      text-align: center;
    }
    #slider-top {
      display: none;
    }
    #slider-bottom {
        display: block;
    }
    .swiper-box,.swiper-article-box {
        height: 300px;
    }

    .img-con {
        height: 300px;
        background-size: contain;
        background-position: center center;
    }

    .img-product-con {
       height: 300px;
        background-position: center center;
    }
    .swiper-box .swiper-wrapper .swiper-slide-active img {
      margin-top: 50px;
    }
}
@media screen and (min-width: 496px) and (max-width: 768px) {
    .swiper-box .swiper-wrapper .swiper-slide-active img {
        margin-top: 30px;
    }
    .swiper-box,.swiper-article-box {
        height: 350px;
    }
    .img-con {
        height: 350px;
    }
}
@media screen and (min-width: 768px){
    #slider-top {
        display: block;
    }
    #slider-bottom {
       display: none;
    }
}

@media screen and (min-width: 768px) and (max-width: 992px) {
    .content-box {
        height: 400px;
    }
}

@media screen and (max-width: 1140px){
    .cz-home-special-carousel .carousel-control-prev {
        left: 0;
    }
    .cz-home-special-carousel .carousel-control-next {
        right: 0;
    }
}

@media screen and (min-width: 1200px){
    .cz-home-special-carousel-container {
        overflow: hidden;
    }
    .cz-home-special-carousel .carousel-control-prev {
        left: -130px;
    }
    .cz-home-special-carousel .carousel-control-next {
        right: -130px;
    }

}



/*-----详情页样式结束-------*/

/*-----page页面开始--------*/
.page-content-box {
   position: relative;
   overflow: hidden;
   margin-top: 68px;
}
.page-content-box .container {
 background-color: #fff;
 padding: 20px;
}
.page-content {
    overflow: hidden;
    position: relative;
    padding: 30px 50px;
}

.page-content img {
    max-width: 100%;
    height: auto;
}

.cz-list-top-img {
    width: 100%;
    text-align: center;
    position: relative;
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 100%;
    background-color: #F3F3F3!important;
}

.page-content {
    padding: 20px 3px;
}
.content-box {
    height: auto!important;
}
.cz-ocibox {
    padding: 0 10px 40px;
    line-height: 40px;
}
.cz-ocibox h3 {
    font-weight: bold;
    font-size: 26px;
}


/*-----page页面结束--------*/

.breadcrumb li a {
    color: #333;
}


body {
    background-color: #f8f9fa;
}

/*-----bootstrap样式重写--------*/

@media screen and (min-width: 1601px){
    .container {
        max-width: 1400px;
    }
    .swiper-article-box {
      height: 800px;
    }
    .img-con {
      height: 800px;
    }
}


/*---------------解决IE等下面兼容性问题-----------------*/
@-ms-viewport       {
    width: device-width;
}
@-ms-viewport       { width: device-width; }
@-o-viewport        { width: device-width; }
@viewport           { width: device-width; }
