@import url(http://fonts.googleapis.com/css?family=Open+Sans);
body{
  margin: 0;
  color: rgb(1, 71, 18);
  /*font-family: serif;*/
  font-family: 'Open Sans', sans-serif, tahoma,arial,"Hiragino Sans GB",\5b8b\4f53;;
  background-color: rgb(245, 249, 255);
}

@-webkit-keyframes slide /* Safari 和 Chrome */
{
  from {background-position: top center;}
  to {background-position: bottom center;}
}
@keyframes slide /* Safari 和 Chrome */
{
  from {background-position: top center;}
  to {background-position: bottom center;}
}
@-moz-keyframes slide /* Safari 和 Chrome */
{
  from {background-position: top center;}
  to {background-position: bottom center;}
}
#image-container{
  border-top-color: black;
  border-top-style: solid;
  border-top-width: 54x;
  border-bottom-color: black;
  border-bottom-style: solid;
  border-bottom-width: 4px;

  background-image:url(/images/me.jpg);
  background-size:100%;
  -webkit-animation: slide 15s infinite;
  animation: slide 15s infinite;
  -moz-animation: slide 15s infinite;
  
  animation-direction:alternate;
  -webkit-animation-direction:alternate;
  -moz-animation-direction:alternate;

  animation-timing-function: ease-in-out;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
}
#image-container img{
  width:90%;
}

.post code{
  font-family: 'Oxygen Mono', sans-serif;
}
.post blockquote{
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 40px;
    background-color: #D3D3F3;
    margin-top: 10px;
    margin-bottom: 20px;
    margin-left: 0;
    margin-right: 0;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 12px;
    padding-bottom: 12px;
    border: 15px solid #FFF;
    color: black;
}
.post blockquote p{
  margin-bottom: 0;
  text-indent: 0;
}
.highlight{
 -webkit-border-radius: 10px;
 -moz-border-radius: 10px;
 border-radius: 20px;
 background-color: #FFF;
 padding-top: 1px;
 padding-left: 20px;
 padding-bottom: 1px;
 color: #000;
 border: 10px solid #CECECE;
 margin-bottom: 1em;
}
.highlight:before{
}
.tag_cloud{
  list-style-type: none;
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 3em;
}
.wrap-back-top{
  display: none;
}
.tag_cloud a:hover{
  color:#0081BE;
  text-shadow: 0px 2px 3px #555;
}
.tag_cloud li{
  float: left;
  margin: 3px;
}
hr{
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
::-moz-selection {
  background-color: #dd2020;
  color: #fff;
}
 
::selection {
  background-color: #dd2020;
  color: #fff;
}
.cn p{
  text-indent: 2em;
}
.cn ol p{
  text-indent: 0;
}
img{
  border:0;
}
footer{
  background-color: #3e3e3e;
  color: rgb(153, 153, 153);
  padding-top: 1em;
  padding-bottom: 1em;
  font-size: 10pt;
  margin-top: 3em;
  position: relative;
}
footer a,footer a:visited{
  color: white;
  text-decoration: underline;
}
footer input[type="text"] {
  border: 5px solid white;
  -webkit-box-shadow: inset 0 0 8px rgba(0,0,0,0.1), 0 0 16px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0 0 8px rgba(0,0,0,0.1), 0 0 16px rgba(0,0,0,0.1);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.1), 0 0 16px rgba(0,0,0,0.1);
  padding: 15px;
  background: rgba(255,255,255,0.5);
  margin: 0 0 10px 0;
  width: 18em;
  max-width: 80%;
}
a{
  color: rgb(1, 71, 18);
  text-decoration: none;
  -o-transition:0.7s;
  -ms-transition:0.7s;
  -moz-transition:0.7s;
  -webkit-transition:0.7s;
  /* ...and now for the proper property */
  transition:0.7s;
}
a:visited{
  color:rgb(1, 71, 18);
}
.container-full {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.container-nav{
  margin: 0 auto;
}
.header h1{
  margin-top: 13px;
  margin-bottom: 0;
  font-size: 15pt;
  text-align: center;
}
.header ul{
  list-style-type: none;
  margin-top:3px;
  margin-bottom: 3px;
  padding:0;
  text-align: center;
}
.header ul li{
  display: inline;
  margin-left: 0.5em;
  margin-right: 0.5em;
  margin-top: 4px;
  margin-bottom: 4px;
}
.header ul li a{
  padding-left: 0.5em;
  padding-right: 0.5em;
  display: inline-block;
  padding-top: 12px;
  padding-bottom: 12px;
  font-size: 8pt;
}
.header ul li a:hover,
.header ul li a.active{
  color: #f30;
  /*background-color: #f30;*/
}
#me{
  width: 100%;
  display:none;
}
#me_narrow{
  width:100%;
  display:none;
}
#me_mini{
  width: 100%;
}
.logo{
  font-weight: normal;
}
.logo a{
  color: rgb(1, 71, 18);
}
.primary-link.active {
}
header .primary-link {
  border-color: white;
}
header .primary-link {
  border-color: white;
}
.header-top{
  /*background-color: white;*/
}

