:root {
	--primary: #52824B;
	--secondary: #A66A00
}

body {

font-family: laca-text, sans-serif;
	font-size: 20px;
	font-weight: 400;
}

p, ul, ol {
	margin-bottom: 15px;
}

p, ul li, ol li {
	line-height: 1.68em;
}

h1, h2, h3, h4, h5 {
	font-family: miller-text; font-weight: 700;
	
}

a {
	text-underline-offset: 3px;
}

.primary  {
	color: var(--primary);
}
.secondary {
	color: var(--secondary);
}

blockquote {
	
}

iframe {
	border: none;
}

span.wf_caption {
	font-size: 16px; line-height: 1.4;
}

h1 {
	font-size: 52px;
  line-height: 1.2;
  border-bottom: 0px solid #ccc;
 
  margin-bottom: 50px;
  margin-top: -16px;
  text-align: center;
  background: #E1EBE0;
  padding: 20px 20px;
  position: relative;
	
}



h2 {
	clear: none;
	margin: 30px 0 5px 0;
	padding: 0;
	font-size: 42px;
	
}

h3 {
	clear: none;
	margin: 30px 0 5px 0;
	padding: 0;
	font-size: 32px;
	}

h2.module-title {
	font-size: 62px;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}

h4 {
	clear: none;
	margin: 30px 0 5px 0;
	padding: 0;
	font-size: 20px;
}

.custom h4 {
  font-weight: bold;
  font-style: italic;
  font-size: 24px;
  margin: 0 0 30px 0;
}

.staff h4 {
	margin: 0;
}

h5 {
	clear: none;
	margin: 30px 0 5px 0;
	padding: 0;
	font-size: 18px;
	font-weight: bold;
	font-style: italic;
}

.btn {
text-transform: none;
  font-size: 20px;
  color: #52824B;
  padding: 0;
  background: none;
  border: none;
  position: relative;
  margin-left: 0px;
  margin: 0;
  font-weight: bold;
  margin: 0;
  border: none;
  text-transform: none;
  text-align: left;
  padding: 0px;
  line-height: 40px;
  font-size: 18px;
  font-weight: 700;
	
}

.btn::after {
  content: "→";
  font-family: inherit;
  font-weight: 700;
  right: -18px;
  position: absolute;
  top: 0;
}



.btn:hover {
	
}

a.readon {
	text-transform: uppercase; font-size: 85%;
}

blockquote {
	
}

blockquote p {
	
}


/*menu*/

#headerwrap {
	
}

#headerwrap .container {
	
}

#astroid-offcanvas {
    height: -webkit-fill-available !important;
    height: 100svh !important;
}

#astroid-offcanvas .astroid-offcanvas-inner {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.container-fluid {
	padding: 0;
}

.megamenu-container.nav-submenu-container, #astroid-sticky-header {
	box-shadow:
  1px 2.1px 2.2px rgba(0, 0, 0, 0.02),
  2.5px 5.1px 5.3px rgba(0, 0, 0, 0.028),
  4.6px 9.6px 10px rgba(0, 0, 0, 0.035),
  8.3px 17.2px 17.9px rgba(0, 0, 0, 0.042),
  15.5px 32.2px 33.4px rgba(0, 0, 0, 0.05),
  37px 77px 80px rgba(0, 0, 0, 0.07)
;
}

.astroid-nav .nav-submenu > li > .as-menu-item {
	font-size: 16px;
}

.divided-menu-block .header-block-items .d-flex, ul.justify-content-left {
	justify-content: end!important;
}

ul.justify-content-left {
	transform: translate(40px);
}

.mod-astroid-menu nav.px-3,
.astroid-header-section header.astroid-stacked-divided-logo-left-header:not(.astroid-header-sticky) .divided-menu-block > div {
	padding: 0!important;
}

.mod-astroid-menu ul.astroid-nav li a {
	background: #FFF; color: #52824B; padding: 2px 10px 0px 10px; text-decoration: none; text-transform: uppercase; font-size: 14px;
  font-weight: bold;
  margin-left: 5px;
  border-radius: 5px;
}

.mod-astroid-menu ul.astroid-nav li a i {
	line-height: 34px; font-size: 24px;
}

.mod-astroid-menu .astroid-nav li {
	margin: 0!important;
}

.astroid-nav .nav-link {
	text-transform: uppercase;
}


/*Banner*/

