/************
 * 页面样式
 ************/
/*=============
 * 基础默认样式
 =============*/

html {
  color: #333;
  min-width: 320px;
  font-size: 100%;
}
:selection {
  background: #b3d4fc;
  text-shadow: none;
}

ul,
h1,
h2,
h3,
p,
div,
dl,
dt,
dd,
figure,
figcaption {
  margin: 0;
  padding: 0;
}
li {
  list-style: none;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
img {
  max-width: 100%;
  height: auto;
  transition: all 0.5s;
}
/*=============
 * 工具样式
 =============*/
.center-block {
  display: block;
  margin-right: 0;
  margin-left: 0;
}
.pull-right {
  float: right !important;
}
.pull-left {
  float: left !important;
}

.text-right {
  text-align: right !important;
}
.text-left {
  text-align: left !important;
}
.text-center {
  text-align: center !important;
}

.hide {
  display: none !important;
}
.show {
  display: block !important;
}
.invisible {
  visibility: hidden;
}
.text-hide {
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.clearfix:after,
.clearfix:before {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}

* {
  box-sizing: border-box;
}

/*=============
 * 浏览器更新提示
 =============*/
.browerupgrade {
  margin: 0;
  padding: 1rem;
  background: #ccc;
}

/*=============
 * 自定义页面样式
 =============*/
body {
  line-height: 1.8;
  background: #fff;
  font-family: Microsoft YaHei;
}

a {
  color: #666;
  text-decoration: none;
  transition: all 0.4s;
}
a:active,
a:hover {
  color: #d80808;
  text-decoration: none;
}

.container {
  max-width: 77em;
  margin: 0 auto;
  padding-top: 0%;
}

.navbar {
  background: #fff;
  min-height: 80px;
  height: auto;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  position: fixed;
  z-index: 30;
  left: 0;
  top: 0;
  width: 100%;
}

.logo img {
  max-height: 4rem;
  width: auto;
  margin-top: 0.5rem;
}
.nav {
  text-align: right;
  font-size: 0;
}
.nav li {
  display: inline-block;
  font-size: 1rem;
}
.nav li a {
  display: block;
  line-height: 2rem;
  height: 2rem;
  padding: 0 0.6rem;
}

.ad {
  text-align: center;

  margin-top: 5rem;
}
.ad .item {
  font-size: 0;
  background: #535353;
}
.owl-theme .owl-controls {
  margin-top: -45px !important;
}

.sy-about {
  background: #242424;
  padding: 2rem 0;
  color: #fff;
}
.sy-abtxt {
  width: 60%;
}
.sy-abtxt h2 {
  font-size: 2.5rem;
  padding-bottom: 0.5rem;
  font-weight: 400;
}
.ab-btn {
  text-align: right;
}
.ab-btn a {
  display: inline-block;
  border-radius: 1.875rem;
  height: 3.125rem;
  margin-top: 2rem;
  width: 18%;
  line-height: 3.125rem;
  background: #fff;
  color: #333;
  text-align: center;
}
.ab-btn a:hover {
  background: #f13a3a;
  color: #fff;
}
.title {
  padding-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 1px #f6f6f6 solid;
}
.title h2 {
  font-size: 1.875rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
}
.title p {
  color: #999;
}

.service-list {
  font-size: 0;
  padding-bottom: 2rem;
}
.service-list li {
  padding: 0 1rem;
  font-size: 1rem;
  text-align: center;
  margin-top: -1rem;
}
.service-list h3 {
  font-size: 1.5rem;
  font-weight: 400;
  margin-top: -1rem;
}
.service-list i {
  font-size: 7rem;
  transition: all 0.4s;
  transform: rotate(0deg);
}
.service-list li p {
  font-size: 0.875rem;
  color: #999;
}
.service-list li:hover i {
  color: #f13a3a;
}

.programme-box {
  background: #f1f1f1;
  padding-bottom: 3rem;
}

.ff-list {
  font-size: 0;
}
/* 1. Force the list items to the desired container height */
.ff-list li {
  display: inline-block !important;
  width: 25% !important; /* 4 images per row */
  height: 500px !important; /* <--- CHANGE THIS to 600px, 800px, etc. */
  overflow: hidden !important;
  vertical-align: top;
}

/* 2. Force the image to fill that height and override Tailwind/Main.css */
.ff-list li img {
  width: 100% !important;
  height: 100% !important; /* Forces image to match the parent height */
  object-fit: cover !important; /* Crops the image so it doesn't look stretched */
  display: block !important;
  max-height: none !important;
}

.fa-txt {
  font-size: 4rem;
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  opacity: 0;
  transition: all 0.4s;
}
.ff-list li a:hover img {
  opacity: 0.3;
  transform: scale(1.2, 1.2);
}
.ff-list li a:hover .fa-txt {
  opacity: 1;
  font-size: 1.25rem;
}

.advantage-box {
  padding-bottom: 3rem;
}
.advantage-list {
  font-size: 0;
}
.advantage-list li {
  font-size: 1rem;
  text-align: center;
  margin-top: -1rem;
}
.advantage-list li i {
  font-size: 7rem;
  transition: all 0.4s;
}
.advantage-list li h3 {
  font-size: 3rem;
  color: #f13a3a;
  margin-top: -1rem;
}
.advantage-list li p {
  color: #999;
}
.advantage-list li:hover i {
  color: #f13a3a;
}

#owl-demo4 .owl-controls,
#owl-demo5 .owl-controls,
#owl-demo6 .owl-controls {
  margin-top: 15px !important;
}

.brand-box {
  background: url(../img/ban.jpg) center top;
  background-attachment: fixed;
  background-size: cover;
}
.brand-box .box1 {
  padding: 4rem 1rem;
  max-width: 75rem;
  margin: 0 auto;
}
.brand-box h2 {
  text-align: center;
  color: #fff;
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 0;
}
.brand-box h2 span {
  color: #f13a3a;
  font-size: 3rem;
}
.brand-box h2 strong {
  display: block;
}
.team-list .item {
  position: relative;
  margin: 0 0.5rem;
  overflow: hidden;
}
.team-list .item img {
  width: 100%;
  height: auto;
  display: block;
}
.team-box {
  background: #f1f1f1;
  padding-bottom: 3rem;
}
.team-list .item .name-t {
  background: #fff;
  height: 3rem;
  line-height: 3rem;
  text-align: center;
  box-shadow: 0 2px 6px #000;
}
.team-abs {
  text-align: center;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 3rem;
  right: 0;
  background: rgba(0, 0, 0, 0);
  transition: all 0.4s;
}
.team-abs h3 {
  padding-top: 40%;
  color: hsla(0, 0%, 100%, 0);
  font-size: 3rem;
  font-weight: 400;
  transition: all 0.4s;
}
.team-abs p {
  color: hsla(0, 0%, 100%, 0);
  transition: all 0.4s;
  font-size: 2rem;
}
.team-list .item a:hover .team-abs {
  background: rgba(0, 0, 0, 0.8);
}
.team-list .item a:hover .team-abs h3 {
  color: hsla(0, 0%, 100%, 1);
  font-size: 1.5rem;
}
.team-list .item a:hover .team-abs p {
  color: hsla(0, 0%, 100%, 1);
  font-size: 1rem;
}
#owl-demo2 .owl-controls {
  margin-top: 1.5rem !important;
}
#owl-demo3 .owl-controls {
  margin-top: 0.5rem !important;
}
.value-box {
  background: url(../img/bg2.jpg) center center no-repeat;
  background-attachment: fixed;
  background-size: cover;
}
.value-txt {
  width: 50%;
  margin-left: 50%;
  background: rgba(30, 39, 48, 0.8);
  padding: 5rem 0 5rem 3rem;
  color: #fff;
}
.value-txt h2 {
  font-size: 2.375rem;
  padding-bottom: 0.5rem;
  font-weight: 400;
}

