/*  public  */

:root {
    --default-color: #404040;
    --default-bar-color: #404040;
    --post-title-color: #268bd2;
    --header-color: #268bd2;
    /*--list-item-color: #cb4b16;*/
    --blockquote-color: #2aa198;
    --strong-color: #dc322f;
    --link-color: #F4A460;
    --default-font-size: 16px;
    --post-title-font-size: 18px;
}

* {
    box-sizing: border-box;
    transition: all 0.5s;
}

::-moz-selection {
    color: #fff;
    color: rgba(255, 255, 255, .85);
    background: #ea4c89
}

::selection {
    color: #fff;
    color: rgba(255, 255, 255, .85);
    background: #ea4c89
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Helvetica, Verdana, Arial, sans-serif;
    line-height: 1.7;
    font-size: var(--default-font-size);
    color: var(--default-color);
    padding: 0;
    margin: 0;
    /* background: url('https://images2015.cnblogs.com/blog/855723/201703/855723-20170307185603250-254405261.jpg') no-repeat center fixed; */
    background-size: auto 100%;
}

#home {
    margin: 0px;
    width: 100%;
    /*     background-color: transparent !important; */
    overflow: auto;
    border: none;
}   

/*  header  */

.postBody p,
.postCon p {
    margin: 7px 0;
    line-height: 24px;
}

h1 {
    margin: 0;
    color: var(--header-color);
}

h2 {
    font-size: 26px;
    font-weight: bold;
    line-height: 3 !important;
    border-top: 2px double var(--header-color);
    overflow: hidden;
    color: var(--header-color);
}

h3 {
    font-size: 22px;
    font-weight: bold;
    border-bottom: 1px dashed var(--header-color);
    overflow: hidden;
    color: var(--header-color);
}

h4,
h5,
h6 {
    border-bottom: 1px dashed #cccccc;
    overflow: hidden;
    color: var(--header-color);
}

/*blockquote*/
blockquote {
    /*border-color: lightgray;*/
    border-radius: 8px;
    border-left: 10px solid #ccc;
    margin-left: auto;
    color: var(--blockquote-color);
}

strong {
    color: var(--strong-color);
}

/*  link  */
a {
    color: var(--link-color);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

a:visited,
a:hover {
    color: var(--link-color);
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

image {
    border: none;
}

#header {
    padding-bottom: 10px;
}

/*  blog title  */
#blogTitle {
    float: left;
}

#blogTitle a {
    display: none;
}

#blogTitle h1 a {
    position: absolute;
    top: 10px;
    display: initial;
    font-size: 12px;
    text-align: left;
    font-weight: initial;
    color: #fff;
}

#blogTitle,
#blogTitle h1 a:hover {
    text-decoration: none;
}

#blogTitle h2 {
    display: none;
}

/*  sub title  */
.subtitle {
    padding-left: 30px;
    font-size: 22px;
    color: #999;
    font-weight: normal;
    margin: 10px 0;
}

/*  navigator  */
#navigator {
    background: var(--default-bar-color);
    font-size: 16px;
    height: 48px;
    text-align: center;
}

#navList li {
    margin: 0;
    line-height: 48px;
    display: inline-block;
}

#navList li:hover {
    background: #696969;
}

#navList li a {
    padding: 0 34px;
    text-decoration: none;
    line-height: 48px;
    border: 0;
    color: #fff;
    display: -moz-inline-box;
    display: inline-block;
}

.blogStats {
    display: none;
}

#main {
    padding: 0;
    margin: 0 0 10px 0;
}

/*  side bar  */

#sideBarMain {
    padding: 0;
    background: transparent;
    margin: 0;
    /*width:190px;*/
    font-size: 14px;
    line-height: 1.5;
}

#sideBarMain a {
    color: #666;
}

#leftcontentcontainer {
    color: #666;
}

.newsItem {
    color: #666;
}

/*  profile  */
#profile_block {
    margin-top: 0px;
    line-height: 24px;
    text-align: left;
}

/* main panel  */
#sideBar {
    background: transparent;
    float: right;
    margin: 20px 0 20px 0;
    padding: 10px;
}

.day,
.commentform,
.entrylistItem,
#post_detail,
#blog-comments-placeholder,
#myposts {
    margin: 0 0 20px;
    padding: 0 20px 0 20px;
    border-radius: 3px;
    background: transparent;
}

.day:hover,
.commentform:hover,
.entrylistItem:hover,
#sideBar:hover,
#blog-comments-placeholder:hover,
#myposts:hover {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

/*  main content  */
#mainContent {
    opacity: 0.95;
    box-shadow: 0 0 10px Gray;
    background: linear-gradient(to right, honeydew, Snow);
    margin: 20px 10px 20px 10px;
    padding: 20px 10px 10px 10px;
    float: left;
}

/*  blog title  */
.postTitle a {
    color: var(--post-title-color);
    font-size: var(--post-title-font-size);
    border-bottom: 1px solid var(--header-color);
}

.postTitle a:hover {
    text-decoration: none;
}

/* Article: title */
#topics .postTitle {
    text-align: center
}

