﻿@charset "UTF-8";

a {
    text-decoration:none;
    color:#333
}
/* 固定比例 */
[class*="wy-ratio-"] {
  width: 100%;
  height: 0;
  overflow: hidden;
  position: relative;
}

[class*="wy-ratio-"] > img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}

.wy-ratio-4-3 {
  padding-bottom: calc(100% / 4 * 3);
}

/* 页面流 */
body {
  background-color: #f5f5f5;
}
.page-head{
  background-color: #fff;
}

.header {
  width: 100%;
  background-color: #fff;
}

.head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  max-width: var(--head-max-width);
  height: var(--head-height);
  padding: var(--head-padding);
  margin: 0 auto;
}

.head .logo {
  max-width: var(--logo-max-width, 412px);
  margin-right: var(--logo-margin-right, 20px);
  width: 100%;
  height: auto;
  object-fit: contain;
}

.head .nav {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: var(--nav-align-self, stretch);
}

.head .tel-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.head .tel-top img {
  width: 18px;
  height: 18px;
  margin-right: 10px;
}

.head .nav-ul {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: right;
  text-align: center;
}

.head .nav-ul .nav-li {
  position: relative;
  flex-basis: 80px;
  margin-left: 10px;
}

.head .nav-ul .nav-li::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  translate: -50%;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: #2D6BAC;
  transition: all 0.3s;
}

.head .nav-ul .nav-li:hover, .head .nav-ul .nav-li.active {
  color: #2D6BAC;
  cursor: pointer;
}

.head .nav-ul .nav-li:hover::after, .head .nav-ul .nav-li.active::after {
  width: 80%;
}

.head .nav-m {
  width: 32px;
  height: 32px;
}

.head .nav-m-box {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
}

.head .nav-m-box .nav-m-ul {
  height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.head .nav-m-box .nav-li {
  position: relative;
  text-align: center;
  margin: 10px 0;
  background-color: #e1ecf7;
  border: 1px solid #2D6BAC;
  width: 40%;
  transition: all 0.3s;
  -ms-flex: 0 0 60px;
  flex: 0 0 60px;
  max-height: 60px;
  line-height: 60px;
}

.head .nav-m-box .nav-li::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  translate: -50%;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: #2D6BAC;
  transition: all 0.3s;
}

.head .nav-m-box .nav-li:hover, .head .nav-m-box .nav-li.active {
  color: #2D6BAC;
  cursor: pointer;
  background-color: #fff;
}

.head .nav-m-box .nav-li:hover::after, .head .nav-m-box .nav-li.active::after {
  width: 50%;
}

.head .nav-m-box .nav-m-tips {
  position: absolute;
  left: 50%;
  bottom: 5%;
  font-size: 14px;
  color: #999;
  translate: -50%;
}

/* banner */
.bannerSwiper {
  --swiper-theme-color: $primary;
  width: 100%;
  height: 100%;
}

.bannerSwiper .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
}

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

.bannerSwiper .swiper-pagination-bullet-active {
  background-color: #FAAD14;
}

.bannerSwiper .swiper-button-prev:after,
.bannerSwiper .swiper-button-next:after {
  font-size: 24px;
  color: #fff;
  line-height: 1;
}

/* 内容区 */
.main {
  display: grid;
  max-width: var(--main-max-width);
  grid-template-areas: var(--main-grid-template-areas);
  grid-template-columns: var(--aside-width) repeat(auto-fit, minmax(250px, 1fr));
  row-gap: var(--main-row-gap);
  column-gap: var(--main-column-gap);
  padding: var(--main-padding);
  margin: 0 auto;
}

/* 侧边栏 */
.aside {
  grid-area: aside;
}

.aside header {
  padding: var(--aside-padding, 0 30px);
  background-color: #2D6BAC;
  font-size: 20px;
  color: #fff;
  line-height: 80px;
  font-weight: bold;
}

.aside ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  grid-gap: 5px;
  background-color: #e9f1f9;
}

.aside ul li {
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
  color: #333;
  line-height: 50px;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #eee;
  border-left-width: 2px;
  border-left-style: solid;
  border-left-color: transparent;
  padding: var(--aside-padding, 0 30px);
  background-color: #fff;
}

.aside ul li:hover, .aside ul li.active {
  cursor: pointer;
  background-color: #fef6e6;
  border-left-color: var(--aside-hover-border-left, transparent);
  border-bottom-color: var(--aside-hover-border-bottom, transparent);
}

