@import './var.scss';

ul, li {
  list-style: none;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
body {
  font-family: PingFangSC,FZLTXHK,arial,"Hiragino Sans GB","Microsoft YaHei","WenQuanYi Micro Hei",sans-serif;
  --swiper-pagination-bullet-width: 20px;
  --swiper-pagination-bullet-height: 4px;
  --swiper-pagination-color: #A0C60C;
  --swiper-pagination-bullet-inactive-color: #fff;
  --swiper-pagination-bullet-inactive-opacity: .8;
}
.iconfont {
  vertical-align: middle;
}
a {
  color: #333;
}
.row-padding {
  padding: 0 20px;
}
.clearfix:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}
.center-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 21px;
  min-height: 36px;
  background: none;
  color: #0d0d0d;
  text-decoration: none!important;
  letter-spacing: .1px;
  font: 700 13.55px/24px Noto Sans,sans-serif;
  cursor: pointer;
  transition: .4s;

  &:hover {
    opacity: 1;
  }

  &.btn-loading {
    opacity: .4;

    &::before {
      content: '\e891';
      font-size: 18px;
      display: inline-block;
      vertical-align: middle;
      font-family: 'iconfont';
      margin-right: 5px;
      animation: rotate360 1s ease-in-out infinite;
    }
  }
}
.layout-container {
  // padding-top: 80px;
}
.page-header {
  // background-color: #fff;
  background-color: rgba(0, 0, 0, .3);
  z-index: 1000;
  transition: all .3s linear;

  &.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  a {
    color: #fff;
  }

  &.bg, &:hover {
    background-color: #fff;
    color: #333;
    box-shadow: 0 10px 10px rgba(0, 0, 0, .2);

    a {
      color: #333;
    }

    .search-wrap {
      background-color: rgba(0, 0, 0, .2);

      .o-input::placeholder {
        color: #333;
      }
      .o-submit {
        background: url('../images/search-black.png') center no-repeat;
        background-size: 100%;
      }
    }
  }

  // &.bg {
  //   .header-content {
  //     height: 60px;
  //   }
  // }
}

.page-content {
  width: 100%;
  max-width: 1460px;
  margin: 0 auto;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: $header-height;

  .header-l {
    display: flex;
    justify-content: start;
  }
  .logo {
    overflow: hidden;
    margin: 0 2px 0 0;
    padding: 5px 0;
    width: 164px;
    display: block;

    img {
      display: block;
      width: 100%;
      height: 100%;
    }
  }
  .toggle {
    font-size: 12px;
    padding: 0 20px;

    a {
      display: inline-block;
      padding: 0 2px;
      cursor: pointer;
      opacity: .8;

      &.avtive {
        font-weight: bold;
      }
      &:hover {
        opacity: 1;
      }
    }
  }
  .tel {
    font-size: 14px;
  }
}
.nav-menu {
  width: 100%;
  display: flex;

  > li {
    position: relative;

    &:hover:after {
      content: '';
      width: 1em;
      height: 4px;
      background-color: $main-color;
      border-radius: 4px;
      transform: translateX(-50%);
      position: absolute;
      left: 50%;
      bottom: 0;
    }
    .dropmenu-content, .second-menu {
      display: none;
    }

    &:hover .second-menu {
      height: auto;
      display: block;
    }
    &:hover .dropmenu-content {
      display: block;
    }
  }

  li > a {
    font: 600 13.55px/35px Noto Sans,sans-serif;
    // color: #666;
    letter-spacing: .1px;
    text-decoration: none;
    transition: all .3s;
    display: block;
    padding: 0 25px;
    line-height: $header-height;
    position: relative;
    white-space: nowrap;

    &:hover, &.active {
      font-weight: bold;
      color: $main-color;
    }

    .bn-arrow-down {
      color: $main-color;
      vertical-align: middle;
    }
  }
}

