/* 公共样式 */

@import url("../../layui/css/layui.css");
@import url("common.css");
@import url("../../js/prism/prism.css");
body {}

.layui-main {
    width: 1300px;
    margin: 0 auto;
    position: relative;
}

.title {
    position: relative;
    font-size: 18px;
    color: #444;
    font-weight: 700;
    padding-left: 10px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 7px;
    padding-left: 20px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    background-color: #F2F4F8;
}

.title h4 {
    position: relative;
    line-height: 40px;
    border-bottom: 1px dotted #eee;
}

.title::after {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 20px;
    width: 5px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background-color: #44a8ff;
    content: ' ';
}

.mobile {
    display: none;
}

header {
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 12%);
    z-index: 999;
    background-color: #F2F4F8;
    line-height: 80px;
}

header input {
    width: 85%;
    height: 100%;
    font-size: 16px;
    line-height: 20px;
    color: #222;
    padding-left: 18px;
    background-color: #fff;
    border-radius: 8px;
    z-index: 10;
    outline: none;
}

header input {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: 48px;
    line-height: 48px;
    border: 2px solid #ececec;
}

header button {
    width: 72px;
    color: #fff;
    height: 48px;
    line-height: 48px;
    background: #f04142;
    box-sizing: border-box;
}

header button {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border: none;
    z-index: 11;
}

header .logo img {
    width: 210px;
}

.menus {
    display: block;
    position: relative;
}

.menus a {
    display: block;
    line-height: 45px;
    height: 45px;
    font-size: 18px;
}

.menus li:nth-child(2) i {
    color: #ff8b10;
}

.menus li:nth-child(3) i {
    color: #2ed38f;
}

.menus li:nth-child(4) i {
    color: #44a8ff
}

.menus li:nth-child(5) i {
    color: #9b75fb
}

.menus li:nth-child(6) i {
    color: #517aff
}

.menus li:nth-child(7) i {
    color: #9b75fb
}

.menus li:nth-child(8) i {
    color: #ffc000
}

.menus li:nth-child(9) i {
    color: #bb1650
}

.menus li:nth-child(10) i {
    color: #0cbc32
}

.menus li:nth-child(11) i {
    color: #0c55bc
}

.menus li:nth-child(12) i {
    color: #3fab3d
}

.menus li:nth-child(13) i {
    color: #084a79
}

.menus li:nth-child(14) i {
    color: #c518b1
}

.menus li:nth-child(15) i {
    color: #cbc808
}

.menus .on {
    border-top-left-radius: 12px;
    background-color: #F2F4F8;
}

.menus a i {
    font-size: 20px;
    font-weight: bold;
    color: red;
    padding: 0 10px;
}

.menus li {
    position: relative;
}

.menus li::after {
    position: absolute;
    right: 50px;
    color: #ccc;
    top: 17px;
}

.menus .scroll {
    position: absolute;
    width: 100%;
    left: 0;
}

.hot {
    /* border: 1px solid #eee; */
    padding-bottom: 10px;
    -webkit-box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
    box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
}

.hot a {
    display: block;
    position: relative;
    height: 30px;
    font-size: 14px;
    color: #444;
    line-height: 30px;
    cursor: pointer;
    width: 97%;
    padding-left: 10px;
    overflow: hidden;
}

.left-scroll {
    position: absolute;
    width: 100%;
    left: 10px;
}

.hot .hot-list a {
    padding-left: 35px;
    width: 270px;
}

.hot .hot-list a::after {
    position: absolute;
    content: ' ';
    width: 18px;
    height: 18px;
    left: 10px;
    top: 6px;
    line-height: 18px;
    background: #C0BDBA;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hot .hot-list a:nth-child(1)::after {
    content: '1';
    background: #f17817;
}

.hot .hot-list a:nth-child(2)::after {
    content: '2';
    background: #f17817;
}

.hot .hot-list a:nth-child(4)::after {
    content: '4';
}

.hot .hot-list a:nth-child(3)::after {
    content: '3';
    background: #f17817;
}

.hot .hot-list a:nth-child(5)::after {
    content: '5';
}

.hot .hot-list a:nth-child(6)::after {
    content: '6';
}

.hot .hot-list a:nth-child(7)::after {
    content: '7';
}

.hot .hot-list a:nth-child(8)::after {
    content: '8';
}

.hot .hot-list a:nth-child(9)::after {
    content: '9';
}

