* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-family: "微软雅黑", Helvetica, Arial, Verdana, sans-serif;
  font-size: 14px;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}
img {
  display: block;
}
.pl {
  padding-left: 5px;
}
.pr {
  padding-right: 5px;
}
.hide {
  display: none;
}
.center {
  text-align: center;
}
.flex {
  display: flex;
}

/* tool */
#backtop {
  position: fixed;
  bottom: 50px;
  right: 40px;
  z-index: 999;
  width: 32px;
  height: 32px;
  background: url(../images/backtop.png) no-repeat;
  background-size: contain;
  font-size: 0;
  transition: all .6s ease;
  opacity: 0;
}
.tool-contact {
  position: fixed;
  bottom: -190px;
  left: 40px;
  width: 300px;
  transition: all .6s ease;
}
.tool-contact.open {
  bottom: 0;
}
.tool-contact .tool-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  border-radius: 4px 4px 0 0;
  background-color: #191919;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}
.tool-contact .tool-header .icon {
  display: block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  background: url(../images/icons.png) no-repeat center;
  background-size: contain;
}
.tool-contact .tool-body {
  padding: 20px;
  background-color: #fff;
  height: 190px;
  font-size: 13px;
}

/* header */
.header,
.footer {
  background-color: #2b2b2b;
}
.header .container,
.footer .container {
  margin: 0 auto;
  max-width: 1024px;
}
.footer .container {
  display: block !important;
}

.header.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  animation: ani-header .6s ease-in-out;
}
@keyframes ani-header {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.header.fixed .container {
  max-width: 100%;
}
.header.fixed .container .logo {
  visibility: hidden;
}

.header .container {
  display: flex;
  justify-content: space-between;
}
.header .container .logo {
  position: relative;
}
.header .container .logo > img {
  position: absolute;
  top: 15px;
  left: 0;
}
.header .container .nav {
  text-align: right;
}
.header .container .nav > li {
  display: inline-block;
  vertical-align: middle;
}
.header .container .nav > li > a {
  display: block;
  margin: 5px 24px;
  line-height: 50px;
  font-size: 15px;
  color: #fff;
}
.header .container .nav > li > a > span,
.header .container .nav > li > a > small {
  margin: 10px auto;
  display: block;
  line-height: 1;
  text-align: center;
}
.header .container .nav > li > a > small {
  text-transform: capitalize;
}

/* main */
.main {
  background-color: #f4f4f4;
}

/* 首页列表 */
.main .container.nogrid {
  display: block !important;
}
.main .container {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  margin: 0 auto;
  width: 100%;
}
.main .container .col {
  width: 100%;
}
.main .container .col > a {
  display: block;
  position: relative;
  width: 100%;
}
.main .container .col > a > img {
  width: 100%;
}
.main .container .col > a > img:nth-child(2) {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
}
.main .container .col > a > img:hover {
  transition: all .6s ease;
  opacity: 1;
}

/* 案例列表 */
.main .container.case {
  display: grid;
  grid-template-columns: 50% 50%;
  max-width: 1024px;
}
.main .container.case .col {
  position: relative;
}
.main .container.case .col:hover .shade {
  transition: opacity 500ms linear;
  opacity: 1;
}
.main .container.case .col .shade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: rgba(0,0,0,.6);
  color: rgba(255,255,255,.7);
  cursor: pointer;
  opacity: 0;
}
.main .container.case .col .shade .box {
  width: 80%;
  margin: auto;
}
.main .container.case .col .shade .box .title {
  font-weight: initial;
  font-size: 20px;
}
.main .container.case .col .shade .box .desc {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.8;
}

/* 内容详情页 */
.main .container.content {
  padding: 177px 30px 133px 30px;
  background-color: #bbe1e2;
}
.main .container.content .wrap {
  text-align: center;
}
.main .container.content .content-title {
  margin-bottom: 18px;
  font-size: 36px;
}
.main .container.content .content-intro {
  margin: auto;
  max-width: 1080px;
  font-size: 14px;
  line-height: 1.6;
}
.main .container.content .content-body {
  padding: 30px 0;
}
.main .container.content .content-body img {
  margin: 10px auto;
  max-width: 100%;
}

/* 业务板块 */
.main .container.service {
  display: block;
  padding: 40px 0 10px 0;
}
.main .container.service .service-wrap {
  margin: 0 auto;
  padding: 0 40px 40px 40px;
  max-width: 1200px;
}
.main .container.service .service-wrap .service-title {
  position: relative;
  margin-bottom: 30px;
  line-height: 1.5em;
  font-weight: 700;
  font-size: 20px;
  color: #666;
}
.main .container.service .service-wrap .service-title::after {
  display: block;
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  margin: 30px 0;
  width: 60px;
  height: 2px;
  background-color: #000;
}
.main .container.service .service-wrap .service-intro {
  line-height: 27px;
  color: #666;
}
.main .container.service .service-wrap .service-row {
  display: table;
  margin: 15px 0 10px 0;
}
.main .container.service .service-wrap .service-row > li {
  display: table-cell;
  padding: 0 10px 5px 0;
  max-width: 33.33%;
}
.main .container.service .service-wrap .service-row > li:hover > a > .title {
  display: block;
}
.main .container.service .service-wrap .service-row > li > a {
  position: relative;
  display: block;
  width: 100%;
}
.main .container.service .service-wrap .service-row > li > a > img {
  max-width: 100%;
}
.main .container.service .service-wrap .service-row > li > a > .title {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  width: 100%;
  color: #fff;
  font-size: 16px;
  text-align: center;
  background-color: rgba(0,0,0,0.8);
  overflow: hidden;
}

