*{ margin:0; padding:0;}



#isotopeContainer{

	display:block;

	clear:both;

	margin-top:0;

	margin-bottom:20px;

	padding-left:0;

	padding-right:0;

	list-style:none;

}



.gallery-item{

	width:360px;

	padding:0px;

	margin: 10px 10px;

	background: #fff;

/*	-webkit-box-shadow: 1px 1px 2px 1px rgba(120, 120, 120, 0.5), inset 0px 0px 7px 7px rgba(240, 240, 240, 0.2);

	box-shadow: 1px 1px 2px 1px rgba(120, 120, 120, 0.5), inset 0px 0px 7px 7px rgba(240, 240, 240, 0.2);

	-webkit-border-radius: 2px;

	border-radius: 2px;*/

}

.gallery-item:nth-child(1),

.gallery-item:nth-child(3n+1){

	margin-left:0px;

}



.gallery-item:hover{

	background-color:#f7f7f7;

}



.item-box{

	position:relative;

}

.item-box > .over-lay{

	position:absolute;

	top:0;

	bottom:0;

	left:0;

	right:0;

	width:100%;

	height:100%;

	box-sizing:border-box;

	/*background:rgba(0,0,0,0.7);*/

	display:block;
	/*display:none;*/

	-webkit-transition: all 300ms ease-in-out;

   -moz-transition: all 300ms ease-in-out;

   -o-transition: all 300ms ease-in-out;

   -ms-transition: all 300ms ease-in-out;

    transition: all 300ms ease-in-out;

}

.item-box:hover > .over-lay{

	display:block;

}



.overlay-text{

	position:relative;

	width:100%;

	height:100%;

	box-sizing:border-box;

}

/*.overlay-text:hover .gallery-item-title{

	top:30%;

}*/

.overlay-text:hover .gallery_link{ bottom:30%;}

.gallery-item-title{

	/*top:10%;*/
	margin:0;
	padding:10px 10px;
	
	top:calc(50% - 21px);

	left:0;

	right:0;

	position:absolute;
	
	/*background:rgba(0,0,0,0.5);*/

	color:#fff;

	text-transform:uppercase;

	text-align:center;

	font-size: 18px;

	line-height: normal;
	
	text-shadow:0px 0px 1px rgba(0,0,0,.7);

	   -webkit-transition: all 300ms ease-out;

   -moz-transition: all 300ms ease-out;

   -o-transition: all 300ms ease-out;

   -ms-transition: all 300ms ease-out;

    transition: all 300ms ease-out;

}
.gallery-item-title a{ color:#fff; text-decoration:none; font-size: 18px; }

.gallery-item-title a:hover,
.gallery-item-title a:active{ color:#333; text-decoration:none; font-size: 18px; text-shadow: -1px -1px 0 #fff, 1px -1px 0 #fff, -1px 1px 0 #fff, 1px 1px 0 #fff; }
.gallery_link{
	width:125px;
	bottom:10%;
	left:0;
	right:0;
	position:absolute;
	font-size:14px;
	color:#333;
	background:#f7c51e;
	padding:7px 15px;
	display:block !important;
	margin:0 auto;
	text-decoration:none;
	text-transform:uppercase;
	-webkit-transition: all 300ms ease-out;
   -moz-transition: all 300ms ease-out;
   -o-transition: all 300ms ease-out;
   -ms-transition: all 300ms ease-out;
    transition: all 300ms ease-out;
	border-radius:3px;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
}

.short-code_single .single-gallery-item{

	width:210px;
	margin: 0 5px 5px 0px;

	/*width:33%;*/

}



.single-gallery-item{

	width:280px;
	/*width:565px;*/

	display:inline-block;

	float:left;

	list-style:none;

	box-sizing:border-box;

	-moz-box-sizing:border-box;

	-webkit-box-sizing:border-box;

	

}

.single-gallery-item:hover{

	background-color:rgba(254, 185, 39, 1.0);

}





.single-gallery-item a,.gallery-item a{ display:block; position:relative; }

.single-gallery-item img,.gallery-item img{ width:100%; padding:0; margin:0;  }

.touchGalleryLink{ position:relative; }

.p_hover{

	background:rgba(0,0,0,0);

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 100%;

    text-align: center;

    -webkit-transition: all 0.2s;

    transition: all 0.2s;

}

.p_hover:hover{

	background:rgba(0,0,0,0.5);

}

.gallery-title{

	margin:15px auto;

	display: block;

	text-align: center;

	font-family: 'eras_medium_r', Arial;

	font-size: 20px;

	line-height:normal;

	color: #0053a0;

	font-weight: 600;

}

.gallery-title a{	

	color: #0053a0;

	font-weight: 600; 

	text-decoration:none;

}

.gallery-title a:hover{

	text-decoration:none;

}

.gallery-title img{

	width: auto;

	height: auto;

	max-height: 50px;

	max-width: 80%;

	margin-left: auto;

	margin-right: auto;

	filter: grayscale(0%) brightness(1) invert(0);

	-webkit-filter: brightness(0) invert(1);

	filter: brightness(0) invert(1);

}

.company-logo{ text-align:center; background:#000; min-height:169px;}

.company-logo img{ 

	margin-top: 22%;

	width: auto;

	height: auto;

	max-height: 50px;

	max-width: 80%;

	margin-left: auto;

	margin-right: auto;

	

	filter: grayscale(0%) brightness(1) invert(0);

	-webkit-filter: brightness(0) invert(1);

	filter: brightness(0) invert(1);

}

/* Start: Recommended Isotope styles */



/**** Isotope Filtering ****/



.isotope-item {



  z-index: 2;



}



.isotope-hidden.isotope-item {



  pointer-events: none;



  z-index: 1;



}



/**** Isotope CSS3 transitions ****/



.isotope,



.isotope .isotope-item {



  -webkit-transition-duration: 0.8s;



  -moz-transition-duration: 0.8s;



  -ms-transition-duration: 0.8s;



  -o-transition-duration: 0.8s;



  transition-duration: 0.8s;



}



.isotope {



  -webkit-transition-property: height, width;



  -moz-transition-property: height, width;



  -ms-transition-property: height, width;



  -o-transition-property: height, width;



  transition-property: height, width;



}



.isotope .isotope-item {



  -webkit-transition-property: -webkit-transform, opacity;



  -moz-transition-property: -moz-transform, opacity;



  -ms-transition-property: -ms-transform, opacity;



  -o-transition-property: top, left, opacity;



  transition-property: transform, opacity;



}



/**** disabling Isotope CSS3 transitions ****/



.isotope.no-transition,



.isotope.no-transition .isotope-item,



.isotope .isotope-item.no-transition {



  -webkit-transition-duration: 0s;



  -moz-transition-duration: 0s;



  -ms-transition-duration: 0s;



  -o-transition-duration: 0s;



  transition-duration: 0s;



}



/* End: Recommended Isotope styles */



ul#filters li {



  display: inline-block;



  vertical-align: top;



  margin: 9px 9px 0 0;



}



#isotopeContainer {



  padding-top: 8px;

  padding-top: 10px;

  box-sizing:border-box;



}





.social-shareblock{

	margin-bottom:10px;

}

#back_button{

	float:right;

}