/* 面包屑 */
.breadcrumb {
  grid-area: head;
  width: 100%;
  font-size: 13px;
}

.breadcrumb ul {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.breadcrumb ul li {
  line-height: 30px;
  padding: 0 20px;
  position: relative;
  left: 4px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.breadcrumb ul li::after {
  content: '>';
  font-size: 14px;
  color: #333;
  position: absolute;
  right: -6px;
}

.breadcrumb ul li:first-child:before {
  content: '';
  width: 15px;
  height: 15px;
  background-image: url(/images/home.png);
  background-size: cover;
  position: absolute;
  left: 0;
}

.breadcrumb ul li:last-child {
  color: #999;
}

.breadcrumb ul li:last-child::after {
  display: none;
}

.breadcrumb ul li:hover {
  color: #2D6BAC;
}

/* 内容区域 */
.content-area {
  grid-area: content;
  padding: 20px;
  background-color: #fff;
  min-height: 50vh;
  color:#333
}

.content-area img {
    width:100%
}

.content-area article {
  /*text-indent: 30px;*/
  line-height: 1.5;
}

/* 工程案例 */
.case-ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--list-minwidth), 1fr));
  grid-gap: 10px;
}

.case-ul .case-li img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-sizing: border-box;
}

.case-ul .case-li figcaption {
  line-height: 50px;
  font-size: 14px;
  color: #333;
  text-align: center;
  background-color: #fff;
  padding: 0 10px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  transition: all .3s;
}

.case-ul .case-li:hover {
  cursor: pointer;
}

.case-ul .case-li:hover figcaption {
  color: #fff;
  background-color: #FAAD14;
}

/* 分页器 */
.case-pages {
  text-align: center;
  margin: 20px auto;
}

