.m-top {
  position: relative;
}
.com-banner {
  position: relative;
}
.com-banner i {
  display: block;
}
.com-banner i img {
  width: 100%;
}

article {
  background: url(../images/com-bg.jpg) no-repeat center center/cover;
}

.com-main {
  padding: 12px;
}

.com-name {
  font-size: 18px;
  line-height: 24px;
  color: #333;
  text-align: center;
}
.com-bread {
  padding: 0 0 20px;
  font-size: 14px;
  line-height: 20px;
  color: #333;
  text-align: center;
  background: url(../images/com-line.png) no-repeat center bottom/6rem;
}
.com-bread a {
  color: #333;
}

.com-detial {
  margin: 10px 0;
  font-size: 14px;
  line-height: 24px;
  color: #333;
}

.com-box {
  min-height: 420px;
}

@media (min-width: 1200px) {
  article {
    padding: 0;
  }
  .com-main {
    width: 62.4vw;
    margin: 0 auto;
    padding: 2.4vw 0;
  }
  .com-name {
    font-size: 1.8vw;
    line-height: 2.4vw;
    color: #333;
    text-align: center;
  }
  .com-bread {
    padding: 0 0 1.5vw;
    font-size: 0.8vw;
    line-height: 1.4vw;
    color: #333;
    text-align: center;
    background: url(../images/com-line.png) no-repeat center bottom/17vw;
  }
  .com-bread a {
    color: #333;
  }

  .com-detial {
    margin: 1.5vw 0 0;
    font-size: 16px;
    line-height: 30px;
    color: #333;
  }

  .com-box {
    padding: 0;
    background: none;
  }
}

/* 二级导航 */

.com-nav {
  padding: 10px 0;
}

.com-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 -2px;
}

.com-nav ul li {
  width: 50%;
  padding: 2px;
}

.com-nav ul li a {
  display: block;
  font: 400 16px/30px "微软雅黑";
  color: #fff;
  text-align: center;
  background: rgba(0, 0, 0, 0.8);
}

.com-nav ul li.active a {
  background: #c50413;
}

@media (min-width: 1200px) {
  .com-nav {
    padding: 2vw 0;
  }
  .com-nav ul {
    display: flex;
    justify-content: center;
    margin: 0;
  }
  .com-nav ul li {
    width: auto;
    padding: 0 0.5vw;
  }
  .com-nav ul li a {
    display: block;
    position: relative;
    padding: 0 1.2vw;
    font-size: 0.9vw;
    line-height: 1.6vw;
    color: #fff;
    border-radius: 0.2vw;
    background: #cc1028;
  }
  .com-nav ul a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4vw;
    width: 100%;
    height: 0.5vw;
    background: url(../images/three.png) no-repeat center bottom;
  }
  .com-nav ul li.active a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.4vw;
    width: 100%;
    height: 0.5vw;
    background: url(../images/three.png) no-repeat center bottom;
  }
}

/* public */

.public {
  padding: 0.2rem;
  background: url(../images/public-bg.jpg) no-repeat center 0 / cover;
}
.public-main {
  display: flex;
  justify-content: space-between;
  padding: 0.2rem;
  border: 1px solid #e3d5bc;
}
.public-logo {
  width: 2.4rem;
}
.public-logo img {
  width: 100%;
}
.public-box {
  width: 4rem;
  color: #fff;
}
.public-tel {
  font-size: 18px;
  line-height: 20px;
}
.public-p {
  padding: 0.1rem 0 0;
  font-size: 14px;
  line-height: 20px;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px 0 0;
  font-size: 14px;
  line-height: 20px;
}
footer a,
footer p {
  padding: 0 5px;
  color: #fff;
}
@media (min-width: 1200px) {
  .public {
    padding: 3vw 3vw 0;
    background: url(../images/public-bg.jpg) no-repeat center 0 / cover;
  }
  .public-main {
    display: flex;
    justify-content: space-between;
    padding: 5vw 18vw;
    border: 1px solid #e3d5bc;
  }
  .public-logo {
    width: 15vw;
  }
  .public-logo img {
    width: 100%;
  }
  .public-box {
    width: 20vw;
    color: #fff;
  }
  .public-tel {
    font-size: 2.4vw;
    line-height: 3vw;
  }
  .public-p {
    padding: 0.5vw 0 0;
    font-size: 0.9vw;
    line-height: 1.4vw;
  }

  footer {
    display: flex;
    justify-content: center;
    padding: 2vw 0;
    font-size: 14px;
    line-height: 1vw;
  }
  footer a,
  footer p {
    padding: 0 5px;
    color: #fff;
  }
}

/* 网站翻页 */

.pages {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  text-align: center;
  color: #2a4347;
}

.pages-left {
  display: none;
}

.pages-right {
  display: flex;
}

.pages-right a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  margin: 0 1px;
  font: 400 14px/30px "微软雅黑";
  color: #333;
  background: #fff;
  border: 1px solid #333;
}

.pages-right a.active {
  color: #fff;
  background: #c30d23;
  border: 1px solid #000;
}

.pages-right a:first-child,
.pages-right a:last-child {
  display: none;
}

@media (min-width: 1200px) {
  .pages {
    justify-content: center;
    padding: 1.5vw 0;
  }
  .pages-left {
    display: block;
    padding-right: 10px;
    font: 400 14px/30px "微软雅黑";
  }
  .pages-right a:first-child,
  .pages-right a:last-child {
    display: flex;
    width: auto;
    padding: 0 12px;
    justify-content: center;
    align-items: center;
  }
  .pages-right a:hover {
    color: #fff;
    background: #c30d23;
    border-color: #c30d23;
  }
}

/* no-data */
.no-data {
  padding: 20px 0;
  text-align: center;
}

/*预览 上下个 */
.preview {
  display: flex;
  justify-content: space-between;
  margin: 10px 0 0;
}
.preview-prev,
.preview-next {
  max-width: 49%;
}
.preview-prev a,
.preview-next a {
  display: block;
  padding: 4px 8px;
  border: 1px solid #999;
  font: 400 14px/24px "微软雅黑";
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 1200px) {
  .preview-prev,
  .preview-next {
    font: 400 16px/24px "微软雅黑";
    color: #333;
  }
  .preview-prev a:hover,
  .preview-next a:hover {
    color: #fff;
    background: #c30d23;
  }
}
