/**
 * Author:           NingG
 * Contact:          NingG.github.com
 */

/* 重置浏览器CSS */
html{color:#000;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td,hr,button,article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{margin:0;padding:0;}
article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block;}
body,button,input,select,textarea{font-size:12px/1.5;}
input,select,textarea{font-size:100%;}

table {width: 100%; border-collapse: collapse; margin-bottom: 25px;margin-top: 40px}
/* Zebra striping */
tr:nth-of-type(odd) { background: #eee; }
th { background: #333; color: white; font-weight: bold; }
td, th { padding: 6px; border: 1px solid #ccc; text-align: left; }

/*
table{border-collapse:collapse;border-spacing:0;}
th{text-align:inherit;}
*/
fieldset,img,a img{border:0;}
iframe{display:block;}
abbr,acronym{border:0;font-variant:normal;}
del{text-decoration:line-through;}
/*address,caption,cite,code,dfn,em,th,var {font-style:normal;font-weight:500;}*/
address,caption,cite,code,dfn,th,var {font-style:normal;font-weight:500;}
em{font-style:normal; color:#ABACAD;}
ol,ul {list-style:none;}
caption,th{text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:500;}
q:before,q:after {content:'';}
sup{vertical-align:text-top;}
sub{vertical-align:text-bottom;}

.clearfix:after {visibility:hidden;display:block;font-size:0;content:" ";clear:both;height:0;}
.clearfix{zoom:1;}
body .hide{display:none;}
.left,.right{display:inline;}
.left{float:left;}
.right{float:right;}


/***********default settings**********/
body {font-family:times,Courier New,Console,Verdana,"Microsoft YaHei";/*font-family: "times","微软雅黑","Arial","Helvetica","sans-serif";*//*font-family:Times,Helvetica Neue',Arial,'Liberation Sans',FreeSans,'Hiragino Sans GB',sans-serif;*/font-size:15px;}
a {color:#4A75B5;text-decoration:none;outline:none;}
a:hover {text-decoration:underline}
a.external {padding-right:13px;background:url('/images/icons.gif') no-repeat right 1px;}
a.external:hover {background-position:right -15px;}
.entry-title,.entry-title a {font-size:30px;font-weight:bold;margin-bottom:6px;color:#000;text-align:center;word-wrap: break-word;}
.entry-title a:hover {text-decoration:none;}
.entry-date {text-align:center;color:#999;margin-bottom:60px;font-size:14px;}

h2 {font-size:22px;font-weight:bold;margin-bottom:25px;margin-left:0px; margin-top:50px}
h3 {font-size:18px;font-weight:bold;margin-bottom:20px;margin-left:0px; margin-top:35px}
h4,h5,h6 {font-weight:bold;margin-bottom:15px;margin-left:0px;margin-top:30px}
p {margin-bottom:20px; margin-top:20px;line-height:1.8em;}
code {background:#eee;border:1px solid #ccc;padding:0 5px;font-family:"Courier";line-height:14px;font-size:14px;word-wrap:break-word; }
pre {background-color:#000;padding:15px;overflow:auto;margin-bottom:40px;font-size:14px;border: 1px solid #eee;-webkit-border-radius: 4px 4px 4px 4px;-moz-border-radius: 4px 4px 4px 4px;border-radius: 4px 4px 4px 4px;color:#b9bdb6;margin-top:-20px; }
h4+pre, h3+pre { margin-top:20px; }
pre code{background-color:transparent;border:none;padding:0;word-wrap:normal;}
pre ol{margin-left:25px;list-style-type:decimal;}

/************layout style*****************/
#content {width:1060px;margin:90px auto 60px;min-height:400px;height:auto !important;height:400px; }


/****************entry style**************/
.sidenav { width:240px; background:#fff; float:right; padding:20px; margin-bottom:50px; box-shadow:0 1px 4px #ccc; }
.sidenav h2 { font-size:18px; color:#333; margin-bottom:15px; }
.sidenav ul { margin-bottom:50px; }
.sidenav li { margin-bottom:12px; word-break: break-all;}
.sidenav a { color:#555; font-size:14px; display:block;}
.entry{margin-bottom:80px;width:680px; float:left; background:#fff; padding:30px; box-shadow:0 2px 6px #ccc; }
.entry ul{margin-bottom:25px;margin-left:25px;margin-top: 10px;}
.entry p+ul {margin-top:-5px;}
.entry ul li{margin-bottom:5px;list-style:disc;line-height:1.5em;}
.entry ul li ul li{list-style-type:circle;}
.entry ul li ol li{list-style-type:decimal;}
.entry ol{margin-top:0px;margin-bottom:25px;margin-left:25px;}
.entry ol li{margin-bottom:5px;list-style:decimal;line-height:1.5em;}

/*.entry blockquote{margin-left:25px;font-size:14px;font-style:italic;}*/
/*.entry blockquote{margin-left:25px;font-size:14px;font-style:normal;}*/



.entry blockquote{border-left: 5px solid #26C06A; border-left-width:10px;background-color:rgba(102,128,153,0.05);border-top-right-radius:10px;border-bottom-right-radius:5px;padding:15px 20px; /* font-size:14px; */}
.entry blockquote p{margin-bottom:15px;/* font-size:14px; line-height:1.428571429; */ margin-top:20px}
.entry blockquote ul:last-child,blockquote ol:last-child{margin-bottom:0}


.entry img{max-width:670px;display:block;margin:10px auto;}


.index-content .aside {
    position: fixed;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    max-width: 500px;
    /* background:#000; */
	background:rgba(255, 255, 255, 0);
    box-shadow:inset -1px 0 0 rgba(0,0,0,0.3);
    background-size:cover;
    background-position:50% 50%;
}

.blog .aside{
    /* background-image:url(https://dnqgz544uhbo8.cloudfront.net/_/fp/img/bestof/june-2013.CaUUbO2jIECgCmldhmxCCA.jpg); */
	/* background-image: url("/images/side-background.jpg"); */
}
.about .aside{
    /* background-image:url(https://d233eq3e3p3cv0.cloudfront.net/max/1000/0*kTUZamBulGQZg1MW.jpeg); */
    /* background-image: url("/images/side-background.jpg"); */
);
}
.category .aside{
    /* background-image:url(https://d233eq3e3p3cv0.cloudfront.net/max/1000/0*cF2i1ZosSP_UTJig.jpeg); */
    /* background-image: url("/images/side-background.jpg"); */
}

/*****************about page****************/
.index-content  .section { margin-left:30%; padding-top:80px; padding-right:15%; ;}
.index-content .section .about-page { margin-left:15%; width:70%; margin:0 atuo;}
.index-content .section .about-page ul{ margin-bottom:25px; margin-left:10%;}
.index-content .section .about-page p+ul{ margin-top:-20px;}
.index-content .section .about-page p { text-indent: 2em;}
.index-content .section .about-page ul li{ margin-bottom:5px; list-style:disc; line-height:1.5em;}
.index-content .section .about-page ol{ margin-bottom:25px; margin-left:10%; }
.index-content .section .about-page ol li{ margin-bottom:5px; list-style:decimal; line-height:1.5em;}
.index-content .section .about-page blockquote{margin-left:11%; /* font-size:14px; */ font-style:italic;}
.index-content .section .about-page img{max-width:670px;display:block;margin:10px auto;}

/*****************category page****************/
.index-content .section .category-page { margin-left:15%; width:70%; margin:0 atuo;margin-bottom:700px;}
.index-content .section .category-page ul{ margin-bottom:25px; margin-left:10%;}
.index-content .section .category-page p+ul{ margin-top:-20px;}
.index-content .section .category-page ul li{ margin-bottom:5px; list-style:disc; line-height:1.5em;}
.index-content .section .category-page ol{ margin-bottom:25px; margin-left:10%; }
.index-content .section .category-page ol li{ margin-bottom:5px; list-style:decimal; line-height:1.5em;}
.index-content .section .category-page blockquote{margin-left:11%; /* font-size:14px; */ font-style:italic;}
.index-content .section .category-page img{max-width:670px;display:block;margin:10px auto;}
.index-content .section .category-page  li a,
.index-content .section .category-page  li a:visited {display:inline-block; zoom:1; color:rgba(0,136,204,0.9); width:100%; }
.index-content .section .category-page  li a:hover {text-decoration:none; color:red;}
.index-content .section .category-page .tag_box li{ display: inline-block; padding-left: 5px; padding-right: 5px;}
.index-content .section .category-page .tag_box li a{padding: 3px; margin: 2px; line-height: 180%; border-radius: 3px; background-color: rgba(238,238,238,0.9);}
.index-content .section .category-page .tag_box span{vertical-align: super; font-size: 0.8em;}


/*****************blog page******************/
.index-content .artical-list { width:70%; margin:0 auto; }
.index-content .artical-list li { margin-bottom:70px; }
.index-content h2 { font-size:20px; margin-bottom:15px; word-break: break-all;}
.index-content h2 a { color:#444 }
.index-content h2 a:hover { color:#E50053; text-decoration:none; }
.index-content .title-desc {color:#999;font-size:14px;line-height:1.6em;}

.index-content .artical-cate { width:70%; margin:0 auto; }
.index-content .artical-cate li { display:inline-block; *float:left; zoom:1; font-size:18px; width:32%; cursor:pointer; }
.index-content .artical-cate li a,
.index-content .artical-cate li a:visited { display:inline-block; zoom:1; color:#000; width:100%; }
.index-content .artical-cate li a:hover { text-decoration:none; }
.index-content .artical-cate li.on span{ color:red; }

.index-content .cate-bar { height:3px; width:70%; margin:0 auto;margin-bottom:100px; }
.index-content #cateBar { display:inline-block; zoom:1; height:3px; background:red; position:relative; width:0; }

/***************Wiki Style*****************/
.wiki h2{cursor:pointer;}
.wiki ul{margin-left:30px;margin-bottom:20px;list-style:disc}
.wiki ul li{margin-bottom:5px;}
.wiki ul ul{list-style:circle;margin-top:10px;margin-bottom:10px;}

/***************contact style*************/
#disqus_container {font-size:12px;}
#disqus_container a.comment{font-size:14px;}
h3.about {color:#777;margin-top:20px;font-size:22px;margin-bottom:10px}
.about-link a {margin-right:10px;font-weight:bold;font-style:italic;font-size:13px;color:#E50053}


/**************目录导航**************/
#menuIndex {overflow:auto;}
#menuIndex a {display:block; padding:2px 0; }
#menuIndex a:hover {text-decoration:none;}
#menuIndex ul {margin-bottom:10px;}
#menuIndex ul li{font-size:12px;margin-bottom:5px;word-wrap:break-word;padding-left:10px;}
#menuIndex ul li.on{background-color:#f5f5f5;}
#menuIndex li.h1{font-size:14px;font-weight:normal;padding-left:0;margin-bottom:10px;}
#menuIndex li.h3{padding-left:25px;}

.home-menu { position:fixed; top:15px; left:15px; z-index:5; font-size:0; }
.home-menu-icon { line-height:38px; padding:0 8px; display:inline-block; color:#fff; font-size:18px;  background:#000; }
.home-follow { margin-left:2px; line-height:38px; padding:0 8px; display:inline-block; color:#fff; font-size:18px; background:#000;  }
.home-menu-icon:hover,
.home-follow:hover { color:#fff; text-decoration:none; }
.home-contact { color:#fff; margin-top:2px; background:#000; padding:8px 0 7px; text-align:center; display:none;}
.home-contact a { width:30px; display:inline-block; }
.home-contact img { width:18px; }

@media screen and (max-width: 750px){
    body {font-size:14px;}
    #content {width:85%;margin:100px auto 50px; }

    h2{font-size:20px;}
    h3{font-size:16px;}
    embed {display:none;}

    .entry-title,.entry-title a {font-size:24px;}
    .entry-date {margin-bottom:40px;}
    .entry img{max-width:90%;}
    .entry pre ol li{margin-bottom:0;line-height:1em;}
    .entry pre code{line-height:1em;font-size:12px;}
    .sidenav {display:none;}
    .entry {float:none;width:auto;background:transparent;padding:0;box-shadow:none;}

    .index-content .aside { position:relative; width:100%; height:300px; max-width:none; }
    .index-content .section { margin-left:0; padding-right:0; }
    .index-content .section ul { width:85%; }
    .index-content .cate-bar { width:85%; }
    .index-content .artical-cate { margin-top:50px; }

    .blog .aside,
    .about .aside,
    .category .aside {display:none;background-image:none;}
}

@media (max-width: 1020px){
    #menuIndex {display:none;}
    .home-menu { position:absolute; }
    .index-content .cate-bar ,
    .index-content .artical-list,
    .index-content .artical-cate { width:85%; }
    .sidenav {display:none;}
    .entry {float:none;width:auto;background:transparent;padding:0;box-shadow:none;}
    #content {width:85%;margin:100px auto 50px; }
}
@media (max-width: 1300px){
    .home-menu { position:absolute; }
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	tr { border: 1px solid #ccc; }
	
	td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
	
	/*
	Label the data
	*/
	td:nth-of-type(1):before { content: "1st Column"; }
	td:nth-of-type(2):before { content: "2nd Column"; }
	td:nth-of-type(3):before { content: "3rd Column"; }
	td:nth-of-type(4):before { content: "4th Column"; }
	td:nth-of-type(5):before { content: "5th Column"; }
	td:nth-of-type(6):before { content: "6th Column"; }
	td:nth-of-type(7):before { content: "7th Column"; }
	td:nth-of-type(8):before { content: "8th Column"; }
	td:nth-of-type(9):before { content: "9th Column"; }
	td:nth-of-type(10):before { content: "10th Column"; }
	
}


hr{

margin-bottom: 20px;

}