.hot .hot-list a:nth-child(10)::after {
    content: '10';
}

.hot .hot-list a:nth-child(11)::after {
    content: '11';
}

.hot .hot-list a:nth-child(12)::after {
    content: '12';
}

.hot .hot-list a:nth-child(13)::after {
    content: '13';
}

.hot .hot-list a:nth-child(14)::after {
    content: '14';
}

.hot .hot-list a:nth-child(15)::after {
    content: '15';
}

.hot .hot-list a:nth-child(16)::after {
    content: '16';
}

.hot .hot-list a:nth-child(17)::after {
    content: '17';
}

.hot .hot-list a:nth-child(18)::after {
    content: '18';
}

.hot .hot-list a:nth-child(19)::after {
    content: '19';
}

.hot .hot-list a:nth-child(20)::after {
    content: '20';
}

.img-list {
    /* height: 2016px; */
    overflow: hidden;
}

.img-list img {
    width: 170px;
    height: 100px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.img-list nav a {
    color: #44a8ff;
}

.img-list h3 {
    font-size: 20px;
    line-height: 30px;
}

.img-list p {
    color: #999999;
    font-size: 14px;
    padding: 0;
    margin-top: 10px;
    line-height: 24px;
    max-height: 43px;
    overflow: hidden;
}

.img-list nav,
.img-list time {
    display: inline-block;
    margin-right: 20px;
    color: #999999;
}

.img-list li {
    overflow: hidden;
    text-align: left;
    -webkit-box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
    box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
    border-bottom: 1px #E5E5E5 dotted;
}

.category {
    z-index: 200;
    background-color: #F2F4F8;
    border-top-right-radius: 12px;
    border-top-left-radius: 12px;
    margin-top: 20px;
    /* border: 1px solid rgb(240, 237, 237); */
    -webkit-box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
    box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
}

.paths {
    z-index: 200;
    padding: 10px;
    /* border: 1px solid rgb(240, 237, 237); */
}

.paths span {
    color: #363839;
}

.paths a {
    position: relative;
    display: inline-block;
    height: 30px;
    line-height: 30px;
    padding-right: 15px;
    color: #939a9f;
}

.paths a::after {
    position: absolute;
    content: '>';
    height: 30px;
    width: 10px;
    right: 0;
    top: 0
}

.category-height {
    height: 60px;
    overflow: hidden;
}

.category li {
    display: inline-block;
    padding: 10px;
}

.category li a {
    display: block;
    text-align: center;
    font-weight: bold;
    color: rgb(86, 84, 84);
    line-height: 40px;
    font-size: 12px;
}

.category li .on {
    font-weight: bold;
    border-radius: 12px;
    color: #44a8ff;
    background-color: #e6e6ee;
}

.article-header {
    background: #f3f5f7;
    font-size: 12px;
    color: #93999F;
    line-height: 24px;
    padding-bottom: 20px;
}

.article-header h1 {
    text-align: center;
    margin: 20px 0;
}

.article-header .attr a {
    color: #44a8ff;
}

.article-header .attr {
    font-weight: bold;
    margin-left: 15px;
}

.article-header .attr span {
    font-weight: 400;
    text-align: center;
    margin-right: 10px;
}

.contents {
    box-shadow: 0 1px 4px 0 rgb(0 0 0 / 12%);
}

article p {
    font-size: 16px;
    color: #333333;
    line-height: 30px;
    word-wrap: break-word;
    letter-spacing: 0.5px;
}

article h2 {
    margin-top: 15px;
    height: 22px;
    line-height: 22px;
    display: block;
    overflow: hidden;
    font-weight: bold;
    font-size: 16px;
}

article h3 {
    font-size: 16px;
    font-weight: normal;
    font-weight: bold;
    line-height: 22px;
    margin-bottom: 23PX;
}

.contents article {
    position: relative;
    padding: 15px 15px 30px 15px;
    max-height: 1000px;
    overflow: hidden;
}

.contents article .describe {
    position: relative;
    display: block;
    padding: 10px;
    padding-top: 30px;
    margin-bottom: 10px;
    border: 1px solid #eee;
    background-color: #f5f9f9;
}

.contents article .describe::after {
    position: absolute;
    top: 0px;
    left: -20px;
    content: '绮惧僵瀵艰';
    color: #fff;
    width: 119px;
    height: 30px;
    z-index: 999;
    border-bottom-right-radius: 42px;
    background: #318fff;
}

.contents article p,
.contents article div {
    line-height: 30px;
    overflow: hidden;
    padding-bottom: 12px;
    text-align: justify;
    word-wrap: break-word;
    text-indent: 2em;
    color: #2c3e50;
}

.contents article a {
    color: #38f;
}

.contents article a:hover {
    color: #e00;
}

.content article h2,
.content article h3 {
    font-size: 16px;
    text-align: left;
    font-weight: bold;
    letter-spacing: -1px;
    clear: both;
    color: #000;
}

.contents article h3,
.contents article h2 {
    position: relative;
    color: #2c3e50;
    padding: 10px 10px;
}

.contents article h3::after,
.contents article h2::after {
    position: absolute;
    content: ' ';
    width: 5px;
    height: 20px;
    left: 0;
    top: 11px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    background: rgb(68 168 255);
}


/* .contents article h3::before,
.contents article h2::before {
    position: absolute;
    content: ' ';
    width: 100%;
    height: 24px;
    left: -10px;
    bottom: 0;
    border-bottom: #318fff 1px solid;
} */

.contents article img {
    width: 350px!important;
    border-radius: 6px;
    margin: 0 auto;
}

.contents article .img {
    text-align: center;
}

.contents article iframe {
    width: 100%!important;
    height: 480px!important;
}

.contents article table {
    width: 100%!important;
    margin-left: 0!important;
}

.contents article p a {
    color: #3366cc!important;
}

.contents article table {
    width: 100%!important;
    margin-left: 0!important;
}

.contents article table tr {
    list-style-type: none;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(186, 186, 186);
    padding: 0px;
    margin: 0px;
}

.contents article table td {
    list-style-type: none;
    font-size: 14px;
    border-color: rgb(196, 0, 0) rgb(186, 186, 186) rgb(186, 186, 186) rgb(169, 167, 207);
    padding-bottom: 10px;
    text-align: center;
    padding-top: 10px;
    margin: 0px;
    letter-spacing: 1px;
}

.contents article table th {
    list-style-type: none;
    border-right-color: rgb(186, 186, 186);
    min-width: 50px;
    border-bottom-color: rgb(186, 186, 186);
    font-weight: normal;
    padding: 10px 0px;
    margin: 0px;
    background-color: rgb(233, 245, 252);
}

.contents article p a:hover {
    text-decoration: underline;
}

.group-title {}

.group-title .name {
    color: #fff;
    background: #44a8ff;
    background-size: 300px 38px;
    padding: 0 16px;
    height: 38px;
    line-height: 38px;
}

.group-title a {
    display: block;
    line-height: 30px;
    padding: 0 15px;
}

.group-title-left {
    position: absolute;
    right: 0;
}

.menus-btn-text {
    display: none;
}

.div-showbtn {
    display: block;
    margin: 20px auto auto;
    width: 80px;
    font-size: 14px;
    color: #7a8f9a;
    line-height: 14px;
    cursor: pointer;
}

.div-mask {
    position: absolute;
    z-index: 800;
    bottom: 0;
    width: 100%;
    height: 40px;
    /* background-image: linear-gradient(#2b96f0, #b9d9f6); */
    background: linear-gradient(-180deg, rgba(255, 255, 255, .8) 0, #fff 63%)
}

@media screen and (min-width: 1200px) {
    .layui-container {
        width: 1300px;
    }
}

@media screen and (max-width:450px) {
    .layui-col-space20>* {
        padding: 0px;
    }
    .menus-btn-text {
        display: block!important;
    }
    .layui-col-space20,
    .layui-col-space10 {
        margin: 0px!important;
    }
    .mobile {
        display: block!important;
        position: relative;
        height: 40px;
        color: #fff;
        line-height: 40px;
        text-align: center;
        background-color: #38f;
    }
    .mobile .web-name {
        position: relative;
    }
    .mobile .web-name a i {
        position: absolute;
        left: 10px;
        top: 10px;
        width: 16px;
        height: 16px;
        background-image: url(img/home.png);
    }
    .mobile .web-name a i {
        color: #fff;
        font-weight: bold;
    }
    header {
        display: none;
    }
    .mobile {
        position: relative;
    }
    .mobile .home {
        position: relative;
    }
    .mobile .menus-btn {
        position: absolute;
        right: 10px;
        top: 10px;
        width: 16px;
        height: 16px;
        background-image: url(img/menu.png);
    }
    .menus {
        display: none;
        position: fixed;
        top: 60px;
        left: 0px;
        width: 100%;
        height: 100%;
        background-color: #fff;
        z-index: 998;
    }
    .menus-btn-text {
        position: absolute;
        right: 10px;
        top: 10px;
        height: 30px;
        width: 30px;
        line-height: 30px;
        text-align: center;
        color: #000;
        border-radius: 50%;
        border: 1px solid #000;
        z-index: 999;
    }
    .img-list .info {
        display: none;
    }
    .img-list h3 {
        font-size: 16px;
    }
    .hot {
        margin-top: 20px;
    }
    .hits {
        display: none;
    }
    .author {
        display: none;
    }
    .img-list img {
        width: 90% !important;
    }
}

.pages {
    padding: 10px 0;
    margin-top: 20px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    -webkit-box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
    box-shadow: 0 2px 16px rgb(54 56 79 / 6%);
}

.pages a,
.pages span {
    display: inline-block;
    border-radius: 12px;
    cursor: pointer;
    padding: 3px 10px;
    border: 1px solid #f3f4f8;
}

.pages .on {
    background-color: #f3f4f8;
}

.pages a:hover {
    background-color: #f3f4f8;
}

footer {
    padding: 40px 0;
    background-color: #2e3433;
}

.footer .link-as {
    margin: 0 auto;
}

.footer .link-as a {
    margin-right: 15px;
    color: #fff;
    opacity: 0.7;
}

.footer .footer-copy {
    padding: 10px;
    margin-right: 15px;
    color: #fff;
    opacity: 0.5;
    font-size: 12px;
    margin: 0 auto;
    text-align: center;
}

.footer .footer-copy a {
    color: #969999;
}

.category-menus ul {
    display: none;
}

.category-menus li {
    display: inline-block;
    margin-bottom: 20px;
}

.category-menus a {
    display: inline-block;
    color: #666;
    width: 98px;
    line-height: 30px;
}

.category-menus i {
    color: red;
    margin-right: 5px;
}

.category-menus dl {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #f5f9f9;
}

.category-menus dt {
    font-weight: bold;
    margin-left: 10px;
}

.category-menus dd {
    margin-left: 20px;
    display: inline-block;
}

.example {
    width: 98%;
    color: #000;
    margin: 0 0 5px 0;
    padding: 5px;
    border: 1px solid #d4d4d4;
    background-image: -webkit-linear-gradient(#fff, #d6eaff 100px);
    background-image: linear-gradient(#fff, #d6eaff 100px);
}

.example xmp {
    text-indent: 0em !important;
}

h2.example {
    font-size: 14px !important;
}

h2.example,
h2.example_head {
    color: #0879f2;
    background-color: transparent;
    margin-top: 0;
    padding: 5px !important;
    /* padding-left: 5px; */
}

h2.example::after {
    width: 0px!important;
    height: 0px!important;
}

.example_code {
    line-height: 1.4em;
    width: 98%;
    background-color: #f9f9f9;
    padding: 5px;
    border: 1px solid #d4d4d4;
    font-size: 110%;
    font-family: Menlo, Monaco, Consolas, "Andale Mono", "lucida console", "Courier New", monospace;
    word-break: break-all;
    word-wrap: break-word;
}

a.showbtn,
a.showbtn:link,
a.showbtn:visited,
a.tryitbtn,
a.tryitbtn:link,
a.tryitbtn:visited,
a.tryitbtn:hover {
    display: inline-block;
    color: #FFF !important;
    font-size: 12px;
    text-align: left;
    margin-top: 10px;
    text-indent: 0em;
    padding: 0 10px;
    background-color: #0879f2;
}

.img-list .loading {
    background-image: url('/static/images/loading.gif');
    background-repeat: no-repeat;
    background-size: 25px 25px;
    background-position: center center;
}

.example a:hover {
    color: #0879f2;
}

.example p {
    word-wrap: break-word;
    word-break: break-all;
    font-size: 13px !important;
    line-height: 20px;
    text-indent: 0px !important;
    margin-bottom: 0px !important;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial, sans-serif;
}

.run-box .codes {
    height: 100vh;
    background-color: #2b303b;
}

.run-box .run-result {
    height: 100vh;
    background-color: #383f4b;
}