/*内容图片*/
.content p img {
    margin: 10px 0 10px 0;
}

/*内容标题*/
.content h1,
.content h2,
.content h3 {
    border-left-style: solid;
    border-left-color: #5A83DE;
    border-left-width: 6px;
    border-radius: 7px;
    padding-left: 25px;
    color: #5A83DE !important;
}

.content h4,
.content h5,
.content h6 {
    border-left-style: solid;
    border-left-color: #5A83DE;
    border-left-width: 5px;
    border-radius: 5px;
    padding-left: 15px;
    color: #5A83DE !important;
}

.set h2,
.timeline h2,
.timeline h3 {
    border-left-style: none;
    padding-left: 0;
    color: #333333 !important;
}

/*悬浮*/
.float {
    width: auto !important;
    position: fixed;
    bottom: 50px;
    right: 30px;
    z-index: 99;
    padding: 0 !important;
    margin: 0 !important;
}

.float .directory {
    width: auto !important;
}

.float .float_btn {
    width: 50px;
    text-align: center;
    line-height: 50px;
    font-size: 22px;
    font-style: normal;
    background-color: #333333;
    border-radius: 50px;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.float .directory .directory_btn {
    font-family: "iconfont" !important;
}

.float .directory .directory_btn:before {
    content: "\e623";
    color: rgb(255, 255, 255) !important;
}

.float .directory .directory_list {
    width: auto;
    height: auto;
    max-width: 80%;
    max-height: 50%;
    overflow-y: scroll;
    background-color: #ffffff;
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: none;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    border-top: 5px solid #333333;
    z-index: 100;
    padding: 20px;
}

.float .directory:hover .directory_list {
    display: block;
}

/*目录*/
.article .toc {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
}

.directory_list li a {
    display: inline-block;
    color: #737373;
    text-decoration: none;
    transition: color, padding 0.2s ease-in-out;
}

.directory_list li a:hover {
    padding-left: 8px;
    border-left: 3px solid black;
}

/*声明*/
.statement {
    width: 100%;
    border-radius: 12px;
    background-color: #f4f4f4;
    padding: 20px 0;
    margin-top: 35px;
}

.statement div {
    width: 90%;
    margin: 0 auto;
    padding: 2px 0;
}

.statement div a {
    color: #5A83DE;
}

.statement div span {
    font-weight: bold;
    margin-right: 5px;
}

/*标题项*/
.title_item {
    margin: 50px auto 20px;
}

.title_item .shape {
    width: 8px;
    height: 30px;
    background-color: #5A83DE;
    border-radius: 8px;
    float: left;
}

.title_item .title_text {
    color: #5A83DE;
    font-size: 20px;
    line-height: 30px;
    /*font-weight: bold;*/
    margin-left: 15px;
}

/*列表*/
.list-general {
    width: 100%;
    height: auto;
    background-color: #fafafa;
    padding: 10px 0 !important;
    border-radius: 20px;
}

.list-general li {
    width: 85%;
    margin: 20px auto !important;
    list-style-type: none !important;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 10px 20px;
    /*cursor: pointer;*/
}

.list-general li:hover {
    /*border-top-style: solid;
    border-top-color: #333333;
    border-top-width: 3px;*/
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.05);
}

.list-double-column li {
    width: 40%;
    display: inline-block;
    margin: 10px 0  10px 2vh !important;
    padding: 10px 22px;
}

.account_item img {
    width: 50px;
    height: 50px;
    display: inline;
    position: relative;
    top: 5px;
    pointer-events: none;
}


.account_item span {
    color: black;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    top: -13px;
    margin-left: 10px;
}

.friends_item img {
    width: 50px;
    height: 50px;
    display: inline;
    position: relative;
    top: 5px;
    border-radius: 50px;
    border-width: 5px;
    border-style: double;
    border-color: #f0f0f0;
    pointer-events: none;
}

.friends_item .friends_text {
    display: inline;
    position: relative;
    top: -20px;
    left: 10px;
}

.friends_item .friends_text h4 {
    color: #555555 !important;
    display: inline;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    border-style: none;
    padding-left: 0;
}

.friends_item .friends_text p {
    color: #999999;
    font-size: 14px;
    margin-bottom: -10px;
    margin-left: 64px;
    margin-top: 5px;
}

.netdisc_item .netdisc_text h4 {
    color: #465F98 !important;
    display: inline;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    border-style: none;
    padding-left: 0;
}