.dayTitle {
    display: none;
}

/*  blog description */
.c_b_p_desc {
    padding: 10px;
    line-height: 24px;
    color: var(--default-color);
}

.c_b_p_desc a {
    color: var(--default-color);
}

.c_b_p_desc a:hover {
    text-decoration: none;
    border-bottom-width: 1px;
    border-bottom-style: dotted;
}

/*  description image  */
.desc_img {
    margin-left: 10px;
    border: solid 1px #fff;
    box-shadow: 0 0 10px #aaa;
}

/*  blog article  */
#topics .post {
    background: transparent;
}

.postCon {
    padding: 10px 20px 0 20px;
}

.postDesc {
    margin: 0 20px;
    margin-bottom: 2px;
    padding: 8px 0px;
    font-size: 14px;
    color: #aaa;
    background: transparent;
    text-align: left;
}

.postDesc a {
    color: #AAA;
}

.postBody {
    padding: 0;
}

/*  google  search */
#sidebar_search_box {
    line-height: 10px;
}

.input_my_zzk {
    width: 100%;
    height: 26px;
    padding: 1px;
    border: solid 1px #ccc;
    box-shadow: inset 0 0 3px #ddd;
    border-radius: 4px;
}

/* search button */
.btn_my_zzk {
    font-family: 'Microsoft Yahei';
    border: none;
    width: 100%;
    height: 26px;
    padding: 1px;
    margin: 0 0 10px 0;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    display: inline-block;
    background: #606060;
    border-radius: 4px;
    color: #fff;
}

.btn_my_zzk:hover {
    background: #696969;
}

/*  comment button  */

.commentbox_title {
    width: 100%
}

#btn_comment_submit {
    border: none;
    height: 48px;
    width: 120px;
}

/*  comment submit  */
.comment_btn {
    font-family: 'Microsoft Yahei';
    border: none;
    height: 48px;
    width: 120px;
    font-size: 18px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    display: inline-block;
    background: #696969;
    color: #fff;
}

#btn_comment_submit:hover {
    background: #696969;
}

/*  comment title  */
.feedback_area_title {
    padding: 10px;
    font-size: 24px;
    font-weight: bold;
    color: #696969;
    border-bottom: solid 6px #696969;
}

.feedbackListSubtitle {
    font-size: 12px;
    color: var(--default-color);
}

.feedbackListSubtitle a {
    color: var(--default-color);
}

.comment_quote {
    background: #FCFAAC;
    padding: 15px;
    border: 1px solid #CCC;
}

#commentform_title {
    color: #696969;
    background-image: none;
    background-repeat: no-repeat;
    margin-bottom: 10px;
    padding: 10px 20px 10px 10px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: solid 6px #696969;
}

/*  comment form */
#comment_form {
    margin: 10px 0;
    padding: 0 20px 0 20px;
}

/*  comment body  */
#tbCommentBody {
    font-family: 'Microsoft Yahei';
    margin-top: 10px;
    width: 100%;
    min-width: 640px;
    background: white;
    color: #333;
    border: 2px solid #fff;
    box-shadow: inset 0 0 8px #aaa;
    padding: 10px;
    height: 120px;
    font-size: 14px;
    min-height: 120px;
}

/*  coment items */
.feedbackItem {
    font-size: 14px;
    line-height: 24px;
    margin: 10px 0;
    padding: 20px;
    background: #F2F2F2;
    box-shadow: 0 0 5px #aaa;
}

.feedbackListSubtitle {
    font-weight: normal;
}

/*   entry list */
.entrylist {
    padding: 10px 20px;
    background: transparent;
}

/*.entrylistItem {
    margin:10px 0;
    padding:10px;
}*/
.entrylistPosttitle {
    font-size: 18px;
    font-weight: bold;
    padding-left: 30px;
}

.entrylistPostSummary {
    padding: 10px;
}

.entrylistItemPostDesc {
    font-size: 12px;
    color: #999;
    padding-left: 40px;
}

/*  footer */
#footer {
    font-size: 12px;
    margin: 0;
    padding: 0;
    text-align: center;
    background: var(--default-bar-color);
    color: #DDD;
}

/*green_channel*/

#green_channel {
    float: none;
    position: absolute;
    top: auto !important;
    /* avoid position changed afer click diggit*/
    left: 40%;
    width: auto;
    border: none;
    margin: 15px 0;
}

#green_channel a {
    float: left;
    margin: 0 0 0 10px;
    background: none;
    box-shadow: none;
    text-shadow: none;
    border-radius: 3px;
    vertical-align: middle;
}

#author_profile {
    float: right;
    width: auto;
    margin: 9px 10px 9px 0px;
}

.author_avatar {
    margin: 3px 10px 3px 0px;
    padding: 0;
    border-radius: 3px;
}

.author_avatar:hover {
    box-shadow: 0px 2px 3px 1px gray;
}

/*.diggword {
    display: none;
}*/

#green_channel #green_channel_weibo,
#green_channel #green_channel_wechat {
    padding: 0px 2px;
}

#div_digg {
    float: left;
    /*position: fixed;*/
    /*bottom: 50px;*/
    margin: 0px;
    padding: 10px 0;
    width: auto;
}

