/*
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: Poppins-Bold;
	font-weight: 400;
	font-style: normal;
	src:url("fonts/Poppins/Poppins-Bold.ttf");
}

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

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

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

body {
    font-family: Poppins-Regular, Arial, sans-serif;
    margin: 0;
    padding: 0;
	font-size: 20px;
	background-image: url("../../../../esa-template-images/footer-bg.webp");
	background-repeat: no-repeat;
	background-size: 100% 833px;
	background-position: bottom left;
}

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: Montserrat-Bold, Helvetica, Arial, "sans-serif";
	font-size: 2em;
	line-height: 1.2em;
	margin: 0 0 24px 0;
	color: #05549B;	
}

h2 span{
	font-family: Montserrat-Light, Helvetica, Arial, "sans-serif";
	font-size: 18px;
	line-height: 1em;
	color: #11B3F1;
	display: block;
	text-transform: uppercase;
	margin-bottom: 4px;
}

h3 {
	font-family: Montserrat-Light, Helvetica, Arial, "sans-serif";
	font-size: 1.7em;
	line-height: 1em;
	color: #05549B;
	text-transform: capitalize;
	margin: 10px 0 24px 0;
	font-weight: normal;
}

.homepage-boxes h3 {
	color: #fff;
}

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

html, body {
  overflow-x: hidden;
}

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


.header-wrap {
  text-align: left;
	width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
	min-height: 400px;
	margin-bottom: 100px;
	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;
}


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

table td {
    
}

td, th {
	padding: 5px;
}

.has-medium-font-size {
    font-size: 1.2em !important;
}

/* 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: auto;
	position: relative;
	background-color: #fff;
	border-bottom: 3px solid #11B3F1;
}

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

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

#header-icons {
	float: right;
	position: absolute;
	top: 30px;
	right: 30px;
	width: 50%;
	height: 28px;
	text-align: right;
}

#header-icons img {
	margin-left: 15px;
}

#header-main-menu {
	float: right;
	position: absolute;
	bottom: 10px;
	right: 30px;
	width: 60%;
	height: 46px;
	color: #000;
}

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

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

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

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

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

	}

#cssmenu > ul {
    display: flex;
    align-items: stretch; /* Default */
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}

#cssmenu > ul > li {
	position: relative;
	display: inline-block;
    flex: 0 1 auto; /* Default */
    list-style-type: none;
}

#cssmenu > ul > li:after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: transparent;
    transition: width .5s ease, background-color .5s ease;
 }
#cssmenu > ul > li:hover:after {
    width: 100%;
    background: #05549B;
 }

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

	#cssmenu > ul > li > a {
		outline: none;
		display: block;
		position: relative;
		padding: 12px 20px 10px;
		text-align: center;
		text-decoration: none;
		font-weight: normal;
		text-transform: capitalize;
		font-size: .8em;
		font-family: Poppins-Regular;
		color: #444444;
	}

	#cssmenu li:first-child a {
		border-left: 0 none;
	}

	#cssmenu > ul > li:last-child > a {
		border: 1px solid #444;
		border-radius: 5px;
	}

	#cssmenu li:last-child a:hover {
		border-color: #05549B;
	}

	#cssmenu > ul > li:last-child:hover:after {
    	background: rgba(0,0,0,0.00);
	}

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

	#cssmenu > ul > li > a:hover {
		color: #05549B;
	}

	#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: 17px;
		right: 3px;
		border: 5px solid transparent;
		border-top: 5px solid;
	}

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

	#cssmenu ul li.has-sub:hover > a {
		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: 40px;
		left: 0px;
		padding: 0;
		z-index: 999;
		border-top: 5px solid rgba(0,0,0,0.00);
	}

	#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: 20px 25px 18px;
		text-transform: capitalize;
		font-size: .8em;
		font-family: Poppins-Regular;
		color: #FFFFFF;
		text-decoration: none;
		text-align: left;
		background: #05549B;
	}

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

	#cssmenu ul ul a:hover {
		color: #fff;
		background-color: #11B3F1; /*--- 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: border-box;
	list-style: none;
	text-transform: none;
	text-align: center;
	line-height: 31px;
	vertical-align: middle;
	background-color: transparent;
	display: inline-block;
	font-size: 16px; /* Set font size */
}

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

