.pswp {
    background-color:#1a1a1a;
}

@media screen and (max-width:460px) {
  .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(1, 2fr);
    gap:10px;
    align-items: stretch;
    justify-items: center;
}}
@media screen and (min-width:421px) {
  .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(2, 2fr);
    gap:20px;
    align-items: stretch;
    justify-items: center;
}}
@media screen and (min-width:860px) {
  .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(3, 2fr);
    gap:25px;
    align-items: stretch;
    justify-items: center;
}}
@media screen and (min-width:1200px) {
  .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(4, 2fr);
    gap:30px;
    align-items: stretch;
    justify-items: center;
}}


@media screen and (max-width:460px) {
  .larger_pictures .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(1, 2fr);
    gap:10px;
    align-items: stretch;
    justify-items: center;
}}
@media screen and (min-width:421px) {
  .larger_pictures .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(2, 2fr);
    gap:20px;
    align-items: stretch;
    justify-items: center;
}}
@media screen and (min-width:860px) {
  .larger_pictures .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(3, 2fr);
    gap:25px;
    align-items: stretch;
    justify-items: center;
}}
@media screen and (min-width:1200px) {
  .larger_pictures .dait-ps_gallery {
    display:grid;
    grid-template-columns:repeat(3, 2fr);
    gap:30px;
    align-items: stretch;
    justify-items: center;
}}
/* Photoswipe Caption of Bildtitel */
.dait-ps_gallery figure {
    position:relative;
}
.dait-ps_gallery figure figcaption {
    bottom:0;
    left:0;
    right:0;
    position:absolute;
    padding:7px 0;
    text-align:center;
    opacity:0;
    visibility:hidden;
    background-color:rgba(0,0,0,0.5);
    color:var(--col2);
    z-index:2;
    transition:0.4s;
    font-weight: 200;
    font-size: 0.7em;
    line-height: 1.1;
}
.galerie1 .dait-ps_gallery figure figcaption {
    bottom:0;
    left:0;
    right:0;
    position:absolute;
    padding:7px 0;
    text-align:center;
    opacity:0;
    visibility:hidden;
    background-color:var(--col2);
    color:var(--col1);
    z-index:2;
    transition:0.4s;
    font-weight: 200;
    font-size: 0.7em;
    line-height: 1.1;
    border: 1px solid #d0d0d0;
}
.dait-ps_gallery figure:hover:after {
    opacity:1;
    visibility:visible;
}

/* Photoswipe Caption */
.pswp__caption__center {
    text-align: center!important;
}
.dait-ps_gallery figure:hover figcaption {
    opacity:1;
    visibility:visible;
}
@media (hover: none) and (pointer: coarse) {
  .dait-ps_gallery figure:hover figcaption {
    opacity:1;
    visibility:visible;
}}
/* Top, Bottom, Arrows Lightbox Photoswipe */
.pswp__button--arrow--left::before,
.pswp__button--arrow--right::before,
.pswp__ui--fit .pswp__top-bar,
.pswp__ui--fit .pswp__caption {
    background-color:rgba(68,78,88,.0)!important;
}
.pswp__caption {
    background-color:rgba(68,78,88,.3)!important;
    min-height: 60px!important;
    height: 60px!important;
}
.pswp__top-bar {
    background-color:rgba(68,78,88,.0)!important;
    min-height: 36px!important;
    height: 36px!important;
}
.pswp__item {
    background-color:#444e58;
}
.pswp {
    z-index:200;
}
.galerie1 ul li {
    display:flex;
    justify-content:center;
    align-items:center;
    height:250px;
    background-color:transparent;
}
.galerie1 li img {
    max-height:250px;
    max-width:100%;
    object-fit:contain;
}