body {
    font-family: "Helvetica Neue", "Arial", "PingFang SC", "Hiragino Sans GB", "STHeiti", "Microsoft YaHei",
                 "Microsoft JhengHei", "Source Han Sans SC", "Noto Sans CJK SC", "Source Han Sans CN", "Noto Sans SC",
                 "Source Han Sans TC", "Noto Sans CJK TC", "WenQuanYi Micro Hei", SimSun, sans-serif;
    padding: 0;
    letter-spacing: 0.1em;
    color: #000;
    min-width: 1300px;
    background: #F7F7F7;
}

button {
    background: none;
    border: 0;
    color: inherit;
    /* cursor: default; */
    font: inherit;
    line-height: normal;
    overflow: visible;
    padding: 0;
    -webkit-appearance: button; /* for input */
    -webkit-user-select: none; /* for button */
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
}
input::-moz-focus-inner,
button::-moz-focus-inner {
    border: 0;
    padding: 0;
}
ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

.white {
    color: #fff;
}
.black {
    color: #000;
}
.content {
    width: 1220px;
    margin: 0 auto;
    overflow: hidden;
}

header {
    background: #FFF;
}
header .content {
    height: 120px;
}
.logo, .logo:hover, .logo:active {
    width: 194px;
    display: block;
    margin-top: 40px;
    float: left;
    color: #000;
    line-height: 37px;
    text-decoration: none;
    font-size: 18px;
}
.logo > img {
    width: 51px;
    display: inline-block;
}
.btn-menu {
    display: none;
}
header .nav {
    float: right;
    width: 920px;
    color: #3A3A3D;
    margin-top: 38px;
}
header .nav li {
    float: left;
    margin-right: 10px;
}
header .nav li:nth-child(6), header .nav li:nth-child(7) {
    float: right;
    margin: 0;
}
header .nav a, header .nav a:hover {
    color: #3A3A3D;
    text-decoration: none;
    background: none;
    font-size: 18px;
    line-height: 18px;
    padding-left: 0;
    padding-right: 0;
    width: 120px;
}
header .nav .active a, header .nav .active a:hover {
    color: #00D3C8;
}
header .nav .vip-login, header .nav .vip-login:hover, header .nav .vip-login:active, header .nav .vip-login:visited {
    width: 150px;
    text-align: right;
    text-decoration: none;
    background: none!important;
    outline: none;
}
header .nav .link-register, header .nav .link-register:hover, header .nav .link-register:active, header .nav .link-register:visited {
    width: 40px;
    text-decoration: none;
    background: none!important;
    outline: none;
}

.background-image {
    position: absolute;
    width: 100%;
    min-width: 1440px;
    top: 0;
    left: 0;
    z-index: -1;
}

.main {
    position: relative;
    overflow: hidden;
}

#footer {
    background: #3F3F3F;
    font-size: 14px;
    line-height: 14px;
    color: #808080;
    padding-top: 100px;
    padding-bottom: 64px;
}
#footer a, #footer a:hover {
    color: #808080;
    text-decoration: none;
}
#footer .beian img {
    height: 14px;
}
#footer .tel, #footer .tel:hover {
    font-size: 24px;
    font-weight: 200;
    display: block;
    height: 90px;
    border: 2px solid #00D3C8;
    color: #00D3C8;
    text-decoration: none;
    text-align: center;
    line-height: 86px;
    margin: 0 auto 100px;
    width: 750px;
}
.footer-nav {
    overflow: hidden;
    padding-bottom: 38px;
    width: 100%;
    box-shadow: 0 0.5px 0 #808080;
    margin-bottom: 36px;
}
.footer-nav > li {
    float: left;
    padding: 0 24px;
    border-left: 1px solid #808080;
}
.footer-nav > li:first-child {
    padding-left: 0;
    border: none;
}
#footer .content > div {
    overflow: hidden;
    padding: 7px 0;
}
.agreements ul {
    overflow: hidden;
}
.agreements li {
    float: left;
    padding: 0 24px;
    border-right: 1px solid #808080;
}
.agreements li:last-child {
    padding-right: 0;
    border: none;
}

.modal-cover {
    background-color: rgba(0,0,0,0.3);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: none;
}

.register-modal {
    position: fixed;
    top: 50%;
    margin-top: -200px;
    left: 50%;
    margin-left: -200px;
    z-index: 101;
    background: #FFF;
    width: 400px;
    display: none;
}
.register-modal-header {
    background: #23D2C7;
    color: #FFF;
    padding: 10px 0;
    font-size: 12px;
    line-height: 16px;
    position: relative;
    letter-spacing: 0.05em;
    text-indent: 10px;
}
.btn-register-modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 16px;
}
.btn-register-modal-register {
    background: #23D2C7;
    color: #FFF;
    text-align: center;
    padding: 8px 0;
    font-size: 16px;
    line-height: 16px;
    width: 264px;
    margin-left: 82px;
    margin-top: 10px;
}
.btn-register-modal-code {
    background: #23D2C7;
    color: #FFF;
    text-align: center;
    padding: 5px 0;
    font-size: 14px;
    line-height: 14px;
    width: 130px;
    margin-left: 10px;
}
.btn-register-modal-code.sent {
    background: #AFAFAF;
    color: #FFF;
}
.register-modal-footer {
    font-size: 12px;
    padding: 4px 14px;
    overflow: auto;
}
.btn-register-login, .btn-register-login:hover, .btn-register-login:active {
    color: #23D2C7;
    text-decoration: none;
}
.register-modal-body {
    padding: 40px 16px 30px;
}
.register-modal .input-group {
    margin: 6px 0;
}
.register-modal .input-group label {
    width: 72px;
    float: left;
    color: #808080;
    font-weight: normal;
    height: 24px;
    text-align: justify;
    text-align-last: justify;
    -webkit-text-align-last: justify;
    font-size: 16px;
    margin-right: 10px;
}
.register-modal .input-group input {
    width: 264px;
    border: 1px solid #AFAFAF;
    color: #808080;
    outline: none;
    padding: 0 8px;
    box-sizing: border-box;
    line-height: 22px;
}
.register-modal .input-group input[name=code] {
    width: 124px;
}

