/*
Theme Name: TCWD Framework 2024
Description: A minimalistic WordPress theme for custom designed sites.
Version: 1.0
Author: Greg Provians
Author URI: www.tropicalcoastwebdesign.com.au
*/

/******************************* LOAD FONTS *******************************/

@font-face {
	font-family: Poppins-Regular;
	font-weight: 400;
	font-style: normal;
	src:url("fonts/Poppins/Poppins-Regular.ttf");
}

@font-face {
	font-family: Poppins-SemiBold;
	font-weight: 400;
	font-style: normal;
	src:url("fonts/Poppins/Poppins-SemiBold.ttf");
}

@font-face {
	font-family: Oswald-Regular;
	font-weight: 400;
	font-style: normal;
	src: url("fonts/Oswald/Oswald-Regular.ttf");
}

body {
    font-family: Poppins-Regular, Arial, sans-serif;
    margin: 0;
    padding: 0;
	font-size: 20px;
}

html {

	/* Apply border-box across the entire page. */
	box-sizing: border-box;
	font-family: var(--global--font-secondary);
	line-height: var(--global--line-height-body);
}

/**
 * Relax the definition a bit, to allow components to override it manually.
 */

*,
*::before,
*::after {
	box-sizing: inherit;
}

/******************************* HEADING STYLES *******************************/

h1 {
	font-family: Poppins-SemiBold, Helvetica, Arial, "sans-serif";
	font-size: 2em;
	line-height: 1.2em;
	margin: 0 0 24px 0;
	color: #001040;	
}

h1.hide-title {
	font-family: Montserrat-SemiBold, Arial, "sans-serif";
	font-weight: normal;
	font-size: .1em;
	line-height: .1em;
	color: #fff;
	padding: 0px;
	margin-bottom: 0px;
	width: 100%;
}

h2 {
	font-family: Oswald-Regular, Helvetica, Arial, "sans-serif";
	font-size: 1.8em;
	line-height: 1.2em;
	margin: 0 0 34px 0;
	color: #B04B13;	
	font-weight: normal;
}

h2 span{
	text-transform: uppercase;
	font-size: 18px;
	line-height: 1.2em;
	margin: 0 0 0 0;
	color: #FF7F00;
	display: block;
}

h3 {
	font-family: Oswald-Regular, Helvetica, Arial, "sans-serif";
	font-size: 1.4em;
	line-height: 1.2em;
	margin: 0 0 24px 0;
	color: #B04B13;	
	font-weight: normal;
}

h5 {
	font-family: Oswald-Regular, Helvetica, Arial, "sans-serif";
	font-size: .9em;
	line-height: 1.2em;
	margin: 0 0 24px 0;
	color: #001040;	
}

/* HEADER - FEATURED IMAGE BACKGROUND
-------------------------------------------------------------------------------*/


.header-wrap {
  text-align: left;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.header-wrap-contents {
	width: 100%;
	max-width: 1400px;
	text-align: center;
	height: 100%;
	line-height: 100%;
	vertical-align: middle;
	margin: 0 auto;
	padding: 0 30px;
}

.header-wrap h1.entry-title {
	color: #fff;
	margin-bottom: 0;
	text-shadow: 2px 2px 5px rgba(0,0,0,1);
}


/******************************* GENERAL STYLING *******************************/

ul, ol {
	margin: 0 0 24px;
	line-height: 1.714285714;
	padding: 0;
}

ul {
	list-style: disc outside;
}

ol {
	list-style: decimal outside;
}

ul ul, ol ol, ul ol, ol ul {
	margin-bottom: 0;
}

#content li {
	margin: 0 0 0 24px;
	font-size: .85em;
	color: #666;
}

#content li li {
	font-size: 1em;
}

#content ol ol {
	margin: 20px 0 20px 24px;
}

table td {
    
}

td, th {
	padding: 5px;
}

#content a:link, #content a:visited {
	color: #0074CA;
}

#content a:hover {
	color: #164171;
}

/* TEXT ELEMENTS - Alignment -------------------------*/

.alignleft {
	display: inline;
	float: left;
	margin: 12px 24px 12px 0;
	margin: 0.857142857rem 1.714285714rem 0.857142857rem 0;
}

.alignright {
	display: inline;
	float: right;
	margin: 12px 0 12px 24px;
	margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}

