* { padding: 0px; margin: 0px; box-sizing: border-box; font-family: 微软雅黑; }
ul, li { list-style: none; }
a:link, a:visited, a:visited, a:hover, a:active { text-decoration: none; color: inherit; }
input, select, option, textarea { outline: none; resize: none; -webkit-appearance: none; }
.clr::after { content: ''; display: block; clear: both; }
.fl { float: left; }
.fr { float: right; }
.w1200 { width: 1200px; margin-left: auto; margin-right: auto; }
@media (max-width: 1440px) { .w1400 { width: 1200px; } }
@media (max-width: 1250px) { .w1400 { width: 970px; } }
@media (max-width: 992px) { .w1400 { width: 750px; } }
@media (max-width: 768px) { .w1400 { width: 92%; } }

.mt50 { margin-top: 50px; }

.ml30 { margin-left: 30px; }

/* ******************************* */
/* ******************************* */
.header {
    background: url(../img/header_bg.png) no-repeat;
    background-size: cover;
}

.header .w1200 {
    height: 130px;
    position: relative;
}

.header .w1200 .nav_btn {
    display: none;
    float: right;
    width: 35px;
    height: 35px;
    background: url(../img/nav_icon.png) no-repeat;
    background-size: cover;
    margin-left: 50px;
}

.header .w1200 .logo {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.header .w1200 .header_right {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.header .w1200 .header_right .search {
    float: right;
    width: 275px;
    height: 35px;
    background: #fff;
    border-radius: 17.5px;
    overflow: hidden;
}

.header .w1200 .header_right .search .search_val {
    float: left;
    width: calc(100% - 65px);
    height: 35px;
    line-height: 35px;
    color: #999;
    padding-left: 27px;
    border: none;
}

.header .w1200 .header_right .search .search_val::-webkit-input-placeholder {
    color: #999;
}

.header .w1200 .header_right .search .search_val::-moz-input-placeholder {
    color: #999;
}

.header .w1200 .header_right .search .search_val::-ms-input-placeholder {
    color: #999;
}

.header .w1200 .header_right .search .submit {
    float: left;
    background: url(../img/search.png) no-repeat;
    background-position: center;
    height: 35px;
    width: 65px;
    border: none;
    color: #fff;
}

/* ******************************* */
/* ******************************* */
.nav {
    background-color: #fff;
}

.nav .wp_nav {
    width: 1200px;
    margin: 0 auto;
}

.nav .wp_nav>.nav-item {
    float: left;
    width: calc(99.9% / 10);
    height: 45px;
    position: relative;
}

.nav .wp_nav>.nav-item>a {
    display: block;
    height: 45px;
    line-height: 45px;
    text-align: center;
    font-size: 16px;
    color: #333;
}

.nav .wp_nav>.nav-item>.sub-nav {
    width: 100%;
    background: #c0151e;
    position: absolute;
    top: 45px;
    box-shadow: 0px 0px 8px 1px rgba(50, 50, 50, 0.14);
    opacity: 0;
    z-index: 99;
}

.nav .wp_nav>.nav-item>.sub-nav>.nav-item {
    position: relative;
}

.nav .wp_nav>.nav-item>.sub-nav>.nav-item a {
    display: block;
    height: 0px;
    overflow: hidden;
    line-height: 40px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    transition: height 0.3s;
}

/* ******************************* */
/* ******************************* */
.footer {
    padding: 30px 0;
    background-color: #c0151e;
}

.footer p {
    text-align: center;
    font-size: 14px;
    line-height: 20px;
    color: #fff;
}

/* ******************************* */
/* ******************************* */
@media (max-width: 992px) {
    .nav .wp_nav {
        width: 750px;
    }
}

@media (max-width: 768px) {
    .nav .wp_nav {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .wp_nav>.nav-item:hover>a {
        color: #fff;
        background: #c0151e;
    }

    .wp_nav>.nav-item:hover>.sub-nav {
        opacity: 1;
    }

    .wp_nav>.nav-item:hover>.sub-nav>.nav-item>a {
        height: 40px;
    }

    .wp_nav>.nav-item>.sub-nav>.nav-item:hover>a {
        color: #c0151e;
        background: #fff7e6;
    }
}

@media (max-width: 992px) {
    .header .w1400 {
        height: auto;
        padding: 25px 0;
    }

    .header .w1400 .logo {
        position: static;
        transform: none;
        display: block;
        margin: 0 auto;
    }

    .header .w1400 .header_right {
        display: inline-block;
        position: static;
        margin-left: 50%;
        margin-top: 20px;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {

    .header .w1400 .logo,
    .footer .w1400 .logo,
    .header .w1400 .header_right {
        width: 100%;
    }

    .header .w1400 .header_right {
        margin-left: 0;
        transform: translateX(0%);
    }

    .header .w1400 .header_right .search {
        width: calc(100% - 85px);
    }

    .header .w1400 .nav_btn {
        display: block;
    }

    .nav {
        position: absolute;
        z-index: 9999;
        width: 100vw;
        right: 0;
    }

    .nav .wp_nav>.nav-item {
        width: 100%;
        float: initial;
        height: auto;
        position: relative;
    }

    .nav .wp_nav>.nav-item>.sub-nav {
        width: 100%;
        background: #0871bb;
        position: initial;
    }
}