body {
    margin: 0;
    font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.5em;
    line-height: 1.55em;
    background-color: #eee;
    overflow-x: hidden;
}

a {
      font-size: 1.0em;
      color: #009966;
      text-decoration: none;
}

a:hover {
color: #FF0000;
text-decoration: none;
}


body.custom-background {
    background-image: url('../images/bg.png');
    background-repeat: repeat;
    background-position: top left;
    background-attachment: scroll;
}

hr.doublegreen{
  height:3px;
  border:none;
  border-top:3px double #1abc9c;
}

/*为了顶部导航字体的大小，覆盖BootStrap的设置*/
.navbar-collapse.collapse{
  height:2.6em !important ;
}

.navbar-inverse .navbar-nav>li>a {
	padding-top: 0.3em;
	color: #9d9d9d;
	font-size:1.26em;
	line-height: 1.3em;
}

.navbar-inverse .navbar-nav>.active>a{
	line-height: 0.8em;
	padding-top: 0.4em;
}
/*顶部导航 下拉菜单的字体的大小，覆盖BootStrap的设置*/
.dropdown-menu>li>a {
	font-size:1.25em;
	line-height: 1.50em;
}

.j_zeng {
	border: 1px solid #FF6100;
	background: #fff;
	padding-left: 0.1em;
}

.jz_bt {
	background: #FF6100;
	float: right;
	color: #fff;
	width: 7em;
	text-align: center;
	text-decoration: none !important;
}

.content-wrap {
    width: 100%;
    float: left;
}

@media (max-width: 979px)
.content {
    margin-right: 0;
}

/*给移动端专用的宽度*/
.containermobile {
width:92%;
}

#comments {
  font-family: "Microsoft Yahei","Helvetica Neue",Helvetica,Arial,sans-serif;
}

#comments h2.comments-title {
font-size:1.4em;
}

#reply-title {
font-size:1.4em;
}

.tagcloud {
/*line-height: 1.1em;*/
}

.tagcloud a{
line-height: 1.1em;
}


.ad-google {
  padding-top: 0.1em;
  /*line-height: 1.1em;*/
  background: #ff0000;
  height: 0.38em;
}

.div-height{border:1px solid #F00; width:36em; height:5em;padding-left: 1em;} 

.div-center{text-align:center;margin:0 auto;}

/*闲置杂物*/
.cat-item{
  list-style-type:none;
  background: url("star.gif") no-repeat;
  padding-left: 20px;
}

.cat-item a{
  font-size: 1.2em;
}


.cat-item li{
                list-style: none;
                background: url("star.gif") no-repeat;
                padding-left: 20px;
            }
            
/* ===========================================================  post列表使用*/
.box_left_bottom {
    position: relative;
    display: block;
    padding: 10px 15px;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid #ddd;
}

.post-list {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.post-item {
  display: flex;
  flex-direction: row;
  margin: 6px 0 6px 0;
  padding: 5px;
  width: 100%;
  //border: 1px solid #ccc;
  //border-radius: 5px;
  //box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}


/* 缩略图*/
.thumbnail {

  flex-basis: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom:0px;
}

.thumbnail a img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
  
  width:120px;
  height:100px;
}

.post-content {
  flex-basis: 80%;
  //flex-basis: 500px;  
  //width:400px
  
  display: flex;
  flex-direction: column;
  margin-left: 10px;
}

.post-header {
  margin-bottom: 4px;
  max-width: 430px;
}

.post-title {
	font-size: 20px;	
	font-weight: bolder;
  
  margin: 0;
  padding-top: 0.2em;
  //max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.post-title a {
  //color: #333;
  text-decoration: none;
}

.post-title a:hover {
  text-decoration: underline;
}

.post-excerpt{
	margin-right: 2em;
  font-size: 16px;
  line-height: 1.5;
  height: 3.6em;
  overflow: hidden;
  word-break: break-all;
  word-wrap: break-all;
}

.post-excerpt p{
	margin:0 0;
}

.post-footer {
		border-bottom-style:solid;
	border-bottom-color: #009966;
	border-bottom-width:0.1em;
	
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.post-footer span {
  margin-left: 8px;
  margin-right: 4px;
}

.category,
.comments,
.views {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* 将心形图标颜色更改为绿色 */
.fa-heart  {
  color: green;
}

.fa-flag {
  color: green;
  margin-right:4px;
}
