a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: 0 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    vertical-align: middle;
}

img,
video {
    max-width: 100%;
    height: auto;
    border: 0;
    vertical-align: middle;
    line-height: 1;
}

button,
form,
input,
select,
textarea {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 1em;
    color: var(--tx-link);
    font-family: "Microsoft YaHei UI", "Microsoft YaHei", Verdana, sans-serif;
    background-color: transparent;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

li,
ol,
ul {
    list-style: none;
}

body {
    font-size: 14px;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
    word-wrap: break-word;
    word-break: break-all;
    background-color: #ffffff;
    color: #222;
}

a {
    color: #121212;
    -webkit-transition: all 0.35s ease 0s;
    transition: all 0.35s ease 0s;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    outline: 0;
    color: #2f2beb;
}

a:focus {
    outline: 0;
}

.bt4-width {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.flex {
    display: flex;
    align-items: center;
}

.flex-wc {
    justify-content: center;
}

.flex-sh {
    flex: none;
}

.flex-gr {
    flex: auto;
}

.bt4-header {
    position: relative;
    z-index: 100;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px 0 #eee;
}


.bt4-header .name {
    height: 60px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    font-size: 22px;
    color: #fff;
}

.bt4-header .nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.nav li {
    margin: 0 0 0 2.8em;
    flex: none;
}

.nav a {
    display: inline-flex;
    height: 60px;
    align-items: center;
    font-size: 16px;
    position: relative;
}

.nav a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: #2f2beb;
    border-radius: 3px 3px 0 0;
    opacity: 0;
    transition: all .2s;
}

.nav a:hover::after,
.nav .on a::after {
    margin-left: -16px;
    opacity: 1;
    width: 32px;
}

.nav li ul {
    display: none;
}

.img-d {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.img-d img {
    width: 100%;
    height: auto;
}

.list-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-right: -10px;
}

.list-box>* {
    width: 25%;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 0 20px 0;
}

.img-box {
    overflow: hidden;
    display: block;
    position: relative;
    width: 100%;
    height: 0;
}

.img-box[data-ratio="60"] {
    padding-top: 75%;
}

.img-box img {
    -o-object-fit: cover;
    object-fit: cover;
    -webkit-transition: all 0.6s ease-out 0s;
    transition: all 0.6s ease-out 0s;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.05);
}

.bt4-i-box {
    display: flex;
    flex-direction: column;
    transition: all .2s;
    border-radius: 5px;
    overflow: hidden;
    background-color: #f5f4ff;
}

.bt4-i-box:hover {
    box-shadow: 0 1px 4px 0 #eee;
}

.bt4-i-box section {
    padding: 10px 14px;
}

.bt4-i-box h2 {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4em;
    height: 2.8em;
    overflow: hidden;
    margin: 0 0 10px 0;
}

.bt4-i-box p {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    height: 1.5em;
    overflow: hidden;
}

.bt4-i-box p span {
    flex: none;
    margin-right: 1.2em;
}

.bt4-i-box p span.pull-right {
    flex: auto;
    text-align: right;
    margin: 0 0 0 1.2em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bt4-footer {
    color: #888;
}

.bt4-footer a {
    color: #888;
}

.links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background-color: #f5f4ff;
    padding: 15px 0 0 15px;
    border-radius: 5px;
}


.bt4haf-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.links>*,
.bt4haf-tags>* {
    margin: 0 1.5em 10px 0;
}

.bt4haf-tags a {
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    color: #999;
    height: 28px;
    border: 1px solid #ddd;
    border-radius: 2px;
    margin-right: 10px;
}

.bt4haf-tags a:hover {
    border-color: #2f2beb;
    color: #2f2beb;
}

.copy {
    padding: 20px 10px;
    text-align: center;
    font-size: 12px;
}

.bt4haf-box {
    background: #fff;
    box-shadow: 0 1px 4px 0 #eee;
    margin-bottom: 20px;
    padding: 20px 26px;
    border-radius: 7px;
}

.bt4haf-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bt4haf-title1 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.bt4haf-auxiliary {
    color: #999;
    padding-bottom: 20px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.bt4haf-auxiliary>* {
    margin-right: 1.5em;
}


/**文章内容的文本处理**/
.bt4haf-text {
    line-height: 1.8;
    font-size: 18px;
    margin-bottom: 20px;
    text-indent: 2em;
}


.bt4haf-text p img{
    margin: 0 auto;
    display: block;
}

.bt4haf-text h4,
.bt4haf-text h5,
.bt4haf-text h6,
.bt4haf-text ol,
.bt4haf-text p,
.bt4haf-text pre,
.bt4haf-text table,
.bt4haf-text ul {
    margin-bottom: 1em;
}

.bt4haf-text ol {
    list-style-type: decimal;
    list-style-position: outside;
    padding-left: 2em;
}

.bt4haf-text ol li {
    list-style: decimal;
}

.bt4haf-text ol li::marker {
    color: var(--tx-color);
    font-size: 1.1em;
    font-weight: 700;
}

.bt4haf-text ol li,
.bt4haf-text ul li {
    padding: 0.2em 0;
}

.bt4haf-text h1,
.bt4haf-text h2,
.bt4haf-text h3 {
    border-left: 4px solid var(--tx-color);
    background-color: rgba(0, 0, 0, 0.02);
    padding: 0.5em 1em;
    margin-bottom: 0.8em;
    line-height: 1.2;
    border-radius: var(--tx-radius);
}

.bt4haf-text h1 {
    font-size: 1.4em;
}

.bt4haf-text h2 {
    font-size: 1.2em;
}

.bt4haf-text h3 {
    font-size: 1.1em;
}

.bt4haf-text iframe,
.bt4haf-text img,
.bt4haf-text video {
    max-width: 100% !important;
    overflow: hidden !important;
}

.bt4haf-text blockquote {
    border-left: 10px solid rgba(102, 128, 153, 0.075);
    background-color: rgba(102, 128, 153, 0.05);
    border-radius: 0 var(--tx-radius) var(--tx-radius) 0;
    padding: 0.8em 1.2em;
    margin: 0 0 1em 0;
    opacity: 0.8;
}

.bt4haf-text blockquote> :last-child {
    margin-bottom: 0;
}


.comm-tips {
    padding: 30px;
    text-align: center;
}

.msg {
    padding: 15px 0;
    border-bottom: 1px solid #eee;

}

.bt4haf-box .msg:last-child {
    border: 0;
}

.msg .msg {
    border: 0;
    background: rgba(0, 0, 0, 0.02);
    padding: 15px;
    margin-top: 15px;
    border-radius: 7px;
}

.msgname section {
    font-size: 16px;
}

.msgname h3 {
    font-size: 15px;
    margin-bottom: 5px;
    color: #999;
}

.msgname p {
    color: #aaa;
    margin-top: 5px;
    font-size: 13px;
}

@media screen and (max-width: 996px) {

    .bt4-header,
    .img-d {
        margin-bottom: 3vw;
    }

    .bt4-width {
        padding-left: 3vw;
        padding-right: 3vw;
    }

    .bt4-header .bt4-width {
        flex-direction: column;
    }

    .bt4-header .name {
        width: 100vw;
        border-bottom: 1px solid #eee;
        justify-content: center;
    }

    .bt4-header .name,
    .nav a {
        height: 2.4em;
    }

    .nav {
        overflow-y: hidden;
        overflow-x: auto;
    }

    .list-box {
        margin-left: -1.5vw;
        margin-right: -1.5vw;
    }

    .list-box>* {
        width: 50%;
        padding-left: 1.5vw;
        padding-right: 1.5vw;
        margin-bottom: 3vw;
    }

}