.gallery {
  clear: right;
  /*overflow: hidden;*/
  text-align: center;
  /*margin: -20px 0;*/
  padding: 20px 0;
}

.gallery h2, .gallery p {
  text-align: left;
}

.gallery_section>p {
  font-size: 16px;
  margin: 0;
}

.gallery .gallery_album_container,
.gallery .gallery_photo_container {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 5px
}

.gallery .gallery_album_container {
  margin-top: 25px
}

.gallery .wrapper {
  height: 270px;
  width: 270px;
  position: relative;
  vertical-align: top
}

.gallery_title_area {
  display: none;
  user-select: none;
}

@media only screen and (min-width: 921.1px) {
  .gallery_information {
    min-height: 500px;
    z-index: 5;
    margin-left: 10px;
    position: relative;
  }

  .gallery_title_area {
    display: block;
    position: absolute;
    left: 33%;
    top: 0;
    bottom: 0;
    right: -4px;
  }

  .gallery_floating_title {
    position: absolute;
    left: 20%;
    right: 20%;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    margin: auto;
    font-size: 40px;
    z-index: 3;
    text-align: center;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px;
    color: #fff;
    border: 3px #36A solid;
    border-radius: 15px;
    backdrop-filter: blur(10px);
  }

  .background_area {
    position: relative;
    margin: 0 -10px;
    border-radius: 5px;
    overflow: hidden;
  }

  .background {
    position: absolute;
    left: -10px;
    right: 0;
    bottom: 0;
    top: 0;
    background-size: cover;
  }
}

.gallery_information {
  font-size: 70%;
  line-height: 1.4 !important;
}

.gallery_information .lead {
  font-size: 15px;
  background: #fff;
  background: var(--general-group-background-5);
  text-transform: uppercase;
  margin: -10px;
  padding: 5px;
  letter-spacing: 3px;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 4px 4px 0 0;
}

.gallery_information .title {
  font-weight: bold;
  margin-top: 10px;
}

.gallery .gallery_photo_container .wrapper {
  border: 5px solid #fff;
  background: #fff;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 0 0 2px #aaa;
}

/*.gallery .gallery_album_container .photo,
.gallery .gallery_photo_container{
  border-radius: 5px;
}*/
.gallery .gallery_album_container .photo {
  position: absolute;
  border: 5px solid #fff;
  padding: 1px;
  background: #fff;
  height: 100%;
  width: 100%;
  overflow: hidden;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 0 2px #aaa;
}

.gallery_album_container:hover .photo {
  border-color: #36A;
}

.gallery_album_container .first-photo {
  z-index: 3;
  left: 0
}

.gallery .gallery_album_container .second-photo {
  width: 260px;
  top: -10px;
  left: 5px;
  z-index: 2;
  transform: rotate(0deg);
  transition: transform 0.4s ease-in-out;
}

.gallery .gallery_album_container .third-photo {
  width: 250px;
  top: -20px;
  left: 10px;
  z-index: 1;
  transition: transform 0.4s ease-in-out;
  transform: rotate(0deg);
}

.gallery .gallery_album_container:hover {
  z-index: 10;
}

.gallery .gallery_album_container:hover .second-photo {
  transform: rotate(-40deg);
}

.gallery .gallery_album_container:hover .third-photo {
  transform: rotate(20deg);
}

.gallery_photo_collection a,
.gallery_photo_container a {
  border: 1px solid #000
}

.gallery_album_container a,
.gallery_photo_collection a,
.gallery_photo_container a {
  padding: 0;
  display: inline-block
}

.gallery_photo_container img {
  width: auto;
  height: 100%;
  max-width: none;
  min-width: 100%;
  margin: 0
}

.gallery_album_container .blank-in,
.gallery_photo_collection .blank-in {
  background: #333;
  height: 100%
}

.gallery .gallery_album_container img,
.gallery .gallery_photo_collection img {
  margin: auto;
  max-width: 100%
}

.gallery_album_container .blank,
.gallery_photo_collection .blank {
  margin: auto;
  border: 2px solid #ddd;
  padding: 3px;
  width: 250px;
  height: 250px
}

.gallery_photo_caption {
  text-align: center;
  position: absolute;
  color: #000;
  background-color: #fff;
  font-size: 20px;
  z-index: 5;
  font-family: var(--font-family-sans);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 16px;
}

.gallery_photo_container {
  border-radius: 9px;
  border: 4px transparent solid;
  position: relative;
}

.gallery_photo_container:hover:after {
  display: block;
  position: absolute;
  left: -2px;
  right: -2px;
  bottom: -2px;
  top: -2px;
  background: var(--light-gradient);
  content: " ";
  border-radius: 6px;
  z-index: 0;
}

.gallery_album_container .gallery_photo_caption, .gallery_photo_container .gallery_photo_caption {
  bottom: 4px;
  left: 4px;
  right: 4px;
  padding: 5px 0;
  font-weight: 300;
  line-height: 1;
  background: #fff;
}

.gallery_photo_container .gallery_photo_caption {
  bottom: 0;
  left: 0;
  right: 0;
}

.gallery_album_container:hover .description,
.gallery_photo_container:hover .description {
  display: block
}

.gallery_photo_container:hover .gallery_photo_caption {
  z-index: 11;
}

.gallery_multi:after {
  content: "\e939";
  position: absolute;
  top: 5px;
  right: 15px;
  color: #fff;
  font-size: 25px
}

.gallery_album_container .description,
.gallery_photo_container .description {
  white-space: normal;
  margin-top: 4px;
  top: -4px;
  background: #333;
  background: rgba(51, 51, 51, 0.7);
  left: 0;
  right: 0;
  bottom: 1px;
  padding: 5px;
  display: none;
  position: absolute;
  font-size: 17px;
  font-weight: 900;
  z-index: 10;
  color: #fff
}
