/*
Theme Name: Enfold Child
CodeRiver Studio css
*/

/* Colours */
:root {
    --green: #33CD32;
    --orange: #F5811C;
    --blue: #11509A;
    --lightbg: #F5F5F5;
    --darkbg: #343839;
}

/* Border-radius */
.br5 {
    border-radius: 5px !important;

}


/*Top bar */
#top #header_meta {
	padding: 4px 0;
    background-color: #33CD32 !important;
}
#top #header_meta .container {
	text-align: center;
}

/* Social bookmarks */
#top .social_bookmarks li a {
	color: #ffffff !important;
	font-size: 1.4em;
	border-radius: 50%;
	line-height: 44px !important;
	height: 44px !important;
	width: 44px !important;
	min-width: 44px;
}
#top #wrap_all .social_bookmarks {
	line-height: 44px;
	float: none;
    display: inline-block;
}
#top #header .social_bookmarks_facebook a:hover,
#top #header .social_bookmarks_mail a:hover,
#top #header .social_bookmarks li a:last-child:hover {
	background-color: #11509A;
	color: white !important;
}
#top .social_bookmarks li {
    margin-right: 15px !important;
}

/* Phone info */
#top #header_meta .phone-info {
	text-align: center !important;
	line-height: 40px;
	padding: 0px 14px 0 14px;
	border-radius: 30px;
	margin-left: 90px;
	float: none;
    display: inline-block;
}
.phone-info a,
.contacts-top-line {
   text-decoration: none;
   transition: ease-in-out .25s;
   padding: 0px 2px;
   border-radius: 30px;
   font-size: 1.4em !important;
   color: white;
	line-height:38px;
}
.phone-info:hover {
   background-color: #11509A;
}


/* Book appointment buttons */
.book-appointment {
	padding-top: 20px;
}
.book-appointment-not-home {
    padding-top: 30px;
}

/* Pill buttons */
.pill a {
    border-radius: 30px !important;
    box-shadow: 0 10px 20px 0 rgba(0,0,0,0.2) !important;
}

/* Menu */
/* #header_main_alternate {
    background-color: #f4f4f4;
    opacity: 0.7;
} */

/* Headings */
h1, h2, h3, h4, h5, h6 {
	letter-spacing: 1.5px !important;
}
h1 {
	font-variant: small-caps !important;
}

/* Lists */
li {
	font-size: 1rem !important;
    line-height: 1.3rem !important;
}


/* Curly ampersand bye bye */
.special_amp {
    font-family: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    font-style: inherit !important;
    color: inherit !important;
}


/* Special Heading */
.av-thin-font .av-special-heading-tag,
.modern-quote .av-special-heading-tag {
	font-weight: 500!important;
}


/* Box Shadows */
.shadow,
.shadow-no-hover {
   padding: 10px;
   box-shadow: 0 15px 25px 0 rgba( 0, 0, 0, 0.4) !important;
   transition: box-shadow 0.35s ease-in-out;
}
.shadow:hover {
   box-shadow: 0 10px 20px 0 rgba( 245, 129, 28, 0.5) !important;
}

.shadow-img img {
   padding: 10px;
   box-shadow: 0 15px 25px 0 rgba( 0, 0, 0, 0.1) !important;
}
.shadow-img img:hover {
   box-shadow: 0 10px 20px 0 rgba( 245, 129, 28, 0.5) !important;
}


/* Header */
#header_main {
	background-image: url("https://malleeborderhealth.com.au/wp-content/uploads/2026/07/Pinnaroo-town-slim-light.webp");
}

/* Logo */
/* .logo img {
	box-shadow: 0 15px 25px 0 rgba( 0, 0, 0, 0.1) !important;
} */

