/*
 Theme Name: Astra Child
 Template:   astra
 Version:    1.0.0
*/


.menu-link {
	color:#1a6c7a !important;
}

.menu-link:active {
	font-weight:bold;
}

.menu-link:hover {
	font-weight:bold;
}

.entry-title {
  display: none;
}

.ast-separate-container .ast-article-post, .ast-separate-container .ast-article-single {
	padding-top:2em;
	padding-bottom:2em;
	border-radius:15px;
}
:root{
	--ngg-thumb-w: 240px;   /* ← change once if you pick a new size */
	--ngg-thumb-h: 180px;
	--ngg-gap:     10px;
}

/* ─────────  ALBUM THUMB APPEARANCE  ───────── */
.ngg-album{
	background:rgba(255,255,255,.5);
	border:1px solid #f2f2f2;
	border-radius:5px;
}

/* all photo thumbs in album grid */
.ngg-albumoverview img{
	width:var(--ngg-thumb-w);
	height:var(--ngg-thumb-h);
	object-fit:cover;
	display:block;
}

.ngg-galleryoverview { text-align:left!important; }
.ngg-gallery-thumbnail-box{ float:left!important; }


/* ─────────  VIDEO GRID (inside [nggvideoalbum])  ───────── */
.ngg-video-album{
	display:flex;
	flex-wrap:wrap;
	gap:var(--ngg-gap);
	margin:var(--ngg-gap) 0;
	padding-top: 10px;
}

/* each video “tile” */
.ngg-video-album .ngg-video{
	flex:0 0 calc(25% - var(--ngg-gap));
	max-width:calc(25% - var(--ngg-gap));
	height:var(--ngg-thumb-h);
	position:relative;
	box-sizing:border-box;
}

/* iframe fills the tile */
.ngg-video-album .ngg-video iframe{
	position:absolute;
	inset:0;
	width:100%;
	height:100%;
	object-fit:cover;
	border:0;
}

/* hide the entire video grid on album overview pages */
.ngg-albumoverview ~ .ngg-video-album{display:none!important;}


/* 1 ▸ stretch the gallery edge-to-edge */
.ngg-galleryoverview{
	margin:0;               /* kill any default outer margin      */
	padding:0;              /* kill any default outer padding     */
}

/* 2 ▸ remove the built-in 5 px side padding on each thumb wrapper */
.ngg-gallery-thumbnail{
	padding-left:0!important;
	padding-right:0!important;
}

/* 3 ▸ keep a uniform gap *inside* the grid (optional) */
.ngg-gallery-thumbnail-box{
	padding:5px;           /* or whatever gap you want between tiles */
	box-sizing:border-box; /* keeps total width correct              */
}

/* 4 ▸ if you need 4-across fixed columns regardless of float math */
.ngg-gallery-thumbnail-box{
	width:25%;             /* 100 / 4 columns                       */
	float:left;            /* same model NextGEN already uses       */
}


/* tablets ≤ 1024 px → two tiles per row */
@media (max-width:1024px){
	.ngg-gallery-thumbnail-box{
		width:50%;                         /* photos */
	}
	.ngg-video-album .ngg-video{
		flex:0 0 calc(50% - var(--ngg-gap)); /* videos */
		max-width:calc(50% - var(--ngg-gap));
	}
}

/* phones ≤ 600 px → one tile per row */
@media (max-width:600px){
	.ngg-gallery-thumbnail-box{
		width:100%;                        /* photos */
	}
	.ngg-video-album .ngg-video{
		flex:0 0 100%;                     /* videos */
		max-width:100%;
	}
}

.ngg-video-heading {
    text-transform: capitalize !important;
    margin-top: 100px !important;
    font-size:1.5rem !important;
    font-weight: 600 !important;
    color:#1a6c7a !important;
}


.ngg-galleryoverview::before{
    content:"Photos";
    display:block;           /* makes it take full width */
    font-size:1.5rem;
    font-weight:600;
    color:#1a6c7a;
    line-height:1.3;
    margin:1.5em 0 .5em;
    margin-bottom: 20px !important;
}

ul.ngg-breadcrumbs li:first-child{ display:none!important; }

.ngg-breadcrumbs {
    background: #1a6c7a;
    display: flex;
    justify-content: center;
    margin-bottom:10px !important;
    margin-top: 150px !important;
    padding:10px !important;
}

.ngg-breadcrumb {
    color:white;
    font-size: 1.6rem !important;
    text-transform: capitalize !important;
}

.main-header-menu .current-menu-item > a,
.main-header-menu .current_page_item > a,
.main-header-menu .current-menu-ancestor > a{
	font-weight: bold;
}

@media (max-width:600px){
	.uagb-container-inner-blocks-wrap{
		margin-top:4rem !important;
	}
	
	
}

.uagb-ifb-title a {
    color:#1a6c7a !important;
}

.footer-contact {
    list-style: none;
}

.footer-widget-area[data-section="section-fb-html-1"] {
    margin-bottom: 0 !important;
}

@media only screen
  and (max-width: 820px)
  and (max-height: 1180px)
  and (orientation: portrait) 
{
  /* scope to your #main container’s full-width UAGB root */
  #main .uagb-is-root-container.alignfull {
    min-height: 100vh !important;
  }
}

.passster-form {
    height:420px;
    margin:auto;
}