/**********
	自定义工具函数
	用于将1200px设计稿的px高度转换为750px的rem高度
**********/
/********移动端内页banner**********/
@media (max-width: 1199px) {
  .p-banner img.img {
    display: none;
  }
  .m-btn {
    display: block;
  }
  .p-sort > .mauto > .p-pro-sort {
    position: absolute;
    left: 0;
    background: #fff;
    width: 100%;
    top: 49px;
    display: none;
    border-bottom: #ddd solid 1px;
  }
  .p-sort > .mauto > .p-pro-sort a {
    width: 100%;
    border-right: none;
  }
  #slideshow {
    display: none;
  }
  .m-prolist {
    display: block;
  }
  .news-1 li {
    position: static;
    width: 100%;
    margin: 0px auto 20px ;
    left: auto!important;
  }
  .news-1 li div.n-new.abs {
    position: static;
  }
  .news-1 li div.n-new {
    margin: 0 auto;
  }
  .news-1 .bg {
    display: none;
  }
}
@media (max-width: 991px) {
  .p-product-left {
    padding: 0 10px;
  }
  .open-box {
    width: 100%;
    height: 100%;
    padding: 30px;
    position: fixed;
    left: 0;
    top: 0;
    margin-left: 0;
    margin-top: 0;
    z-index: 999999;
  }
  .enter-left {
    width: 100%;
  }
  .enter-left li .enter-text {
    width: 100%;
  }
  .enter-left li a.btn01 {
    width: 100%;
  }
  .enter-left li a.btn02 {
    width: 100%;
  }
  .enter-right {
    display: none;
  }
}
@media (max-width: 768px) {
  .message li .message-textarea {
    width: 4rem;
  }
  .message li {
    width: 100%!important;
  }
  .message li .message-text {
    width: 4rem!important;
  }
  .map {
    height: 200px;
    background-size: auto 100%;
  }
  .map .map-a {
    display: none;
  }
  .m-map-a {
    display: block;
  }
}
@media (max-width: 640px) {
  .p-banner {
    height: 1.8rem;
  }
  .p-product-list {
    width: 250px;
    margin: 20px auto;
  }
}
