body {
  margin: 0;
  padding: 0;
}

#main {
  background-color: #f2f2f2;
}

.content {
  max-width: 1050px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  margin-top: 100px;
  margin-bottom: 100px;
}

#back {
  height: 40px;
  width: 42px;
  position: fixed;
  right: 70px;
  bottom: 100px;
  /* display:none; */
  cursor: pointer;
  z-index: 1;
}

.tab-container {
  display: grid;
  grid-template-columns: 250px calc(100% - 267px);
  grid-template-rows: 390px;
  grid-gap: 17px;
  margin-top: 30px;
}

.tab-title {
  /* width: 250px; */
  /* height: 100%; */
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #dddddd;
  font-size: 18px;
  font-family: Microsoft YaHei;
  font-weight: bold;
  letter-spacing: 1px;
  line-height: 34px;
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  cursor: pointer;
}

.tab-title span {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.tab-title div:nth-child(n + 2) {
  border-top: 1px solid #dddddd;
}

.tab-title-active {
  color: white;
  background: #4673d9;
}

.tab-title div {
  transition: background 500ms;
}

.tab-title div:hover {
  color: white;
  background: #4673d9;
}

.tab-title div:first-child,
.tab-title div:first-child:hover {
  border-radius: 10px 10px 0px 0px;
}

.tab-title div:last-child,
.tab-title div:last-child:hover {
  border-radius: 0px 0px 10px 10px;
}

.tab-content {
  overflow: hidden;
}

.content-item {
  display: none;
  height: 100%;
  width: 100%;
  position: relative;
  cursor: pointer;
}

.content-item-active {
  display: block;
}

.tab-content img {
  object-fit: cover;
  width: inherit;
  height: inherit;
  border-radius: 10px;
}

.content-detail {
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 70px;
  background: #1e56d7;
  opacity: 0.8;
  border-radius: 0px 0px 10px 10px;
  font-size: 16px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #ffffff;
  line-height: 100%;
  letter-spacing: 1px;
  display: grid;
  grid-template-columns: 4fr 1fr;
}

.content-detail span:first-child {
  margin: auto 40px;
}

.content-detail span:last-child {
  width: 84px;
  height: 32px;
  margin: auto;
  border: 1px solid #ffffff;
  font-size: 12px;
  line-height: 32px;
  cursor: pointer;
  text-align: center;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  margin-top: 40px;
  grid-row-gap: 29px;
  grid-column-gap: 14px;
}

.card-item {
  height: 442px;
  background: #ffffff;
  border-radius: 10px 10px 20px 20px;
  display: flex;
  flex-flow: column;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.shadow {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.7;
  border-radius: inherit;
  transition: background 500ms;
}

.card-item:hover .shadow {
  background: #4673d9;
}

.card-item img:first-child {
  width: 100%;
  height: 50%;
}

.card-item-text1 {
  height: 70px;
  font-size: 22px;
  font-family: Microsoft YaHei;
  font-weight: bold;
  color: #3869da;
  line-height: 22px;
  margin: 10px 16px 20px;
  padding-left: 14px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid #c3c3c3;
  z-index: inherit;
}

.card-item:hover .card-item-text1 {
  color: #ffffff;
  border-bottom: 2px solid #ffffff;
}

.card-item-text2 {
  font-size: 14px;
  font-family: Microsoft YaHei;
  font-weight: 400;
  color: #202020;
  line-height: 16px;
  margin: 10px 30px auto;
  z-index: inherit;
}

.card-item:hover .card-item-text2 {
  color: #ffffff;
}

.card-item img:last-of-type {
  width: 20px;
  height: 20px;
  display: block;
  margin: 20px 90%;
  z-index: inherit;
}

.card-item:hover img:last-of-type {
  content: url(../../images/productAndSolutions/1.0_bt_02.png);
}

.mobile-content-detail {
  display: none;
}

@media screen and (max-width: 1140px) {
  #main {
    background-color: white;
  }

  .tab-title {
    display: none;
  }

  .tab-container {
    display: block;
    margin-top: 0px;
    background: white;
  }

  .tab-content {
    display: block;
    width: calc(100%-40px);
    margin: 0px 20px;
  }

  .content-item {
    margin-bottom: 30px;
  }

  .tab-content img {
    height: 200px;
    object-fit: cover;
  }

  .mobile-content-detail {
    display: block;
    position: absolute;
    bottom: 0px;
    height: 38%;
    width: 100%;
    background: #1e56d7;
    opacity: 0.8;
    border-radius: 0px 0px 10px 10px;
    font-size: 14px;
    color: white;
    font-family: Microsoft YaHei;
    display: grid;
    grid-template-columns: 4fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-auto-flow: column;
  }

  .mobile-content-detail span:nth-child(1) {
    margin: 12px 10px 10px;
    font-size: 18px;
    font-weight: bold;
    /* white-space: nowrap; */
  }

  .mobile-content-detail span:nth-child(2) {
    margin: 0px 10px;
    font-size: 15px;
  }

  .mobile-content-detail span:nth-child(3) {
    grid-row: 1/3;
    margin: auto;
    font-size: 12px;
    border: 1px solid #ffffff;
    height: 28px;
    line-height: 28px;
    padding: 1px 7px;
    width: 59px;
    text-align: center;
  }

  .content-detail {
    display: none;
  }

  .card-container {
    background: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 19px;
    grid-column-gap: 16px;
    margin: 0px 20px;
    width: auto;
  }

  .card-item {
    height: 220px;
    border-radius: 0px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .card-item img:first-of-type {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
  }

  .card-item:hover .shadow {
    background-color: white;
  }

  .card-item-text1 {
    border-bottom: none;
    font-size: 18px;
    padding-left: 0px;
    margin: 65px auto 10px;
    height: auto;
  }

  .card-item-text2 {
    border-bottom: none;
    text-align: center;
    margin: 20px 60px auto;
  }

  .card-item img:last-of-type {
    /* grid-row: 4/5; */
    width: 20px;
    height: 20px;
    margin: 20px auto;
    /* transform: rotate(90deg); */
  }

  .shadow {
    background-color: white;
  }

  #back {
    display: none !important;
  }
}

@media screen and (max-width: 600px) {
  .card-container {
    grid-template-columns: 1fr;
  }

  .mobile-content-detail span:nth-child(1) {
    font-size: 15px;
  }

  .mobile-content-detail span:nth-child(2) {
    font-size: 12px;
  }

  .mobile-content-detail span:nth-child(3) {
    font-size: 8px;
    height: 25px;
    line-height: 8px;
    padding: 1px 6px;
    width: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
