@charset "utf-8";

/** 清除内外边距 **/
*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
cite,
code,
del,
dfn,
em,
img,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dd,
dl,
dt,
li,
ol,
ul,
fieldset,
form,
label,
legend,
button,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-weight: 400;
    font-style: normal;
    line-height: var(--defaultLineHeight);
}
address,
caption,
cite,
code,
dfn,
em,
th,
var,
optgroup {
    font-style: normal;
    font-weight: normal;
} /* 将斜体扶正 */ /* 注：optgroup 无法扶正 */
/** 设置默认字体 **/
body,
label,
button,
input,
select,
textarea {
    line-height: var(--defaultLineHeight);
    color: var(--defaultWordColor);
    font-family: var(--defaultFontFamily);
    font-size: var(--defaultFontSize);
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
} /*字体抗锯齿*/
html,
body {
    background: #fff;
}
button,
input,
select,
textarea {
    outline: none;
    border: none;
    *font-size: 100%; /*to enable resizing for IE*/
}
textarea {
    resize: none;
} /*防止拖动*/
/** 重置列表元素 **/
ul,
ol,
dl,
li {
    list-style-type: none;
}
em,
s,
i {
    font-style: normal;
    text-decoration: none;
} /* 将斜 体扶正 */
fieldset,
img,
iframe {
    border: 0;
} /* img 搭车：让链接里的 img 无边框 */
img {
    border: 0;
    vertical-align: middle;
    /*  去掉图片低测默认的3像素空白缝隙*/
    object-fit: cover;
    font-style: italic;
    background-repeat: no-repeat;
    background-size: cover;
    shape-margin: 0.75rem;
}
img,
a img {
    -ms-interpolation-mode: bicubic;
} /*ie图片缩放不失真*/
iframe {
    display: block;
}
/** 重置文本格式元素 **/
a {
    color: var(--defaultLinkColor);
    text-decoration: none;
    cursor: pointer;
    outline: none;
    blr: expression(this.onFocus=this.blur());
} /*blr：ie鼠标点击时不显示虚线*/
a:active,
a:hover {
    color: var(--defaultHoverColor);
    text-decoration: none;
}
a:active {
    background-color: transparent;
} /*背景颜色透明*/
a:focus {
    outline: 0 none;
} /*去掉点击链接时周围的虚线框*/
:focus {
    outline: 0 none;
}
::-moz-selection {
    background: #39f;
    color: #ffffff;
    text-shadow: none;
}
::selection {
    background: #39f;
    color: #ffffff;
    text-shadow: none;
}
.container,
.container-fluid {
    padding-right: 0;
    padding-left: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    text-decoration: none;
    font-weight: normal;
    font-size: 100%;
} /*100%=父级大小*/
sup {
    vertical-align: text-top;
} /* 重置, 减少对行高的影响 */
sub {
    vertical-align: text-bottom;
}
/* 重置 HTML5 元素 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    display: block;
}

/*版心提取*/
.container {
    margin: 0 auto;
    width: var(--containerWidth);
    max-width: var(--containerWidth);
}
.container-w {
    width: 100%;
}
/* [Base] Function
------------------------------*/
.not-width,
.not-width3,
.not-width2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.not-width {
    -webkit-line-clamp: 1;
}
.not-width2 {
    -webkit-line-clamp: 2;
}
.not-width3 {
    -webkit-line-clamp: 3;
}
/* 覆盖式省略号 */
.ell1 {
    position: relative;
    height: 2em;
    line-height: 1em;
    overflow: hidden;
}
#words:after {
    /* 对文本标签本身做限制 */
    content: '...';
    position: absolute;
    width: 2em;
    bottom: 0;
    right: 0;
    background-color: #fff;
}

.fn-fl {
    float: left;
}
.fn-fr {
    float: right;
}
.fn-cl {
    clear: both;
}
/* 清除浮动 */
.fn-clear {
    display: block;
    visibility: hidden;
    overflow: hidden;
    clear: both;
    width: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
}
.fn-clearfix:after {
    display: block;
    visibility: hidden;
    content: '';
    clear: both;
    height: 0;
    font-size: 0;
}
.fn-clearfix {
    display: block;
}
* html .fn-clearfix {
    height: 1%;
    zoom: 1;
}
.swiper-slide a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
}
.swiper-slide a img {
    width: 100%;
    height: 100%;
}
.swiper-slide a p {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.yw-container .swiper-pagination {
    bottom: 0;
    right: 10px;
    left: auto;
    top: auto;
    width: fit-content;
}
/* 下划线过渡动画 */
.undLink {
    background: -webkit-linear-gradient(left, var(--defultundLinkColor), var(--defultundLinkColor)) no-repeat right bottom/0 2px;
    background: -moz-linear-gradient(left, var(--defultundLinkColor), var(--defultundLinkColor)) no-repeat right bottom/0 2px;
    background: -o-linear-gradient(left, var(--defultundLinkColor), var(--defultundLinkColor)) no-repeat right bottom/0 2px;
    background: linear-gradient(to right, var(--defultundLinkColor), var(--defultundLinkColor)) no-repeat right bottom/0 2px;
    padding-bottom: 2px;
    -webkit-transition: background-size 0.5s;
    -o-transition: -o-background-size 0.5s;
    -moz-transition: background-size 0.5s;
    transition: background-size 0.5s;
    transition: background-size 0.5s, -o-background-size 0.5s;
}

.undLink:hover {
    background-position: left bottom;
    -o-background-size: 100% 2px;
    background-size: 100% 2px;
}
.tr-x {
    position: relative;
    -webkit-transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.tr-x:hover {
    padding-left: 5px;
}
/* 伸缩效果 */
.stretch {
    width: 100%;
    -webkit-transform: scaleY(0);
    -moz-transform: scaleY(0);
    -ms-transform: scaleY(0);
    -o-transform: scaleY(0);
    transform: scaleY(0);
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
    -webkit-transition: all 0.6s;
    -o-transition: all 0.6s;
    -moz-transition: all 0.6s;
    transition: all 0.6s;
}
/* 竖屏 */
@media all and (orientation: portrait) {
    /* 自定义样式 */
}
/* 横屏 */
@media all and (orientation: landscape) {
    /* 自定义样式 */
}
/* @media screen and (max-width: 640px) {
	html {
		font-size: 37.5px !important;
	}
    
} */
/* 避免 100vh 高时出现滚动条 */
@supports (-webkit-touch-callout: none) {
    body {
        height: -webkit-fill-available;
    }
}

:root {
    /* 主题配置 */
    --defaultWordColor: #333; /* 默认字体颜色 */
    --defaultLinkColor: #333; /* 默认链接颜色 */
    --defultundLinkColor: #333; /* 默认下滑线颜色 */
    --defaultHoverColor: #0c7a53; /* 默认 hover 颜色 */
    --defaultBodyColor: #fefaf6; /* 默认body 背景颜色 */
    --defaultLineColor: #a4dfa4; /* 默认分割线颜色 */
    --defaultFontSize: 18px; /* 默认字号 */
    --defaultFontFamily: Arial, 'Microsoft Yahei', 'Hiragino Sans GB', 'Helvetica Neue', Helvetica, Tahoma, 'WenQuanYi Micro Hei', SimSun, sans-serif;
    --defaultLineHeight: 1.5; /* 默认行高倍数 */
    --containerWidth: 1200px; /* 版心宽度 */
}
/* show页面 img 偏差 */
.article-content img {
    width: auto;
}
.article-content video {
    display: initial;
}
.social-share .icon-wechat .wechat-qrcode .qrcode img {
    margin-left: -40px;
}
