@import url("./base.css");

.widget-header {
  position: relative;
  padding: 30px 0;
  text-align: center;
}

.widget-header h1 {
  position: relative;
  font-size: 28px;
  color: #555;
  line-height: 50px;
  padding: 0 2em;
  margin: 0;
  padding: 0;
  font-weight: normal;
}

.widget-header h5 {
  position: relative;
  margin: 0;
  padding: 0;
  font-size: 24px;
  overflow: hidden;
  color: #0942ad;
}

.widget-header h5::before {
  position: absolute;
  top: 50%;
  left: -3em;
  width: 50%;
  height: 1px;
  content: "";
  background-color: #0942ad;
  z-index: 1;
}

.widget-header h5::after {
  position: absolute;
  top: 50%;
  right: -3em;
  width: 50%;
  height: 1px;
  content: "";
  background-color: #0942ad;
  z-index: 1;
}

.widget-header h5 span {
  display: inline-block;
  width: 6em;
  text-align: center;
  line-height: 36px;
  position: relative;
  z-index: 2;
}

.widget-header h5 span::before {
  position: absolute;
  top: 50%;
  left: -100%;
  width: 100%;
  height: 3px;
  line-height: none;
  font-size: 0;
  content: "";
  background-color: #0942ad;
  margin-top: -1px;
}

.widget-header h5 span::after {
  position: absolute;
  top: 50%;
  right: -100%;
  width: 100%;
  height: 3px;
  line-height: none;
  font-size: 0;
  content: "";
  background-color: #0942ad;
  margin-top: -1px;
}

.widget-body {
  overflow: hidden;
}

.category ol {
  height: 48px;
  line-height: 48px;
  background-color: #0942ad;
  font-size: 16px;
  color: #fff;
  padding-left: 22px;
}

.category li a {
  display: block;
  line-height: 46px;
  padding-left: 32px;
  font-size: 13px;
  position: relative;
  background: #0942ad;
  border-bottom: 1px solid #0ca27c;
  color: #fff;
}

.category li:last-child a {
  border: none;
}

.category li a::before {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 10px;
  height: 9px;
  font-size: 0;
  line-height: none;
  content: "";
  background: url(../img/icon-1.png) 0 0 no-repeat;
  margin-top: -5px;
}

.category li a:hover {
  background: #ffa63e;
}

.pro-list {
  margin-top: -30px;
}

.pro-list .el-col {
  margin-top: 30px;
}

.pro-list a {
  display: block;
  background: #efefef;
  border: 5px solid #efefef;
}

.pro-list a .img {
  padding-bottom: 75%;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.pro-list a .img img {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  margin: auto;
  max-width: 100%;
  max-height: 100%;
}

.pro-list a .title {
  line-height: 24px;
  font-size: 14px;
  text-align: center;
}

.pro-list a:hover {
  background: #22b38a;
  color: #fff;
  border-color: #22b38a;
}

/* .row1 */
.row1 .el-col-3 {
  text-align: center;
  width: 14.286%;
}

.row1 img {
  width: 80%;
}

.row1 p {
  text-align: center;
  display: block;
  font-size: 14px;
}

/* row2 */

.row2 {
  background: #0942ad;
  padding-bottom: 40px;
  margin-top: 40px;
}

.row2 .widget-header h1,
.row2 .widget-header h5 {
  color: rgba(255, 255, 255, 0.75);
}

.row2 .widget-header h5::before,
.row2 .widget-header h5::after,
.row2 .widget-header h5 span::before,
.row2 .widget-header h5 span::after {
  background-color: rgba(255, 255, 255, 0.75);
}

.row2 img {
  width: 100%;
  /* border: 10px solid rgba(255, 255, 255, 0.1); */
}

.row2 h1 {
  font-size: 20px;
  color: #ffffbf;
  font-weight: normal;
  padding: 10px 0;
  margin: 0;
  line-height: 40px;
}

.row2 p {
  font-size: 14px;
  color: #fff;
  text-align: justify;
  line-height: 2em;
  margin: 0;
}

.row2 a {
  display: block;
  background: #ff4000;
  font-size: 14px;
  color: #fff;
  padding: 0 20px;
  line-height: 30px;
  height: 32px;
  float: right;
  border-radius: 5px;
  margin-top: 10px;
}


#parent {
  width: 1960px;
  height: 300px;
}

.zong {
  width: 1960px;
  height: 300px;
  animation: change 10s linear infinite;
}

.son {
  float: left;
  position: relative;
  overflow: hidden;
}

#father {
  margin-left: 0;
  width: 490px;
  height: 300px;
  overflow: hidden;
}

.zong:hover {
  animation-play-state: paused;
}

@keyframes change {
  0% {
    margin-left: 0;
  }

  30% {
    margin-left: 0;
  }

  33% {
    margin-left: -490px;
  }

  63% {
    margin-left: -490px;
  }

  66% {
    margin-left: -980px;
  }

  97% {
    margin-left: -980px;
  }

  100% {
    margin-left: -1470px;
  }
}

