/*reset*/
html, body, div, span, applet, object, iframe,
a{
	margin: 0;
	padding: 0;
}
body {
    font-family: 'Microsoft YaHei', 'Helvetica','Arial', sans-serif;
    background: #fff ;
}
ul li{
    font-size: 16px;
    line-height: 28px;
}
pre{
	padding: 0;
	background: none;
}
pre code{
	font-size: 14px;
}
table{
	border-top:2px solid #777;
	border-bottom: 2px solid #777;
	margin: 8px 0;
}
table thead{
	border-bottom: 1px dashed #777;
	background-color: #aaa;
	color:#fff;
}
table th{
	padding: 2px 10px;
}
table tr:nth-child(2n){
	background-color: #E5EAED;
}
table td{
	padding: 2px 10px;
	vertical-align: top;
}

a:visited {color: #2ca6cb;}  /*已访问的链接*/
a:hover{
    color: #2ca6cb;
    text-decoration: none;
}
/*common*/
.md-no-padding {
    padding: 0 !important;
}
.no-padding-right {
    padding-right: 0 !important;
}



/*navbar*/
.navbar{
    background: rgba(0,0,0,1);
    border: none !important;
    display: inline-table;
    width: 100%;
    border-radius: 0;
}
.navbar .container{
    height: 60px;
    display: table-cell;
    position: relative;
    vertical-align: middle;
}
.navbar,.navbar-inverse{
    border-radius:0;
}
.navbar .navbar-header{
    height: 100%;
}
.navbar-header a.navbar-brand{
    /*padding-right: 65px;*/
    height: 100%;
    display: block;
    /*background-image: url(http://7xonct.com1.z0.glb.clouddn.com/blog/6.png);*/
    background-image: url(../img/logo-0.png);
    width: 300px;
    background-repeat: no-repeat;
    background-position: 15px center;
    background-size: 80%;
}
.navbar li a{
    color: #fff;
    padding-top: 0;
    padding-bottom: 0;
    line-height: 60px;
    height: 60px;
    border-bottom: 2px solid transparent;
    font-size: 14px;
    transition: all .6s;
    box-sizing: border-box;
    margin-right: 20px;
}
.navbar>li>a:focus, .nav>li>a:hover{
    background: none;
    border-color: #fdd947;
}
.navbar .navbar-toggle{
    border: none;
}
.navbar a.navbar-brand{
    color: #fff;
}
.navbar a.navbar-brand:hover{
    color: #fdd947;
}


/*The left part of the main*/
.all-posts img{max-width: 100%;}
.all-posts .post-time{
    margin-top: 50px;
    display: inline-block;
    width: 110px;
    height: 110px;
    line-height: 28px;
    background-color: #373737;
    color: #fdd947;
    font-size: 14px;
    padding: 30px 0;
}
.all-posts .post-article-item{
    margin-bottom: 20px;
}
.all-posts .post-article-item:after{
    content: '';
    display: table;
    clear: both;
}
.all-posts .post-time .day{
    font-size: 35px;
    display: block;
    font-weight: 600;
}
.all-posts h2{
    margin-top: 50px;
    color: #373737;
}
.all-posts p{
    color: #666;
}
.post-list-item{
	display: block;
	padding:8px 30px 10px 30px; 
    margin-bottom: 3px;
	border-bottom:1px dashed #aaa;
    border-left: 0.6em solid #ccc;
	transition:0.45s ease; 
	-webkit-transition:0.45s ease;
	-moz-transition:0.45s ease;
	-o-transition:0.45s ease;
}
.post-list-item:last-of-type{
	border-bottom: none;
    margin-bottom: 0;
}
.post-list-item a{
    display: block;
    border-left: 0.6em solid #ccc;
    transition:  0.45s ease;
    -webkit-transition: 0.45s ease;
	-moz-transition: 0.45s ease;
	-o-transition: 0.45s ease;
}
.post-list-item span.post-time{
    color:dimgray;
    font-size: 13px;
    border-radius: 9px;
}

.post-list-item h2{
    color:#2ca6cb;
	margin: 5px 0 8px 0;
}
.post-list-item p{
    font-size: 15px;
    color:dimgray;
    font-family: 'microsoft yahei';
    line-height: 22px;
}
.post-list-item:hover{
    border-left: 0.6em solid #ea6753;
}
/*fen ye*/
.paginator{
	border-top:1px solid #e5e5e5;
    margin-bottom: 50px;
    margin-top: 40px;
	text-align: center;
    position: relative;
    height: 40px;
    line-height: 40px;
    padding-top: 15px;
}
.paginator span.pre{
    position: absolute;
    left: 0;
    width: 100px;
    display: inline-block;
    border-left: 0.5em solid #ccc;
    outline: none;
    transition: 0.5s ease;
    -webkit-transition: 0.5s ease;
    -moz-transition: 0.5s ease;
    -o-transition: 0.5s ease;
}
.paginator span.pre:hover{
    background: #f5f5f5;
    border-left: 0.5em solid #ea6753;
}
.paginator span.next{
    position: absolute;
    right: 0;
    width: 100px;
    display: inline-block;
    transition:  0.5s ease;
    outline: none;
}
.paginator span.next:hover{
    background: #f5f5f5;
}
.paginator span.pre a,
.paginator span.next a{
    display: block;
}
.paginator span.current-page{
    margin: 0 10px;
    color: #ea6753;
    display: inline-block;
}
.paginator a.page{
    display: inline-block;
    width: 40px;
    transition:  0.4s ease;
}
.paginator a.page:hover{
    background: #f5f5f5;
}

/*category | the right part of main*/
.shadow-corner-curl:first-child{
    margin-top: 50px;
}
.shadow-corner-curl{
    position: relative;
    margin-bottom: 20px;
    margin-top: 30px;
}

div.cate-list-header{
    display: block;
    padding: 3px 15px;
}
.cate-show{
    position: relative;
}
div.cate-first{
    background-image: url(http://7xonct.com1.z0.glb.clouddn.com/blog/jiji.png);
}
/*.cate-show:before,
.cate-show:after{
    position: absolute;
    content: '';
}
.cate-show:before{
    width: 1em;
    height: 100%;
    top: 0;
    left: -1em;
    background: #ea6753;
}
.cate-show:after{
    height: 0;
    width: 0;
    bottom: -1em;
    left: -1em;
    border-top: 1em solid #b71c1c;
    border-left: 1em solid transparent; 
}*/
div.cate-list-header h2{
    line-height: 25px;
    font-family: '幼圆';
    margin: 10px 0;
    position: relative;
}
div.cate-list-header h2:before{
    content: '';
    position: absolute;
    display: inline-block;
    width: 10px;
    height: 100%;
    background: #fdd947;
    top: 0;
    left: -15px;
}
div a.cate-list-item{
    padding: 15px 0;
    padding-right: 15px;
    text-indent: 15px;
    display: block;
    line-height: 20px;
    color: dimgray;
    border-bottom: 1px solid #e5e5e5;
    transition: 0.3s ease;
    -webkit-transition: 0.3s ease;
    -moz-transition: 0.3s ease;
    -o-transition: 0.3s ease;
}
div a.cate-list-item:hover{
    border-left:0.5em solid #ea6753;
}

div a.cate-list-item:last-of-type{
    border-bottom: none;
}
div span.my-badge{
    color: #000;
    float: right;
    display: inline-block;
}

/*category content公告*/
div.cate-list-link{
    overflow-y:auto;
    padding: 5px;
    line-height: 22px;
    letter-spacing: 1px;
}
div.cate-list-link ul{
    list-style: none;
    margin: 10px 0 80px -20px;
}
div.cate-list-link li a{
    color: dimgray;

}


/*back to top*/
.to-top{
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 99;
    cursor: pointer;
    font-size: 22px;
    background-color: rgba(0,0,0,.8);
    border-radius: 3px;
    display: none;
    animation: none;
}
.to-top:hover{
  /*  background-color: #26abff;*/
    color: #fff;
}
.to-top span{
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 38px;
    display: block;
    color: #fff;
}

/*footer*/
/*footer#foot{
    position:relative;
    bottom: 0;
    height: 80px;
    width: 100%;
    text-align: center;
    margin-top: 60px;
}
footer div.footerImg{
    height: 10px;
    width: 100%;
    background: transparent url(../img/footer.png) repeat-x scroll 0 0;
}
footer div.contact{
    line-height: 70px;
    background: #000;
}
footer .btn{
    color: #ccc;
    font-size: 16px;
    letter-spacing: 1px;
}
footer .btn:hover{
    color: #fff;
}

footer div.footerPart{
    height: 40%;
    background: #000;
    width: 100%;
    color: #fff;
}*/
.footer-middle {
    padding: 40px 0;
    height: 100%;
    position: relative;
    overflow: hidden;
    color: #888;
    background: #111 url(../img/buildings.png) repeat-x left bottom;
}
.footer-middle h3 {
    font-size: 22px;
    position: relative;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 100;
    letter-spacing: 1px;
}
.foot-about-par {
    border-bottom: 1px rgba(255,255,255,0.05) solid;
    padding-bottom: 20px;
    margin-bottom: 25px;
}
.social-list a {
    float: left;
    display: block;
    line-height: 1;
}
.social-list a i.ic-colored {
    border-color: transparent;
}
.ic-dribbble:hover, .ic-colored.ic-dribbble {
    background-color: #EA4C89;
}
.social-list a i {
    color: #fff;
    margin: 0 8px 5px 0;
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    display: inline-block;
    line-height: 39px;
    overflow: hidden;
    position: relative;
    transition: all .6s;
}
.social-list a i:hover{
    border-radius: 50%;
}
.social-list .fa-qq{
    background: #00ACEE;
}
.social-list .fa-wechat{
    background: #98e165;
}
.social-list .fa-weibo{
    background: #C4302B;
}

/* post
 * post articles area
 */

div.post{
    margin: 10px 0 ;
    padding-bottom: 20px;
}

.post header{
    border-bottom: 1px solid #ccc;
    border-left: 0.5em solid #ea6753;
    background: #ea6753;
    color: #474343;
}

.post h1{
    color: #333;
}
.post header h1{
    padding: 23px 15px 20px 18px; 
    font-weight: bold;
    line-height: 36px;
    color: #fff;
}
.post header p{
    padding-left: 22px;
    line-height: 20px;
    color: #fff;
}
.post header p .icon{
    color: #fff;
}
.post article{
    padding: 0 23px;
}
article p{
    font-size: 16px;
    line-height: 23px;
}
div.post article p{
    line-height: 1.7;
}
div.post img{
    max-width: 100%;
    margin: 0 auto;
}
.post-recent{margin-top: 20px;}
.post-recent strong{margin-right: 2px;}
.post-recent .fa{margin-right: 4px;}
/*baidu share*/
div.bdsharebuttonbox{
    margin-left: 2em;
}
/*blog 导读*/
#content {
    margin-top: 20px;
    padding: 0;
    font-size: 15px;
    background: #f8f8fd url(../img/bg-0004.jpg);
}
#content .cate-list-header{
    margin-bottom: 8px;
    color: #fff;
}
#content ul li{
    padding-left: 0;
    font-size: 14px;
}
#content a{
    text-decoration: none;
    outline: none;
}
/*2018-01-30*/
.detail-menu h3{
    margin-top: 0;
    color: #333;
    position: relative;
}
.detail-menu h3:before{
    content: '';
    position: absolute;
    display: inline-block;
    width: 10px;
    height: 100%;
    background: #fdd947;
    top: 0;
    left: -15px;
}
.detail-menu ul{
    padding-left: 15px;
}
.detail-menu li{
    padding: 15px 0;
    padding-right: 15px;
    text-indent: 15px;
    display: block;
    line-height: 20px;
    color: dimgray;
    text-indent: 0;
    border-bottom: 1px solid #e5e5e5;
    transition: 0.3s ease;
}
.detail-menu li a{
    color: #333;
}

