#main-body {
    margin: 16px auto 40px;
    width: 1280px;
    height: auto;
}

#left {
    float: left;
    padding: 20px 30px;
    width: 67.5%;
    height: auto;
    min-height: 600px;
    background-color: #FFFFFF;
    border-radius: 2px;
    box-shadow: 0 0 1px #CCCCCC;
}

#bread-nav {
    padding-bottom: 20px;
    margin-bottom: 20px;
    text-align: left;
    border-bottom: 1px #F2F2F2 solid;
    color: #777;
}

#bread-nav a {
    color: #555;
}

.article-item {
    display: flex;
    padding: 20px 0;
    width: 100%;
    height: 160px;
    border-bottom: 1px #f2f2f2 solid;
}

.article-img-a {
    display: block;
    width: 26%;
    height: auto;
    max-height: 100%;
    border-radius: 3px;
    overflow: hidden;
    text-align: center;
}

.article-img {
    display: inline-block;
    width: 80%;
    height: auto;
    max-height: 88%;
    vertical-align: middle;
    border-radius: 3px;
    background-color: #ffffff;
}

.article-item__content {
    position: relative;
    width: 72%;
    height: 100%;
}

.article-title {
    margin-bottom: 10px;
    height: auto;
    max-height: 40px;
    line-height: 20px;
    width: 100%;
    text-align: left;
    font-size: 16px;
    color: #777;
    overflow: hidden;
}

.article-title-a:hover {
    color: #527FFF;
}

.desc {
    width: auto;
    max-width: 568px;
    text-align: left;
    color: #999;
    font-size: 14px;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
}

.other-info {
    position: absolute;
    left: 0;
    bottom: 15px;
    color: #999999;
}

.other-info__span {
    margin-right: 16px;
    font-size: 13px;
}

.tags {
    position: absolute;
    right: 0;
    bottom: 15px;
}

.tag-a {
    display: block;
    float: right;
    margin-left: 16px;
    width: auto;
    max-width: 120px;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 13px;
    color: #999999;
}

#article table {
    width: 100%;
}

#article table img {
    width: auto;
    height: auto;
}

#article th,
#article td,
#article tr {
    padding: 10px 8px;
    border: 1px #d4d4d4 solid;
}

/* sidebar.css */
.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 70px;
}

.sidebar {
    float: right;
    margin-bottom: 20px;
    width: 26%;
    height: auto;
    min-height: 200px;
    background-color: #FFFFFF;
    /*border-top: 5px #1B74E4 solid;*/
    border-radius: 2px;
    box-shadow: 0 0 1px #CCCCCC;
}

.tag-list {
    padding: 15px 20px;
}

.h2 {
    font-size: 18px;
    color: #333333;
    margin-bottom: 5px;
    font-weight: 500;
    text-align: left;
}

.tag-list__ul {
    margin-top: 20px;
    width: 100%;
    height: auto;
    text-align: left;
}

.tag-list__ul li {
    margin-right: 1%;
    width: 48%;
    font-size: 14px;
    display: inline-block;
    margin-bottom: 10px;
    text-align: left;
}

.tag-list__ul li a {
    color: #232323;
    font-size: 14px;
}

.hot-list__ol {
    margin-top: 20px;
}

.hot-list__ol li {
    margin-bottom: 12px;
    width: 100%;
    font-size: 14px;
    text-align: left;
}

/* article detail.css */
#top-gg,
#bottom-gg {
    display: block;
    margin: 0 auto 16px;
    width: auto;
    height: auto;
    max-height: 250px;
    text-align: center !important;
}

#top-gg {
    height: 100px;
    overflow: hidden;
}

#article {
    text-align: left;
    line-height: 1.8;
    width: 100%;
    height: auto;
    font-size: 16px;
    color: #404040;
    overflow-x: hidden;
}

.h1 {
    color: #404040;
    font-size: 30px;
    line-height: 1.5;
    text-align: left;
    font-weight: 600;
}

.article-meta {
    margin: 0 auto 20px;
    width: auto;
    height: 40px;
    line-height: 40px;
    text-align: left;
}

.meta-li {
    display: inline-block;
    margin: 0 15px 0 0;
    font-size: 13px;
    color: #707070;
}

#article a,
.article-meta a {
    color: #2D8CF0;
}

#article a:hover {
    text-decoration: underline;
}

#article p,
#article div {
    color: #444444;
    font-size: 16px;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 25px;
}

#article p:last-child {
    margin-bottom: 0;
    font-size: 14px;
}

#article strong {
    margin: 0;
}

#article h2,
#article h3,
#article h4,
#article h5 {
    margin: 25px 0;
    height: auto;
    min-height: 30px;
    line-height: 30px;
    font-weight: 600;
    font-size: 20px;
    color: #555555;
}

#article h3,
#article h4 {
    font-size: 18px;
}

#article h5 {
    font-size: 16px;
}

#article h3 > p,
#article h3 > p:last-child {
    display: block;
    font-size: 19px;
}

#article img {
    display: block;
    margin: 15px auto;
    width: auto;
    max-width: 100%;
    height: auto;
}

#artilce-tags {
    margin: 10px auto;
    padding: 20px 0;
    font-weight: 600;
    font-size: 13px;
}

