* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none
}

a:hover {
    text-decoration: none
}

ul,
li {
    list-style: none
}

.fl {
    float: left
}

.fr {
    float: right
}

.clear {
    clear: both
}

input {
    outline: none
}

.container {
    width: 1270px;
    margin: 0 auto;
    padding: 0;
}
.container::before,.container::after{
    display: none;
}
body,
html {
    background: #fff;
}

body {
    font-family: "微软雅黑";
    box-sizing: border-box;
}


.top {
    background: #353535;
    z-index: 99;
    position: relative;
    height: 45px;
}

.top-header {
    display: -ms-flex;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: space-between;
    height: 45px;
}



.top-right {
    position: relative;
    width: 50%;
    line-height: 40px;
}

.top-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    text-align: right;
    height: 0px;
}
.top-right>a {
    border-right: 1px solid rgba(255,255,255,0.15);
    font-size: 13px;
    color: white;
    vertical-align: middle;
    padding-left: 13px;
    padding-right: 15px;
    
}
.top-right>a:last-of-type{
    border-right:none;
}
.top-right>a img{
    padding-top: 10px;
}
.top-left {
    width: 50%;
    text-align: right;
    color: #fff;
}
.top-left>span {
    margin:0 8px;
    font-size: 14px;
    color: #FFFFFF;
    line-height: 40px;
    display: inline-block
}

.top-left>span>i {
    padding-right: 8px;
}

.carousel{
    margin-top: 50px;
}

/*导航*/
.navbar {
    background: #181818;
    transition: 1s;
    left: 0;
    right: 0;
    position: relative;
}

.navbar>div {
    display: -ms-flex;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: space-between;
}

.navbar-brand {
    width:560px;
    display: block;
    padding-top: 5px;
}

.navbar-brand>img {
    width: 100%;
    display: block;
}

.navbar-nav {
    display: -ms-flex;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
}

.navbar-nav>li {
    padding: 0 30px;
    line-height: 85px;
}

.navbar-nav>li>a {
    color: #fff;
    transition: .5s;
    padding: 8px 0;
    position: relative;
}
.navbar-nav>li>a::before{
    content:"";
    width: 0;
    position: absolute;
    left: 50%;
    bottom: 0;
    height: 3px;
    background: #fff;
    opacity: 0;
    transition: .5s;
}
.navbar-nav>li:hover>a::before{
    width: 100%;
    left: 0;
    opacity: 1;
}

.navbar-nav>.active>a::before{
    width: 100%;
    left: 0;
    opacity: 1;
}


.navbar>div>i {
    display: none;
}

/* search */
.search {
    position: absolute;
    right: 60px;
    bottom: -60px;
    color: #F2963F;
}

.nav-search {
    position: absolute;
    right: 60px;
    bottom: -150px;
}

.search-form {
    position: relative;
}

input.search-field {
    border: 2px solid #F2963F;
    border-radius: 50px;
    padding: 12px 25px;
}

.search-submit {
    position: absolute;
    top: 0;
    margin: 0;
    right: 0;
    font-size: 13px;
    padding: 12px 20px;
    border-radius: 0 50px 50px 0;
}

@media all and (max-width:768px) {
    .navbar {
        position: relative;
    }

    .navbar>div>i {
        display: block !important;
        font-size: 26px;
        padding: 12px 30px;
        color: #fff;
    }

    .navbar-nav {
        display: none;
        position: absolute;
        left: 0;
        top: 51px;
        text-align: center;
        width: 100%;
        background: #333;
        margin: 0;
    }

    .navbar-nav>li {
        line-height: 40px;

    }

    .navbar-nav>li>a {
        color: #fff;
    }

    .search {
        right: 76px;
        bottom: -102px;
    }
}



/* about */
.about{
    position: relative;
    z-index:10;
    
}
.about>div{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    box-shadow: 0 0 14px -3px #ccc;
    margin: -60px auto 40px;
    background: #fff;
    padding: 60px 40px;
    
}

.ab-left{
    width: 51%;
}
.ab-left>h3{
    font-size: 28px;
}
.ab-left>h4{
    font-size: 24px;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 30px;
}
.ab-l{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    padding-right: 30px;
}
.ab-l>div{
    width: 49%;
    border-right: solid 1px #ccc;
    margin: 30px 0;
}
.ab-l>div:last-of-type{
    border-right: none;
}
.ab-l i{
    font-size: 40px;
}
.ab-con>h5{
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
}
.ab-con>p{
    font-size: 14px;
    line-height: 30px;
    color: #282828;
}
.ab-con>a{
    display: inline-block;
    background: #932116;
    font-size: 14px;
    padding: 8px 30px;
    margin-top: 30px;
    color: #fff;
    transition: .5s;
}
.ab-con>a:hover{
    background: #000;
}
.ab-right{
    width: 47%;
}
.ab-right img{
    width: 100%;
}


