/*Base*/
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0
}

img {
    outline-width: 0;
    vertical-align: middle;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal
}

ul {
    list-style: none outside none;
}

ol {
    list-style-position: inside;
}

caption, th {
    text-align: left
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal
}

q:before, q:after {
    content: ''
}

abbr, acronym {
    border: 0
}

* {
    padding: 0;
    margin: 0;
    text-align: left;
    box-sizing: border-box;
}

body {
    background-color: #f2f3f2;
}

a {
    transition: 0.6s;
}

a:link, a:visited {
    text-decoration: none;
}

a:hover, a:active {
    text-decoration: none;
    border: none;
}

a, a > span,
button, button > span {
    transition: 0.6s;
}

.ellipsis {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wrapper {
    width: 96%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.btn {
    border-radius: 12px;
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    text-align: center;
    font-size: 16px;
    line-height: 1em;
    height: 48px;
    border: none;
    cursor: pointer;
    transition: 0.6s;
}

.card-link {
    box-sizing: border-box;
    cursor: pointer;
    transition: 0.6s;
}

.btn:hover,
.card-link:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

.btn:active,
.card-link:active {
    transform: scale(0.97);
    filter: brightness(0.9);
}

.test-btn {
    height: 50px;
    width: 60%;
    margin: 20px auto;
    background-color: #0099ff;
    color: #ffffff;
}

.icon {
    display: inline-block;
    margin-right: 0.4em;
    font-size: 0.9em;
    padding: 0.05em 0;
}

.block-mt {
    margin-top: 20px;
}

.block-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.error-msg {
    color: #ff263b;
    font-size: 14px;
    line-height: 1em;
    display: none;
}

@media (max-width: 500px) {
    .block-mt {
        margin-top: 10px;
    }

    .block-list {
        gap: 10px;
        margin-top: 10px;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.rotating {
    animation: rotate 3s linear infinite;
}

.loading {
    text-align: center;
    font-size: 16px;
    color: #1a9120;
}

.tip {
    text-align: center;
    font-size: 16px;
    color: #999999;
}

.ad-banner {
    display: block;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.ad-banner img {
    width: 100%;
}

/* header ----------------------------------------------------------------------------------------------------------- */
header,
header #nav-btn > div,
nav,
#user-center,
#user-center > p,
#is-online {
    display: flex;
    flex-flow: row;
    align-items: center;
    box-sizing: border-box;
}

header {
    position: fixed;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(4px);
    justify-content: space-between;
    gap: 20px;
    padding: 0 20px;
    border-bottom: 1px #eeeeee solid;
}

body {
    padding-top: 60px;
}

header #logo {
    display: inline-block;
    margin: 0;
    padding: 0;
    height: 30px;
}

header #logo,
#header-search {
    width: 185px;
}

header #logo > img {
    width: 100%;
}

header #nav-btn {
    display: none;
}

header #nav-btn > div {
    justify-content: center;
    height: 40px;
    text-align: center;
    color: #454545;
    font-size: 16px;
}

header #nav-btn span {
    display: inline-block;
    line-height: 1em;
}

header #nav-btn .icon {
    margin-right: 3px;
    font-size: 14px;
}

nav {
    justify-content: space-between;
    font-size: 16px;
    width: 100%;
    max-width: 900px;
}

nav a {
    color: #666666;
}

nav a.current {
    color: #1a9120;
    font-weight: bold;
}

nav a:hover {
    color: #4d7e13;
}

main.wrapper {
    padding-top: 20px;
}


@media (max-width: 950px) {
    header {
        padding: 0 6px;
        height: 60px;
    }

    body {
        padding-top: 60px;
    }

    header #logo {
        width: 130px;
        height: 21px;
    }

    header #nav-btn {
        display: inline-block;
    }

    nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        z-index: 99;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(4px);
    }

    nav a {
        display: inline-block;
        width: 100%;
        line-height: 32px;
        text-align: center;
        font-size: 14px;
        color: #454545;
        border-bottom: 1px solid #eeeeee;
        background-color: #ffffff;
    }

    .nav-on > div {
        color: #1a9120 !important;
    }
}

