:root {
	--white: #FFF;
	--light-teal: #edf5f6;
	--teal: #3E98AA;
	--red: #E94744;
	--dark-grey: #2B2A2A;
	--light-grey: #EAEAEA;
}

html {
  scroll-behavior: smooth;
}

/* ----------------------------------------------------- Background Styles ------------------------------------------------- */
.bg-light-teal {
	background-color: var(--light-teal);
}
.bg-teal {
	background-color: var(--teal);
}
.bg-red {
	background-color: var(--red);
}

.bg-grey-gradient {
	background: linear-gradient(to right, transparent, #EAEAEA);
}

.row-with-bg {
   position: relative;
   background: url('/wp-content/uploads/2025/09/essendon-logo-asset-red.png') no-repeat right bottom;
   background-size: 25%; 
}

.row-with-bg-2 {
   position: relative;
   background: url('/wp-content/uploads/2025/09/essendon-bg-asset-teal.png') no-repeat right center;
   background-size: contain;   /* or contain if you don’t want it cropped */
}


/* ----------------------------------------------------- Overlay Styles ------------------------------------------------- */

.image-overlay {
	position: relative;
}
.image-overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	background: url('/wp-content/uploads/2025/09/essendon-image-overlay-asset.png') no-repeat no-repeat center bottom;;
	background-size: contain; 
	pointer-events: none; 
}


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

.menu ul {
	padding: 0px;
	margin: 0;
}
.menu li {
	list-style: none;
	display: inline-block;
	padding: 3px 15px;
	margin-left: 10px;
	background-image: none;
	margin-bottom: 10px;
}
.menu a {
	color: var(--teal);
	font-size: 15px;
	font-weight: 400;
}

.menu ul li ul {
	position:absolute;
	left:-999em;
	z-index:9999 !important;
	width: 20%;
	text-align: left;
	padding-top: 10px;
	padding-bottom: 10px;
	background-color: var(--white);
}
.menu ul li ul li {
	display: block;
	margin-bottom: 0;
	padding-left: 0;
	padding-right: 20px;
}
.menu ul li:hover ul, .menu ul li ul:hover {
	left:auto;
}

/** Menu arrows **/
.menu li > a:after {
    content: '  ▾';
	vertical-align: 1px;
}

.menu li > a:only-child:after {
    content: '';
}
/* ----------------------------------------------------- Header And Banner Image Styles ---------------------------------------------------------------- */

header {
	max-width: 100%;
}

.logo {
	max-height: 100px;
}

.banner-image {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 65vh;             
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.banner-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 1;
  pointer-events: none;
}
.banner-caption p {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  color: #fff !important;
  line-height: 1.3;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
	text-align: right;
}

.video iframe {
	position:absolute; 
	top:0; 
	right:0; 
	width:80%; 
	height:80%;
}



