/*
公用的style样式
 */
/** 清除内外边距 **/
body, a, img, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button, input, textarea, /* form elements 表单元素 */
th, td /* table elements 表格元素 */
{
    margin: 0;
    padding: 0;

}

h1, h2, h3, h4, h5, h6,p{
    font-weight: normal;
    margin: 0;
    padding: 0;
}

/** 设置默认字体 **/
* {
    font-family: "微软雅黑", "Microsoft YaHei";
    background: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body,div, a, img, h1, h2, h3, h4, h5, h6, hr, p, blockquote, /* structural elements 结构元素 */
dl, dt, dd, ul, ol, li, /* list elements 列表元素 */
pre, /* text formatting elements 文本格式元素 */
form, fieldset, legend, button,  /* form elements 表单元素 */
th, td /* table elements 表格元素 */
{
    moz-user-select: -moz-none;
    -moz-user-select: none;
    -o-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
address, cite, dfn, em, var,i {
    font-style: normal;
}

/* 将斜体扶正 */
code, kbd, pre, samp {
    font-family: courier new, courier, monospace;
}

/* 统一等宽字体 */
/** 重置列表元素 **/
ul, ol, nav {
    list-style: none;
}

/** 重置文本格式元素 **/
a {
    text-decoration: none;
}

/** 重置表单元素 **/
legend {
    color: #000;
}

/* for ie6 */
fieldset, img {
    border: 0;
}
/*ul样式初始化*/
ul {
    list-style: none;
}
/* images 搭车：让链接里的 images 无边框 */
/* 注：optgroup 无法扶正 */

/** 重置表格元素 **/
table {
    border-collapse: collapse;
    border-spacing: 0;
}
/* 固定宽居中展示 */
.middle-div {
    width: 1268px;
    margin: 0 auto;
}
/* 清除浮动 */
.clear-style {
    clear: both;
}
.clearfix:after, .clear:after {
    content: '\20';
    display: block;
    height: 0;
    clear: both;
}

.clearfix, .clear {
    *zoom: 1;
}

.text-center {
    text-align: center;
}
.text-right {
    text-align: right;
}
.text-left {
    text-align: left;
}

/*取消浏览器默认样式*/
/*input:-webkit-autofill {*/
/*    -webkit-box-shadow: 0 0 0px 1000px white inset !important;*/
/*}*/

input, button, select, textarea {
    outline: none;
}
/*浮动*/
.pull-left {
    float: left;
}
.pull-right {
    float: right;
}
/*flex布局-两端对齐*/
.flex-space {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
/*flex布局-水平垂直居中*/
.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}
/*文字一行中超出宽度显示为省略号*/
.ell-style {
    text-overflow: ellipsis;
    overflow: hidden;
    word-break: break-all;
    white-space: nowrap;
}
/*文字行数限制*/
/*两行显示*/
.two-lines-style {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*三行显示*/
.three-lines-style {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
/*四行显示*/
.four-lines-style {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.show-pc {
    display: flex;
}
.show-wap {
    display: none!important;
}



/*项目全局内容样式*/
/*加载更多*/
.load-more {
    width: 100%;
    height: 43px;
    background-color: #f2f2f2;
    margin-bottom: 26px;
    cursor: pointer;
    display: none;
}
.load-more p {
    text-align: center;
    line-height: 43px;
    font-size: 13px;
    color: #797979;
}
/*返回按钮*/
.back-btn {
    height: 34px;
    font-family: Microsoft YaHei;
    font-size: 14px;
    color: #F34546;
    display: none;
}
.back-btn a {
    color: #F34546;
    display: inline-block;
    line-height: 34px;
    cursor: pointer;
}
/*发布社交按钮*/
.publish-information {
    position: fixed;
    right: 30px;
    top: 412px;
    width: 108px;
    height: 40px;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 15%);
    font-size: 14px;
    z-index: 999;
    cursor: pointer;
    display: flex;
    align-items: flex-start;
}
.publish-information .plus-icon {
    background-color: #0c4c81;
    width: 34px;
    height: 34px;
    border-radius: 20px;
    margin: 3px 6px 3px 4px;

}
.publish-information .plus-font {
    font-size: 14px;
    line-height: 40px;
    color: #0c4c81;
}
/*空数据提示*/
.empty-tip {
    text-align: center;
    color: #666666;
    margin: 30px 0;
    display: none;
}
@media (max-width:767px) {
    .show-pc {
        display: none!important;
    }
    .show-wap {
        display: flex!important;
    }
    .middle-div {
        width: 100%;
        box-sizing: border-box;
    }
    .publish-information {
        position: fixed;
        left:0;
        right: 0;
        top: auto;
        margin: auto;
        bottom: 38px;
    }
    /*回到顶部按钮*/
    .scroll-top-btn {
        width: 40px;
        height: 40px;
        background: url("../images/scrolltop.png") center no-repeat;
        background-size: 100%;
        display: none;
        margin-bottom: 1em;
        position: fixed;
        right: 3%;
        bottom: 5%;
        cursor: pointer;
        z-index: 999;
    }
    .load-more {
        display: none;
    }
    .wap-padding {
        width: 100%;
        box-sizing: border-box;
        padding: 0 16px;
    }
}