.aligncenter {
	clear: both;
	display: block;
	margin: 12px auto;
}

/******************************* GUTENBERG *******************************/

.alignfull {
margin-left : calc( -100vw / 2 + 100% / 2 );
margin-right : calc( -100vw / 2 + 100% / 2 );
max-width : 100vw;
}

.alignwide {
margin-left : calc( -80vw / 2 + 100% / 2 );
margin-right : calc( -80vw / 2 + 100% / 2 );
max-width : 80vw;
}

.aligncenter {
	max-width: 1400px;
	margin: 0 auto;
}

.wp-block-image.alignfull, .wp-block-image.alignwide {
    max-width: none;
}


/******************************* HEADER *******************************/

#header {
	width: 100%;
	height: 225px;
	position: relative;
	z-index: 9999;

}

#header-main-contents {
	width: 100%;
	height: 225px;
	max-width: 1400px;
	margin: 0 auto;
	position: relative;
}

#members-login {
	position: absolute;
	float: right;
	top: 20px; 
	right: 25px;
	display: block;
	width: 180px;
	height: auto;
	border: 1px solid #444;
	border-radius: 5px;
	padding: 7px 20px 6px;
	text-align: center;
	text-decoration: none;
	font-weight: normal;
	font-size: 0.8em;
	font-family: Oswald-Regular;
	color: #444;
}

a:hover #members-login {
	background-color: #eee;
}

#header-main-logo {
	float: left;
	position: absolute;
	top: 20px;
	left: 30px;
	width: 258px;
	height: auto;
}

#header-slogan {
	float: right;
	position: absolute;
	top: 22px;
	right: 30px;
	width: 50%;
	height: auto;
	text-align: right;
	color: #1F68C1;
	font-family: Oswald-Regular, Helvetica, Arial, "sans-serif";
	font-size: 1.4em;
	font-style: italic;
}

#header-main-menu {
	float: right;
	position: absolute;
	bottom: 64px;
	right: 0;
	width: 65%;
	height: 46px;
	color: #000;
}

/******************************* MENU STYLING *******************************/

#cssmenu,
#cssmenu ul,
#cssmenu li,
#cssmenu a {
	border: none;
	margin: 0;
	padding: 0;
	line-height: 1;
	box-sizing: border-box;
}

#cssmenu {
	display: block;
	padding: 0;
	margin: 0;
	width: auto;
}

/*--- MENU - List Styles ---*/

#cssmenu > ul {
	display: flex;
	align-items: center;
	justify-content: center; /* Center the menu */
	gap: 40px; /* Equal space between items */
	margin: 0;
	padding: 0;
}

#cssmenu > ul > li {
	position: relative;
	list-style-type: none;
}

#cssmenu > ul > li > a:hover {
  display: inline-block;
  position: relative;
  padding-bottom: 16px;
}

#cssmenu > ul > li > a:after {
  content: '';
  display: block;
  margin: auto;
	margin-top: 5px;
  height: 2px;
  width: 0px;
  background: transparent;
  transition: width .5s ease, background-color .5s ease;
}

#cssmenu > ul > li > a:hover:after {
  width: 100%;
  background: #0071DB;
}


/* Divider line */
#cssmenu > ul > li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 50%;
	right: -20px; /* Half of gap (40px / 2) */
	transform: translateY(-50%);
	height: 24px;
	width: 1px;
	background-color: #ddd;
}

/*--- Menu Item Styles ---*/

#cssmenu > ul > li > a {
	display: block;
	padding: 22px 20px 16px;
	text-align: center;
	text-decoration: none;
	font-weight: normal;
	font-size: 0.8em;
	font-family: Oswald-Regular;
	color: #444;
}



/*--- Individual Button HOVER Styles Go Here ---*/

	#cssmenu > ul > li > a:hover {
		color: #0071DB;
	}

	#cssmenu ul li.has-sub:hover > a:after {
		top: 0;
		bottom: 0;
	}

/*--- Sub Menu Dropdown Arrow ---*/

	#cssmenu > ul > li.has-sub {
		padding-right: 10px;  /*--- Extra room for arrow ---*/
	}

	#cssmenu > ul > li.has-sub > a:before {
		content: '';
		position: absolute;
		top: 26px;
		right: 5px;
		border: 5px solid transparent;
		border-top: 5px solid;
	}