.case-pages > div {
  min-width: 30px;
  height: 30px;
  border-radius: 3px;
  font-size: 14px;
  padding: 0 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.case-pages .page-prev,
.case-pages .page-next {
  color: #333;
  border: 1px solid #eee;
  background-color: #fff;
}

.case-pages .page-prev.disabled,
.case-pages .page-next.disabled {
  cursor: not-allowed;
  color: #c0c4cc;
  border: 1px solid #eee;
  background-color: #f4f4f4;
}

.case-pages .page-prev:not(.disabled):hover,
.case-pages .page-next:not(.disabled):hover {
  color: #fff;
  border: 1px solid #2D6BAC;
  background-color: #2D6BAC;
}

.case-pages .page-num {
  color: #333;
  border: 1px solid #eee;
  background-color: #fff;
}

.case-pages .page-num.current {
  color: #fff;
  border: 1px solid #2D6BAC;
  background-color: #2D6BAC;
}

.case-pages .page-num:not(.current):hover {
  color: #fff;
  border: 1px solid #2D6BAC;
  background-color: #2D6BAC;
}

.case-pages .page-jump {
  color: #747474;
}

.case-pages .page-input {
  width: 36px;
  height: 25px;
  padding: 4px;
  margin: 0 10px;
  color: #333;
  text-align: center;
  outline: none;
  border: 1px solid #ddd;
  border-radius: 3px;
}

.case-pages .page-input:focus {
  border-color: #2D6BAC;
}

/* 底部 */
footer {
  background-color: #222222;
}

.foot {
  max-width: var(--foot-max-width, 1220px);
  padding: var(--foot-padding, 30px 10px);
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.foot .foot-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.foot .tel-bottom {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.foot .tel-bottom img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
}

.foot .tel-bottom .tips {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: #fff;
}

.foot .tel-bottom .tips span {
  font-size: 18px;
  color: #fff;
  line-height: 1.5;
}

.foot .tel-bottom .tips .telephone {
  font-size: 28px;
  color: #fff;
}

.foot .address {
  margin-top: 10px;
}

.foot .address p {
  font-size: 14px;
  color: #999;
  line-height: 2.2;
}

.foot .foot-right {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.foot .wechat {
  margin-right: 20px;
}

.foot .wechat img {
  width: 100px;
  height: 100px;
}

.foot .wechat figcaption {
  font-size: 14px;
  color: #999;
  line-height: 2;
  text-align: center;
  padding: 0 10px;
}

.foot .official-account img {
  width: 100px;
  height: 100px;
}

.foot .official-account figcaption {
  font-size: 14px;
  color: #999;
  line-height: 2;
  text-align: center;
  padding: 0 10px;
}

/* 版权 */
.copy-right {
  height: 60px;
  padding: 0 10px;
  margin: 0 auto;
  text-align: center;
  background-color: #191919;
  font-size: 14px;
  color: #999;
  line-height: 1.5;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

/* 右侧客服 */
.right-bar {
  position: fixed;
  top: 50%;
  right: 0;
  z-index: 10;
}

.right-bar ul {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 44px;
}

.right-bar li {
  position: relative;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  background-color: #2D6BAC;
  margin-top: 2px;
  margin-bottom: 2px;
  opacity: 0.8;
  transition: all .5s;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.right-bar li:hover {
  opacity: 1;
  cursor: pointer;
  background-color: #FAAD14;
}

.right-bar li > img {
  width: 24px;
  height: 24px;
  margin: 8px 10px;
}

.right-bar li > span {
  color: #FFF;
  font-size: 14px;
  margin-right: 10px;
}

.rtbar-tel {
  position: relative;
  width: max-content;
}

.rtbar-wechat:hover .rtbar-ewm {
  display: block;
}

.rtbar-ewm {
  display: none;
  position: absolute;
  right: 120%;
}

.rtbar-ewm img {
  width: 132px;
  height: 132px;
  padding: 5px;
  border: 1px solid #2D6BAC;
  border-radius: 5px;
  background-color: #FFF;
}

/* 媒体查询 */
@media (max-width: 639px) {
  .case-ul {
    --list-minwidth: 200px;
  }
  .tel-top,
.nav-ul {
    display: none !important;
  }
  .head {
    --head-max-width: 639px;
    --logo-max-width: 50vw;
    --logo-margin-right: 5px;
    --nav-align-self: center;
    --head-padding: 8px 16px;
  }
  .main {
    --aside-width: 0;
    --main-grid-template-areas: 'aa head'
      'aa aside'
      'aa content';
    --main-row-gap: 10px;
    --main-column-gap: 0;
    --main-padding: 10px;
  }
  .aside {
    --aside-padding: 0 5px;
    --aside-hover-border-bottom: #FAAD14;
    text-align: center;
  }
  .aside header {
    display: none;
  }
  .foot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    --foot-padding: 8px 16px;
  }
}

@media (min-width: 640px) and (max-width: 868px) {
  .case-ul {
    --list-minwidth: 200px;
  }
  .tel-top,
.nav-ul {
    display: none !important;
  }
  .head {
    --head-max-width: 868px;
    --logo-max-width: 30vw;
    --logo-margin-right: 10px;
    --nav-align-self: stretch;
    --head-padding: 20px 10px;
  }
  .main {
    --aside-width: 0;
    --main-max-width: 100%;
    --main-grid-template-areas: 'aa head'
      'aa aside'
      'aa content';
    --main-row-gap: 10px;
    --main-column-gap: 0;
    --main-padding: 10px;
  }
  .aside {
    --aside-padding: 0 20px;
    --aside-hover-border-bottom: #FAAD14;
    text-align: center;
  }
  .aside header {
    display: none;
  }
  .foot {
    --foot-padding: 20px 10px;
  }
}

@media (min-width: 869px) {
  .case-ul {
    --list-minwidth: 220px;
  }
  .tel-top,
.nav-m {
    display: none;
  }
  .head {
    --head-max-width: 1220px;
    --head-height: 90px;
    --logo-max-width: 30vw;
    --logo-margin-right: 10px;
    --nav-align-self: stretch;
    --head-padding: 20px 10px;
  }
  .main {
    --aside-width: 160px;
    --main-max-width: 100%;
    --main-grid-template-areas: 'aside head''aside content';
    --main-row-gap: 10px;
    --main-column-gap: 0;
    --main-padding: 10px;
  }
  .aside {
    --aside-padding: 0 30px;
    --aside-hover-border-left: #FAAD14;
  }
  .foot {
    --foot-padding: 20px 10px;
  }
}

@media (min-width: 1200px) {
  .case-ul {
    --list-minwidth: 240px;
  }
  .head {
    --head-max-width: 1240px;
    --head-height: 110px;
    --logo-max-width: 412px;
    --logo-margin-right: 20px;
    --nav-align-self: stretch;
    --head-padding: 30px 20px;
  }
  .main {
    --main-max-width: 1240px;
    --main-row-gap: 10px;
    --main-column-gap: 20px;
    --main-padding: 20px;
  }
  .foot {
    --foot-max-width: 1220px;
    --foot-padding: 30px 10px;
  }
}
