@import url("./base.css");

.widget-header {
  position: relative;
}
.widget-header .title,
.widget-header .en {
  display: flex;
  justify-content: center;
  align-items: center;
}
.widget-header .title {
  font-size: 28px;
  padding: 0.5em 0 0.5em 0;
}
.widget-header .en {
  text-align: center;
  color: #009e76;
  font-size: 28px;
  line-height: 1em;
}
.widget-header .en::before,
.widget-header .en::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #009e76;
}
.widget-header .en span {
  padding: 0 1em;
  position: relative;
}
.widget-header .en span::before,
.widget-header .en span::after {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 3px;
  content: "";
  background-color: #009e76;
  margin-top: -2px;
}
.widget-header .en span::before {
  left: -100%;
}
.widget-header .en span::after {
  right: -100%;
}

.pro-list .el-row {
  margin: -2em -1em 0;
  overflow: hidden;
}
.pro-list .el-col {
  padding: 0 1em;
  margin-top: 2em;
}
.pro-list .el-col a {
  display: block;
}
.pro-list .el-col a .img {
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}
.pro-list .el-col a .img img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: top;
}
.pro-list .el-col a .title {
  display: block;
  line-height: 24px;
  text-align: center;
  font-size: 14px;
  background: #000;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  padding: 6px 0.5em;
}
.pro-list .el-col a:hover .title {
  background: #0066ad;
}

#allmap {
  height: 100%;
  background: #f5f3f0;
  border: 1px solid #e8e8e8;
}
#allmap .BMap_bubble_content {
  line-height: 1.8em;
}

.row1 .widget-header {
  height: 150px;
  overflow: hidden;
}
.row1 .widget-header > * {
  position: relative;
  z-index: 2;
  color: #fff;
}
.row1 .widget-header::before {
  position: absolute;
  top: -2px;
  left: 50%;
  width: 0;
  height: 0;
  border-width: 140px 320px;
  border-style: solid;
  border-color: transparent;
  border-top-color: #184681;
  content: "";
  margin-left: -320px;
  filter: drop-shadow(0 0 2px #000);
  z-index: 1;
}
.row1 .widget-header .title {
  font-size: 28px;
  padding: 0.7em 0 0 0;
}
.row1 .widget-header .en {
  font-family: Arial;
  font-size: 24px;
  padding: 0.2em 0;
}
.row1 .widget-header .en::before,
.row1 .widget-header .en::after {
  display: none;
}
.row1 .widget-header .sub-title {
  text-align: center;
}
.row1 .wrap > .el-row {
  margin: 0 -1em;
  align-items: stretch;
}
.row1 .wrap > .el-row > .el-col {
  padding: 0 1em;
}
.row1 .category-list ul {
  line-height: 38px;
}

.row2 {
  padding: 3em 0;
  background: url(../img/aboutbg.jpg) center center no-repeat;
  background-size: cover;
}
.row2 .wrap > .el-row {
  margin: 0 -1em;
}
.row2 .wrap > .el-row > .el-col {
  padding: 0 1em;
}
.row2 .video {
  border: 5px solid #fff;
  background: #fff;
}
.row2 .video video {
  vertical-align: top;
}
.row2 .company-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1em;
}
.row2 .company-header::before,
.row2 .company-header::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #fff;
}
.row2 .company-header .title {
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  padding: 0 0.25em 0 0.5em;
}
.row2 .company-header .en {
  color: #fff;
  font-size: 26px;
  font-family: Arial;
  padding: 0 0.5em 0 0.25em;
}
.row2 .company-body {
  color: #fff;
  line-height: 1.8em;
  font-size: 14px;
}
.row2 .company-footer {
  overflow: hidden;
}
.row2 .company-footer a {
  float: right;
  color: #fff;
  background: #da1010;
  line-height: 44px;
  padding: 0 2em;
  border-radius: 2px;
}
.row2 .company-footer a:hover {
  background: #c70d0d;
}

.row3 .widget-header .title,
.row3 .widget-header .en {
  color: #ed6d6e;
}
.row3 .widget-header .en::before,
.row3 .widget-header .en::after,
.row3 .widget-header .en span::before,
.row3 .widget-header .en span::after {
  background: #ed6d6e;
}
.row3 .swiper {
  padding: 1em 47px;
  position: relative;
}
.row3 .swiper-slide {
  width: 25%;
  padding: 0 1em;
}
.row3 .swiper-slide a {
  display: block;
}
.row3 .swiper-slide a .img {
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
}
.row3 .swiper-slide a .img img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  vertical-align: top;
}
.row3 .swiper-slide a .title {
  display: block;
  line-height: 24px;
  text-align: center;
  font-size: 14px;
  background: #000;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  padding: 6px 0.5em;
}
.row3 .swiper-slide a:hover .title {
  background: #0066ad;
}

