/* Isotope Styles */

.gallery-isotope--masonryHorizontal .isotope-grid,
.gallery-isotope--fitColumns .isotope-grid,
.gallery-isotope--cellsByColumn .isotope-grid,
.gallery-isotope--horiz .isotope-grid {
  height: 500px;
}

/*.gallery-isotope .gallery-title .title + .description:before {
  content: " – ";
}*/

.gallery-isotope .gallery-text {
  font-size: 0.8em;
}

.gallery-isotope .gallery-title {
  margin: 5px 0 0;
}

.gallery-isotope .gallery-desc {
  margin: 0 0 5px;
}

.gallery-isotope .gallery-title:empty,
.gallery-isotope .gallery-desc:empty {
  margin: 0;
}

.isotope-grid:after {
  content: '';
  display: block;
  clear: both;
}

.isotope-grid-item {
  position: relative;
  float: left;
  padding: 0;
  margin: 0;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
}

.gallery-isotope--masonryHorizontal .isotope-grid-item {
  width: auto;
}

.gallery-isotope--horiz .isotope-grid-item {
  width: auto;
  margin-bottom: 0;
}

/*[class*='gallery-isotope--cellsBy'] .isotope-grid-item {
  width: 25%;
}

@media only screen and (max-width: 800px) {
  [class*='gallery-isotope--cellsBy'] .isotope-grid-item {
    width: 50%;
  }
}

@media only screen and (max-width: 500px) {
  [class*='gallery-isotope--cellsBy'] .isotope-grid-item {
    width: 100%;
  }
}*/

/**
 * Featherlight - ultra slim jQuery lightbox
 * Version 1.7.0 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2016, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
@media all{.featherlight{display:none;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483647;text-align:center;white-space:nowrap;cursor:pointer;background:#333;background:rgba(0,0,0,0)}.featherlight:last-of-type{background:rgba(0,0,0,.8)}.featherlight:before{content:'';display:inline-block;height:100%;vertical-align:middle}.featherlight .featherlight-content{position:relative;text-align:left;vertical-align:middle;display:inline-block;overflow:auto;padding:25px 25px 0;border-bottom:25px solid transparent;margin-left:5%;margin-right:5%;max-height:95%;background:#fff;cursor:auto;white-space:normal}.featherlight .featherlight-inner{display:block}.featherlight .featherlight-close-icon{position:absolute;z-index:9999;top:0;right:0;line-height:25px;width:25px;cursor:pointer;text-align:center;font-family:Arial,sans-serif;background:#fff;background:rgba(255,255,255,.3);color:#000;border:0;padding:0}.featherlight .featherlight-close-icon::-moz-focus-inner{border:0;padding:0}.featherlight .featherlight-image{width:100%}.featherlight-iframe .featherlight-content{border-bottom:0;padding:0;-webkit-overflow-scrolling:touch;overflow-y:scroll}.featherlight iframe{border:0}.featherlight *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}}@media only screen and (max-width:1024px){.featherlight .featherlight-content{margin-left:0;margin-right:0;max-height:98%;padding:10px 10px 0;border-bottom:10px solid transparent}}
/**
 * Featherlight Gallery – an extension for the ultra slim jQuery lightbox
 * Version 1.7.0 - http://noelboss.github.io/featherlight/
 *
 * Copyright 2016, Noël Raoul Bossart (http://www.noelboss.com)
 * MIT Licensed.
**/
@media all{.featherlight-next,.featherlight-previous{display:block;position:absolute;top:25px;right:25px;bottom:0;left:80%;cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background:rgba(0,0,0,0)}.featherlight-previous{left:25px;right:80%}.featherlight-next:hover,.featherlight-previous:hover{background:rgba(255,255,255,.25)}.featherlight-next span,.featherlight-previous span{display:none;position:absolute;top:50%;left:5%;width:82%;text-align:center;font-size:80px;line-height:80px;margin-top:-40px;text-shadow:0 0 5px #fff;color:#fff;font-style:normal;font-weight:400}.featherlight-next span{right:5%;left:auto}.featherlight-next:hover span,.featherlight-previous:hover span{display:inline-block}.featherlight-loading .featherlight-next,.featherlight-loading .featherlight-previous,.featherlight-swipe-aware .featherlight-next,.featherlight-swipe-aware .featherlight-previous{display:none}}@media only screen and (max-device-width:1024px){.featherlight-next:hover,.featherlight-previous:hover{background:0 0}.featherlight-next span,.featherlight-previous span{display:block}}@media only screen and (max-width:1024px){.featherlight-next,.featherlight-previous{top:10px;right:10px;left:85%}.featherlight-previous{left:10px;right:85%}.featherlight-next span,.featherlight-previous span{margin-top:-30px;font-size:40px}}

/* Custom */

.featherlight .featherlight-content {
  padding: 0;
  border-bottom: 0; 
}

.featherlight .featherlight-close-icon {
  opacity: 0.8;
  font-size: 120%;
  line-height: 30px;
  width: 30px;
}

.featherlight .featherlight-close-icon:hover {
  opacity: 1;
}

.featherlight-next,
.featherlight-previous {
  top: 0;
  width: 80px;
}

.featherlight-next {
  right: 0;
  left: inherit;
}

.featherlight-previous {
  left: 0;
  right: inherit;
}

.featherlight-next span,
.featherlight-previous span {
  font-size: 50px;
  line-height: 50px;
  text-shadow: 0 0 4px #fff;
  color: #000;
}