.value-txt .ab-btn {
  text-align: center;
}
.value-txt .ab-btn a {
  min-width: 10rem;
}
.lx-box {
  padding-bottom: 3rem;
}
.lx-list {
  font-size: 0;
}
.lx-list li {
  display: inline-block;
  width: calc(25% - 0.76rem);
  border: 1px #ddd solid;
  font-size: 1rem;
}
.lx-list li + li {
  margin-left: 1rem;
}
.lx-list li i {
  float: left;
  font-size: 3rem;
  padding: 0 1rem;
}
.lx-list li p {
  padding-top: 1rem;
}
.lx-list li p span {
  display: block;
  font-size: 0.875rem;
  color: #999;
}

.footer {
  background: #1b252e;
  padding: 2rem 0;
  color: #8b939d;
  font-size: 0.875rem;
  text-align: center;
}

.b-nav {
  padding: 1rem 0;
  text-align: center;
  border-top: 1px #313a43 solid;
}
.b-nav a {
  display: inline-block;
  padding: 0 2rem;
  color: #8b939d;
}
.b-nav a:hover {
  color: #d80808;
}

.page {
  padding: 3rem 1rem;
}
.page-tit {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 400;
}
.sub-list {
  text-align: center;
  padding-top: 1rem;
  border-bottom: 1px #dfdfdf solid;
  padding-bottom: 1.5rem;
  font-size: 0;
}
.sub-list li {
  display: inline-block;
  font-size: 1rem;
}
.sub-list li a {
  display: inline-block;
  padding: 0.3rem 2rem;
  border: 1px solid #dfdfdf;
  margin: 0 0.5rem;
  border-radius: 5rem;
}
.sub-list li a:hover,
.sub-list li.active a {
  background: #d80808;
  color: #fff;
  border-color: #d80808;
}