.netdisc_item .netdisc_text p {
    color: #999999;
    font-size: 14px;
}

.netdisc_item .netdisc_text p span {
    color: green;
    margin-right: 10px;
}

/*代码块样式*/
.highlight {
    position: relative;
    border-radius: 12px;
}

.content .highlight figcaption {
    width: 100rem;
    font-size: 1em;
    color: #f5a22c;
    background-color: black;
    padding: 1rem;
    margin-bottom: 0;
}

.content pre,
.content .highlight {
    padding: 0;
}

.content .highlight pre {
    padding: 1rem;
}

.btn-copy {
    display: inline-block;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.0);
    border-style: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    line-height: 20px;
    position: absolute;
    right: 0.5rem;
    top: 0.7rem;
    width: 1.5rem;
    height: 1.5rem;
}

.highlight:hover .btn-copy {
    display: block;
}

figcaption div {
    width: 0.8rem;
    height: 0.8rem;
    background-color: #FC625D;
    border-radius: 1rem;
    margin-right: 10px;
    display: inline-block;
}

figcaption .r2 {
    background-color: #FDBC40;
}

figcaption .r3 {
    background-color: #35CD4B;
}


/*下载*/
.download_layout {
    width: 100%;
    height: 70px;
    border-style: solid;
    border-width: 2px;
    border-radius: 10px;
    border-color: #f0f0f0;
    position: relative;
    margin-top: 10px;
}

.download_layout:hover {
    border-color: #7698E5;
}

.download_layout .download_icon1 {
    width: 50px;
    height: 50px;
    position: absolute;
    left: 1rem;
    top: 0.6rem;
    pointer-events: none;
}

.download_layout .download_text {
    width: 60%;
    position: absolute;
    left: 5.5rem;
    top: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.download_layout .download_text span {
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-weight: bold;
    color: #1e89f2;
}


.download_layout .download_text p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #999999;
}

.download_layout .download_url {
    position: absolute;
    right: 0.8rem;
    top: 0.95rem;
}

.download_layout .download_url .download_icon2 {
    width: 40px;
    height: 40px;
    pointer-events: none;
}


/*帖子封面*/
.post_cover {
    width: 100%;
    height: 56.2vw;
    position: relative;
    pointer-events: none;
}

.post_cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 0;
}

.post_cover .post_cover_mask {
    width: 100%;
    height: 50%;
    position: absolute;
    background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
    z-index: 0;
    bottom: 0;
}

.post_cover .post_text {
    width: 90%;
    position: absolute;
    color: #ffffff;
    margin: 0 auto;
    z-index: 2;
    left: 5vw;
    bottom: 5rem;
}

.post_cover .post_text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
}

.post_cover .post_text div .post-tags-list-item {
    background-color: rgba(255, 255, 255, 0.1);
}

.post_cover .post_text div .post-tags-list-item a {
    color: #ffffff;
    pointer-events: auto;
}


/*更新时间*/
.updated {
    width: 100%;
    height: 50px;
    background-color: #FFF7DE;
    border-radius: 10px;
    line-height: 50px;
    margin-top: 30px;
}

.updated div {
    width: 10px;
    height: 50px;
    background-color: #F9B907;
    border-radius: 10px 0px 0px 10px;
    float: left;
    margin-right: 20px;
}

.updated span {
    font-size: 15px;
    color: #A57900;
    font-weight: bold;
}


/*版权*/
#copyright {
    display: none;
}

.copyright {
    width: 100%;
    text-align: center;
}

.copyright img {
    display: inline;
}

/*标题栏*/
#top{
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/*结束*/
.end {
    width: 100%;
    margin: 50px 0 !important;
    text-align: center;
    color: #cccccc;
    font-weight: normal;
}

.content ol li {
    margin: 30px 0 !important;
}

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

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

@media screen and (max-width:780px) {
    .friends_item p {
        width: 85%;
    }
}

@media screen and (max-width:480px) {
    .post_cover .post_text {
        bottom: 2rem;
    }

    .post_cover .post_text h1 {
        font-size: 1.5rem;
    }

    .list-general li {
        width: 80%;
    }

    .friends_item p {
        width: 77%;
    }

    /*内容标题*/
    .content h1,
    .content h2,
    .content h3 {
        font-size: 22px;
    }

    .content h4,
    .content h5,
    .content h6 {
        font-size: 18px;
    }

}