/* Start: Recommended Quicksand styles */

/*---------------------------------------------------- */
/* Quicksand styles */
/*---------------------------------------------------- */

.element img {
	height: auto;
}


/*---------------------------------------------------- */
/* Filter styles  */
/*---------------------------------------------------- */

#filter.portfolio-filter {  
    margin: 5px 5px 15px;
    list-style-type: none;  
}
#filter.portfolio-filter li {  
    display: inline-block;  
    padding-right: 3px;  
}
#filter.portfolio-filter li a {
	color: white;
	font-size: 12px;
	text-transform: uppercase;
	display: inline-block;
	padding: 5px 20px;
	background: #3C3C3C;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	-o-box-sizing: border-box;
	box-sizing: border-box;
}
#filter.portfolio-filter li a:hover,
#filter.portfolio-filter li a.selected {
	background: #3B48E3;
}
.portfolio-wrapper {
	position: relative;
	display:block;
	overflow:hidden;
	height: auto !important;
}
.portfolio-wrapper #container-inner {
	max-width: 100%;
	position: relative !important;
}
.portfolio-wrapper .outer-link {
	margin: 0 4px 0 0;
	padding: 2px 15px;
}


/*---------------------------------------------------- */
/* Hover styles  */
/*---------------------------------------------------- */

/* Portolio Hover */
.da-thumbs li ,
.da-thumbs li > a img {
	display: block;
	position: relative;
}
.da-thumbs li {
	overflow: hidden;
}
.da-thumbs li article {
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: 2;
	overflow: hidden;
	top: 0;
	left: 0;
}
.da-thumbs li article::before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.hover-excerpt {
	position: relative;
	margin: 10px 10% 20px 10%;
}
.hover-excerpt,
.hover-excerpt a {
	color:white;
	font-style: italic;
}
.hover-excerpt a {
	text-decoration: underline;
}

/* Initial state classes: */
.da-thumbs {
	text-align:center;
	margin: 0;
}
.da-thumbs .entry-content {
	width:100%;
	display: inline-block;
	vertical-align: middle
}
.da-thumbs .hover-title {
	display: table;
	color:#fff;
	text-transform: uppercase;
	width: 100%;
	margin-top: 0;
	padding: 6px 0;
}
.da-thumbs .hover-title a {
	position: relative;
	padding: 5px 15px;
	white-space: nowrap;
}
.da-thumbs .entry-content a ,
.da-thumbs .entry-content a:hover {
	color: white;
}
.da-thumbs .entry-content em {
	display:block;
	color:#fff;
	margin-bottom:10px;
}
.da-thumbs .entry-content img {
	display:inline-block;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	-ms-box-shadow: none;
	-o-box-shadow: none;
	box-shadow: none;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	-ms-border-radius: 0px;
	-o-border-radius: 0px;
	border-radius: 0px;
}
.da-thumbs .image-overlay {
	position: absolute;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background: #3C3C3C;
}
.da-thumbs .hover-links {
	width: 100%;
}
img.hover-link, 
img.hover-zoom,
.da-thumbs a.prettyPhoto img {
	display:block;
	width:35px;
	height:35px;
	background-color: #3B48E3;
	cursor:pointer;
	background-repeat:no-repeat;
	background-position:center;
}
img.hover-link {
	margin-right: 5px;
	background-image:url('../lib/custom_posts/portfolio/images/link.png');
}
img.hover-zoom{
	margin-left: 5px;
	background-image:url('../lib/custom_posts/portfolio/images/zoom.png');
}

/* Remove PrettyPhoto on zoom hover */
.da-thumbs a.prettyPhoto {
}
.da-thumbs a.prettyPhoto:hover,
.da-thumbs a.prettyPhoto img:hover {
	opacity: 1;
}


/*---------------------------------------------------- */
/* Hover effect  */
/*---------------------------------------------------- */

/* Timing of events - Entry */
.da-thumbs li .wp-post-image {
	-webkit-transition: all 0.7s ease-in-out;
	-moz-transition: all 0.7s ease-in-out;
	-ms-transition: all 0.7s ease-in-out;
	-o-transition: all 0.7s ease-in-out;
	transition: all 0.7s ease-in-out;
}
.da-thumbs .image-overlay,
.da-thumbs .hover-title,
.da-thumbs .hover-excerpt,
.da-thumbs img.hover-link,
.da-thumbs img.hover-zoom {
	-webkit-transition: all 0.5s linear
	-moz-transition: all 0.5s linear;
	-ms-transition: all 0.5s linear;
	-o-transition: all 0.5s linear;
	transition: all 0.5s linear;
}
.da-thumbs:hover .image-overlay,
.da-thumbs:hover .hover-excerpt,
.da-thumbs:hover .hover-title,
.da-thumbs:hover img.hover-link,
.da-thumbs:hover img.hover-zoom  {
	-webkit-transition-delay: 0.2s;
	-moz-transition-delay: 0.2s;
	-ms-transition-delay: 0.2s;
	-o-transition-delay: 0.2s;
	transition-delay: 0.2s;
}

/* Timing of events - Exit */
.da-thumbs .image-overlay,
.da-thumbs .hover-excerpt,
.da-thumbs .hover-title,
.da-thumbs img.hover-link,
.da-thumbs img.hover-zoom  {
	-webkit-transition-delay: 0s;
	-moz-transition-delay: 0s;
	-ms-transition-delay: 0s;
	-o-transition-delay: 0s;
	transition-delay: 0s;
}

/* Opacity before hover */
.da-thumbs li:hover .wp-post-image,
.da-thumbs .hover-excerpt,
.da-thumbs .hover-title ,
.da-thumbs .image-overlay,
.da-thumbs img.hover-link,
.da-thumbs img.hover-zoom {
	opacity: 0;
	filter: alpha(opacity=0);
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=0)";
}

/* Opacity after hover */
.da-thumbs li .wp-post-image,
.da-thumbs:hover .hover-excerpt,
.da-thumbs:hover .hover-title,
.da-thumbs:hover .image-overlay,
.da-thumbs:hover img.hover-link,
.da-thumbs:hover img.hover-zoom{
	opacity: 1;
	filter: alpha(opacity=100);
	-ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

/* Image and article effect */
.da-thumbs li:hover .wp-post-image { 
	-webkit-transform: scale(10);
	-moz-transform: scale(10);
	-ms-transform: scale(10);
	-o-transform: scale(10);
	transform: scale(10);
} 

.da-thumbs li article {
	display: block !important;
}

/* Title effect */
/* Excerpt effect */
/* Link & lightbox image effect */
.da-thumbs .hover-title,
.da-thumbs .hover-excerpt,
img.hover-link,
img.hover-zoom {
	-webkit-transform: scale(0);
	-moz-transform: scale(0);
	-ms-transform: scale(0);
	-o-transform: scale(0);
	transform: scale(0);
}
.da-thumbs:hover .hover-title,
.da-thumbs:hover .hover-excerpt,
.da-thumbs:hover img.hover-link,
.da-thumbs:hover img.hover-zoom {
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
.da-thumbs img.hover-link:hover,
.da-thumbs img.hover-zoom:hover {
	background-color: #3C3C3C;
}