.al-list {
  padding-top: 2rem;
  font-size: 0;
}
.al-list li {
  display: inline-block;
  width: 25%;
  position: relative;
  transition: all 0.4s;
}
.al-abs {
  text-align: center;
  position: absolute;
  background: rgba(0, 0, 0, 0);
  z-index: 10;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  border: 10px solid hsla(0, 0%, 100%, 0);
  background-clip: padding-box;
  transition: all 0.4s;
}
.al-abs span {
  transition: all 0.4s ease 0.2s;
  position: absolute;
  left: 50%;
  font-size: 2rem;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  color: hsla(213, 0%, 100%, 0);
}
.al-list li a {
  display: inline-block;
  overflow: hidden;
}
.al-list li:hover img {
  transform: scale(1.2, 1.2);
}
.al-list li:hover .al-abs {
  background: rgba(0, 0, 0, 0.6);
  border: 10px solid hsla(0, 0%, 100%, 0.5);
}
.al-list li:hover span {
  color: hsla(213, 0%, 100%, 1);
  font-size: 1rem;
}

.page-ajax {
  text-align: center;
}
.page-ajax a {
  font-size: 1rem;
  display: inline-block;
  padding: 1rem 2rem 1rem;
  position: relative;
}
.page-ajax a:hover {
  color: #d80808;
}
.page-ajax a i {
  display: inline-block;
}
.page-ajax a i:after {
  content: "";
  border: 5px solid transparent;
  border-top-color: #666;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  margin-left: -5px;
}
.page-ajax a:hover i:after {
  border-top-color: #d80808;
}

.al-tit {
  padding: 2rem 0 1rem;
  text-align: left;
}
.al-tit h1 {
  font-size: 1.75rem;
  font-weight: 400;
}
.al-tit h1 span {
  display: inline-block;
  margin-left: 1rem;
  font-size: 0.875rem;
  color: #999;
}
.al-dbox {
  padding-top: 2rem;
}

.l-box {
  width: 73%;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
}

.r-box {
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  width: 25%;
}
.r-box .al-list li {
  width: 100%;
}

.product-title {
  font-size: 1rem;
  line-height: 1.875;
  font-weight: 400;
  border-bottom: 1px solid #e4eaec;
  padding: 0 0 0.5rem 1rem;
  position: relative;
}
.product-title:before {
  content: "";
  width: 7rem;
  height: 2px;
  background: #333;
  position: absolute;
  left: 0;
  bottom: -1px;
}

.text-box {
  padding-top: 1rem;
  font-size: 0.875rem;
}
.xm-mx {
  padding-top: 1rem;
}
.mt1 {
  margin-top: 1rem;
}

.new-list {
}
.new-list li {
  color: #666;
  padding: 1.5rem 0;
  border-bottom: 1px #ddd solid;
}
.new-list li span {
  margin-right: 1rem;
  color: #666;
  text-align: center;
  background: #f2f2f2;
  float: left;
  width: 5.25rem;
  height: 5.25rem;
}
.new-list li span strong {
  font-size: 1.5rem;
  padding-top: 1rem;
}
.new-list li p {
  font-size: 0.875rem;
  height: 3.125rem;
  overflow: hidden;
}
.new-list li a {
  padding-bottom: 0.3rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 1.125rem;
  color: #333;
  display: block;
}
.new-list li a:hover {
  color: #d80808;
}

.n-title {
  padding-bottom: 1.2rem;
  border-bottom: 1px #dfdfdf solid;
  text-align: center;
}
.n-title h1 {
  font-size: 2rem;
  font-weight: 400;
}
.n-title .inf {
  color: #999;
  font-size: 0.875rem;
}

.news-txt {
  padding-top: 1.5rem;
  font-size: 0.875rem;
}
.news-txt img {
  display: inline-block;
  margin: 0.5rem auto;
}

.ab-txt .value-box {
  background-attachment: inherit;
  background-size: cover;
}
.txt01 {
  max-width: 40rem;
  margin: 2rem auto;
  text-align: center;
  font-size: 0.875rem;
  line-height: 2rem;
}

