.wpcf7 .screen-reader-response {
	position: absolute;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	word-wrap: normal !important;
}

.wpcf7 form .wpcf7-response-output {
	margin: 2em 0.5em 1em;
	padding: 0.2em 1em;
	border: 2px solid #00a0d2; /* Blue */
}

.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.resetting .wpcf7-response-output,
.wpcf7 form.submitting .wpcf7-response-output {
	display: none;
}

.wpcf7 form.sent .wpcf7-response-output {
	border-color: #46b450; /* Green */
}

.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
	border-color: #dc3232; /* Red */
}

.wpcf7 form.spam .wpcf7-response-output {
	border-color: #f56e28; /* Orange */
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: #ffb900; /* Yellow */
}

.wpcf7-form-control-wrap {
	position: relative;
}

.wpcf7-not-valid-tip {
	color: #dc3232; /* Red */
	font-size: 1em;
	font-weight: normal;
	display: block;
}

.use-floating-validation-tip .wpcf7-not-valid-tip {
	position: relative;
	top: -2ex;
	left: 1em;
	z-index: 100;
	border: 1px solid #dc3232;
	background: #fff;
	padding: .2em .8em;
	width: 24em;
}

.wpcf7-list-item {
	display: inline-block;
	margin: 0 0 0 1em;
}

.wpcf7-list-item-label::before,
.wpcf7-list-item-label::after {
	content: " ";
}

.wpcf7-spinner {
	visibility: hidden;
	display: inline-block;
	background-color: #23282d; /* Dark Gray 800 */
	opacity: 0.75;
	width: 24px;
	height: 24px;
	border: none;
	border-radius: 100%;
	padding: 0;
	margin: 0 24px;
	position: relative;
}

form.submitting .wpcf7-spinner {
	visibility: visible;
}

.wpcf7-spinner::before {
	content: '';
	position: absolute;
	background-color: #fbfbfc; /* Light Gray 100 */
	top: 4px;
	left: 4px;
	width: 6px;
	height: 6px;
	border: none;
	border-radius: 100%;
	transform-origin: 8px 8px;
	animation-name: spin;
	animation-duration: 1000ms;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
}

@media (prefers-reduced-motion: reduce) {
	.wpcf7-spinner::before {
		animation-name: blink;
		animation-duration: 2000ms;
	}
}

@keyframes spin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes blink {
	from {
		opacity: 0;
	}

	50% {
		opacity: 1;
	}

	to {
		opacity: 0;
	}
}

.wpcf7 [inert] {
	opacity: 0.5;
}

.wpcf7 input[type="file"] {
	cursor: pointer;
}

.wpcf7 input[type="file"]:disabled {
	cursor: default;
}

.wpcf7 .wpcf7-submit:disabled {
	cursor: not-allowed;
}

.wpcf7 input[type="url"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"] {
	direction: ltr;
}

.wpcf7-reflection > output {
	display: list-item;
	list-style: none;
}

.wpcf7-reflection > output[hidden] {
	display: none;
}/*
 * FancyBox - jQuery Plugin
 * Simple and fancy lightbox alternative
 *
 * Examples and documentation at: http://fancybox.net
 * 
 * Copyright (c) 2008 - 2010 Janis Skarnelis
 * That said, it is hardly a one-person project. Many people have submitted bugs, code, and offered their advice freely. Their support is greatly appreciated.
 * 
 * Version: 1.3.4 (11/11/2010)
 * Requires: jQuery v1.3+
 *
 * Dual licensed under the MIT and GPL licenses:
 *   http://www.opensource.org/licenses/mit-license.php
 *   http://www.gnu.org/licenses/gpl.html
 */

#fancybox-loading {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	cursor: pointer;
	overflow: hidden;
	z-index: 1104;
	display: none;
}

#fancybox-loading div {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 480px;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png);
}

#fancybox-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	display: none;
}

#fancybox-tmp {
	padding: 0;
	margin: 0;
	border: 0;
	overflow: auto;
	display: none;
}

#fancybox-wrap {
	position: absolute;
	top: 0;
	left: 0;
	padding: 20px;
	z-index: 1101;
	outline: none;
	display: none;
}

#fancybox-outer {
	position: relative;
	width: 100%;
	height: 100%;
	background: #fff;
}

#fancybox-content {
	width: 0;
	height: 0;
	padding: 0;
	outline: none;
	position: relative;
	overflow: hidden;
	z-index: 1102;
	border: 0px solid #fff;
}

