/*
 * 
 * @package dachun
 * @author Alex.Duan
 * @version 1.0
 * @link http://blog.oroct.com
 *
 */

 @font-face {
    font-family: 'icomoon';
    src:url('fonts/icomoon.eot?-i5ysuu');
    src:url('fonts/icomoon.eot?#iefix-i5ysuu') format('embedded-opentype'),
        url('fonts/icomoon.woff?-i5ysuu') format('woff'),
        url('fonts/icomoon.ttf?-i5ysuu') format('truetype'),
        url('fonts/icomoon.svg?-i5ysuu#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
    font-family: 'icomoon';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/*
 * 类Class以'.'来定义
 */
.icon-link:before {
    content: "\e005";
}
.icon-image:before {
    content: "\e010";
}
.icon-align-justify:before {
    content: "\e026";
}
.icon-layers:before {
    content: "\e031";
}
.icon-upload:before {
    content: "\e068";
}
.icon-location:before {
    content: "\e070";
}
.icon-head:before {
    content: "\e074";
}
.icon-menu:before {
    content: "\e120";
}
.icon-rss:before {
    content: "\f09e";
}
.icon-cross:before {
    content: "\e601";
}
.icon-arrow-down:before {
    content: "\e600";
}
.icon-cross {
    line-height: 21px!important;
}

.hr1 {
    border:3;
    color:#afaff8; 
    size:2; 
}

.dlinks {
    font-size: 24px;
}

.dlitem {
    color:#afaff8; 
    font-size: 18px;
    display: inline-block;
    background-color: #ddf;
    text-align: center;
    width: 150px;
    overflow: hidden;
    border: solid #77f 1px;
    border-radius: 5px;
    white-space: nowrap;
}

/*
 * HTML选择器 
 */

body {
    color:#333;
    font-family: "Courier New","Microsoft YaHei","WenQuanYi Micro Hei","楷体",SimSun,sans-serif,"Classic Grotesque W01", "Hiragino Sans GB","STHeiti",Arial;
    font-size:18px;
    -webkit-font-smoothing: antialiased;
    max-width: 1024px;   
    margin: 2px auto;       
}


.move-block{
    position: relative;
    border: 1px solid #bbb;
    box-shadow: 16px 10px 10px #777;
    background-color:#A7A7A7;
    border-radius: 10px;
}
a, button.submit {
    color:#3F3F3F;
    text-decoration:none;
    -webkit-transition:all .1s ease-in;
    -moz-transition:all .1s ease-in;
    -o-transition:all .1s ease-in;
    transition:all .1s ease-in;
}

a:hover, a:active {
    color:#6E7173;
}

mark {
    padding: 3px 3px 3px 5px;
    background: #fffdd1;
}

/* 代码域 */
pre, code {
/*    background:#f8f8f8; */
    font-family: Monaco, "Courier New", Monaco, monospace, Menlo, Consolas, "Lucida Console";
    font-size:0.9em;
    line-height: 1.2;
   
}
pre {
    margin: 5px 0;
    overflow:auto;
    background: #ddd;
    border: 1px solid #888;
    border-radius: 5px;
    word-wrap: normal;
    overflow: hidden;
}
blockquote,.stressed {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 1em 0 0em 0em;
    padding: 0 0 0 0.2em;
    border-left: #7a7a7a 0.2em solid;
    color: #222;
    font-weight:bolder;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], textarea {
    padding:6px;
    border:1px solid #ddd;
    width:100%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
    outline:none;
}
textarea {
    resize:vertical;
}
.clear {
    clear:both;
}
.clearfix, .col-group {
    zoom:1;
}
.clearfix:before, .col-group:before, .clearfix:after, .col-group:after {
    content:" ";
    display:table;
}
.clearfix:after, .col-group:after {
    clear:both;
}

.post-content a, .comment-content a {
    border-bottom:1px solid #ddd;
    background-color: #ddf;
    border-radius: 5px;
    padding: 3px;
    
}
.post-meta a:hover, .post-content a:hover, .widget a:hover, .comment-content a {
    border-bottom-color:transparent;
}

/* 以#开头的为 id标识 */
#header {
    padding: 1em 0 0 2em;
    text-align:left;    
    border-radius: 10px 10px 0 0;
    background-color: #f0f0f0;
    margin: 0px auto;
}

.site-name {
    padding: 0px;
}
.site-name h1{
    padding: 0;
    margin:0;
    height: 0;
    overflow: hidden;
}
#logo {
    font: 32px "Hiragino Sans GB","Microsoft Yahei","Courier New",sans-serif,"Times New Roman", Georgia, Times, sans-serif;
    color:#555;
}
#logo span {
    color:#777;
}
#logo:hover {
    color:#777;
}
.description {
    margin: 10px 0px 8px;
    font-size: 20px;
    color:#555;
}

