* {
  margin: 0;
  padding: 0;
  outline: none;
}
body {
  position: relative;
  overflow-x: hidden;
}
.p-30 {
  padding: 0 30px;
}
.content {
  margin-left: auto;
  margin-right: auto;
}
.clearfix:after {
  content: "";
  display: block;
  height: 0;
  clear:both;
  visibility: hidden;
}
.nav-item .nav-active {
  color: #ae0000;
}
.product_classif_list .active {
  color:#ae0000;
  cursor:initial
}
.home_product,.home_about,.home_case {
  padding-top: 100px;
}
.page_content {
  padding-top: 60px;
}


header {
  position: sticky;
  top: 0;
  padding: 0 20px;
  border-bottom: 1px solid #eee;
  z-index: 99;
  background: #fff;
  box-shadow: 0 0 10px 0 rgb(155 143 143 / 60%);
}
.logo {
  float: left;
  vertical-align: middle;
  line-height: 80px;
}
.logo a {
  display: inline-block;
  position: relative;
  vertical-align: middle;
}
.logo img {
  position: absolute;
  max-width: 130px;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
}

nav {
  float: right;
  vertical-align: middle;
}
.nav_list {
  list-style: none;
}
.nav-item {
  float: left;
  
}
.nav-item a {
  display: inline-block;
  padding: 20px 20px;
  text-align: center;
  text-decoration: none;
  color: #505050;
}
.nav-item a:hover span {
  color: #ae0000;
}
.nav-item span {
  display: block;
}

#menu_open_btn {
  padding: 25px 0;
  position: relative;
  float: right;
  width: 30px;
  height: 50px;
  box-sizing: border-box;
  cursor: pointer;
  display: none;
  /* line-height: 80px; */
}
.hamburger-bar {
  display: block;
  width: 30px;
  height: 4px;
  background: #ae0000;
  margin-bottom: 5px;
}
#menu_open_btn .bottom {
  margin-bottom: 0;
}
#menu_open_btn span:first-child,#menu_open_btn span:last-child {
  transition: .2s;
}
#menu_open_btn.open span:first-child {
  transform: rotate(45deg);
  transform-origin: 28.5%;
}
#menu_open_btn.open span:nth-child(2) {
  display: none;
}
#menu_open_btn.open span:last-child {
  transform: rotate(-45deg);
  transform-origin: 28.5%;
}
.mobile_menu {
  position: fixed;
  top: 80px;
  margin-left: auto;
  width: 100%;
  z-index: 99;
  background: #fff;
  box-sizing: border-box;
  display: none;
}
.menu_list {
  list-style: none;
}
.menu_list_item a {
  display: block;
  width: 100%;
  padding: 0 30px;
  display: inline-block;
  color: #505050;
  line-height: 50px;
  text-decoration: none;
}
.menu_list_item a:hover {
  color: #ae0000;
}
.menu_close_btn {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #ae0000;
  
}
.menu_close_btn span {
  font-size: 30px;
  cursor: pointer;
}
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.swiper-button-next,.swiper-button-prev {
  color: #ae0000;
}
.swiper-button-next {
  background-image: url(../img/next.png);
}
.swiper-button-prev {
  background-image: url(../img/prev.png);
}
.swiper-slide img {
  /* width: 100%; */
  max-width: 100%;
}
.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.slide-text p {
  color: #fff;
  font-size: 35px;
  letter-spacing: 10px;
  line-height: 60px;
}