#fancybox-hide-sel-frame {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: transparent;
	z-index: 1101;
}

#fancybox-close {
	position: absolute;
	top: -15px;
	right: -15px;
	width: 30px;
	height: 30px;
	background: transparent url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png) -40px 0px;
	cursor: pointer;
	z-index: 1103;
	display: none;
}

#fancybox-error {
	color: #444;
	font: normal 12px/20px Arial;
	padding: 14px;
	margin: 0;
}

#fancybox-img {
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: none;
	outline: none;
	line-height: 0;
	vertical-align: top;
}

#fancybox-frame {
	width: 100%;
	height: 100%;
	border: none;
	display: block;
}

#fancybox-left, #fancybox-right {
	position: absolute;
	bottom: 0px;
	height: 100%;
	width: 35%;
	cursor: pointer;
	outline: none;
	background: transparent url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/blank.gif);
	z-index: 1102;
	display: none;
}

#fancybox-left {
	left: 0px;
}

#fancybox-right {
	right: 0px;
}

#fancybox-left-ico, #fancybox-right-ico {
	position: absolute;
	top: 50%;
	left: -9999px;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	cursor: pointer;
	z-index: 1102;
	display: block;
}

#fancybox-left-ico {
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png);
	background-position: -40px -30px;
}

#fancybox-right-ico {
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png);
	background-position: -40px -60px;
}

#fancybox-left:hover, #fancybox-right:hover {
	visibility: visible; /* IE6 */
}

#fancybox-left:hover span {
	left: 20px;
}

#fancybox-right:hover span {
	left: auto;
	right: 20px;
}

.fancybox-bg {
	position: absolute;
	padding: 0;
	margin: 0;
	border: 0;
	width: 20px;
	height: 20px;
	z-index: 1001;
}

#fancybox-bg-n {
	top: -20px;
	left: 0;
	width: 100%;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox-x.png);
}

#fancybox-bg-ne {
	top: -20px;
	right: -20px;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png);
	background-position: -40px -162px;
}

#fancybox-bg-e {
	top: 0;
	right: -20px;
	height: 100%;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox-y.png);
	background-position: -20px 0px;
}

#fancybox-bg-se {
	bottom: -20px;
	right: -20px;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png);
	background-position: -40px -182px; 
}

#fancybox-bg-s {
	bottom: -20px;
	left: 0;
	width: 100%;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox-x.png);
	background-position: 0px -20px;
}

#fancybox-bg-sw {
	bottom: -20px;
	left: -20px;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png);
	background-position: -40px -142px;
}

#fancybox-bg-w {
	top: 0;
	left: -20px;
	height: 100%;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox-y.png);
}

#fancybox-bg-nw {
	top: -20px;
	left: -20px;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png);
	background-position: -40px -122px;
}

#fancybox-title {
	font-family: Helvetica;
	font-size: 12px;
	z-index: 1102;
}

.fancybox-title-inside {
	padding-bottom: 10px;
	text-align: center;
	color: #333;
	background: #fff;
	position: relative;
}

.fancybox-title-outside {
	padding-top: 10px;
	color: #fff;
}

.fancybox-title-over {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #FFF;
	text-align: left;
}

#fancybox-title-over {
	padding: 10px;
	background-image: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancy_title_over.png);
	display: block;
}

.fancybox-title-float {
	position: absolute;
	left: 0;
	bottom: -20px;
	height: 32px;
}

#fancybox-title-float-wrap {
	border: none;
	border-collapse: collapse;
	width: auto;
}

#fancybox-title-float-wrap td {
	border: none;
	white-space: nowrap;
}

#fancybox-title-float-left {
	padding: 0 0 0 15px;
	background: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png) -40px -90px no-repeat;
}

#fancybox-title-float-main {
	color: #FFF;
	line-height: 29px;
	font-weight: bold;
	padding: 0 0 3px 0;
	background: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox-x.png) 0px -40px;
}

#fancybox-title-float-right {
	padding: 0 0 0 15px;
	background: url(//liceumopolelub.pl/wp-content/plugins/nextgen-gallery/static/Lightbox/fancybox/fancybox.png) -55px -90px no-repeat;
}

/* IE6 */

.fancybox-ie6 #fancybox-close { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-left-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-right-ico { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-title-over { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }
.fancybox-ie6 #fancybox-title-float-left { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-main { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }
.fancybox-ie6 #fancybox-title-float-right { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }

.fancybox-ie6 #fancybox-bg-w, .fancybox-ie6 #fancybox-bg-e, .fancybox-ie6 #fancybox-left, .fancybox-ie6 #fancybox-right, #fancybox-hide-sel-frame {
	height: expression(this.parentNode.clientHeight + "px");
}

#fancybox-loading.fancybox-ie6 {
	position: absolute; margin-top: 0;
	top: expression( (-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px');
}

#fancybox-loading.fancybox-ie6 div	{ background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }

/* IE6, IE7, IE8 */

.fancybox-ie .fancybox-bg { background: transparent !important; }

.fancybox-ie #fancybox-bg-n { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-ne { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-e { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-se { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-s { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-sw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-w { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }
.fancybox-ie #fancybox-bg-nw { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }

/* Note: Prevents issues with "style resets" or themes that apply 'box-sizing: border-box' to everything */
#fancybox-wrap, #fancybox-content, #fancybox-outer {
    box-sizing: content-box;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
}/**
 * Common TikTok Lightbox Styles
 */

.ngg-tiktok-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
}

.ngg-tiktok-video,
.ngg-tiktok-iframe {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/**
 * Common styles for lightboxes when in TikTok mode
 */

/* NextGEN Pro Lightbox */
#npl_wrapper.npl-tiktok-mode .galleria-image img {
    display: none !important;
}

/* SimpleLightbox */
.sl-wrapper.sl-tiktok-mode .sl-image img {
    display: none !important;
}

/* SimpleLightbox - TikTok video sizing */
.sl-wrapper.sl-tiktok-mode .sl-image {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100vw !important;
    height: 100vh !important;
}

.sl-wrapper.sl-tiktok-mode .sl-image .ngg-tiktok-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.sl-wrapper.sl-tiktok-mode .sl-image .ngg-tiktok-video,
.sl-wrapper.sl-tiktok-mode .sl-image .ngg-tiktok-iframe {
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}

/* Fancybox */
.ngg-tiktok-mode#fancybox-wrap #fancybox-img {
    display: none !important;
}

.ngg-tiktok-mode#fancybox-wrap #fancybox-content {
    padding: 0 !important;
}

.ngg-tiktok-mode#fancybox-wrap .ngg-tiktok-container {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ngg-tiktok-mode#fancybox-wrap .ngg-tiktok-video,
.ngg-tiktok-mode#fancybox-wrap .ngg-tiktok-iframe {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain;
    display: block;
}

/* Shutter */
body.ngg-tiktok-shutter-active {
    overflow: hidden !important;
}

html.ngg-tiktok-shutter-active {
    overflow: hidden !important;
}

#shShutter.ngg-tiktok-mode + #shDisplay #shWrap,
#shShutter.ngg-tiktok-mode ~ #shDisplay #shWrap {
    position: relative !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: visible !important;
}

#shDisplay.ngg-tiktok-mode {
    overflow: visible !important;
}

#shDisplay #shWrap .ngg-tiktok-container {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    margin: 0 !important;
    z-index: 10003;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    box-sizing: border-box;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
}

#shDisplay #shWrap .ngg-tiktok-video,
#shDisplay #shWrap .ngg-tiktok-iframe {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    visibility: visible !important;
    object-fit: contain !important;
    display: block !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
}

/* Thickbox */
#TB_window.ngg-tiktok-mode #TB_Image {
    display: none !important;
}
#TB_window.ngg-tiktok-mode #TB_ImageOff {
    display: none !important;
}
#TB_window.ngg-tiktok-mode {
    background: #fff !important;
    padding: 15px 15px 0 15px !important;
}

/* TikTok wrapper - positioned where TB_ImageOff would be */
#TB_window.ngg-tiktok-mode .ngg-tiktok-wrapper {
    display: block !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: relative !important;
    width: auto !important;
    height: auto !important;
}

#TB_window.ngg-tiktok-mode .ngg-tiktok-wrapper .ngg-tiktok-container {
    position: relative !important;
    width: auto !important;
    height: auto !important;
    display: inline-block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    vertical-align: middle !important;
    background: transparent !important;
}

#TB_window.ngg-tiktok-mode .ngg-tiktok-wrapper .ngg-tiktok-video,
#TB_window.ngg-tiktok-mode .ngg-tiktok-wrapper .ngg-tiktok-iframe {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

/* Ensure caption and navigation remain visible */
#TB_window.ngg-tiktok-mode #TB_caption {
    display: block !important;
    visibility: visible !important;
}

#TB_window.ngg-tiktok-mode #TB_secondLine {
    display: block !important;
    visibility: visible !important;
}