.map {
  margin: 2rem 0;
}
.nav-logo {
  position: absolute;
  right: 2rem;
  top: 1rem;
  display: none;
}
.nav-logo span {
  width: 30px;
  height: 4px;
  background: #333;
  display: block;
  margin-bottom: 6px;
}

.mobile-nav {
  height: 100%;
  background: #242424;
  position: fixed;
  right: -200px;
  top: 3.75rem;
  width: 200px;
  overflow: hidden;
  display: none;
}
.mobile-nav ul {
  padding: 15px 0;
}
.mobile-nav a {
  display: block;
  border-bottom: 1px #666 solid;
  height: 40px;
  line-height: 40px;
  padding-left: 5px;
  color: #fff;
  padding: 0 25px;
  font-size: 15px;
}
.mobile-nav a:active {
  background: #fff;
  color: #242424;
}

@media only screen and (max-width: 50em) {
  .brand-box h2 {
    font-size: 1.5rem;
    font-weight: 400;
  }
  .value-txt {
    width: 70%;
    margin: 0 auto;
  }
  .lx-list li {
    width: calc(50% - 0.5rem);
    margin-bottom: 1rem;
  }
  .lx-list li:nth-child(3) {
    margin-left: 0;
  }
  .ab-btn {
    text-align: center;
  }
  .ab-btn a {
    width: 50%;
    max-width: 10rem;
  }
  .al-list li {
    width: 50%;
  }
  .l-box {
    width: 100%;
    padding: 1rem;
  }
  .r-box {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
  }
  .al-dbox .al-list li {
    width: 50%;
  }
}

@media only screen and (min-width: 30.0625em) and (max-width: 47em) {
  .ab-btn {
    text-align: center;
  }
  .ab-btn a {
    width: 50%;
  }
  .brand-box h2 {
    line-height: 3rem;
  }
  .brand-box h2 span {
    display: none;
  }
  .brand-box h2 strong {
    display: inline-block;
    font-weight: 400;
  }
  .value-txt {
    width: 100%;
  }
  .value-txt h2 {
    font-size: 2rem;
  }
  .b-nav a {
    padding: 0 1rem;
  }
  .sub-list li {
    width: 50%;
    margin-bottom: 1rem;
  }
  .sub-list li a {
    width: 80%;
  }
  .nav {
    display: none;
  }
  .nav-logo {
    display: block;
  }
  .navbar {
    height: 3.75rem;
  }
  .logo img {
    height: 2.75rem;
  }
  .ad {
    margin-top: 3.75rem;
  }
}

@media only screen and (max-width: 30em) {
  .sy-abtxt {
    width: 100%;
  }
  .sy-abtxt {
    width: 100%;
    font-size: 0.875rem;
  }
  .brand-box h2 {
    line-height: 3rem;
  }
  .brand-box h2 span {
    display: none;
  }
  .brand-box h2 strong {
    display: inline-block;
    font-weight: 400;
  }
  .value-txt {
    width: 100%;
  }
  .value-txt h2 {
    font-size: 1.5rem;
  }
  .b-nav a {
    padding: 0 0.5rem;
  }
  .value-txt {
    padding: 3rem 1rem;
  }
  .lx-list li {
    width: 100%;
    margin-left: 0 !important;
  }
  .lx-box {
    padding-bottom: 2rem;
  }
  .title {
    padding-top: 1rem;
    margin-bottom: 1rem;
  }
  .title h2 {
    font-size: 1.4rem;
  }
  .programme-box,
  .advantage-box,
  .team-box {
    padding-bottom: 1rem;
  }
  .brand-box .box1 {
    padding: 2rem 1rem;
  }
  .sub-list li {
    width: 50%;
    margin-bottom: 1rem;
  }
  .sub-list li a {
    width: 90%;
    padding: 0.3rem 0;
  }
  .new-list li span {
    display: none;
  }
  .new-list li {
    padding: 1rem 0;
  }
  .nav {
    display: none;
  }
  .nav-logo {
    display: block;
  }
  .navbar {
    height: 3.75rem;
  }
  .logo img {
    height: 2.75rem;
  }
  .ad {
    margin-top: 3.75rem;
  }
  .service-list li,
  .advantage-list li {
    margin-top: -2.5rem;
  }
}

@media only screen and (max-width: 21em) {
  .b-nav {
    display: none;
  }
  .al-list li {
    width: 100%;
  }
  .al-dbox .al-list li {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .navbar .container {
    padding: 0 10px;
  }

  .navbar .nav-row {
    overflow-x: auto; /* Adds horizontal scroll if buttons are too wide for the phone */
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 5px;
  }

  .navbar .nav-item {
    margin: 0 8px;
  }

  .navbar .nav-item a {
    font-size: 14px; /* Minimum readable size for mobile */
  }
}
