:root {
    --header-color: #fff;
    --footer-color: #fff;
    --font-color: #666;
    --bg-color: #f1f1f1;
    --toggle-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(144, 144, 144, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

[data-theme="dark"] {
    --header-color: #999;
    --footer-color: #ddd;
    --font-color: #c2c2c2;
    --bg-color: #555555;
    --toggle-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
    background: var(--bg-color);
    color: var(--font-color);
}

.header-theme {
    background: var(--header-color);
}

.navbar-toggler-icon {
    background-image: var(--toggle-icon);
}


.theme-switch-wrapper {
    display: flex;
    align-items: center;
}


.theme-switch {
    display: inline-block;
    position: relative;
    margin: 0;
}

.theme-switch input {
    display: none;
}

.mode-container {
    width: 24px;
    height: 24px;
    padding: 1px 0;
}

.gg-sun {
    position: relative;
    transform: scale(var(--ggs, 1));
    height: 24px;
    background: linear-gradient(180deg, currentColor 4px, transparent 0) no-repeat 5px -6px/2px 6px, linear-gradient(180deg, currentColor 4px, transparent 0) no-repeat 5px 14px/2px 6px, linear-gradient(180deg, currentColor 4px, transparent 0) no-repeat -8px 5px/6px 2px, linear-gradient(180deg, currentColor 4px, transparent 0) no-repeat 14px 5px/6px 2px;
    border-radius: 100px;
    box-shadow: inset 0 0 0 2px;
    border: 6px solid transparent;
}

.gg-moon {
    overflow: hidden;
    position: relative;
    transform: rotate(-135deg) scale(var(--ggs, 1));
    width: 20px;
    height: 20px;
    border: 2px solid;
    border-bottom: 2px solid transparent;
}

.gg-moon,
.gg-moon:after {
    display: block;
    box-sizing: border-box;
    border-radius: 50%;
}

.gg-moon:after {
    content: "";
    position: absolute;
    width: 12px;
    height: 18px;
    border: 2px solid transparent;
    box-shadow: 0 0 0 2px;
    top: 8px;
    left: 2px;
}

.gg-sun,
.gg-sun:after,
.gg-sun:before {
    box-sizing: border-box;
    display: block;
    width: 24px;
}

.gg-sun:after,
.gg-sun:before {
    content: "";
    position: absolute;
    height: 2px;
    border-right: 4px solid;
    border-left: 4px solid;
    left: -6px;
    top: 5px;
}

.gg-sun:before {
    transform: rotate(-45deg);
}

.gg-sun:after {
    transform: rotate(45deg);
}

.mode-container i.gg-sun {
    display: none;
}

.mode-container i.gg-moon {
    display: block;
}

input:checked + .mode-container i.gg-sun {
    display: block;
}

input:checked + .mode-container i.gg-moon {
    display: none;
}

.slideUp {
    -webkit-transform: translateY(-55px);
    -ms-transform: translateY(-55px);
    -o-transform: translateY(-55px);
    transform: translateY(-55px);
    -webkit-transition: transform .5s ease-out;
    -o-transition: transform .5s ease-out;
    transition: transform .5s ease-out;
}

.slideDown {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: transform .5s ease-out;
    -o-transition: transform .5s ease-out;
    transition: transform .5s ease-out;
}

#header {
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 9999;
}


.return_top {
    display: none;
    position: fixed;
    padding: 8px 10px;
    bottom: 20px;
    right: 20px;
    background-color: #9F9F9F;
    opacity: 0.8
}

.return_top a {
    font-size: 18px;
    color: #fff;
}

.return_top:hover {
    cursor: pointer;
    opacity: 1
}

.copyright-section {
    padding: 20px 0;
    text-align: center;
    clear: both;
    width: 100%;
    left: 0;
    bottom: 0;
    background: var(--footer-color);
    border-top: 1px solid #443f3f;
}

.copyright-section p {
    margin-bottom: 0;
    font-size: 10px;
    color: #999;
}

.copyright-section a {
    color: #0077dd;
}

.copyright-section p span {
    color: #ccc;
}


.main-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    min-height: 100vh;
}

.info-content {
    flex: 1;
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    margin-top: 55px;
}