/* Hero slideshow */
#top .caption_left .slideshow_caption #page-header-title {
	font-variant: small-caps;
	line-height: 1em !important;
	font-weight: 300;
	margin-top: 15px;
	margin-bottom: 15px;
	padding-right: 40px;
}
.av_slideshow_full .container.caption_container {
	position: absolute !important;
	left: 0;
}
#top .caption_left .slideshow_caption {
	top: 0px;
	left: 0px !important;
	width: 35%;
	padding: 20px;
    background-color: rgba(0, 0, 12, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(4px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
	/* background-color: rgba(33, 70, 132, 0.8); */
    /* background-color: rgba(131, 191, 224, 0.8); */
}
#top .caption_left .slideshow_inner_caption {
	top: 0px;

}
#top .caption_left .slideshow_caption .avia-caption-title {
    margin-top: 10%;
    margin-bottom: 30px;
    padding: 30px 20px 20px;
    width: 100% !important;
    border-radius: 4px;
    background: #0F4789 !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    text-align: center;
}
#top .caption_left  .slideshow_caption .avia-caption-content {
    line-height: 1.6em !important;
    text-align: center;
}
div .slideshow_align_caption {
	text-align: left !important;
	vertical-align: top;
}


#page-header-title {
	color: #856849 !important;
}


/*
#scroll-top-link {
   display: none;
}
*/


/* Enfold contact form
#top div .av-dark-form .input-text,
#top div .av-dark-form input[type='text'],
#top div .av-dark-form input[type='input'],
#top div .av-dark-form input[type='password'],
#top div .av-dark-form input[type='email'],
#top div .av-dark-form input[type='number'],
#top div .av-dark-form input[type='url'],
#top div .av-dark-form input[type='tel'],
#top div .av-dark-form input[type='search'],
#top div .av-dark-form textarea,
#top div .av-dark-form select,
div div .av-dark-form .button {
	border-width: 1px !important;
	border-color: #12AF87 !important;
}
#top .avia_ajax_form .text_area {
  border-color: #12AF87 !important;
  border-width: 1px !important;
}
.av-custom-form-color .button {
  border-color: #12AF87 !important;
  border-width: 1px !important;
}
div .product-sorting {
    display: none;
}
*/


/* Footer and Socket */
#menu-footer-menu a {
   font-size: 16px !important;
}
#socket .copyright {
    text-align: center;
    width: 100%;
}
#footer .widget {
text-align: center;
}


.slider-title {
	text-transform: none;
	color: #0F4789;
}


/* iframe size for healthengine popups */
.mfp-iframe-holder .mfp-content {
    width: 80%;
    max-width: 600px;
    min-height: 80vh;
}
/* Height */
.mfp-iframe-scaler {
    min-height: 80vh;
}


/* CodeRiver Studio link button in copyright in socket */
 .crslink {
  background-color: #454A4B;
	display: inline-block;
	padding: 4px 10px;
	margin-left: 5px;
	border-radius: 17px;
	transition: .25s ease-in-out;
}
.crslink:hover {
	color: white;
	background-color: #12AF87;
	transition: .25s ease-in-out;
}


/* Images */
.image-box img {
    border-left: 20px solid #0F4789 !important;
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.4) !important;

}

/* Page titles */
.page-title {
    /* background-color: rgba(33, 70, 132, 0.8); */
    padding-top: 20px;
    padding-bottom: 0;
    padding-left: 8px;
    /* border-left: 10px solid #33CD32 !important; */
}


/* Contact info */
.contact-holder {
    overflow-wrap: break-word;
    word-break: break-all;
    display: inline-block;
    max-width: 100% !important;
    overflow: hidden;
    text-align: left !important;
}
.contact-line{
    line-height: 1.3rem;
}
.contact {
    position: absolute;
    left: 36px;
    font-size: 0.9rem !important;
}

/* BioCeuticals */
.bioceuticals {
    border-left: 20px solid var(--orange)!important;
	border-right: 20px solid var(--orange)!important;
	transition: border .35s ease-in-out box-shadow: .35s ease-in-out outline .35s ease-in-out!important;
}
.bioceuticals:hover {
/* 	border-top: 1px solid rgba(245,129,28,0.7);
	border-bottom: 1px solid rgba(245,129,28,0.7); */
	outline: 1px solid rgba(255,255,255,0.4);
}