/*--- Main Navigation Item with Drop Down Menu Underneath ---*/

	#cssmenu ul li.has-sub:hover > a {
		color: #164171;
		top: 0px;
		z-index: 999;
	}

	#cssmenu ul li.has-sub:hover > ul,
	#cssmenu ul li.has-sub:hover > div {
		display: block;
	}

/*--- Drop Down Sub Menu Position & Width ---*/

	#cssmenu ul li > ul,
	#cssmenu ul li > div {
		display: none;
		position: absolute;
		top: 54px;
		left: 0px;
		padding: 0;
		z-index: 999;
	}

	#cssmenu ul li > ul {
		min-width: 200px;

	}

	#cssmenu li ul li a { 
		width: auto; white-space: nowrap;
	}

	#cssmenu ul li > ul li {
		list-style: inside none;
		padding: 0;
		margin: 0;
		position: relative;
	}

/*--- Drop Down Menu Items Styling ---*/

	#cssmenu ul li > ul li a {
		outline: none;
		display:block;
		position: relative;
		margin: 0;
		padding: 15px 20px 13px;
		font-size: .8em;
		font-family: Oswald-Regular;
		font-weight: normal;
		color: #FFFFFF;
		text-decoration: none;
		text-align: left;
		background-color: #0071DB;
	}

	#cssmenu ul li > ul li:first-child a {
		padding-top: 20px;
	}

	#cssmenu ul li > ul li:last-child a {
		padding-bottom: 20px;
	}

/*--- Drop Down Menu Items HOVER effect ---*/

	#cssmenu ul ul a:hover {
		color: #ffff00;
		background-color: #0071DB; /*--- Hover colour of dropdown menu items ---*/
	}

/*--- Sub-Sub Menu Dropdown Arrow ---*/

	#cssmenu > ul > li.has-sub {
		padding-right: 10px;  /*--- Extra room for arrow ---*/
	}

	#cssmenu ul li > ul li.has-sub > a:before {
		content: '';
		position: absolute;
		top: 23px;
		right: 5px;
		border: 5px solid transparent;
		border-left: 5px solid;
	}

	#cssmenu ul ul ul li a {
		outline: none;
		display:block;
		position: relative;
		margin: 0;
		padding: 20px 25px 18px;
		text-transform: uppercase;
		color: #fff;
		text-decoration: none;
		text-align: left;
		border-bottom: 1px dashed #266F41 !important;
		background-color: #001555; 
	}

	#cssmenu ul ul ul li:last-child a {
		border-bottom: none !important;
	}

	#cssmenu ul li > ul li > ul {
		display: none;
		position: absolute;
		top: 0px;
		left: 216px;
		padding: 0;
		z-index: 999;
		border-left: 10px solid rgba(0,0,0,0.00);
		background-color: rgba(0,0,0,0.00);
	}

/* MOBILE MENU - Styles ---------------------*/

/* Hide the mobile menu checkbox */
.mobile-menu-toggle {
    display: none;
}

/* Style the mobile menu toggle button */

.toggle-menu {
    display: block;
    cursor: pointer;
    z-index: 999999; /* Ensure toggle button appears above content */
    position: absolute;
    top: 0px;
    left: 0px;
	color: #05549B;
	padding: 12px 18px;
	font-size: 1.4em;
}

/* Style the mobile menu */

.mobile-menu {
    display: none;
    position: absolute;
    top: 70px; /* Adjust as needed */
    left: 20px; /* Adjust as needed */
    background-color: #FFF;
    padding: 0 20px 0;
    z-index: 999999; /* Ensure mobile menu appears above content */
    animation-duration: 0.3s; /* Duration of the animation */
    animation-fill-mode: both; /* Retains the final state of the animation */
	width: 80%;
	max-width: 300px;
	font-size: .8em;
	-webkit-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
	-moz-box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);
	box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.75);	
	border: 2px solid #11B3F1;
}

/* Define the animation for sliding */

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

/* Show the menu when the checkbox is checked */

.mobile-menu-toggle:checked + .toggle-menu + .mobile-menu {
    display: block;
    animation-name: slideIn; /* Use slideIn animation when menu is opened */
}

/* Hide the menu when unchecked */

