﻿/* Images and Images overlay
---------------------------------- */
.fixed-image {
	background-position: center center;
	background-repeat: no-repeat;
	height: 400px;
}

.no-touch .fixed-image {
	background-attachment: fixed;
}

.fixed-image {
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

.overlay-container {
	position: relative;
	display: block;
	overflow: hidden;
}

.overlay-container img {
    display: block;
    max-width: 100%;
    height: auto;
}

.overlay {
	position: absolute;
	top: 0;
	bottom: -1px;
	left: 0;
	right: -1px;
	background-color: rgba(241, 241, 241, 0.85);
	overflow: hidden;
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transform: scale(0.8);
	-moz-transform: scale(0.8);
	-ms-transform: scale(0.8);
	-o-transform: scale(0.8);
	transform: scale(0.8);
	-webkit-transition: all linear 0.2s;
	-o-transition: all linear 0.2s;
	transition: all linear 0.2s;
}

.overlay a {
	display: inline-block;
	width: 50px;
	height: 50px;
	font-size: 26px;
	color: #e84c3d;
	background-color: #ffffff;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	margin-top: -25px;
	margin-left: -25px;
}

.overlay span {
	position: absolute;
	display: block;
	bottom: 10px;
	text-align: center;
	width: 100%;
	color: #000000;
	font-style: italic;
}

.overlay-links {
	display: block;
	margin: 0 auto;
	position: absolute;
	top: 50%;
	margin-top: -25px;
	left: 50%;
	margin-left: -50px;
	font-size: 0;
	opacity: 0;
	filter: alpha(opacity=0);
	-webkit-transform: scale(0.4);
	-moz-transform: scale(0.4);
	-ms-transform: scale(0.4);
	-o-transform: scale(0.4);
	transform: scale(0.4);
	-webkit-transition: all 0.25s linear 0.05s;
	-o-transition: all 0.25s linear 0.05s;
	transition: all 0.25s linear 0.05s;
}

.overlay-links a {
	position: static;
	margin-top: 0;
	margin-left: 0;
}

.overlay-links a + a {
	left: 50px;
	color: #ffffff;
	background-color: #e84c3d;
}

.overlay a:hover {
	color: #ffffff;
	background-color: #333333;
	text-decoration: none;
}

.overlay i {
	line-height: 50px;
}

.box-style-1 .overlay i {
	font-size: 26px;
	margin: 0;
}

a.overlay {
	background-color: rgba(255, 255, 255, 0.9);
	cursor: pointer;
}

a.overlay:hover {
	text-decoration: none;
}

.listing-item a.overlay {
	-webkit-transition: linear 0.25s;
	-o-transition: linear 0.25s;
	transition: linear 0.25s;
	background-color: rgba(255, 255, 255, 0.7);
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}

.listing-item a.overlay:hover {
	text-decoration: none;
}

a.overlay i {
	position: absolute;
	left: 50%;
	top: 50%;
	font-size: 40px;
	line-height: 42px;
	color: #e84c3d;
	margin-top: -22px;
	margin-left: -18px;
	text-align: center;
}

a.overlay.small i {
	font-size: 18px;
	line-height: 1;
	margin-top: -8px;
	margin-left: -8px;
}

.overlay .social-links {
	margin: 0;
	position: absolute;
	bottom: 10px;
	width: 100%;
	text-align: center;
}

.overlay .social-links li {
	margin: 0 auto;
}

.overlay .social-links li a {
	margin: 2px;
	width: 40px;
	height: 40px;
	font-size: 18px;
	position: static;
}

.overlay .social-links li a:hover {
	background-color: #ffffff;
	border-color: #ffffff;
	text-decoration: none;
}

.overlay .social-links li a i {
	line-height: 38px;
	font-size: 24px;
	margin: 0;
}

.overlay-container:hover .overlay,
.overlay-container:hover .overlay-links {
	opacity: 1;
	filter: alpha(opacity=100);
	-webkit-transform: scale(1);
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	transform: scale(1);
}
/* Image Boxes
---------------------------------- */
.image-box {
	background-color: #fafafa;
	border: 1px solid #f3f3f3;
}

.image-box h3.title {
	margin-top: 0;
}

.image-box .btn {
	white-space: normal;
	border-color: transparent;
}

.image-box .btn-block {
	margin: 0;
}

.grid-space-0 .image-box {
	border: none;
}

.image-box-body {
	padding: 20px 15px 15px;
}

/* Isotope filtering
---------------------------------- */
.isotope-container {
	display: none;
	margin-bottom: 40px;
}

.boxed .isotope-container.grid-space-0 .image-box img {
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateZ(0) scale(1, 1);
}

.isotope-item {
	margin-bottom: 30px;
}

.grid-space-20 .isotope-item {
	margin-bottom: 20px;
}

.grid-space-10 .isotope-item {
	margin-bottom: 0;
}

/* Small devices (tablets, phones less than 767px) */
@media (max-width: 767px) {
	.isotope-item {
		max-width: 100%;
	}
}