.header{
    background-color: #368dcb;
    background-image: linear-gradient(180deg, #368dcb 0%, #2d71ab 100%);
}
.header-content{
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}
.header-content .logo{
    background-image: url(../img/logo-top.png);
    width: 380px;
    height: 80px;
    background-repeat: no-repeat;
}

.header-content .header-right{
    width: 500px;
    text-align: right;
    line-height: 3;
    position: relative;
}
.header-content .header-right .head-btn{
    color: #fff;
    padding: 0 10px;
    border-right: 1px solid #99bedb;
    transition: color .2s;
}
.header-content .header-right div:first-child .head-btn:nth-child(2){
    border-width: 0;
    padding-right: 10px;
}
.header-content .header-right .head-btn:last-child{
    border-width: 0;
    padding-right: 0;
}
.header-content .header-right div:first-child .head-btn{
    padding: 0 20px;
}
.header-content .header-right .head-btn:hover{
    color: #140d16;
}
.header-content .header-right .search{
    position: relative;
    top: -1px;
    display: inline-block;
    width: 26px;
    height: 26px;
    vertical-align: middle;
    background-image: url(../img/sea-top.png);
    background-repeat: no-repeat;
    margin-left: 10px;
    transition: opacity .2s;
}
.header-content .header-right .search:hover{
    opacity: 0.7;
}
.header-content .header-right .search:active{
    opacity: 0.3;
}

.header .head-top{
    height: auto;
    color: #ffffff;
    position: absolute !important;
    z-index: 10;
    right: 0;
    display: none;
}
.head-con{
    height: 100%;
    display: flex;
    align-items: center;
}
.search-bar{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.search-bar .search-input,
.search-bar .search-btn{
    vertical-align: middle;
}

.head-con .search-bar .search-input{
    display: inline-block;
}
.search-bar .search-input input{
    width: 230px;
    height: 35px;
    padding: 0 5px;
    line-height: 35px;
    font-size: 14px;
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}
.search-bar input[type="submit"],
.search-bar .search-btn{
    width: 40px;
    height: 35px;
    background-color: #349f67;
    background-image: url("../img/sea.png");
    background-repeat: no-repeat;
    background-position: center center;
    cursor: pointer;
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
    position: relative;
    top: 1px;
}
.search-bar input[type="submit"]:hover,
.search-bar .search-btn:hover{
    background-color: #2dc174;
}
.search-bar input[type="submit"]:active,
.search-bar .search-btn:active{
    background-color: #349f67;
}

.head-menu-bg{
    background-color: #fff;
    box-shadow: 0px 15px 20px -10px #babbb3;
    position: relative;
    z-index: 10;
}

.head-menu{
    display: flex;
    vertical-align: middle;
    cursor: pointer;
}
.head-menu .menu-item{
    position: relative;
    display: inline-block;
    text-align: center;
    width: 16%;
    height: 45px;
    line-height: 45px;
}

.head-menu .menu-item a{
    color: #2d7dad;
    transition: all .3s;
}
.head-menu .menu-item::before{
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    content: " ";
    width: 0;
    height: 4px;
    background-color: #2e7cac;
    transition: width .2s;
}
.head-menu .menu-item:hover::before{
    width: 50%;
}

.head-menu .menu-item ul{
    position: absolute;
    display: none;
    top: 29px;
    left: -20%;
    width: 140%;
    list-style: none;
    text-align: center;
    z-index: 99;
    padding: 5px 0;
    background-color: #fff;
    border-radius: 5px;
}
.head-menu .menu-item ul li{
    transition: background-color .2s;
}
.head-menu .menu-item ul li a{
    display: block;
    width: calc(100% - 20px);
    margin: 0 auto;
    height: 40px;
    line-height: 40px;
    color: #333;
    font-size: 15px;
    border-bottom: 1px dashed #bdbdbd;
}
.head-menu .menu-item ul li a::after{
    content: "▶";
    color: #fff;
    font-size: 12px;
    position: relative;
    left: 0;
    top: -1px;
    transition: left .2s;
}
.head-menu .menu-item ul li a:hover::after{
    left: 10px;
}
.head-menu .menu-item ul li:last-child a{
    border-bottom-width: 0;
}
.head-menu .menu-item ul li:hover{
    background-color: #2e7cac;
}
.head-menu .menu-item ul li:hover a{
    color: #fff;
}
.head-menu .menu-item ul li:active a{
    color: #666;
}

#mtop-Menu{
    display: none;
}

@media only screen and (max-device-width: 1199px){

    *{
        font-size: 3.8vw;
    }
    a{
        color: #333;
    }

    .head-menu-bg,
    .header-content .header-right{
        display: none;
    }
    
    .header-content{
        position: relative;
        display: block;
        height: 22vw;
    }
    .header-content .logo{
        width: 72%;
        background-size: 100%;
        height: 70%;
        margin: 3.5vw;
    }

    #mtop-Menu{
        display: block;
        position: absolute;
        right: 2vw;
        top: 4vw;
        height: 11vw;
        padding: 0 3vw;
        z-index: 99;
        text-align: center;
    }
    #mtop-Menu img{
        display: block;
        width: 8vw;
        margin: 0 auto 1vw;
    }
    #mtop-Menu a{
        display: block;
        color: #fff;
        text-align: center;
        user-select: none;
        transition: background-color .2s;
    }
    a:hover{
        -webkit-tap-highlight-color: transparent;
    }
    #mtop-Menu a:active{
        background-color: rgba(0, 0, 0, .3);
    }
   
    .menu-item ul{
        display: none;
        position: absolute;
        width: calc( 100% + 4vw);
        right: -2.2vw;
        top: 14vw;
        z-index: 10;
        padding: 0;
        background-color: rgba(0, 0, 0, .7);
    }
    .menu-item ul a{
        padding-left: 1vw !important;
        display: block;
        color: #ffffff;
        line-height: 2.5;
    }
    .menu-item ul a:active{
        background-color: rgba(46, 116, 174, .8) !important;
    }
}