.container {
	max-width: 605px;
}

#gallery .caption {
	background: rgb(0,0,0);	
	background: rgba(0,0,0,.6);	
	text-align: center;
	display: none;
}
#gallery .caption p {
	color: #fff;
	text-align: center;
	padding: 3px;
	font-family: 'Roboto', sans-serif;
}

/*coh added 
#gallery .caption:hover {
	display: block;
}
*/


#gallery .tile .zoom {
	font-size: 22px;
	color: #fff;
	display: block;
	position: absolute;
	top: -50px;
	left: 50%;
	margin: -12px 0 0 -12px;
	-moz-transition: top .5s;
	-o-transition: top .5s;
	-webkit-transition: top .5s;
	transition: top .5s;
}
#gallery .tile:hover .zoom {
	top:50%;
}
#gallery .tile img {
	-moz-transition: -moz-transform .5s,  opacity .5s;
	-o-transition: -o-transform .5s, opacity .5s;
	-webkit-transition: -webkit-transform .5s,  opacity .5s;
	transition: transform .5s,  opacity .5s;
}
#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;
	margin:10px;
}
#gallery .ftg-filters {
	margin-left: 10px;
	padding-bottom: 5px;
	margin-bottom: 5px;
}
#gallery .ftg-filters a {
	display: inline-block;
	margin-right: 10px;
	color: #666;
	padding-bottom: 2px;
	border-bottom: 3px solid transparent; 
}
#gallery .ftg-filters a:hover,
#gallery .ftg-filters a.selected {
	color: #000;
	border-bottom: 3px solid #000; 
	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 {
	position:fixed;
	top:10px;
	right:10px;
	background:#222 url(../img/loading.gif) no-repeat;
	width:40px;
	height:40px;
	padding:4px;
	border-radius:5px;
	z-index:1000;
}
.ftg-loading-panel p {
	display:none;
}


/* FROM DEMO CSS
-------------------- */
.container{
	margin-right:auto;
	margin-left:auto;
	padding-left:15px;
	padding-right:15px;
}
.container:after{
	clear:both;
}
.container:before,
.container:after{
	content:" ";
	display:table;
}
.item {
	text-align: center;
}
/*
@media (min-width:768px){
  .container{width:750px;}}
@media (min-width:992px){
  .container{width:970px;}}
@media (min-width: 1200px){
  .container {width: 960px;}}
*/
 
/*magnific*/
/* Magnific Popup CSS */
.mfp-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1042;
  overflow: hidden;
  position: fixed;
  background: #0b0b0b;
  opacity: 0.8;
  filter: alpha(opacity=80); }

.mfp-wrap {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1043;
  position: fixed;
  outline: none !important;
  -webkit-backface-visibility: hidden; }

.mfp-container {
  text-align: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  padding: 0 8px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

.mfp-container:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle; }

.mfp-align-top .mfp-container:before {
  display: none; }

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0 auto;
  text-align: left;
  z-index: 1045; }
	
	.mfp-auto-cursor .mfp-content {
  cursor: auto; }

.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none; }
	
.mfp-loading.mfp-figure {
  display: none; }
	