#TB_window.ngg-tiktok-mode #TB_prev,
#TB_window.ngg-tiktok-mode #TB_next {
    display: inline !important;
    visibility: visible !important;
}

/**
 * TikTok error styling
 */
.ngg-tiktok-error {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    z-index: 11;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ngg-tiktok-error-content {
    padding: 20px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
}

.ngg-tiktok-error-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
    color: #ff4d4d;
}

.ngg-tiktok-error-text {
    font-size: 16px;
    font-family: sans-serif;
}

/* Custom Lightbox - Generic styles for third-party lightboxes */
.ngg-custom-lightbox-tiktok-mode img:not(.ngg-tiktok-processed) {
    display: none !important;
}

.ngg-custom-lightbox-tiktok-mode .ngg-tiktok-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-tiktok-mode .ngg-tiktok-video,
.ngg-custom-lightbox-tiktok-mode .ngg-tiktok-iframe {
    max-width: 100%;
    max-height: 100%;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
}

/* Custom Lightbox Overlay */
#ngg-custom-lightbox-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: transparent !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#ngg-custom-lightbox-overlay .ngg-custom-lightbox-close {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important;
    background: transparent !important;
    border: none !important;
    color: #000 !important;
    font-size: 40px !important;
    cursor: pointer !important;
    z-index: 1000000 !important;
    padding: 10px !important;
    line-height: 1 !important;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#ngg-custom-lightbox-overlay .ngg-custom-lightbox-close:hover {
    opacity: 1;
}

#ngg-custom-lightbox-overlay .ngg-custom-lightbox-content {
    position: relative !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#ngg-custom-lightbox-overlay .ngg-tiktok-container {
    position: relative !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#ngg-custom-lightbox-overlay .ngg-tiktok-video {
    max-width: 90vw !important;
    max-height: 90vh !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}/*
 * Video: play button overlay (shared across all display types/layouts)
 *
 * This is intentionally tiny and safe to enqueue globally for displayed galleries.
 */

/* Back-compat: older templates/JS may inject a <span class="ngg-video-play-overlay"> */
.ngg-video-play-overlay {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	pointer-events: none;
	z-index: 3;
}

.ngg-video-play-overlay:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-35%, -50%);
	width: 0;
	height: 0;
	border-left: 14px solid rgba(255, 255, 255, 0.95);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
}

/*
 * Preferred: set data-ngg-video-play-overlay="1" on the clickable container (usually <a>).
 * This avoids the overlay node being removed by layout scripts that rewrite anchor contents.
 */
a[data-ngg-video-play-overlay="1"],
div[data-ngg-video-play-overlay="1"] {
	position: relative;
	display: block;
}

a[data-ngg-video-play-overlay="1"]::before,
div[data-ngg-video-play-overlay="1"]::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.55);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
	pointer-events: none;
	z-index: 50;
}

a[data-ngg-video-play-overlay="1"]::after,
div[data-ngg-video-play-overlay="1"]::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-35%, -50%);
	width: 0;
	height: 0;
	border-left: 14px solid rgba(255, 255, 255, 0.95);
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	pointer-events: none;
	z-index: 51;
}

/* Ensure a positioned ancestor for the overlay across common NextGEN layouts */
.ngg-galleryoverview .ngg-gallery-thumbnail a,
.ngg-imagebrowser a,
.ngg-gallery-singlepic-image a,
.ngg-pro-masonry-item > a,
.nextgen_pro_thumbnail_grid .image-wrapper > a,
.nextgen_pro_film .image-wrapper > a,
.nextgen_pro_sidescroll .image-wrapper > a,
.nextgen_pro_blog_gallery .image-wrapper > a,
.tiled-gallery-item a,
.ngg-pro-mosaic-item a,
.galleria-stage .galleria-image,
.galleria-thumbnails .galleria-image {
	position: relative;
	display: block;
}
/**
 * Common Video Lightbox Styles
 * Supports YouTube, Vimeo, Dailymotion, Twitch, VideoPress, Wistia, and Local videos
 */

.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;
}

/**
 * Common styles for lightboxes when in video mode
 */

/* NextGEN Pro Lightbox */
#npl_wrapper.npl-video-mode .galleria-image img {
    display: none !important;
}

/* SimpleLightbox */
.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;
}

/* SimpleLightbox - Video sizing */
.sl-wrapper.sl-video-mode .sl-image {
		top: 0 !important;
		left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

/* Fancybox */
.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;
}