/* product */
.product{
    background: url(../img/pro-bg.jpg) no-repeat center;
    padding-top: 50px;
    background-size: 100%;
}
.product>div{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.pro-l{
    width: 35%;
    padding-right: 60px;
}
.pro-l>h3{
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}
.pro-l>p{
    font-size: 14px;
    color: #eee;
    margin: 30px 0;
    line-height: 30px;
}
.pro-l>a{
    display: inline-block;
    background: #932116;
    font-size: 14px;
    padding: 8px 30px;
    color: #fff;
    transition: .5s;
}
.pro-l>a:hover{
    background: #000;
}
.product ul{
    width: 60%;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.product ul>li{
    width: 47%;
    position: relative;
    margin: 10px;
    border: solid 1px #ccc;
}
.product ul>li img{
    width: 100%;
}

.pro-bg{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(147,33,22,.8);
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: .5s;
}
.product ul>li:hover .pro-bg{
    opacity: 1;
}
.pro-bg>p{
    font-size: 20px;
    color: #fff;
    
}


/* product1 */
.product1{
    padding: 50px 0;
}
.title{
    text-align: center;
}
.title>h3{
    font-size: 26px;
    color: #000;
    margin-bottom: 50px;
    font-weight: bold;
}
.product1 ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.product1 ul>li{
    width: 23%;
}
.product1 ul>li img{
    width: 100%;
    box-shadow: 0 0  13px -4px #ccc;
}
.product1 ul>li p{
    background: #932116;
    font-size: 14px;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    
}

/* case */
.case{
    background: #932116;
    padding: 30px 0;
}
.case>div{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.case p{
    width: 75%;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    line-height: 60px;
}
.case h4{
    width: 20%;
}
.case a{
    display: inline-block;
    background: #fff;
    padding: 10px 30px;
    color: #000;
    font-size: 14px;
    font-weight: bold;
    transition: .5s;
}
.case a:hover{
    background: #000;
    color: #fff;
}

/* news */
.news{
    padding: 50px 0;
}
.news ul{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
}
.news ul>li{
    width: 31%;
    box-shadow: 0 0 13px -4px #ccc;
    padding: 10px;
}
.news ul>li img{
    width: 100%;
}
.news ul>li span{
    font-size: 12px;
    padding: 10px 0;
    margin-top: 10px;
    display: block;
    color: #666;
}
.news ul>li p{
    font-size: 14px;
    color: #000;
    line-height: 30px;
}
/* footer */
.foot-down{
    background: #444;
    padding: 50px 0;
}
.foot-down>div{
    display: -ms-flex;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: space-between;
}
.foot-down h3{
    color: #fff;
   margin: 10px 0 20px;
}
.foot-logo{
    width: 24%;
}
.foot-logo>img{
    width: 150px;
}
.foot-logo>p{
    color: #ccc;
    font-size: 13px;
    line-height: 24px;
    text-indent: 2em;
}
.foot-nav{
    width: 15%;
}
.foot-nav li{
    border-bottom: 1px dashed #ccc;
    line-height: 33px;
}
.foot-nav li>a{
    color: #fff;
    font-size: 13px;
}
.foot-contact{
    width: 24%;
    
}
.foot-contact>p{
    color: #ccc;
    line-height: 24px;
    font-size: 14px;
}
.foot-contact>p>i{
    width: 20px;
    text-align: center;
    margin-right: 10px;
}
.foot-img{
    width: 24%;
}
.foot-img img{
    width: 150px;
}
.foot-img>ul{
    display: -ms-flex;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    justify-content: space-between;
}
.foot-img li{
    width: 32.4%;
    margin-bottom: 5px;
    position: relative;
}
.foot-img li img{
    width: 100%;
    display: block;
}
.foot-img li::before{
    content:"";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    background: rgba(35, 55, 133, .8);
    transition: .5s;
}

.foot-img li:hover::before{
    height: 100%;
}

.foot{
    background: #333;
    color: #fff;
    text-align: center;
    padding: 15px 0;
}
.foot a{
    color: #fff;
}

@media all and (max-width:768px) {
    .container {
        width: 100%;
    }
    .top-left{
        display: none;
    }
    .top-right{
        width: 100%;
        text-align: center;
    }
    .navbar-brand{
        width: 288px !important;
    }
    .about>div{
        margin: 0;
        padding: 0 20px;
    }
    .ab-left{
        width: 100%;
    }
    .ab-l{
        padding-right: 0;
    }
    .ab-l>div{
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
        margin: 10px 0;
    }
    .ab-l>div:last-of-type{
        border-bottom:  none;
    }
    .ab-right{
        width: 100%;
    }
    .pro-l{
        width: 100%;
        padding: 0 20px;
    }
    .product{
        padding-top: 0;
        background-size: cover;
        margin-top: 20px;
    }
    .product ul{
        width: 100%;
        padding: 0 20px;
    }
    .product ul>li{
        width: 49%;
        margin: 10px 0;
    }
    .pro-bg{
        position: relative;
        opacity: 1;
        height: 30px;
        padding-top: 7px;
    }
    .pro-bg>p{
        font-size: 14px;
    }
    .product1{
        padding: 20px 0;
    }
    .product1 ul{
        padding: 0 20px;
    }
    .product1 ul>li{
        width: 48%;
    }
    .case p{
        width: 100%;
        line-height: 30px;
        padding: 0 20px;
        margin: 0;
        font-size: 17px;
        text-align: center;
    }
    .case h4{
        width: 100%;
        text-align: center;
    }
    .news{
        padding: 20px 20px;
    }
    .news ul>li{
        width: 100%;
        margin-bottom: 10px;
    }
    .foot-nav,.foot-img{
        display: none;
    }
    .foot-logo,.foot-contact{
        width: 100%;
        padding: 0 20px;
    }
    .foot{
        padding:  7px 20px;
    }
}