header{
	margin: 0;
    padding: 0;
    box-sizing:border-box;
    display: block;
    font-family: 'STHeiti','Microsoft Yahei',sans-Serif;
    line-height: 1.5;
}

header.clearfix {
    height: 105px;
    margin-bottom: 30px;
    background-color: white;
    box-shadow:0px 0px 5px 1px #333;
}

/* clearfix */
.clearfix{
	*zoom:1;
}

.clearfix:after {
    visibility: hidden;
    content: "";
    display: block;
    clear: both;
    height: 0;
}

.clearfix h1{
    float: left;
    font-size: 100%;
    font-weight: normal;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
    -webkit-margin-before: 0.67em;
    -webkit-margin-after: 0.67em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
 }

 header h1 a {
    display: inline-block;
    width: 214px;
    height: 49px;
    margin: 25px 40px;
    background: url(http://www.zw-tech.com/img/logo.png) no-repeat;
}

header nav {
    margin: 30px 40px;
    float: right;
    display: block;
}

header ul {
    list-style: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    display: block;
    -webkit-margin-before: 1em;
    -webkit-margin-after: 1em;
    -webkit-margin-start: 0px;
    -webkit-margin-end: 0px;
    -webkit-padding-start: 40px;
}

nav li a{
    cursor:pointer;
}
li.unlink{
    cursor: not-allowed;
    color:#9d9c9c;
}
nav>ul>li a{
    color:#221815;
}
nav ul ul{
    line-height:2em;
    position:absolute;
    left:0;
    top: 30px;
    z-index:9999;
    background:#424242;
    color:#eee;
    padding:14px 0;
    white-space:nowrap;
    display:none;
}
nav ul ul.active{
    display: inline-block;
}
nav ul ul a{color:#eee;}
nav ul ul li:hover,nav ul ul li a:hover{color:#e6ae30;}
nav li li{position:relative;padding:0 20px}
nav li li ul{position:absolute;left:100%;top: -12px;background:#5c5c5c;}
li ul li.has-ul{

}

nav>ul>li:after{
    content:"";
    display:inline-block;
    width:1px;
    height:14px;
    position:absolute;
    top:10px;
    left:0;
    border-right: 1px solid #cbc2c0;
}
nav>ul>li:first-child:after{
    border-right: 0
}

.header-nav{
    float: left;
    margin-top:40px;
}
.header-nav:before{
    content:"";
    position: relative;
    top: -10px;
    left:-14px;
    float:left;
    width: 0;
    height: 0;
    border:12px solid transparent;
    border-left-width:8px;
    border-right-width:8px;
    border-bottom-color:#221816;
    margin: 3px;
    -webkit-transform:rotate(17deg);
    -moz-transform:rotate(17deg);
    -o-transform:rotate(17deg);
    -ms-transform:rotate(17deg);
    transform:rotate(17deg);
}
nav{
    margin:30px 40px;
}
nav>ul>li{
    position:relative;
    float:left;
    color:#221815;
    font-size:14px;
    line-height:1em;
    padding:10px 20px;
    cursor:pointer;
}

nav a:hover, nav a:active {
    color:#221815;
    text-decoration:none;
}

header hr{
    display: block;
    -webkit-margin-before: 0.5em;
    -webkit-margin-after: 0.5em;
    -webkit-margin-start: auto;
    -webkit-margin-end: auto;
    border-style: inset;
    border-width: 1px;
    box-sizing: border-box;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}