.detail-menu li:last-of-type{
    border-bottom: none;
}

/*page页面*/
article.page-content p{
    margin-bottom: 5px;
}
article table{
    font-size: 16px;
    line-height: 30px;
}
article table tr{
    padding: 16px;
}
/**
 * Blockquotes
 */
blockquote {
    color: #444;
    border-left: 5px solid #D6DBDF;
    padding-left: 15px;
    margin-bottom: 5px;
    font-size: 16px;
    background: rgba(112,138,153,.1);
}
blockquote:last-child {
    margin-bottom: 0;
}

.comment{
	margin-top: 20px;
    padding: 10px 15px;
}
.comment .i-info-b{display: none;}
/**
 * 文章目录相关
 */
@media screen and (min-width: 768px){
	#markdown-toc {
		display: none;
	}
}

@media screen and (max-width: 1200px){
	
	blockquote {
		border-left: 3px solid #D6DBDF;
    	padding-left: 5px;
    	font-size: 14px;
	}
	pre code{
		font-size: 12px;
	}
	.post article ul{
		padding-left: 25px;
	}
    .home .col-sm-3{
        padding: 0;
    }

}
@media screen and (max-width: 1000px){
    .home .col-sm-1{
        display: none;
    }
    .home .col-sm-3{
        width: 33%;
    }
    .all-posts .post-time {
        width: 80px;
        height: 80px;
        padding: 15px 0;
    }
}
@media screen and (max-width: 780px){

    .all-posts .post-time {
        width: 80px;
        height: 80px;
        padding: 15px 0;
    }
    .navbar .navbar-header{
        height: 48px;
    }
    .navbar-header a.navbar-brand{
        background-image: url(../img/logo-s.png);
        width: 198px;
    }
    .navbar-toggle .icon-bar{
        background: #fff;
    }
}
@media screen and (max-width: 530px){
	.all-posts .post-time {
        width: 50px;
        height: 50px;
        font-size: 12px;
        line-height: 14px;
        padding: 4px 0;
    }
    .all-posts .post-time .day{
        font-size: 20px;
        margin-bottom: 2px;
    }
    .home .col-xs-2{
        width: 12%;
    }
    .home .col-xs-10{
        width: 87%;
    }
    .post article{
        padding: 0;
    }
    .post h1 {
        padding-left:6px;
    }
    .post header p{
        padding-left: 8px;
    }
    #masonry{
        width: 100% !important;
    }
    #masonry .thumbnail{
        width: 100% !important;
        margin: 15px 0 !important;
    }
}
@media screen and (max-width: 370px){
    .home .col-xs-2{
        width: 16%;
    }
    .home .col-xs-10{
        width: 83%;
    }
    .all-posts .post-time{
        margin-top: 20px;
    }
    .all-posts h2{
        margin-top: 20px;
        font-size: 20px;
        font-family: 幼圆,'microsoft yahei';
    }
}

