* {
    margin: 0;
    padding: 0;
}

li {
    list-style: none;
}

/*pc端*/
@media (min-width: 451px) {
    #mobileHeader {
        display: none !important;
    }

    /*header*/
    header {
        height: 100px;
        font-size: 14px;
        color: #999;
        padding-bottom: 20px;
        /*此处的黑色背景应该去掉,现在只是为了看效果,真正的黑背景是因为整个大背景图*/
        background-color: rgb(24,25,23)!important;
    }

    .header_ul {
        margin-top: 30px;
    }

    .header_ul > li {
        display: inline-block;
        width: 90px;
        font-size: 16px;
        text-align: center;
        vertical-align: top;
        /*border-right: 1px solid #e9e9e9;*/
    }

    .header_ul4 {
        width: 130px !important;
    }

    .header_span {
        float: right;
        margin-top: 4px;
    }

    .header_ul > li > a {
        color: #e9e9e9;
    }

    .header_ul > li > a:hover {
        color: #c09e5e;
    }

    .header_ul_active a {
        color: #c09e5e !important;
    }

    header > div > div, header > div > ul {
        display: inline-block;
        vertical-align: top;
        cursor: pointer;
        margin-top: 20px;
        text-align: center;
    }

    header > div {
        width: 1240px;
        margin: auto;
        /*margin-bottom: 20px;*/
        height: 80px;
        /*border-bottom: 1px solid #bdbdbd;*/
        border-bottom: none !important;
    }

    .headerA {
        color: #999;
    }

    .headerA:hover {
        color: #999;
    }

    .competitionsL {
        margin-left: 30px;
    }

    .competitionsL li:nth-child(2) a {
        color: #999;
    }

    .selfLogo {
        padding-top: 22px;
        margin-right: 285px;
    }

    .competition {
        padding-top: 20px;
        width: 56px;
        text-align: center;

    }

    header .loginDialog .common div {
        margin-left: 390px;
        width: 300px;
        text-align: right;
    }

    .logo {
        margin: 0 -30px 0 0;
    }

    .user {
        line-height: 79px;
        float: right;
    }

    .user img {
        vertical-align: middle;
    }

    .exit {
        line-height: 79px;
        float: right;
        margin-left: 30px;
        cursor: pointer;
        color: white;
    }

    header .loginDialog .common {
        margin-left: 10px !important;
        margin-top: 15px !important;
        width: auto !important;
    }

    header .loginDialog .common div {
        margin-left: 0px;
        width: 220px;
    }

    #frontend-header .loginDialog {
        display: inline-block;
        float: right;
        margin-right: 5px;

    }

    .en_header_ul li {
        width: 95px;
    }
    #recommendation{
        width: auto;
        padding: 0 10px;
    }
    .lang{
        position: absolute;
        top:30px;
        right: 195px;
        width: 100px;
        text-align: center;
    }
    .lang p{
        display: inline-block;
        width: 45px;
    }
    .langActive{
        color: #c8a461;
    }
    .lang p:hover{
        color: #c8a461;
    }
}

/*移动端------------------------------------------------------------------------------------------------*/
@media (max-width: 450px) {
    #frontend-header {
        display: none !important;
    }

    #pcHeader {
        display: none !important
    }

    #mobileHeader {
        display: block !important;
    }

    .common {
        float: right;;
        /*width: 2.4rem !important;*/
        font-size: 0.426667rem;
        line-height: 0.666667rem;
        margin-top: -2.5333rem !important;
        margin-left: 7.64rem !important;
    }
    .en_common{
        margin-left: 8rem !important;
    }


    .a_tab {
        font-size: 0.3rem !important;
        margin: 0!important;
    }

    .headerUl {
        background-color: white;
        margin-bottom: 0.4rem;
        font-size: 0.48rem;
        line-height: 1.066667rem;
    }

    .headerUl a, .headerUl span {
        display: inline-block;
        color: #999;
        width: 23%;
        margin: 0;
        text-align: center;

    }

    .headerUl .headerActive {
        color: #ee1951;
        border-bottom: 2px solid #ee1951;
    }

    #mHeaderPopup {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: transparent;
    }

    #mHeaderPopup > div {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 80%;
        height: 30%;
        background-color: white;
        padding: 5%;
        text-align: center;
        border: 1px solid #999;
    }
    .lang{
        position: fixed;
        bottom:10%;
        right: 3%;
        color: black;
        background-color: rgba(153,153,153,0.6);
        font-size: 150%;
        padding: 0 5px;
        line-height: 200%;
        z-index: 1000;
    }
    .lang p{
        border-bottom: 1px solid #aaa;
    }
}