/*!
 * justified-gallery - v3.8.0
 * http://miromannino.github.io/justified-gallery/
 * Copyright (c) 2020 Miro Mannino
 * Licensed under the MIT license.
 */

.justified-gallery {
  width: 100%;
  position: relative;
  overflow: hidden;
}
.justified-gallery > a,
.justified-gallery > div,
.justified-gallery > figure {
  position: absolute;
  display: inline-block;
  overflow: hidden;
  /* background: #888888; To have gray placeholders while the gallery is loading with waitThumbnailsLoad = false */
  filter: "alpha(opacity=10)";
  opacity: 0.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,
.justified-gallery > a > svg,
.justified-gallery > div > svg,
.justified-gallery > figure > svg,
.justified-gallery > a > a > svg,
.justified-gallery > div > a > svg,
.justified-gallery > figure > a > svg {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0;
  padding: 0;
  border: none;
  filter: "alpha(opacity=0)";
  opacity: 0;
}
.justified-gallery > a > .jg-caption,
.justified-gallery > div > .jg-caption,
.justified-gallery > figure > .jg-caption {
  display: none;
  position: absolute;
  bottom: 0;
  padding: 10px;
  /* background: rgba(0,0,0,0.1); 
  left: 0;
  right: 0;*/
  margin: 0;
  color: #111;
  font-size: 13px;
  font-weight: 400;
	width:100%;
	height: 100%;
	box-sizing: border-box;
  z-index: 9997;
}
.justified-gallery > a > .jg-caption.jg-caption-visible,
.justified-gallery > div > .jg-caption.jg-caption-visible,
.justified-gallery > figure > .jg-caption.jg-caption-visible {
  display: block;
  filter: "alpha(opacity=70)";
  opacity: 0.7;
  -webkit-transition: opacity 500ms ease-in;
  -moz-transition: opacity 500ms ease-in;
  -o-transition: opacity 500ms ease-in;
  transition: opacity 500ms ease-in;
}
.justified-gallery > .jg-entry-visible {
  filter: "alpha(opacity=100)";
  opacity: 1;
  background: none;
}
.justified-gallery > .jg-entry-visible > img,
.justified-gallery > .jg-entry-visible > a > img,
.justified-gallery > .jg-entry-visible > svg,
.justified-gallery > .jg-entry-visible > a > svg {
  filter: "alpha(opacity=100)";
  opacity: 1;
  -webkit-transition: opacity 500ms ease-in;
  -moz-transition: opacity 500ms ease-in;
  -o-transition: opacity 500ms ease-in;
  transition: opacity 500ms ease-in;
}
.justified-gallery > .jg-filtered {
  display: none;
}
.justified-gallery > .jg-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 > .jg-spinner > span {
  display: inline-block;
  filter: "alpha(opacity=0)";
  opacity: 0;
  width: 8px;
  height: 8px;
  margin: 4px 4px 4px 4px;
  background-color: #000;
  border-radius: 6px;
}

/*.jg-caption p {  float: left; font-size: 15px;}*/
.jg-caption p .code {  display: block; font-weight: 600;}
.jg-caption>span { width: 38px; height: 38px; text-align: center; border: 1px #ccc solid; border-radius: 5px; padding: 8px 5px; box-sizing: border-box; display: inline-block; float: right; color: #333; background: #fff; font-size: 15px; cursor: pointer; }
.jg-caption>span_on { color: #ed1c24; }
.jg-caption .on { color: #ed1c24; }


@media screen and (max-width:640px) {
	.justified-gallery {    background: #f6f6f6;
}
.justified-gallery > a > .jg-caption,
.justified-gallery > div > .jg-caption,
.justified-gallery > figure > .jg-caption {
  display: initial;
  background: rgba(0,0,0,0.0);
 /*z-index: 1;*/
}
	/*.jg-caption>span {
	color: #666;	
	}*/
}