#gallery .caption {
	background: rgba(10,20,30,.9);	
	text-align: center;
	width:100%;
	height:auto;
	position:absolute;
	opacity:1;
	left:0;
	bottom:0;
	z-index:500;
}

#gallery {position:relative; height:auto; width:100%; margin:10px 0 0 0; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box;}

.buttons.blog-style h4,
.magnifier h4,
#gallery .caption h3 {
font-size:18px !important;
line-height:32px;
font-weight:300;
display: inline-block;
color: rgba(255,255,255,1);
position:absolute;
left:40px;
bottom:20px;
width:100%;
text-align:left;
text-decoration:none;
text-transform: none !important;
background-color:transparent;
text-shadow:none;
border-width:0px;
border-color:rgb(0, 0, 0);
border-style:none;
}
#gallery .caption h3 b {
font-size:16px !important;
color:rgba(70,195,250,1);
}
.buttons.blog-style h4 small,
.magnifier h4 small,
#gallery .caption h3 small {
font-size:16px;
font-family:"Athelas" !important;
font-style: italic;
font-weight: bold !important;
text-transform: none;
color: rgb(0, 0, 0);
}

.masonry-wrapper .item .zoom,
#gallery .tile .zoom {
	font-size: 22px;
	color: #fff;
	display: block;
	position: absolute;
	top: -50px;
	left: 50%;
	margin: -20px 0 0 -20px;
	-moz-transition: top .5s;
	-o-transition: top .5s;
	-webkit-transition: top .5s;
	transition: top .5s;
}

.masonry-wrapper .item:hover .zoom,
#gallery .tile:hover .zoom {
	top:50%;
}

.masonry-wrapper .item img,
#gallery .tile img {
	-moz-transition: -moz-transform .5s,  opacity .5s;
	-o-transition: -o-transform .5s, opacity .5s;
	-webkit-transition: -webkit-transform 9.5s,  opacity 9.5s;
	transition: transform .5s,  opacity .5s;
}

.masonry-wrapper .item:hover img,
#gallery .tile:hover img {
	-moz-transform: scale(1.2);
	-ms-transform: scale(1.2);
	-o-transform: scale(1.2);
	-webkit-transform: scale(1.2);
	transform: scale(1.2);
}

/* Effect Slide */
#gallery .effect-slide {
	-moz-transform: translateY(50px);
	-ms-transform: translateY(50px);
	-o-transform: translateY(50px);
	-webkit-transform: translateY(50px);
	transform: translateY(50px);
	-moz-animation: effect-slide 0.8s ease forwards;
	-o-animation: effect-slide 0.8s ease forwards;
	-webkit-animation: effect-slide 0.8s ease forwards;
	animation: effect-slide 0.8s ease forwards;
}
#gallery .effect-slide:nth-child(odd) {
	-moz-animation-duration: 0.6s;
	-o-animation-duration: 0.6s;
	-webkit-animation-duration: 0.6s;
	animation-duration: 0.6s;
}

@-webkit-keyframes effect-slide {
  to { -webkit-transform: translateY(0); }
}
@-moz-keyframes effect-slide {
  to { -moz-transform: translateY(0); }
}
@keyframes effect-slide {
  to { transform: translateY(0); }
}


/* Effect Zoom */
#gallery .effect-zoom {
	-moz-transform: scale(.3);
	-ms-transform: scale(.3);
	-o-transform: scale(.3);
	-webkit-transform: scale(.3);
	transform: scale(.3);
	-moz-animation: effect-zoom 0.8s ease forwards;
	-o-animation: effect-zoom 0.8s ease forwards;
	-webkit-animation: effect-zoom 0.8s ease forwards;
	animation: effect-zoom 0.8s ease forwards;
}
#gallery .effect-zoom:nth-child(odd) {
	-moz-animation-duration: 0.6s;
	-o-animation-duration: 0.6s;
	-webkit-animation-duration: 0.6s;
	animation-duration: 0.6s;
}

@-webkit-keyframes effect-zoom {
  to { -webkit-transform: scale(1); }
}
@-moz-keyframes effect-zoom {
  to { -moz-transform: scale(1); }
}
@keyframes effect-zoom {
  to { transform: scale(1); }
}

#gallery .already-visible {
	-moz-transform: translateY(0);
	-ms-transform: translateY(0);
	-o-transform: translateY(0);
	-webkit-transform: translateY(0);
	transform: translateY(0);
	-moz-animation: none;
	-o-animation: none;
	-webkit-animation: none;
	animation: none;
}
#gallery .tile {
	float:left;
	cursor:pointer;
	padding:0 !important;
	margin:0 !important;
}
#gallery .ftg-filters {
	margin:0 auto 50px auto;
	text-align:center;
	padding-bottom: 5px;
	padding-top:0px;
}
#gallery .ftg-filters a {
	display: inline-block;
	background:rgba(196,193,196,.8); color:#FFF;
	padding:3px 15px; border-radius:20px; margin:0 5px 0 0;
	font-size:16px;
}
#gallery .ftg-filters a:hover {background:rgba(10,20,30,.8);
	text-decoration: none;}
#gallery .ftg-filters a.selected {
	background:rgba(70,195,250,1);
	text-decoration: none;
}
#gallery .tile .ftg-social {
	display: none;
	position: absolute;
	bottom: 15px;
	right:10px;
}
#gallery .tile:hover .ftg-social {
	display: block;
}
#gallery .tile .ftg-social a {
	color: #fff;
	font-size: 22px;
	width:30px;
	height: 30px;	
}
#gallery .tile:hover .ftg-social a:hover {
	color: #90b4ff;
	text-decoration: none;
}


.ftg-loading-panel {
    background: url("../images/loading.gif") no-repeat scroll 8px 8px #222;
    height: 55px;
    padding: 4px;
    position: fixed;
    right: 10px;
    top: 10px;
    width: 55px;
    z-index: 1000;
    line-height: 55px;
    text-align: center;
}
.ftg-loading-panel p {
	display:none;
}