/* ADD STYLE for GALLERY */

.myRefGal {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  /*justify-content: center;*/
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
}
.myRefGal > * {
  overflow: hidden;
  display: block;
}
.myRefGal.v2 > * {
  width: calc(33.33% - 15px);
  aspect-ratio: 446 / 342;
}
.myRefGal.v2 > *:nth-child(4n+2),
.myRefGal.v2 > *:nth-child(4n+3) {
  width: calc(66.66% - 15px);
  /*aspect-ratio: 446 / 171;*/
  aspect-ratio: 892 / 342;
}
.myRefGal > a {
  position: relative;
}
.myRefGal > a:before {
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  transition: all 0.2s linear 0s;
  background-color: rgb(0 0 0 / 50%);/*background-color: rgb(70 115 195 / 80%);*/
  transform: scale(0.8);
  opacity: 0;
  z-index: 1;
}
.myRefGal > a:after {  
  content: '+';
  font-family: 'Arial';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  font-size: 150px;
  font-weight: 400;
  color: #e4272a;
  line-height: 75px;
  width: 87px;
  height: 71px;
  margin: auto;
  box-sizing: border-box;
  transition: all 0.2s linear 0s;
  transform: scale(0.0);
  opacity: 0;
  z-index: 2;
}
.myRefGal > a:hover:before,
.myRefGal > a:hover:after {
  transform: scale(1.0);
  opacity: 1;
}
.myRefGal > * img {
  object-fit: cover;
}
.myRefGal.v2 > * img {
  width: 100%;
  height: 100%;
}
