/*!
 * justifiedGallery - v3.7.0
 * http://miromannino.github.io/Justified-Gallery/
 * Copyright (c) 2018 Miro Mannino
 * Licensed under the MIT license.
 */
#jGallery{
  /* margin-left:-10px; */
  padding: 0 !important;
  color:#ffffff !important;
}
.justified-gallery {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.justified-gallery > a,
.justified-gallery > div,
.justified-gallery > figure {
  color:#ffffff !important;
  position: absolute;
  display: inline-block;
  overflow: hidden;
  /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
  filter: "alpha(opacity=100)";
  opacity: 1;
  margin: 0;
  padding: 0;
}
.justified-gallery > a > img,
.justified-gallery > div > img,
.justified-gallery > figure > img,
.justified-gallery > a > a > img,
.justified-gallery > div > a > img,
.justified-gallery > figure > a > img {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 0;
  border: none;
  filter: "alpha(opacity=0)";
  opacity: 0;
}
/*
.justified-gallery > a > .caption,
.justified-gallery > div > .caption,
.justified-gallery > figure > .caption {
  display: none;
  position: absolute;
  top: 0;
  height:100%;
  padding: 10px;
  left: 0;
  right: 0;
  margin: 0;
}
*/
/*
.justified-gallery > a > .caption.caption-visible,
.justified-gallery > div > .caption.caption-visible,
.justified-gallery > figure > .caption.caption-visible {
  color: rgba(152, 116, 85, 1);
  background: rgba(255, 255, 255, .7);
  display:inline;
  -webkit-transition: opacity 1000ms ease-in;
  -moz-transition: opacity 1000ms ease-in;
  -o-transition: opacity 1000ms ease-in;
  transition: opacity 1000ms ease-in;
}
*/
.justified-gallery > .entry-visible {
  filter: "alpha(opacity=100)";
  opacity: 1;
  background: none;
}
.justified-gallery > .entry-visible > img,
.justified-gallery > .entry-visible > a > img {
  filter: "alpha(opacity=100)";
  opacity: 1;
  -webkit-transition: opacity 250ms ease-in;
  -moz-transition: opacity 250ms ease-in;
  -o-transition: opacity 250ms ease-in;
  transition: opacity 250ms ease-in;
}
.justified-gallery > .jg-filtered {
  display: none;
}
.justified-gallery > .spinner {
  position: absolute;
  bottom: 0;
  margin-left: -24px;
  padding: 10px 0 10px 0;
  left: 50%;
  filter: "alpha(opacity=100)";
  opacity: 1;
  overflow: initial;
}
.justified-gallery > .spinner > span {
  display: inline-block;
  filter: "alpha(opacity=0)";
  opacity: 0;
  width: 8px;
  height: 8px;
  margin: 0 4px 0 4px;
  background-color: #000;
  border-radius: 6px;
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (max-width: 991px) {
/*
  .justified-gallery > a > .caption,
  .justified-gallery > div > .caption,
  .justified-gallery > figure > .caption {
    max-height:80px;
    display: inline;
    background: rgba(255, 255, 255, .7);
  }
*/
  .justified-gallery > a > .caption,
  .justified-gallery > div > .caption,
  .justified-gallery > figure > .caption {
    /* text-transform: lowercase; */
    font-size:1.1em !important;
    display: inline;
    position: absolute;
    top: 0;
    height:40px;
    padding-top: 8px;
    padding-bottom: 10px;
    padding-right: 10px;
    padding-left: 10px;
    color:#000000;
    background: rgba(255, 255, 255, .7);
    left: 0;
    right: 0;
    margin: 0;
  }

  .justified-gallery > a > .caption.caption-visible,
  .justified-gallery > div > .caption.caption-visible,
  .justified-gallery > figure > .caption.caption-visible {
    color: rgba(0, 0, 0, 1);
    background: rgba(255, 255, 255, .7);
    /*display:inline;*/
    display: flex;
    /*align-items: flex-end;*/
    /* filter: "alpha(opacity=70)"; */
    /* opacity: 0.7; */
    -webkit-transition: opacity 1000ms ease-in;
    -moz-transition: opacity 1000ms ease-in;
    -o-transition: opacity 1000ms ease-in;
    transition: opacity 1000ms ease-in;
  }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media (min-width: 992px) {

  .justified-gallery > a > .caption,
  .justified-gallery > div > .caption,
  .justified-gallery > figure > .caption {
    font-size:1.3em !important;
    font-family:"alphaultralight";
    /* text-transform: lowercase; */
    display: none;
    position: absolute;
    top: 0;
    height:100%;
    padding: 10px;
    /*background-color: #ffffff;*/
    left: 0;
    right: 0;
    margin: 0;
  }


  .justified-gallery > a > .caption.caption-visible,
  .justified-gallery > div > .caption.caption-visible,
  .justified-gallery > figure > .caption.caption-visible {
    color: rgba(0, 0, 0, 1);
    background: rgba(255, 255, 255, .7);
    display: flex;
/*    align-items: flex-end;*/


    /* filter: "alpha(opacity=70)"; */
    /* opacity: 0.7; */
    -webkit-transition: opacity 1000ms ease-in;
    -moz-transition: opacity 1000ms ease-in;
    -o-transition: opacity 1000ms ease-in;
    transition: opacity 1000ms ease-in;

  }

}