.mobile-menu-toggle:not(:checked) + .toggle-menu + .mobile-menu {
    animation-name: slideOut; /* Use slideOut animation when menu is closed */
}

/* Additional styling for the mobile menu */

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0 0;
}

.mobile-menu li {
	margin: 0 0 0 0;
	color: #444;
	font-family: Poppins-Regular, Helvetica, Arial, "sans-serif";
    padding: 10px 10px 8px 20px;
	border-bottom: 1px solid #ccc;
}

.mobile-menu li:last-child {
	margin: 0 0 0 0;
	color: #444;
	font-family: Poppins-Regular, Helvetica, Arial, "sans-serif";
    padding: 10px 10px 8px 20px;
	border-bottom: 0px solid #ccc;
}

.mobile-menu li a {
    text-decoration: none;
    color: #444;
}

.mobile-menu li a:hover {
    color: #016BB5;
	font-weight: bold;
}

.mobile-menu li.menu-item-has-children > ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu li.menu-item-has-children > ul.submenu-open {
    max-height: 1000px;
}

/* Closing button style */

.close-menu {
    position: absolute;
    top: 5px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: #016BB5;
}

/* Parent items with sub-menus */
.mobile-menu li.menu-item-has-children > a {
    position: relative; /* Allow the arrow to be positioned absolutely */
    padding-right: 20px; /* Space for the arrow */
}

/* Arrow indicator styling */
.mobile-menu li.menu-item-has-children > a::after {
    content: '\2304'; /* Unicode character for down arrow */
    position: absolute;
    right: 0px; /* Position it to the right */
    top: 7px;
    transform: translateY(-50%); /* Center the arrow vertically */
    font-size: 0.8em;
    color: #444; /* Arrow color */
}

/* Sub-menu styling */
.mobile-menu ul.sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    position: relative;
    left: 0;
    top: 0;
    padding: 0;
    margin: 0;
    z-index: 9999;
    width: 100%;
}

.mobile-menu ul.sub-menu.submenu-open {
    max-height: 1000px; /* or however tall your submenu might be */
}



/* Define the animation for expanding sub-menu */
@keyframes expandDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px; /* Set a max-height large enough to fit your content */
        opacity: 1;
    }
}

@keyframes collapseUp {
    from {
        max-height: 500px;
        opacity: 1;
    }
    to {
        max-height: 0;
        opacity: 0;
    }
}

/* Show sub-menu on hover */
.mobile-menu li:hover > ul.sub-menu {
    display: block;
    animation-name: expandDown; /* Use expandDown animation when sub-menu is opened */
}


.mobile-menu li ul li {
	border-bottom: 0px solid #ccc;
	font-size: .9em;
}

/* FOOTER MENU - Styles ---------------------*/

	#footer #cssmenu,
	#footer #cssmenu ul,
	#footer #cssmenu li,
	#footer #cssmenu a {
		border: none;
		margin: 0;
		padding: 0;
		box-sizing: content-box;
		list-style: disc;
		text-transform: none;
		text-align: left;
		line-height: 31px;
		vertical-align: middle;
		background-color: rgba(0,0,0,0.00);
	display: list-item;
	}

#footer-center h5 {
	margin-bottom: 22px;
}

	#footer #cssmenu {
		height: auto;
		display: block;
		padding: 0;
		margin: 0;
		width: auto;
		border-color: #080808;
	}

/*--- MENU - List Styles ---*/

	#cssmenu,
	#cssmenu > ul > li > ul > li a:hover {

	}

#footer #cssmenu > ul {
    display: block;
    align-items: baseline;
    justify-content: center;
    width: 100%;
    margin: 0 0 0 0;
    padding: 0;
	
}

#footer #cssmenu > ul > li {
	position: relative;
	display: inline-block;
    flex: none; /* Default */
    list-style-type: disc;
	width: 43%;
	margin-left: 20px;
}

/******************************* SLIDESHOW *******************************/

#slideshow-image {
	width: 100%;
	max-width: 1400px;
	height: auto;
	position: relative;
	z-index: 0;
	margin: 0 auto;
}


/******************************* MAIN BODY *******************************/

/* CONTENT / BODY
-------------------------------------------------------------------------------*/