/* 公司简介 */
.main .container.about {
  display: block;
  padding: 30px 40px;
  max-width: 1024px;
  text-align: center;
}
.main .container.about .about-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  border: 1px dashed #ccc;
}
.main .container.about .about-line {
  margin: 15px auto;
  width: 120px;
  height: 2px;
  background-color: #000;
}
.main .container.about .about-intro {
  margin-bottom: 30px;
  line-height: 1.5;
  font-size: 15px;
  color: rgb(105, 105, 105);
}
.main .container.about .about-team-row {
  display: flex;
  flex-wrap: wrap;
}
.main .container.about .about-team-row .about-team-col {
  margin: 25px 5px;
  flex-grow: 1;
  flex-basis: 0;
}
.main .container.about .about-team-row .about-team-col > h5 {
  margin: 5px 0;
  font-size: 15px;
  font-weight: 400;
}
.main .container.about .about-team-row .about-team-col > p {
  text-indent: 2em;
  text-align: left;
  line-height: 21px;
  font-size: 14px;
  color: rgb(105, 105, 105);
}
/* partner */
.main .container.about .about-partner .about-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  border: 1px dashed #ccc;
}
.main .container.about .about-partner .about-line {
  margin: 15px auto;
  width: 120px;
  height: 2px;
  background-color: #000;
}
.main .container.about .about-partner .about-partner-row {
  display: flex;
  flex-wrap: wrap;
}
.main .container.about .about-partner .about-partner-row .about-partner-col {
  padding: 5px;
  width: 25%;
}
.main .container.about .about-partner .about-partner-row .about-partner-col > img {
  width: 100%;
}

/* 联系我们 */
.main .container.contact {
  display: block;
  padding: 30px 40px;
}
.main .container.contact .form-item {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0;
}
.main .container.contact .form-item .form-col {
  flex-grow: 1;
  flex-basis: 0;
}
.main .container.contact .form-item .input {
  padding: 0 10px;
  width: 100%;
  height: 30px;
  font-size: 12px;
}
.main .container.contact .form-item .textarea {
  padding: 10px;
  width: 100%;
  height: 60px;
  font-size: 12px;
}
.main .container.contact .form-item #form-submit {
  padding: 5px 20px;
  border: none;
  background-color: #2b2b2b;
  color: #fff;
}
.main .container.contact .contact-map {
  margin-top: 20px;
  width: 100%;
  height: 650px;
}
.main .container.contact .contact-intro {
  margin: 40px 0 20px 0;
  line-height: 1.8;
  text-align: center;
  font-size: 15px;
  color: #666;
}

/* footer */
.footer .container {
  padding: 20px 0;
  text-align: center;
}
.footer .logo {
  display: inline-block;
  margin-top: 40px;
}
.footer .intro {
  margin: 10px 0;
  line-height: 2;
  color: rgb(169, 169, 169);
}
.footer .intro > h5 {
  font-size: 16px;
  font-weight: normal;
}
.footer .intro > span {
  display: block;
  font-size: 12px;
}
.footer .copy {
  color: rgb(169, 169, 169);
  font-size: 12px;
}
.footer .copy a {
  color: #e9e9e9;
}

@media only screen and (max-width: 992px) {
  .tool-contact {
    display: none;
  }
  .header .container {
    display: none;
  }
  .header .mobile {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    display: block;
    text-align: center;
  }
  .header .mobile > a {
    display: block;
    position: relative;
    padding: 13px 10px;
    background-color: #2b2b2b;
    color: #fff;
  }
  .header .mobile a > .icon {
    position: absolute;
    top: 12px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: url(../images/down.png) no-repeat;
    background-size: contain;
  }
  .header .mobile .nav > li > a > span,
  .header .mobile .nav > li > a > small {
    margin: 5px auto;
    display: block;
    line-height: 1;
    text-align: center;
  }
  .header .mobile .nav {
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: all .6s ease;
    width: 100%;
    background-color: #2b2b2b;
  }
  .header .mobile.open .nav {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
  }
  .header .mobile .nav > li {
    border-bottom: 1px solid #4f4f4f;
  }
  .header .mobile .nav > li > a {
    display: block;
    padding: 8px 10px;
    color: #fff;
  }

  .main {
    padding-top: 45px;
  }
  .main .container {
    display: block;
    max-width: 500px;
  }

  /* 内容详情页 */
  .main .container.content {
    padding: 91px 30px 30px 30px;
  }
  .main .container.content .content-title {
    font-size: 25px;
  }

  /* 业务板块 */
  .main .container.service {
    padding: 0;
  }
  .main .container.service .service-wrap {
    padding: 25px 15px;
  }
  .main .container.service .service-wrap .service-row > li {
    padding-right: 0;
    display: block;
    max-width: 100%;
    width: 100%;
  }

  /* 公司简介 */
  .main .container.about {
    padding: 30px 10px;
  }
  .main .container.about .about-team-row {
    display: block;
  }

  /* 联系我们 */
  .main .container.contact {
    padding: 30px 15px;
  }
  .main .container.contact .form-item {
    display: block;
  }
  .main .container.contact .form-item .form-col {
    margin: 10px 0;
    padding: 0;
  }
}