.header{
  /*background-color: white;*/
}
.primary-link:hover,
.primary-link:active {
}

.logo a:hover,.logo a:active {
  color:#f30;
}
.talk{
  float:left;
  margin-top: 1em;
  font-size: 20pt;
  margin-bottom: 1em;
}
#talk{  
  display: none
}
#talk-medium{
  margin-left: 16px;
  display: none
}
#talk-small{
  display: block;
  margin-left: 8px;
  width: 50%;
}
#talk-btn{
  float:right;
  padding: 1em 1em 1em 1em;
  background-color: #3e3e3e;
  color: white;
  margin-right: 8px;
  margin-top: 1em;
}
.articles{
  margin-left: 16px;
}
#talk-btn:hover{
  color:white;
  background-color: #f30;
}

.talk-bar{
  font-weight: 900;
  height: 5.5em;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  background-color: rgb(243, 243, 243);
}
.clear{
  clear:both;
}
hr{
  clear:both;
}
#social-left{
  margin-right: 0;
}
a.social{
  display: inline-block;
  height: 48px;
  width:  48px;
  margin-right: 1.5em;
  /*border:1px solid rgb(187, 187, 187);*/
  border-radius: 3px;
}
.weibo{
  background-color: rgb(255, 215, 255);
}
.github{
  background-color: rgb(225, 223, 255);
}
.gitcafe{
  background-color: rgb(162, 226, 187);
}
.oschina{
  background-color: rgb(186, 236, 166);
}
a.social-last{
  margin-right: 0;
}
a.social:hover{
  background-color: #f30;
}
.social img {
  width: 30px;
  position: relative;
  top: 9px;
  left: 9px;
}
.social-group{
  padding-top: 1em;
  margin-left: 10px;
  margin-bottom: 2em;
}