#footer #cssmenu {
	height: auto;
	display: block;
	padding: 0;
	margin: 0;
	width: 100%;
}

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

#footer #cssmenu > ul {
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 0;
	padding: 0;
}

#footer #cssmenu > ul > li {
	position: relative;
	display: inline-block;
	margin: 0;
}

#footer #cssmenu > ul > li:not(:last-child)::after {
	content: "";
	display: inline-block;
	width: 1px;
	height: 20px;
	background-color: #fff; /* adjust color if needed */
	margin: 0 15px;
	vertical-align: middle;
}

#footer #cssmenu > ul > li > a {
	padding: 0 10px;
	color: inherit;
	text-decoration: none;
	font-size: 16px; /* Apply to links too, just to ensure */
}



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

#slideshow-image {
	width: 100%;
	height: auto;
	margin-bottom: 100px;
}


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

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

#wrapper {
	width: 100%;
	height: auto;
	margin: 0px auto;

	}

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

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

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

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

#footer {
	width: 100%;
	height: auto;
	padding: 80px 30px 0px;
}

#footer h5 {
	color: #fff;
}

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

#footer img {
	margin-bottom: 10px;
}

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

/******************************* GOOGLE RECAPTCHA *******************************/

.grecaptcha-badge { 
    visibility: hidden !important;
}

#smallgoogle {
	font-size: 12px;
	width: 100%;
	display: inline-block;
	height: auto;
	line-height: 20px;
	margin-top: 10px;
	text-align: center;
	padding: 0 30px 0;
}

#smallgoogle a:link, #smallgoogle a:visited{
	color: #ccc;
	text-decoration: none;
}

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

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

#notice_footer {
	width: 100%;
	height: auto;
	min-height: 60px;
	display: block;
	overflow: hidden;
	margin-bottom: 40px;
}

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

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

#notice_footer_content {
	width: 100%;
	max-width: 1400px;
	height: auto;
	margin: 0 auto;
	padding: 0 30px;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	line-height: 60px; 
	font-size: 12px;
	overflow: hidden;
	clear: both;
}

#notice_footer_mobile {
	width: 100%;
	max-width: none;
	height: auto;
	margin: 0 auto;
	color: #fff;
	text-align: center;
	vertical-align: middle;
	line-height: 26px; 
	font-size: 12px;
	display: block;
	overflow: hidden;
	padding: 10px 30px;
}

#notice_footer_left {
	width: 45%;
	max-width: 560px;
	height: auto;
	float: left;
	text-align: left;
	vertical-align: middle;
}

#notice_footer_right {
	width: 45%;
	max-width: 560px;
	height: auto;
	float: right;
	text-align: right;
	vertical-align: middle;
}

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

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

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

#two-column{
	width: 100%;
}

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

#two-column input[type="text"]{
	border:none;
	border:1px solid #DDD;
	font-size: 1em;
	border-radius: 5px;
	padding: 12px 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: 15px;
	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; }


#two-column input[type="submit"]{
	padding:11px 25px 9px;
	background-color: #05AEF0;
	border: 1px solid #05AEF0;
	color: #fff;
	text-transform: uppercase;
	float:right;
	border-radius: 5px;
	margin:5px 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: #B8010B;
	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-main-menu {
    display: none;
}
	
#full-width-menu {
    display: none;
}
	
#header-icons {
    top: 18px;
    right: 17px;
}
	
#header-main-contents {
    height: auto;
    overflow: hidden;
	clear: both;
	padding: 10px;
}
	
#header-main-logo {
    float: none;
    position: relative;
    top: initial;
    left: initial;
    width: 100%;
	text-align: center;
	margin-top: 60px;
}
	
#header-main-logo img{
    width: 100%;
	max-width: 153px;
	height: auto;
}
	
