body, p, ul, li, dl, dt, dd, form, input, select, textarea, h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: Microsoft YaHei;
}
li {
    list-style: none;
}
a {
    text-decoration: none;
    outline: none;
}
img {
    display: block;
    outline: none;
    border: none;
}
.d {
    display: block;
}
.pr {
    position: relative;
}
.pa {
    position: absolute;
}
.fl {
    float: left;
}
.fr {
    float: right;
}
.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
.ellips {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.show-pc {
    display: block;
}
.show-m {
    display: none;
}
.container {
    box-sizing: border-box;
    margin: 0 auto;
    width: 1200px;
}
/* 网站头部 */
.header {
    width: 100%;
    height: 127px;
    background-color: #fff;
    z-index: 200;
}
/* Logo */
.logo {
    margin: 20px 0 0;
    width: 474px;
    font-size: 0;
}
.logo img {
    width: 100%;
}
/* 搜索 */
.search {
    margin: 43px 0 0;
    width: 241px;
    height: 38px;
    border: 1px solid #9e1310;
    border-radius: 20px;
}
.search .search-keys {
    width: 100%;
    height: 38px;
    border-radius: 20px;
    background: none;
    border: none;
    outline: none;
    text-indent: 25px;
    color: #fff;
    font-size: 16px;
}
.search .iconfont {
    font-size: 24px;
    color: #fff;
    top: 5px;
    right: 15px;
    cursor: pointer;
}
/* 导航菜单 */
.menu {
    width: 100%;
    height: 50px;
    background-color: #9e1310;
}
.menu-bd>li>a {
    position: relative;
    display: inline-block;
    padding: 0 35px;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    z-index: 100;
}
.menu-bd>li:hover>a {    
    background-color: #a52c27;    
}
.menu-sub {
    overflow: hidden;
    left: 0;
    top: 50px;
    width: 100%;
    background-color: rgba(165, 44, 39, 0.8);
    z-index: 99;
    transition: all .4s ease-in-out;
    transform: rotateX(180deg) translateY(100%);
    opacity: 0;
    z-index: 99;
}
.menu-sub>a {
    display: block;
    box-sizing: border-box;
    padding: 10px 35px;
    line-height: 36px;
    color: #fff;
    font-size: 16px;
    transition: all 0.2s ease-in-out;
}
.menu-sub>a:hover {
    transform: scale(1.1, 1.1);
}
.menu-bd>li:hover .menu-sub {
    transform: rotateX(0deg) translateY(0);
    opacity: 1;
}
/* 网站底部 */
.footer {
    margin: 38px 0 0;
    width: 100%;
    height: 120px;
    background-color: #333333;
}
.footer-logo {
    margin: 18px 0 0 4px;
}
.footer-msg {
    margin: 0 0 0 105px;
    line-height: 120px;
    font-size: 14px;
    color: #999999;
}
.footer-msg span {
    margin-right: 50px;
}
.footer-msg span:last-child {
    margin-right: 0;
}
/*分页*/
.page span,
.page a {
    margin: 0 5px;
    font-size: 14px;
} 
/* 移动端设备 */
@media (max-width: 1280px) {
    html {
        font-size: 13.333333333333334vw;
    }
    .show-pc {
        display: none;
    }
    .show-m {
        display: block;
    }
    .container {
        width: 7.5rem;
    }
    /* 头部 */
    .header {
        height: 1.29rem;
        border-bottom: 1px solid #9d1d22;
    }
    .logo {
        margin: 0.15rem 0 0 0.3rem;
        width: 5.4rem;
    }
    .header-btn-menu {
        right: 0.3rem;
        top: 0.35rem;
        color: #9d1d22;
        font-size: 0.50rem;
    }
    .header-btn-search {
        right: 1.1rem;
        top: 0.35rem;
        color: #9d1d22;
        font-size: 0.50rem;
    }
    /* 搜索 */
    .search {
        float: none;
        position: absolute;
        left: 0;
        top: -2.5rem;
        /* top: 1.29rem; */
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        width: 7.5rem;
        height: 1.02rem;
        border-radius: 0;
        background-color: #fff;
        transition: all .4s ease-in-out;
    }
    .search form {
        position: relative;
        width: 6.8rem;
        height: 0.64rem;
        border: 1px solid #b85250;
        border-radius: 0.3rem;
        overflow: hidden;
    }
    .search .search-keys {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        color: #666;
        font-size: 14px;
    }
    .search .iconfont {
        color: #bb4d43;
    }
    /* 菜单 */
    .menu {
        position: absolute;
        right: 0;
        /* top: 1.29rem; */
        top: -200%;
        padding: 0.2rem 0; 
        width: 1.98rem;
        height: auto;
        max-height: calc(100% - 1.29rem);
        overflow-y: auto;
        background-color: #860707;
        transition: all .4s ease-in-out;
    }
    .menu-bd {
        width: 100%;
    }
    .menu-bd li {
        float: none;
        width: 100%;
    }
    .menu-bd li>a {
        display: block;
        font-size: 0.28rem;
        line-height: 1.8em;
        font-weight: normal;
        padding: 0.12rem 0;
        text-align: center;
    }
    .menu-sub {
        overflow: hidden;
        display: none;
        position: relative;
        left: 0;
        top: 0;
        width: 100%;
        transition: none;
        transform: none;
        opacity: 1;     
        background: #970f0d;   
    }
    .menu-sub>a {
        padding: 0.1rem 0;
        text-align: center;
        font-size: 0.2rem;
    }
    .menu-bd li:hover {
        background-color: none;
    }
    .menu-bd li.active .menu-sub{
        display: block;
    }
    /* 底部 */
    .footer {
        margin: 0.45rem 0 0;
        padding: 0.28rem 0;
        width: 7.5rem;
        height: auto;
    }
    .footer-msg {
        margin: 0;
        width: 100%;
        height: 100%;
        line-height: 1.8em;
        text-align: center;
        font-size: 0.2rem;
        color: #999999;
    }
    .footer-msg span:first-child {
        display: block;
    }
    .footer-msg span {
        margin: 0;
    }
    .footer-msg span:nth-child(2n) {
        margin-right: 0.3rem;
    }
}