#wrapper {
	width: 100%;
	height: auto;
	margin: 0px auto;
	background-color: #FFF;
	display: block;
	overflow: hidden;
	}

	#main {
		width: 100%;
		height: auto;
		position: relative;
	}

		#content {
			box-sizing: border-box;
			padding: 120px 30px 100px;
			width: 100%;
			max-width: 1400px;
			margin: 0 auto;
		}

	#content p {
		font-size: .85em;
		color: #666;
		line-height: 1.6em;
		margin-bottom: 24px;
	}

/******************************* FOOTER CTA *******************************/

#cta {
	width: 100%;
	height: auto;
	color: #fff;
	padding: 50px 30px 60px;
	background-color: #0471DA;
	text-align: center;
}

#cta a:link, #cta a:visited {
	background-color: #0074CA;
	font-family: Poppins-SemiBold;
	font-size: 16px;
	padding: 8px 30px;
	border-radius: 8px;
	border: 1px solid #fff;
	color: #fff;
	text-decoration: none;
}

#cta a:hover {
	color: #ffff00;
	border-color: #ffff00;
}

#cta h2 {
	color: #fff;
	margin-bottom: 20px;
	font-weight: normal;
}

#cta p {
    font-size: 0.8em;
    margin: 0 auto 30px auto !important;
    max-width: 900px;
    color: #fff;
    text-align: center;
}

/******************************* FOOTER *******************************/

#footer {
	width: 100%;
	height: auto;
	padding: 80px 30px 60px;
	background-color: #AF451B;
}

#footer h5 {
	color: #fff;
	font-weight: normal;
}

#footer p {
	font-size: .8em;
	line-height: 1.6em;
}

#footer-contents {
	width: 100%;
	max-width: 1340px;
	height: auto;
	color: #fff;
	margin: 0 auto;
	overflow: hidden;
	clear: both;
}

#footer-left {
	width: 35%;
	height: auto;
	float: left;
	margin-right: 5%;
}

#footer-center {
	width: 30%;
	height: auto;
	float: left;
}

#footer-center a:link, #footer-center a:visited {
	color:#fff;
	text-decoration: none;
}

#footer-center a:hover {
	color:#ffff00;
}

#footer-center p {
	line-height: 36px;
	vertical-align: middle;
}

#footer-center p img {
	line-height: 36px;
	vertical-align: middle;
	margin: 0 15px 3px 0;
}

#footer-right {
	width: 25%;
	height: auto;
	float: right;
}


#footer-right img{
	margin-right: 20px;
}

/******************************* COPYRIGHT / LOGIN / T&Cs *******************************/

#notice_footer {
	width: 100%;
	height: auto;
	min-height: 60px;
	background-color: #AF451B;
	display: block;
	overflow: hidden;
}

#notice_footer a:link, #notice_footer a:visited{
	color: #fff;
	text-decoration: none;
}

#notice_footer a:hover {
	color: #ffff00 !important;
	text-decoration:underline;
}

#notice_footer_content {
	width: 100%;
	max-width: 1400px;
	height: auto;
	margin: 0 auto;
	padding: 15px 30px;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	line-height: 2em; 
	font-size: 14px;
	overflow: hidden;
	clear: both;
	border-top: 1px solid #DF5E2D;
}

#notice_footer_mobile {
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0 auto;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	line-height: 20px; 
	font-size: 12px;
	display: block;
	overflow: hidden;
	padding: 15px 30px;
	border-top: 1px solid #28A4FF;
}

/******************************* CONTACT FORM 7 STYLES *******************************/

.wpcf7-form{
	border: none;
	padding:0;
	-webkit-border-radius: 10px;   
    border-radius: 10px;
	width: 100%;
	margin-bottom: 0px;
}

.email_terms {
	font-size:13px !important;
	color: #444 !important;
}
	

#two-column{
	width: 100%;
}

#two-column .wpcf7-spinner {
    display: none;
}

#two-column input::placeholder{
	color: #999;
	font-family: Poppins-Regular;
}

#two-column #left{
	width: 48%;
	float: left;
}

#two-column #left p {
    line-height: 25px !important;
}

#two-column #right{
	width: 48%;
	float: right;
}
#two-column p{
margin: 0px !important;
	line-height: 1.8em;
}

#two-column #spacer {
	width: 100%;
	height: 30px;
}