div#n2-ss-2 .n2-font-630702473996bde9c63f596fef6c668c-paragraph {
    font-size: 200% !important;
}
	
#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;
}
	
#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;
}
	
	#footer #cssmenu {
		display: none;
	}
	
/* Container styles */
#content ul.ecs-event-list {
    list-style: none;
    display: block;
    flex-wrap: none;
    gap: 30px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

/* Default: Mobile first — each item full width */
#content ul.ecs-event-list li {
    width: 100%;
    background-color: #eeeeee;
    min-height: 420px;
    border-bottom-right-radius: 20px;
    box-sizing: border-box;
    padding: 5px 5px 0 5px;
}
	
#content ul.ecs-event-list li:nth-child(3n + 2) {
    margin-left: 0px;
    margin-right: 0px;
}
	
#content li.ecs-event h4 {
    display: block !important;
    line-height: 1.3em !important;
}


}

/******************************* TABLETS BETWEEN 800 & 1200 PIXELS *******************************/

@media screen and (min-width: 800px) and (max-width: 1199px) { 

#header-icons {
    top: 20px;
    right: 18px;
}
	
#header-main-menu {
    display: none;
}
	
#header-main-contents {
    padding: 20px 30px;
	height: auto;
}
	
#header-main-logo {
    float: none;
    position: relative;
    top: 5px;
    left: initial;
    width: 100%;
	text-align: center;
}
	
#footer-left {
    width: 47%;
    margin-right: 3%;
}
	
#footer-center {
    width: 47%;
    float: right;
}
	
#footer-right {
    width: 100%;
    float: none;
	padding-top: 60px;
	overflow: hidden;
	clear: both;
	text-align: center;
}
	
#notice_footer_content {
    display: none;
}
	
  #footer #cssmenu > ul {
    flex-wrap: wrap;
    gap: 10px 20px; /* space between rows/columns */
  }

  #footer #cssmenu > ul > li {
    display: inline-block;
    margin: 5px 0;
  }

  #footer #cssmenu > ul > li:not(:last-child)::after {
    margin: 0 10px; /* reduce spacing on smaller screens */
  }

  #footer #cssmenu > ul > li > a {
    font-size: 14px; /* slightly smaller for mid-size screens */
    padding: 0 8px;
  }

ul.ecs-event-list li {
    flex: 0 1 calc((100% - 60px) / 3); /* 3 columns with 30px gaps between */
    background-color: #eeeeee;
    min-height: 420px;
    border-bottom-right-radius: 20px;
    box-sizing: border-box;
    padding: 5px 5px 0 5px;
}
	
ul.ecs-event-list li {
    width: calc((100% - 60px) / 3); /* Three per row, with 60px total space for middle item margins */
}

/* Only the middle item in each row gets horizontal spacing */
ul.ecs-event-list li:nth-child(3n + 2) {
    margin-left: 30px !important;
    margin-right: 30px !important;
}
	
li.ecs-event h4 {
    display: block !important;
    line-height: 1.3em !important;
}


}

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

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

}

/******************************* CUSTOM CSS FOR PAGES *******************************/

#content .homepage-boxes p {
	font-size: .75em;
	color: #fff;
	font-weight: normal;
	font-family: Poppins-Regular;
}

#content .homepage-boxes .wp-block-button__link {
    color: #05559C;
	background-color: #fff;
	font-family: Poppins-Regular;
    border-radius: 9999px;
    box-shadow: none;
    text-decoration: none;
    padding: 10px 30px;
    font-size: .8em;
}

.become-member h2 {
	font-family: Montserrat-Regular;
	margin-bottom: 10px;
}

#content .become-member p {
	margin: 0 0 24px 0;
}

#content .become-member .wp-block-button__link {
    color: #fff;
	background-color:rgba(0,0,0,0.00);
	font-family: Poppins-Regular;
    border-radius: 15px;
    box-shadow: none;
    text-decoration: none;
    padding: 8px 40px;
    font-size: .8em;
	border: 1px solid #fff; /* Add this line */
}

