@media only screen and (max-width:768px){


#filters {
	margin:3% 1% 1% 1%;
	padding:0;
	list-style:none;
}

#filters li {float:left;margin:8px 2px;}
	
#filters li span {
	display: block;	
	text-decoration:none;
	color:#E16106;
	cursor: pointer;
	font-size:16px;
	font-weight:700;
	border:1px solid #E16106; 
	margin:0 5px;
	padding:5px 20px;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
}

#filters li span:hover {
	border:1px solid #E16106; 
	background: #E16106;
	color:#fff;	
}

#filters li span.active {
	border:1px solid #E16106; 
	background: #E16106;
	color:#fff;
}
 
 
#portfoliolist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:23%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
}

.portfolio-wrapper {
	overflow:hidden;
	position: relative !important;
	background: #666;
	cursor:pointer;
}

.portfolio img {
	max-width:100%;
	position: relative;
}
	
.portfolio .label {
	position: absolute;
	width: 100%;
	height:40px;
	bottom:-40px;
}

.portfolio .label-bg {
	background: #e95a44;
	width: 100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
}
	
.portfolio .label-text {
	color:#fff;
	position: relative;
	z-index:500;
	padding:5px 8px;
}
			
.portfolio .text-category {
	display:block;
	font-size:9px;
}

}



@media only screen and (min-width:768px){


#filters {
	margin:3% 1% 1% 1%;
	padding:0;
	list-style:none;
}

#filters li {float:right;}
	
#filters li span {
	display: block;	
	text-decoration:none;
	color:#E16106;
	cursor: pointer;
	font-size:16px;
	font-weight:700;
	border:1px solid #E16106; 
	margin:0 5px;
	padding:5px 20px;
	border-radius:8px;
	-moz-border-radius:8px;
	-webkit-border-radius:8px;
}

#filters li span:hover {
	border:1px solid #E16106; 
	background: #E16106;
	color:#fff;	
}

#filters li span.active {
	border:1px solid #E16106; 
	background: #E16106;
	color:#fff;
}
 
 
#portfoliolist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:23%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
}

.portfolio-wrapper {
	overflow:hidden;
	position: relative !important;
	background: #666;
	cursor:pointer;
}

.portfolio img {
	max-width:100%;
	position: relative;
}
	
.portfolio .label {
	position: absolute;
	width: 100%;
	height:40px;
	bottom:-40px;
}

.portfolio .label-bg {
	background: #e95a44;
	width: 100%;
	height:100%;
	position: absolute;
	top:0;
	left:0;
}
	
.portfolio .label-text {
	color:#fff;
	position: relative;
	z-index:500;
	padding:5px 8px;
}
			
.portfolio .text-category {
	display:block;
	font-size:9px;
}


}



	

/* #Clearing */

/* Self Clearing Goodness */
.container:after { content: "\0020"; display: block; height: 0; clear: both; visibility: hidden; }

.clearfix:before,
.clearfix:after,
.row:before,
.row:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.row:after,.clearfix:after {clear: both; }
.row,.clearfix {zoom: 1; }

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}
