/* 公共 */

.header-bg {
  height: 123px;
  background-color: #32394a;
}

.bg-gray {
  background-color: #f5f7fa;
}

.ssl-buy-container {
  padding: 24px 0 40px;
  box-sizing: border-box;
}

.ssl-buy-box,
.m-ssl-container {
  background-color: #fff;
}

.ssl-title-box {
  background-color: #fff;
  -webkit-box-shadow: 0px -2px 7px 0px rgba(60, 88, 125, 0.09);
  box-shadow: 0px -2px 7px 0px rgba(60, 88, 125, 0.09);
}

.ssl-title {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
}

.ssl-title span {
  font-size: 20px;
  color: #1c1d1f;
  margin-left: 10px;
}

.ssl-title .icon-xingzhuang10 {
  font-size: 22px;
  color: #999;
  position: relative;
  top: 1px;
}

.ssl-title .icon-xingzhuang10:hover {
  cursor: pointer;
  border-color: #3888fc;
  color: #3888fc;
}

.ssl-main {
  padding: 30px;
  box-sizing: border-box;
  overflow: hidden;
}

.ssl-main .ssl-form-item {
  border-bottom: 1px solid #ebedf0;
  padding-bottom: 27px;
  margin-bottom: 25px;
}

.ssl-main .ssl-form-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.ssl-main .ssl-form-item .module-name {
  font-size: 16px;
  font-weight: bold;
  color: #1c1d1f;
  margin-bottom: 22px;
}

.ssl-main .detail-box {
  max-width: 1200px;
}

/* 证书品牌 */

.ssl-type {
  display: flex;
  flex-wrap: wrap;
  margin-top: -10px;
  margin-right: -10px;
}

.ssl-type li {
  display: flex;
  width: calc(16.6666% - 10px);
  max-width: 191px;
  height: 48px;
  justify-content: center;
  align-items: center;
  border: 1px solid #ebedf0;
  background-color: #fff;
  transition: all 0.3s;
  cursor: pointer;
  margin-right: 10px;
  margin-top: 10px;
  box-sizing: border-box;
  font-size: 0;
}

.ssl-type li:hover {
  border: 1px solid #2981ff;
}

.ssl-type li.active {
  border: 1px solid #2981ff;
  background-color: #eef5ff;
}

.ssl-type li img {
  max-width: 117px;
  max-height: 22px;
}

.ssl-type li[data-type="brand_1"] img {
  width: 80px;
}

.ssl-type li[data-type="brand_6"] img,
.ssl-type li[data-type="brand_9"] img,
.ssl-type li[data-type="brand_10"] img,
.ssl-type li[data-type="brand_12"] img {
  max-height: 26px;
}

/* 配置规格 */
.product-specification {
  display: flex;
  flex-wrap: wrap;
  margin-right: -16px;
  margin-top: -16px;
  color: #626266;
}

.product-specification li {
  position: relative;
  display: none;
  width: calc(33.3333% - 16px);
  max-width: 389px;
  background-color: #fff;
  margin-top: 16px;
  margin-right: 16px;
  padding: 30px 25px 30px;
  top: 0;
  transition: top 0.3s;
  box-sizing: border-box;
  border: 1px solid #ebedf0;
  box-sizing: border-box;
}

.product-specification li:hover {
  top: -6px;
  box-shadow: 0px 6px 24px 0px rgba(18, 51, 100, 0.08);
}

.product-specification__header {
  padding-bottom: 24px;
  border-bottom: 1px solid #ebedf0;
}

.product-specification__header p {
  font-size: 18px;
  font-weight: bold;
  color: #1c1d1f;
  margin-top: 7px;
  line-height: 1;
}

.product-specification__content {
  margin-top: 20px;
  margin-bottom: 18px;
  height: 115px;
}

.product-specification__content p {
  margin-top: 9px;
  line-height: 18px;
}

.product-specification__content p:nth-child(n + 5) {
  display: none;
}

.product-specification__content p::before {
  content: "";
  position: relative;
  top: 3px;
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("/images/new_kkidc/ssl/checked.png");
  background-repeat: no-repeat;
  margin-right: 13px;
}

.product-specification__bottom {
  position: relative;
}

.price-box {
  display: inline-block;
}

.product-specification__price {
  font-size: 30px;
  font-weight: bold;
  color: #f33e3e;
}

.product-specification__unit {
  color: #999;
  margin-left: 2px;
}

.product-specification__sheng {
  line-height: 22px;
  color: #f8751c;
  padding: 0 7px;
  border: 1px solid #f8751c;
  background-color: #ffeee3;
  margin-left: 3px;
}

.product-specification__qiang {
  line-height: 22px;
  color: #f33e3e;
  padding: 0 7px;
  border: 1px solid #f33e3e;
  background-color: #ffe4e4;
  margin-left: 3px;
}

