/*----------------------------
	Thumbnails
-----------------------------*/

.thumb {
	position: relative;
	margin: 9px 0 31px;
	overflow: hidden;
}

.thumb .capture,
.thumb1 .capture {
	position: relative;
	overflow: hidden;
	padding: 12px 16px 17px 19px;
	background: #fff;

	transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -webkit-transition: all 0.5s ease;
}

.thumb1 .capture {padding: 12px 17px 23px;}

.links2 {
	font-size: 14px;
	line-height: 28px;
	color: #d1cecb;
	display: inline-block;
	float: right;
}

.links2:hover {color: #c85562;}

.links2 i {
	color: #c85562;
	font-size: 16px;
	font-weight: bold;
	margin: 0 0 5px 6px;
}

.capture>div {
	position: relative;
	float: left;
}
.links1 {
	font-size: 18px;
	font-weight: 400;
	line-height: 22px;
	color: #604e3f;
	display: inline-block;
}

.thumb .capture,
.thumb1 .capture {
	border: 3px solid #fff;
	border-top: none;
	background: #fff;
}

.thumb:hover .capture,
.thumb1:hover .capture {
	border: 3px solid #aeb140;
	border-top: none;
}

.thumb1 a {
	color: #604e3f;
	font-size: 18px;
	line-height: 22px;
	display: inline-block;
}

.thumb1 a:hover {color: #c84554;}

.thumb1 p {
	color: #604e3f;
	font-size: 14px;
	line-height: 22px;
	margin-top: 8px;
}

.thumb a.magnifier,
.thumb1 a.magnifier {
	width:100%;
	display:inline-block;
	position:relative;
	text-decoration:none;
	z-index: 100;
}

.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;
}

.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;
}

.thumb:hover .magnifier img,
.thumb1:hover .magnifier img {
    opacity: 0.35;
    -ms-filter:'progid:DXImageTransform.Microsoft.Alpha(Opacity=35)';
}


#options {
	overflow: hidden;
	width: 100%;
	margin: 1px 0 44px;
}

#options li {
    color: #797979;
    text-transform: uppercase;
    float: left;
    position: relative;
    margin-right: 31px;
}

.thumb1 {
	position: relative;
	padding: 0 36px 0 0;
	margin-bottom: 49px;
}

.thumb1 a.gal {
    display: block;
    margin-bottom: 19px;
    background: url(../images/img_hover.png) center center no-repeat #fc9b7a;
}


ul.gal_menu {
	position: relative;
	overflow: hidden;
	width: 100%;
}

ul.gal_menu li {float: left;}

ul.gal_menu li a {
	display: inline-block;
	color: #604e3f;
	font: normal 14px/22px 'Roboto', sans-serif;
	text-transform: uppercase;
} 

ul.gal_menu li a:hover, 
ul.gal_menu li a.selected {color: #c84554;}

/* 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{
	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;
}


/*----------------------------
	Media Queries
-----------------------------*/


@media screen and (max-width: 995px) {
	
	.thumb {width:auto;}

	.thumb .capture { padding: 12px 12px 10px;}
	.capture > div {width: 100%; float: left;}

	.links1 {font-size: 17px;}
	.links2 {margin-top: 2px; float: left;}

}

@media screen and (max-width: 767px) {
	
	.capture {padding-bottom: 15px; }

	.thumb1 .capture {padding: 18px;}

	#options {margin-bottom: 35px;}

	#options li {
		width: 100%;
		margin-right: 0;
	}

	.thumb1 {
		padding: 0;
		margin-bottom: 35px;
	}


	.thumb .capture,
	.thumb1 .capture {
		border: 1px solid #fff;
		border-top: none;
		background: #fff;
    }

	.thumb:hover .capture,
	.thumb1:hover .capture {
		border: 1px solid #aeb140;
		border-top: none;
	}

}
