* {
    margin: 0;
    padding: 0;
}
html, body {
    height:100%;
    font-size: 16px;
}
body {
    background: #F8F8F8;
}
a {
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    display: block;
}
i {
    font-style: normal;
}

.mw-768 {
    max-width: 768px;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 3.125rem;
    width: 100%;
    background: rgba(255,255,255,1);
    display: flex;
    padding: 0 2.125rem;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 10000;
}
.footer > div {
    font-size: 12px;
    font-weight: 400;
    color: #222;
    padding-top: 1.625rem;
    width: 1.625rem;
    text-align: center;
}
.footer > div:nth-child(1) {
    background: url(../images/tab_consult.png) no-repeat top center;
    background-size: 1.625rem 1.625rem;
}
.footer > div:nth-child(2) {
    background: url(../images/tab_find.png) no-repeat top center;
    background-size: 1.625rem 1.625rem;
}
.footer > div:nth-child(3) {
    background: url(../images/tab_patting.png) no-repeat top center;
    background-size: 1.625rem 1.625rem;
}
.footer > div:nth-child(4) {
    background: url(../images/tab_live.png) no-repeat top center;
    background-size: 1.625rem 1.625rem;
}
.footer > div:nth-child(5) {
    background: url(../images/icon_center.png) no-repeat top center;
    background-size: 1.625rem 1.625rem;
}

/* 头部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3.75rem;
    background-color: #fff;
    z-index: 1000000000;
}
.header > div {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: 500;
    color: rgba(34,34,34,1);
}
.header > i {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    left: 1.25rem;
    background: url(../images/icon_back.png) no-repeat center center;
    background-size: 100% 100%;
}
.header > p {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    right: 1.25rem;
    background: url(../images/icon_more2.png) no-repeat center center;
    background-size: 100% 100%;
}


/* 头部tab */
.tabMenu {
    width: 100%;
    height: 3.75rem;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    background-color: #fff;
}
.tabMenu > i {
    position: absolute;
    width: 1.5rem;
    height: 1.5rem;
    top: 1.125rem;
    left: 1.25rem;
    background: url(../images/icon_search.png) no-repeat center center;
    background-size: 100% 100%;
}
.tabMenu > span {
    position: relative;
    margin: 0 .75rem;
    font-size: 16px;
    font-weight: 400;
    color: rgba(34,34,34,1);
    transition: all .3s;
}
.tabMenu .tabItem {
    font-size: 24px;
    font-weight: 600;
    color: rgba(34,34,34,1);
}
.tabMenu .underLine {
    position: absolute;
    width: 1.25rem;
    height: .25rem;
    border-radius: .375rem;
    background: #FF4C67;
    bottom: -0.375rem;
    left: 50%;
    transform: translateX(-50%);
}


/* 发送消息 */
.remark {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3.75rem;
    background-color: #fff;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    padding: 0 1.25rem;
}
.remark > div > span {
    width: 1.5rem;
    height: 1.5rem;
    margin-left: 1.5rem;
}
.remark > div {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 57%;
    box-sizing: border-box;
}
.remark > span {
    width: 43%;
    height: 2.5rem;
    box-sizing: border-box;
    padding-left: 2.25rem;
    background: url(../images/white.png) no-repeat 12px center;
    background-size: 1.25rem 1.25rem;
    background-color: #F8F8F8;
    font-size: 14px;
    font-weight: 300;
    line-height: 2.5rem;
    color: #A7A7A7;
    border-radius: 6px;
}
.remark > div > span:nth-child(1) {
    background: url(../images/line@2x.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}
.remark > div > span:nth-child(2) {
    background: url(../images/toolbar.png) no-repeat center center;
    background-size: 100% 100%;
    position: relative;
}
.remark > div > span:nth-child(3) {
    background: url(../images/toolbar@2x.png) no-repeat center center;
    background-size: 100% 100%;
}
.remark > div > span:nth-child(4) {
    background: url(../images/share@2x.png) no-repeat center center;
    background-size: 100% 100%;
}
.badge {
    position: absolute;
    top: -6px;
    left: 12px;
    height: 1rem;
    width: auto;
    border-radius: 7.8125rem;
    background: #FF4C67;
    line-height: 1rem;
    text-align: center;
    font-size: 12px;
    font-weight: 400;
    color: #fff;
    transform: scale(0.75);
    box-sizing: border-box;
    padding: 0 5px;
    font-style: normal;
}

.footer > div:nth-child(4) {
    background: url(../images/tab_live_s.png) no-repeat top center;
    background-size: 1.625rem 1.625rem;
    color: #FF4C67;
}
.live-item .img {
    height: 10rem;
    width: 100%;
}
.live-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: none !important;
}
.ellipsis1 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ellipsis2,.ellipsis3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.ellipsis2 {
    -webkit-line-clamp: 2;
}

.ellipsis3 {
    -webkit-line-clamp: 3;
}