
.modal {
	overflow: auto;
	color: #333;
}

html { overflow-y: scroll; }


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

::selection { background: #5bc0de; color: #eee; }
::-moz-selection { background: #5bc0de; color: #eee; }
::-webkit-selection { background: #5bc0de; color: #eee; }

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



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

.process1 {
	display: block;
	visibility: visible;
}
.process2 {
	display: none;
	visibility: hidden;
}

/** 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;
	font-size: 1.2em;
	cursor: pointer;
	/*text-shadow: 1px 1px 0 #fff;*/
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
#filter-list li:hover {
	background: #e7e7e7;
}
#filter-list li.active {
	color: #fff;
	font-weight: nornal;
	background: #5cbfdc;
}


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

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

}
#portfolio .item img {
 padding: 0px;
  max-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 **/
.clearfixit:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; }
.clearfixit { display: inline-block; }
 
html[xmlns] .clearfixit { display: block; }
* html .clearfixit { height: 1%; }


/** media queries **/
@media screen and (max-width: 1024px) {
	.img_resp_water{max-width: 65%;}
}

@media screen and (max-width: 720px) {
  h1 { font-size: 2.7em; }
	.img_resp_water{max-width: 75%;}
}

@media screen and (max-width: 500px) {
  h1 { font-size: 2.0em; }
  #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; }
	@media screen and (max-width: 720px) {
  h1 { font-size: 2.7em; }
	.img_resp_water{max-width: 100%;}
}
	.process1 {
	display: none;
	visibility: hidden;
	}
.process2 {
		display: block;
	visibility: visible;
	}
}