/* Animation keyframes */
@keyframes scroll-loop {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.tab {
  padding: 10px 0;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab.active {
  border-bottom: 2px solid #d5a6bd;
  font-weight: bold;
}

.left-column p {
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 8px 0;
}

.left-column p.active {
  border-bottom: 2px solid var(--green);
  font-weight: bold;
}

.left-column h3 {
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 8px 0;
	font-weight: 300;
}

.left-column h3.active {
  border-bottom: 2px solid var(--red);
  font-weight: bold;
}


.scroll-section {
  background: var(--white);
  padding: 60px 0;
}

.scroll-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.left-column {
  flex: 1;
  position: sticky;
  top: 100px; /* adjust as needed */
  align-self: flex-start;
}


.right-column {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.content-block {
  background: var(--light-teal);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  font-size: 1.1rem;
}


/* ----------------------------------------------------- Generic Content Styles ---------------------------------------------------------------- */

.content-padding {
	padding: 5%;
}
.content-padding-sm {
	padding: 2.5%;
}
.content-padding-xs {
	padding-top: 0.5%;
	padding-bottom: 0.5%;
}
.content-margin {
	margin: 5% 0;
}

.tab-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 0;
  display: flex;
}

.tab-nav li {
  flex: 1; /* distribute evenly */
  text-align: center; /* center text in each tab */
	margin-bottom: 0;
}

.tab-nav a {
  text-decoration: none;
  padding: 15px;
  display: block;
  color: #008297; /* teal */
  font-weight: bold;
  transition: all 0.3s ease;
  background: #fff; /* default background */
}

.tab-nav a.active {
  color: var(--red);
  border-bottom: none; /* remove bottom border so it connects with content */
  background: var(--light-teal);
}

.tab-content {
  display: none;
  background: var(--light-teal);
  border-radius: 0 0 4px 4px; /* square top so it connects with tab */
}

.tab-content.active {
  display: block;
}

/* Default: keep dropdown hidden, use tabs */
.services-tabs .tab-select-wrap { display: none; }
.services-tabs .tab-select { width: 100%; padding: 10px 12px; border: 1px solid #eee; border-radius: 6px; color: var(--teal); background-color: #eee; }

/* Panels: only show the active one */
.services-tabs .tab-content { display: none; }
.services-tabs .tab-content.active { display: block; }


.mtt-tab img {
	padding-bottom: 20px;
}
img {
  max-width: 100%;
}


.meeting-box {
  background-color: #5f9ca6; /* teal background */
  padding: 40px 30px;
  border-radius: 4px;
  color: #fff;
  position: relative;
  overflow: hidden;
}



.btn-meeting:hover {
  background: #f1f1f1;
  color: #4b7e86;
}

/* ----------------------------------------------------- Metaslider Styles ---------------------------------------------------------------- */

.slides {
	padding: 0px !important;
}
.ms-image {
	display: block !important;
	height: 80vh !important;
	position: relative !important;
}
.ms-image img {
	height: 100%;
	object-fit: cover;
	object-position: center;
	width: 100%;
	background-color: rgba(0,55,98,0.65);
}

.metaslider .caption-wrap {
    bottom: 5% !important;
    background: none !important;
	opacity: 1 !important;
}
.caption-wrap .caption {
	position: absolute;
	bottom: 5%;
	left: 3%;
	padding: 20px 35px !important;
	background-color: var(--orange);
	width: auto;
	font-family: 'IBM Plex Sans', sans-serif;
	color: var(--white);
	font-weight: 400;
	font-size: 35px;
	text-transform: uppercase;
	line-height: initial;
}

.metaslider .flexslider .slides > li img
{
	height: inherit;
}

/* ----------------------------------------------------- Button and A Styles ---------------------------------------------------------------- */

.btn-teal, button.btn-teal {
	text-align: center;
	border: none;
	background-color: var(--teal);
	color: white;
	font-weight: 400;
	font-size: 15px;
	padding: 10px 20px;
	text-decoration: none !important;
	margin-top: 2%;
	margin-right: 2%;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.btn-teal:hover {
	background-color: var(--red);
}

.btn-red {
	text-align: center;
	border: none;
	background-color: var(--red);
	color: white;
	font-weight: 400;
	font-size: 15px;
	padding: 10px 20px;
	text-decoration: none !important;
	margin-top: 5%;
	margin-right: 2%;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.btn-red:hover {
	background-color: var(--teal);
}


/* ----------------------------------------------------- Footer Styles ---------------------------------------------------------------- */

footer p, footer a {
	color: var(--dark-grey);
	font-size: 14px;
}


/* ----------------------------------------------------- Contact Form Styles ---------------------------------------------------------------- */

.field-wrap > div input {
	width: 100%;
  	background-color: var(--light-teal);
  	border: none;
  	padding: 10px;	
}

.field-wrap textarea {
	background-color: var(--light-teal);
  	border: none;
  	padding: 10px;	
}

.field-wrap input[type="submit"] {
	text-align: center;
	border: none;
	background-color: var(--teal);
	color: white;
	font-weight: 400;
	font-size: 15px;
	padding: 10px 10px;
	text-decoration: none !important;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.field-wrap input[type="submit"]:hover {
	text-align: center;
	border: none;
	background-color: var(--red);
	color: white;
	font-weight: 400;
	font-size: 15px;
	padding: 10px 10px;
	text-decoration: none !important;
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.nf-field-element textarea {
  height: 100px !important;
}
#ninja_forms_required_items, .nf-field-container {
	margin-bottom: 15px !important;
}
.nf-form-fields-required {
	font-size: 14px;
  	color: #999;
  	margin-bottom: 10px;
}
.bg-teal .nf-form-fields-required {
	color: #fff;
}

/* ----------------------------------------------------- RSS and Keep up to date Styles ---------------------------------------------------------------- */
.rss-blog-link {
	border-left: none !important;
	border-right: none !important;
	text-decoration: none !important;
}
.rss-blog-link .title {
	font-size: 17px;
	margin-bottom: 0px;
}
.rss-blog-link .date {
	font-size: 14px;
}
.rss-blog-link h4 {
	margin-bottom: 10px;
}
.rss-blog-link h3 {
	font-size: 20px;
	font-weight: 300;
	margin-top: 12px;
}
.blog-bar {
	background-color: #313131;
	padding-bottom: 20px;
	padding-top: 25px;
}
.blog-bar-col2 {
	padding-top: 15px;
}
.blog-image-container {
	background-size: cover;
	background-position: center center;
	background-repeat:  no-repeat;
	height: 25vh;
}

/* ---------- WordPress styles ----------- */

.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
	padding-right: 2.5%;
}

/* ----- Plugin overwrite styles ------ */
.sp-testimonial-free-section .sp-testimonial-client-testimonial, .sp-testimonial-free-section .sp-testimonial-client-testimonial p {
	font-size: 28px !important;
	line-height: 1.2 !important;
	font-weight: 300 !important;
	text-align: left !important;
	color: var(--teal) !important;
	padding: 0 !important;
}
.sp-testimonial-free-section .sp-testimonial-client-name, .sp-testimonial-free-section .sp-testimonial-client-designation {
	text-align: left !important;
}

/* ----------------------------------------------------- 2200px + ---------------------------------------------------------------- */

@media only screen and (min-width : 2200px) {
}


/* ----------------------------------------------------- Smaller than 2200px ----------------------------------------------------- */

@media only screen and (max-width : 2200px) {
}


/* ----------------------------------------------------- Smaller than 1800px ----------------------------------------------------- */

@media only screen and (max-width : 1800px) {
}


/* ----------------------------------------------------- Smaller than 1750px ----------------------------------------------------- */

@media only screen and (max-width : 1750px) {
}


/* ----------------------------------------------------- Smaller than 1650px ----------------------------------------------------- */

@media only screen and (max-width : 1650px) {	
}


/* ----------------------------------------------------- Smaller than 1550px ----------------------------------------------------- */

@media only screen and (max-width : 1550px) {
}


/* ----------------------------------------------------- Smaller than 1450px ----------------------------------------------------- */

@media only screen and (max-width : 1450px) {
}


/* ----------------------------------------------------- Smaller than 1350px ----------------------------------------------------- */

@media only screen and (max-width : 1350px) {

}


/* ----------------------------------------------------- Smaller than 1250px ----------------------------------------------------- */

@media only screen and (max-width : 1250px) {
} 


/* ----------------------------------------------------- Smaller than 1125px ----------------------------------------------------- */

@media only screen and (max-width : 1125px) {
	
	
}


/* ----------------------------------------------------- Smaller than 1080px ----------------------------------------------------- */
@media only screen and (max-width : 1080px) {
	.caption-wrap .caption {
 	   font-size: 30px;
	}
}


/* ----------------------------------------------------- Smaller than 1024px - iPad landscape ----------------------------------------------------- */

@media only screen and (max-width : 1024px) {	

}


/* ----------------------------------------------------- Smaller than 991px ------------------------------------------------------ */

@media only screen and (max-width : 991px) {
	.caption-wrap .caption {
 	   	font-size: 25px;
		padding: 16px 20px !important;
	}
	.menu li {
		padding: 1px 12px 2px 12px;
	}
	
  .scroll-section .scroll-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .scroll-section .left-column {
    position: static;   
    overflow: visible;   
  }

  .scroll-section .left-column [data-tab] {
    display: none !important;
  }

  .scroll-section .right-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    width: 100%;
  }

  .scroll-section .content-block {
    width: 100%;
    border-radius: 12px; 
    padding: 16px;      
  }
	
	.video iframe {
		top:5%; 
		left:0; 
		width:95%; 
		height:95%;
	}

}

/* ----------------------------------------------------- Smaller than 870px ------------------------------------------------------ */

@media only screen and (max-width : 870px) {	

}

/* ----------------------------------------------------- Smaller than 800px ------------------------------------------------------ */

@media only screen and (max-width : 800px) {	
	
}


/* ----------------------------------------------------- Smaller than 768px - iPad portrait ------------------------------------------------------ */

@media only screen and (max-width : 768px) {
	.mobile-center {
		text-align: center !important;
	}
	.mobile-left {
		text-align: left !important;
	}
	.mobile-width-100 {
		width: 100%;
	}
	.metaslider .caption-wrap {
	    width: 90% !important;
	}
	
	.services-tabs .tab-nav { display: none; }
  .services-tabs .tab-select-wrap { display: block; margin-bottom: 16px; }

  /* Stack columns inside each panel */
  .services-tabs .tab-content .row { display: block;
	background-color: var(--light-teal);
	}
  .services-tabs .tab-content .row > [class*="col-"] { width: 100%; max-width: 100%; padding: 10%; }

  /* Put the image below the text, and give it height */
  .services-tabs .image-overlay { min-height: 355px; margin-top: 12px; }
	
	.row-with-bg {
		background: none;
	}
	.row-with-bg-2 {
		background: none;
	}

	.child-page, .mtt-tab {
		margin-bottom: 35px;
	}
	.home-header {
		padding-bottom: 5%;
	}

}


/* ----------------------------------------------------- Smaller than 700px ------------------------------------------------------ */

@media only screen and (max-width : 700px) {
}

/* ----------------------------------------------------- Smaller than Mobile ----------------------------------------------------- */

@media only screen and (max-width : 650px) {

}


/* ----------------------------------------------------- Smaller than 540px ------------------------------------------------------ */

@media only screen and (max-width : 540px) {	
  .services-tabs .image-overlay { 
	  min-height: 280px; 
	}

}


/* ----------------------------------------------------- Smaller than 500px ------------------------------------------------------ */

@media only screen and (max-width : 450px) {

}