﻿
.header{position: fixed;top: 0;left: 0;z-index: 188; width: 100%; }
.h-a{width: 100%;}
.h-cont{width:15rem;margin: 0 auto;position: relative;  }
.h-cont:after{content:".";display:block;height:0;clear:both;visibility:hidden;line-height:0;font-size:0;}
.h-left{float: left; }
.h-logo{display: block;}
.h-img1{display: none;cursor: pointer;height: 1.25rem;line-height: 1.25rem; }
.h-img1 img{max-width: none;height: 80%; }
.h-img2{display: block;cursor: pointer;height: 1.25rem;line-height: 1.25rem; }
.h-img2 img{max-width: none;height: 80%; }
 
.h-right{float: right;}
.h-h{display: inline-block;vertical-align: middle;  font-size: 0;}
.h-i{display: inline-block;cursor: pointer; padding: 0 .2rem;}
.h-j{display: inline-block;position: relative; color: #ffffff;font-weight: bold; line-height: 1.25rem;position: relative;} 
.h-j:after{content: '';position: absolute;bottom: .3rem;left: 0;width: 0;transition: all ease .5s; height: .03rem;background-color: #fff;}
 

.h-sub{position: absolute;top: 1.25rem;left: 0;width: 100%; z-index: 1000; display: none; background-color: #fff;box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);}
.hs-cont{width: 100%;text-align: center;padding: .6rem .4rem 1.2rem;font-size: 0;}
.hs-left{display: inline-block;vertical-align: top;width:calc(100% - 5rem);text-align: left;}
.hs-titles{display: block;color: #222222;margin-bottom: .3rem;}
.hs-textbox{color: #777777;line-height: 1.7;margin-bottom: .2rem;}
.hs-textbox *{line-height: inherit;}
.hs-links{width: 100%;}
.hs-link{display: inline-block;vertical-align: top;position: relative; width: calc(33.33% - .37rem);padding: .18rem 10px .18rem 0;color: #222222;line-height: 1.4; margin-right: .55rem;border-bottom: .02rem solid #eeeeee;}
.hs-link:nth-child(3n){margin-right: 0;}
.hs-link:before{content: '';position: absolute;bottom: -.02rem;left: 0;width: 0;height: .02rem;transition: all ease .5s;background-color: #1a46c4;}
.hs-link:after{content: '/';transition: all ease .5s; position: absolute;top: 50%;right: 0;transform: translate(0,-50%); color: #777777;}
.hs-link.active{color: #1a46c4; }
.hs-link.active:before {  width: 100%;}
.hs-link.active:after{content: '>';right: 3px; color: #1a46c4; }
.hs-right{display: inline-block;vertical-align: top;width: 5rem;padding-left: 1.85rem;}
.hs-img{display: none;width: 100%;}
.hs-img.show{display: block;}

.h-language{display: inline-block;vertical-align: middle;position: relative; cursor: pointer;margin-left: .2rem;}
.hl-tip{color: #fff;line-height: 1.25rem;height: 1.25rem;} 
.hl-tip:before{content: '';display: inline-block;vertical-align: middle;width: 1.2em;height: 1.5em;background-image: url('../image/language.png');background-size: 100% auto;background-position: center center;background-repeat: no-repeat;}
.hl-tip:after{content: '';display: inline-block;vertical-align: middle;margin-left: .08rem;border-top: 7px solid #fff;border-left: 5px solid transparent;border-right: 5px solid transparent;}
.hl-list{display: none; position: absolute;top: 100%;left: 50%;transform: translate(-50%,0);background-color: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);}
.hl-item {display: block;cursor: pointer;min-width: 5em; padding: 10px 8px;white-space: nowrap; line-height:1.5;text-align: center; color: #666;transition: background-color .3s;}
.hl-item:hover{color: #fff;background-color: #1a46c4;} 

/* 搜索 */ 
.h-k{display: inline-block;vertical-align: middle;margin-left: .3rem;}
.h-search{display: block;cursor: pointer; width: 1em;height: 1.25rem;background-image: url('../image/q2-b.png');background-size: 1em auto;background-position: center center;background-repeat: no-repeat; }
.hs-a{display: none;z-index: 108;white-space: nowrap; position: fixed;top: 1.8rem;left: 50%;transform: translate(-50%,0);}
.hs-form{font-size: 0;display: inline-block;}
.hs-text{border: none;padding: 0 .2rem; display: inline-block;vertical-align: middle; width: 6rem;height: 45px;background-color: #fff;color: #333;}
.hs-submit{border: none;display: inline-block;vertical-align: middle;cursor: pointer; width: 45px;height: 45px; background-color: #1a46c4;background-image: url('../image/q2-b.png');background-size: 18px auto;background-position: center center;background-repeat: no-repeat;}

.header.search-state .hs-a {display: block;}
.header.search-state .h-opa {display: block;} 
 
 
.h-menu {display: none; position: absolute;cursor: pointer; top: 0;right:0; width: 50px;height: 50px;background-image: url('../image/c-menu.png');background-size: 70% auto;background-position: center center;background-repeat: no-repeat;}
.h-opa {display: none;width: 100%;height: 100%;position: fixed;left: 0;top: 0;background-color: rgba(0, 0, 0, 0.5);z-index: 10;cursor: pointer;}
  
@media(min-width: 1200px) {  
    .header.fixed{background-color: #fff;box-shadow:0 0 5px 1px #ccc;}
    .header.fixed .h-img1{display: block;}
    .header.fixed .h-img2{display: none;}
    .header.fixed .h-j {color: #222222;}
    .header.fixed .h-j:after{background-color: #1a46c4;}
    .header.fixed .h-search{background-image: url('../image/q2.png');}

    .header.fixed .hl-tip{color: #222222;}
    .header.fixed .hl-tip:before{background-image: url('../image/language-b.png');}
    .header.fixed .hl-tip:after{border-top: 7px solid #222222;}

    body.index{padding-top: 1.25rem !important;}
    body.index  .header{background-color: #fff;box-shadow:0 0 5px 1px #ccc;}
    body.index  .h-img1{display: block;}
    body.index  .h-img2{display: none;}
    body.index  .h-j {color: #222222;}
    body.index  .h-j:after{background-color: #1a46c4;}
    body.index  .h-search{background-image: url('../image/q2.png');}

    body.index .hl-tip{color: #222222;}
    body.index .hl-tip:before{background-image: url('../image/language-b.png');}
    body.index .hl-tip:after{border-top: 7px solid #222222;}

    body.index  .h-i:hover .h-j{color: #1a46c4; }
    body.index  .h-i.active .h-j{color: #1a46c4; }
    .header.fixed .h-i:hover .h-j{color: #1a46c4; }
    .header.fixed .h-i.active .h-j{color: #1a46c4; }
    .h-i.active .h-j:after{width: 100%;}
    .h-i:hover .h-j:after{width: 100%;}
} 

@media(max-width: 1500px) {    
    .h-i{padding: 0 .1rem;}
}
@media(max-width: 1200px) {    
    body{padding-top: 50px !important;}
    .header{background-color: #fff;box-shadow:0 0 5px 1px #ccc;}
    .h-cont{width: 100%;padding-left: 10px;padding-right: 10px;} 
    .h-img1{display: block;height: 50px;line-height: 50px;}
    .h-img2{display: none;height: 50px;line-height: 50px;}

    .h-h {width: 260px;position: fixed;text-align: left; right: 0;top: 0;height: 100vh;background-color: #fff;margin-right: 0;padding-top: 10px;padding-bottom: 10px;overflow: auto;z-index: 1000;transform: translate(100%, 0);transition: transform .3s;}
    .h-i {width: 100%;position: relative; padding: 0 !important;margin: 0 !important;}
    .h-j {padding: 0;padding-left: 20px;height: 40px;line-height: 40px;color: #666;font-size: 16px;}
    .h-i.has-links:after {content: "";background-image: url('../image/c-right.png');background-size: 18px auto;background-position: center center;background-repeat: no-repeat; display: inline-block;width: 40px;height: 40px;line-height: 40px;text-align: center;position: absolute;right: 0;top: 0;font-size: 20px;color: #333;}
    .h-i.has-links.show:after {transform: rotate(90deg); background-image: url('../image/c-right2.png');}
    .hs-titles{display: none;}
    .hs-textbox{display: none;}
    .h-i.active .h-j{color: #1a46c4; }
    .h-j:after{display: none;}

    .h-sub {position: relative;top: 0;background-color: #fff;box-shadow: none;left: 0;transform: translate(0,0);width: 100% !important;}
    .hs-cont{padding: 20px 30px;}
    .hs-left{width: 100%;}
    .hs-right{display: none;}
    .hs-link{width: 100%;margin-right: 0;padding: 15px 10px 15px 0;}

    .hs-link:hover{padding-left: .15rem; background-color: #1a46c4;color: #fff;}
    .hs-link:hover:after{display: none;}

    .h-right{margin-right: 50px;}  
    .h-k{margin-left: 0;}  
    .h-search{height: 50px;background-image: url('../image/q2.png');}
 
    /* 菜单 */
    .h-menu {display: block; }
    .header.menu-state .h-h {transform: translate(0, 0);}
    .header.menu-state .h-opa {display: block;}

    .h-language{margin-right: 10px;margin-left: 0;}
    .hl-tip{color: #222222;height: 50px;line-height: 50px;}
    .hl-tip:before{background-image: url('../image/language-b.png');}
    .hl-tip:after{border-top: 7px solid #222222;}
}

@media(max-width: 750px){  
    .hs-text{width: 5rem;height: 35px;}
    .hs-submit{height: 35px;} 
}




