/*头部*/
.top{
    height: 20px;
    background-color: #f7f6f2;
}
.top span{
    color: #666;
    padding: 0 5px;
    line-height: 20px;
}
.hd{
    height: 127px;
    position: relative;
}
.nav-box{
    position: relative;
}
.hd-phone{
    position: absolute;
    top: 40px;
    right: 0;
}
.hd-phone span:first-child{
    font-size: 1.6rem;
    color: #555;
}
.hd-phone span:last-child{
    font-size: 2.4rem;
    color: #e77817;
}
.hd-logo{
    float: left;
    line-height: 127px;
}
.hd-nav{
    position: absolute;
    top: 90px;
    right: 0;
}
.hd-nav li{
    float: left;
    position: relative;
}
.hd-nav li span{
    margin: 0 15px;
}
.hd-nav li a{
    position: relative;
    display: inline-block;
    color: #555;
    padding-bottom: 15px;
    border-bottom: 2px solid transparent;
    transition: .3s;
}
.hd-nav li a:hover{
    border-bottom: 2px solid #e77817;
    color: #e77817;
}
.hd-nav li a::after{
    content: '';
    display: block;
    position: absolute;
    border-bottom: 5px solid transparent;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 30px;
    transition: .3s;
}
.hd-nav li a:hover::after{
    border-bottom: 5px solid #e77817;
}
@media (max-width: 996px){
    .hd{
        height: 60px;
    }
    .hd-logo{
        line-height: 60px;
    }
    .hd-logo img{
        width: 200px;
    }
    .hd-nav{
        top: 35px;
    }
    .hd-phone{
        top:0;
    }
    .hd-nav li a,.hd-nav li a:hover{
        border-bottom: none;
    }
    .hd-nav li a::after{
        display: none;
    }
}
@media (max-width: 768px){
    .hd-phone{
        display: none;
    }
    .hd-nav{
        display: none;
        float: none;
        width: 100%;
        top: 60px;
        border-radius: 0 0 5px 5px;
        box-shadow: 0 2px 5px rgba(0,0,0,.3);
        z-index: 99;
    }
    .hd-nav li{
        float: none;
        width: 100%;
        text-indent: 5px;
        background-color: #ffffff;
    }
    .hd-nav li span{
        display: none;
    }
    .nav-logo{
        position: absolute;
        display: block;
        width: 30px;
        top: 16px;
        right: 13px;
        box-sizing: border-box;
        cursor: pointer;
    }
    .nav-logo span{
        display:block;
        width: 25px;
        height: 4px;
        background-color: #333;
        border-radius: 2px;
        margin: 4px auto;
    }
}
@media (min-width: 768px){
    .hd-nav{
        display: block!important;
    }
}
/*脚部*/
.ft{
    background-color: #3e2a19;
    padding-top: 40px;
    padding-bottom: 20px;
}
.ft-box{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.ft-item{
    width: 33%;
}
.ft-item h3{
    text-align: center;
    line-height: 30px;
    background-color: #d6d2cd;
    width: 50%;
    font-size: 1.4rem;
    color: #9c7652;
    margin: 25px 0;
}
.ft-item ul{
     display:flex;
     justify-content: space-between;
    flex-wrap: wrap;
 }
.ft-item ul>li{
    width: 33%;
}
.ft-item ul>li>a{
    color: #999;
    font-size: 1.2rem;
    transition: .3s;
    line-height: 40px;
}
.ft2 ul>li{
    width: 50%;
}
.ft3 p,.ft3 a{
    font-size: 1.2rem;
    line-height: 30px;
    color: #999;
}
.ft3 img{
    margin-bottom: 20px;
}
.ft-item ul>li>a:hover,.ft3 a:hover{
    color: #ffffff;
}
@media (max-width: 996px){
    .ft-item{
        width: 50%;
    }
}
@media (max-width: 768px){
    .ft-item{
        width: 100%;
        margin-bottom: 10px;
    }
    .ft-item:nth-child(2){
        display: none;
    }
    .ft-item h3{
        margin: 10px auto;
    }
    .ft-item ul>li>a{
        line-height: 24px;
    }
    .ft-item img{
        width: 100px;
    }
    .ft3 img{
        margin-bottom: 5px;
    }
    .ft{
        text-align: center;
        padding-top: 15px;
        padding-bottom: 0;
    }
}
/*公共部分*/
.nbanner{
    position: relative;
}
.nbanner img{
    min-height: 100px;
}
.nbanner-text{
    position: absolute;
    top:20%;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    text-align: center;
}
.nbanner-text h3{
    font-size: 4rem;
}
.nbanner-text p{
    font-size: 2rem;
    line-height: 40px;
}
.weizhi{
    border-bottom: 1px solid #f7f7f7;
}
.weizhi p{
    font-size: 1.2rem;
    line-height: 40px;
}
.weizhi p a{
    color: #666;
    transition: .3s;
}
.weizhi p a:hover{
    color: #e77817;
}
.content{
    padding: 30px 0 10px 0;
}
/*产品列表*/
.pro-img .thumbnail{
    border: none;
    background-color: transparent;
    padding: 0;
    text-align: center;
}
.pro-img .thumbnail img{
    border: 1px solid #e2e2e2;
}
.pro-img .thumbnail h3{
    font-size: 1.4rem;
    line-height: 28px;
    color: #666;
    width: 80%;
    margin: 0 auto;
    border-bottom: 1px dashed #9d9d9d;
    transition: .3s;
}
.pro-img .thumbnail:hover h3{
    color: #f1ae73;
}
.pro-img .thumbnail p{
    font-size: 1.2rem;
    line-height: 24px;
}
@media (max-width: 768px){
    .nbanner-text h3{
        font-size: 3rem;
    }
    .nbanner-text p{
        font-size: 1.8rem;
        line-height: 36px;
    }
}