/* ----------BASE---------- */
* {
    margin: 0;
    padding: 0;
    /* transition: all .3s ease-in-out; */
}

:root {
    --page-maxwidth: 2360px;
    --page-padding: 0;
    --page-margin: auto;
}

html {
    min-width: 320px;
    overflow-y: auto;
}

body {
    font-size: 18px;
    font-family: "Noto Sans SC";
    font-weight: 400;
    background: #fff;
    color: #808080;
    margin: 0 auto;
}

ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #808080;
}

a:hover {
    color: #000;
}

img {
    border: none;
    display: block;
}

input {
    font-size: 18px;
    font-family: "Noto Sans SC";
    border: 1px solid #ddd;
    border-radius: 0;
    
    line-height: 40px;
    text-align: center;
    box-sizing: border-box;
    outline: none;
}

input::placeholder {
    color: #ddd;
}

input:focus {
    border: 1px solid #808080;
}

button {
    font-size: 18px;
    font-family: "Noto Sans SC";
    border: none;
    outline: none;
    box-sizing: border-box;
}

svg {
    width: 20px;
    height: 20px;
}

.imgloading {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.imgloading img {
    width: 50px !important;
    height: 50px !important;
    content: url(../imgs/ico_loading.svg);
    animation: imgloading 1s linear infinite;
    opacity: 0.5;
}

@keyframes imgloading {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(180deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



/* ----------COMMON---------- */
header {}

main {}

section {}

article {
    width: auto;
}

footer {
    display: none;
}

h1 {
    margin: 80px auto 60px;
    text-align: center;
}

h1 span {
    font-size: 36px;
    font-weight: 400;
    color: #333;
    padding: 5px 0;
    display: inline-block;
    /* border-bottom: 2px solid #aaa; */
}

h1 span::after {
    content: "";
    display: block;
    border-bottom: 2px solid #333;
}

h1 i {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    color: #666;
    padding: 5px 0;
    display: block;
}

.clear {
    clear: both;
    height: 0;
}

.no-scroll {
    overflow: hidden;
}

.active {
    display: block;
}


/*搜索区*/
.search-box {
    max-width: var(--page-maxwidth);
    padding: 0 var(--page-padding);
    margin: 80px var(--page-margin) 40px;
    display: flex;
    align-items: center;
    justify-content: center;

    input {
        width: 100%;
        max-width: 800px;
        height: 50px;
        border: 1px solid #ddd;
        border-radius: 0;
        line-height: 40px;
        text-align: center;
        transition: all .3s ease-in-out;
    }

    input::placeholder {
        color: #ddd;
    }

    input:focus {
        border: 1px solid #808080;
        max-width: 960px;
    }

    button {
        width: 50px;
        height: 50px;
        background: url(../imgs/ico_search_s.svg) no-repeat center center / auto 50%;
        cursor: pointer;
        margin-left: -50px;
        opacity: 0.5;
        transition: all .3s ease-in-out;
    }

    button:hover {
        opacity: 1;
    }
}

/*文章图文排版模板*/
.article {
    max-width: var(--page-maxwidth);
    padding: 0 var(--page-padding);
    margin: 120px var(--page-margin);
    display: flex;
    gap: 60px;
    flex-direction: column;

    font-size: 16px;
    font-weight: 300;
    color: #8d8d8d;
    line-height: 200%;
}

.article>div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-box-sizing: unset;
    box-sizing: unset;
}

.article .img {
    position: relative;

    img {
        width: 100%;
        height: auto;
    }
}

.article .des {
    display: block;
    color: #ccc;
    font-size: 14px;
    line-height: 30px;
    text-align: right;
    width: 100%;
    position: absolute;
    bottom: -30px;
}

.article .text {
    padding: 0 0 80px;
    display: block;
    transition: all .3s ease-in-out;
}

/* <!-- 左图右文5:5 --> */
.article .layout-mould-1 {
    gap: 40px;
    flex-direction: row;

    .img {
        width: 50%;
    }

    .des {
        text-align: left;
    }

    .text {
        width: 50%;
    }
}

/* <!-- 左文右图5:5 --> */
.article .layout-mould-2 {
    gap: 40px;
    flex-direction: row;

    .img {
        width: 50%;
    }

    .text {
        width: 50%;
    }
}

/* <!-- 左图右文5:5可换色 --> */
.article .layout-mould-10 {
    gap: 40px;
    flex-direction: row;
    background: #f5f5f5;

    .img {
        width: 50%;
    }

    .des {
        text-align: left;
    }

    .text {
        width: calc(50% - 40px);
        padding: 0 40px 0 0;
    }
}

/* <!-- 左文右图5:5可换色 --> */
.article .layout-mould-11 {
    gap: 40px;
    flex-direction: row;
    background: #f5f5f5;

    .img {
        width: 50%;
    }

    .text {
        width: calc(50% - 40px);
        padding: 0 0 0 40px;
    }
}

/* <!-- 左图右文6:4 --> */
.article .layout-mould-3 {
    gap: 40px;
    flex-direction: row;
    background: #f5f5f5;

    .img {
        width: 67%;
    }

    .text {
        width: calc(37% - 40px);
        padding: 0 40px 0 0;
    }
}

/* <!-- 左图右文4:6 --> */
.article .layout-mould-9 {
    gap: 40px;
    flex-direction: row;
    background: #f5f5f5;

    .img {
        width: 67%;
    }

    .text {
        width: calc(37% - 40px);
        padding: 0 0 0 40px;
    }
}

/* <!-- 左图右图5:5 --> */
.article .layout-mould-4 {
    gap: 40px;
    flex-direction: row;

    .img {
        width: 50%;
    }
}

/* <!-- 左中右三图并排 --> */
.article .layout-mould-5 {
    gap: 0;
    flex-direction: row;

    .img {
        width: 50%;
    }
}

/* <!-- 大图多图组 --> */
.article .layout-mould-6 {
    gap: 60px;
    flex-direction: column;

    .img {
        max-width: 100%;

        .img {
            width: 50%;
        }
    }
}

/* <!-- 段落文字左右缩进 --> */
.article .layout-mould-7 {
    .text {
        padding: 0 120px;
    }
}

/* <!-- 段落文字左右撑满 --> */
.article .layout-mould-8 {
    .text {
        padding: 0 0;
    }
}


/*列表排序*/
.list-order {
    height: 40px;
    border-bottom: 1px solid rgba(0, 0, 0, .13);
    box-sizing: border-box;
    max-width: var(--page-maxwidth);
    padding: 0 var(--page-padding);
    margin: 40px var(--page-margin);
    display: flex;
    justify-content: flex-end;

    button {
        height: 40px;
        border-bottom: 1px solid rgba(0, 0, 0, .13);
        line-height: 40px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        color: #222;
        padding-left: 25px;
        padding-right: 50px;
        background: #f5f5f5 url(../imgs/ico_order.svg) no-repeat right 25px center / auto 50%;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

    button.active {
        background-color: #808080;
        background-image: url(../imgs/ico_order_white.svg);
        color: #fff;
    }

    button:hover,
    button.active:hover {
        background-color: #222;
        background-image: url(../imgs/ico_order_white.svg);
        color: #fff;

    }

}

/*翻页*/
.page-list {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    margin: 80px 0;

    button {
        background: #f5f5f5;
        color: #808080;
        line-height: 40px;
        display: inline-block;
        text-align: center;
        width: 40px;
        height: 40px;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

    button.page-prev {
        width: 60px;
        background: #f5f5f5 url(../imgs/ico_prev.svg) no-repeat center center / auto 50%;
    }

    button.page-next {
        width: 60px;
        background: #f5f5f5 url(../imgs/ico_next.svg) no-repeat center center / auto 50%;
    }

    button.active {
        background: #808080;
        color: #fff;
    }

    button:hover {
        background-color: rgba(0, 0, 0, .1)
    }
}

/*文件下载*/
.downloads {
    max-width: var(--page-maxwidth);
    padding: 0 var(--page-padding);
    margin: 120px var(--page-margin);
    display: flex;
    gap: 0;
    flex-direction: column;

    h3 {
        font-weight: 400;
        font-size: 22px;
        line-height: 40px;
        color: #222;
        display: flex;
        justify-content: flex-start;
        box-sizing: border-box;
        border-bottom: 1px solid #ddd;
    }

    ul {
        line-height: 40px;
    }

    li {
        height: 60px;
        display: grid;
        grid-template-columns: 35% 15% 15% 240px;
        width: -webkit-fill-available;
        padding-left: 40px;
        box-sizing: border-box;
        border-bottom: 1px solid #ddd;
        justify-content: space-between;
        align-items: center;

        dt {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        dd {
            .download-btn {
                cursor: pointer;
                width: 120px;
                height: 50px;
                background: url(../imgs/ico_download.svg) no-repeat center center / auto 50%;
                transition: all .3s ease-in-out;
            }

            .download-btn:hover {
                background-position: bottom 10px center;
            }
        }

        dd:last-child {
            display: flex;
            text-align: center;
            align-items: center;
            justify-content: center;
        }
    }

    ul.title {}

    ul.title li {
        background-color: #f5f5f5;
        color: #222;
    }

    .button-area {
        display: flex;
        justify-content: flex-end;
        padding-top: 20px;

        .download-all {
            text-align: left;
            cursor: pointer;
            width: 240px;
            line-height: 50px;
            color: #222;
            padding-left: 90px;
            background: #f5f5f5 url(../imgs/ico_download.svg) no-repeat left 60px center / auto 50%;
            transition: all .3s ease-in-out;
        }

        .download-all:hover {
            color: #fff;
            background-color: #222;
            background-image: url(../imgs/ico_download_white.svg);
            background-position: left 65px center;
        }
    }

}

/*相关推荐*/
.recommend {
    max-width: var(--page-maxwidth);
    padding: 0 var(--page-padding);
    margin: 120px var(--page-margin);

    h2 {
        font-weight: 500;
        font-size: 32px;
        line-height: 40px;
        color: #222;
        display: flex;
        justify-content: center;
        margin-bottom: 60px;
    }
}

/*其他链接*/
.other-link {
    max-width: var(--page-maxwidth);
    padding: 0 var(--page-padding);
    margin: 80px var(--page-margin);
    display: flex;
    gap: 0;
    justify-content: space-between;
    flex-direction: row;
    display: none;

    a {
        width: 100%;
        height: 60px;
        font-size: 22px;
        color: #222;
        background: #f5f5f5;
        box-sizing: border-box;
        border-right: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .3s ease-in-out;
    }

    a:last-child {
        border: 0;
    }

    a.active,
    a:hover {
        background: #222;
        color: #fff;
    }
}

/* 注册，登录，忘记密码 */
.login-layer {
    visibility: hidden;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    position: fixed;
    z-index: 101;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
}

.login-layer-show {
    visibility: visible;
}

.edit-box {
    background: #fff;
    width: 800px;
    position: relative;
    margin: 120px auto;

    button.close {
        position: absolute;
        right: -10px;
        top: -10px;
        width: 60px;
        height: 60px;
        background: #808080 url(../imgs/ico_close.svg) no-repeat center center /auto 33.33%;
        border-radius: 60px;
        box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.3);
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

    button.close:hover {
        background-color: #222;
        transform: scale(1.1);
    }

    h1 {
        width: 100%;
        font-size: 36px;
        font-weight: 400;
        line-height: 40px;
        color: #222;
        margin: 40px auto 0;
        padding: 40px 0;
        border-bottom: 1px solid #ddd;
    }

    .login-tap {
        background: #f5f5f5;
        border-bottom: 1px solid #ddd;

        div {
            width: 70%;
            margin: 0 auto;
            display: flex;
            flex-direction: row;
            justify-content: center;
        }

        a {
            width: 50%;
            display: flex;
            text-align: center;
            height: 80px;
            color: #222;
            font-size: 24px;
            justify-content: center;
            align-items: center;
            transition: all .3s ease-in-out;
        }

        a.active {
            background: #808080;
            color: #fff;
        }

        a:hover {
            background: #222;
            color: #fff;
        }
    }

    .input-area {
        margin: 40px auto;
        display: flex;
        gap: 0;
        flex-direction: column;
        color: #222;
        font-size: 22px;
    }

    .error {
        display: none;
    }

    .error-show {
        display: block;
        margin: 0 auto;
        width: 70%;
        height: 40px;

        em {
            display: block;
            color: red;
            font-size: 20px;
            line-height: 30px;
            padding-left: 30px;
            position: relative;
        }

        ::before{
            content: "";
            position: absolute;
            top: 0;
            left: 0px;
            width: 30px;
            height: 30px;
            background: url(../imgs/ico_alert.svg) no-repeat left center / auto 90%;
        }
    }

    button.submit {
        display: block;
        margin: 80px auto;
        width: 70%;
        height: 80px;
        box-sizing: border-box;
        background: #808080;
        color: #fff;
        font-size: 24px;
        font-weight: 400;
        cursor: pointer;
        transition: all .3s ease-in-out;
    }

    button.submit:hover {
        background-color: #222;
    }



    dl {
        width: 70%;
        margin: 0 auto;
        border-bottom: 1px solid #ddd;
        /* display: flex; */
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        padding: 10px 0;

        dt {
            float: left;
            display: flex;
            width: 30%;
            height: 80px;
            align-items: center;

            i {
                width: 20px;
                color: red;
            }
        }

        dd {
            float: left;
            display: flex;
            width: 70%;
            height: 80px;
            align-items: center;

            input {
                width: 100%;
                height: 80px;
                font-weight: 400;
                font-size: 22px;
                border: none;
                text-align: left;
            }

            input::placeholder {
                color: #ddd;
                font-size: 22px;
                font-weight: 300;
            }

            input[disabled] {
                background: none;
                color: #ddd;
            }

            label {
                display: flex;
                align-items: center;
                gap: 7px;
                width: -webkit-fill-available;
            }

            input[type="checkbox"] {
                width: 26px;
                height: 26px;
                min-width: 26px;
                min-height: 26px;
            }

            span {}

            button.getcode {
                width: 180px;
                min-width: 180px;
                height: 60px;
                box-sizing: border-box;
                background: #f5f5f5;
                color: #222;
                font-weight: 400;
                display: block;
                cursor: pointer;
                transition: all .3s ease-in-out;
            }

            button.getcode:hover {
                background: #222;
                color: #fff;
            }
        }

        .tip{
            clear: both;
            padding-left: 20px;
            width: 100%;
            height: auto;
            line-height: 1.5;
            font-size: 16px;
            font-weight: 300;
            color: #ccc;
        }
    }

    dl.role {
        padding: 20px 0;
        align-items: flex-start;
        /* border: none; */

        dd {
            display: grid;
            gap: 30px;
            height: auto;
            grid-template-columns: repeat(2, auto);
        }
    }

    dl.subscription {
        align-items: flex-start;
        border: none;
        display: block;
    }

    dl.code {
        display: none;
    }

    dl.password {
        display: flex;
    }

    dl.forgot {
        padding: 0;
        display: flex;
        justify-content: space-between;
        border: none;
        line-height: 40px;
        flex-direction: row;
    }

}



/*-----------------------------------2560-----------------------------------*/
@media screen and (max-width:2560px) {
    :root {
        --page-padding: 0;
        --page-margin: 100px;
    }

}



/*-----------------------------------1600-----------------------------------*/
@media screen and (max-width:1600px) {
    :root {
        --page-padding: 0;
        --page-margin: 80px;
    }

}



/*-----------------------------------1300-----------------------------------*/
@media screen and (max-width:1300px) {
    :root {
        --page-padding: 0;
        --page-margin: 40px;
    }

}



/*-----------------------------------1000-----------------------------------*/
@media screen and (max-width:1000px) {
    :root {
        --page-padding: 0;
        --page-margin: 30px;
    }

    .search-box {
        margin: 60px var(--page-margin);

        input {
            /* max-width: 60%; */
        }

        input:focus {
            border: 1px solid #808080;
            max-width: 100%;
            padding: 0 40px;
            max-width: 100%;
        }
    }

    .list-order {
        height: 50px;

        button {
            width: 100%;
            height: 50px;
        }
    }

    .page-list {
        margin: 60px 0;
    }

    .downloads {
        margin: 80px var(--page-margin);

        li {
            grid-template-columns: 35% 15% 15% 120px;
        }
    }

    .other-link {
        margin: 80px var(--page-margin);
        flex-wrap: wrap;
        gap: 15px;

        a {
            width: calc(50% - 10px);
            border: 0;
        }
    }

    /*文章图文排版模板*/
    .article {
        margin: 80px var(--page-margin);
        gap: 30px;
        font-size: 14px;

        .layout-mould-1,
        .layout-mould-2,
        .layout-mould-3,
        .layout-mould-7,
        .layout-mould-8 {
            gap: 30px;
            flex-direction: column;
            background: none;

            .img {
                width: 100%;
                padding: 0;
            }

            .text {
                width: calc(100% - 80px);
                padding: 0 40px;
            }
        }

        .layout-mould-3 {
            .text {
                padding-bottom: 40px;
            }
        }

        .layout-mould-4,
        .layout-mould-6 {
            gap: 30px;
        }

        .layout-mould-7 {

            .text {
                padding: 0 60px;
            }
        }
    }

    .article .des {
        font-size: 12px;
        line-height: 20px;
        bottom: -20px;
    }

    /* 注册，登录，忘记密码 */
    .edit-box {
        width: 100%;
        margin: 0 20px;
        display: flex;
        flex-direction: column;
        align-items: center;

        button.close {
            right: -10px;
            top: -10px;
            width: 40px;
            height: 40px;
        }

        button.submit {
            margin: 60px auto;
            width: 90%;
            height: 60px;
            font-size: 24px;
        }

        h1 {
            margin: 0 auto;
        }

        .login-tap {
            width: 100%;

            div {
                width: 90%;
            }

            a {
                height: 60px;
            }

            a.active {
                background: #808080;
                color: #fff;
            }

            a:hover {
                background: #222;
                color: #fff;
            }
        }

        .input-area {
            font-size: 20px;
            margin: 20px auto 40px;
            width: 100%;
        }

        dl {
            width: 90%;

            dt{
                height: 60px;
            }

            dd {
                height: 60px;

                input {
                    height: 60px;
                    line-height: 60px;
                    font-weight: 400;
                }

                button.getcode {
                    width: 120px;
                    min-width: 120px;
                    height: 50px;
                }
            }
        }

        .error-show {
            width: 90%;
        }
    }
}



/*-----------------------------------500------------------------------------*/
@media screen and (max-width:500px) {
    :root {
        --page-padding: 0;
        --page-margin: 20px;
    }

    .list-order {
        margin: 0;
    }

    .other-link {
        margin: 30px var(--page-margin);
    }

    .edit-box {

        .login-tap {
            a {
                font-size: 20px;
            }
        }

        dl {
            padding: 10px 0;

            dt {
                float:none;
                width: 100%;
                height: 30px;
            }
            dd{
                float:none;
                padding-left: 20px;
                margin: 0 0;
                width: calc(100% - 20px);
                height: 50px;
                
                input{
                    height: 50px;
                }
            }
            .tip{
                line-height: 1.2;
            }
        }

        dl.role {
            dd {
                gap: 10px;
                padding: 20px 0 20px 20px;
            }
        }
    }

    /*文章图文排版模板*/
    .article {}

    .article .layout-mould-4 {
        .img {
            width: 50%;
        }
    }

}