@charset "utf-8";

.main{
    width:1200px;
    margin:0 auto;
    position:relative;
    overflow: hidden;
}

:root{
    --total-color:#b30101;
    --fi:40px;
    --color-a3:#a3a3a3;
    --color-91:#919191;
    --color-7a:#7a7a7a;
    --color-57:#575757;
    --color-37:#373737;
}

/*1 底部*/
#myFooter{
    border-top:5px solid var(--total-color);
    background:#eeebeb;
    padding-top:calc(var(--fi) * 2);
}
/*1.1 介绍*/
#myFooter .footer1{
    display: flex;
}
/*1.1.1 logo*/
#myFooter .footer1 .footer-left{
    margin-left:var(--fi);
    margin-right:calc(var(--fi) * 2)
}
#myFooter .footer1 .left-box{
    position: relative;
    top:50%;
    left:0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
/*1.1.2 联系我们*/
#myFooter .footer1 .footer-mid{
    width: 275px;
    color:var(--color-7a);
    padding:0 var(--fi) 0 calc(var(--fi) * 2);
    border-left:1px dotted var(--color-a3);
    border-right:1px dotted var(--color-a3);
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
#myFooter .footer1 .footer-mid h5,
#myFooter .footer1 .footer-mid h6{
    font-weight: normal;
}
#myFooter .footer1 .footer-mid h5{
    font-size:16px;
}
#myFooter .footer1 .footer-mid h6{
    font-size:15px;
}
#myFooter .footer1 .footer-mid p{
    display: flex;
    font-size: 13px;
    margin: 5px 0;
}
#myFooter .footer1 .footer-mid b{
    white-space: nowrap;
}
#myFooter .footer1 .footer-mid b i{
    margin-right:5px;
}
/*1.1.3 表单*/
#myFooter  .footer1 .footer-right{
    width:415px;
    position: absolute;
    right: 0;
    top: 0;
}
#myFooter  .footer1 .footer-right div{
    display: inline-block;
    width: 200px;
    height:54px;
    margin-bottom:10px;
}
#myFooter  .footer1 .footer-right div:nth-child(2n){
    margin-left:10px;
}
#myFooter  .footer1 .footer-right  p{
    font-size: 12px;
    line-height: 200%;
}
#myFooter  .footer1 .footer-right  p:after{
    content: "*";
    color:var(--total-color)
}
#myFooter  .footer1 .footer-right  input{
    width:100%;
    height:30px;
    padding-left:10px;
}
#myFooter  .footer1 .footer-right .footer-btns{
    height:30px;
    margin-top:16px ;
    margin-bottom:0;
}
#myFooter  .footer1 .footer-right .footer-btn{
    height:30px;
    width: 100%;
    border:0;
    background:var(--total-color);
    color:#fff;
    text-align: center;
}
/*1.2 友情链接&版权*/
#myFooter .footer2{
    margin:calc(var(--fi) / 1.5) auto;
    text-align: center;
    color:var(--color-91);
    line-height: 150%;
}
#myFooter .footer2 a{
    color:var(--color-91);
    margin:0 5px;
}
#myFooter .footer2 s{
    display: inline-block;
    width:var(--fi);
}

/*2 头部*/
#myHeader{
    background:#eeebeb;
    color:var(--total-color);
    height:110px;
}
#myHeader .main{
    display: flex;
    height:100%;
    position:relative;
}
/*2.1 logo*/
#myHeader .header-left span{
    display: block;
    width:155px;
    position:relative;
    top:50%;
    left:50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
#myHeader .header-left img{
    display: block;
    width:100%;
}
/*2.2 标题*/
#myHeader .header-mid{
    font-size: 30px;
    line-height: 110px;
    margin-left:var(--fi)
}
/*2.3 电话*/
#myHeader .header-right{
    display: flex;
    line-height: 110px;
    height:110px;
    position:absolute;
    right:0;
    font-size:26px;
}
#myHeader .header-right i{
    font-size:30px;
}
#myHeader .header-right p{
    font-style: italic;
    font-weight: bold;
    padding:0 10px 0 1px;
}

