html {
	overflow-y: scroll;
}

.container_gallery {
	position: relative;
	-webkit-transition: all 1s ease;
	-moz-transition: all 1s ease;
	-o-transition: all 1s ease;
	transition: all 1s ease;
	margin-left: -1%;
}

#filters {
	margin: 1%;
	padding: 0;
	list-style: none;
}

#filters li {
	float: left;
	text-transform: uppercase;
	font-weight: 600;
}

#filters li ul {
	margin: 0 0 5px 0;
	padding: 0;
}

#filters li ul li {
	list-style: none;
}

#filters li span {
	display: block;
	padding: 5px 10px;
	text-decoration: none;
	color: #666;
	cursor: pointer;
}

#filters li span:hover {
	background: #3170A0;
	color: #FFF;
}

#filters li span.active {
	background: #3170A0;
	color: #FFF;
}

#portfoliolist {
}

#portfoliolist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width: 33.333%;
	height: 245px;
	display: none;
	float: left;
	overflow: hidden;
}

.portfolio-wrapper {
	overflow: hidden;
	position: relative !important;
	cursor: pointer;
	background-color: #2A2A2A;
	/*+border-radius: 6px;*/
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	margin: 2.5%;
}

.portfolio img {
	max-width: 100%;
	position: relative;
	top: 0;
	/*+border-radius: 6px;*/
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	-khtml-border-radius: 6px;
	border-radius: 6px;
	background-color: transparent;
}

.portfolio:hover img {
	opacity: 0.45;
}

/* #Tablet (Portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.container_gallery {
		width: 100%;
	}
}

/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
	.container_gallery {
		width: 100% !important;
	}
	
	#portfoliolist .portfolio {
		width: 50%;
	}
}

/* #Mobile (Landscape) - Note: Design for a width of 480px */
@media only screen and (max-width: 480px) {
	#portfoliolist .portfolio {
		width: 100%;
	}
}
