/*公共样式*/
#EntryTag {
    margin-top: 20px;
    font-size: 9pt;
    color: gray;
}

.topicListFooter {
    text-align: right;
    margin-right: 10px;
    margin-top: 10px;
}
#divRefreshComments {
    text-align: right;
    margin-right: 10px;
    margin-bottom: 5px;
    font-size: 9pt;
}

/*公共样式（全局样式）*/
* {
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
overflow-x: hidden; 
overflow-y: auto;
}
body {
    background-image:url('https://images.cnblogs.com/cnblogs_com/Bita/884014/o_background.jpg');
    background-size:cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    background-attachment:fixed
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}
fieldset,
img {
    border: 0;
}
ul {
    word-break: break-all;
}
li {
    list-style: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal;
}
.clear {
    clear: both;
}
a{
    text-decoration:none;
    color:#007ACC
}
/*home和头部开始*/
#home {
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;    
}
/*标题高度*/
#header {    
    height: 6rem;
}
#blogTitle h1 { 
    text-align:center;    
}
/*大标题*/
#blogTitle h1 a{    
    color:white;
    font-size: 6rem;    
}
/*菜单链接*/
#navigator {
    visibility: hidden;
    background-color: rgba(0, 122, 204, 0.95);
    height: 50px;
    top: 6em;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
    z-index: 10086;    
    width:100%;
}
#navList {
    display: block;
    margin: auto;
}
#navList li {
    display: inline-block;
    padding: 0.8em 0;
    transition: background-color 0.4s;
    moz-transition: background-color 0.4s; /* Firefox 4 */
    -webkit-transition: background-color 0.4s; /* Safari 和 Chrome */
    -o-transition: background-color 0.4s; /* Opera */
}
#navList li:hover {
    background-color: rgba(255, 255, 255, 0.2);
}
#navList li a {
    text-decoration: none;
    color: white;
    padding: 1em;
}
.blogStats {
    display: none;
}

/*主页文章列表开始*/
#main {
    padding-top: 4rem;
    margin: auto;
    font-size: 0;
}

/*文章列表和侧边栏大小*/
#mainContent,
#sideBar {
    font-size: 1rem;
    width: 100%;
    display: inline-block;
}

#sideBar{
    padding-left: 2rem;
}
.day {
    width: 100%;
    margin-bottom: 2rem;
    background-color: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    padding: 0.6rem 1rem;
    box-sizing: border-box;
    border-radius: 5px;
}
.dayTitle {
    color: #007ACC;
    float: right;
}
.postTitle::before,
.entrylistPosttitle::before {
    content: "|";
    color: #007ACC;
    font-size: 1.3rem;
    font-weight: 900;
    display: inline-block;
}
.postTitle a,
.entrylistPosttitle a {
    text-decoration: none;
    font-size: 1.3rem;
    color: #007ACC;
    transition: margin-left 0.4s;           
    -moz-transition: margin-left 0.4s;      
    -webkit-transition: margin-left 0.4s;
    -o-transition: margin-left 0.4s;
}
.postTitle a:hover {
    margin-left: 1.2rem;
}
.postCon,
.entrylistPostSummary {
    margin: 0.6em;
}
.postTitle:not(:nth-child(2)) {
    padding-top: 0rem;
}
.postDesc:not(:nth-last-child(2))::after {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: white;
    font-size: 8px;
    display: block;
    width: calc(100% + 2rem);
    content: "-";
    position: relative;
    right: 1rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    z-index: 2;
}
.postSeparator {
    clear: both;
    height: 0px;
    width: 100%;
    clear: both;
    float: right;
    margin: 0 auto 15px auto;
}
.topicListFooter {
    width: 900px;
}
.topicListFooter a {
    padding: 0.6rem 1rem;
    color: white;
    background-color: #007ACC;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
}