#nav-menu {
    padding: 0px 0px;
    margin:  0px 1.5em 5px 0;
    border-top: 2px solid #aaf;
    border-bottom: 2px solid #aaf;
}

#nav-menu a {
    text-decoration: none;
    padding: 3px 0px 0px;
    color: #333;
    position: relative;
    z-index: 4;
    font-size: 18px;
    line-height: 1.5;
    display: inline-block;
}
#nav-menu a:first-child {
    border:none;
}
#nav-menu a:hover {
    background-color:#467B96;
    color: #fff;
}
#nav-menu a.current {
    background-color: none;
    font-weight: bold;
}
#nav-menu a.current:after {
    border-left: 14px solid transparent;
    border-right: 14px solid transparent;
    border-top: 14px solid #303538;
    bottom: -6px;
    content: "";
    display: none;
    position: absolute;
    z-index: 3;
    height: 0;
    text-align: center;
    left: 50%;
    margin-left: -14px;
    width: 0;
}

.site-search {
    display:none;
}
/*
 * ÆÀÂÛÑùÊ½ 
 * Duanshichao Ìí¼Ó
 */
.respond
{
    background: #f0f0f0;
    padding: 0 2em;
}

#search {
    max-width: 100%;
    outline: 0px none;
    border: 0px none;
    font-weight: 400;
    margin: 10px 0px;    
    /* 设置为0是为了取消span间距 */ 
    font-size: 0;
}

#search span{
    border: 1px solid #77f;
    display:inline-block;
    height: 30px;
    font-size: 18px;
    vertical-align: middle;
}


/* 查找文件输入框  id = search */
#search input {    
    padding: 0px 0px 0px 8px;
    max-width: 200px;
    height: 30px;
    font: menu;
    font-size: large;
    border: 2px solid #77f;
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
    font-family: "楷体";
}

/* id = search 的按键 */
#search button {
    
    display: inline-block;
    padding: 0px;
    cursor: pointer;
    border: 1px solid #77F;
    background: #77f;
    height: 30px;
    width:  120px;
    color:#fff;
    font: menu;
    font-size: large;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    font-family: "楷体";
}


.col-8 {

}
.col-12{width:100%;}
.container {
    padding:0;
    margin:0 auto; 
}
#secondary {
    height: 100%;
    width: 300px;
    top: 0;
    right: -330px;
    position: fixed;
    z-index: 100;
    box-shadow: -3px 0 8px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    background-color: #303538;
    color: #f8f8f8;
}
.sidebar{
    padding: 60px 0;
}
#main {
    padding-top:0px;
    margin: 0 auto;
}

/* 正文页面 */
.post {
    background: #F0F0F0;
/*    border-radius: 10px; */
    margin: 3px 0px;
    padding: 2em 2em;
    word-wrap: break-word;
}

/* 标题超链接 */
.post-title a {
    color:#333;
}
.post-title a:hover{
    color: #444;
}