.second-menu {
  opacity: 1;
  width: auto;
  min-width: 100%;
  position: absolute;
  left: 0;
  top: $header-height;
  z-index: 99;
  background-color: #fff;
  box-shadow: 0 10px 10px rgba(0, 0, 0, .1);
  transition: all .3s linear;

  > li {


    a {
      height: 40px;
      line-height: 20px;
      padding: 10px 20px;
      display: block;
      font-size: 12px;
      font-weight: normal;
      white-space: nowrap;

      &:hover {
        background-color: rgba(0,0,0,.1);
      }
    }
  }
}
.search-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, .1);
  color: #000;
  cursor: pointer;
  font-size: 30px;

  &::after {
    content: '';
    width: 25px;
    height: 25px;
    display: block;
    background: url('../images/search.png') center no-repeat;
    background-size: 100%;
  }
}
.search-wrap {
  flex-grow: 1;
  box-sizing: border-box;
  border: none;
  background: rgba(255, 255, 255, .1);
  position: relative;
  margin-right: 20px;
  border-radius: 50%;
  overflow: hidden;
  transition: width .3s linear;

  .search-block {
    display: none;
  }

  .o-input {
    background: transparent;
    border: none;
    box-shadow: none;
    width: 200px;
    height: 38px;
    letter-spacing: .1px;
    padding: 0 15px 0 40px;
    font-size: 14px;
    line-height: 38px;
    transition: width .3s linear;
    &::placeholder {
      color: rgba(255, 255, 255, .8)
    }
  }

  &.show {
    border-radius: 0;
    width: 238px;
    .search-icon {
      display: none;
    }
    .search-block {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .search-close {
      min-width: 25px;
      font-size: 18px;
      display: block;
    }
  }

  .o-submit {
    position: absolute;
    left: 7px;
    top: 6px;
    width: 25px;
    height: 25px;
    border: none;
    background: none;
    cursor: pointer;
    background: url('../images/search.png') center no-repeat;
    background-size: 100%;
  }

}

.dropmenu-content {
  // display: none;
  box-shadow: inset 0 1px 10px rgba(0,0,0,.1);
  width: 100vw;
  background-color: #fff;
  position: fixed;
  left: 0;
  top: $header-height;
  padding: 20px 40px 0 40px;

  &.show {
    animation: fadeInDown .3s linear 1;
    display: block;
  }

  .menu-image {
    width: 100%;
    height: 60%;
    object-fit: cover;
    display: block;
    transition: all .3s linear;
    cursor: pointer;
  }

  .menu-item {
    width: 180px;
    position: relative;
    margin: 0 20px;
    // height: 190px;

    // &:nth-last-child(1), &:nth-last-child(2) {
    //   .category-menu-absolute {
    //     left: auto;
    //     right: calc(100% - 180px);
    //   }
    // }
  }

  .title {
    width: 180px;
    font-size: 14px;
    padding: 10px 0;
    position: relative;
    transition: all .3s linear;
  }
  .link-arrow {
    display: inline-block;
    transform: rotate(-90deg);
    transition: all .3s linear;
    color: $main-color;
    position: absolute;
    right: 0;
    top: 6px;
    display: none;
  }
}

.has-dropmenu {
  .link-arrow {
    display: inline-block;
  }
  &:hover {
    color: $main-color;
    .menu-image{
      box-shadow: 0 0 10px rgba(0,0,0,0.2);
      border-radius: 0 !important;
    }
    .title {
      background-color: #474747;
      color: #fff;
      padding-left: 10px;

      .link-arrow {
        right: 10px;
        color: #fff;
        transform: rotate(0deg);
      }
    }
    .category-menu-absolute {
      animation: fadeInDown .3s linear 1;
      display: block;
    }
  }
}

.category-menu-absolute {
  display: none;
  background-color: #474747;
  box-shadow: 0 10px 10px rgba(0, 200, 250, 0.1);
  position: absolute;
  left: 0;
  top: 34px;
  padding: 20px 10px;
  z-index: 99;

  .stitle {
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 16px;
    color: #fff !important;
    padding-left: 10px;
    transition: all .3s linear;

    &:hover {
      opacity: .6;
    }
  }

  .cate-wrap {
    padding-top: 10px;
    border-top: rgba(255, 255, 255, .7) 1px solid;
    width: 600px;
    font-weight: bold;
  }

  .menu-t-head {
    position: relative;
  }
  .bn-close {
    cursor: pointer;
    position: absolute;
    right: 0px;
    top: -10px;
    color: rgba(255, 255, 255, .7);
  }
}

.menu-image-box {
  display: none;
  flex-wrap: wrap;
  align-items: center;

  &.show {
    display: flex;
  }

  .menu-item:nth-child(even):hover .menu-image{
    border-top-left-radius: 35px;
    border-bottom-right-radius: 35px;
  }
  .menu-item:nth-child(odd):hover .menu-image{
    border-top-right-radius: 35px;
    border-bottom-left-radius: 35px;
  }
}

.menu-type {
  display: flex;
  margin-bottom: 20px;

  li {
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
  }

  li.active {
    position: relative;
    color: $main-color;
    font-weight: bold;

    &:after {
      content: '';
      width: 2em;
      height: 1px;
      background-color: $main-color;
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
    }
  }
}

// Footer
.page-footer {
  margin-top: 0;
  background-color: #2c2c2c;
}
.footer-content {
  width: 100%;
  max-width: 1140px;
  color: #fff;

  a {
    color: #fff;
  }
  .footer-top {
    padding: 50px 0;
  }
  .menu-item {
    margin-bottom: 20px;

    li {
      line-height: 24px;
      font-size: 14px;
    }
  }
  .footer-title {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
    padding-bottom: 7px;
  }
  .contact-txt {
    font-family: "Open Sans";
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;

    a:hover {
      text-decoration: underline;
    }
  }
  .medias {
    display: flex;
  }
  .media-item {
    position: relative;
    margin-right: 20px;

    &:hover {
      .popup-img  {
        display: block;
      }
    }

    .popup-img {
      display: none;
      width: 150px;
      height: 150px;
      padding: 10px;
      background-color: #fff;
      position: absolute;
      left: 50%;
      top: 40px;
      transform: translateX(-50%);
      box-shadow: 0 5px 10px rgba(0, 0, 0, .2);

      img {
        width: 100%;
        height: 100%;
        display: block;
      }
      &::before {
        content: "";
        width: 0;
        height: 0;
        border: 10px #fff solid;
        border-top: 0;
        border-left-color: transparent;
        border-right-color: transparent;
        position: absolute;
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
      }
    }
  }
  .media-icon {
    width: 25px;
  }

  .footer-bot {
    line-height: 18px;
    padding-bottom: 10px;
  }
  .footer-logo {
    width: 180px;
  }
  .footer-copyright {
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .7);
  }

}
.page-footer-form {
  .footer-input {
    border-radius: 0 !important;
    height: 40px;
    color: #5b676f;
    font-size: 13px;
    display: block;
    width: 100%;
    padding: 3px 10px;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    margin-bottom: 10px;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  }
  .footer-textarea {
    height: calc(40px * 4 + 10px * 3);
    resize: none;
  }
  .slide-submit {
    background-image: linear-gradient( 135deg, #0396FF 10%, $main-color 100%);
    // border: $main-color 1px solid;
    color: #fff;
    border-radius: 30px;
    text-align: center;
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 14px;
    font-weight: bold;
    position: relative;
    overflow: hidden;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    transition: .2s;
  }
}
.mobile-page-footer {
  display: none;
}


// mobile
.mobile-page-header {
  display: none;
}

// banner-swiper
.main-banner-swiper {
  overflow: hidden;

  .swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #000;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;

    .b-img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }

  &:hover {
    .swiper-button-next,.swiper-button-prev {
      opacity: 1;
    }
  }
}
.swiper-pagination-bullet {
  border-radius: 4px !important;
  height: 4px !important;
}
.swiper-button-next,.swiper-button-prev {
  opacity: 0;
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background-size: 100% 100%;
  z-index: 200;
  background-position: center;
  background-repeat: no-repeat
}
.swiper-button-prev {
  left: 2%;
  background-image: url(https://cdnstatic.megvii.com/websiteFE/static/img/solutions/common/bt_arrow_left.ccb3dc9b.png);
}
.swiper-button-next {
  right: 2%;
  background-image: url(https://cdnstatic.megvii.com/websiteFE/static/img/solutions/common/bt_arrow_right.ed2ae0d3.png);
}
.swiper-button-next:after, .swiper-button-prev:after {
  content: none !important;
}
// product-category
// .product-category-container {
//   max-width: 1024px;
//   height: 98px;
//   margin: 0 auto;
//   display: flex;
//   justify-content: space-around;
//   flex-wrap: wrap;
//   align-items: center;

//   .cate-item {
//     color: #000;
//     letter-spacing: .1px;
//     font: 700 16px/24px Noto Sans,sans-serif;
//     display: flex;
//     align-items: center;
//     padding: 10px 16px;
//     color: inherit;
//     text-decoration: none;
//     opacity: .6;
//     transition: .4s;
//     white-space: nowrap;
//     cursor: pointer;

//     &:hover {
//       opacity: 1;
//     }

//     .iconfont {
//       margin-right: 15px;
//     }
//   }
// }

.category-banner-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding-top: 20px;

  li {
    position: relative;
    width: calc(50% - 8px);
    height: 696px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgb(237, 237, 237);
    text-align: center;
    margin-bottom: 20px;

    a {
      display: block;
      width: 100%;
      height: 100%;
      padding-top: 88px;
      text-align: center;
      box-sizing: border-box;
    }

    .subhead {
      font-size: 30px;
      margin-bottom: 20px;
      font-weight: 600;
    }
    .link {
      font-size: 18px;

      &::after {
        content: '\e7b2';
        font-family: 'iconfont';
        font-size: 18px;
        display: inline-block;
        transform: rotate(-90deg);
      }
    }
  }
}

.product-application-wrap {
  background-color: #f5f5f5;
  padding-top: 40px;
  background-size: cover;
  margin-top: 40px;

  .part-title {
    margin-bottom: 40px;
  }
}

.part-title {
  font-size: 40px;
  color: #333;
  font-weight: 600;
  text-align: center;
}

/*slider-news*/
.slide-item-box {
	padding: 50px 0;
  position: relative;
}

.slide-item-body ul {
  display: flex;
  flex-wrap: nowrap;
}
.slide-item-body ul li {
	width: calc(33.333% - 40px);
  min-width: 420px !important;
	display: block;
	margin-bottom: 30px;
	border: none;
	transition: all 0.3s ease;
	z-index: 2;
  margin-left: 15px;
	margin-right: 15px;
}
.slide-item-body ul li:hover {
	transform: translateY(-10px);
	z-index: 2;
	position: relative;
	left: 0;
}
.next {
	position: absolute;
	top: 49%;
	z-index: 10;
	cursor: pointer;
	background-size: 60px;
	background-position: center;
	background-repeat: no-repeat;
	right: auto;
	left: -90px;
	height: 60px;
	width: 60px;
  display: block;
	transition: all 0.3s ease;
}
.next-bg {
	background-image: url("../images/btn-fl1.png");
}
.next:hover {
	background-image: url("../images/btn-fl2.png");
}
.prev {
  display: block;
	position: absolute;
	top: 49%;
	z-index: 10;
	cursor: pointer;
	-moz-background-size: 60px;
	-webkit-background-size: 60px;
	background-size: 60px;
	background-position: center;
	background-repeat: no-repeat;
	right: -9px;
	height: 60px;
	width: 60px;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	transition: all 0.3s ease;
}
.prev-bg {
	background-image: url("../images/btn-fr1.png");
}
.prev-bg:hover {
	background-image: url("../images/btn-fr2.png");
}
/*end slider news*/

// feture-article-warp
.feture-article-warp {
  margin: 50px auto;
}
.feture-article-container {
  position: relative;
  flex: 1;
  box-sizing: border-box;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-wrap: wrap;

  .aticle-link {
    width: 100%;
    color: #0d0d0d;
    text-decoration: none;
    border-radius: 8px;
    background-color: #eee;
    overflow: hidden;
    transition: .4s;
    flex-wrap: wrap;

    &:hover {
      box-shadow: 0 6px 10px rgba(0, 0, 0, .5);
      background-color: #fff;

      .article-link-more {
        opacity: 1;
      }
    }
  }
  .article-image {
    display: block;
    width: 100%;
    min-width: 375px;
    max-width: 570px;
  }
  .article-info {
    padding: 20px 20px 20px 48px;
    flex: 1;
  }
  .article-title {
    font-family: FuturaPT-Demi-eng,FuturaPT-Demi-ru,Open Sans,sans-serif;
    font-size: 36px;
    font-weight: 800;
    line-height: 46px;
    margin: 0;
  }
  .article-text {
    font-size: 18px;
    line-height: 30px;
  }
  .article-link-more {
    margin-top: 12px;
    opacity: .7;

    .iconfont {
      margin-right: 15px;
    }
  }
}

// bn-worldWide-wrap
.bn-worldWide-wrap {
  margin: 80px 0;
}
.worldwide-container {
  position: relative;
  flex: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-direction: column;

  .worldwide-title {
    margin: 0 0 40px;
    font: 700 36px/46px 'PingFang SC';
  }
  .worldwide-img {
    display: block;
    max-width: 100%;
  }
}

// sub-banner-wrap
.sub-banner-wrap {
  height: 450px;
  background-position: 50%;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 40px;
}
.cate-filter-wrap {
  margin: 30px auto;
  margin-top: 0;

  .filter-result {
    font-size: 14px;
  }
}
.cate-filed {
  border: #eee 1px solid;
  position: relative;
  margin-bottom: 20px;

  .title {
    display: inline-block;
    padding: 0 10px;
    position: absolute;
    top: -5px;
    left: 20px;
    background-color: #fff;
    font-size: 14px;
  }
  .cate-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 40px 30px 20px 30px;

    a {
      margin-right: 10px;
      margin-bottom: 10px;
      white-space: nowrap;
      padding: 10px 15px;
      border: #ddd 1px solid;
      border-radius: 5px;
      font-size: 14px;
      background-color: #eee;

      &.active {
        border-color: $main-color;
        color: #fff;
        background-color: $main-color;
      }
    }
  }
}