.tmp-modal {
    position: fixed;
    top: 50%;
    margin-top: -100px;
    left: 50%;
    margin-left: -140px;
    z-index: 101;
    border-radius: 8px;
    background: #FFF;
    width: 280px;
    text-align: center;
    display: none;
}
.tmp-modal-header {
    background: #23D2C7;
    color: #FFF;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    padding: 10px 0;
    font-size: 16px;
    line-height: 16px;
    position: relative;
}
.btn-tmp-modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}
.tmp-modal-body {
    color: red;
    padding-bottom: 10px;
    padding-top: 30px;
}
.btn-tmp-modal-register {
    background: #23D2C7;
    color: #FFF;
    text-align: center;
    border-radius: 5px;
    padding: 6px 0;
    font-size: 16px;
    line-height: 16px;
    width: 176px;
    margin-top: 30px;
}
.tmp-modal-body p {
    margin: 0;
}

@media screen and (max-width: 767px) {
    html {
        width: 100%;
    }
    body {
        min-width: inherit;
        width: 100%;
    }
    .content {
        width: 100%;
    }
    header {
        min-width: inherit;
        width: 100%;
        height: 40px;
        position: inherit;
    }
    header .content {
        height: 40px;
        width: 100%;
        overflow: visible;
        position: relative;
    }
    header .logo {
        width: 130px;
        height: 40px;
        margin-top: 0;
        font-size: 14px;
        line-height: 40px;
    }
    header .logo > img {
        height: 24px;
        margin: 8px 6px 8px 12px;
        width: auto;
    }
    header .btn-menu {
        display: block;
        width: 40px;
        height: 40px;
        right: 6px;
        position: absolute;
        background: url("icon-menu.png")/*tpa=http://www.huayicare.com/wp-content/themes/huayi/img/icon-menu.png*/ no-repeat center;
        background-size: 24px auto;
        cursor: pointer;
    }
    header .btn-menu.active {
        background: url("icon-menu-active.png")/*tpa=http://www.huayicare.com/wp-content/themes/huayi/img/icon-menu-active.png*/ no-repeat center;
    }
    header .nav {
        display: none;
        position: absolute;
        height: 100%;
        width: 200px;
        background: #FFF;
        margin: 40px 0 0;
        right: 0;
        z-index: 100;
    }
    header .nav li {
        background: #FFF;
        width: 200px;
        height: 54px;
        border-top: 1px #ECECEC solid;
        text-align: right;
    }
    header .nav .vip-login, header .nav .vip-login:hover, header .nav .vip-login:active, header .nav .vip-login:visited {
        width: auto;
    }
    header .nav .link-register, header .nav .link-register:hover, header .nav .link-register:active, header .nav .link-register:visited {
        width: auto;
    }
    header .nav a, header .nav a:hover {
        line-height: 34px;
        width: 100%;
        padding-right: 10px;
        box-sizing: border-box;
        font-size: 18px;
        font-weight: 100;
    }
    .background-image {
        width: 100%;
        min-width: inherit;
        z-index: -1;
        position: inherit;
    }
    #footer {
        padding-top: 28px;
        padding-bottom: 28px;
    }
    #footer .tel, #footer .tel:hover {
        width: 278px;
        height: 46px;
        font-size: 12px;
        line-height: 1.4;
        padding-top: 6px;
        border-width: 1px;
        margin-bottom: 32px;
    }
    #footer .tel span {
        display: block;
    }
    .footer-nav {
        font-size: 10px;
        -webkit-transform: scale(0.8);
        -o-transform: scale(1);
        text-align: center;
        box-shadow: none;
        margin-bottom: 14px;
        padding-bottom: 0;
    }
    .footer-nav > li {
        padding: 0 10px;
        display: inline;
        float: inherit;
    }
    .footer-nav > li:first-child {
        padding-left: 10px;
    }
    .design {
        display: none;
    }
    #footer .pull-left, #footer .pull-right {
        float: inherit !important;
        font-size: 10px;
        -webkit-transform: scale(0.8);
        -o-transform: scale(1);
        text-align: center;
    }
    .agreements li {
        float: inherit;
        display: inline;
        padding: 0 8px;
    }
    .agreements li:first-child {
        padding-left: 8px;
    }
    #footer .content > div {
        padding: 2px 0;
    }
}

