.final-tiles-gallery {
  position: relative;
}
.final-tiles-gallery .tile img.item {
  -moz-transition: -moz-transform 0.2s, opacity 0.2s linear;
  -o-transition: -o-transform 0.2s, opacity 0.2s linear;
  -webkit-transition: -webkit-transform 0.2s, opacity 0.2s linear;
  transition: transform .2s linear;
  display: block;
  position: relative;
  width: 100%;
}
.final-tiles-gallery .tile.ftg-enlarged img {
  display: block;
  margin: auto;
}
.final-tiles-gallery .tile {
  float: left;
  overflow: hidden;
  margin: 0;
  background: #000;
  opacity: 0;
}
.final-tiles-gallery .tile.ftg-loaded {
  /*display: block;*/
  opacity: 1;
}
.final-tiles-gallery .tile.ftg-hidden {
  -moz-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  -ms-transform: scale(0.5);
  transform: scale(0.5);
}
.final-tiles-gallery .edge {
  position: absolute;
  z-index: 1000;
  background: #333;
  color: #fff;
  font-size: 11px;
  padding: 4px;
  font-family: sans-serif;
}
.final-tiles-gallery .edge.enlarged-true {
  color: yellow;
}
.final-tiles-gallery .hover {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #000;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all .3s;
  opacity: 0;
  display: table;
  width: 100%;
  height: 100%;
}
.final-tiles-gallery .hover .icon {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  color: #fff;
  font-size: 20px;
}
.final-tiles-gallery .tile:hover .hover {
  opacity: 1;
}
.final-tiles-gallery .tile iframe.item {
  width: 100%;
}
.final-tiles-gallery .ftg-filters {
  margin-bottom: 20px;
}
.final-tiles-gallery .ftg-filters a {
  display: inline-block;
  margin-right: 10px;
  color: #777;
  padding: 4px 10px;
  border: 1px solid #777;
  text-decoration: none;
  outline: 0;
  text-shadow: none;
  box-shadow: none;
}
.final-tiles-gallery .ftg-filters a:hover,
.final-tiles-gallery .ftg-filters a.selected {
  color: #FFF;
  border-color: #333;
  text-decoration: none;
  background-color:#326497;
}
/* EFFECT: IMG FADE OUT */
.final-tiles-gallery.effect-fade-out .tile img {
  transition: all 0.5s;
  opacity: 1;
}
.final-tiles-gallery.effect-fade-out .tile:hover img {
  opacity: .6;
}

/* CAPTION TOP */
.final-tiles-gallery.caption-top .tile {
  display: block;
  background: #fff;
}
.final-tiles-gallery.caption-top .tile:hover span {
  opacity: .8;
}
.final-tiles-gallery.caption-top .tile span {
  font-family: MyriadPro;
  display: block;
  position: absolute;
  margin: 0 auto;
  color: #fff;
  z-index: 10;
  font-size: 1.5em;
  opacity: 1;
  transition: all .5s;
}

.final-tiles-gallery.caption-top .tile span.title {
  font-weight: 600;
  top: 0;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align:left;
  display: block;
}
.final-tiles-gallery.caption-top .tile:hover span.title {
  opacity: .9;
}



/* CAPTION BACKGROUND */
.final-tiles-gallery.caption-bg .tile span {
  background: #fff;
  background: rgba(255, 255, 255, 0.8);
  color: #CC520B;
  font-size: 2em;
}