/* 文章信息 */
.post-meta {
    color:#333;
    text-align:right;
    display: block;
    font-size: 16px;     
    padding: 5px 0px 0px;
}
/* ------------------------------------------- */
/* 正文标题 */
.post-title {
    margin:0;
    color:#333;
    text-align:center;
    font-size: 18px;
    font-weight: 600;
}

/* ------------------------------------------- */
.post-near {
    border-bottom:1px solid #ddd;
    list-style:none;
    margin-bottom: 3px;
    padding: 1em 2em;
    background: #F0F0F0;
    word-wrap: break-word;
}
.post-near li{
    margin:10px 0;
    font-weight: bold;
}

/* 文档页脚 */
.post-page_footer {
    color:#555;
    text-align:left;
    display: block;
    font-size: 16px; 
    padding: 5px 0px;
    word-wrap: break-word;
}

/* 正文内容 */
.post-content {
    font-size: 18px;
    line-height: 1.5;
    padding: 1px 0 1px;
}
.page-content{
    padding-top: 10px;
    min-height: 400px;
}
.post-content h3,.post-content h2{
    margin: 1.4em 0 1.1em;
}
.post-content pre code ,.comment-content pre code {
    padding: 1px 1px;
}
.post-content p code, .comment-content p code {
    display:inline;
    margin:0 5px;
    padding:3px 5px;
    border: 1px solid #ddd;
    background: #111;
    color: #fff;
    border-radius: 5px;
}
.post-content p {
    margin: 5px 0px;
}
.post-content img {
    display:block;
    position:relative;
    padding:1em 0;
    max-width:100%;
    height:auto;
    overflow:auto;
    margin:0 auto;
    /*width: 112.67%;
    margin-left: -6.33%;*/
}
.post-content ul {
    overflow: auto;
    padding: .5em 1em;
    border-radius: 3px;
    margin:0.5em 0;
}
.post-content ul li{
    /*text-indent: .5em;*/
}

/* 设置正文表格 */
.post-content td,th{
    border: 1px solid #555;
    padding: 5px;
}



.post-footer {
    position: relative;
    margin: 100px 0 0 0;
    padding: 40px 0 0 0;
    border-top: #ddd 1px solid;
    text-align: center;
}

.post-footer h4 {
    font-size: 1.8rem;
    margin: 0;
    padding-top: 5px;
    font-family: "Times New Roman", Georgia, Times, sans-serif;
}

.post-footer p {
    margin: 10px 0 0;
}
.author-ava{
    height: 80px;
    width: 80px;
    overflow: hidden;
    border-radius: 100%;
    border:1px solid #ddd;
    padding: 10px 5px 0;
    background-color: #fff;
    margin: -90px auto 20px;
}
.author-ava img{
    width: 100%!important;
    height: 100%!important;
}

.archive-title {
    padding-top:0px;
    color:#555;
    font-size:18px;
}
.more {
    padding:16px 0 0;
    text-align: left;
}
.more a {
    border:none;
}
.protected .text {
    width:50%;
}
.page-navigator {
    text-align: center;
    list-style:none;
    padding:5px 0 0;
    font-size:16px;
    border-top: 1px solid #ddd;
    background: #F0F0F0;
    margin: 0;
}
.page-navigator li {
    display:inline-block;
    margin:0 5px 5px 0;
}
.page-navigator a {
    display:inline-block;
    padding:0 10px;
    height:25px;
    line-height:25px;
    padding:5px 9px;
    border:1px solid #D4D4D4;
    
}
.page-navigator a:hover {
    background:#F8F8F8;
    border-bottom-color:#D26911;
}
.page-navigator .current a {
    background:#F8F8F8;
    border-bottom-color:#D26911;
}
.related-article{
    border:1px solid #ddd;
    border-left: none;
    border-right: none;
    margin-bottom: 5em;
}
.related-article div{
    width: 399px;
    float: left;
    padding: 20px 0;
}
.related-article div a{
    padding: 0 4em;
    font-size: 17px;
}
.nav-prev{
    text-align: left;
    border-right: 1px solid #ddd;
}
.nav-next{
    text-align: right;
}
.comment-list, .comment-list ol {
    list-style:none;
    margin:0;
    padding:0px;
    background-color: #F0F0F0;
}
.comment-list {
    margin-top:0px;
}
.comment-list li {
    padding:8px 0 0;
    border-bottom:1px dashed #aaf;
}
.comment-list li.comment-level-even {
    background:#FFF;
}
.comment-list li .comment-reply {
    float:right;
    margin-top:-1.5em;
    font-size:.92857em;
    width: 50px;
    text-align: right
}
.comment-meta span {
    color: #666;
    font-style: italic;
    font-size: 9pt;
    line-height: 16px;
}

