.container { 
	position: relative; 
	width: 90%; 
	margin: 0 auto; 
	-webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;	
}
 
#filters {
	margin-left: auto;
	margin-right: auto;
	width: 940px;
	padding:0;
	/*padding-left: 30px;*/
	list-style:none;
	text-align: center;
	margin-top: 80px;
	margin-bottom: 40px;
}

	#filters span {
		padding:5px 14px;		
		text-decoration:none;
		color: #CAC1B9;
		cursor: pointer;
		float: left;
		font-size: 12px;
		border-left: 1px dotted #CAC1B9;
		height: 40px;
		text-align: left;
	}
	#filters span.primo {
		border-left: 0px solid #CAC1B9;
	}
	#filters span:hover {
		color: #0E91CC;
	}
	
	#filters span.active {
		color: #0E91CC;
	}
 

 
#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;
	border: 10px solid #444438;
}

	.portfolio-wrapper {
		overflow:hidden;
		position: relative !important;
		background: #666;
		cursor:pointer;
	}

	.portfolio img {
		max-width:100%;
		position: relative;
	}
	
	.portfolio .num_foto {
		position: absolute;
		width: 42px;
		height: 42px;
		top:20px;
		right: 0px;
		color: #ffffff;
		font-size: 18px;
		text-align: center;
		line-height: 42px;
		background-image: url(../images/sf_num.png);
		background-position: top left;
		background-repeat: no-repeat;
		font-family: 'capsuularegular';		
	}
	
	.portfolio .label {
		position: absolute;
		width: 100%;
		height:60px;
		bottom:-60px;
	}

		.portfolio .label-bg {
			background: #0F91CC;
			width: 100%;
			height:100%;
			position: absolute;
			top:0;
			left:0;
		}
	
		.portfolio .label-text {
			color:#ffffff;
			position: relative;
			z-index:500;
			padding:5px 8px;
			font-family: 'capsuularegular';
			font-size:18px;
		}
		
		.portfolio .label-text a{
			color:#ffffff;
		}
			
			.portfolio .text-category {
				display:block;
				font-size:9px;
			}
	
	
	



/* #Tablet (Portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.container {
		width: 768px; 
	}
}


/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
	.container { 
		width: 95%; 
	}
	
	#portfoliolist .portfolio {
		width:48%;
		margin:1%;
	}		

	#ads {
		display:none;
	}
	
}


/* #Mobile (Landscape) - Note: Design for a width of 480px */
@media only screen and (min-width: 480px) and (max-width: 767px) {
	.container {
		width: 70%;
	}
	
	#ads {
		display:none;
	}
	
}

/* #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;
}
