.w1200 {
    width: 1200px;
    margin: 0 auto;
}

.menu {
    width: 100%;
    height: 70px;
    line-height: 70px;
    background: #fff;
    border-bottom: 2px solid #000197;
}

.menu li {
    width: 180px;
    float: left;
    background: url(../images/submenu-libg.png) no-repeat left center;
    transition: all ease 300ms;
}

.menu li a {
    width: 100%;
    height: 70px;
    display: block;
    text-align: center;
    font-size: 16px;
    color: #888;
    transition: all ease 300ms;
}

.menu li:first-child {
    background-image: none;
}

.menu li:hover,
.menu li.hover {
    background-color: #000197;
}

.menu li:hover a,
.menu li.hover a {
    color: #fff !important;
}

.submenu {
    width: 1250px;
    margin: 0 auto;
    padding: 40px 0 45px;
    text-align: center;
    font-size: 0;
    line-height: 0;
}

.submenu a {
    width: 180px;
    height: 36px;
    line-height: 36px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    margin: 0 10px 10px;
    display: inline-block;
    transition: all ease 300ms;
}

.submenu a.hover,
.submenu a:hover {
    background: #000197;
    border-color: #000197;
    color: #fff !important;
}

@media only screen and (max-width: 1200px) {
    .w1200,.submenu {
        width: 94%;
    }
    
}

@media screen and (max-width: 992px) {
    .menu {
        height: auto;
        line-height: 50px;
        overflow-x: scroll;
    }
    .menu li a {
        height: 50px;
        font-size: 14px;
    }
}

@media screen and (max-width: 992px)  {
    .menu li {
        width: 180px;
    }
    .menu .list {
        display: flex;
        /*flex-wrap: wrap;*/
        width: 720px;
    }
}