.row4 {
  overflow: hidden;
}
.row4 .baner {
  display: flex;
}
.row4 .baner-l {
  width: 730px;
  color: #fff;
  background: #005699;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.row4 .baner-l::before {
  position: absolute;
  width: 300%;
  height: 100%;
  left: 0;
  top: 0;
  bottom: 0;
  background: #005699;
  content: "";
  transform: translate3d(-100%, 0px, 0px);
}
.row4 .baner-l .t1 {
  font-size: 21px;
  margin-bottom: 2rem;
}
.row4 .baner-l .t2 {
  font-size: 24px;
  font-weight: bold;
}
.row4 .baner-c img {
  vertical-align: top;
}
.row4 .baner-r {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 10px;
}
.row4 .baner-r::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  bottom: 0;
  background: #f0eeee;
  content: "";
}
.row4 .baner-r::after {
  position: absolute;
  top: 0;
  right: 0;
  width: 300%;
  bottom: 0;
  background: #f0eeee;
  content: "";
  transform: translate3d(100%, 0, 0);
}
.row4 .baner-r .phone {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #005699;
}
.row4 .baner-r .phone .icon {
  margin-right: 1rem;
}
.row4 .baner-r .phone .icon img {
  vertical-align: top;
}
.row4 .baner-r .phone .info .t1 {
  font-size: 18px;
  margin-bottom: 5px;
}
.row4 .baner-r .phone .info .t2 {
  font-size: 29px;
  font-weight: bold;
}

.row5 .img1 {
  height: 439px;
  background: url(../img/youshi_1.jpg) 0 0 no-repeat;
  padding: 200px 0 0 40px;
}
.row5 .img2 {
  height: 434px;
  background: url(../img/youshi_2.jpg) 0 0 no-repeat;
  padding: 170px 0 0 630px;
}
.row5 .img3 {
  height: 475px;
  background: url(../img/youshi_3.jpg) 0 0 no-repeat;
  padding: 210px 0 0 20px;
}
.row5 ul {
  line-height: 2em;
}

.row6 .el-row {
  margin: 1em -1em;
}
.row6 .el-col {
  padding: 0 1em 0 1.8em;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 2em;
}
.row6 .el-col::before {
  position: absolute;
  top: 50%;
  left: 1.2em;
  width: 3px;
  height: 3px;
  content: "";
  background: #555;
  margin-top: -3px;
}

.row7 .widget-body {
  padding: 1em 0;
}
.row7 .el-row {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.row7 .contact {
  background-color: #0066ad;
  padding: 10px;
}
.row7 .contact .img img {
  width: 100%;
  vertical-align: top;
}
.row7 .contact ul {
  list-style-type: none;
  margin: 0;
  padding: 1em 0 0 0;
}
.row7 .contact ul li {
  height: 30px;
  display: flex;
  align-items: center;
  width: 100%;
  color: #fff;
  font-size: 14px;
}
.row7 .contact ul li i {
  font-size: 1rem;
  margin: 0 0.5rem;
}
.row7 .contact .more {
  display: block;
  color: #fff;
  line-height: 2em;
  background: #084f80;
  text-align: center;
  margin-top: 1em;
  border-radius: 5px;
}
#allmap {
  height: 100%;
  background: #f5f3f0;
  border: 1px solid #e8e8e8;
}
#allmap .BMap_bubble_content {
  line-height: 1.8em;
}

@media screen and (max-width: 750px) {
  .category-list ul li {
    display: inline-block;
  }
  .category-list ul li a {
    border-bottom: none;
  }

  .row1 .wrap > .el-row {
    flex-wrap: wrap;
  }
  .row1 .wrap > .el-row > .el-col,
  .row2 .wrap > .el-row > .el-col {
    width: 100%;
  }
  .row1 .wrap > .el-row > .el-col:nth-child(n + 2),
  .row2 .wrap > .el-row > .el-col:nth-child(n + 2) {
    margin-top: 2em;
  }
  .pro-list .el-col {
    width: 50%;
  }

  .row3 .swiper {
    padding: 1em 0 0 0;
  }
  .row3 .swiper-slide {
    padding: 0;
  }
  .row3 .swiper-button-prev,
  .row3 .swiper-button-next {
    display: none;
  }

  .row4 .baner {
    flex-wrap: wrap;
  }
  .row4 .baner-l {
    margin: 0 -1rem;
    padding: 1rem;
  }
  .row4 .baner-l::before {
    display: none;
  }
  .row4 .baner-l .t1 {
    margin-bottom: 1rem;
  }
  .row4 .baner-c {
    display: none;
  }
  .row4 .baner-r {
    margin: 0 -1rem 0;
    padding: 1rem;
    background: #f0eeee;
  }
  .row4 .baner-r::before,
  .row4 .baner-r::after {
    display: none;
  }

  .row5 {
    display: none;
  }

  .row6 .el-col {
    width: 100%;
  }
  .row6 .el-col:nth-child(n + 9) {
    display: none;
  }

  .row7 .el-col {
    width: 100%;
  }
  #allmap {
    height: 240px;
  }
  #allmap .BMap_bubble_content {
    font-size: 12px;
  }
}