/*--------------------------------*/
/*  Practice hours tabs               */
/*--------------------------------*/
#practice-hours-tabs.tabcontainer .tab,
#fees-tabs.tabcontainer .tab {
    font-size:1rem;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    background-color: #cecece;
    border: 1px solid #a4a4a4;
    border-bottom: none;
    color: #444444 !important;
    transition: background-color 250msec ease-in-out;
}
#practice-hours-tabs .tab:hover,
#fees-tabs .tab:hover {
    background-color: #e8e8e8;
}
#practice-hours-tabs .tab.active_tab,
#fees-tabs .tab.active_tab {
    background-color: #0F4789 !important;
    border: 1px solid #0F4789;
    border-bottom: none;
    color: white !important;
    stroke: white;
}
div .main_color .tabcontainer .active_tab_content {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-right-radius: 20px;
}
@media screen and (max-width: 767px) {
    #practice-hours-tabs.tabcontainer .tab,
    #fees-tabs.tabcontainer .tab {
        border-radius: 0 !important;
    }
    div .main_color .tabcontainer .active_tab_content {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }
    .responsive #top .main_color .active_tab_content {
        background-color: white !important;
    }
}


/* TablePress Fees */
.tablepress-id-1, .tablepress-id-2, .tablepress-id-3, .tablepress-id-4, .tablepress-id-5 {
    table-layout: fixed !important;
    width: 100% !important;
}

.tablepress-id-1 .column-1,
.tablepress-id-2 .column-1,
.tablepress-id-3 .column-1,
.tablepress-id-4 .column-1,
.tablepress-id-5 .column-1 {
    width: 200px !important;
}

.tablepress-id-1 .column-2,
.tablepress-id-2 .column-2,
.tablepress-id-3 .column-2,
.tablepress-id-4 .column-2,
.tablepress-id-5 .column-2 {
    width: 100px!important;
}


.tablepress-id-1,
.tablepress-id-1 tr,
.tablepress-id-1 td,
.tablepress-id-1 th,
.tablepress-id-2,
.tablepress-id-2 tr,
.tablepress-id-2 td,
.tablepress-id-2 th,
.tablepress-id-3,
.tablepress-id-3 tr,
.tablepress-id-3 td,
.tablepress-id-3 th,
.tablepress-id-4,
.tablepress-id-4 tr,
.tablepress-id-4 td,
.tablepress-id-4 th,
.tablepress-id-5,
.tablepress-id-5 tr,
.tablepress-id-5 td,
.tablepress-id-5 th {
    border: none !important;
}
.tablepress-id-1 .row-1 td,
.tablepress-id-1 .row-2 td,
.tablepress-id-2 .row-1 td,
.tablepress-id-3 .row-1 td,
.tablepress-id-4 .row-1 td,
.tablepress-id-4 .row-2 td,
.tablepress-id-5 .row-1 td {
    background-color: aqua;
    font-weight: 700;
}

 /* Table id 1 - Nurse Practitioner */
.tablepress-id-1 .row-4 td {
    background-color: #BAE1F2;
    font-weight: 700;
}
.tablepress-id-1 .row-6 td,
.tablepress-id-1 .row-11 td {
    background-color: #C8F2C8;
    font-weight: 700;
}
.tablepress-id-1 .row-7 td,
.tablepress-id-1 .row-9 td,
.tablepress-id-1 .row-13 td,
.tablepress-id-1 .row-15 td {
    background-color: #F5F5F5;
}
.tablepress-id-1 .row-16 td {
    background-color: #ffffff;
}

/* Table id 2 - GP */
.tablepress-id-2 .row-3 td {
    background-color: #BAE1F2;
    font-weight: 700;
}
.tablepress-id-2 .row-5 td,
.tablepress-id-2 .row-9 td,
.tablepress-id-2 .row-13 td,
.tablepress-id-2 .row-17 td {
    background-color: #C8F2C8;
    font-weight: 700;
}
.tablepress-id-2 .row-2 td,
.tablepress-id-2 .row-4 td {
    background-color: white;
}
.tablepress-id-2 .row-7 td,
.tablepress-id-2 .row-11 td,
.tablepress-id-2 .row-15 td,
.tablepress-id-2 .row-19 td {
    background-color: #f5f5f5 !important;
}

/* Table id 3 - Physio */
.tablepress-id-3 .row-2 td,
.tablepress-id-3 .row-4 td {
    background-color: white;
}
.tablepress-id-3 .row-3 td {
    background-color: #BAE1F2;
    font-weight: 700;
}
.tablepress-id-3 .row-5 td,
.tablepress-id-3 .row-8 td {
    background-color: #C8F2C8;
    font-weight: 700;
}
.tablepress-id-3 .row-9 td {
    background-color: #f5f5f5;
}