/* Shutter/Shutter Reloaded */
#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;
}

/* Thickbox */
#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%);
}

/* Ensure caption and navigation remain visible */
#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;
}

/* Video error message */
.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;
}

/* Custom Lightbox - Generic styles for third-party lightboxes */
.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;
}
.ngg-trigger-buttons {
clear: both;
text-align: right;
font-size: 12px;
line-height: 1em;
margin: 0;
}
.ngg-trigger-buttons.hidden {
display: none;
}
.ngg-trigger-large {
font-size: 16px;
margin: 0 10px;
}
.ngg-trigger-buttons .ngg-trigger {
margin-left: 0.3em;
cursor: pointer;
}
.ngg-trigger-buttons .ngg-trigger:active,
.ngg-trigger-buttons .ngg-trigger:focus,
.ngg-trigger-buttons .ngg-trigger:visited,
.ngg-trigger-buttons .ngg-trigger {
    color: #999;
}
.ngg-trigger-buttons .ngg-trigger:hover {
color: #333;
}
.ngg-trigger-large .ngg-trigger {
}

/* small exception for slideshows/filmstrip adjustments... seems kind of overkill to create 2 extra stylesheets just for a 2 liners fix */
.galleria.photocrati-nextgen_pro_horizontal_filmstrip {
margin-bottom: 5px;
}

@media screen and (min-width: 0px) and (max-width: 1024px) {
  .ngg-trigger-buttons.mobile-hide {
  	display: none;
  }
}/* ----------- Gallery navigation -------------*/
.ngg-navigation {
    font-size: 0.9em !important;
    clear: both !important;
    display: block !important;
    padding-top: 24px;
    padding-bottom: 3px;
    text-align: center;
}

.ngg-navigation a.page-numbers,
.ngg-navigation a.next,
.ngg-navigation a.prev,
.ngg-navigation span.page-numbers,
.ngg-navigation span.next,
.ngg-navigation span.prev,
.ngg-navigation span.current {
    background: #BBB;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    color: #fff;
    display:inline;
    font-size: 14px;
    font-weight: bold;
    margin-right: 3px;
    padding: 4px 8px;
    text-decoration: none;
    cursor: pointer !important;
}

.ngg-navigation .ellipsis {
    background: #BBB;
    border: none;
    border-radius: 2px;
    box-shadow: none;
    color: #fff;
    display:inline;
    font-size: 14px;
    font-weight: bold;
    margin-right: 3px;
    padding: 4px 8px;
    text-decoration: none;
}

.ngg-navigation span.current {
    background: #666;
}

.ngg-navigation a.next,
.ngg-navigation a.prev,
.ngg-navigation span.next,
.ngg-navigation span.prev {
    background: transparent;
    color: #BBB;
    padding: 2px;
    border: none;
}

.ngg-navigation a.page-numbers:hover,
.ngg-navigation span.page-numbers:hover,
.ngg-navigation span.current:hover {
    background: #666;
    color: #FFFFFF !important;
    text-decoration: none !important;
}

.ngg-navigation a.next:hover,
.ngg-navigation a.prev:hover,
.ngg-navigation span.next,
.ngg-navigation span.prev {
    color: #666 !important;
}

.ngg-navigation a.page-numbers {
    display: inline;
}

.ngg-clear {
    clear: both;
}/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
    margin-top: 10px;
    width: 100%;
    clear: both;
    display: block !important;
    margin-top: 40px;
    margin-bottom: 50px;
}

.ngg-album {
    height: 100%;
    overflow: hidden;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #cccccc;
}

.ngg-albumtitle {
    text-align: left;
    font-weight: bold;
    margin: 0px;
    padding: 0px;
    font-size: 1.4em;
    margin-bottom: 10px;
}

.ngg-thumbnail {
    float: left;
    margin-right: 12px;
}

.ngg-thumbnail img {
    background-color: #FFFFFF;
    border: 1px solid #A9A9A9;
    margin: 4px 0px 4px 5px;
    padding: 4px;
    position: relative;
}

.ngg-thumbnail img:hover {
    background-color: #A9A9A9;
}

.ngg-description {
    text-align: left;
}


/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
    float: left;
    padding: 0 12px 4px 0 !important;
    margin: 0px !important;
    text-align: left;
}

.ngg-album-compact a {
    border: none;
}

.ngg-album-compactbox {
    margin: 0 !important;
    padding: 8px !important;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    position: relative;
    border: 1px solid gray;
    border-radius: 6px;
    z-index: 1;
}

