/*
# SP Portfolio - Simple Portfolio module by JoomShaper.com
# -------------------------------------------------------------
# Author    JoomShaper http://www.joomshaper.com
# Copyright (C) 2010 - 2013 JoomShaper.com. All Rights Reserved.
# @license - GNU/GPL V2 or Later
# Websites: http://www.joomshaper.com
*/

div.flatlight ul.sp-portfolio-filter{
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
}

div.flatlight ul.sp-portfolio-filter li{
	display: inline-block;
}

div.flatlight .btn.active{
	background-color: #ccc;
}

div.flatlight .btn.btn-primary{
	background-color: #006dcc;
	color: #fff;
}

div.flatlight .btn.btn-primary:hover{
	background-color: #04c;
}

div.flatlight .col-1 {width:100%}
div.flatlight .col-2 {width:50%}
div.flatlight .col-3 {width:33%;}
div.flatlight .col-4 {width:25%}
div.flatlight .col-5 {width:20%}
div.flatlight .col-6 {width:16.666%}
div.flatlight .col-7 {width:14.256%}
div.flatlight .col-8 {width:12.5%}
div.flatlight .col-9 {width:11.111%}
div.flatlight .col-10 {width:10%}
div.flatlight{
	margin-top: 20px;
}
div.flatlight ul.sp-portfolio-items{
	list-style: none;
	padding: 0;
	margin: -10px;
	display: block;
	position: relative;
}

div.flatlight ul.sp-portfolio-items > li{
	background: none;
	padding: 0;
	margin: 0;
	float: left;
}

div.flatlight .sp-portfolio-item-inner{
	background: #f5f5f5;
	padding: 0px;
	margin: 10px;
	position: relative;
	overflow: hidden;

}

div.flatlight .sp-portfolio-thumb,
div.flatlight .sp-portfolio-item-details {
	width: 100%;
	float: left;
	position: relative;
	overflow: hidden;
}

div.flatlight .sp-portfolio-thumb img{
	width: 100%;
}

div.flatlight .sp-portfolio-thumb .sp-portfolio-preview,
div.flatlight .sp-portfolio-thumb .sp-portfolio-link{
	width: 40px;
	height: 40px;
	background-repeat: no-repeat;
	background-position: 50%;
	display: inline-block;
	position: absolute;
	top: 50%;
	margin-top: -20px;
	filter: alpha(opacity=0);
	opacity: 0;
	-webkit-transition: 500ms;
	-moz-transition: 500ms;
	-o-transition: 500ms;
	-ms-transition: 500ms;
	transition: 500ms;
}

div.flatlight .sp-portfolio-thumb .sp-portfolio-preview{
	background-image: url(../images/zoom.png);
	left: 50%;
	margin-left: -85px;
	width: 45px;
	height: 40px;
}

div.flatlight .sp-portfolio-thumb .sp-portfolio-link{
	background-image: url(../images/link.png);
	right: 50%;
	margin-right: -85px;
	width: 45px;
	height: 40px;
}

div.flatlight .sp-portfolio-thumb:hover .sp-portfolio-preview{
	opacity: 1;
	filter: alpha(opacity=100);
	margin-left: -48px;
}

div.flatlight .sp-portfolio-thumb:hover .sp-portfolio-link{
	opacity: 1;
	filter: alpha(opacity=100);
	margin-right: -49px;
}

div.flatlight .sp-portfolio-item-details {
	
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
	width: 100% !important;
text-align: center;
float: none !important;
padding: 18px 0 !important;
background: #fff;
}

div.flatlight .sp-portfolio-item-details h4{
	margin: 0;
}

div.flatlight .sp-portfolio-item {
	float:left;
}

div.flatlight .sp-portfolio-loadmore{
	text-align: center;
}

div.flatlight .btn {
	background-color:#f5f5f5;
	background-image:none;
	border:0;
	border-radius:0;
	box-shadow:none;
	color:#333;
	cursor:pointer;
	display:inline-block;
	font-size:14px;
	line-height:20px;
	margin-bottom:0;
	padding:4px 12px;
	text-align:center;
	text-shadow:none;
	vertical-align:middle;
	-moz-border-radius:0;
	-moz-box-shadow:none;
	-webkit-border-radius:0;
	-webkit-box-shadow: none;
	box-shadow: none;
}