/*侧边栏*/
#sideBar {
    width: 280px;
    vertical-align: top;
}
.newsItem,
#blog-calendar,
#leftcontentcontainer> div>div {
    margin-bottom: 2rem;
    background-color: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    border-radius: 2px;
    padding: 0.4rem 0.6rem;
    overflow: hidden;
}
.newsItem h3,
#blog-calendar::before {
    display: block;
    color: white;
    background-color: #007ACC;
    width: 100%;
    padding: 0.4rem 0.6rem;
    position: relative;
    right: 0.6rem;
    bottom: 0.4rem;
    box-sizing: content-box;
}
#blog-calendar::before {
    content: "日历";
}
#blogCalendar td,
#calender th {
    position: relative;
    color: black;
    padding: 0.1rem 0.5rem;
}
.CalTitle td:nth-child(2) {
    padding: 0 3.1rem !important;
}
#blogCalendar th.CalDayHeader {
    color: dimgrey;
}
#blogCalendar td.CalOtherMonthDay {
    color: grey;
}
#blogCalendar td a u {
    text-decoration: none;
    color: #007ACC;
}
#blogCalendar td.CalTodayDay {
    z-index: 1;
}
#blogCalendar td.CalTodayDay,
#blogCalendar td.CalTodayDay a u {
    color: white !important;
}
#blogCalendar td.CalTodayDay::before {
    top: -0.05rem;
    right: 0.32rem;
    position: absolute;
    display: block;
    content: "O";
    color: #007ACC;
    background-color: #007ACC;
    border-radius: 1rem;
    width: 1.65rem;
    height: 1.65rem;
    z-index: -1;
}
#leftcontentcontainer> div>div {
    padding: 0;
}
.catListTitle {
    color: white;
    background-color: #007ACC;
    padding: 0.4rem 0.6rem;
}
#leftcontentcontainer li {
    padding: 0.2rem 0.4rem;
    transition: background-color 0.4s;
    -moz-transition: background-color 0.4s; /* Firefox 4 */
    -webkit-transition: background-color 0.4s; /* Safari 和 Chrome */
    -o-transition: background-color 0.4s; /* Opera */
}
#leftcontentcontainer li:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
}
#leftcontentcontainer li:hover {
    background-color: rgba(0, 0, 0, 0.1);
}
#leftcontentcontainer ul li a {
    color: black;
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#leftcontentcontainer ul li a {
    color: black;
    display: inline-block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recent_comment_title,
.recent_comment_body {
    border: none !important;
    margin: 0 !important;
}
#sidebar_search_box {
    padding: 0.4rem 0.6rem;
}
input.input_my_zzk {
    border: none;
    border-bottom: 2px solid #007ACC;
    width: 11rem;
}
input.btn_my_zzk {
    color: white;
    border: none;
    outline: none;
    display: inline-block;
    background-color: #007ACC;
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    vertical-align: bottom;
    height: auto;
    border-radius: 2px;
}
#sidebar_toptags ul li {
    padding: 0.3rem 0.4rem;
}
#sidebar_toptags ul li a {
    display: inline-block;
    vertical-align: bottom;
    width: auto;
    heigh:auto;
}

/* 文章查看部分 */
#post_detail,
.feedbackItem,
#comment_form_container,
#divCommentShow> div,
.entrylistItem,
#myposts {
    width: 900px;
    margin-bottom: 2rem;
    background-color: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    padding: 0.6rem 1rem;
    box-sizing: border-box;
    border-radius: 2px;
}
#under_post_news,
#under_post_kb
{
    display: none;
}
#post_detail .postDesc::after {
    display: none;
}

/* 文章后的作者信息，支持/反对 */
#author_profile {
    width: 150px;
    float: left;
    margin-top: 10px;
}
#green_channel {
    float: right;
    position: relative;
    border: none;
    right: 150px;
}
#div_digg {
    float: right;
    position: relative;
    left: 360px;
    visibility: hidden;
}
#digg_tips {
    display: none;
}
/* 评论区 */

