/*Highlight Color for Focus Accessibility when using Tab*/

/* 1. Reset focus styles only for mouse (click), but allow keyboard (tab) */
input:focus:not(:focus-visible),
textarea:focus:not(:focus-visible),
button:focus:not(:focus-visible),
select:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
  outline: none;
}

/* 2. Show focus outline for keyboard navigation (tab) */
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid #FFBF47;
  outline-offset: 5px;
  border-radius: 4px;
}

/*header - remove site title*/
.site-title {
	display:none;
}

/*Remove Margin from Elementor Text*/

.elementor-widget-text-editor p:last-child {
	margin-bottom:0px !important;
}

/*Mega Menu align with content*/
.mega-sub-menu {
	margin-top:25px !important;
}


#mega-menu-33-0 {
	margin-top:-65px !important;
}

a.mega-menu-link{
	text-align:center !important;
	font-size:18px !important;
	color:#2a3591 !important;
}
a.mega-menu-link:hover{
	color:#bd5090 !important;
}

#mega-menu-item-124 {
	margin-top:-45px !important;
}

#mega-menu-item-156{
	margin-top:-45px !important;
}
#mega-menu-item-125 {
	margin-top:-45px !important;
}


#mega-menu-item-123{
	margin-top:-25px !important;
}

#mega-menu-item-158{
	margin-top:-25px !important;
}

#mega-menu-item-3276 {
	margin-top:-25px !important;
}

/*Events Link Left Align*/
#mega-menu-item-27 > a.mega-menu-link {
	text-align: left !important;
}

/*Resources Link Left Align*/
#mega-menu-item-28 > a.mega-menu-link {
	text-align: left !important;
}

/*Volunteering Link Left Align*/
#mega-menu-item-4764 > a.mega-menu-link {
	text-align: left !important;
}

/*Careers Link Left Align*/
#mega-menu-item-4763 > a.mega-menu-link {
	text-align: left !important;
}

/*Menu button for Referral Form*/

.button {
padding-top:10px;
padding-bottom:10px;
padding-left:30px;
padding-right:30px;
color:#ffffff;
	border-radius:20px;
	background-color:#2a3591;
	font-size:1.2em;
	border:solid 5px #bd5090;

}
.button:hover{
	background-color:#bd5090;
	border:solid 5px :#bd5090;
}

/*Home Page Service Links*/
.service-link a{
	text-decoration:none !important;
}

.service-link a:hover {
	color: #ffffff !important;
}

.service-container {
	filter 0.3s ease;
	border-radius: 20px;
}

.service-container:hover {
	box-shadow: 0 0 20px 10px rgba(200, 200, 255, 0.8);
}

/*HomePage Slider*/
#post-10 {
	box-sizing:border-box !important;
}
/*Removed padding for carousel*/
div.elementor-element {
	padding-top:0px;
	padding-left:0px;
	padding-right:0px;

}

/*HomePage Testimonials: This makes the bubbles' the same height*/

.elementor-widget-testimonial-carousel .elementor-testimonial__text  {
	min-height:250px !important;
	justify-content:center !important;
	display:flex !important;
	align-items:center !important;
}

/*Aged Care Page*/
/*Hero Image Margins*/
#aged-care-img {
 height: 100%;
  width: 100%;
  object-fit: cover;
}

/*Events Page*/
/*button-color*/
button.tribe-common-c-btn.tribe-events-c-search__button {
	color:white;
	background-color:#2a3591;
}

button.tribe-common-c-btn.tribe-events-c-search__button:hover{
	background-color:#fdb816;
	color:#000000;
}

div.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button {
	color:#2a3591;
	border:solid #2a3591;
}

div.tribe-common-c-btn-border.tribe-events-c-subscribe-dropdown__button:hover {
	background-color:#07b3c4 !important;
	border:none;
}

/*OPSSA Page: Change telephone number link color for Safari Browsers*/
a.custom-phone-1[href^="tel"] {
  color: #ffffff !important;  /* Replace with your desired color */
  text-decoration: none !important;
  -webkit-text-fill-color: #ffffff !important; /* Safari-specific */
}



/*Contact Us Page*/
/*Form Labels*/

label {
	color:#2a3591 !important;
	font-size:.9em;
	font-weight:bold;
}

/*This center aligns the submit button and makes the width 50% */

.wpcf7-submit{
	width:60%;
	display:block;
	margin:0 auto!important;
	font-size:1.2em !important;
}

.wpcf7-submit:hover {
	color:#000000 !important;
}

/*Intake form*/
.form-row {
  display: flex;
  gap: 20px;
  align-items: flex-start; 
	margin-bottom:0px;
}

.form-col {
 flex:1; 
}

.col-1 {
  flex: 1;
}

.col-2 {
  flex: 2;
}

select,
.form-col select {
  height: 40px;
  line-height: 1.2;
  padding: 5px 10px;
  font-size: 1em;
  box-sizing: border-box;
}


/*Social Link Colors*/
a.wp-block-social-link-anchor svg {
	color:blue !important;
}

/*Icon Circles for Service Pages*/
.icon-circle {
    flex:0 0 100px !important;
}

/*footer - border*/
img.wp-image-187 {
	margin-bottom: -85px;
}


/*ackowledgement*/
#block-22 {
	padding-left:40px;
	padding-right:40px;
	text-align:center;
}

.footer-widget-area.widget-area.site-footer-focus-item{
	width:100% !important;
}

/*footer - copyright*/
.ast-footer-copyright {
	background-color:#2a3591;
	margin:-10px;
	padding-top:10px;
}

/*RESPONSIVE*/

@media screen and (max-width: 600px) {
	
	
	/*Services Links on HomePage*/
	#caassa-services{
		padding-left:25px !important;
		padding-right:25px !important;
	}
	
	/*Responsive Form stacking*/
	@media (max-width: 768px) {
	.form-row {
		flex-direction: column;
	}

	.form-col,
	.form-col.double {
		width: 100%;
		flex: unset; /* Resets flex-grow/shrink if needed */
	}
}
	
	/*Dropdown / toggle colours for mobile menu*/
	button.ast-menu-toggle{
		background-color:#fafafa;
	}
	button.ast-menu-toggle:hover{
		background-color:#fafafa;
	}
	
	/*Margin's for Footer Columns */
	#resources-footer{
		margin-left:30px;
		margin-top:0px !important;
	}
	
	#news-footer{
		margin-left:30px;
		
	}
	
	#services-footer{
		margin-left:30px;
		margin-top:25px !important;
	}
	
	#block-24{
		margin-left:30px;
	}
	
	
	img.wp-image-187{
		margin-bottom:-125px !important;
	}
}