.comment-list div.comment-children{
    margin: 1em 0 0 2.5em;
    padding-left: .5em;
    border-left: 1px dashed #ddd;
}

.comment-author {
    display:block;
    margin-bottom:3px;
    color:#444;
}
.comment-author .avatar {
    float:left;
    margin:1px 10px 0 0;
    border: 1px solid #ddd;
    padding: 1px;
}
.comment-author cite {
    font-weight:bold;
}
.comment-author a {
    color: #666;
    font-style: italic;
    font-size: 10pt;
    line-height: 24px;
}
.comment-awaiting-moderation {
    font-style:normal;
    float:right;
    margin-top:-20px;
    color:#777;
}
.comment-list .respond {
    margin:15px 0;
    border-top:1px solid #ddd;
}
.comment-body .respond {
    border:none;
    margin:0 0 25px;
}
.respond .cancel-comment-reply {
    float:right;    
    font-size:.92857em;
    margin-top:1em;
    width: 100px;
    text-align: right
}

#comment-form {
    padding-top:5px;
}
#comment-form label {
    display:block;
    color:#888;
    position:absolute;
    margin:9px;
}
#comment-form input {
    padding:8px 6px;
    height:36px;
    border:solid 1px #D4D4D4;
    background:#fdfdfd;
    padding-left:60px;
    color: #555;
}


button.submit {
    border:1px solid #272727;
    display:block;
    line-height:32px;
    width:100%;
    outline:none;
    color: #fff;
    background:#272727;
    height: 38px;
}
button.submit:hover {
    background:#505050;
    border-color: #505050;
}
textarea.textarea {
    line-height:1.8;
    padding:5px 10px 5px 10px;
    width:100%;
    height:174px;
    padding:10px;
    overflow:auto;
    margin:0;
    line-height:1.8;
    font-size:14px;
    background:#d0d0d0!important;
    color: #555;
}

/* 留言簿链接 */
.col2 p, .col1 p {
    margin:9px 0;
}

/* 留言簿内容 */
.col1 {
    margin-right:-220px;
    height:auto;
    float:left;
    width:66%;
    position:relative;
    background-position:0 0;
}

/* 留言簿信息 */
.col2 {
    width:33%;
    float:right;
    position:relative;
    overflow:hidden;
    background-position:right top;
}

/* 分类/搜索页面显示 */
.widget-title{
    font-size: 18px;
    margin: 0px;
    font-weight: normal;
}
#comments .widget-title {
    color:#6E7173;
    line-height:2.7;
    margin-top:0;
    font-size:16px;
    border-bottom:2px solid #aaf;
    display:block;
    margin: 0;
    padding: 0;
}
.widget{
    margin-bottom: 30px;
}
.widget ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.widget ul li{
    line-height: 1.72;
}