/*font*/
@font-face {
	font-family: 'icomoon';
	src:url('../fonts/icomoon.eot?82mpsa');
	src:url('../fonts/icomoon.eot?82mpsa#iefix') format('embedded-opentype'),
		url('../fonts/icomoon.ttf?82mpsa') format('truetype'),
		url('../fonts/icomoon.woff?82mpsa') format('woff'),
		url('../fonts/icomoon.svg?82mpsa#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;
}

.icon-quill:before {
	content: "\e907";
}
.icon-pacman:before {
	content: "\e916";
}
.icon-folder-download:before {
	content: "\e933";
}
.icon-price-tags:before {
	content: "\e936";
}
.icon-clock:before {
	content: "\e94e";
}
.icon-stopwatch:before {
	content: "\e952";
}
.icon-box-add:before {
	content: "\e95e";
}
.icon-undo2:before {
	content: "\e967";
}
.icon-redo2:before {
	content: "\e968";
}
.icon-meter:before {
	content: "\e9a6";
}
.icon-bookmark:before {
	content: "\e9d2";
}
.icon-heart:before {
	content: "\e9da";
}
.icon-tongue:before {
	content: "\e9e3";
}
.icon-heart2:before {
	content: "\e900";
}
.icon-tag:before {
	content: "\e901";
}
span.icon{
    color:#fff;
}

/*待改*/
.liuyanban .container{padding: 0;width: 100%;}
#masonry {
    padding: 0;
    min-height: 450px;
    width: 100%;
    margin: 0 auto;
}
#masonry .thumbnail {
    width: 330px;
    margin: 20px;
    margin-left: 10px;
    padding: 0;
    border:0;
    background: #333;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,.3);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,.3);
}
#masonry .thumbnail .imgs {
    padding: 10px;
}
#masonry .thumbnail .imgs img {
    margin-bottom: 5px;
}
#masonry .thumbnail .caption {
    background-color: #333;
    padding-top: 0;
    font-size: 13px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}
#masonry .thumbnail .caption .title {
    font-size: 13px;
    font-weight: bold;
    margin: 5px 0;
    text-align: left;
    color: #fff;
}
#masonry .thumbnail .caption .author {
    font-size: 11px;
    text-align: right;
}
.lightbox .lb-image {
    max-width: none;
}