.to-left {
  margin-left: 0;
}
#intro{
  /*width: 38em;*/
  font-size: 18px;
  line-height: 26px;
  margin-left: 10px ;
  margin-right: 10px;
}
#intro h2{
  line-height: 33px;
}
#intro p{
  margin-top: 0;
}
#intro h1 {
  margin-top: 12px;
  margin-bottom: 10px; 
  font-size: 28px; 
  clear: both;
  line-height: 38px;
}
#intro img{
  
}
#intro a{
  color: #f30;
  font-weight: 900;
}
#intro a:hover{
  color:black;
}
#me180x160 {
  float: left;
  margin-right: 1em;
  margin-bottom: 1em;
}
.pull-right{
  margin-right: 0em;
}
.share_self{
  width: 300px;
  display:none;
  margin-right: 0;
}
#sig img{
  width: 100%
}
#disclaimer{
  /*float:left;*/
  margin-left: 10px;
  font-size: 13pt;
  margin-right: 10px;
  line-height: 24px;
}
#disclaimer b{
  color: white;
}
#copyright{
  /*float:right;*/
  margin-left: 10px;
  font-size: 13pt;
  margin-right: 10px;
}
.bottom_intro{
  width: 300px;
  margin: 0 auto;
}
/*
***********************************
styles for articles
***********************************
*/
.rss{
  height: 60px
}
.rss a{
  display: block;
  width: 295px;
  background-color: rgb(223, 223, 223);
  padding-top: 5px;
  padding-left: 5px;
  position: relative;
}
.rss a:hover{
  background-color: rgb(248, 134, 80);
}
.rss a img{
  width: 50px;
  display: inline-block;
  opacity: 0.5;
}
.rss a span{
  font-size: 20pt;
  position: absolute;
  top: 13px;
  left: 70px;
  color: white;
  font-weight: 900
}
.rss a:hover span{

}
.next-and-previous{
  padding-top: 2em;  
  font-size:10pt
}
.next-and-previous span{
  margin-right:1em;
}
.title1{
  margin-bottom: 10px;
}
.cn{
  font-size:11pt;
}
.post .highlight pre{
  white-space:pre-wrap; /* css-3 */
  white-space:-moz-pre-wrap; /* Mozilla, since 1999 */
  white-space:-pre-wrap; /* Opera 4-6 */
  white-space:-o-pre-wrap; /* Opera 7 */
  word-wrap:break-word; /* Internet Explorer 5.5+ */
  -moz-binding: url('./wordwrap.xml#wordwrap'); /* firefox */
}
.post ol li{
  margin-bottom: 2px;
}
.post em{
  color: #8D00B1;
  font-weight: 900;
  background-color: #EBE9E9;
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 0px;
  padding-bottom: 3px;
  margin-bottom: 1px;
  margin-left: 6px;
  margin-right: 6px;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.post img{
  margin-top: 1em;
  margin-bottom: 1em;
  display: block;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 20px;
  background-color: #EFEFFF;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  border: 15px solid #FFEAEA;
  max-width: 90%;
}
.post table{
  width: 100%;
  margin-bottom: 1em;
}
.post table th{
  font: bold 11px "Trebuchet MS", Verdana, Arial, Helvetica,
  sans-serif;
  color: #6D929B;
  border-right: 1px solid #C1DAD7;
  border-bottom: 1px solid #C1DAD7;
  border-top: 1px solid #C1DAD7;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  padding: 6px 6px 6px 12px;
  background: #CAE8EA;
  text-align: left;
}
.post table th:first-child{
  text-align: left;
}
.post table tr td{
  border-right: 1px solid #C1DAD7;
  border-bottom: 1px solid #C1DAD7;
  background: #fff;
  padding: 6px 6px 6px 12px;
  color: #6D929B;
  text-align: left;
  font-size: 10pt;
}
.post table tr td:first-child{
  text-align: left;
}
.post-info{
  margin-bottom: 10px;
  font-size: 12pt;
  color:rgb(151, 151, 151);;
}
.thumbnail{
  float: left;
  margin-right: 10px;
  /*margin-bottom: 10px;*/
}
.article-item{
  clear: both;
  margin-bottom: 0.5em;
}
.side-intro{
  font-size: 16px;
  line-height: 26px;
}
.side-intro a{
  color:#f30;;
}
.page-num{
  margin-bottom: 1em;
}
#ds-thread{
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 3em;
}
.more{
  float: right;
}
.previous{
  font-size: 11pt;
  padding-top: 0;
}
.previous a{
  font-size: 11pt;
}
.previous .post-info{
  font-size: 11pt;
}
#editor_window{
  
}
@media screen and (min-width: 390px){
  #me_mini{
    display: none;
  }
  #me_narrow{
    display: inline;
  }
}
/*weibo dispear*/
@media screen and (min-width: 450px){  
  #sig{
    display: none;
  }
  .article-item{
    padding-top: 0.5em;
  }
  .bottom_intro{
    display: none;
  }
  .previous div.post-info{
    display: inline;
    margin-left: 2em;
  }
}
@media screen and (min-width: 680px){
  
  .header h1{
    float:left;
    margin-left: 16px;
  }
  .left{
    float:left;
  }
  .header ul{
    float: right;
  }
  .header ul li a{
    font-size: 12pt;
  }
  .pull-right{
    margin-right: 0;
  }
  #talk-medium{
    display:block;
  }
  #talk-small{
    display: none;
  }
  #talk-btn{
    float:right;
    padding: 1em 1em 1em 1em;
    background-color: #3e3e3e;
    color: white;
    margin-right: 16px;
    margin-top: 1em;
  }
  .social-group{
    margin-left: 16px;
  }
  a.social{
    margin-right: 2em;
  }
  #intro{
    /*width: 38em;*/
    font-size: 18px;
    line-height: 26px;
  }

}
@media screen and (min-width:980px ){
  .wrap-back-top{
    display: block;
  }
  .wrap-social{
    float: left;
    margin-bottom: 2em;
  }
  .social-group{
    margin-left: 0;
  }
  #talk-medium{
    display: none;
  }
  #talk{
    display:block;
  }
  #me{
    display:inline;
  }
  #me_narrow{
    display: none;
  }
  .container-full {
    max-width: none;
    margin-left: 4em;
    margin-right: 4em;
  }
  #about header .container-full{
    margin-left: 0;
  }
  .share_self{
    display: block;
  }
  .pull-right{
    margin-right: 0;
  }
  #two_column{
    position: relative;
  }
  #wrap_intro{
    float: left;
    margin-left: 0;
    margin-bottom: 2em;
  }
  #disclaimer{
    width: 300px;
    position: absolute;
  }
  #copyright{
    width: 300px;
    position: absolute;
    right:0;
    top:2em;
  }
  footer{
    height: 30em;
  }
  footer .container-full{
    position: relative;
  }
  #disclaimer{
    width: 400px;
    /*left:7em;*/
  }
  #copyright{
    width: 400px;
    /*right:7em;*/
  }
}
@media screen and (min-width:980px ){
  #wrap_intro{
    margin-top: 2em;
    width: 31em;
  }
}
@media screen and (min-width:1030px ){
  #wrap_intro{
    margin-left: 1.2em;
    width: 34em;
  }
}
@media screen and (min-width:1080px ){
  #wrap_intro{
    width: 36em;
  }
}
@media screen and (min-width:1130px ){
  #wrap_intro{
    width: 37em;
  }
}
@media screen and (min-width:1150px ){
  #wrap_intro{
    width: 40em;
  }
  #disclaimer{
    left: 4em;
    /*left:7em;*/
  }
  #copyright{
    right: 4em;
    /*right:7em;*/
  }
}
@media screen and (min-width:1200px ){
  #wrap_intro{
    width: 44em;
  }
}
@media screen and (min-width:1250px ){
  #wrap_intro{
    width: 47em;
  }
}
@media screen and (min-width:1300px ){
  #wrap_intro{
    margin-left: 3em;
    width: 46em;
  }
}
.first-item{
  padding-top: 0;
}
.center{
  text-align: center;
}