@media (min-width: 1200px) {
    .info-content {
        width: 1170px;
    }
}

.info-main {
    float: left;
    margin-top: 20px;
    width: 100%;
}

.info-sidebar {
    float: left;
    width: 100%;
}

@media (min-width: 1024px) {
    /*.info-main {*/
    /*    width: 70%;*/
    /*}*/

    .info-sidebar {
        width: 30%;
        margin-top: 20px;
        padding-left: 20px;
    }
}

.no-article {
    padding: 20px;
    background: #FFF;
    color: #000;
}


.articles {
    overflow: hidden;
    margin-bottom: 20px;
    padding: 20px;
    background: #FFF;
    -webkit-box-shadow: 0 2px 5px 0 rgba(146, 146, 146, .1);
    -moz-box-shadow: 0 2px 5px 0 rgba(146, 146, 146, .1);
    box-shadow: 0 2px 5px 0 rgba(146, 146, 146, .1);
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
    position: relative
}

.articles:before {
    position: absolute;
    content: "";
    width: 5px;
    height: 26px;
    background: #0077dd;
    left: 0;
}

.articles .avatar {
    position: relative;
    float: left;
    width: 150px;
    max-height: 130px;
    margin-right: 20px;
    display: block;
    overflow: hidden;
}

.articles .avatar img {
    width: 100%;
    height: auto;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    transition: all 0.6s ease;
}

.articles .avatar :hover img {
    transform: scale(1.5)
}

.articles .recommend {
    position: absolute;
    right: -1px;
    top: -1px;
    font-size: 36px;
    color: #0077dd;
}


.articles .category {
    position: absolute;
    top: 0;
    left: 0;
    background: #0077dd;
    padding: 3px 5px;
    opacity: 0.9;
}

.articles .category a {
    color: #fff;
}

.articles .title {
    margin: 0 0 10px 0;
    font-size: 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a {
    color: #07d
}

.articles .title a {
    color: #555;
    font-weight: bold;
}

.articles .title a:hover {
    color: #0077dd;
}

.articles .summary {
    font-size: 14px;
    color: #566573;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    height: 60px;
    word-wrap: break-word;
}

.articles .description {
    overflow: hidden;
    display: block;
    font-size: 13px;
    position: relative;
    padding: 5px 0 0;
}

.articles .description ul {
    padding: 0;
}

.articles .description li {
    float: left;
    padding: 0 0 0 10px;
    color: #748594;
    display: inline-block;
}


.articles .description li:first-child {
    padding-left: 0;
}

.articles .description li .fa {
    margin-right: 3px;
}

.articles .description .read-more {
    position: absolute;
    display: block;
    background: #2287de;
    color: #FFF;
    bottom: 0;
    right: 0;
    padding: 3px 8px;
    transition: all 0.3s;
}

.articles .description .read-more:hover {
    background: #0077dd;
}

@media (max-width: 640px) {
    .articles {
        padding: 15px;
        margin-bottom: 15px;
    }

    .articles .avatar {
        width: 120px;
        max-height: 70px;
    }

    .articles .title {
        white-space: inherit;
        height: 40px;
        text-align: justify;
        word-break: break-all;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        margin-bottom: 5px;
        font-size: 16px;
        line-height: 22px;
    }

    .articles .summary, .articles .description .read-more, .articles .category, .articles:before {
        display: none;
    }
}

.page {
    text-align: center;
    margin-bottom: 20px;
}

.pager li > a.active {
    color: #fff;
    background-color: #0077dd;
}

.pager a.btn.disabled {
    vertical-align: inherit;
}

.pager li > a, .pager li > span {
    padding: 5px 12px;
    border-radius: 0;
}








.lockscreen {
    /*background: #d2d6de;*/
    height: auto;
}

.lockscreen .lockscreen-name {
    color: #222222;
    text-align: center;
    font-weight: 600;
    margin-top: 50px;
    margin-bottom: 30px;
}

.lockscreen-wrapper {
    max-width: 400px;
    margin: 10% auto;
    z-index: 800;
    position: relative;
}

.lockscreen-item {
    border-radius: 4px;
    padding: 0;
    background: #fff;
    position: relative;
    margin: 10px auto 30px auto;
    width: 290px
}

.lockscreen-image {
    border-radius: 50%;
    position: absolute;
    left: -10px;
    top: -25px;
    background: #fff;
    padding: 5px;
    z-index: 10
}

.lockscreen-image>img {
    border-radius: 50%;
    width: 70px;
    height: 70px
}

.lockscreen-credentials {
    margin-left: 70px
}

.lockscreen-credentials .form-control {
    border: 0
}

.lockscreen-credentials .btn {
    background-color: #fff;
    border: 0;
    padding: 0 10px
}

.lockscreen-footer {
    margin-top: 150px
}

.lockscreen-info {
    width: 100%;
    color: #000;
    font-size: 40px;
    display: inline-block;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}
.input-group-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}