#two-column input[type="text"]{
	border:none;
	border:1px solid #DDD;
	font-size : 1em;
	border-radius: 5px;
	padding: 10px 15px;
	margin-bottom:15px;
	width: 100%;
}

#two-column input[type="email"]{
	border:none;
	border:1px solid #DDD;
	font-size: 1em;
	border-radius: 5px;
	padding: 10px 15px;
	margin-bottom:15px;
	width: 100%;
}

#two-column textarea {
    position: relative;
    padding: 10px 15px;
    border:1px solid #DDD;
    border-radius: 5px;
	width: 100%;
	margin-bottom: 0px;
	font-size: 1em;
	font-family: Poppins-Regular;
}

#two-column textarea::placeholder {
    color: #999;
}


#two-column select {
    border: 1px solid #DDD;
    border-radius: 5px;
    padding: 10px 15px 10px 10px;
    margin-bottom: 15px;
    width: 100%;
    color: #999; /* Initial color for placeholder */
    font-size: 1em;
	font-family: Poppins-Regular;
}

/* Ensure the placeholder option stays gray */
#two-column select option[value=""] {
    color: #999 !important;
}

/* Change the color when a valid option is selected */
#two-column select:valid {
    color: #333;
}

.wpcf7 select[name="select-an-option"] { color:#aaa; font-size: .9em;}

.wpcf7 select[name="select-an-option"] option { color:#000 !important; font-size: .9em; }

input[type="date"] {
	border: 1px solid #DDD;
	font-size: 1em;
	border-radius: 5px;
	padding: 10px 15px;
	margin-bottom: 0px;
	width: 100%;
	font-family: monospace; /* keep this if you want */
	cursor: default; /* optional */
	font-family: Poppins-Regular;
}


#two-column input[type="submit"]{
	padding:11px 25px 9px;
	background-color: #AF451B;
	border: 1px solid #AF451B;
	color: #fff;
	text-transform: uppercase;
	float:right;
	border-radius: 5px;
	margin: 0 0px 0px 0px;
	width: 100%;
	font-size: 1em;
}

#two-column input[type="text"]:focus, #two-column textarea:focus, #two-column input[type="email"]:focus{
	background: #F1F1F1;
}

#two-column input[type="submit"]:hover{
	background: #762E12;
	border-color: #762E12;
	color: #fff;
}

#content .wpcf7-not-valid-tip {
    font-size: .8em;
	margin-bottom: 10px;
	margin-top: -15px;
	text-align: right;
}

#content .wpcf7 form.invalid .wpcf7-response-output {
    border-color: #ff0000;
}

#content .wpcf7 form .wpcf7-response-output {
    padding: 0.5em 1em;
    border: 2px solid #008C00;
	font-size: .8em;
	margin: 40px 0px 10px;
}

/******************************* SMART PHONES  UNDER 800 PIXELS *******************************/

@media (max-width: 799px) {

#header {
    background-image: url("../../../template-images/header-bg-mobile.png");
    background-position: center;
	height: 165px;
}
	
.toggle-menu {
    padding: 6px 12px;
    font-size: 1.3em;
}
	
#header-main-menu {
    display: none;
}
	
#header-main-contents {
    height: auto;
    overflow: hidden;
	clear: both;
	padding: 24px 10px 0 10px;
}
	
#header-slogan {
    display: none;
}
	
#header-main-logo {
    float: none;
    position: relative;
    top: initial;
    left: initial;
    width: 100%;
	text-align: center;
}
	
#header-main-logo img{
    width: 90%;
	max-width: 258px;
	height: auto;
}
	

	
#slideshow-image {
    margin-top: -50px;
}
	
#footer {
    padding: 80px 20px;
}
	
#footer p {
    font-size: .7em;
    line-height: 2em;
}
	
#footer-left, #footer-center, #footer-right {
    width: 100%;
    margin-right: 0;
	float: none;
	margin-bottom: 50px;
	text-align: center;
}
	
#footer-left img{
	max-width: 80%;
	height: auto;
	}
	
#footer-right img {
    margin: 0px 10px;
}
	
#footer #cssmenu > ul > li > a {
    font-size: .7em;
}
	
#footer #cssmenu > ul > li {
    width: 40%;
}
	
#notice_footer_content {
    display: none;
}
	