#bannerwrap {
	
}


.birdmod {
	max-width: 500px; margin: -50px auto -50px auto; position: relative;
}

.birdmod p {
	margin: 0; font-size: 22px;
}

.birdmod .btn {
	color: #000; 
}

/*row1wrap*/

#row1wrap {
	padding: 150px 0 60px 0!important;
  background: #fff url('../images/watermark.png') no-repeat right -50px top -100px;
    background-size: auto;
  background-size: 450px auto;
}

#position-1-1 {
	
}

#position-1-1 .mod_dropfiles_latest {
	width: 350px; margin: 0px auto;
}



#position-1-1 .mod_dropfiles_latest .mod_filecontent_head {
    display: flex;
    align-items: center;
    justify-content: center;}

#position-1-1 .mod_dropfiles_latest div.mod_file:nth-of-type(2n+1) {
	 color: #52824B; height: 50px; padding: 0px; background: none;
}
#position-1-1 .mod_dropfiles_latest div.mod_file:nth-of-type(2n+1):hover {
	color: #A66A00; height: 50px; padding: 0x;
}


#position-1-1 .mod_dropfiles_latest i.zmdi {
	color: #52824B!important; font-size: 24px;
}



#position-1-1 .mod_dropfiles_latest a {
	color: #52824B!important; line-height: 40px;
	font-weight: bold;
}


#position-1-1 .mod_dropfiles_latest a:hover {
	color: #A66A00!important; 
}

.mod_dropfiles_latest .mod_filecontent_head h3 {
	margin: 0; padding: 0; width: auto; font-family: laca-text; font-size: 18px;
}


/*row2wrap*/

#row2wrap {
	background: #F8F8F6;
}

#row2wrap .container {
	max-width: 750px;
}

#position-2-1 {
	
}

/*row3wrap*/

#row3wrap {
	padding: 100px 0!important;
}

#row3wrap h4 {
	color: #FFF; font-size: 36px;
}

#position-3-1 p {
	max-width: 500px;
  margin: 20px auto;
  font-weight: 700;
}


/*row4wrap*/

#row4wrap {
	
}

#position-4-1 {
	
}

/*row5wrap*/

#row5wrap {
	
}

#position-5-1 {
	
}

/*row6wrap*/

#row6wrap {
	
}

#position-6-1 {
	
}


/*Bottomwrap*/

#bottomwrap {
	background-size: auto 150px;
}

#bottomwrap .container {
	max-width: 750px;
}

/*Footer*/

#footerwrap {
	
}

#footer1 small {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 13px;
}

#footer1 .socialicons .fa-2x {
	vertical-align: middle; margin: 	0 10px; display: block;
}

.socialicons {
	text-align: center; display: flex; justify-content: center;
}

#footer1 .socialicons a {
	text-decoration: none; text-transform: uppercase; font-size: 13px; text-align: center; margin: 0 15px;
}

/*Sidebar*/

#sp-sidebar-right {
	
}



/*Main area*/

body.home #mainwrap {
	display: none;
}

#mainwrap {
	background: #fff url('../images/watermark.png') no-repeat right -50px bottom;
    background-size: auto;
  background-size: 450px auto;
}

body.com-dpcalendar #mainwrap, .com-content-article__body, body.com-civicrm #mainwrap  {
	max-width: 960px; margin: auto; display: block;
}

body.com-dpcalendar h1 {
	margin-top: 0;
}

/* Full Calendar: keep Day button behavior, but disable weekday header links only. */
body.full-calendar-alias .com-dpcalendar-calendar .fc .fc-col-header-cell-cushion {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
}

.item-image img {
	width: 100%; height: auto;
}

ul.fields-container {
	list-style-type: none;
	padding: 0;
}

span.field-label {
	display: block;
	font-weight: bold;
	font-size: 20px;
	padding-top: 10px;
}

.wf_file::before {
	content: "\f15b";
	font-family: "Font Awesome 6 Free";
	font-size: 16px;
	line-height: 1;
	display: inline-block;
	margin: 0 5px 0 0;
}

.wf_file[href$=".pdf"]::before {
	content: "\f1c1";
}

.wf_file[href$=".doc"]::before {
	content: "\f1c2";
}

.wf_file[href$=".docx"]::before {
	content: "\f1c2";
}

.wf_file[href$=".xls"]::before {
	content: "\f1c3";
}

