﻿body, div, dl, dt, dd, ul, ol, li, tr, td, th,
h1, h2, h3, h4, h5, h6, hr, br, img, table,
input, form, a, p, textarea {
    padding: 0;
    margin: 0;
}
/*去掉列表默认排列*/
ul, ol, li {
    list-style: none;
}
/*去掉底部横线*/
/*把a元素更改设置成块级元素，这个根据实际情况决定要不要*/
a {
    outline: none;
    text-decoration: none;
}

a:link {
    text-decoration: none;
}

a:link, a:active, a:visited, a:focus, a:hover {
    outline: none;
    text-decoration: none;
}
/*img标签要清除border。*/
/*display设为block设置为块级元素，默认为display:inline;
存在下边线多出4px状况,所以一般设为block*/
img {
    border: 0;
    display: block;
}
/*清除浮动破坏带来的塌陷问题*/
/*清除浮动的兼容IE*/
.clearfloat {
    zoom: 1;
}

.clearfloat:after {
    display: block;
    clear: both;
    content: "";
    visibility: hidden;
    height: 0;
}
/* input */
input {
    outline: none;
}

@media (min-width: 1080px) {
    html {
        max-width: 750px;
        font-size: 32px !important;
        margin: 0 auto;
    }

    body {
        max-width: 750px;
        margin: 0 auto !important;
    }
}

html, body {
    height: 100%;
}

/* 公共样式 */
.ellipsis {
    overflow: hidden; /* 隐藏超出内容 */
    white-space: nowrap; /* 强制不换行 */
    text-overflow: ellipsis; /* 文字溢出显示省略号 */
}

.ellipsis2 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2; /* 定义显示的行数 */
    overflow: hidden;
    text-overflow: ellipsis;
}

.ellipsis3 {
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 定义显示的行数 */
    overflow: hidden;
    text-overflow: ellipsis;
}
/* 首页：头部 */
/* 头部 */
header {
    max-width: 750px;
    height: 3rem;
    line-height: 3rem;
    width: 100%;
    background: #FFFFFF;
    /* box-shadow: 0px 5px 1.25rem rgba(0, 0, 0, 0.0509804); */
    position: fixed;
    top: 0;
    z-index: 999;
}

header > .headBox {
    width: 97%;
    height: 100%;
    line-height: 3rem;
    margin: 0 auto;
    padding: 0 0.3rem;
    padding: 0 0.3rem 0 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.home-header .head-left {
    height: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-header .head-left svg {
    width: 5rem;
    font-size: 3.625rem;
    color: #404040;
    height: 3.125rem;
    margin-left: 0;
}

.home-header .head-search {
    position: relative;
    width: 14.75rem;
    height: 2.125rem;
    display: flex;
    align-items: center;
}

.home-header .head-search .btn-search {
    background: #EA2B2B;
    border-radius: 0.875rem;
    width: 3.25rem;
    height: 1.75rem;
    position: absolute;
    left: 11.3125rem;
    top: 0.1875rem;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 0.875rem;
}

.home-header .head-search > span {
    position: absolute;
    left: 0.625rem;
    line-height: 1.875rem;
}

.home-header .head-search > input {
    width: 14.75rem;
    height: 2.125rem;
    box-sizing: border-box;
    padding: 0 0.3125rem;
    padding-right: 3.75rem;
    padding-left: 1rem;
    border: none;
    background: #fff;
    border-radius: 3.125rem;
    overflow: hidden;
    outline: none;
    font-size: 0.875rem;
    line-height: 2.125rem;
    border: 1px solid #E3D9D9;
}

.home-header ::-webkit-input-placeholder { /* WebKit, Blink, Edge */
    color: #999; /* 设置placeholder颜色 */
}

.home-header :-moz-placeholder { /* Mozilla Firefox 18- */
    color: #999; /* 设置placeholder颜色 */
    opacity: 1; /* 如果不设置，placeholder可能不完全可见 */
}

.home-header ::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #999; /* 设置placeholder颜色 */
    opacity: 1;
}

.home-header :-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #999; /* 设置placeholder颜色 */
}

.home-header .head-right {
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.home-header .head-right a {
    display: flex;
    align-items: center;
}

.home-header .head-right svg {
    font-size: 2.1875rem;
    box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.0509804);
    border-radius: 50%;
}

.home-header .head-left .iconsvg {
    display: block;
    width: auto;
    height: 1.6rem;
}

