/* ============================================
   独立头部样式文件
   完全隔离，不依赖全局样式
   ============================================ */

.k176-header-wrapper,
.k176-header-wrapper * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.k176-header-wrapper,
body.k176-header-page {
    margin-top: 79px;
}

.k176-header-wrapper {
    font-family: 'Microsoft YaHei', 'Open Sans', sans-serif;
    font-size: 14px;
    color: #333;
}

.k176-header-wrap {
    width: 96%;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
}

.k176-header { 
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 79px; 
    z-index: 999; 
    background: #fff;
    line-height: 79px; 
    box-shadow: 0 0 20px rgba(229,229,229,0.8); 
}

.k176-header.on { 
    position: initial; 
}

.k176-header .k176-header-wrap { 
    width: auto; 
    padding: 0 250px; 
    max-width: initial; 
}

.k176-header-logo { 
    position: absolute; 
    top: 0; 
    left: 0;
    bottom: 0; 
    width: 225px; 
    text-align: center; 
}

.k176-header-logo img {
    height: 60px;
    margin-top: 10px; 
    vertical-align: middle;
    max-width: 100%;
}

.k176-header-menu { 
    text-align: center;
    width: 90%;
    max-width: 950px;
    margin: 0 auto;
}

.k176-header-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.k176-header-menu ul li { 
    display: inline-block;  
    width: 100px; 
    text-align: center; 
    font-size: 14px; 
    margin: 0 13px; 
}

.k176-header-menu ul li a {
    display: block; 
    color: #666; 
    position: relative;
    text-decoration: none;
}

.k176-header-menu ul li a:before { 
    content: ''; 
    display: block; 
    position: absolute; 
    width: 0; 
    margin: 0 auto; 
    left: 0; 
    right: 0; 
    bottom: 0; 
    height: 4px; 
    background: #8cb25e;
    transition: all 0.5s;
}

.k176-header-menu ul li.k176-on a:before,
.k176-header-menu ul li a:hover:before { 
    width: 100%;
}

.k176-header-menu ul li.k176-on a, 
.k176-header-menu ul li a:hover { 
    color: #8cb25e; 
}

.k176-header-tel { 
    position: absolute; 
    top: 50%; 
    right: 0; 
    line-height: 24px; 
    margin-top: -12px; 
    padding: 0 26px; 
    background: url(../images/icon1.png) no-repeat left center; 
}

.k176-header-tel span { 
    color: #8cb25e; 
    font-size: 16px; 
    padding: 0 12px; 
    border-left: 1px solid #e7e3e2; 
}

.k176-header-clear {
    clear: both;
}

.k176-header-clear:after,
.k176-header-clear:before {
    content: '';
    clear: both;
    display: table;
}

/* 移动端菜单按钮 */
.k176-header-menu-wrap {
    position: absolute;
    top: 10px;
    width: 40px;
    height: 40px;
    background: url(../images/menu.png) no-repeat center center #8cb25e;
    background-size: 25px auto;
    right: 15px;
    z-index: 1002;
    cursor: pointer;
}

/* 响应式 */
@media only screen and (max-width: 1200px) {
    .k176-header .k176-header-wrap { padding: 0 200px; }
    .k176-header-logo { width: 200px; }
    .k176-header-menu ul li { width: 70px; }
    .k176-header-tel { padding-right: 0; }
}

@media only screen and (max-width: 1000px) {
    .k176-header-tel { right: 60px; }
    .k176-header .k176-header-wrap { padding: 0; }
    .k176-header-menu { 
        position: fixed; 
        top: 0; 
        left: -100%; 
        width: 100%; 
        height: 100%;
        background: #fff;
        z-index: 1000;
    }
    .k176-header-menu ul li { 
        float: none;
        display: block;
        border-bottom: 1px solid #ddd;
        padding: 0;
        width: auto;
        margin: 0 20px;
        text-align: left;
    }
    .k176-header-menu ul li a { 
        line-height: 45px; 
        font-size: 18px;
    }
    .k176-header-menu ul { 
        padding-top: 60px; 
    }
    .k176-header-logo { 
        position: relative;
        z-index: 1001;
        line-height: 60px;
        width: auto;
        text-align: left;
        margin-left: 15px;
    }
    .k176-header-menu-wrap {
        background: url(../images/menu-1.png) no-repeat center center #8cb25e;
        background-size: 25px auto;
    }
    .k176-header-menu.k176-open {
        left: 0;
    }
    .k176-header,
    .k176-header.on { 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        line-height: 60px;
        height: 60px;
    }
}

@media only screen and (max-width: 750px) {
    .k176-header-logo { width: auto; text-align: left; margin-left: 15px; }
    .k176-header-tel { padding-left: 20px; }
    .k176-header-tel span { padding: 0 8px; }
}

@media only screen and (max-width: 380px) {
    .k176-header-tel { display: none; }
}

/* ============================================
   底部样式
   ============================================ */

.k176-footer-wrapper,
.k176-footer-wrapper * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.k176-footer-wrapper {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

.k176-footer-foot {
    padding: 20px 0 20px;
    font-size: 14px;
    color: #999;
    text-align: center;
    margin: 0;
}

.k176-footer-foot a {
    color: #999;
    text-decoration: none;
}

.k176-footer-foot a:hover {
    text-decoration: underline;
}

.k176-footer-toyean {
    display: inline;
    margin: 0;
}