/* row3 */
.row3 .envir {
  position: relative;
  overflow: hidden;
}

.row3 .widget-header h1,
.row3 .widget-header h5 {
  color: #0942ad;
}

.row3 .widget-header h5::before,
.row3 .widget-header h5::after,
.row3 .widget-header h5 span::before,
.row3 .widget-header h5 span::after {
  background-color: #0942ad;
}

.row3 .widget-body {
  overflow: unset;
}

.row3 .swiper-container {
  width: 100%;
}

.son_img.el-row a {
  display: block;
  background: #ececec;
  text-align: center;
}

.son_img img {
  width: auto;
  max-width: 100%;
  height: 210px;
}

.son_img .el-col-6 {
  margin-bottom: 2em;
  text-align: center;
}

.son_img .el-col-6 span {
  display: block;
  width: 100%;
  background: #0942ad;
  color: white;
  text-align: center;
  line-height: 2em;
}

/* row4 */

.row4 {
  margin-top: 20px;
}

.row4 .el-row {
  align-items: stretch;
  flex-wrap: wrap;
}

.row4 .el-col-8 {
  background-color: #0942ad;
}

.row4 .contact {
  padding: 10px;
}

.row4 .contact img {
  width: 100%;
}

.row4 .contact ul {
  padding: 10px 0;
}

.row4 .contact ul li {
  font-size: 14px;
  padding: 0.5em 0 0.5em 1em;
  color: #fff;
}

.row4 .contact ul li i {
  margin-right: 0.5em;
}

.row4 a {
  display: block;
  font-size: 14px;
  color: #fff;
  line-height: 2em;
  background: #083488;
  text-align: center;
  border-radius: 5px;
}

.row4 a:hover {
  color: #ff0;
}

#allmap {
  width: 100%;
  height: 351px;
  overflow: hidden;
  position: relative;
}

/* row5 */
.row5 {
  background: #ececec;
  padding: 20px 0;
}

.row5 .wrap {
  /* border: 1px solid #e5e5e5; */
  position: relative;
}

.row5 .wrap::before {
  position: absolute;
  top: 13px;
  left: -6px;
  width: 0;
  height: 0;
  content: '';
  border-width: 120px 0 120px 5px;
  border-style: solid;
  border-color: #D9D3D7 transparent transparent transparent;
}

.row5 .wrap::after {
  position: absolute;
  top: 13px;
  right: -6px;
  width: 0;
  height: 0;
  content: '';
  border-width: 120px 5px 120px 0;
  border-style: solid;
  border-color: #D9D3D7 transparent transparent transparent;
}

.row5>.el-col-12 {
  box-shadow: 1px 1px 1px #ddd;
}

.row5 .el-col .dian {
  padding-left: 18px;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  position: relative;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row5 .el-col .dian::before {
  position: absolute;
  top: 50%;
  left: 5px;
  background: url(../img/dian.png) 0 0 no-repeat;
  width: 4px;
  height: 4px;
  content: "";
  margin-top: -2px;
}


/* 手机站自适应 */
@media screen and (max-width: 1000px) {}

@media screen and (max-width: 750px) {
  .category-list ul li {
    display: inline-block;
  }

  .category-list ul li a {
    border-bottom: none;
  }

  .pro-list ul li,
  .row3 .pro-list ul li {
    width: 50%;
  }

  .row1 .el-col {
    width: 25%;
  }

  .row3 .el-col {
    width: 50%;
  }

  .row2 .el-col,
  .row4 .el-col {
    width: 100%;
  }

  .row1 .el-col:nth-child(n + 5) {
    margin-top: 20px;
  }
.row1 .el-col:nth-child(5) {
    margin-left: 12.5%;
}
  .row3::before {
    display: none;
  }

  .row3 .widget-header .title {
    margin-left: -1rem;
    margin-right: -1rem;
  }

  img.ad_img {
    width: 100%;
  }

  .row2 a {
    float: none;
    text-align: center;
  }

  .row5 .el-col-12 {
    width: 100%;
  }

  #allmap {
    height: 240px;
  }

  #allmap .BMap_bubble_content {
    font-size: 12px;
  }

}

@media screen and (max-width: 640px) {
  .row1 p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .son_img img {
    height: 100px;
  }

  /* 简介滚动 */
  #parent {
    width: 400%;
    height: 253px;
  }

  .zong {
    width: 400%;
    height: 253px;
    animation: change 10s linear infinite;
  }

  .son {
    float: left;
    position: relative;
    overflow: hidden;
  }

  #father {
    margin-left: 0;
    width: 100%;
    height: 253px;
    overflow: hidden;
  }

  .zong:hover {
    animation-play-state: paused;
  }

  @keyframes change {
    0% {
      margin-left: 0;
    }

    30% {
      margin-left: 0;
    }

    33% {
      margin-left: -100%;
    }

    63% {
      margin-left: -100%;
    }

    66% {
      margin-left: -200%;
    }

    97% {
      margin-left: -200%;
    }

    100% {
      margin-left: -300%;
    }
  }
}