/*3 导航*/
#myNav .nav-box{
    height:60px;
    background:var(--total-color);
    color:#fff;
}
#myNav .nav-box .main{
    overflow: visible;
}
/*3.1 栏一*/
#myNav .nav-box ul{
    display: flex;
    width: 100%;
    text-align: center;
}
#myNav .nav-box li{
    height:45px;
    margin-top:5px;
    position: relative;
}
#myNav .nav-box li>a{
    padding:10px 0;
    display: block;
    width:100%;
    height:100%;
    line-height: 30px;
    font-size: 16px;
    color:#fff;
}
#myNav .nav-box li>a i{
    position: absolute;
    right: -17px;
    font-size: 32px;
    top: 7px;
}
#myNav .nav-box li:last-child>a i{
    display: none;
}
#myNav .nav-box li:hover{
    background: #fff;
}
#myNav .nav-box li:hover>a{
    color:var(--total-color)
}
#myNav .nav-box li:hover .nav-2{
    display: block;
}
/*3.2 栏二*/
#myNav .nav-box li .nav-2{
    display: none;
    background:#fff;
    width: 100%;
    position:absolute;
    top:45px;
    z-index:100;
    padding:0 10px 10px;
}
#myNav .nav-box .nav-2 p{
    height:60px;
    line-height: 60px;
    border-bottom:1px solid #a3a3a336;
    position: relative;
}
#myNav .nav-box .nav-2 a{
    display: block;
    width:100%;
    height:100%;
    color:var(--total-color);
    font-size: 16px;
    overflow: hidden;
}
#myNav .nav-box .nav-2 i{
    float: right;
}
#myNav .nav-2 p:hover span{
    display: block;
}
/*3.3 栏三*/
#myNav .nav-box  span{
    display: none;
    width:100%;
    position:absolute;
    left:104%;
    top:50%;
    background:#fff;
    padding:0 10px 10px;
}
#myNav .nav-box span a{
    display: block;
    width:100%;
    height:100%;
    border-bottom:1px solid #a3a3a336;
}

/*4 广告轮播*/
#banner{
    /* height:700px; */
    overflow: hidden;
    position: relative;
}

/*  */
#banner .banner-list{
    display: flex;
    width:4000px;
    position:relative;
    left:0;
    top:0;
}
#banner .banner-list a{
    min-width: 1200px;
}
#banner img{
    display: block;
    width:100%;
}
#banner span{
    display: none;
    width:80px;
    height:200px;
    line-height: 200px;
    text-align: center;
    background:rgba(0,0,0,0.1);
    color:#fff;
    position: absolute;
    top:50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}
#banner:hover span{
    display: block;
}
#banner .next{
    right:5%;
}
#banner .prev{
    left:5%;
}
#banner span i{
    font-size: 50px;
}
#banner .btns-list{
    width:100%;
    text-align: center;
    position: relative;
    bottom: 40px;
    z-index: 10;;
}
#banner .btns-list b{
    display:inline-block;
    width: 10px;
    height:10px;
    background:rgba(0,0,0,0.5);
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    margin:0 5px;
}
#banner .btns-list .active{
    background:rgba(0,0,0,0.8);
}

/*5 侧边栏  not(index)*/
body:not(#index) #body{
    display: flex;
    overflow:visible ;
}
#myAside{
    width: 17%;
    margin-right:3%;
    position: relative;
    top:-50px;
}
#myAside>div{
    margin-bottom:var(--fi)
}
/*5.1 分项题*/
#myAside .title-item{
    background: var(--total-color);
    color:#fff;
    font-size: 20px;
    padding:7px 20px;
}
#myAside .title-item.first{
    padding:21px 20px;
}
#myAside .title-item h5{
    font-size: 28px;
    font-weight: 600;
}
/*5.2 题项*/
#myAside .subtitle-item a{
    display:block;
    width:100%;
    height:var(--fi);
    line-height:var(--fi);
    font-size: 16px;
    color:var(--color-7a);
    padding: 0px 21px 0px 8px;
    position: relative;
    border-bottom: 1px solid  #f1f1f1;
}
#myAside .subtitle-item i{
    position: absolute;
    right:20px;
    top:0;
}
#myAside .subtitle-item .active,
#myAside .subtitle-item li:hover{
    background: -webkit-linear-gradient(#fff, #f1f1f1);
    background: -o-linear-gradient(#fff, #f1f1f1);
    background: -moz-linear-gradient(#fff, #f1f1f1);
    background: linear-gradient(#fff, #f1f1f1);
}
/*5.3 图项*/
#myAside .pic-item div{
    display: block;
    width: 100%;
    overflow: hidden;
    margin-top:20px;
    border:1px solid #D2D2D2;
}
#myAside .pic-item p{
    text-align: center;
    height:var(--fi);
    line-height:var(--fi);
    color:var(--color-7a);
}
#myAside .pic-item a{
    display: block;
    width:100%;
}
#myAside .pic-item span{
    display: block;
    width:100%;
    height:202px;
    overflow: hidden;
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}
/*5.6 联系*/
#myAside .us-item{
    margin:15px 0;
}
#myAside .us-item h6{
    font-weight: 500;
    font-style: italic;
    font-size: 26px;
    color:var(--total-color);
}
#myAside .us-item p{
    display: flex;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    font-size: 12px;
    line-height: 130%;
    color:var(--color-37);
    margin-bottom:5px
}
#myAside .us-item b{
    white-space: nowrap;
}