.validate-input {
    position: relative;
}

.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: #f8f9fa;
    border: 2px solid #c80000;
    border-radius: 2px;
    padding: 4px 25px 4px 10px;
    bottom: calc((100% - 20px) / 2);
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
    right: 2px;
    pointer-events: none;

    font-family: 'Microsoft Yahei';
    color: #c80000;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;

    visibility: visible;
    opacity: 1;

    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.alert-validate::after {
    content: "\f06a";
    font-family: FontAwesome;
    display: block;
    position: absolute;
    color: #c80000;
    font-size: 16px;
    bottom: calc((100% - 20px) / 2);
    -webkit-transform: translateY(50%);
    -moz-transform: translateY(50%);
    -ms-transform: translateY(50%);
    -o-transform: translateY(50%);
    transform: translateY(50%);
    right: 8px;
}

.alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 992px) {
    .alert-validate::before {
        visibility: visible;
        opacity: 1;
    }
}

.article-main {
    background-color: #fff;
}

.article-main .article-title {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
    font-size: 20px;
    overflow: hidden;
    color: #383838;
    font-weight: bold;
}

.article-main .article-meta {
    font-size: 13px;
    color: #888;
    overflow: hidden;
    text-align: center;
}

.html-show {
    display:block;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
    color: #333;
    overflow: hidden;
    font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "华文细黑", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "宋体", Heiti, "黑体", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    word-wrap: break-word;
}

.article-main .article-body {
    color: #566573;
    margin: 60px 20px 40px 20px;
    line-height: 1.6;
}

.article-main .article-body pre {
    border: 1px solid #f1f1f1;
}

.article-main .article-body h1, .article-main .article-body h2, .article-main .article-body h3, .article-main .article-body h4, .article-main .article-body h5, .article-main .article-body h6 {
    color: #383838
}

.hr0 {
    height: 1px;
    border: none;
    border-top: 1px dashed #9db1c5;
    margin: 10px 0;
}


/* 前端文章 标签栏 */
.article_Lable {
    display: flex;
    flex-wrap: wrap;
    margin: 30px 0;
}

/* icon */
.article_Lable i {
    font-size: 10px;
}

.article_Lable a {
    display: inline-block;
    padding: 0 8px;
    margin: 5px;
    border-radius: 5px;
}

.article_Lable a:nth-of-type(1) {
    color: #0E9F6E;
    background-color: #f3faf7;
}

.article_Lable a:nth-of-type(2) {
    color: #F05252;
    background-color: #fdf2f2
}

.article_Lable a:nth-of-type(3) {
    color: #F59E0B;
    background-color: #fefbeb;
}

.article_Lable a:nth-of-type(4) {
    color: #6875F5;
    background-color: #f1f5ff;
}

.article_Lable a:nth-of-type(5) {
    color: #0EA5E9;
    background-color: #f1f9ff;
}

.article_Lable a:nth-of-type(6) {
    color: #0E9F6E;
    background-color: #f3faf7;
}

.article_Lable a:nth-of-type(7) {
    color: #F05252;
    background-color: #fdf2f2
}

.article_Lable a:nth-of-type(8) {
    color: #F59E0B;
    background-color: #fefbeb;
}

.article_Lable a:nth-of-type(9) {
    color: #6875F5;
    background-color: #f1f5ff;
}

.article_Lable a:nth-of-type(10) {
    color: #0EA5E9;
    background-color: #f1f9ff;
}