﻿html,
body {
    font-size: 12px;
}

/* 头部 */
#header {
    width: 100%;
    min-width: 1200px;
}

.top_head {
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.top_head .word {
    color: #333333;
    font-family: "微软雅黑";
    font-size: 12px;
}

.contact a {
    background: url(../image/top_phone.png) no-repeat 5px center;
    display: inline-block;
    width: 90px;
    text-align: center;
}

.logo {
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.logo img:first-child {
    height: 90px;
}


.menu {
    height: 54px;
    background-color: #005197;

}

.line {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    height: 100%;
}

.line li {
    width: 170px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}



.line li a {
    font-size: 14px;
    color: white;
    font-weight: 500;
}

.list2 {
    height: auto;
    background: #005197;
    color: #fff;
    overflow: hidden;
    z-index: 9999;
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
    z-index: -1;
    transition: all ease .4s;
}

.line>li:hover::before {
    content: '';
    display: block;
    clear: both;
    width: 56px;
    height: 2px;
    background: #fff;
    position: absolute;
    bottom: 0px;
    transition: all ease .4s;
}

.line>li:hover .list2 {
    top: 54px;
    z-index: 100;
    opacity: 1;
}

.list2 ul li {
    background: #005197;
    color: #fff;
    height: 38px;
    line-height: 38px;
    width: 175px;
    transition: all ease .4s;
}

.list2 ul li:hover {
    background: #042d3f;
}


.footer {
    width: 100%;
    background-color: rgba(34,34,34,1);
    padding-bottom: 10px;
    padding-top: 8px;
    color: #aaa;
  
}

#footer {
    text-align: center;
    line-height: 2;
    border-top: #333 1px solid;
    padding-top: 10px;
}

#footer a,
#footer span {
    color: #aaa;
}

.f_link_wap {
    width: 100%;
    background-color: rgba(34,34,34,1);
    padding: 50px 0px 20px;
    color: #ddd;
}

.f_link_wap a {
    color: #ddd;
}

/* 浮动 */
.kf-switch {
    position: absolute;
    top: 150px;
    right: 0;
    display: flex;
    z-index: 99999;
    transition: top ease .4s;
    width: 40px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.kf-content .close-btn {
    position: absolute;
    top: -10px;
    right: 8px;
    cursor: pointer;
}

.kf-content {
    width: 90px;
    border: 1px solid #dddddd;
    border-radius: 10px;
    background: #f9fafb;
    float: left;
    text-align: center;
    padding-bottom: 12px;
    position: relative;
    display: none;
}

.kf-open {
    width: 40px;
    float: left;
    background: #1c5a91;
    height: 120px;
    padding-left: 8px;
    padding-right: 8px;
    text-align: center;
    vertical-align: middle;
    color: #fff;
    cursor: pointer;
    position: relative;
    font-family: "微软雅黑";
    font-size: 14px;
    margin-top: -7px;
}
.kf-switch .kf-open:last-child{
    margin-top:10px; height: 100px;
    overflow: hidden;
}
.kf-switch .kf-open:last-child:hover{
    overflow: unset;
}
.kf-switch .kf-open:last-child:hover img:last-child{
    opacity: 1;
    right: 40px;
}
.kf-switch .kf-open:last-child img:last-child{
    opacity: 0;
    position: absolute;
    right:-100px;
    transition: all ease .4s;
    top: 50%;
    transform: translate(0,-50%);
}