/* ---- button ---- */
.filters {
  max-width: 1000px;
  margin: 25px auto 10px;
  position:relative; 
}

.button {
  display: inline-block;
  padding: 10px 16px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 7px;
  color: #222;
  font-size: 14px;
  cursor: pointer;
  font-family: Verdana, Arial, 'Microsoft JhengHei' ;
  font-weight: bold;
  outline: none;
}

.button:hover {
  background-color: #eee;
  color: #222;
}

.button:active,
.button.is-checked {
  background-color: #337ab7;
  border: 1px solid #337ab7;
}

.button.is-checked {
  color: #fff;
  
}

.button:active {
  
}

/* ---- button-group ---- */

.button-group:after {
  content: '';
  display: block;
  clear: both;
}

.button-group .button {
  margin: 0 8px 12px 0;
}

.button-group, .grid{
	text-align: center;
}


/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.character{	
	text-align: center;
	font-size: 16px;
	font-weight: bold;
	padding: 8px 20px 10px;
	display: inline-block;
	*display:inline; /*IE7*/
	*zoom:1; /*IE7*/
	width: 300px; /*原222px
	height: 318px;*/
	margin: 0 16px 15px;
	border: 1px solid #cccccc;
}
.character span{
	font-size: 13px;
}
.character p{
	line-height: 1.5em;
	padding: 20px 0 0;
}


/* ---- rwd ---- */
@media screen and (max-width: 1280px) {
.character{	
	width: 30%;
}
}
@media screen and (max-width: 1024px) {
.character{	
	width: 45%;
}
}
@media screen and (max-width: 650px) {	
.character{	
	width: 85%;
}
}
@media screen and (max-width: 600px) {

.grid {
	padding: 5px;
}
    
}