#smallgoogle {
    text-align: left;
    padding: 0 0px 10px;
}
	
#notice_footer_left, #notice_footer_right {
    width: 100%;
    max-width: none;
    float: none;
    text-align: center;
}
	
  ul.ecs-event-list li {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }
	
#two-column #left, #two-column #right {
    width: 100%;
    float: none;
}
	
	#content .contact-page-row p {
		font-size: .8em;
		text-align: center;
	}
	
#two-column input[type="submit"] {
    margin-top: 30px;
}

}

/******************************* TABLETS BETWEEN 800 & 1400 PIXELS *******************************/

@media screen and (min-width: 800px) and (max-width: 1399px) { 
	
#header-contact-contents-left {
    display: none;
}
	
#header-main-menu {
    display: none;
}

#header-main-contents {
    padding: 20px 30px;
	height: auto;
}
	
#header-slogan {
    display: none;
}
	
#header-main-logo {
    float: none;
    position: relative;
    top: initial;
    left: initial;
    width: 100%;
	text-align: center;
}
	
#footer-left {
    width: 100%;
    margin-right: 0;
	text-align: center;
	margin-bottom: 60px;
}
	
#footer-center {
    width: 55%;
    float: left;
}
	
#footer-right {
    width: 40%;
    float: right;
	padding-top: 0;
}
	
#footer-right img {
    margin: 0 20px 0 0;
}
	
#notice_footer_content {
    display: none;
}
	
#notice_footer {
    padding: 0 30px;
}

ul.ecs-event-list {
    gap: 20px;               /* space between the two columns/rows */
  }

  /* Kill the desktop margin rules on mobile */
  ul.ecs-event-list li,
  ul.ecs-event-list li:nth-child(4n+1),
  ul.ecs-event-list li:nth-child(4n+2),
  ul.ecs-event-list li:nth-child(4n+3) {
    margin: 0 !important;
  }

  /* Two columns */
  ul.ecs-event-list li {
    /* ignore the desktop width and set a flex-basis */
    width: auto !important;
    flex: 0 0 calc(50% - 10px) !important;  /* 2 cols minus half the gap */
    max-width: calc(50% - 10px) !important;
  }
	
	
}

/******************************* DESKTOPS AND NOTEBOOKS OVER 1200 PIXELS *******************************/

@media (min-width: 1400px) {
	
.toggle-menu, .mobile-menu {
        display: none;
}
	
#notice_footer_mobile {
    display: none;
}

}

/******************************* CUSTOM PAGE CSS *******************************/

.right-image-rotate {
  transform: rotate(3deg);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 1);
  display: inline-block;
  
  /* Smoothing tricks */
  image-rendering: optimizeQuality; /* Hint for image quality */
  backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Optional for animation */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#content .contact-page p{
	line-height: 24px;
	vertical-align: middle;
}

#content .contact-page p img{
	line-height: 24px;
	vertical-align: middle;
	margin: 0 15px 3px 0;
}

.community-projects .wp-block-button__link {
    color: #666;
    background-color: #fff;
    border-radius: 10px;
	border: 1px solid #666;
    padding: 10px 24px 8px;
    font-size: .8em;
	margin-top: 10px;
}

#content .community-projects p {
	margin: 0 0 24px 0;
}

#content a.wp-block-file__button {
    background: #0074CA;
    color: #fff;
    text-decoration: none;
	display: block;
	max-width: 200px;
	border-radius: 15px;
	margin: 15px auto 0;
}

/******************************* EVENT CALENDAR *******************************/

ul.ecs-event-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    padding: 0;
    margin: 0 auto;
    box-sizing: border-box;
}

ul.ecs-event-list {
    overflow: visible; /* Allow shadow outside items */
    position: relative; /* Needed if any child uses absolute positioning */
    z-index: 0;
}

ul.ecs-event-list li {
    width: calc((100% - 60px) / 4); /* 3 x 20px gaps = 60px */
    background-color: #fff;
    min-height: 300px;
    box-sizing: border-box;
    padding: 5px 5px 0 5px;
    margin-bottom: 70px;
    margin-left: 0;
    margin-right: 0;
    position: relative;
    z-index: 1;
}