.wf_file[href$=".xlsx"]::before {
	content: "\f1c3";
}

.wf_file[href$=".zip"]::before {
	content: "\f1c6";
}

.wf_file[href$=".png"]::before {
	content: "\f1c5";
}

.wf_file[href$=".jpg"]::before {
	content: "\f1c5";
}

@media  (max-width: 800px) {
	body {
		
	}
	
	#headerwrap {
		padding: 10px;
	}
	
	h1 {
		font-size: 32px; margin-top: -54px;
	}
	
	#crm-container .crm-title h1 {
		margin-top: 0;
	}
	
	#crm-main-content-wrapper {
		max-width: 80%; margin: auto;
	}
	
	#mainwrap, #row1wrap {
		background-size: 200px auto;
	}
	
	.avVideo .avPlayerContainer .avPlayerBlock iframe, .avVideo .avPlayerContainer .avPlayerBlock object, .avVideo .avPlayerContainer .avPlayerBlock embed, .avVideo .avPlayerContainer .avPlayerBlock video, .avVideo .avPlayerContainer .avPlayerBlock > div {
		min-width: 200px!important;
	}
}

/* GSLA member portal: style Joomla's native login form's submit button to
   match the site's other primary buttons (e.g. the "Sign up" button on
   /take-action/sign-up-for-email-alerts) - this native view is reached
   after a successful password-reset/username-reminder ("Log in now" link),
   and by login.php's own known-gap fallback on a failed login attempt. */
.com-users-login__form button[type="submit"],
.com-users-reset__form button[type="submit"],
.com-users-reset-confirm__form button[type="submit"],
.com-users-reset-complete__form button[type="submit"],
.com-users-remind__form button[type="submit"] {
	background-color: #52824b;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 11px 15px;
	font-size: 18px;
	font-weight: 400;
}

/* GSLA member portal: these native login/reset/remind views never had a
   dedicated page/menu item before this project added one, so they never
   picked up the padding/max-width/card framing other component pages get
   (compare the body.com-civicrm rule above) - content ran edge-to-edge and
   the input fields' border was effectively invisible (near-white on white,
   rgb(253,253,253)). Scoped to just these views' own form classes. */
body.com-users #mainwrap {
	width: 100%;
	max-width: 800px;
	margin: 30px auto;
	padding: 0 20px;
	box-sizing: border-box;
}

/* Joomla's own login view template (not the reset/remind ones) wraps its
   form in a Bootstrap "col-lg-5" (~42% width) centering column, capping it
   well below #mainwrap's own width regardless of the rule above. */
body.com-users .com-users-login.col-lg-5 {
	flex: 0 0 100%;
	max-width: 100%;
	width: 100%;
}

.com-users-login__form,
.com-users-reset__form,
.com-users-reset-confirm__form,
.com-users-reset-complete__form,
.com-users-remind__form {
	border: 1px solid #ddd;
	border-radius: 5px;
	padding: 25px;
	background: #fff;
}

.com-users-login__form .form-control,
.com-users-reset__form .form-control,
.com-users-reset-confirm__form .form-control,
.com-users-reset-complete__form .form-control,
.com-users-remind__form .form-control {
	border: 1px solid #999;
}

/* The "Forgot your password?"/"Forgot your username?"/"Don't have an
   account?" links sit in their own Bootstrap list-group, a separate
   element right after .com-users-login__form - style it as a matching
   card of its own rather than leaving Bootstrap's bare default borders. */
.com-users-login__options.list-group {
	margin-top: 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	overflow: hidden;
	background: #fff;
}

.com-users-login__options .list-group-item {
	display: block;
	padding: 12px 25px;
	font-size: 16px;
	color: #4a7c59;
	text-decoration: none;
	border: none;
	border-bottom: 1px solid #eee;
}

.com-users-login__options .list-group-item:last-child {
	border-bottom: none;
}


/*
 * Header, two tiers (2026-10). Layout "stacked, divided, logo left"
 * (template style 15): the top row is the top-menu module, the main row
 * is mainmenu.
 * >= 1200px: a slim darker strip with the top-menu links (Donate, Join or
 * Renew, Gift a Membership, social icons, Login / My Account / Sign Out),
 * then the logo and
 * mainmenu on one line.
 * 992-1199px: the hamburger menu instead of mainmenu. The sticky header
 * (#astroid-sticky-header, shown on scroll) gets the same main-bar rules.
 * Current page: white text, gold underline. Overrides the
 * .mod-astroid-menu pill buttons and ul.justify-content-left offset above.
 */

