/*!
 * Justified Gallery - v3.6.3
 * http://miromannino.github.io/Justified-Gallery/
 * Copyright (c) 2016 Miro Mannino
 * Licensed under the MIT license.
 */
.justified-gallery {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 0;
}
.justified-gallery > a,
.justified-gallery > div {
  position: absolute;
  display: inline-block;
  overflow: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  background: transparent !important;
  font-size: 0;
  color: transparent;
}
.justified-gallery > a > img,
.justified-gallery > div > img,
.justified-gallery > a > a > img,
.justified-gallery > div > a > img {
  position: relative;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  opacity: 1;
  background: #f8f8f8;
}
@supports (-ms-ime-align:auto) {
  body .justified-gallery > a > img,
  body .justified-gallery > div > img,
  body .justified-gallery > a > a > img,
  body .justified-gallery > div > a > img {
    border: 1px solid transparent !important;
  }
}
.justified-gallery > div > img[data-recalc-size="1"],
 .justified-gallery > a > img[data-recalc-size="1"] {
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translate3d(-50%, -50%, 0);
}
.justified-gallery > a > .caption,
.justified-gallery > div > .caption {
  font-size: 12px;
  color: #fff;
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  padding: 20px 12px 6px 12px;
  /* IE8 or Earlier */
  text-overflow: ellipsis;
  pointer-events: none;
  overflow: hidden;
  white-space: normal;
  word-break: normal;
  word-wrap: break-word;
  hyphens: auto;
  bottom: 0 !important;
  font-family: "SlickPro", "SlickSanFrancisco", "SF Pro Text", "Myriad Set Pro", "San Francisco", "SlickFont", "Helvetica Neue", "Segoe UI", "Roboto", "Helvetica", "Hiragino Kaku Gothic Pro", "Meiryo", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  transition: all 333ms cubic-bezier(0.4, 0, 0.22, 1);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
  opacity: 0.001;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: none;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), to(rgba(0, 0, 0, 0.69)));
  background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.69) 100%);
  background: -moz-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.69) 100%);
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.69) 100%);
}
.justified-gallery > a > .caption > span,
.justified-gallery > div > .caption > span {
  padding: 3px 6px;
  border-radius: 3px;
  display: block;
  transition: all 333ms cubic-bezier(0.4, 0, 0.22, 1);
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  transform: translateZ(0);
  opacity: 0.001;
}
.justified-gallery > a:hover .caption,
.justified-gallery > div:hover .caption {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}
.justified-gallery > a:hover .caption span,
.justified-gallery > div:hover .caption span {
  opacity: 1;
  display: block;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.33);
}
.justified-gallery > a.jg-video:after,
.justified-gallery > div.jg-video:after {
  content: ' ';
  position: absolute;
  width: 45px;
  height: 45px;
  top: 50%;
  left: 50%;
  margin-left: -30px;
  margin-top: -30px;
  pointer-events: none;
  background: transparent url('https://static-keycdn.slickpic.com/img/skin/default/ico-play.png') no-repeat center center;
  opacity: 0.75;
  width: 60px;
  height: 60px;
  background-size: 60px 60px;
  transform: translateZ(0);
  transition: opacity 333ms cubic-bezier(0.4, 0, 0.22, 1);
}
.justified-gallery > a.jg-video:hover:after,
.justified-gallery > div.jg-video:hover:after {
  opacity: 1;
}
.justified-gallery > a,
.justified-gallery > div,
.justified-gallery > .entry-visible {
  opacity: 1;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  -webkit-touch-callout: none;
}
.justified-gallery > div > img,
.justified-gallery > a > img {
  opacity: 1;
}
.justified-gallery > .jg-filtered {
  display: none;
}
.justified-gallery > .spinner {
  display: none !important;
  position: absolute;
  bottom: 0;
  margin-left: -24px;
  padding: 10px 0 10px 0;
  left: 50%;
  opacity: 1;
  overflow: initial;
}
.justified-gallery > .spinner > span {
  display: inline-block;
  opacity: 0;
  width: 8px;
  height: 8px;
  margin: 0 4px 0 4px;
  background-color: #000;
  border-radius: 6px;
}
body .justified-gallery > a.jg-waiting:before,
body .justified-gallery > div.jg-waiting:before,
body .justified-gallery > .entry-visible.jg-waiting:before {
  content: ' ';
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.12) url(https://static-keycdn.slickpic.com/brand/slickpic-blackwhite.svg) no-repeat center center;
  position: absolute;
  top: 0;
  left: 0;
  background-size: 48px;
  box-sizing: border-box;
}
body.skin-light .justified-gallery > div.jg-waiting:before,
body.skin-light .justified-gallery > a.jg-waiting:before,
body.skin-light .justified-gallery > .entry-visible.jg-waiting:before {
  background: rgba(0, 0, 0, 0.33) url(https://static-keycdn.slickpic.com/brand/slickpic-blackwhite.svg) no-repeat center center;
  background-size: 48px;
  opacity: 0.15;
}
.body .listAlbums.progress {
  opacity: 0;
}
.body[data-grid-type="grid"] .listAlbums {
  margin-top: 20px;
}
.body[data-grid-type="grid"] .listAlbums .albumItem {
  overflow: visible;
  text-align: center;
  vertical-align: middle;
  height: auto;
}
.body[data-grid-type="grid"] .listAlbums .albumItem:after {
  display: none;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > img {
  max-width: 100%;
  max-height: 4515px;
  border-radius: 20px;
  display: inline-block;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 10px;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > br {
  display: none;
}
.body[data-grid-type="grid"] .listAlbums .albumItem .pwd-protected-text {
  display: none;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title {
  color: #fff;
  font-weight: 700;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title,
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title.password {
  width: 100%;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title > i,
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title > u {
  float: none;
  margin-left: 4px;
  margin-right: 4px;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title .name-cut {
  display: block;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title .name-cut > span {
  text-align: center;
  color: #fff !important;
  font-size: 14px;
  line-height: 18px;
  display: block;
  overflow: hidden;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.33);
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title ul li {
  list-style: none;
  display: block;
  padding-right: 2px;
  color: rgba(117, 117, 117, 0.9) !important;
  font-weight: 500;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.33);
  width: auto !important;
  line-height: 18px;
  min-width: 20px;
  font-size: 12px;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title ul li:before {
  display: none;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title ul li.album-photos {
  list-style: none;
  display: block;
  padding-right: 2px !important;
  color: #fff !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.33) !important;
  width: auto !important;
  line-height: 18px;
  min-width: 20px;
  font-size: 12px !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  text-align: center;
}
.body[data-grid-type="grid"] .listAlbums .albumItem > .album-title ul li.album-photos:after {
  content: ' Photos';
}
.body[data-grid-type="grid"] .listAlbums .albumItem.pwd-protect-layer i.lock {
  display: inline-block;
  vertical-align: middle;
  width: 12px;
  height: 16px;
  bottom: 0;
  left: 0;
  background: url(https://static-keycdn.slickpic.com/img/album/ico-lock-dark.png) no-repeat 0 1px;
  z-index: 1003;
  margin: 0 5px 4px 0;
}
.skin-light .body[data-grid-type="grid"] .listAlbums .albumItem > .album-title {
  color: #222 !important;
  text-shadow: none !important;
}
.skin-light .body[data-grid-type="grid"] .listAlbums .albumItem > .album-title .name-cut > span {
  color: #222 !important;
  text-shadow: none;
}
.skin-light .body[data-grid-type="grid"] .listAlbums .albumItem > .album-title ul li {
  text-shadow: none !important;
}
.skin-light .body[data-grid-type="grid"] .listAlbums .albumItem > .album-title ul li.album-photos {
  color: #222 !important;
  text-shadow: none !important;
}
.body .listAlbums.justified-gallery {
  opacity: 1;
  width: auto !important;
}
.body .listAlbums.justified-gallery .albumItem {
  position: absolute !important;
  margin: 0 !important;
  padding: 0 !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transition: none !important;
  transform: translate3d(-45151px, -45151px, 0);
}
.body .listAlbums.justified-gallery .albumItem img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform 555ms cubic-bezier(0.4, 0, 0.22, 1), opacity 555ms cubic-bezier(0.4, 0, 0.22, 1);
  will-change: transform;
}
.body .listAlbums.justified-gallery .albumItem,
.body .listAlbums.justified-gallery .albumItem img {
  border-radius: 20px !important;
}
.body .listAlbums.justified-gallery .albumItem h2 {
  display: none !important;
}
.body .listAlbums.justified-gallery .albumItem:after {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  border-radius: 20px;
}
@media all and (max-width: 996px) {
  .justified-gallery > a .caption,
  .justified-gallery > div .caption,
  .justified-gallery > .entry-visible .caption {
    display: none !important;
  }
}
@media all and (min-width: 1025px) {
  .body .listAlbums.justified-gallery .albumItem:hover img {
    -moz-transition: transform 555ms cubic-bezier(0.4, 0, 0.22, 1), opacity 555ms cubic-bezier(0.4, 0, 0.22, 1);
    -webkit-transition: transform 555ms cubic-bezier(0.4, 0, 0.22, 1), opacity 555ms cubic-bezier(0.4, 0, 0.22, 1);
    transition: transform 555ms cubic-bezier(0.4, 0, 0.22, 1), opacity 555ms cubic-bezier(0.4, 0, 0.22, 1);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    transform: scale(1.1);
  }
  .body .listAlbums.justified-gallery .albumItem:active img {
    -webkit-transition: transform 555ms cubic-bezier(0.4, 0, 0.22, 1), opacity 555ms cubic-bezier(0.4, 0, 0.22, 1);
    -moz-transition: transform 555ms cubic-bezier(0.4, 0, 0.22, 1), opacity 555ms cubic-bezier(0.4, 0, 0.22, 1);
    transition: transform 555ms cubic-bezier(0.4, 0, 0.22, 1), opacity 555ms cubic-bezier(0.4, 0, 0.22, 1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    transform: scale(1);
    opacity: 0.9;
  }
}
