/*
Theme Name: TCWD Framework 2025
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: Gelasio-Bold;
	font-weight: 400;
	font-style: normal;
	src: url("fonts/Gelasio/Gelasio-Bold.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%;
}

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

/* 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: 300px;
	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 {
  text-shadow: 1px 1px 2px black;
	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;
}

li {
	margin: 0 0 0 24px;
}

table td {
    
}

td, th {
	padding: 5px;
}

/* 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-image: url("../../../template-images/header-background.png");
	background-repeat: no-repeat;
	background-size: 100% 170px;
	background-position: center;
	z-index: 99999;
}

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

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

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

#header-buttons img{
	margin-left: 20px;
}


#header-main-menu {
	float: right;
	position: absolute;
	bottom: 30px;
	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: block;
    flex: 0 1 auto; /* Default */
    list-style-type: none;
}


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

	#cssmenu > ul > li > a {
		outline: none;
		display: block;
		position: relative;
		padding: 22px 20px 16px;
		text-align: center;
		text-decoration: none;
		font-weight: normal;
		text-transform: uppercase;
		font-size: .8em;
		font-family: inherit;
		color: #FFFFFF;;
	}

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

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

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

	#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 {
		background-color: #001555; /*--- Color After Mouse moves away ---*/
		color: #FFFF00;
		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;
		background: #001555; /*--- Background colour of whole dropdown menu ---*/
		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: 20px 25px 18px;
		text-transform: uppercase;
		font-size: .8em;
		font-family: inherit;
		color: #FFFFFF;
		text-decoration: none;
		text-align: left;
	}

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

	#cssmenu ul ul a:hover {
		color: #ffff00;
		background-color: #000C2F; /*--- 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%;
	height: auto;
	margin-top: -60px;
	position: relative;
	z-index: 0;
}


/******************************* 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: 100px 30px 100px;
			width: 100%;
			max-width: 1400px;
			margin: 0 auto;
		}

	#content p {
		font-size: .9em;
		margin-bottom: 24px;
	}

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

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

#footer h5 {
	color: #fff;
}

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

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

#footer-left {
	width: 30%;
	height: auto;
	float: left;
	margin-right: 5%;
	line-height: 36px;
	vertical-align: middle;
}

#footer-left img{
	line-height: 36px;
	vertical-align: middle;
	margin-right: 15px;
}

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

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

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

#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;
	background-color: #0368CC;
	display: block;
	overflow: hidden;
}

#notice_footer a:link, #notice_footer a:visited{
	color: #51ACFF;
	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: #51ACFF;
	text-align: center;
	vertical-align: middle;
	line-height: 60px; 
	font-size: 14px;
	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: 14px;
	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 : .8em;
	border-radius: 5px;
	padding: 10px 15px;
	margin-bottom:15px;
	width: 100%;
}

#two-column input[type="email"]{
	border:none;
	border:1px solid #DDD;
	font-size: .8em;
	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: .8em;
	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: .8em;
	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: #D90000;
	border: 1px solid #D90000;
	color: #fff;
	text-transform: uppercase;
	float:right;
	border-radius: 5px;
	margin:5px 0px 0px 0px;
}

#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-contact-contents-left {
    display: none;
}
	
#header-main-menu {
    display: none;
}
	
#full-width-menu {
    display: none;
}
	
#header-contact-contents-right {
    width: 100%;
	margin-right: 24px;
}
	
#header-main-contents {
    height: auto;
    overflow: hidden;
	clear: both;
	padding: 10px;
}
	
#header-main-address {
    float: none;
    position: relative;
    right: initial;
	top: initial;
    width: 100%;
    text-align: center;
	font-size: .8em;
}
	
#header-main-logo {
    float: none;
    position: relative;
    top: initial;
    left: initial;
    width: 100%;
	text-align: center;
}
	
#header-main-logo img{
    width: 90%;
	height: auto;
}
	
#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;
}

}

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

@media screen and (min-width: 800px) and (max-width: 1199px) { 
	
#header-contact-contents-left {
    display: none;
}
	
#header-main-menu {
    display: none;
}
	
#full-width-menu {
    display: none;
}
	
#header-main-contents {
    padding: 20px 30px;
	height: auto;
}
	
#header-main-address {
    float: none;
    position: relative;
    right: initial;
	top: initial;
    width: 100%;
    text-align: center;
}
	
#header-main-logo {
    float: none;
    position: relative;
    top: initial;
    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;
}

}

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

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

}