.grid-image-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;

  &.grid-col-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .cart-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0,0,0,.2), 0 6px 6px rgba(0, 0, 0, .1);
    transition: .3s;


    &:hover {
      box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 6px 16px rgba(0, 0, 0, .2);
      .cart-bot {
        background-color: $main-color;
      }
      .center-btn {
        opacity: .8;
      }
      .article-link span {
        font-size: 14px;
        opacity: 1;
        transform: translateX(0);
      }
    }
  }
  // .big-cart-item {
  //   width: calc(33.33% - 40px);
  // }
  .cart-mid {
    display: block;
    width: 100%;
  }
  .image-box {
    position: relative;
    display: block;

    > img {
      display: block;
      width: 100%;
      height: 160px;
      -o-object-fit: cover;
      object-fit: cover;
    }
    .center-btn {
      background: $main-color;
      color: #fff;
      position: absolute;
      top: 50%;
      left: 50%;
      width: 210px;
      opacity: 0;
      transition: .4s;
      transform: translate(-50%,-50%);
      text-align: center;
      border-radius: 40px;
      padding: 10px 21px;
      font-size: 16px;
      font-weight: bold;

      &::before {
        content: '\e616';
        font-family: 'iconfont';
        font-size: 22px;
        vertical-align: middle;
        margin-right: 10px;
      }
    }
  }
  .text-box {
    padding: 24px 24px 10px;
    .title {
      font-weight: 700;
      font-size: 20px;
    }
    .sub-title {
      margin-top: 6px;
      font-size: 14px;
    }
    ul {
      padding: 30px;
    }
    li {
      list-style-type: disc;
      margin-bottom: 10px;
      font-size: 12px;
    }
  }
  .cart-bot {
    font-size: 14px;
    background: #eee;
    cursor: pointer;
    position: relative;

    &:hover {
      .bn-arrow-down1 {
        transform: rotate(-180deg);
      }
      .children-list {
        display: block;
        transform: translateY(0);
      }
    }
  }
  .more-product-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    height: 48px;
    transition: .2s;
  }
  .children-list {
    display: none;
    position: absolute;
    top: 48px;
    left: 0;
    z-index: 9;
    width: 100%;
    padding: 12px;
    background-color: $main-color;
    transform: translateY(-10%);
    transition: .3s;

    li {
      margin-bottom: 10px;

      a {
        display: block;
        color: #fff;
      }
    }
  }

}