.home-header .head-left .iconzuo .iconsvg {
    display: block;
    width: auto;
    height: 1.3rem;
}

.home-header .head-right .iconsvg {
    display: block;
    width: auto;
    height: 1.25rem;
}
/* 新增返回按钮 */
.home-header .header-goback {
    width: 1.25rem;
    height: 100%;
    position: absolute;
    left: -0.25rem;
    display: none;
}

.home-header .header-goback .icon {
    display: inline-block;
    width: 0.875rem;
    height: 0.5rem;
    background: url(../images/icon-sjbottom.png) no-repeat left top;
    background-size: 100%;
    transform: rotate(90deg);
}




/* 相关行业榜单推荐 */
.ranking-tj {
    background-image: linear-gradient(180deg, #FFDAA7 0%, #FFF4E5 100%);
    border-radius: 0.5rem;
    padding: 2.625rem 0.75rem 0.5rem;
    position: relative;
    overflow: hidden;
}

.ranking-tj .more-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0.75rem;
    top: 0.75rem;
    width: 3.625rem;
    height: 1.5rem;
    font-size: 0.75rem;
    color: #602E09;
    background: rgba(255,255,255,0.61);
    border-radius: 0.75rem;
}

.ranking-tj .icon-one {
    position: absolute;
    right: 5.625rem;
    top: 0.5rem;
    width: 5.9375rem;
    height: 5.9375rem;
    background: url(../images/icon-one.png) no-repeat center top;
    background-size: 75%;
}

.ranking-tj .skew-right-btn {
    width: 100%;
    background: #E1A05B;
    text-align:center;
}

.ranking-tj .skew-right-btn::before {
    background: #E1A05B;
}

.ranking-tj .skew-right-btn::after {
    background-image: linear-gradient(101deg, #E1A05B 0%, #CC742C 100%);
}

.ranking-tj .skew-right-btn span {
    padding-left: 0;
}

.ranking-tj .items {
    margin-top: 0.5rem;
    padding: 0.625rem;
    overflow: hidden;
    background: #FFFFFF;
    border-radius: 0.5rem;
    position: relative;
    z-index: 2;
}

.ranking-tj .items .items-t {
    height: 1.25rem;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ranking-tj .items h3 {
    font-size: 0.875rem;
    color: #101010;
    font-weight: 600;
    flex: 1;
    margin-right: 0.75rem;
}

.ranking-tj .items a {
    font-size: 0.75rem;
    color: #999999;
}

.ranking-tj .items .tag-box {
    margin-top: 0.625rem;
    white-space: nowrap;
    overflow: hidden;
}

.ranking-tj .items .tag-box .tag {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: #FFF6EC;
    border: 0.03125rem solid #F6DFC4;
    border-radius: 0.125rem;
    padding: 0 0.1875rem;
    height: 1.25rem;
    font-size: 0.625rem;
    color: #602E09;
}

.public-plate {
    background: #FFFFFF;
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin: 0 0.75rem;
    margin-top: 0.625rem;
}

.public-plate .header {
    height: 1.375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.public-plate .header a {
    font-size: 0.75rem;
    color: #666666;
}

.public-plate .header span {
    font-size: 1rem;
    color: #21222B;
    font-weight: 600;
}

/* 查看全部 */
.public-open-more {
    font-size: 0.75rem;
    color: #666666;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
    cursor: pointer;
}

.public-open-more::after {
    display: block;
    content: "";
    width: 0.6875rem;
    height: 0.4375rem;
    margin-left: 0.3rem;
    background: url(../images/icon-sjbottom.png) no-repeat center top;
    background-size: 100%;
    position: relative;
}
/* 按钮：右侧斜角 */
.skew-right-btn {
    position: absolute;
    width: 7.6rem;
    height: 2.5rem;
    top: 0;
    left:0;
}

.skew-right-btn span {
    /*position: relative;*/
    z-index: 2;
    font-size: 1rem;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    padding-left: 0.4rem;
    height: 100%;
    font-weight: 600;
    width: 100%;
    justify-content: center;
}

/* 屏蔽图片预览某些按钮 */
#spotlight .icon.fullscreen,
#spotlight .icon.autofit,
#spotlight .icon.zoom-out,
#spotlight .icon.zoom-in,
#spotlight .icon.player,
#spotlight .icon.theme {
    display: none !important;
}
