html {
  overflow-y: scroll;
}


#info {
	-webkit-border-radius:5px;
	-moz-border-radius:5px;
	border-radius:5px;				
	background:#fcf8e3;
	border:1px solid  #fbeed5;
	width:95%;
	max-width:900px;
	margin:0 auto 40px auto;
	font-family:arial;
	font-size:12px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
}

	#info .info-wrapper {
		padding:10px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;

	}
	
	#info a {
		color:#c09853;
		text-decoration:none;
	}
	
	#info p {
		margin:5px 0 0 0;
	}


.container { 
	position: relative; 
	width: 960px; 
	margin: 0 auto; 
	-webkit-transition: all 1s ease;
  -moz-transition: all 1s ease;
  -o-transition: all 1s ease;
  transition: all 1s ease;	
}
 
#filters {
	margin:1%;
	padding:0;
	list-style:none;
}

	#filters li {
		float:left;
	}
	
	#filters li span {
		display: block;
		padding:5px 20px;		
		text-decoration:none;
		color:#666;
		cursor: pointer;
	}
	
	#filters li span.active {
		background: #e95a44;
		color:#fff;
	}
 

 
#portfoliolist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width: 100%;
	overflow:hidden;
	margin: 0 0 1em;
}

	.portfolio-wrapper {
		overflow:hidden;
		position: relative !important;
		background: #FFF;
		cursor:pointer;
	}

	.portfolio img {
		max-width:100%;
		position: relative;
		top:0;	
	}
	
	.portfolio .label {
		position: absolute;
		opacity:1;
    	bottom: 15%;
		height: 70%;
		left: 15%;
		right: 15%;
		width: 70%;
	    -webkit-transition: opacity 500ms ease;
	    transition:         opacity 500ms ease;
		text-align: center;
	}

		.portfolio .label-bg {
			background: #FFF;
			width: 100%;
			height:100%;
			position: absolute;
			top:0;
			left:0;
			opacity:0.75;
		    -webkit-transition: opacity 5s ;
	    	transition:         opacity 5s ;
		}
	
		.portfolio .label-text {
			color:#000;
			position: relative;
			z-index:500;
			padding:3px 8px;
			font-size: 20px;
			margin-top: 25%;
			
		}
		#portfoliolist.small .portfolio .label-text {
			font-size: 16px;
		}
			
			.portfolio .text-category {
				display:block;
				font-size:12px;
			}
	/* changed */
	.portfolio:hover .label {
		opacity: 1;
	}
/* added */
  .portfolio:hover .label-bg {
     -webkit-transition: opacity 0.2s ease;
       -moz-transition: opacity 0.2s ease;
         -o-transition: opacity 0.2s ease;
         	transition: opacity 0.2s ease;

            opacity: 0.95;
  }
 
  @keyframes move {
  0% {
     transform: translateY(20px);
  }
}
 
.portfolio .label-text-2, .portfolio .label-text-3 {
	opacity: 1;
}
 
.portfolio:hover .label-text-2 {
     -webkit-transition: opacity 0.5s ease-in;
     -moz-transition: opacity 0.5s ease-in;
     -o-transition: opacity 0.5s ease-in;
     opacity: 1;
	 animation: move 0.6s;
  }

.portfolio:hover .label-text-3 {
     -webkit-transition: opacity 0.5s ease-in;
     -moz-transition: opacity 0.5s ease-in;
     -o-transition: opacity 0.5s ease-in;
     opacity: 1;
	 animation: move 0.4s;

  }	  
	
/******  Media Queries Portfoliolist  ******/


@media only screen and (min-width: 425px) {
	#portfoliolist.small .portfolio {
		width:47%;
		margin:1.5%;
		float: left;
	}
}

@media only screen and (min-width: 768px) {
	#portfoliolist .portfolio {
		width:47%;
		margin:1.5%;
		float: left;
	}	
}
@media only screen and (min-width: 1024px) {
	#portfoliolist.small .portfolio {
		width:22%;
	}	
}

/* added */  
/* #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%; 
	}	

	#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;
}