.grid-five-show {
  .cart-wrap {
    width: calc(20% - 40px) !important;
  }
}

.load-more-wrap {
  padding: 50px 0 40px 0;

  .load-btn {
    padding: 10px 40px;
    background-image: linear-gradient( 135deg, #ABDCFF 10%, #0396FF 100%);
    color: #fff;
    border-radius: 40px;
  }
}

.banner-focus-fuild {
  background-color: #eee;
  padding-bottom: 60px;
}
.banner-focus-content {
  padding-bottom: 60px;
}
.banner-focus-info {
  margin-right: 30px;
  width: 100%;
  max-width: 440px;

  .title {
    font-weight: 700;
    font-size: 58px;
    line-height: 70px;
    margin: 0;
  }
  .text {
    font-size: 18px;
    line-height: 30px;

    h2 {
      font-size: 1.5em;
      margin-bottom: 20px;
    }
    ul {
      padding-left: 20px;
      margin: 20px;
      li {
        list-style-type: disc;
      }
    }

  }
  .download-link {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin-top: 30px;
    padding: 10px 16px;
    min-height: 36px;
    border: none;
    background: none;
    color: #0d0d0d;
    text-decoration: none!important;
    font-weight: 700;
    opacity: .6;
    font-size: 16px;
    cursor: pointer;
    transition: .4s;

    .bn-download {
      font-size: 18px;
      margin-right: 10px;
    }
    &:hover {
      opacity: 1;
    }
  }
}
.banner-focus-image {
  position: relative;
  width: calc(100% - 470px);
  max-height: 690px;

  img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: bottom;
    object-position: bottom;
  }
  .btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    background: #eee!important;
    color: rgba(13,13,13,.6)!important;

    &::before {
      content: "\e716";
      font-family: 'iconfont';
      margin-right: 10px;
      vertical-align: middle;
    }
  }
}
.masonry-cart {
  border-radius: 10px;
  overflow: hidden;
  background: #eee;

  .image-box img{

    height: 240px;
  }
  .masonry-desc {
    padding: 24px;
    font-size: 14px;
    line-height: 24px;
  }
}
.fancybox__caption {
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 1px;
  text-align: left;
  padding-top: 30px !important;
}
.article-desc {
  padding:16px;

  .title {
    letter-spacing: .15px;
    font-weight: 700;
    font-size: 15.77px;
    line-height: 24px;
  }
  .article-txt {
    font-size: 14px;
    line-height: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .article-link {
    margin-top: 10px;
    font-size: 16px;
    .iconfont {
      font-size: 16px;
      margin-right: 5px;
    }
    span {
     display: inline-block;
     opacity: 0;
     transform: translateX(-10px);
     transition: .3s;
    }
  }
}
.big-cart-item {
  .bot-nav {
    justify-content: space-between;
    margin-top: 20px;
    font-size: 14px;

    .article-link {
      margin-top: 0;
    }
  }
  .image-box img{
    width: 100%;
    height: 260px;
  }
  .keywords {
    color: $main-color;

    span {
      padding: 0 4px;
    }
  }
  .time {
    color: #666;
  }
}

.article-top-image {
  position: relative;
  z-index: 10;
  height: calc(80vh - 80px);
  box-shadow: 1px 1px 0 rgba(0, 0, 0, .1);

  .bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: calc(80vh - 80px);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
  }
}
.article-content-wrap {
  padding-bottom: 80px;
}
.article-content-box {
  position: relative;
  z-index: 12;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 40px 60px 24px;
  width: 100%;
  // max-width: 800px;
  min-height: 400px;
  background: #fafafa;
  box-shadow: 0 -25px 20px -20px rgba(0, 0, 0, .4);
  margin-top: -399px;

  .article-title {
    margin: 0 0 12px;
    letter-spacing: -.41px;
    font-size: 50px;
    font-weight: 700;
  }
  .article-text{
    color: #0d0d0d;
    font-size: 18px;
    line-height: 30px;

    p {
      margin: 20px 0;
    }

    a {
      color: $main-color;
      text-decoration: underline;
    }

    img {
      max-width: 100%;
    }
  }
  .article-mid {
    height: 50px;
    background-color: #eee;
    justify-content: space-between;
    padding: 0 20px;
    font-size: 16px;
    .keywords {
      font-size: 14px;
      color: $main-color;

      span {
        padding: 0 4px;
      }
    }
  }

}
.relation-wrap {
  padding: 30px 0;
  .h-title {
    text-align: center;
    font-size: 24px;
    margin: 30px auto;
    font-weight: 700;
  }
}

.search-result-wrap {
  padding: 50px 0 30px 0;

  .option {
    justify-content: space-between;
    padding: 30px 10%;

    .title {
      font-size: 20px;
      flex: 2;
    }
    .search-wrap {
      margin: 0;

      .o-submit {
        left: auto;
        right: 5px;
      }
    }
  }

  .result {
    text-align: center;
    padding: 10px;
    line-height: 16px;
    font-size: 12px;
    background-color: $main-color;

    span {
      color: red;
    }
  }
}
.validcode {
  display: flex;

  input {
    flex: 1
  }
  .code {
    width: 100px;
    height: 40px;
  }
}
.news-scroll-wrap {
  padding: 50px 0;
}
.app-case-list {
  padding: 50px 0;
}

.case-image-box {
  padding: 50px 0;
  .case-image-group {
    display: flex;
    align-items: center;
    margin-bottom: 40px;

    &:nth-child(2n) {
      flex-direction: row-reverse;
    }

    .thumb {
      flex: 1;
      width: 50%;
      background: #fff;
    }
    .text {
      flex: 1;
      padding: 20px;
    }
    h1 {
      text-align: center;
    }
    p {
      line-height: 32px;
      font-size: 16px;
    }
  }
}
