html {
  overflow-y: scroll;
}

body {
	font-family: Helvetica, Arial, Verdana;
	/*background: #efefef url('../img/ticks.png') repeat 0 0;
	margin:15px 0 0 0;*/
	font-size:12px;
}

.container, #navMenu { 
	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;
		font-family: 'Raleway', sans-serif;
	}
	
	#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:23%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
}
/* --- MY addition for long rows --- */
#portfoliolist .portfolioLong {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:48%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
} /* --- End addtion --- */
/* --- MY addition for long rows --- */
#portfoliolist .portfolioTall {
	-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;
} /* --- End addtion --- */
/* --- MY addition for long rows --- */
#portfoliolist .portfolioFull {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:97%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
} /* --- End addtion --- */
#portfoliolist .portfolioThirds {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:30%;
	margin:1%;
	display:none;
	float:left;
	overflow:hidden;
} /* --- End addtion --- */

	.portfolio-wrapper 
	{
		overflow:hidden;
		position: relative !important;
		/*background: #666;*/
		/*cursor:pointer;*/
	}

	.portfolio img, .portfolioLong img, .portfolioTall img 
	{
		max-width:100%;
		position: relative;
		top:0;
    -webkit-transition: all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 600ms cubic-bezier(0.645, 0.045, 0.355, 1);		
	}
	
	.portfolio .label, .portfolioLong .label, .portfolioTall .label 
	{
		position: absolute;
		width: 100%; 
		height: 80px; /* 40 80*/
		bottom: -80px; /* -40 -160*/
    -webkit-transition: all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
    transition:         all 300ms cubic-bezier(0.645, 0.045, 0.355, 1);
	}

		.portfolio .label-bg, .portfolioLong .label-bg, .portfolioTall .label-bg 
		{
			background: #e95a44;
			width: 100%;
			height:100%;
			position: absolute;
			top: 0px; /* 0 -80 */
			left:0;
		}
		
		.portfolio .text-title, .portfolioLong .text-title, .portfolioTall .text-title 
		{
			color: #222;
			z-index: 0;
			font-size: 20px;
		}
	
		.portfolio .label-text, .portfolioLong .label-text, .portfolioTall .label-text 
		{
			color:#fff;
			position: relative;
			z-index:500;
			padding:5px 8px;
			margin-left: 10px;
		}
			
			.portfolio .text-category, .portfolioLong .text-category, .portfolioTall .text-category 
			{
				display:block;
				font-size:15px;
			}
	
	.portfolio:hover .label, .portfolioLong:hover .label, .portfolioTall:hover .label 
	{
    	bottom: 0px; /* 0 - 80*/
  	}
	.portfolio:hover img, .portfolioLong:hover img, .portfolioTall:hover img 
	{
    	top:-30px;
  	}  

	
@media only screen and (max-width: 1000px) {
	#portfoliolist .portfolioThirds
	{
		width: 96%;
		margin:1%;
	}	
}


/* #Tablet (Portrait) */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.container, #navMenu {
		width: 768px; 
	}
}


/*  #Mobile (Portrait) - Note: Design for a width of 320px */
@media only screen and (max-width: 767px) {
	.container, #navMenu { 
		width: 95%; 
	}
	
	#portfoliolist .portfolio, .portfolioTall {
		width:48%;
		margin:1%;
	}	
	
	#portfoliolist .portfolioLong
	{
		width: 96%;
		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, #navMenu {
		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;
}