.rotated-photo {
  display: inline-block;
  padding: 10px;
  background-color: #00B9F1; /* Light blue frame */
  transform: rotate(-2deg); /* Frame tilts one way */
  max-width: 100%;
  border: none;
}

.rotated-photo img {
  display: block;
  transform: rotate(6deg); /* Image tilts opposite way */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Optional drop shadow */
  width: 100%;
  height: auto;
}

h2.light-blue {
	color: #11B2F1;
	font-family: Montserrat-Regular;
}

h2.light-blue span {
	color: #666666;
}

/******************************* 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 li {
    width: calc((100% - 140px) / 3); /* Three per row, with 140px space for middle item margins */
    background-color: #eeeeee;
    min-height: 420px;
    border-bottom-right-radius: 20px;
    margin: 0 0 70px 0;
    box-sizing: border-box;

    /* ✅ Padding for image */
    padding: 5px 5px 0 5px; /* top, right, left */
}

/* Only the middle item in each row gets horizontal spacing */
ul.ecs-event-list li:nth-child(3n + 2) {
    margin-left: 70px;
    margin-right: 70px;
}

/* 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: 12px;
    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;
}

.homepage-section h2 {
    font-family: Kristi, Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
    font-size: 4.6em;
    margin: 0;
    color: #003964;
    font-weight: normal;
    line-height: .6em;
}

/************************** HOME PAGE NEWS FEED CSS **************************/

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-post-grid-content {
    border: 0px solid #ddd;
}

.sp_wpspwpost_static.wpspw-design-1 .wpspw-medium-4 .wpspw-post-image-bg {
    height: 280px;
	margin-bottom: 10px;
}

#content .sp_wpspwpost_static h2.wpspw-post-title a, #content .sp_wpspwpost_slider h2.wpspw-post-title a {
    font-size: 18px !important;
}

#content .sp_wpspwpost_static h2, #content .sp_wpspwpost_slider h2 {
    margin: 5px 0 0 0 !important;
}

.wpspw-post-date span {
	display: none;
}

.wpspw-post-date {
	padding-bottom: 20px !important;
	margin-left: 0px !important;
    font-family: Poppins-Regular;
    font-size: 12px;
	color: #000;
    line-height: 1em;
}

#content .wpspw-post-content {
	font-size: .7em;
	line-height: 1.4em;
	padding: 0 30px;
	margin-bottom: 30px;
}

#content .sp_wpspwpost_static {
	display: flex;
    min-height: 100%;
	max-width: 1400px;
	padding: 0 20px;
}

#content .wpspw-post-grid {
    margin-bottom: 0;
}

#content .wpspw-medium-4 {
    min-height: inherit;
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-post-image-bg {
    height: 224px; /* Fixed crop height */
    overflow: hidden; /* Ensures image doesn't spill out */
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-post-image-bg img {
    width: 100% !important;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-post-grid-content {
    height: 100%;
	position: relative;
	padding-bottom: 30px;
	background-color: #eee;
	border-bottom-right-radius: 20px;
	padding: 5px 5px 0 5px;
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-readmorebtn {
    border: 0px solid rgba(0,0,0,0.00);
    margin: 0 0 0 0 !important;
	position: absolute;
	float: right;
	right: 18px;
	bottom: 15px;
	border-radius: 5px;
	text-transform: lowercase;
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-readmorebtn:hover {
    transition: 0.4s ease-in;
    background: rgba(0,0,0,0.00);
    color: #1A6C0F !important;
	border: 1px solid #1A6C0F;
	border-radius: 5px;
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-readmorebtn {
    white-space: nowrap; /* Prevents line break */
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-readmorebtn::after {
    content: " ..."; /* Adds space and dots */
}

#content .sp_wpspwpost_static.wpspw-design-1 .wpspw-post-grid-content h2 a{
    color: #05549B;
    text-decoration: none;
	font-size: 16px !important;
	font-family: Poppins-SemiBold;
	line-height: 1em;
	padding: 10px 0px 0px 0px;
    margin: 15px 0 0 0;
}