.pag-btn {
  -moz-box-shadow:inset 0px 1px 0px 0px #fceaca;
  -webkit-box-shadow:inset 0px 1px 0px 0px #fceaca;
  box-shadow:inset 0px 1px 0px 0px #fceaca;
  background-color:#ffce79;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  border:1px solid #eeb44f;
  display:inline-block;
  color:#ffffff;
  font-size:15px;
  font-weight:bold;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:1px 1px 0px #ce8e28;
}.pag-btn:hover {
  background-color:#eeaf41;
}.pag-btn:active ,.pag-btn:visited{
  position:relative;
  top:1px;
  color:#ffffff;
}
/* This imageless css button was generated by CSSButtonGenerator.com */


/*
  side navbar 
*/
#sidenav{
  position: fixed;
  top: 60px;
  margin-left: 64px;
  list-style: none;
  padding: 0;
}
#sidenav li {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  background-color: rgb(212, 233, 212);
  margin-top: 2px;
  font-size: 10px;
  width: 200px;
  color: rgb(95, 138, 114);
  list-style-image: url(/images/star.png);
  /* transition */
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  transition: 0.5s;

  -webkit-border-top-right: 15px;
  -moz-border-top-right: 15px;
  border-top-right-radius: 15px;

  -webkit-border-bottom-right-radius: 15px;
  -moz-border-bottom-right-radius: 15px;
  border-bottom-right-radius: 15px;
  
  -webkit-border-top-left-radius: 5px;
  -moz-border-top-left-radius: 5px;
  border-top-left-radius: 5px;

  -webkit-border-bottom-left-radius: 5px;
  -moz-border-bottom-left-radius: 5px;
  border-bottom-left-radius: 5px;
}
#sidenav li:hover{
  background-color: #FF9971;
  color: white;
  font-weight: bold;
  width: 220px;
}
/*
scroll to top button
*/
#back-top {
  position: fixed;
  bottom: 30px;
  margin-left: 64px;
}

#back-top a {
  width: 108px;
  display: block;
  text-align: center;
  font: 11px/100% Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  color: #bbb;

  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover {
  color: #000;
}

/* arrow icon (span tag) */
#back-top span {
  width: 108px;
  height: 108px;
  display: block;
  margin-bottom: 7px;
  background: #ddd url(/images/up-arrow.png) no-repeat center center;

  /* rounded corners */
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;


  /* transition */
  -webkit-transition: 1s;
  -moz-transition: 1s;
  transition: 1s;
}
#back-top a:hover span {
  background-color: #777;
}
/*
  only for page resume
*/
#resume{
}
#resume h2{
margin-left:1.5em;
}
#resume h3{
margin-left:2em;
}
#resume p{
margin-left:2.5em;
margin-right: 3em;
}
#resume footer p{
margin-left:0;
margin-right:0;
}