.ngg-album-compactbox:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -7px;
    border-bottom: 1px solid gray;
    border-radius: 6px;
    z-index: -1;
}

.ngg-album-compactbox:after {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -4px;
    border-bottom: 1px solid gray;
    border-radius: 6px;
    z-index: -1;
}

.ngg-album-compactbox .Thumb {
    margin: 0px !important;
    padding: 0px 0 0 0 !important;
    border: 1px solid black !important;
}

.ngg-album-compact h4 {
    font-size: 15px;
    font-weight: bold;
    margin: 0;
    margin-top: 10px;
}

.ngg-album-compact h4 .ngg-album-desc {
    overflow: hidden;
    display: block;
    height: 54px;
}

.ngg-album-compact p {
    font-size: 11px;
    margin: 0;
}

.ngg-clear {
    clear: both;
    float: none;
}

/* ----------- Extended Album - Updated Default Template -------------*/

.ngg-albumoverview.default-view .ngg-album {
    border: 1px solid rgba(150,150,150,.4);
    margin-bottom: 15px;
    padding: 40px 36px 30px;
}

.ngg-albumoverview.default-view .ngg-albumtitle {
    font-size: 17px;
    text-transform: uppercase;
}

.ngg-albumoverview.default-view .ngg-thumbnail {
    margin-right: 20px;
}

.ngg-albumoverview.default-view .ngg-thumbnail img {
    background: transparent;
    border: 1px solid rgba(150,150,150,.1);
    padding: 0px;
    margin: 0;
}

.ngg-albumoverview.default-view .ngg-thumbnail img:hover {
    background-color: transparent;
}

.ngg-albumoverview.default-view .ngg-description,
.ngg-albumoverview.default-view .ngg-description p {
    font-size: 15px;
    margin: 0 0 10px;
}

.ngg-albumoverview.default-view p.ngg-album-gallery-image-counter {
    display: none;
}

@media (max-width: 960px) {
    .ngg-albumoverview.default-view .ngg-albumtitle {
        font-size: 16px;
    }
    .ngg-albumoverview.default-view .ngg-description,
    .ngg-albumoverview.default-view .ngg-description p {
        font-size: 14px;
    }
}

@media (max-width: 800px) {
    .ngg-albumoverview.default-view .ngg-album {
        padding: 22px 20px 14px;
    }
    .ngg-albumoverview.default-view .ngg-thumbnail img {
        max-width: 240px;
    }
    .ngg-albumoverview.default-view .ngg-albumtitle {
        font-size: 15px;
    }
    .ngg-albumoverview.default-view .ngg-description,
    .ngg-albumoverview.default-view .ngg-description p {
        font-size: 13px;
    }

}

@media (max-width: 600px) {
    .ngg-albumoverview.default-view .ngg-album {
        padding: 40px 36px 30px;
    }
    .ngg-albumoverview.default-view .ngg-album,
    .ngg-albumoverview.default-view .ngg-albumtitle,
    .ngg-albumoverview.default-view .ngg-description {
        text-align: center;
    }
    .ngg-albumoverview.default-view .ngg-thumbnail {
        float:none;
        margin-right: 0;
        margin-bottom: 20px;
    }
    .ngg-albumoverview.default-view .ngg-thumbnail img {
        max-width: 100%;
    }
}

/* ----------- Compact Album - Updated Default Template -------------*/

.ngg-albumoverview.default-view {
    text-align: center;
}

.ngg-albumoverview.default-view .ngg-album-compact {
    text-align: center;
    margin: 0 10px 10px 0 !important;
    padding: 10px !important;
    border: 1px solid rgba(150,150,150,.3);
    box-shadow: 0 0 4px 2px rgba(150,150,150,.1);
    float: none;
    display: inline-block;
}

.ngg-albumoverview.default-view .ngg-album-compactbox,
.ngg-albumoverview.default-view .ngg-album-compactbox .Thumb {
    border: none !important;
}

.ngg-albumoverview.default-view .ngg-album-compactbox:before,
.ngg-albumoverview.default-view .ngg-album-compactbox:after,
.ngg-albumoverview.default-view p.ngg-album-gallery-image-counter {
    display: none;
}

.ngg-albumoverview.default-view .ngg-album-compact h4 {
    padding: 0;
}


.ngg-albumoverview.default-view .ngg-album-compact h4 .ngg-album-desc {
    font-size: 14px;
    letter-spacing: 1.4px;
    box-shadow: none;
}