:root {
	--gsla-green: #52824b;
	--gsla-green-dark: #3f6b39;
	--gsla-gold: #e2a83a;
	--gsla-strip-height: 44px;
}

@media (min-width: 992px) {
	#headerwrap > .container,
	#astroid-sticky-header > .container {
		max-width: 1440px;
	}

	/* Top strip: the first --gsla-strip-height of the header section, full width */
	#headerwrap {
		background: linear-gradient(to bottom, var(--gsla-green-dark) 0 var(--gsla-strip-height), var(--gsla-green) var(--gsla-strip-height));
	}

	#astroid-header .col-divided-logo {
		padding-top: var(--gsla-strip-height);
	}

	#astroid-header .header-block-items {
		height: var(--gsla-strip-height);
	}

	#astroid-header .header-block-items .astroid-nav > li > a {
		background: none;
		border: 0;
		border-radius: 0;
		color: #fff;
		margin: 0;
		padding: 0 12px;
		line-height: 1;
		display: flex;
		align-items: center;
		/* laca-text's capitals sit ~1px above the line box's centre */
		position: relative;
		top: 1px;
	}

	#astroid-header .header-block-items .astroid-nav > li > a .nav-title,
	#astroid-header .header-block-items .astroid-nav > li > a .nav-title-text {
		font-size: 15px;
		font-weight: 600;
		letter-spacing: 0.05em;
		line-height: 1;
		text-transform: uppercase;
		color: inherit;
		padding: 0;
	}

	#astroid-header .header-block-items .astroid-nav > li > a:hover,
	#astroid-header .header-block-items .astroid-nav > li > a:focus-visible {
		color: var(--gsla-gold);
	}

	#astroid-header .header-block-items .nav-icon,
	#astroid-header .header-block-items .nav-icon i {
		font-size: 20px;
		line-height: 1;
		color: inherit;
		padding: 0;
	}

	/* Main bar */
	:is(#astroid-header .megamenu-block, #astroid-sticky-header) .astroid-nav {
		flex-wrap: nowrap;
		justify-content: flex-end !important;
		transform: none;
	}

	:is(#astroid-header .megamenu-block, #astroid-sticky-header) .astroid-nav > li > a {
		padding: 8px 12px;
	}

	:is(#astroid-header .megamenu-block, #astroid-sticky-header) .astroid-nav > li > a .nav-title-text {
		font-size: 17px;
		letter-spacing: 0.03em;
		white-space: nowrap;
	}

	:is(#astroid-header .megamenu-block, #astroid-sticky-header) .astroid-nav > li.nav-item-active > a .nav-title-text {
		color: #fff;
		box-shadow: inset 0 -3px 0 var(--gsla-gold);
	}

	:is(#astroid-header .megamenu-block, #astroid-sticky-header) .astroid-nav > li.nav-item-active > a:hover .nav-title-text {
		color: var(--gsla-gold);
	}
}

@media (min-width: 1200px) {
	/* The hamburger's placeholder still takes 54px when hidden */
	:is(#astroid-header .megamenu-block, #astroid-sticky-header) .offcanvas-button {
		display: none !important;
	}
}

/* Mid widths: hamburger instead of a wrapped mainmenu */
@media (min-width: 992px) and (max-width: 1199.98px) {
	:is(#astroid-header .megamenu-block, #astroid-sticky-header) nav.astroid-nav-wraper {
		display: none !important;
	}

	:is(#astroid-header .megamenu-block, #astroid-sticky-header) .header-offcanvas-trigger {
		display: block !important;
	}

	#astroid-header .megamenu-block {
		justify-content: flex-end;
	}
}

/* Hamburger panel submenus (Astroid mobile menu): closed ones are parked
 * off-screen at position: fixed; left: -150%. While the panel slides in it
 * has a transform, so that -150% is measured from the panel and the stacked
 * submenus flash on screen to its left (the last one, Resources, on top).
 * Hide closed ones at every width (this used to apply below 800px only),
 * and open them over the panel instead of at the screen's left edge. */
#astroid-offcanvas .nav-child.unstyled.dropdown-menus:not(.menu_open) {
	display: none;
}