.product-specification__originprice {
  display: block;
  color: #999;
  margin-top: -5px;
  margin-bottom: 8px;
  text-decoration: line-through;
}

.product-specification__btn {
  display: block;
  border: 1px solid #2981ff;
  background-color: #fff;
  color: #2981ff;
  font-size: 16px;
  line-height: 38px;
  text-align: center;
  transition: all 0.3s;
}

.product-specification li:hover .product-specification__btn {
  background-color: #2981ff;
  color: #fff;
}

.product-specification li:hover .product-specification__btn:hover {
  background-color: #2574e5;
  color: #fff;
}

@media screen and (max-width: 1440px) {
  .product-specification li {
    width: calc(33.3333% - 16px);
  }
}

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

  /* 公共 */
  .ssl-title {
    width: 100%;
    height: 56px;
    display: flex;
    align-items: center;
  }

  .ssl-title span {
    font-size: 15px;
    margin-left: 8px;
  }

  .ssl-title .icon-xingzhuang10 {
    font-size: 22px;
    color: #999;
    position: relative;
    top: 1px;
  }

  .ssl-title span {
    font-size: 17px;
  }

  .ssl-buy-container {
    padding: 0;
    width: 100%;
  }

  .ssl-main {
    padding: 0 0 20px;
  }

  .ssl-main .ssl-form-item {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 4px;
  }

  .module-name {
    background-color: #f5f7fa;
    padding: 14px;
    line-height: 1;
    margin-bottom: 0;
    border-top: 1px solid #ebedf0;
    border-bottom: 1px solid #ebedf0;
  }

  .module-name::before {
    display: inline-block;
    content: "";
    width: 4px;
    height: 14px;
    position: relative;
    top: -1px;
    background-color: #2981ff;
    margin-right: 15px;
  }

  .detail-box,
  .contents .detail-box {
    width: calc(100% - 30px);
    padding: 0 15px 20px;
  }

  .module-name {
    padding: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
  }

  .detail-box {
    width: calc(100% - 30px);
    padding: 0 15px 20px;
  }

  /* 证书品牌 */

  .ssl-type li {
    display: block;
    width: calc(50% - 10px);
    height: 40px;
    line-height: 38px;
    text-align: center;
  }

  .ssl-type li img {
    max-width: 89px;
    max-height: 19px;
    vertical-align: middle;
  }

  .ssl-type li[data-type="brand_1"] img {
    width: 62px;
  }

  .ssl-type li[data-type="brand_6"] img,
  .ssl-type li[data-type="brand_9"] img,
  .ssl-type li[data-type="brand_10"] img,
  .ssl-type li[data-type="brand_12"] img {
    max-height: 21px;
  }

  /* 产品规格 */
  .section-a2 {
    background-color: #f5f7fa;
    padding-bottom: 25px;
  }

  .section-a2 li>div {
    padding: 0;
  }

  .product-specification {
    margin-right: 0;
    color: #1c1d1f;
  }

  .product-specification li {
    width: calc(50% - 16px);
    margin-right: 16px;
    margin-top: 15px;
    background-image: url("/images/new_kkidc/ssl/product-specification-bg.jpg");
    background-size: cover;
    padding: 20px 15px;
  }

  .product-specification li:nth-child(n + 4) {
    display: none;
  }

  .product-specification li:hover {
    top: 0;
  }

  .section-body li:not(:last-child) {
    margin-bottom: 0;
  }

  .product-specification__header img {
    height: 19px;
  }

  .product-specification__header p {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .product-specification__content {
    margin-top: 12px;
    margin-bottom: 13px;
    height: 103px;
  }

  .product-specification__content p::before {
    width: 15px;
    height: 15px;
    background-size: cover;
    margin-right: 8px;
  }

  .product-specification__content p {
    font-size: 13px;
  }

  .product-specification .product-specification__bottom {
    padding-bottom: 30px;
    border-top: 1px solid #ebedf0;
    padding-top: 15px;
    margin-bottom: 5px;
  }

  .product-specification__bottom .price-box {
    position: absolute;
    bottom: 0;
  }

  .product-specification__bottom .product-specification__originprice {
    position: absolute;
    right: 0;
    bottom: 0;
    margin-bottom: 0;
    line-height: 27px;
    font-size: 13px;
  }

  .product-specification__bottom .product-specification__sheng {
    font-size: 10px;
    margin-left: 0;
  }

  .product-specification__bottom .product-specification__qiang {
    font-size: 10px;
    margin-left: 5px;
  }

  .product-specification__bottom .product-specification__price {
    font-size: 18px;
  }

  .product-specification__bottom .product-specification__unit {
    font-size: 13px;
  }

  .product-specification__btn {
    line-height: 38px;
    background-color: #2981ff;
    color: #fff;
    border: none;
    font-size: 13px;
    font-family: "PingFang";
  }
}

@media screen and (max-width: 600px) {
  .product-specification li {
    width: 100%;
    margin-right: 0;
  }
}