html,
body {
    margin: 0;
    padding: 0;
}

.shareImg {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 0px;
    height: 0px;
    overflow: hidden;
    display: none;
}

.mainHeader {
    background: #ffffff;
    font-family: '微软雅黑';
    font-size: 14px;
    color: #333;
    line-height: 28px;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.35);
}

.mainHeader * {
    margin: 0;
    padding: 0;
    outline: none;
    list-style: none;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

.mainHeader a {
    color: #333;
    text-decoration: none;
}

.mainHeader a:hover {
    color: #d60200;
    text-decoration: none;
}

.mainHeader img {
    display: inline-block;
    max-width: 100%;
    border: 0;
}

.mainHeader .headerCont {
    width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
    overflow: hidden;
    position: relative;
}

.mainHeader .headerLogo {
    width: 117px;
    height: 53px;
    position: absolute;
    top: 15px;
    left: 0;
}

.mainHeader .headerLogo a {
    display: inline-block;
}

.mainHeader .headerMenu {
    padding: 13px 0;
    margin-left: 160px;
}

.mainHeader .headerMenu ul {
    overflow: hidden;
}

.mainHeader .headerMenu li {
    display: inline-block;
    padding: 0 12px;
}

.mainHeader .headerMenu li a {
    font-size: 17px;
    color: #333333;
    display: inline-block;
}

.mainHeader .headerMenu li a:hover {
    color: #c52726;
}

.mainHeader .headerSearch {
    position: absolute;
    top: 15px;
    right: 0;
    padding: 10px 0;
}

.mainHeader .headerButton {
    width: auto;
    height: 50px;
    display: none;
}

.menuBox {
    width: 44px;
    height: 30px;
    border: 1px solid #DDDDDD;
    position: absolute;
    top: 10px;
    right: 15px;
    border-radius: 4px;
}

.menuBox span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 1px;
    background: #888888;
    position: absolute;
    left: 10px;
    transition: all 0.3s;
    /* transform-origin: -1px 0; */
}

.menuBox span:nth-child(1) {
    top: 6px;
}

.menuBox span:nth-child(2) {
    top: 13px;
}

.menuBox span:nth-child(3) {
    top: 20px;
}

.menuBox.on {
    background: #ddd;
}

.menuBox.on span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menuBox.on span:nth-child(2) {
    display: none;
}

.menuBox.on span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

.searchBox {
    width: 227px;
    height: 35px;
    border: 1px solid #c4c4c4;
    background: #fff;
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.searchBox .bLeft {
    width: 76%;
    height: 100%;
    float: left;
    margin-left: 4%;
}

.searchBox .bLeft input {
    border-width: 0;
    width: 100%;
    height: 100%;
    font-size: 12px;
    text-align: left;
    color: 333;
    line-height: 1;
    outline: medium;
}

.searchBox .bRight {
    width: 20%;
    height: 100%;
    float: left;
}

.searchBox .bRight input {
    border-width: 0;
    background: url(../img/icon_search.png) no-repeat center center;
    width: 100%;
    height: 100%;
    cursor: pointer;
    text-indent: -999px;
    overflow: hidden;
    outline: medium;
}


/* Large devices (pad pro) */
@media (max-width: 1199px) and (min-width: 1024px) {
    .mainHeader .headerCont {
        width: 1000px;
    }

    .mainHeader .headerLogo {
        width: 100px;
        height: 45px;
    }

    .mainHeader .headerMenu {
        padding: 8px 0;
        margin-left: 130px;
    }

    .mainHeader .headerMenu li {
        padding: 0 8px;
    }

    .mainHeader .headerMenu li a {
        font-size: 16px;
    }

    .mainHeader .headerSearch {
        top: 11px;
    }

    .searchBox {
        width: 200px;
        height: 32px;
    }
}

/* Medium devices (pad) */
@media (max-width: 1023px) and (min-width: 768px) {
    .mainHeader .headerCont {
        width: 750px;
        padding: 10px 0;
    }

    .mainHeader .headerLogo {
        width: 100px;
        height: 45px;
        top: 10px;
    }

    .mainHeader .headerSearch {
        top: 7px;
    }

    .searchBox {
        width: 200px;
        height: 32px;
    }

    .mainHeader .headerMenu {
        padding: 55px 0 0 0;
        margin-left: 0;
    }

    .mainHeader .headerMenu ul {
        margin-right: -27px;
    }

    .mainHeader .headerMenu li {
        padding: 0;
        margin-right: 27px;
    }

    .mainHeader .headerMenu li a {
        font-size: 16px;
    }
}

/* Small devices (phones) */
@media only screen and (max-width: 767px) {
    .mainHeader {
        background: #f5f5f5;
        box-shadow: none;
        margin-bottom: 0;
    }

    .mainHeader .headerCont {
        width: auto;
        height: auto;
        padding: 0;
    }

    .mainHeader .headerLogo {
        width: 70px;
        height: 32px;
        top: 8px;
        left: 15px;
    }

    .mainHeader .headerSearch {
        top: 9px;
        right: 70px;
        padding: 0;
    }

    .searchBox {
        width: 200px;
        height: 32px;
    }

    .mainHeader .headerMenu {
        padding: 0;
        margin: 0;
        display: none;
    }

    .mainHeader .headerMenu ul {
        border-top: 1px solid #DDDDDD;
        padding: 10px 5px;
    }

    .mainHeader .headerMenu li {
        padding: 0 15px;

    }

    .mainHeader .headerMenu li a {
        font-size: 14px;
        line-height: 28px;
    }

    .mainHeader .headerButton {
        display: block;
    }
}