.mfp-preloader {
  color: #cccccc;
  position: absolute;
  top: 50%;
  width: auto;
  text-align: center;
  margin-top: -0.8em;
  left: 8px;
  right: 8px;
  z-index: 1044; }
  .mfp-preloader a {
    color: #cccccc; }
    .mfp-preloader a:hover {
      color: white; }

.mfp-s-ready .mfp-preloader {
  display: none; }

button.mfp-close, button.mfp-arrow {
  overflow: visible;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  display: block;
  outline: none;
  padding: 0;
  z-index: 1046;
  -webkit-box-shadow: none;
  box-shadow: none; }
button::-moz-focus-inner {
  padding: 0;
  border: 0; }

.mfp-close {
  width: 44px;
  height: 44px;
  line-height: 44px;
  position: absolute;
  right: 0;
  top: 0;
  text-decoration: none;
  text-align: center;
  opacity: 0.65;
  padding: 0 0 18px 10px;
  color: white;
  font-style: normal;
  font-size: 28px;
  font-family: Arial, Baskerville, monospace; }
	
	.mfp-close:hover, .mfp-close:focus {
    opacity: 1; }
  .mfp-close:active {
    top: 1px; }

.mfp-close-btn-in .mfp-close {
  color: #333333; }

.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
  color: white;
  right: -6px;
  text-align: right;
  padding-right: 6px;
  width: 100%; }

.mfp-counter {
  position: absolute;
  top: 0;
  right: 0;
  color: #cccccc;
  font-size: 12px;
  line-height: 18px; }

/* Main image in popup */
img.mfp-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  line-height: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 40px 0 40px;
  margin: 0 auto; }

/* The shadow behind the image */
.mfp-figure {
  line-height: 0; }
  .mfp-figure:after {
    content: '';
    position: absolute;
    left: 0;
    top: 40px;
    bottom: 40px;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #444444; }
  .mfp-figure small {
    color: #bdbdbd;
    display: block;
    font-size: 12px;
    line-height: 14px; }
  .mfp-figure figure {
    margin: 0; }
		
.mfp-bottom-bar {
  margin-top: -36px;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  cursor: auto; }

.mfp-title {
  text-align: left;
  line-height: 18px;
  color: #f3f3f3;
  word-wrap: break-word;
  padding-right: 36px; }

.mfp-image-holder .mfp-content {
  max-width: 100%; }

.mfp-gallery .mfp-image-holder .mfp-figure {
  cursor: pointer; }
	
/* UNUSED?
------------------- */
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
  /**
       * Remove all paddings around the image on small screen
       */
  .mfp-img-mobile .mfp-image-holder {
    padding-left: 0;
    padding-right: 0; }
  .mfp-img-mobile img.mfp-img {
    padding: 0; }
  .mfp-img-mobile .mfp-figure {
    /* The shadow behind the image */ }
    .mfp-img-mobile .mfp-figure:after {
      top: 0;
      bottom: 0; }
    .mfp-img-mobile .mfp-figure small {
      display: inline;
      margin-left: 5px; }
  .mfp-img-mobile .mfp-bottom-bar {
    background: rgba(0, 0, 0, 0.6);
    bottom: 0;
    margin: 0;
    top: auto;
    padding: 3px 5px;
    position: fixed;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; }
    .mfp-img-mobile .mfp-bottom-bar:empty {
      padding: 0; }
  .mfp-img-mobile .mfp-counter {
    right: 5px;
    top: 3px; }
  .mfp-img-mobile .mfp-close {
    top: 0;
    right: 0;
    width: 35px;
    height: 35px;
    line-height: 35px;
    background: rgba(0, 0, 0, 0.6);
    position: fixed;
    text-align: center;
    padding: 0; } }

@media all and (max-width: 900px) {
  .mfp-arrow {
    -webkit-transform: scale(0.75);
    transform: scale(0.75); }
  .mfp-arrow-left {
    -webkit-transform-origin: 0;
    transform-origin: 0; }
  .mfp-arrow-right {
    -webkit-transform-origin: 100%;
    transform-origin: 100%; }
  .mfp-container {
    padding-left: 6px;
    padding-right: 6px; } }

.mfp-ie7 .mfp-img {
  padding: 0; }
.mfp-ie7 .mfp-bottom-bar {
  width: 600px;
  left: 50%;
  margin-left: -300px;
  margin-top: 5px;
  padding-bottom: 5px; }
.mfp-ie7 .mfp-container {
  padding: 0; }
.mfp-ie7 .mfp-content {
  padding-top: 44px; }
.mfp-ie7 .mfp-close {
  top: 0;
  right: 0;
  padding-top: 0; }