/* Table id 4 - Podiatry */
.tablepress-id-4 .row-4 td {
    background-color: #BAE1F2;
    font-weight: 700;
}
.tablepress-id-4 .row-3 td,
.tablepress-id-4 .row-5 td {
    background-color: white;
}
.tablepress-id-4 .row-6 td {
    background-color: #C8F2C8;
    font-weight: 700;
}

/* Table id 5 - Speech Pathology */
.tablepress-id-5 .row-3 td {
    background-color: #BAE1F2;
    font-weight: 700;
}
.tablepress-id-5 .row-2 td,
.tablepress-id-5 .row-4 td {
    background-color: white;
}
.tablepress-id-5 .row-5 td,
.tablepress-id-5 .row-8 td {
    background-color: #C8F2C8;
    font-weight: 700;
}


/* Iconbox */
#top .main_color.iconbox_top.equal-height-iconbox .iconbox_content {
    min-height: 360px !important;
}


/* Team */
.team-holder {
    border-radius: 40px;
    color: whitesmoke !important;
    box-shadow: 0 20px 30px 0 rgba(0, 0, 0, 0.4);
    border-bottom: 2px solid whitesmoke !important;
    border-right: 2px solid whitesmoke !important;
}
.team-section .av-special-heading-tag {
    color: white;
}
.team-section .av-special-heading .av-subheading {
    color: #F5811C;
    font-weight: 700;
}
#top .team-holder .team-image {
    box-sizing: border-box;
    width: 300px;
    margin-right: 30px !important;
    margin-bottom: 20px !important;
    border-radius: 20px;
    border-left: 6px solid #F5811C;
    transition: transform 0.8s ease, border-left-width 0.2s ease;
}
.team-holder:hover .team-image {
    transform: translateX(4px);
    border-left-width: 10px !important;
}
@media screen and (max-width: 990px) {
    #top .team-holder .team-image {
        border-left: none !important;
        padding: 0 !important;
        margin: 0 20px 20px 0 !important;
        border-radius: 5px !important;
    }
}


/* Services holder *********************************************/
.service-holder {
	border-radius: 20px !important;
}
.service-card-image {
	border: 6px solid whitesmoke !important;
	border-radius: 5px;
}
/* Iconbox in Service-holder */
/* Hide the native font icon character */
.multicolor-box .avia-font-entypo-fontello::before {
    display: none !important;
}
.centre-iconbox {
	margin-top: -20px !important;
}
#top .service-holder .iconbox_content_container {
	min-height: 180px !important;
}
/* Pin the read more button to bottom right */
.pin-bottom-right {
	position: absolute;
	bottom: 20px;
	right: 20px;
}
/* Use Muffin Bear svg logos */
/* Center the container layout */
.iconbox_icon.avia-font-svg_wp-media-library {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    overflow: visible !important; /* Prevents the scaled SVG from getting clipped */
}
/* Force scale the vector graphic from its absolute center */
.iconbox_icon.avia-font-svg_wp-media-library svg {
    transform: scale(2.7) translate(0.5px, 0px)!important; /* Adjust this value to scale up (e.g., 2.5, 3.0) */
    transform-origin: center center !important;
    display: block !important;
}


/* Card-wide *********************************************/
.card-wide {
	box-shadow: 0 20px 30px 0 rgba(0,0,0,0.3) !important;
	outline: 2px solid rgba(255,255,255,0.6);
/* 	border-radius: 40px !important; */
}
.card-wide .full-height {
	min-height: 493px !important;
	padding-right: 20px;
}
.card-wide  img {
	width: 400px;
	padding: 0 30px  30px 0 !important;
	position: absolute;
	top: -4px !important;
	bottom: 0px !important;
}
#top .card-wide p+h2 {
	margin-top: -10px !important;
	margin-bottom: 30px;
}
.card-wide .pin-bottom-right {
	position: absolute;
	bottom: 60px;
	right: 60px;
}
@media only screen and (max-width: 990px) {
	.responsive #top #wrap_all .flex_column.card-wide {
		padding: 30px 8px 30px 8px !important;
	}
	.card-wide .full-height {
		padding: 5px !important;
	}
	#top .card-wide div p img {
		float: none !important;
		margin: auto !important;
		min-width: 100% !important;
		padding: 0 !important;	
	}
	.card-wide .pin-bottom-right {
		display: none;
	}
	#top .card-wide div p {
		margin-top: 4px !important;
	}
}