.widget-list {
    list-style:none;
    padding:0;
    margin:50px 0 0 -1px;
}
.widget-list2{
    margin:0;
}
.widget-list li {
    margin:0;
    line-height:1.5;
}
.widget-list li span{
    text-transform: uppercase;
    color: #ccc;
}
.date-month{
    font-size: 12px;
    margin-right: 10px;
    display: inline-block;
    width: 3em;
}
.widget-list h3{
    margin: 0;
    font-size: 16px;
}
.widget-list h3 a{
    display: block;
    margin: 0;
    line-height: 1.7;
    padding: .2em 26px;
    font-weight: normal;
}
.widget-list h3 a.active,.widget-list h3 a.active:hover,.widget-list h3 a:hover{
    background-color: #666;
    color: #fff;
}
.widget-list a:hover span{
    color:#fff;
}
.widget-list h3 a:hover{
    color: #fff;
    background-color: #666;
}
.widget-list hr{
    border:3;
    double #987cb9"; 
    color=#afaff8; 
    size=2; 
}

#response {
    margin-bottom:1em;
}
#footer {
    padding:.8em 0 1.6em;
    line-height:1.5;
    color:#000;
    text-align: center;
    border-radius: 0 0 10px 10px;
    background: #F0F0F0;
    font-size: small;
}
.error-page {
    margin-top:100px;
    margin-bottom:100px;
}
.comment-content {
    line-height:1.5;
    padding:10px 40px 10px 0;
}
.post-content h2, .comment-content h2 {
    font-size:1.28571em;
}
.comment-content img {
    max-width:100%;
}

/* 正文内容超链接/图片 */
.post-content a img {
    background:#FFF;
    position:relative;
    bottom:-4px;
}
/* 正文内容分割线 */
.post-content hr, .comment-content hr {
    margin:1em auto;
    border:1px solid #aaf;
    border-width:1px 0 0 0;
    position: relative;
}

/*******************************************/
.aligncenter, div.aligncenter {
    display:block;
    margin-left:auto;
    margin-right:auto;
}
.alignleft {
    float:left;
}
.alignright {
    float:right;
}
img.alignleft {
    margin:5px 15px 0 0;
}
img.alignright {
    margin:5px 0 0 15px;
}
/* archives page*/
 .al_year {
    width:60px;
    padding: 10px 0;
}
.al_mon_list {
    margin-left: 90px;
    margin-top: -2.2em;
    border-left: 1px solid #ddd;
}
.al_mon_list li {
    list-style: none;
    line-height: 2;
}
.al_mon_list li a {
    margin-left: 1.5em;
}
.post-content-pages {
    font-size: 17px;
}
.about-contact,.about-contact li{
    list-style: none;
    margin: 0;
    padding: 0;
}
.about-contact{
    margin: 18px 0 10px;
}
.about-contact li{
    font-size: 18px;
    display: inline;
    margin: 0 2px;
}
.about-contact li a{
    color: #000;
}
.body404{
    height: 100%;
    width: 100%;
    background:#fff;
    background-size: auto 100%;
    text-shadow:1px 1px 0 #fff;
}
.body-about .body404{
    background:#fff;
}

.site-name404 {
    margin: 0 auto;
    width: 3em;
    text-align: center;
    letter-spacing: 2px;
    font:700 88px/1.2 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
}
.site-name404 h1{
    margin: 0 0 10px;
    font:700 58px/1.2 "ff-tisa-web-pro", Cambria, "Times New Roman", Georgia, Times, sans-serif;
}
.title404 span{
    font-size: 15px;
    width: 2px;
}
.site-name404 i {
    font-style: normal;
}
.title404 p{
    font-size: 20px;
    margin: 0.5em 0 .6em;
}
.info404{
    text-align: center;
    width: 100%;
    background-color: #f7f7f7;
    padding: 100px 0;
}
.body-about .info404{
    margin-top: -180px;
}
#footer404{
    margin-top:30px;
}
.index404{
    margin-top: 13px;
    display: inline-block;
    padding: 14px 27px 14px 29px;
    color: #fff;
    white-space: nowrap;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    background: #444;
    font-weight: 500;
    line-height: 14px;
    letter-spacing: 1px;
    font-size: 14px;
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    text-shadow:none;
}
.index404:hover{
    background-color: #000;
    color: #fff;
}
.icon-about{
    padding: 10px 0 25px;
}
.icon-about a{
    font-size: 20px;
    margin: 5px;
    color: #fff;
    background-color: #000;
    border-radius: 100%;
    padding: 6px;
}
.link-back2top {
    bottom: 50px;
    height: 32px;
    position: fixed;
    width: 32px;
    z-index: 3;right:50%;margin-right:-480px
}
.link-back2top a {
    background: url(img/bg_top.png) no-repeat scroll 0px center #D6D6D6;
    border-radius: 10px;
    display: block;
    font-size: 0;
    height: 32px;
    line-height: 0;
    overflow: hidden;
    width: 32px;
}
.link-back2top a:hover {
    background-color: #7070F0;
}