/* footer ----------------------------------------------------------------------------------------------------------- */
footer,
footer .contact,
footer .contact > a {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

footer {
    flex-flow: column;
    border-top: 1px #dddddd solid;
    padding: 20px 0;
    margin-top: 20px;
    gap: 12px;
    background-color: #666666;
}

footer > div {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    font-size: 12px;
    color: #ccc;
}

footer > div a {
    display: block;
    color: #ccc;
}

footer > div a:hover {
    color: #b0eab2;
    text-decoration: underline;
}

footer > div a img {
    width: 12px;
    height: 12px;
    margin-right: 3px;
}

footer .contact,
footer .contact a {
    flex-flow: row;
}

footer .contact {
    gap: 0;
    font-size: 14px;
}

footer .contact > a {
    width: 160px;
    height: 32px;
    background-color: #888;
}

footer .contact > a:first-child {
    border-radius: 16px 0 0 16px;
    border-right: 1px #aaa solid;
}

footer .contact > a:last-child {
    border-radius: 0 16px 16px 0;
}

footer .contact .weixin {
    color: #fff;
}

footer .contact .email {
    color: #fff;
}

footer .footer-links {
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2px;
    padding: 12px;
    background-color: #f1f1f1;
    border-radius: 6px;
    margin: 12px 0;
}

footer .footer-links a {
    display: block;
    font-size: 13px;
    color: #888888;
    padding: 0 3px;
}

footer .footer-links a:hover {
    color: #4d7e13;
}


@media (max-width: 500px) {
    footer > div {
        gap: 0;
        flex-flow: column;
        line-height: 26px;
    }
}

/* 面包屑导航 --------------------------------------------------------------------------------------------------------- */
.breadcrumb {
    width: 100%;
    height: 30px;
    box-sizing: border-box;
    border-bottom: 1px #cccccc solid;
    margin-bottom: 20px;
    padding-left: 10px;
}

.breadcrumb a,
.breadcrumb span {
    font-size: 14px;
    line-height: 1em;
    margin-right: 3px;
}

.breadcrumb span.icon {
    font-size: 12px;
}

.breadcrumb span {
    color: #888888;
}

.breadcrumb a {
    color: #888888;
}

.breadcrumb a:hover {
    color: #4d7e13;
}

@media (max-width: 600px) {
    .breadcrumb {
        margin-bottom: 10px;
    }
}

/* 布局 -------------------------------------------------------------------------------------------------------------- */

/* info-block -------------------------------------------------------------------------------------------------------- */
.info-block {
    box-sizing: border-box;
    padding: 30px;
    border-radius: 12px;
    background-color: #ffffff;
}

.info-block > h2 {
    display: flex;
    flex-flow: row;
    align-items: center;
    line-height: 1em;
    padding: 0 0 12px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #cccccc;
    box-sizing: border-box;
    font-size: 18px;
    font-weight: bold;
    color: #1a9120;
}

.info-block > h2.between {
    justify-content: space-between;
}

.info-block > h2.between a.more {
    color: #1a9120;
    font-size: 12px;
    font-weight: lighter;
    background-color: #f1eaff;
    padding: 4px 10px;
    border-radius: 6px;
    transition: 0.4s;
}

.info-block > h2.between a.more:hover {
    color: #ffffff;
    background-color: #4d7e13;
}

.info-block > h2 span.tag {
    font-size: 12px;
    padding-top: 4px;
    font-weight: lighter;
    color: #aaaaaa;
    margin-left: 6px;
}

.info-block b{
    color: #4d7e13;
}

.info-block p{
    font-size: 16px;
    line-height: 1.8em;
    color: #888;
    margin-bottom: 0.8em;
}

.info-block a,
.info-block a:visited {
    color: #0099ff;
}

.info-block a:hover,
.info-block a:active {
    color: #27aaff;
}

.info-block .pic{
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    overflow: hidden;
    border-radius: 8px;
}

.info-block .pic>img{
    width: 100%;
}

.info-block p.tip{
    font-size: 12px;
    line-height: 1.8em;
    color: #aaa;text-align: center;
}

@media (max-width: 500px) {
    .info-block {
        padding: 15px 10px;
    }

    .waterfall {
        column-count: 1;
    }
}

/* test-list-block ********************************************************************* */
.test-list-block .links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    box-sizing: border-box;
    margin-top: 20px;
}

