.photoviewer-stage {

  background-color: #14141c !important;

  background: url(/assets/BG/bgbgbgbgbg.png);
}

.photoviewer-modal {
  color: #fff !important;
}
.photoviewer-header,.photoviewer-footer {
    border: 7px solid transparent;
border-image: url('/assets/BG/border1.png') 6 round;
background: url(/assets/BG/marb.png) !important;
}



 .comi {
      display: flex;
      flex-flow: row wrap;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .comi img {
    width: 120px;
      height: 190px;
      flex: auto;
      margin: 0 5px 5px 0;
      object-fit: cover;
      object-position: bottom;
         border: 8px solid transparent;
  border-image: url('/assets/BG/border1.png') 7 round;
    }
    
    .comi img:hover {

      animation: grow 1300ms;

      animation-iteration-count: infinite;
      animation-timing-function: ease-in-out;

    } 
/*--------------------------------------*/
    .comiw {
      display: flex;
      flex-flow: row wrap;
      align-items: center;
      justify-content: center;
      width: 100%;
    }

    .comiw img {
    width: 200px;
      height: 290px;
      flex: auto;
      margin: 0 5px 5px 0;
      object-fit: cover;
      object-position: left;
         border: 8px solid transparent;
  border-image: url('/assets/BG/border1.png') 7 round;
    }
    
    .comiw img:hover {

      animation: grow 1300ms;

      animation-iteration-count: infinite;
      animation-timing-function: ease-in-out;

    } 


.wiggle {
  width: 120px;
  height: 190px;

  margin: 10px;


}

.wiggle a:link {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
}


.wiggle:hover {

  animation: wiggle 1500ms;

  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;

}

@keyframes grow {
  0% {
    transform: scale(1.00);
  }

  25% {
    transform: scale(1.2);
  }

  50% {
    transform: scale(1.00);
  }

  75% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1.00);

  }
}

@keyframes wiggle {
  0% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(10deg);
  }

  100% {
    transform: rotate(-10deg);
  }
}


/***
EZ Gallery by netfriend - https://netfriend.neocities.org/ez-gallery/
Released under the Unlicense - https://unlicense.org/
***/

.ezgallery.montage {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 60px;
}

.ezgallery.montage img {
  width: 120px;
  height: 190px;
  flex: auto;
  margin: 0 5px 5px 0;
  object-fit: cover;
  object-position: bottom;
   border: 8px solid transparent;
  border-image: url('/assets/BG/border1.png') 7 round;
}



.ezgallery.montage img:hover {

  animation: grow 1300ms;

  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;

}
.ezgallery.horizontal {
  display: grid;
  grid-gap: 5px;
  gap: 5px;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  grid-auto-rows: minmax(100px, auto);
}

.ezgallery.horizontal a {
  text-align: center;
}

.ezgallery.horizontal img {
  text-align: center;
  vertical-align: middle;
  margin: 0 5px 5px 0;
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
  object-position: left;
}