.feedback_area_title,
#commentform_title,
.entrylistTitle,
.myposts_title {
    font-size: 1.2rem;
    color: white;
    background-color: #007ACC;
    width: 900px;
    padding: 0.4rem 0.6rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
}
.feedbackItem {
    margin-bottom: 1rem;
    position: relative;
}
.feedbackListSubtitle {
    color: white;
    font-size: 0;
}
.feedbackManage {
    float: right !important;
    z-index: 5;
    font-size: 1rem;
}
a.layer {
    font-style: italic;
    position: absolute;
    font-size: 3.5rem;
    color: black;
    opacity: 0.1;
    bottom: 0;
    right: 1rem;
    z-index: 1;
}
.comment_date {
    font-size: 1rem;
    position: relative;
    left: 0.5em;
    color: gray;
}
.blog_comment_body {
    margin: 8px;
}
.comment_vote {
    text-align: left;
    position: relative;
    right: 0.6rem;
}
a[id^='a_comment_author'] {
    font-size: 1rem;
    float: left;
}
.louzhu::before,
.comment_my_posted b::before,
.new-comment-title a:nth-child(2)::before {
    color: white;
    font-size: 1rem;
    content: "博主";
    display: inline-block !important;
    background-color: darkblue;
    padding: 0 0.2rem;
    border-radius: 4px;
    vertical-align: bottom;
}
.louzhu::before {
    margin-left: 0.5rem;
}
.sendMsg2This {
    display: none;
}
legend {
    position: absolute;
    bottom: 0.3rem;
    right: 0.3rem;
}
legend>a::before {
    content: "查看";
}
.comment_quote,
.postBody blockquote {
    position: relative;
    border: none;
    border-left: 10px solid lightgray;
    background-color: rgba(0, 0, 0, 0.05);
}
#comment_form {
    position: relative;
}
#comment_nav {
    width: 900px;
    margin: 2rem 0;
}

/* 发布评论 */
#comment_nav> a,
#span_refresh_tips,
#btn_comment_submit,
#commentbox_opt a {
    padding: 0.6rem 0.8rem;
    background-color: #007ACC;
    color: white !important;
    margin: 0.3rem;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    border-radius: 2px;
    height:auto;
    width:auto;
}
#span_refresh_tips {
    display: none;
}
#commentform_title {
    background-image: none;
    position: relative;
    right: 1rem;
    bottom: 0.6rem;
    margin-bottom: 0;
}
#tip_comment {
    position: absolute;
    top: 0.1rem;
}
#tbCommentAuthor {
    background: none;
    border: none;
    padding: 0;
    font-size: 1rem;
}
.comment_my_posted> img {
    display: none;
}
.comment_my_posted b::before {
    margin-right: 0.5rem;
    font-weight: 500;
    content: "发布中";
    background-color: skyblue;
}
.new-comment-title .comment_date {
    display: none;
}
.new-comment-title a:nth-child(2) {
    float: left;
}
.new-comment-title a:nth-child(2)::before {
    margin-right: 0.5rem;
    content: "已发布";
    background-color: lightgreen;
}
.new-comment-title a {
    float: right;
}
#tbCommentBody {
    height: 10rem;
    width: 860px;
    font-size: 1rem;
    font-family: "Monaco", "微软雅黑";
    resize: none;
}
#btn_comment_submit {
    border: none;
    width: unset;
    height: unset;
    font-size: 1rem;
}
#commentbox_opt a:last-child {
    background-color: red;
}
#comment_form_container> p:nth-last-child(2) {
    color: gray;
    bottom: 2rem;
    position: relative;
    float: right;
}

/* 随笔档案（按时间分类） */
.entrylistPosttitle a {
    margin-left: 0.3rem;
}
.entrylistPosttitle a:hover {
    margin-left: 1.5rem;
}

/* 随笔标签 */
#myposts {
    margin: 0;
    padding: 0;
}
.myposts_title {
    font-size: 1.2rem !important;
}
.PostList {
    font-size: 1rem !important;
    padding: 1rem;
    margin: 0 !important;
    border-bottom: 1px solid gray;
}
.PostList:nth-last-child(2) {
    border: none;
}
.postDesc2 {
    float: right;
}
/* 页尾footer */
#footer {
    text-align: center;
    margin-bottom: 3rem;
}