.test-list-block .links > a {
    display: block;
    box-sizing: border-box;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-radius: 10px 20px 10px 10px;
    padding: 8px;
    color: #fff;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
    background-color: #7cbb99;
    transition: 0.6s;
}

.test-list-block .links > a:hover {
    background-color: #4d7e13;
}


.test-list-block .icon {
    margin-right: 4px;
    color: #dddddd;
}

@media (max-width: 900px) {
    .test-list-block .links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .test-list-block .links {
        gap: 10px;
        margin-top: 10px;
    }

    .test-list-block .links > a > h3 {
        font-size: 13px;
    }

    .test-list-block .links > a .desc {
        font-size: 10px;
    }
}

/* test-list ********************************************************************* */
.test-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    box-sizing: border-box;
    padding: 10px;
}

.test-list > a {
    display: block;
    box-sizing: border-box;
    background-color: #ffffff;
    border-radius: 12px 24px 12px 12px;
    overflow: hidden;
}

.test-list > a:hover {
    transform: scale(1.03);
    background-color: #4d7e13;
}

.test-list > a h3,
.test-list > a .info {
    width: 100%;
    flex-wrap: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-sizing: border-box;
    display: flex;
    flex-flow: row;
    line-height: 1.4em;
}

.test-list > a h3 {
    align-items: flex-start;
    justify-content: flex-start;
    font-size: 16px;
    color: #666666;
    padding: 8px 10px;
}

.test-list > a .info {
    align-items: center;
    justify-content: flex-end;
    font-size: 12px;
    color: #999999;
    border-top: 1px #eeeeee solid;
    padding: 5px 10px;
}

.test-list > a:hover h3,
.test-list > a:hover .info{
    color: #FFFFFF;
}

@media (max-width: 500px) {
    .test-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 6px 2px;
    }

    .test-list > a h3,
    .test-list > a .info {
        padding: 6px 8px;
    }

    .test-list > a h3 {
        font-size: 13px;
    }

    .test-list > a .info {
        font-size: 10px;
    }
}

/* test-search ******************************************************************************************************/
search.test-search > form {
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    box-sizing: border-box;
    width: 100%;
    padding: 0;
}

search.test-search > form input,
search.test-search > form button {
    height: 52px;
    box-sizing: border-box;
    font-size: 14px;
    border-radius: 8px;
}

#header-search search.test-search > form input,
#header-search search.test-search > form button {
    height: 40px !important;
}

search.test-search > form input {
    border: 1px solid #cccccc;
    padding: 0 10px;
    color: #1a9120;
    width: 100%;
}

search.test-search > form input:focus {
    border: 1px #1a9120 solid;
}