.home_content_title {
  padding-bottom: 60px;
}
.title_text span {
  display: block;
  text-align: center;
  color: #505050;
}
.big_title {
  font-size: 30px;;
}
.small_title {
  margin-top: 10px;
}
.home_content {
  margin-left: auto;
  margin-right: auto;
}
.product_classif_list {
  list-style: none;
  display: flex;
  justify-content: space-around;
}
.product_classif_list li {
  float: left;
  width: 20%;
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
  color: #505050;
  cursor: pointer;
}
.product_classif_list li:hover {
  color: #ae0000;
}
.product_content {
  margin-top: 50px;
}
.product_list {
  list-style: none;
}
.product_item {
  float: left;
  width: 25%;
  padding: 20px 20px;
  box-sizing: border-box;
  transition: .3s;
  cursor: pointer;
}
.product_item:hover {
  box-shadow: 0 0 3px #505050;
  border-radius: 3px;
}
.item_top {
  width: 100%;
  overflow: hidden;
}
.item_img {
  max-width: 100%;
}
.item_price {
  color: #ae0000;
}
.item_price span:last-child {
  font-size: 20px;
  margin-left: -7px;
}
.pagination_box {
  margin-top: 50px;
  text-align: center;
}
.pagination {
  margin: 0 auto;
}
.pagination a,.pagination span {
  padding: 8px 12px;
  display: inline-block;
  background: #fff;
  border: 1px solid #dee2e6;
}
.pagination span {
  background: #ae0000;
  color: #fff;
}
.prev {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
.next {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}
.pagination a {
  color: #505050;
  text-decoration: none;
}
.about_content {
  vertical-align: middle;
}
.about_img {
  float: left;
  width: 30%;
  height: auto;
  vertical-align: middle;
  overflow: hidden;
  text-align: center;
}
.about_img img {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.about_text {
  float: right;
  width: 60%;
}
.about_text_bottom a {
  text-decoration: none;
}
.about_text_top {
  width: 100%;
  height: 145px;
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
}
.about_text_bottom {
  margin-top: 30px;
}
.icon-jiantou {
  font-size: 40px;
  color: #ae0000;
  font-weight: bold;
}
.about_text_bottom span {
  vertical-align: middle;
}
.about_text_bottom span:first-child {
  margin-top: -5px;
  color: #ae0000;
  font-size: 20px;
}
.case_list {
  list-style: none;
}
.case_list_item {
  float: left;
  width: 25%;
  padding: 0 15px;
  box-sizing: border-box;
  overflow: hidden;
}
.case_list_item {
  position: relative;
  display: block;
  color: #fff;
}
.case_list_item:hover .case_name {
  opacity: 1;
}
.case_list_item img {
  width: 100%;
  max-width: 100%;
}
.case_name {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  opacity: 0;
  transition: 0.3s;
}
.case_name span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 18px;
}
.footer_nav_content {
  float: left;
}
.footer_nav {
  width: 100%;
  height: 50px;
  background: #ae0000;
  margin-top: 100px;
}
.footer_nav_list {
  list-style: none;
}
.footer_nav_item {
  float: left;
}
.footer_nav_item a {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 14px 20px;
}
.phone_number {
  float: right;
  line-height: 50px;
}
.icon-dianhua {
  font-size: 25px;
  color: #fff;
}
.phone_number_text {
  margin-left: 10px;
}
.phone_number_text a {
  color: #fff;
  text-decoration: none;
}
footer {
  padding: 30px 0;
  text-align: center;
  color: #505050;
}
.to_top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: #ae0000;
  cursor: pointer;
  display: none;
}
.to_top span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  color: #fff;
  font-size: 25px;
}
.page_banner {
  position: relative;
}
.page_banner img {
  max-width: 100%;
}
.page_banner p {
  position: absolute;
  top: 50%;
  left: 90px;
  font-size: 40px;
  letter-spacing: 10px;
  color: #fff;
}
.custom_form {
  text-align: center;
}
.form_group {
  margin: 0 auto;
  margin-bottom: 40px;
  width: 550px;
  /* width: 100%; */
}
.custom_form input {
  width: 100%;
  height: 50px;
  border-radius: 2px;
  border: 1px solid #999999;
  padding-left: 10px;
  outline: none;
  box-sizing: border-box;
}
.custom_form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  line-height: 1;
  margin-right: 5px;
}
.custom_form input[type="checkbox"]:checked {
  background-color: #ae0000;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"]{
  -moz-appearance: textfield;
}
.group_item {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
}
.group_item label {
  cursor: pointer;
}
.custom_form .form_group textarea {
  width: 100%;
  height: 130px;
  padding-top: 10px;
  padding-left: 10px;
  box-sizing: border-box;
}
.form_group button {
  width: 100%;
  height: 50px;
  border-radius: 2px;
  background: #ae0000;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.case_page_list {
  list-style: none;
}
.item_left {
  width: 20%;
  margin: 0 auto;
  height: auto;
  vertical-align: middle;
  overflow: hidden;
  text-align: center;
}
.item_left img {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.item_right {
  text-align: center;
}
.item_right_top {
  margin-top: 30px;
}
.item_right_top p {
  font-size: 30px;
  color: #505050;
}
.item_right_center {
  margin-bottom: 20px;
}
.item_right_center p {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  line-clamp: 7;
  -webkit-box-orient: vertical;
  color: #505050;
}
.item_right_bottom  a {
  text-decoration: none;
}
.item_right_bottom span {
  vertical-align: middle;
  text-decoration: none;
}
.item_right_bottom span:first-child {
  color: #ae0000;
}
.case_page_list_item {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}
.about_page_text {
  color: #505050;
  font-size: 20px;
}
.beian img {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.beian {
  color: #505050;
  font-size: 12px;
  text-decoration: none;
  margin-right: 10px
}
.beian a {
  color: #505050;
  text-decoration: none;
}
.after_content {
  font-size: 20px;
  color: #505050;
}