﻿/***********通用基本类1************/

/*格式化样式*/

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockquote,
th,
td,
hr,
img {
  margin: 0;
  padding: 0;
}

address,
cite,
dfn,
em,
var,
i {
  font-style: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
th {
  font-size: 100%;
  font-weight: normal;
}

button,
input,
select,
textarea {
  font-size: 100%;
}

fieldset,
img {
  border: 0;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  color: #d40000;
}

ul,
ol {
  list-style: none;
}

i,
strong,
em,
b {
  font-style: normal;
}

/*结构样式*/

.p10 {
  padding-left: 10px;
  padding-right: 10px;
}

/***********通用基本类2************/

body {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Microsoft Yahei', 'simsun', 'arial', 'tahoma';
  width: 100%;
}

.wrap {
  width: 100%;
  max-width: 1920px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.main {
  width: 1200px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.wrap.heightAuot,
.main.heightAuot {
  height: auto;
}

.mt{
  margin-top: 100px;
}
.pt{
  padding-top: 100px;
}

.m{
  display: none;
}
@media (max-width: 767px) {
  .mt{
    margin-top: 10%;
  }
  .pt{
    padding-top: 10%;
  }
  .m{
    display: block;
  }
  .pc{
    display: none;
  }
}

/* 单行文字超出隐藏 */

.ellipsis {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

/* 清理浮动 */

.fn-clear:after {
  visibility: hidden;
  display: block;
  font-size: 0;
  content: " ";
  clear: both;
  height: 0;
}

.fn-clear {
  zoom: 1;
  /* for IE6 IE7 */
}

.floatL {
  float: left;
}

.floatR {
  float: right;
}

.overflowH {
  overflow: hidden;
}

/* 响应式图片盒子 */

.imgBox {
  position: relative;
}

.imgBox img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

.imgBox img.full {
  width: 100%;
  height: 100%;
}

.imgBox img.auto {
  max-width: 100%;
  max-height: 100%;
}

/* 图片放大 */

.hoverScale {
  overflow: hidden;
}

.hoverScale img {
  -webkit-transition: .4s;
  -o-transition: .4s;
  transition: .4s;
}

.hoverScale:hover img {
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

/* 居中 */

.middleBox:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.middleLi {
  display: inline-block;
  vertical-align: middle;
}

/***********其他公共样式************/

/*ao-顶部栏目*/
.ao-headerNav .item1>li {
  position: relative;
  height: 100%;
  /*display: table-cell;
  width: 1%;*/
  text-align: center;
  font-size: 16px;
}

.ao-headerNav .item1.fullW>li {
  display: table-cell;
  width: 1%;
}

.ao-headerNav .item1.autoW>li {
  float: left;
}

.ao-headerNav .item1.autoW>li a {
  padding: 0 20px;
}

.ao-headerNav .item1>li>a {
  position: relative;
  display: block;
}

.ao-headerNav .item2 {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 2;
  font-size: 14px;
  line-height: 3em;
  text-align: center;
  min-width: 100%;
  background-color: #fff;
  border: 1px solid #e0e0e0;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  white-space: nowrap;
}

.ao-headerNav .item1>li:hover .item2 {
  display: block;
}

/*顶部栏目end*/

/*ao-响应式顶部栏目+按钮*/


.ao-navBtn .navbar-toggle {
  position: relative;
  padding: 9px 10px;
  background-color: transparent;
  background-image: none;
  cursor: pointer;
  outline: none;
  border: 1px solid #a8a8a8;
  border-radius: 6px;
}

.ao-navBtn .navbar-box .sr-only {
  display: block;
  width: 100%;
  padding: 0;
  margin: -1px;
  font-size: 12px;
  line-height: 1.4;
  overflow: hidden;
  border: 0;
  color: #a8a8a8;
  text-align: center;
  margin-top: 2px;
}

.ao-navBtn .navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #a8a8a8;
}

.ao-navBtn .navbar-toggle .icon-bar+.icon-bar {
  margin-top: 4px;
}

/*响应式顶部栏目+按钮end*/

/* header头部 */

.header {
  width: 100%;
  /* position: fixed;
  top: 0;
  left: 0; */
  z-index: 3;
  background-color: #000;
  color: #e5e5e5;
}

.header_top {
    background-color: #b81c22;
    color: #e5e5e5;
    height: 40px;
}
.header_top .main{
    height: 100%;
}
.header_top .left{
    float: left;
    font-size: 12px;
    line-height: 40px;
}
.header_top .right{
    float: right;
    font-size: 15px;
    height: 100%;
}
    .header_top .right span {
        height: 100%;
        width: 26px;
        background: url("../image/phone.png") no-repeat center center / contain;
        margin-right: 5px;
    }
    .header_top .right .i_tel {
        font-weight: bold;
    }
    .header_top .right span,
    .header_top .right i {
        display: inline-block;
        vertical-align: middle;
    }

.header .header_main {
  height: 100px;
  line-height: 100px;
}

.header .logo {
  float: left;
  font-size: 0;
  height: 100%;
}

.header .logo img {
  max-height: 80%;
}
.header .logo .text{
  display: inline-block;
  vertical-align: middle;
    padding: 5px 0 5px 30px;
    margin-left: 30px;
    line-height: 1;
  border-left: 1px solid #e5e5e5;
}
    .header .logo .text i:first-child {
        margin-bottom: 14px;
    }
.header .logo .text i{
  display: block;
  line-height: 1;
  font-size: 18px;
  font-weight: bold;
}

.header .header_nav {
  height: 100px;
  line-height: 100px;
  float: right;
  font-size: 18px;
}

.header .header_nav a {
}

.header .header_nav .item1>li>a span{
  position: relative;
}
.header .header_nav .item1>li>a span:after {
  position: absolute;
  content: "";
  display: block;
  height: 1px;
  left: 50%;
  right: 50%;
  top: 100%;
  margin-top: 5px;
  background-color: #d2253e;
  transition: 0.3s;
}

.header .header_nav .item1>li:hover>a,
  .header .header_nav .item1>li.on>a {
  color: #d2253e;
}
.header .header_nav .item1>li:hover>a span:after,
  .header .header_nav .item1>li.on>a span:after {
    left: 0;
  right: 0;
  visibility: visible;
}
.header .icoBtn {
  float: right;
  height: 100%;
  display: none;
}

.header .icoBtn .navbar-box {
  display: inline-block;
  vertical-align: middle;
}

.header_search {
  float: right;
  font-size: 0;
  margin-left: 20px;
}

.header_search input {
  border: 0;
  width: 120px;
  padding: 0 0.5em;
  font-size: 14px;
  vertical-align: middle;
  border-radius: 0;
  display: inline-block;
  height: 26px;
  outline: none;
}

.header_search button {
  border: 0;
  font-size: 14px;
  vertical-align: middle;
  border-radius: 0;
  display: inline-block;
  width: 35px;
  height: 26px;
  background: #c59a67 url("http://jinjianyedoor.com/Content/Images/search.png") no-repeat center center / auto 70%;
  line-height: 100px;
  overflow: hidden;
}

@media (max-width: 1200px) {
  .header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 22;
  }

  body {
    padding-top: 90px;
  }

  .header .header_main {
    height: 90px;
    line-height: 90px;
  }

  .header .header_nav {
    display: none;
  }

  .header .icoBtn {
    display: block;
    margin-right: 10px;
    margin-left: 10px;
  }

  .header .logo {
    margin-left: 10px;
  }
}

@media (max-width: 992px) {
  body {
    padding-top: 80px;
  }

  .header .header_main {
    height: 80px;
    line-height: 80px;
  }

  .header .logo img {
    max-width: 80%;
  }
}

@media (max-width: 767px) {
  body {
    padding-top: 60px;
  }

  .header .header_main {
    height: 60px;
    line-height: 60px;
  }

  .top_line {
    height: 24px;
    line-height: 24px;
  }

  .top_line .welcome {
    float: none;
    text-align: center;
    font-size: 12px;
  }

  .top_line .topBtn {
    display: none;
  }

  .header_search {
    display: none;
  }
  .header .logo .text{
    padding: 2px 0 2px 15px;
    margin-left: 15px;
  }
  .header .logo img{
    max-height: 80%;
  }
  .header .logo .text i{
    font-size: 12px;
  }
  .header .logo .text i:first-child{
    margin-bottom: 10px;
  }
    .header_top {
        height: 25px;
        font-size: 12px;
        text-align: center;
    }
        .header_top .left {
            display: none;
        }
        .header_top .right {
            float: none;
            font-size: 12px;
        }
            .header_top .right span {
                width: 15px;
            }
}

/* 移动端侧导航 */

.ao-navMask {
  position: fixed;
  width: 80%;
  height: 100%;
  top: 0;
  left: -80%;
  background-color: rgba(0, 0, 0, .8);
  z-index: 2222;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.ao-slideNav {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  visibility: visible;
  position: fixed;
  top: 0;
  right: -20%;
  width: 20%;
  height: 100%;
  padding: 1em;
  background-color: #fff;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  z-index: 2222;
}

.ao-navMask.on {
  left: 0;
}

.ao-slideNav.on {
  right: 0;
}

.ao-slideNav .btn {
  background: url("../image/slide-close.png") no-repeat center center / cover;
  width: 30px;
  height: 30px;
  margin-left: auto;
  margin-right: 10px;
  cursor: pointer;
}

.ao-slideNav li {
  width: 100%;
  border-left: 0;
  padding: .5em 0;
  line-height: 1.8;
  text-align: center;
}

.ao-slideNav .item1>li {
  font-size: 20px;
  color: #8B8784;
}

.ao-slideNav .item2 {
  display: none;
}

@media (max-width: 992px) {
  .ao-slideNav {
    right: -30%;
    width: 30%;
  }

  .ao-navMask {
    width: 70%;
  }
}

@media (max-width: 767px) {
  .ao-slideNav {
    right: -50%;
    width: 50%;
  }

  .ao-navMask {
    width: 50%;
  }
}


/* footer */
.footerBox {
    margin-top: 150px;
}
.footerNav{
  background-color: #333333;
  color: #fff;
  font-size: 18px;
  text-align: center;
  padding-top: 25px;
  padding-bottom: 25px;
}
.footerNav li{
  margin: 0 20px;
  display: inline-block;
  line-height: 30px;
  position: relative;
}
.footerNav li:after{
  position: absolute;
  content: "";
  display: block;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
  visibility: hidden;
}
.footerNav li:hover:after{
  visibility: visible;
  color:#4c2f29;
}
.footerNav li:hover a{
  color: #fff;
}
.footerCont{
  background-color: #333;
  color: #fff;
  padding-top: 40px;
  padding-bottom: 30px;
}
    .footerCont .c1 {
        text-align: center;
    }
    .footerCont .c1 .c1-tel{
        display: inline-block;
        margin-right: 25px;
    }
    .footerCont .c1 .c1-code{
        display: inline-block;
    }
    .footerCont .c1 .c1-tel .icon {
        float: left;
        width: 70px;
        height: 70px;
        background: url("../image/f-tel.png") no-repeat center center / contain;
        margin-right: 20px;
    }
    .footerCont .c1 .c1-tel .num {
        float: right;
        text-align: left;
    }
    .footerCont .c1 .c1-tel .num span{
        display: block;
        font-size: 25px;
        color: #fff;
        line-height: 1;
    }
    .footerCont .c1 .c1-tel .num i{
        display: block;
        font-size: 36px;
        color: #fff;
        line-height: 1;
        margin-top: 10px;
        font-weight: bold;
    }
        .footerCont .c1 .c1-code img{
            width: 70px;
            height: 70px;
            margin-right: 10px;
        }
    .footerCont .c2,
    .footerCont .c3{
        text-align: center;
        font-size: 14px;
        color: #999999;
        line-height: 1.8;
        margin-top: 25px;
    }
@media (max-width: 767px) {
    .footerBox {
        margin-top: 12%;
    }
  .footerNav li{
    display: block;
    border-bottom: 1px dashed #fff;
    text-align: left;
    height: 3em;
    line-height: 3em;
    font-size: 14px;
  }
  .footerNav li a{
    display: block;
    position: relative;
  }
  .footerNav li a:after{
    content: ">";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
  }
    .footerCont {
        padding-bottom: 20px;
    }
    .footerCont .c1 .c1-tel {
        margin-right: 0;
    }
    .footerCont .c1 .c1-tel .icon {
        width: 40px;
        height: 60px;
    }
    .footerCont .c1 .c1-tel .num span {
        font-size: 20px;
    }
    .footerCont .c1 .c1-tel .num i {
        font-size: 30px;
    }
}


/* lignhtBox */
#wrap {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate3d(-50%, -50%, 0);
  -ms-transform: translate3d(-50%, -50%, 0);
  transform: translate3d(-50%, -50%, 0);
}

#mask {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  background: #292929;
  opacity: 0.5;
  filter: alpha(opacity=50);
  display: none;
}

.photo_border {
  width: 300px;
  height: 300px;
  position: fixed;
  left: 50%;
  margin-left: -150px;
  z-index: 1001;
  background: url(../image/loading.gif) no-repeat center center #fff;
  display: none;
  z-index: 1000;
  zoom: 1;
}

.photo {
  position: relative;
  border: 5px solid #fff;
  border-radius: 3px;
  overflow: hidden;
}

.photo_btn {
  display: block;
  position: absolute;
  height: 100%;
  width: 40%;
  top: 0;
  zoom: 1;
  background: url(http://jinjianyedoor.com/Content/Images/lightbox/ie-bug.gif);
  cursor: pointer;
}

.photo_pre_btn {
  left: 0;
}

.photo_pre_btn_show {
  background: url(../image/prev.png) no-repeat;
  background-position: 10% center;
}

.photo_next_btn {
  right: 0;
}

.photo_next_btn_show {
  background: url(../image/next.png) no-repeat;
  background-position: 90% center;
}

.caption {
  position: relative;
  top: -65px;
  width: auto;
  height: 60px;
  margin: 0 5px;
  display: block;
  background: rgba(126, 126, 126, 0.5);
}

.photo_border .index {
  padding-left: 10px;
  color: #000;
  height: 30px;
  line-height: 30px;
}

.photo_border .title {
  padding-left: 10px;
  height: 30px;
  line-height: 30px;
  color: #fff;
}

.caption_close_btn {
  width: 27px;
  height: 27px;
  position: absolute;
  right: 10px;
  top: 13px;
  background: url(../image/close.png) no-repeat;
  cursor: pointer;
}

/* lignhtBox */



.swiper-wrapper{
    -webkit-transition-timing-function: linear; /*之前是ease-out*/
    -moz-transition-timing-function: linear;
    -ms-transition-timing-function: linear;
    -o-transition-timing-function: linear;
    transition-timing-function: linear;
}

.goTop {
  position: fixed;
  z-index: 2333;
  bottom: 15%;
  right: 10px;
  width: 45px;
  height: 45px;
  border-radius: 5px;
  cursor: pointer;
  background: #ddd url(../image/go-top.png) no-repeat center center;
  opacity: 0.9;
}

.goTop:hover {
  background-color: #b81c22;
}