search.test-search > form button {
    border: none;
    width: 52px;
    background: linear-gradient(145deg, #3adac6, #5191ff);
    color: #ffffff;
    text-align: center;
    cursor: pointer;
    transition: 0.6s;
}

search.test-search > form button:hover {
    filter: brightness(120%);
}

.page-search {
    margin-bottom: 20px;
}

@media (max-width: 500px) {
    search.test-search > form {
        gap: 3px;
    }

    search.test-search > form button {
        width: 52px;
    }
}


/* 文章 ****************************************************************************************************************/
/* article-detail --------------------------------------------------------------------------------- */
.article-detail{
    padding: 30px !important;
    background-color: #ffffff !important;
    border-radius: 20px;
}

.article-detail>h1{
    font-size: 28px;
    color: #333333;
    text-align: center;
    font-weight: bold;
    line-height: 1.5em;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #eeeeee;
}

.article-detail>div.article-base-info{
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    color: #999999;
    line-height: 1em;
    margin-top: 10px;
    padding: 0 10px;
}

.article-detail>div.article-base-info span.icon{
    color: #cccccc;
    margin-right: 5px;
    font-size: 12px;
    padding-top: 2px;
}

.article-content{
    margin-top: 10px;
    box-sizing: border-box;
    padding: 20px;
}


.article-test-link,
.article-test-link .action{
    display: flex;
    flex-flow: row;
    align-items: center;
}

.article-test-link {
    justify-content: space-between;
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    background: linear-gradient(135deg, #428e46, #89b68c);
    margin-top: 20px;
}

.article-test-link .text{
    font-size: 16px;
    color: #ffffff;
}

.article-test-link .text>span:nth-child(1){
    color: rgba(255,255,255,0.6);
    margin-right: 5px;
}

.article-test-link .text>a,
.article-test-link .text>a:visited{
    color: #ffffff;
}

.article-test-link .text>a:hover,
.article-test-link .text>a:active{
    text-decoration: underline;
}

.article-test-link .action{
    justify-content: center;
    color: #fff;
    background-color: #ff8c00;
    font-size: 16px;
    line-height: 1em;
    width: 120px;
    height: 36px;
    text-align: center;
    padding: 0;
    margin: 0;
    border-radius: 6px;
}

.article-test-link .action:hover{
    background-color: #ffaa46;
}

/* article-list --------------------------------------------------------------------------------- */
.article-list{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    box-sizing: border-box;
    padding: 20px 0;
}

.article-list a.article-link{
    display: block;
    width: 100%;
    margin: 0 auto;
    border: 1px #f1f1f1 solid;
    border-radius: 10px;
    padding: 16px;
    background-color: #fff;
}

.article-list a.article-link .article_title{
    font-size: 20px;
    color: #454545;
    margin-bottom: 0.5em;
}

.article-list a.article-link .base-info{
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: left;
    font-size: 14px;
    color: #999999;
    gap: 6px;
    margin-bottom: 0.5em;
}

.article-list a.article-link .icon{
    font-size: 0.8em;
}

.article-list a.article-link .article_intro{
    font-size: 12px;
    color: #999999;
    text-align: justify;
}

.article-list a.article-link:hover {
    border: 1px #1a9120 solid;
}

.article-list a.article-link:hover .article_title{
    color: #1a9120;
}

.article-list a.article-link .create-time{
    font-size: 12px;
    color: #999;
    text-align: right;
    border-top: 1px #eee solid;
    line-height: 1.8em;
    margin-top: 6px;
}

/* 翻页 ************************************************************************************************************** */
.paging-bar{
    display: flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.paging-bar>a.btn{
    display: inline-block;
    padding: 0 8px;
    border-radius: 3px;
    border: 1px solid #dddddd;
    margin: 0 6px;
    font-size: 14px;
    line-height: 30px;
    height: 30px !important;
    color: #999999;
}

.paging-bar>a.btn:hover {
    border: 1px solid #0099ff;
    color: #0099ff;
}

.paging-bar>a.btn:hover {
    border: 1px solid #2facff;
    color: #2facff;
}

.paging-bar>div{
    display: inline-block;
    font-size: 14px;
    color: #999999;
    margin: 0 8px;
}

.paging-bar>div>span:first-child {
    color: #0099ff;
}


@media (max-width: 950px) {
    .article-list{
        gap: 12px;
    }

    .article-list a.article-link{
        max-width: 86%;
    }

}