#et-menu>li a,#et-menu>li.menu-item-has-children>a:after,#et-menu>li.mega-menu-featured>a:after,#et-extra-mobile-menu>li.mega-menu-featured>a:after{color:#1e73be}#main-header{background-color:#ffffff}#et-menu>li>ul,#et-menu li>ul,#et-menu>li>ul>li>ul,#et-mobile-navigation nav,.et-top-search-primary-menu-item .et-top-search{background-color:#022e7a}#top-header{background-color:#022e7a}#et-trending-label,.et-trending-post a{font-weight:bold;font-style:normal;text-transform:none;text-decoration:none}header.header .et-trending-post a,header.header .et-trending-post a:visited{color:rgba(255,255,255,0.7)}.et-fixed-header #main-header{background-color:#ffffff}@media only screen and (min-width:768px){#main-header .logo{height:63.24px;margin:30.38px 0}.header.left-right #et-navigation>ul>li>a{padding-bottom:54px}}@media only screen and (min-width:768px){.et-fixed-header #main-header .logo{height:40.8px;margin:19.6px 0}.et-fixed-header .header.left-right #et-navigation>ul>li>a{padding-bottom:32px}}.post-header{padding:20px 60px 20px 60px}/*
 * 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;
}
/* ----------- Single picture -------------*/

.ngg-gallery-singlepic-image {
margin: 0 auto 1em auto;
}
.ngg-gallery-singlepic-image a {
max-width: 100%;
}
.ngg-gallery-singlepic-image img {
margin: 0;
max-width: 100%;
border: none;
}

.ngg-singlepic {
    background-color: #FFFFFF;
    display: block;
    padding: 4px;
}

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

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

.ngg-center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.ngg-gallery-singlepic-image .ngg-trigger-buttons {
margin: 5px 0 0 0;
}