div.flatlight .sp-portfolio-loadmore .btn{
	float: none;
	margin-top: 30px;
	padding: 0 20px;
	min-width: 100px;
	height: 50px;
	line-height: 50px;
	font-size: 18px;
	color: #fff;
}
div.flatlight .sp-portfolio-loadmore .btn.hide,
div.flatlight .sp-portfolio-loadmore .btn .icon-spinner,
div.flatlight .sp-portfolio-loadmore .btn.loading span{
	display: none;
}

div.flatlight .sp-portfolio-loadmore .btn.loading .icon-spinner{
	display: block;
	font-size: 24px;
	line-height: 50px;
}

/*Isotope Animation*/
.isotope,
.isotope .isotope-item {
  /* change duration value to whatever you like */
  -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:      -o-transform, opacity;
          transition-property:         transform, opacity;
}


.rtl .isotope .isotope-item {
  -webkit-transition-property: right, top, -webkit-transform, opacity;
     -moz-transition-property: right, top, -moz-transform, opacity;
      -ms-transition-property: right, top, -ms-transform, opacity;
       -o-transition-property: right, top, -o-transform, opacity;
          transition-property: right, top, transform, opacity;
}

/*recent project hover section*/

.recent-project-inner {position: relative; overflow: hidden;}

.inner-hover-title{position: absolute; 
top: -80px; left: 118px;
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition:all 500ms;}

.inner-hover-title h2 {color: #fff;font-size: 22px;
font-weight: 400; text-transform: uppercase;}

.inner-hover-title-bottom {
position: absolute; 
bottom: -50px;
height: 12%;
text-align: center;
width: 100%;
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition:all 500ms;}

.inner-hover-title-bottom h2 {background: #30B6EE;color: #fff;font-size: 18px;
font-weight: 400; margin-top: -3px;
 display: inline-table; padding: 0 14px 0 14px;}

.inner-hover {position: absolute;
background: #000000!important;
width: 100%;
height: 100%;
left: 0;
bottom: -380px;
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition:all 500ms;}

a.sp-portfolio-preview {
width: 45px;
height: 40px;
background-image: url(../images/hover/zoom.html);
background-repeat: no-repeat;
background-position: 50% 50%;
background-color: #30B6EE; 
position: absolute; 
left: 38%;
margin-left: -90px;
top: 40%; 
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition:all 500ms;
opacity:0;}

a.sp-portfolio-link {
width: 45px;
height: 40px;
background-image: url(../images/hover/link.html);
background-repeat: no-repeat;
background-position: 50% 50%;
position: absolute;
top: 40%; 
right: 37%;
margin-right: -90px; 
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition:all 500ms;
opacity:0;}

.margin-left-hover{
width: 45px;
height: 5px;
position: absolute; 
top: 138px;
left: 100px;
margin-top: -20px;
filter: alpha(opacity=0);
opacity: 0;
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition: 500ms;}

.margin-right-hover{
width: 45px;
height: 5px;
position: absolute;
top: 118px; 
right: 100px; 
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition:all 500ms;
opacity:0;}

.border-top {
position: absolute; 
width: 100%;
background-repeat: no-repeat;
background-position: 50% 0%;
height: 20px;
top: -30px;
-webkit-transition: 500ms;
-moz-transition: 500ms;
-o-transition: 500ms;
-ms-transition: 500ms;
transition:all 500ms;}

.sp-portfolio-thumb {
	position: relative;
	display: block;
	overflow: hidden!important;
}

.sp-portfolio-item-details {
	position: absolute!important;
	bottom: 0;
	transition:all 500ms;
}

.sp-portfolio-item-inner:hover .sp-portfolio-item-details {
	bottom:-60px; 
}

.sp-portfolio-item-inner:hover .sp-portfolio-item-details {
	bottom:-60px; 
}
.sp-portfolio-item-inner:hover .inner-hover-title-bottom {bottom: 0;}
.sp-portfolio-item-inner:hover .border-top {top: 0;}
.sp-portfolio-item-inner:hover .inner-hover {bottom: 0px; opacity:0.4;transition:all 500ms;}
.sp-portfolio-item-inner:hover .margin-left-hover{opacity: 1; left: 140px;}
.sp-portfolio-item-inner:hover .margin-right-hover {opacity: 1;right: 139px!important;}
img.ns2-image {transition: all 500ms;}
img.ns2-image:hover {opacity: .6; transition: all 500ms;}