/*文章内部常用标签格式*/
#EntryTag,
#post_next_prev {
    font-size: 1rem;
}
.postBody code,
.hljs,
.cnblogs-markdown,
.sourceCode code pre,
.sourceCode code span {
    font-family: "Monaco", "微软雅黑" !important;
}
.sourceCode code {
    display: inline-block;
    white-space: pre;
}
.postBody p img {
    max-width: 100% !important;
    margin: 1rem 0;
}
.postBody blockquote {
    position: relative;
    border: none;
    background-color: white;
    box-shadow: 2px 2px 11px rgba(0, 0, 0, 0.41);
}

/*第五部分：响应式视图布局。*/
@media screen and (min-width:1250px) {
    body {
        width: 100%;
        overflow-x: hidden;
    }   

    #blogTitle h1 a{    
        color:white;
        font-size: 6rem;    
        margin-right: 20rem;
    }
    
    #main {
        width: 1250px;
    }
    
    #mainContent
    {
        width: 75%;
    }
    
    .day {
        padding: 1rem;
    }
    
    .dayTitle,
    #comment_form_container> p:nth-last-child(2),    
    .postText2 {
        display: none;
    }
    
    .feedback_area_title,
    .entrylistTitle,
    .myposts_title,
    .feedbackItem,
    #post_detail,
    #comment_form_container,    
    #divCommentShow> div,    
    #under_post_news,    
    #under_post_kb,    
    .entrylistItem,    
    #myposts {
        width: 100%;
    }
    
    #green_channel {
        float: none;
        right: 0;
    }
    
    #blogCalendar td.CalTodayDay {
        background-color: #007ACC;
    }
    
    #blogCalendar td.CalTodayDay::before {
        display: none;
    }
    
    #commentform_title {
        width: calc(100% + 2rem);
    }
    
    #tbCommentBody {
        width: calc(100% - 0.5rem);
    }
    
    .commentbox_title_right {
        float: none;
    }
    
    .postBody img {
        max-width: 100% !important;
    }
    
    .PostList {
        padding: 0.5rem 0.5rem 0;
    }
    
    .postDesc2 {
        display: block;
        margin-top: 1rem;
    }
}

@media screen and (max-width:700px) {
    #main,
    #mainContent,
    #sideBar,
    #blogTitle h1,
    #blogTitle h2 {        
        width: calc(100%-2rem);
    }
    
    #blogTitle h1 a{    
        color:white;
        font-size: 3rem;    
        margin-right: 0rem;
    }
    
    #mainContent{
        font-size: 0rem;
    }
    
    #sideBar{
        display:none;
    }
    
    .day {
    width: 100%;
    margin-bottom: 0.3rem;
    background-color: white;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
    padding: 0.6rem 1rem;
    box-sizing: border-box;
    border-radius: 5px;
    }
    .dayTitle {
    color: #007ACC;
    float: right;
    }
    .postTitle::before,
    .entrylistPosttitle::before {
    content: "|";
    color: #007ACC;
    font-size: 0.9rem;
    font-weight: 900;
    display: inline-block;
    }
    
    .postTitle a,
    .entrylistPosttitle a {
    text-decoration: none;
    font-size: 0.9rem;
    color: #007ACC;
    }
    
    #header {    
    height: 0.7rem;
    }
}

/*自定义控件*/
#toTop {
    width: 40px;
    height: 40px;
    display: none;
    position: fixed;
    right: 20px;
    bottom: 80px;
    background: url(https://images.cnblogs.com/cnblogs_com/Bita/884014/o_GoToTop.png) no-repeat 0 0;
    background-size:cover;  
    transition: opacity 0.4s;
    moz-transition: opacity 0.4s; /* Firefox 4 */
    -webkit-transition: opacity 0.4s; /* Safari 和 Chrome */
    -o-transition: opacity 0.4s; /* Opera */
    opacity: 0.6;
}
#toTop:hover {
    opacity: 1;
}

/*去除广告*/
.c_ad_block, .ad_text_commentbox {
    display: none;
    margin: 0;
    padding: 0;
}
#ad_under_google {
    height: 0;
    overflow: hidden;
}
#ad_under_google a {
    display: none;
}

.col-xs-3{
color:#007ACC;
}

.btn{
color:#FFFFFF;
}