
/******************************************************* Gallary ************************************************************/

.gallary { 
	position: relative; 
	width: 100%; 
	margin: 0 auto; 
    margin-top: 1px;
	-webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;	

}
 
#filters {
	margin:1%;
	list-style:none;
    text-align: center;
}

	#filters li {
		display: inline;
        text-align: center;
	}
	
	#filters li span {
		display: inline-block;
		padding:7px 20px;		
		text-decoration:none;
		color:#666;
		cursor: pointer;
        font-size: 16px;
	}
#filters li span:hover {
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to right, #c82426, #f46231);
    color:#fff;
}
#filters li span.active {
    background: #2d3691;
    background-image: -webkit-linear-gradient(left, #c82426, #f46231);
    background-image: -moz-linear-gradient(left, #c82426, #f46231);
    background-image: -ms-linear-gradient(left, #c82426, #f46231);
    background-image: -o-linear-gradient(left, #c82426, #f46231);
    background-image: linear-gradient(to right, #c82426, #f46231);
    color:#fff;
}



#portfoliolist .portfolio {
	-webkit-box-sizing: border-box ;
	-moz-box-sizing: border-box;
	-o-box-sizing: border-box;
	width:25%;
	display:none;
	float:left;
	overflow:hidden;
    border: 1px solid rgba(0,0,0,0.2);
}
#portfoliolist .portfolio:hover {
    border: 1px solid rgba(0,0,0,0.8);
    }
	.portfolio-wrapper {
		overflow:hidden;
		position: relative !important;
		background: #666;
		cursor:pointer;
	}
.portfolio-wrapper-image{
    height: 250px;
    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 img {
    width:100%;
    height: inherit;
    overflow: hidden;
    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 {
        margin: 0 auto;
		position: absolute;
		width: 100%;
		height: 100%;
    -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: rgba(0,0,0,0.8);
			width: 100%;
			height:100%;
			position: absolute;
			top: 0;
			left: 0;
		}
		.portfolio .label-text {
			color:#fff;
			position: relative;
			z-index:500;
            font-size: 14px;
            margin: 0 auto;
            top: 33%;
		}
            .portfolio .label-text span{
                padding: 7px 16px;
                margin: 8px;
                color: #2d3691;
                border: 2px solid #2d3691;
                border-radius: 7px;
            }

                .portfolio .label-text span:hover{
                    color: #fff;
                    background-color: #2d3691;
                    border: 2px solid #2d3691;
                }
			.portfolio .text-category {
				display:block;
				font-size:13px;
                color:  white;
                padding-bottom: 3px;                
			}

	.portfolio:hover .label {
        bottom: 0;
        left: 0;
  }
/* #Clearing */
/* Self Clearing Goodness */
.gallary: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;
}
/********************************            Responsive          ************************************************/
@media screen and (min-width:640px) and (max-width:992px){{}
    #portfoliolist .portfolio {
        width:50%;
    }
}
@media screen  and (max-width:639px){{}
    #portfoliolist .portfolio {
        width:100%;
    }
}