.ngg-video-container {
position: relative;
width: auto;
height: auto;
background:transparent;
z-index: 10001;
display: flex;
align-items: center;
justify-content: center;
}
.ngg-video-player,
.ngg-video-container iframe {
width: 100%;
height: 100%;
object-fit: contain;
}  #npl_wrapper.npl-video-mode .galleria-image img {
display: none !important;
} .sl-wrapper.sl-video-mode .ngg-video-container {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.sl-wrapper.sl-video-mode .sl-image img {
display: none !important;
} .sl-wrapper.sl-video-mode .sl-image {
top: 0 !important;
left: 0 !important;
width: 100vw !important;
height: 100vh !important;
} .ngg-video-mode#fancybox-wrap #fancybox-img {
display: none !important;
}
#fancybox-wrap.ngg-video-mode {
width: auto !important;
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%);
}
#fancybox-wrap.ngg-video-mode #fancybox-content {
width: auto !important;
height: auto !important;
} #shDisplay #shWrap.ngg-video-mode #shImage {
display: none !important;
}
#shDisplay .ngg-video-container {
margin-inline: auto;
}
#shDisplay.ngg-video-mode {
top: 50% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
} #TB_window.ngg-video-mode #TB_Image {
display: none !important;
}
#TB_window.ngg-video-mode #TB_ImageOff {
display: none !important;
}
#TB_window.ngg-video-mode {
margin-left: 0 !important;
margin-top: 0 !important;
width: auto !important;
transform: translate(-50%, -50%);
} #TB_window.ngg-video-mode #TB_caption {
display: block !important;
visibility: visible !important;
}
#TB_window.ngg-video-mode #TB_secondLine {
display: block !important;
visibility: visible !important;
}
#TB_window.ngg-video-mode #TB_prev,
#TB_window.ngg-video-mode #TB_next {
display: inline !important;
visibility: visible !important;
} .ngg-video-error {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
display: flex;
align-items: center;
justify-content: center;
z-index: 20;
}
.ngg-video-error-content {
color: #fff;
text-align: center;
padding: 20px;
display: flex;
flex-direction: column;
align-items: center;
gap: 10px;
}
.ngg-video-error-icon {
font-size: 48px;
opacity: 0.7;
}
.ngg-video-error-text {
font-size: 16px;
} .ngg-custom-lightbox-video-mode img:not(.ngg-video-processed) {
display: none !important;
}
.ngg-custom-lightbox-video-mode .ngg-video-container {
position: relative !important;
width: 100% !important;
height: 100% !important;
display: flex !important;
align-items: center;
justify-content: center;
padding: 0 !important;
margin: 0 !important;
}
.ngg-custom-lightbox-video-mode .ngg-video-player,
.ngg-custom-lightbox-video-mode .ngg-video-container iframe {
max-width: 100%;
max-height: 100%;
width: auto !important;
height: auto !important;
object-fit: contain;
display: block;
}