html { overflow-y: scroll; }

/* br { display: block; line-height: 1.6em; }  */

::selection { background: #dcc5ee; color: #313131; }
::-moz-selection { background: #dcc5ee; color: #313131; }
::-webkit-selection { background: #dcc5ee; color: #313131; }

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }


table { border-collapse: collapse; border-spacing: 0; }
img { 
	border: 0; 
	height: auto; 
}

/** page structure **/
#w {
  display: block;
  max-width: 1100px;
  min-width: 280px;
  padding-top: 20px;
  margin: 0 auto;
}


/** filters list **/
#filter-list {
	display: block;
	width: 100%;
	text-align: center;
	margin-bottom: 25px;
}

#filter-list li {
  	display: inline-block;
  	width: auto;
  	padding: 6px 10px;
	margin-right: 15px;
	cursor: pointer;
	text-shadow: 1px 1px 0 #fff;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#filter-list li:hover {
	background: #FCE99C;
}
#filter-list li.active {
	font-weight: bold;
	background: #FFCF00;
}


/** portfolio list **/
#portfolio {
	display: block;
	width: 100%;
	padding: 0 12px;
	margin-bottom: 35px;
	text-align: center;
}

#portfolio .item {
	display: none;
	opacity: 0;
	width: 31%;
	vertical-align: top;
	margin-bottom: 4px;
	margin-right: 0px;
	color: #fff;
	font-size: 30px;
	text-align: center;
	-moz-box-sizing: border-box;
}
#portfolio .item a {
  display: inline-block;
  width: 100%;
  text-decoration: none;
  background: #fff;

}
#portfolio .item img {
  padding: 3px;
  width: 100%;
  -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.55);
  -moz-box-shadow: 0 1px 4px rgba(0,0,0,0.55);
/*   box-shadow: 0 1px 4px rgba(0,0,0,0.55); */
}

/** clearfix **/
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfix { display: inline-block; }
 html[xmlns] .clearfix { display: block; }
* html .clearfix { height: 1%; }


/** media queries **/
@media screen and (max-width: 720px) {


}

@media screen and (max-width: 500px) {
  #filter-list { padding: 0 18px; }
  #filter-list li { display: block; margin-bottom: 3px; }
  #portfolio { margin-bottom: 20px; }
  #portfolio .item { width: 100%; margin-bottom: 12px; margin-right: 0; }
}