.artilce-tag {
    margin: 0 2px;
    padding: 6px 8px;
    border: 1px #e4e4e4 solid;
    border-radius: 4px;
    font-size: 14px;
    color: #1B74E4;
    font-weight: 500;
}

.artilce-tag:hover {
    color: #527FFF;
}

#related-articles {
    margin: 25px auto 0;
    width: 100%;
    height: auto;
}

#related-articles .h4 {
    margin-bottom: 0;
    text-align: center;
    color: #444444;
    font-size: 15px;
}

.r-item-wrapper {
    width: 100%;
    height: auto;
}

.r-item-wrapper::after {
    clear: both;
    display: table;
    content: '';
    height: 1px;
    width: 100%;
}

.r-item {
    box-sizing: border-box;
    position: relative;
    float: left;
    padding: 16px;
    width: 25%;
    overflow: hidden;
}

.r-item-pic-c {
    display: block;
    width: 100%;
    height: 116px;
    border-radius: 2px;
    overflow: hidden;
    transition: 0.3s opacity;
}

.r-item:hover .r-item-pic-c {
    opacity: 0.85;
}

.r-item:hover .r-item-a {
    color: #527FFF;
}

.r-item-pic {
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
}

.r-item-title {
    width: 100%;
    height: 40px;
    line-height: 20px;
    overflow: hidden;
    font-weight: 500;
    font-size: 13px;
    text-align: left;
    color: #232323;
}

.article-info {
    position: relative;
    margin-top: 6px;
    font-size: 12px;
    color: #999;
    text-align: left;
}

#article-pager {
    display: flex;
    padding: 20px 0;
    width: 100%;
}

.pager-item {
    padding: 0 14px;
    width: 45%;
    height: 36px;
    line-height: 36px;
    border: 1px #E4E4E4 solid;
    border-radius: 20px;
    color: #555555;
}

.pager-item:first-child {
    margin-right: 2.5%;
}

.pager-item:last-child {
    margin-left: 2.5%;
}

.pager-a:hover {
    color: #2D8CF0;
}

.r-cate-a {
    font-size: 13px;
    color: #2D8CF0;
}

.pub-time {
    display: block;
    float: right;
    font-size: 13px;
}

#article pre,
#article pre p {
    margin-bottom: 4px;
    color: #f8f8f2;
    font: 15px/28px 'courier new';
}

p#declare {
    margin: 0 auto;
    width: 98%;
    text-align: center;
    font-size: 13px;
    color: #888;
}

@media screen and (max-width: 768px) {
    html, body {
        width: 100%;
        height: 100%;
        overflow-x: hidden;
        overflow-y: auto;
    }

    #main-body {
        margin: 3.8rem 0 1rem;
        width: 100%;
    }

    #left {
        box-sizing: border-box;
        padding: 16px 14px 0 14px;
        width: 100%;
    }

    #bread-nav {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .h1 {
        font-size: 6.4vw;
        line-height: 8vw;
        color: #333;
        font-weight: 500;
    }

    .meta-li {
        font-size: 1.3rem;
        color: #999999;
    }

    .meta-li:nth-child(2) {
        float: right;
        margin-right: 0;
    }

    #artilce-tags {
        padding: 0 0;
        text-align: left;
    }

    #article p,
    #article div {
        font-size: 2.0rem;
    }

    #article p:last-child {
        display: none;
    }

    #artilce-tags span {
        display: none;
    }

    .artilce-tag {
        margin: 4px 2px;
        padding: 4px 4px;
        display: inline-block;
    }

    #article-pager {
        display: block;
        padding: 8px 0;
    }

    .pager-item {
        box-sizing: border-box;
        margin-right: 0;
        width: 100%;
    }

    .pager-item:last-child {
        margin-top: 8px;
        margin-left: 0;
    }

    #related-articles {
        margin: 10px auto 0 auto;
    }

    #related-articles .h4 {
        margin-bottom: 0.8rem;
        padding-left: 10px;
        height: 3.6rem;
        line-height: 3.6rem;
        border-left: 6px #527FFF solid;
        text-align: left;
        font-size: 4.2vw;
    }

    .r-item {
        position: relative;
        display: flex;
        justify-content: space-between;
        padding: 4vw 0;
        width: 100%;
        border-bottom: 1px solid #dbdbdb;
    }

    .r-item:last-child {
        border-bottom: none;
    }

    .r-item-pic-c {
        width: 44vw;
        height: 22vw;
        border-radius: 2vw;
        margin-right: 3.5vw;
    }

    .r-item-title {
        height: auto;
        max-height: 4.0rem;
        overflow: hidden;
    }

    .r-item-a {
        flex: auto;
        font-size: 4.0vw;
        color: #232323;
    }

    .r-cate-a {
        font-size: 3.5vw;
    }

    .article-info {
        position: absolute;
        bottom: 20px;
        left: 32vw;
        right: 0.2vw;
        font-size: 3.5vw;
        color: #999;
    }

    .article-item {
        padding: 10px 0;
        height: 9.0rem;
    }

    .article-img-a {
        display: flex;
        align-items: center;
        margin-right: 2%;
        width: 36%;
        text-align: left;
    }

    .article-img {
        width: 92%;
        height: auto;
        border-radius: 6px;
    }

    .other-info {
        bottom: 4px;
    }

    .article-title-a {
        color: #232323;
        font-weight: 500;
    }
}