/* ----------------------------
	Thumbnails
----------------------------- */
.thumb {
	position: relative;
	margin: 14px 0 0;
	overflow: hidden;
	border: 1px solid #dcdcdc;
}

.thumb a.magnifier {
	width: 100%;
	display: inline-block;
	position: relative;
	text-decoration: none;
	z-index: 100;
}

.thumb a.magnifier:after {
	background-color: #303030;
	bottom: -136px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
	color: #FFFFFF;
	display: inline-block;
	font-size: 10px;
	max-width: 90px;
	overflow: hidden;
	padding: 2px 10px;
	position: relative;
	text-align: center;
	white-space: nowrap;
}

.capture1 {
	position: relative;
	padding: 14px 19px 17px;
	background: #154189;
	color: #fff;
	transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}

.capture1:hover {
	background: #4887ef;
}

.capture1 a {
	font-size: 17px;
	line-height: 24px;
	color: #fff;
	font-weight: bold;
}

.capture1 a:hover {
	color: #000;
}

.capture1 p {
	margin-top: 7px;
}

.alert {
	position: relative;
	padding: 14px 19px 17px;
	background: #ffffff;
	color: #000000;
	transition: all 0.5s ease;
	-o-transition: all 0.5s ease;
	-webkit-transition: all 0.5s ease;
}

.alert:hover {
	background: #eab513;
}

.alert a {
	font-size: 17px;
	line-height: 24px;
	color: #000000;
	font-weight: bold;
}

.alert a:hover {
	color: #000;
}

.alert p {
	margin-top: 7px;
}

/* The gallery overlay */
#galleryOverlay {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	left: 0;
	opacity: 0;
	z-index: 100000;
	background-color: #222;
	background-color: rgba(0,0,0,0.8);
	overflow: hidden;
	display: none;
	-moz-transition: opacity 1s ease;
	-webkit-transition: opacity 1s ease;
	transition: opacity 1s ease;
}

/* This class will trigger the animation */
#galleryOverlay.visible {
	opacity: 1;
}

#gallerySlider {
	height: 100%;
	left: 0;
	top: 0;
	width: 100%;
	white-space: nowrap;
	position: absolute;
	-moz-transition: left 0.4s ease;
	-webkit-transition: left 0.4s ease;
	transition: left 0.4s ease;
}

#gallerySlider .placeholder {
	background: url("preloader.gif") no-repeat center center;
	height: 100%;
	line-height: 1px;
	text-align: center;
	width: 100%;
	display: inline-block;
}

/* The before element moves the
 * image halfway from the top */
#gallerySlider .placeholder:before {
	content: "";
	display: inline-block;
	height: 50%;
	width: 1px;
	margin-right: -1px;
}

#gallerySlider .placeholder img {
	display: inline-block;
	max-height: 100%;
	max-width: 100%;
	vertical-align: middle;
}

#gallerySlider.rightSpring {
	-moz-animation: rightSpring 0.3s;
	-webkit-animation: rightSpring 0.3s;
}

#gallerySlider.leftSpring {
	-moz-animation: leftSpring 0.3s;
	-webkit-animation: leftSpring 0.3s;
}

/* Firefox Keyframe Animations */
@-moz-keyframes rightSpring{
	0% {
		margin-left: 0px;
	}

	50% {
		margin-left: -30px;
	}

	100% {
		margin-left: 0px;
	}
}

@-moz-keyframes leftSpring{
	0% {
		margin-left: 0px;
	}

	50% {
		margin-left: 30px;
	}

	100% {
		margin-left: 0px;
	}
}

/* Safari and Chrome Keyframe Animations */
@-webkit-keyframes rightSpring{
	0% {
		margin-left: 0px;
	}

	50% {
		margin-left: -30px;
	}

	100% {
		margin-left: 0px;
	}
}

@-webkit-keyframes leftSpring{
	0% {
		margin-left: 0px;
	}

	50% {
		margin-left: 30px;
	}

	100% {
		margin-left: 0px;
	}
}

/* Arrows */
#prevArrow,
nextArrow {
	border: none;
	text-decoration: none;
	background: url('../images/arrows.png') no-repeat;
	opacity: 0.5;
	cursor: pointer;
	position: absolute;
	width: 43px;
	height: 58px;
	top: 50%;
	margin-top: -29px;
	-moz-transition: opacity 0.2s ease;
	-webkit-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

#prevArrow:hover,
#nextArrow:hover {
	opacity: 1;
}

#prevArrow {
	background-position: left top;
	left: 40px;
}

#nextArrow {
	background-position: right top;
	right: 40px;
}

a.magnifier {
	background: url(../images/img_hover.png) 0 0 no-repeat;
	display: block;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	-moz-background-size: cover;
	-webkit-background-size: cover;
}

a.magnifier img {
	width: 100%;
	position: relative;
	display: block;
	-webkit-transition: 0.5s ease;
	-moz-transition: 0.5s ease;
	-ms-transition: 0.5s ease;
	-o-transition: 0.5s ease;
	transition: 0.5s ease;
	-webkit-box-shadow: 0 0 #fff;
	-moz-box-shadow: 0 0 #fff;
	-ms-box-shadow: 0 0 #fff;
	-o-box-shadow: 0 0 #fff;
	box-shadow: 0 0 #fff;
}

a.magnifier:hover img {
	opacity: 0.5;
	-ms-filter: 'progid:DXImageTransform.Microsoft.Alpha(Opacity=50)';
}

/* ----------------------------
	Media Queries
----------------------------- */
@media screen and (max-width: 960px) {
	.thumb {
		width: auto;
	}
}