/* 以下是不同分辨率的自适应 */

@media print, screen and (max-width:1290px) {
    .container {
        width:auto;
    }
}

@media print, screen and (max-width:1057px) {
    .container {
        width:auto;
    }
    .post-content {
        font-size: 16px;
    }
}

@media print, screen and (max-width:860px) {
    .post-content {
        font-size: 15px;
    }
    #header {
        text-align:left;
    }
    #main {
        width:100%;
        margin-right:0;
    }
    #nav-menu {
        margin:10px 0;
    }
    .res-cons {
        width:auto;
        margin-right:0;
    }
    .post-content img {
        max-width:100%;
        margin-left: 0;
    }
    blockquote{
        margin-left: 0;
    }
}

/*
 *  680px貌似是个临界点
 */
@media print, screen and (max-width:680px) {

    .col2 {
        width:100%;
    }
    .col1 {
        width:100%;
        margin-right:-160px;
    }
    
    .container {
        
    }

   .post-title1 {
        font-size:16px;
    }

    .post-title {
        font-size:16px;
    }

    .page-navigator {
        padding:15px 0 0;
    }
    #footer {
        padding-top:10px;
    }
    .page-navigator a {
        padding:0 6px;
    }
    .post-content img {
        padding:0.2em 0;
    }

    #header {
        padding: 1em 0px 0px 1em;
    }
    .post{
        padding: 1em 1em;
        word-wrap: break-word;
    }

    #nav-menu {
        margin: 0px 1em 5px 0;
    }
/*
    #nav-menu a {
        padding: 3px 0px 0px;
        line-height: 1.5em;
        height:1.5em;
        font-size:13px;
*/
    }
}

/* 大部分手机高于500px，所以很少触发 */
@media print, screen and (max-width:500px) {

    .col1 p {
        margin-right:160px;
    }

    .post-meta li.comment-count {
        display: none;
    }

    .post-content-pages {
        font-size: 14px;
        word-wrap: break-word;
    }
    .al_mon_list {
        margin-left: 70px;
        padding-left: 20px;
    }
}
.about{
    width: 100%;
}

.side-click{
    position: fixed;
    right: 0;
    top: 0;
    z-index: 999;
    margin: 20px 20px 0 24px;
    color: #000;
    border: 3px solid #000;
    width: 20px;
    height: 20px;
    line-height: 22px;
    font-size: 20px;
    border-radius: 100px;
    background: #fff;
    transition-property: all;
    transition-duration: .3s;
    -webkit-transition-timing-function: cubic-bezier(0.165,0.630,0.140,0.820);
    -moz-transition-timing-function: cubic-bezier(0.165,0.630,0.140,0.820);
    -ms-transition-timing-function: cubic-bezier(0.165,0.630,0.140,0.820);
    -o-transition-timing-function: cubic-bezier(0.165,0.630,0.140,0.820);
    transition-timing-function: cubic-bezier(0.165,0.630,0.140,0.820);
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    cursor:pointer;
}