/* ADD STYLE for GALLERY */

/* Section Galerie - MY GALLERY */
.myGallery.w354 > .sppb-addon-content,
.myGallery.myJsRoll > .sppb-addon-content {
  max-height: 422px;
  overflow: hidden;
}
.myGallery.myJsRoll.myN1 > .sppb-addon-content,
.myGallery.myJsRoll.myN2 > .sppb-addon-content,
.myGallery.myJsRoll.myN3 > .sppb-addon-content,
.myGallery.myJsRoll.myN4 > .sppb-addon-content,
.myGallery.myJsRoll.myN5 > .sppb-addon-content {
  max-height: 211px;
}
.myOffJsRoll .myGallery.myJsRoll > .sppb-addon-content {
  height: auto !important;
  max-height: none !important;
}
.myGallery #mod-speasyimagegallery-2 .gallery-row {
    margin: 0;
}
.myGallery > .sppb-addon-content > *,
.myGallery > .sppb-addon-content .speasyimagegallery-gallery {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  /*gap: 10px;*/
}
.myGallery > .sppb-addon-content style {
  display: none;
}
.myGallery .speasyimagegallery-gallery:before {
    display: none;
}
.myGallery #mod-speasyimagegallery-2 .gallery-col {
    width: auto;
    padding: 0;
}
.myGallery.myLeft > .sppb-addon-content > * {
  justify-content: flex-start;
}
.myGallery > .sppb-addon-content > * > * {
  overflow: hidden;
  display: block;
}
.myGallery > .sppb-addon-content > * > a,
.myGallery > .sppb-addon-content .speasyimagegallery-gallery-item {
  position: relative;
}
.myGallery .speasyimagegallery-gallery-item {
    cursor: pointer;
}
.myGallery > .sppb-addon-content > * > a:before,
.myGallery > .sppb-addon-content .speasyimagegallery-gallery-item: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;
}
.myGallery > .sppb-addon-content > * > a:after,
.myGallery > .sppb-addon-content .speasyimagegallery-gallery-item:after {  
  content: '+';
  font-family: 'Arial';
  display: block;
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  font-size: 150px;
  font-weight: 400;
  /*color: #227d8a;*//*color: #e31f25;*/
  color: #3359f6;
  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;
}
.myGallery > .sppb-addon-content > * > a:hover:before,
.myGallery > .sppb-addon-content > * > a:hover:after,
.myGallery > .sppb-addon-content .speasyimagegallery-gallery-item:hover:before,
.myGallery > .sppb-addon-content .speasyimagegallery-gallery-item:hover:after {
  transform: scale(1.0);
  opacity: 1;
}
.myGallery .speasyimagegallery-gallery-item:hover > div:after {
    opacity: 0;
}
.myGallery > .sppb-addon-content > * img {
  object-fit: cover;
}
.myGallery.w354 > .sppb-addon-content > * img {
  width: 354px;
  aspect-ratio: 354 / 211;
}
.myGallery.myJsRoll > .sppb-addon-content > * img {
  width: 354px;
  aspect-ratio: 354 / 211;
}
.myGallery > .sppb-addon-content > * > a > .myInk {
  display: block;
  position: absolute;
  width: 18px;
  aspect-ratio: 18 / 18;
  right: 4px;
  bottom: 4px;
  background-image: url(ikony/lupa-w.webp);
  background-size: cover;
  background-repeat: no-repeat;
}