/* Sortable */

#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: #454545;
		color:#fff;
	}
 

 
#portfoliolist .portfolio {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:260px;
	max-width:100%;
	margin:10px;
	display:none;
	float:left;
	overflow:hidden;
}
#portfoliolist{ overflow:hidden; }
	.portfolio-wrapper {
		overflow:hidden;
		position: relative !important;
		background: #666;
		cursor:pointer;
	}

	.portfolio 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 {
		position: absolute;
		width: 100%;
		height:40px;
		bottom:-40px;
    -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 {
			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;
			}
	
/*	.portfolio:hover .label {
    bottom:0;
  }
	.portfolio:hover img {
    top:-30px;
  }  */

/* End sortable */

/* responsive handling */

@media screen and (max-width:1199px){
	.single-gallery-item{
		/*width:49%;*/
		box-sizing:border-box;
		overflow:hidden;
	}
}

@media screen and (min-width:970px) and (max-width:1024px){

   .gallery-item{

		width:262px;

	}

}

@media screen and (min-width:768px) and (max-width:969px){

	.gallery-item{

		width:187px;

	}

}


@media screen and (max-width:767px){
	.gallery-item-title{
		font-size:12px;
	}
/*	.gallery-item{
		width:45%;
		overflow:hidden;
		margin-left:10px;
		
	}
	.gallery-item:first-child,
	.gallery-item:nth-child(2n + 1){
		clear:left;
	}
	.gallery-item:nth-child(3n+1){
		margin-left:10px;
	}*/
}

@media screen and (min-width:480px) and (max-width:640px){



}



@media screen and (min-width:320px) and (max-width:479px){
	
	.gallery-item{

		width:100%;

	}


	.gallery-title{

		font-size:14px;

	}

}

@media screen and (min-width:240px) and (max-width:319px){

	.gallery-item{

		width:100%;
		margin-left:0px;
		margin-right:0px;

	}

	.gallery-title{

		font-size:12px;

	}

}