/* Resource Logos and links */
/* Force Enfold logo grid images to fit without cropping */
#top .avia-logo-element-container .slide-image img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    margin: 0 auto !important;
}
/* Center the logos vertically inside their grid boxes */
#top .avia-logo-element-container .slide-entry {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 150px; /* Adjust this height to match your grid size if needed */
    border-radius: 5px !important;
    background-color: transparent;
    transition: transform .8s ease, background-color .8s ease;
}
#top .avia-logo-element-container .slide-entry:hover {
    background-color: var(--orange);
}
/* Add a 20px buffer around each logo link container */
#top .avia-logo-element-container .slide-entry a {
    padding: 20px !important;
    display: block !important;
    box-sizing: border-box !important;
    background-color: white !important;
}
/* Ensure the image respects the new padding boundaries */
#top .avia-logo-element-container .slide-image img {
    max-width: 100% !important;
    height: auto !important;
}
#top .av-border-deactivate.avia-logo-element-container img {
    padding: 0px !important;
    display: block !important;
    box-sizing: border-box !important;
}


/* Accordion */
.js_active .toggler.activeTitle {
    background-color: var(--orange) !important;
    color: white !important;
}
.av-minimal-toggle .toggle_content {
    background-color: white !important;
}


/* MOBILE */
@media only screen and (max-width: 990px) {
	
	#top #header_main {
		background-image: none !important;
	}
    #mobile-site-title {
        font-size: 28px !important;
    }
    #top #header_meta .phone-info {
        text-align: center;
        margin-left: 0px;
        width: 100%;
    }

    /* Mobile side by side booking buttons */
    .responsive #top #wrap_all #main .entry-content-wrapper .flex_column.mobile-side-by-side {
        width: 31% !important;
        float: left !important;
        margin-left: 3.5% !important;
        clear: none !important;
    }
    /* Remove the margin from the very first column in the row */
    .responsive #top #wrap_all #main .entry-content-wrapper .flex_column.mobile-side-by-side:first-child,
    .responsive #top #wrap_all #main .entry-content-wrapper .flex_column.mobile-side-by-side.av-first-col {
        margin-left: 0 !important;
    }
    /* Remove 50px standard padding from button section */
    #top .content {
        padding: 15px 0 !important;
    }
    /* Remove top margin from 1st article */
    .home-lead-item {
        margin-top: 0px !important;
        padding-top: 0px !important;
    }
}


/* Smooth ticker for team */
/* Ticker Container */
.smooth-image-ticker {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
    padding: 0;
    background: transparent; /* Adjust as needed */
}

/* Flex Track containing both sets of images */
.smooth-image-ticker .ticker-track {
    display: inline-flex;
    width: max-content;
    animation: smoothScrollTicker 25s linear infinite;
    background-color: rgba(245,129,28,.1);
}

/* Individual Image Containers */
.smooth-image-ticker .ticker-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px; /* Space between tiles */
}

.smooth-image-ticker .ticker-item img {
    height: 80px; /* Adjust height of your tiles */
    width: auto;
    display: block;
    border-radius: 4px;
    border: 2px solid var(--orange);
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* Pause the animation on hover for user accessibility */
.smooth-image-ticker:hover .ticker-track {
    animation-play-state: paused;
}
/* Smooth keyframe translation */

@keyframes smoothScrollTicker {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0); /* Moves exactly half the track width (the first set) */
    }
}

/* Break out of the standard container constraint */
.fullwidth-ticker-block {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
}

/* Strip Enfold's native container padding from this specific item */
#top .entry-content-wrapper .fullwidth-ticker-block {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Nurse practioner text header */
.text-balloon {
	border-radius: 20px !important;
	margin-bottom: 60px;
}