.buryit {
    margin-left: 10px;
}

#green_channel #green_channel_digg,
#green_channel #green_channel_follow,
#green_channel #green_channel_favorite {
    background: #FED7E2;
}

/*.diggit:hover {
    background: #9C9;
    box-shadow: 0px 0px 1px 1px #ADA;
}

.buryit:hover {
    background: #99C;
    box-shadow: 0px 0px 1px 1px #AAD;
}*/

#green_channel #green_channel_digg:hover {
    background: #2daebf;
    box-shadow: 0px 0px 1px 1px #3dbecf;
}

#green_channel #green_channel_follow:hover {
    background: #e33100;
    box-shadow: 0px 0px 1px 1px #F341A0;
}

#green_channel #green_channel_favorite:hover {
    background: #ffb515;
    box-shadow: 0px 0px 1px 1px #FFC525;
}

/*.diggit,
.buryit {
    color: white;
    width: 56px;
    height: 24px;
    margin: 1px;
    padding: 0 6px;
    text-align: right;
    position: relative;
    border-radius: 3px;
    font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;
}

.diggit:before,
.buryit:before {
    top: 3px;
    left: 6px;
    position: absolute;
    font-weight: bold;
}

.diggit:before {
    color: rgba(255, 0, 0, 0.5);
    content: "♥";
    animation: rotate 2s ease infinite;
}

.buryit:before {
    color: black;
    content: "♠";
    animation: beats 1s ease infinite;
}

.diggnum,
.burynum {
    color: white;
}
*/

/*  the latest posts  */
#myposts .PostList {
    font-size: 14px;
    line-height: 24px;
    margin: 10px 0;
    padding: 20px;
    background: #F2F2F2;
    box-shadow: 0 0 5px #aaa;
}

#myposts .postTitle2 a {
    color: #696969;
}

/*AD Kill keep .c_ad_block*/

#under_post_news,
#under_post_kb,
#ad_t2,
#ad_c1,
#ad_c2 {
    display: none;
}

@media print {
    #header {
        display: none !important;
    }

    #home {
        width: 100%;
    }

    #mainContent {
        width: 100%;
    }

    #sideBar,
    #sideBarMain,
    #comment_form,
    #MySignature,
    #blog_post_info_block {
        display: none !important;
    }

    .postTitle,
    .postDesc {
        display: none !important;
    }
}

@media screen and (min-width: 768px) {
    #sideBar {
        display: none !important;
    }
}

@media screen and (min-width: 1024px) {
    #mainContent {
        width: 80%;
        position: relative;
        left: 0%;
        z-index: auto;
    }

    #sideBar {
        width: 18%;
        position: relative;
        right: 5px;
        display: block !important;
    }
}

@media screen and (min-width: 1300px) {
    #header {
        position: fixed;
        z-index: 100;
    }

    #blogTitle {
        display: none;
    }

    #navigator {
        height: auto;
    }

    #navList li {
        display: inherit;
    }

    #mainContent {
        width: 64%;
        position: relative;
        left: 17%;
        z-index: 10;
    }

    #sideBar {
        width: 17%;
        position: relative;
        right: 5px;
        display: block !important;
    }

    #div_digg {
        position: fixed;
        left: 5px;
        top: 200px;
        box-shadow: 0 0 5px green;
        padding: 2px;
    }

    #green_channel {
        float: left;
        position: initial;
    }
}

/*  mobile style sheet */
@media screen and (max-width: 767px) {
    #mainContent {
        margin-left: 0
    }

    a {
        word-wrap: break-word;
    }

    #main,
    #mainContent {
        width: 100%;
    }

    #sideBar,
    body>a,
    .postDesc a,
    #homepage_top_pager {
        display: none;
    }

    #home {
        background-image: none;
    }

    .postTitle a {
        font-size: 14px;
    }

    .postCon,
    .postCon a {
        font-size: 16px;
    }

    .day {
        margin: 0 2%;
    }

    .postCon a {
        padding-left: 0;
    }

    .postDesc {
        width: 100%;
        font-size: 12px;
    }

    #home {
        background-color: #FFFFFF;
    }

    #mainContent .forFlow {
        margin: 4px 0 0 0;
    }

    #mainContent .postBody {
        width: 100%;
    }

    .post {
        padding: 0 4%;
    }

    .topicListFooter {
        width: 100%;
        text-align: center;
        padding: 0;
        height: 40px;
    }

    .topicListFooter a:link {
        font-size: 12px;
    }

    #green_channel {
        width: 100%;
    }

    #tbCommentAuthor,
    #tbCommentBody {
        width: 100%;
    }
}

/*animation*/

@keyframes conveyor {
    50% {
        background-position: 100% 0%;
    }
}

@keyframes beats {
    50% {
        transform: scale(1.2, 1.2);
        text-shadow: 0px 0px 1px rgba(255, 0, 0, 0.5);
    }
}

@keyframes rotate {
    25% {
        transform: rotateY(180deg);
    }

    75% {
        transform: rotateY(180deg);
    }
}