#astroid-offcanvas .nav-child.unstyled.dropdown-menus.menu_open {
	left: auto;
	right: 0;
	width: 100% !important;
	max-width: 320px;
}

/* CiviCRM public forms (Donate, Join/Renew, Gift a Membership, events,
 * profiles), Finsbury Park front-end theme:
 * - #mainwrap had max-width 960px but no width, so pages without a long
 *   intro (Donate) shrank to the form's own width (~440px).
 * - The template floats <legend>, so the first row after a section heading
 *   ("Your Information", "Name and Address") sat beside it.
 * - Finsbury's label column is 17% wide; long labels wrapped and the
 *   required * dropped to its own line. It stacks labels at <= 768px. */
body.com-civicrm #mainwrap {
	width: 100%;
	box-sizing: border-box;
}

#crm-container.crm-public fieldset > legend + * {
	clear: both;
}

@media (min-width: 769px) {
	#crm-container.crm-public .crm-section > .label {
		width: 25%;
	}

	#crm-container.crm-public .crm-section > .content {
		margin-left: 27%;
	}
}

#crm-container.crm-public .crm-section > .label .crm-marker {
	white-space: nowrap;
}

/* DPCalendar event page: the "Add to Google Calendar" / "Add to Apple /
 * Outlook Calendar" buttons (labels: language overrides
 * COM_DPCALENDAR_FIELD_CONFIG_EVENT_LABEL_COPY_GOOGLE/_OUTLOOK) and the
 * location's Map / Directions buttons (event page and location page) as
 * solid green buttons; DPCalendar draws the first two like the grey Print
 * button, the others blue. The
 * Subscribe row's note: html/com_dpcalendar/event/default_information_url.php. */
.com-dpcalendar-event__actions .dp-button-copy-google,
.com-dpcalendar-event__actions .dp-button-copy-ical,
.com-dpcalendar-event__locations .dp-button-map-site,
.com-dpcalendar-event__locations .dp-button-map-directions,
.com-dpcalendar-location__actions .dp-button-map-site,
.com-dpcalendar-location__actions .dp-button-map-directions {
	background: var(--gsla-green);
	border-color: var(--gsla-green);
	color: #fff;
}

.com-dpcalendar-event__actions .dp-button-copy-google:hover,
.com-dpcalendar-event__actions .dp-button-copy-google:focus-visible,
.com-dpcalendar-event__actions .dp-button-copy-ical:hover,
.com-dpcalendar-event__actions .dp-button-copy-ical:focus-visible,
.com-dpcalendar-event__locations .dp-button-map-site:hover,
.com-dpcalendar-event__locations .dp-button-map-site:focus-visible,
.com-dpcalendar-event__locations .dp-button-map-directions:hover,
.com-dpcalendar-event__locations .dp-button-map-directions:focus-visible,
.com-dpcalendar-location__actions .dp-button-map-site:hover,
.com-dpcalendar-location__actions .dp-button-map-site:focus-visible,
.com-dpcalendar-location__actions .dp-button-map-directions:hover,
.com-dpcalendar-location__actions .dp-button-map-directions:focus-visible {
	background: var(--gsla-green-dark);
	border-color: var(--gsla-green-dark);
	color: #fff;
}

.com-dpcalendar-event__actions .dp-button-copy-google svg,
.com-dpcalendar-event__actions .dp-button-copy-ical svg,
.com-dpcalendar-event__locations .dp-button-map-site svg,
.com-dpcalendar-event__locations .dp-button-map-directions svg,
.com-dpcalendar-location__actions .dp-button-map-site svg,
.com-dpcalendar-location__actions .dp-button-map-directions svg {
	fill: currentColor;
}

.dp-information__subscribe-note {
	font-size: 0.85em;
	opacity: 0.8;
}

/* DPCalendar event page, Location information: hide the Street / City /
 * County / Country lines. They come from DPCalendar's OpenStreetMap lookup
 * of the address (can be wrong, e.g. the ZIP) and repeat the address link
 * above them, which is the text as entered. Only the <dl>s: their parent
 * .dp-location__details carries the map marker's data attributes. */
.com-dpcalendar-event__locations .dp-location__details > dl {
	display: none;
}

/* DPCalendar location page: the same lines sit in a "Location information"
 * section under the map, with the address already the page title. The
 * whole section is hidden, so a description entered for a location in the
 * Location Manager would not show either (none are set). */
.com-dpcalendar-location__details {
	display: none;
}