/*6 侧边栏》右侧内容  not(index)*/
#myAside+div{
    width:80% ;
}

/*7 更多/返回  not(index)*/
.btns{
    text-align: center;
    position: relative;
}
.btns .more{
    background: var(--total-color);
    color:#fff;
    padding:5px 25px;
    margin:0 auto;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
}
.btns .back{
    display: inline-block;
    padding: 2px 9px;
    margin: 0 auto var(--fi);
    border: 1px solid #D2d2d2;
    font-size: 12px;
    color: var(--color-91);
    background: #f3f1f1;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

/*8 面包屑  not(index)*/
.bread{
    display: flex;
    color:var(--color-91);
    margin:32px 0 13px;
    padding-left:5px;
}
.bread a{
    color:var(--color-91);
}
.bread a:not(:last-child):after{
    content: ">";
    margin:0 5px
}
.bread a:hover{
    color:var(--total-color)
}

/*9 当前页大题 not(index)*/
.this-title{
    font-size: 20px;
    font-weight: 500;
    color:var(--total-color);
    padding-left:5px;
    padding-bottom:8px;
    border-bottom:1px solid #f3f1f1;
}

/*10 当前页内容   not(index)*/
.page-con{
    padding:20px 0;
    position: relative;
    overflow: hidden;
}

/*11 相关推荐  not(index)*/
.rec{
    margin:calc(var(--fi) * 2  ) 0;
}
.rec-title{
    border-bottom: 1px solid #D2D2D2;
    padding:5px 0;
    margin-bottom:20px;
}
.rec-title span{
    font-size: 15px;
    color:var(--color-91);
    border:1px solid #D2D2D2;
    border-bottom:0;
    background: -webkit-linear-gradient(#fff 35%, #dcdcdc );
    background: -o-linear-gradient(#fff 35%, #dcdcdc);
    background: -moz-linear-gradient(#fff 35%, #dcdcdc);
    background: linear-gradient(#fff 35%, #dcdcdc);
    padding: 5px 10px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}
.rec-item{
    display: flex;
}
.rec-item li{
    width: 45%;
    margin-right:5%;
}
.rec-item a{
    display: block;
    width: 100%;
    height:35px;
    font-size: 16px;
    color:var(--color-91);
    -ms-text-overflow: ellipsis; /*表示文本超出用省略号代替*/
    text-overflow: ellipsis;
    white-space: nowrap;/*表示文本不换行*/
    overflow: hidden;/*表示超出隐藏*/
}
.rec-item li:hover a{
    color:var(--total-color)
}
.rec-item a:before{
    content: "·";
    display: inline-block;
    margin:0 10px;
}

/*12 layui分页  case  article*/
.pages{
    text-align: center;
    margin-bottom:calc(var(--fi) * 1.5)
}
.layui-laypage a, .layui-laypage span{
    width:auto;
    padding:3px;
    height:auto;
    line-height: inherit;
    text-align: center;
}
.layui-laypage-next em, .layui-laypage-prev em {
    font-size: 12px;
}
.layui-laypage a, .layui-laypage button, .layui-laypage input, .layui-laypage select, .layui-laypage span {
    border: 1px solid #000;
}
.layui-disabled, .layui-disabled:hover {
    border: 1px solid #e2e2e2 !important;
}

/*13 经典案例   index case_detail*/
.case-list{
    display: flex;
    padding:0 40px;
    margin-bottom:var(--fi)
}
.case-list li{
    width:23%;
    margin:1% 1% 2%;
    border:1px solid #D2D2D2;
}
.case-list a{
    display: block;
    width: 100%;
    /*  height:100%;*/
}
.case-list span,
.case-list img{
    display: block;
    width:100%;
    overflow: hidden;
}
.case-list img{
    -webkit-transition: all 0.4s linear;
    -moz-transition: all 0.4s linear;
    -ms-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}
.case-list li:hover img{
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}
.case-list p{
    height:40px;
    line-height: 40px;
    text-align: center;
    font-size: 16px;
    color:var(--color-57);
    -ms-text-overflow: ellipsis; /*表示文本超出用省略号代替*/
    text-overflow: ellipsis;
    white-space: nowrap;/*表示文本不换行*/
    overflow: hidden;/*表示超出隐藏*/
}

/*14 文章标题 article_detail case_detail*/
.big-title{
    text-align: center;
    /*padding-bottom:40px;*/
    /*border-bottom:1px dashed var(--color-a3)*/
}
.big-title h3{
    font-size:26px;
    color:#000;
    font-weight: 500;
    margin-bottom:10px;
}

/*15 简介视频  index about*/
.about-con  p{
    font-size: 16px;
    color:var(--color-37);
    line-height: 200%;
}
.about-video{
    width:800px;
    height:370px;
    margin:calc(var(--fi) / 2) auto;
}

.pages {
    padding: 30px 0 30px;
    text-align: center
}
.pages li {
    display: inline
}
.pages li.thisclass, .pages a:hover {
    padding: 5px 10px;
    border: 1px solid black;
    background: black;
    color: #fff;
    text-decoration: none;
    border-radius:3px
}
.pages a {
    padding: 5px 10px;
    border: 1px solid #ddd;
    background: #fff;
    color: #A4A4A4;
    line-height: 18px;
    border-radius:3px;
}
.pageinfo {
    margin-bottom: 15px;
    font-size: 15px;
}
#hpage {
    background: black none repeat scroll 0 0;
    color: #fff;
    border: 1px solid white;
}


#case .case-list span,.product-con li span{
    display: block;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
#myNav .nav-box li .nav-2 p:hover{
    background-color: #da1e1f;
}
#myNav .nav-box li .nav-2 p:hover a{
    color: #fff;
    margin-left: 5px;
}
#myNav .nav-box .nav-2 p span a{
    display: block;
    width:100%;
    height:100%;
    color:var(--total-color)!important;
    font-size: 16px;
}

#myNav .nav-box li .nav-2 p span a:hover{
    background-color: #da1e1f;
    color: #fff!important;
    margin-left: 5px;
}

.bianse:hover{
    background-color: #da1e1f;
    color: #fff!important;
}



@media screen and (max-width: 1200px){
    .main{
        width:100%;
        margin:0 auto;
        position:relative;
        overflow: hidden;
    }
    #myFooter .footer1 .footer-left{
        margin:0 15px;
    }
    #myFooter .footer1 .footer-mid{

        /* width: 271px; */

        padding: 0px 22px 0 calc(15px * 2);
    }
    #myFooter .footer1 .footer-right{
        width: 39vw;
    }
    #myFooter .footer1 .footer-right div{
        width:48%
    }
}

@media screen and (max-width: 1000px){
    #myFooter .footer1{
        flex-wrap:wrap;
    }
    #myFooter .footer1 .footer-left{
        width: 45%;
        text-align: center;
    }
    #myFooter .footer1 .footer-left img{
        margin:10px auto;
    }
    #myFooter .footer1 .footer-mid{
        width:50%;
        box-sizing: border-box;
        border-right: 0;
    }
    #myFooter .footer1 .footer-right{
        display:block;
        width:100%;
        padding: 5%;
        position:relative;
    }
    .container .p4 div em{
        font-size: 22px;
    }
    .container .p4 div s{

        font-size: 16px;
    }

}