/* Add 20px to the RIGHT of items 1–3 in each row */
ul.ecs-event-list li:nth-child(4n+1),
ul.ecs-event-list li:nth-child(4n+2),
ul.ecs-event-list li:nth-child(4n+3) {
    margin-right: 20px;
}

/* Ensure the first item in each row has no left margin */
ul.ecs-event-list li:nth-child(4n+1) {
    margin-left: 0;
}


/* Clean up old float styles */
ul.ecs-event-list li:first-child,
ul.ecs-event-list li:last-child {
    float: none;
}

/* General ECS event item style */
#content li.ecs-event {
    padding-bottom: 17px;
}

/* Link styles */
li.ecs-event a:link,
li.ecs-event a:visited {
    color: #00336C;
}

/* ✅ Image styling: full width of padded area, auto height */
#content li.ecs-event img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* Event title styling */
li.ecs-event h4 {
    padding: 10px 15px 0px 15px;
    margin: 15px 0 0 0;
    line-height: 1em;
}

li.ecs-event h4 {
    display: flex;
    align-items: flex-start;
}

li.ecs-event h4 a:link,
li.ecs-event h4 a:visited{
    color: #05549B;
    text-decoration: none;
	font-size: .9em;
	font-family: Poppins-SemiBold;
	line-height: 1em;
}

/* Date styling */
.duration {
    font-family: Poppins-Regular;
    font-size: .6em;
    line-height: 1em;
    padding-left: 15px;
    color: #000;
	margin: 0;
}

/* Event excerpt styling */
#content p.ecs-excerpt {
    font-size: 14px;
    margin-bottom: 10px;
    margin-top: 15px;
    padding: 0 15px;
    color: #000;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Other event-related styles */
.tribe-events-single {
    text-align: left;
}

.tribe-events-event-image {
    display: inline-block;
    float: right;
    margin-left: 40px;
    max-width: 50%;
}

.tribe-events-single > .tribe_events {
    display: inline-block;
    width: 100%;
    vertical-align: top;
}

.tribe-events-meta-group .tribe-events-single-section-title {
    display: none;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-l-container {
    min-height: 700px;
    padding-bottom: var(--tec-spacer-14);
    padding-top: 0 !important;
}


/*************************** CUSTOM PAGE CONTENT *********************************/

.contact-page-row .wp-block-table td, .wp-block-table th {
    border: 0px solid;
    padding: .5em 0;
    font-size: .85em;
    color: #666;
}

.contact-page-row table td:first-child, .contact-page-row table th:first-child {
  width: 25%;   /* set your desired width */
}

/* Base: keep the table nice on larger screens */
.wp-block-table.membership table {
  width: 100%;
  border-collapse: collapse;
}
.wp-block-table.membership th,
.wp-block-table.membership td {
  padding: 10px 12px;
  border-bottom: 1px solid #e5e5e5;
  text-align: left;
	font-size: .8em;
}

/* Mobile cards */

@media (max-width: 700px) {
  /* Make rows into cards (do NOT include thead/th here) */
  .wp-block-table.membership table,
  .wp-block-table.membership tbody,
  .wp-block-table.membership tr,
  .wp-block-table.membership td {
    display: block;

  }

  /* Nuke the header completely, even if sticky styles exist */
  .wp-block-table.membership thead,
  .wp-block-table.membership thead tr,
  .wp-block-table.membership thead th {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
  }

  /* Each table row becomes a card */
  .wp-block-table.membership tbody tr {
    margin: 0 0 14px 0;
    padding: 12px 12px 8px;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    background: #fff;
  }

  /* Cells stack inside the card */
  .wp-block-table.membership td {
    border: 0;
    padding: 8px 12px 8px 9.5em; /* room for the label on the left */
    position: relative;
    min-height: 2.25em;
  }

  /* Labels for each cell */
  .wp-block-table.membership td::before {
    display: none;
  }
  .wp-block-table.membership td:nth-child(1)::before { content: "Type"; }
  .wp-block-table.membership td:nth-child(2)::before { content: "Fee"; }
  .wp-block-table.membership td:nth-child(3)::before { content: "Description"; }

}



.wp-block-table.membership table {
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table.membership th,
.wp-block-table.membership td {
  border: none; /* remove all borders first */
  border-bottom: 1px solid #e5e5e5; /* re-add only horizontal lines */
  padding: 10px 12px;
  text-align: left;
}


