/*
Theme Name:  Physio Health Corrimal
Text Domain: Physio Health Corrimal
Version: 1.0
Description: Custom-design Wordpress Theme for Physio Health Corrimal.
Author: Paul Erickson - brightcode.com.au 
Author URL: a
*/

@font-face {
    font-family: 'Amithen';
    src: url('fonts/Amithen.woff2') format('woff2'), url('fonts/Amithen.eot') format('embedded-opentype'), url('fonts/Amithen.woff') format('woff'), url('fonts/Amithen.ttf') format('truetype'), url('fonts/Amithen.svg') format('svg');
    font-weight: 400;
    font-style: normal;
}

html {
    overflow-y: scroll;
}

html,
body {
    position: relative;
    height: 100%;
    font-size: 15px;
    line-height: 24px;
    background-image: url(images/bknd-v2.svg);
    background-position: 50% 50%;
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Lato', sans-serif;
}

img {
    width: 100%;
    height: auto;
}

p {
    margin-top: 0;
    margin-bottom: 10px;
}

a {
    color: #2d3a8b;
}

a:hover {
    color: #99c455;
    text-decoration: none;
}

.btn-primary {
    background: #FFF;
    color: #2d3a8b;
    border: 2px solid #2d3a8b;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-weight: bold;
    padding: 7px 20px;
}

.btn-primary:after {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    margin-left: 7px;
}

.btn-primary:hover {
    border: 2px solid #99c455;
    background: #99c455;
}

.btn-secondary {
    background: #27aae1;
    border: 1px solid #27aae1;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-weight: bold;
    padding: 7px 20px;
    outline: none;
}

.btn-secondary:after {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    margin-left: 7px;
}

.btn-secondary:hover {
    background: #99c455;
    border: 1px solid #99c455;
}

.btn-secondary:after {
    font-family: "Font Awesome 5 Free";
    content: "\f054";
    margin-right: 7px;
}

.btn-third {
    background: #FFF;
    color: #2d3a8b;
    border: 2px solid #2d3a8b;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-weight: bold;
    padding: 7px 20px;
}

.btn-third:before {
    font-family: "Font Awesome 5 Free";
    content: "\f053";
    margin-right: 7px;
}

.btn-third:hover {
    border: 2px solid #99c455;
    background: #99c455;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: bold;
}

h1 {
    font-size: 34px;
    line-height: 44px;
    color: #2b3990;
    margin-bottom: 20px;
    margin-top: 0;
}

h2 {
    font-size: 26px;
    color: #2b3990;
    margin-bottom: 10px;
}

h3 {
    font-size: 18px;
    color: #2b3990;
    margin-bottom: 10px;
}

h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

hr {
    margin: 20px 0;
}


/* FONT AWESOME */

.fa {
    padding-left: 10px;
}

/* Revert Gutenberg columns to default everywhere */
.wp-block-column{ display:block; }
.wp-block-columns{ align-items:initial; }

/* Apply flex columns only where the timetable needs it */
.phc-timetable .wp-block-column{
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
}


/* .wp-block-image {
    margin-bottom: 0;
} */


/* PAGE CONTENT */

#page-content {
    flex: 1 0 auto;
    margin-top: 25px;
    margin-bottom: 25px;
}

#page-content ul {
    list-style: none;
}

#page-content ul li::before {
    content: "\2022";
    color: #27aae1;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -22px;
}


/* SERVICES CONTENT */

#page-services .col2 {
    border-left: 1px solid #c3c3c3;
    padding-left: 50px;
}

.services-show-menu {
    display: none;
    text-decoration: none;
    color: #fff;
    background: #000000;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
    font-weight: bold;
    cursor: pointer;
}

input[type=checkbox] {
    display: none !important;
    -webkit-appearance: none;
}

input[id=services-show-menu]:checked~.services-menu-sml #menu-services-menu {
    display: block;
}

@media only screen and (max-width: 991px) {
    #page-services .col2 {
        border-left: none;
        padding-left: 15px;
    }
    #page-services .services-menu-sml ul {
        display: none;
        padding: 0;
        margin-bottom: 10px;
    }
    #page-services .services-menu-sml li a {
        width: 100%;
    }
    .services-show-menu {
        display: block;
    }
}


/* BLOG CONTENT */

#page-blog * {
    text-align: left !important;
}

#page-blog .col1 {
    border-right: 1px solid #c3c3c3;
    padding-right: 50px;
}

@media only screen and (max-width: 991px) {
    #page-blog .col1 {
        border-right: none;
        padding-right: 15px;
    }
    #page-blog .col2 {
        border-top: 1px solid #c3c3c3;
        margin-top: 25px;
        padding-top: 25px;
    }
}


/* HEADER */

#main-header {
    background-color: #000;
    margin: 0;
    text-align: center;
}

#main-header .logo {
    padding-left: 70px !important;
    padding-right: 70px !important;
}

#main-header .logo img {
    max-height: 110px;
    width: auto;
}

.alertnav {
    font-size: 16px;
    padding-top: 6px;
    padding-bottom: 8px;
    justify-content: center;
    background-color: #666;
    text-align: center;
    color: #FFF;
}

.alertnav a {
    color: #FFF;
}

.alertnav a:hover {
    color: #99c455;
}

.colourband {
    display: block;
    height: 10px;
    background-image: linear-gradient(135deg, #009347, #00a79d 10%, #2ca9e1 20%, #293b8f 30%, #662f90 40%, #bf1c8c 50%, #ea0a8c 60%, #bd202e 70%, #ef4137 80%, #f79420 90%, #d7df27);
}


/* MAIN MENU */

#menu-main-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    margin: 0 0 0 0;
}

#menu-main-menu li {
    padding: 15px 5px;
}

#menu-main-menu li a {
    color: #FFF;
    font-size: 20px;
    font-weight: 600;
    border: 2px solid #000;
    padding: 6px 10px;
    text-decoration: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#menu-main-menu li a:hover {
    text-decoration: none;
    color: #99c455;
    border: 2px solid #000;
}

#menu-main-menu .current-menu-item a {
    border: 2px solid #2d3a8b;
}

.main-show-menu {
    display: none;
    text-decoration: none;
    color: #fff;
    background: #000000;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
    font-weight: bold;
    cursor: pointer;
}

input[id=main-show-menu]:checked~.menu-main-menu-container #menu-main-menu {
    display: block;
}

@media only screen and (max-width: 991px) {
    #menu-main-menu {
        display: none;
        padding: 0;
        margin-bottom: 10px;
    }
    #menu-main-menu li a {
        width: 100%;
    }
    .main-show-menu {
        display: block;
    }
}


/* TEAM MENU */

.team-menu-lge #menu-the-team-menu {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.team-menu-lge #menu-the-team-menu li {
    margin: 0 10px 20px 10px;
    list-style: none;
}

.team-menu-lge #menu-the-team-menu li::before {
    content: "" !important;
}

.team-menu-lge #menu-the-team-menu li a {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.team-menu-lge #menu-the-team-menu a::after {
    content: 'Read more';
    color: #999;
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.team-menu-lge #menu-the-team-menu .menu-image {
    padding: 0;
    margin: 0 auto;
    width: 180px;
    height: auto;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

@media only screen and (max-width: 991px) {
    .team-menu-lge #menu-the-team-menu .menu-image {
        width: 140px;
    }
}

@media only screen and (max-width: 480px) {
    .team-menu-lge #menu-the-team-menu .menu-image {
        width: 100px;
    }
}

.team-menu-lge #menu-the-team-menu .menu-image-title {
    margin-top: 5px;
    display: block;
    text-align: center !important;
}

.team-menu-sml #menu-the-team-menu {
    display: flex;
    flex-direction: row;
    justify-content: left;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.team-menu-sml #menu-the-team-menu li {
    margin: 0 10px 10px 0;
    list-style: none;
    width: 100%;
}

.team-menu-sml #menu-the-team-menu li::before {
    content: "" !important;
}

.team-menu-sml #menu-the-team-menu li a {
    padding: 0;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.team-menu-sml #menu-the-team-menu .menu-image {
    padding: 0;
    margin: 0 auto;
    margin-right: 10px;
    width: 40px;
    height: auto;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

@media only screen and (max-width: 991px) {
    .team-header {
        display: none;
    }
    .team-menu-sml #menu-the-team-menu .menu-image-title {
        display: none;
    }
}

.team-show-menu {
    display: none;
    text-decoration: none;
    color: #fff;
    background: #000000;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
    font-weight: bold;
    cursor: pointer;
}

.page-team .col2 {
    border-left: 1px solid #c3c3c3;
    padding-left: 50px;
}

input[type=checkbox] {
    display: none !important;
    -webkit-appearance: none;
}

input[id=team-show-menu]:checked~.team-menu-sml {
    display: block;
}

.wp-block-columns {
    align-items: center;
}

.is-style-rounded img {
    height: auto;
    width: 100%;
}

@media only screen and (max-width: 575px) {
    /*
    #page-services .col2 {
        border-left: none;
        padding-left: 15px;
    }
    */
    .page-team .col2 {
        padding-left: 15px;
    }
    .team-header {
        display: block;
    }
    .team-menu-sml {
        display: none;
        padding: 0;
        margin-bottom: 10px;
    }
    .team-menu-sml #menu-the-team-menu {
        margin: 0;
        padding: 0;
    }
    .team-menu-sml #menu-the-team-menu li {
        width: 33%;
        margin: 0 0 20px 0;
        padding: 0;
        text-align: center;
        justify-content: center;
        list-style: none;
        flex-wrap: no-wrap;
    }
    .team-menu-sml #menu-the-team-menu .menu-image {
        width: 50px;
    }
    .team-menu-sml #menu-the-team-menu .menu-image-title {
        display: block;
    }
    /*
    #page-services .services-menu-sml ul {
        display: none;
        padding: 0;
        margin-bottom: 10px;
    }
    #page-services .services-menu-sml li a {
        width: 100%;
    }
    */
    .team-show-menu {
        display: block;
    }
    .page-team .wp-block-columns .is-style-rounded {
        margin-left: 50px;
        margin-right: 50px;
    }
}


/* MAIN FOOTER */

#main-footer {
    flex-shrink: none;
    text-align: center;
    background-color: #000;
    /*
  position: absolute;
  bottom: 0;
  */
    width: 100%;
    /* height: 200px; */
    color: #FFF;
}

#main-footer #main-footer-partners {
    background-color: #f2f2f2;
    border-top: solid #c3c3c3 1px;
    padding: 20px 0 0 0;
}

#main-footer #main-footer-partners ul {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

#main-footer #main-footer-partners ul li {
    margin-left: 12px;
    margin-right: 12px;
    margin-bottom: 20px;
}

#main-footer #main-footer-partners ul li img {
    max-height: 45px;
    width: auto;
}


/* QUICK LINKS */

#main-footer #main-footer-base {
    text-align: left;
}

#main-footer #main-footer-base a {
    color: #27aae1;
}

#main-footer-base .logo {
    padding-right: 70px !important;
}


/* HOME PAGE */

#home {
    background-color: #000;
    background-image: url("https://www.physiohealthcorrimal.com.au/wp-content/uploads/2025/05/main.jpg");
    background-position: 50% 0%;
    background-size: cover;
    background-repeat: no-repeat;
    -o-object-fit: fill;
    object-fit: fill;
    height: 500px;
}

#home #home-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    list-style: none;
    flex-wrap: no-wrap;
    /* 
    
    
     */
}

#home #home-overlay .cont {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#home #home-overlay h1 {
    font-family: 'Amithen', sans-serif;
    color: #fff;
    font-size: 140px;
    line-height: 120px;
    font-weight: 400;
    text-align: center;
}

#home #home-overlay .grab {
    color: #fff;
    font-size: 26px;
    line-height: 30px;
    text-align: center;
    margin-bottom: 20px;
}

@media only screen and (max-width: 991px) {
    #home {
        height: 300px;
    }
    #home #home-overlay h1 {
        font-size: 70px;
        line-height: 60px;
    }
    #home #home-overlay .grab {
        font-size: 16px;
        line-height: 20px;
    }
}

.menu-home-services-grid-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-bottom: 0px;
}

#menu-home-services-grid {
    display: flex;
    flex-direction: row;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
    padding: 0;
    margin: 0 0 15px 0;
}

#menu-home-services-grid li {
    width: 23%;
    padding: 10px 15px;
    border: 1px solid #cccccc;
    background: #FFF;
    margin: 7px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

#menu-home-services-grid li::before {
    display: none !important;
}

#menu-home-services-grid a::after {
    content: 'Learn more';
    color: #999;
}

#menu-home-services-grid li a img {
    max-height: 80px;
    width: auto;
    height: auto;
    max-width: 100%;
}

#menu-home-services-grid li a span {
    display: block;
    margin-top: 5px;
    font-size: 17px;
    font-weight: bold;
}

@media only screen and (max-width: 991px) {
    #menu-home-services-grid li {
        width: 30%;
    }
}

@media only screen and (max-width: 768px) {
    #menu-home-services-grid li {
        width: 45%;
    }
}


/* SERVICS SML MENU */

.services-menu-sml ul {
    list-style: none !important;
    padding: 0;
    margin: 0 0 0 25px;
}

.services-menu-sml ul li {
    list-style: none !important;
    font-size: 16px;
    font-weight: 700;
    padding: 0;
    margin: 0 0 3px 0;
}

#page-content .services-menu-sml ul li::before {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    color: #27aae1;
    font-weight: bold;
    display: inline-block;
    width: 20px;
    margin-left: -22px;
}

#footer-quicklinks ul {
    padding: 0;
    margin: 0 0 0 0;
    list-style: none;
}

#footer-quicklinks a::before {
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    display: inline-block;
    padding-right: 6px;
    vertical-align: middle;
    font-weight: 900;
}

#footer-quicklinks a:hover {
    color: #99c455 !important;
    text-decoration: none;
}

#footer-socials a {
    display: flex;
    flex-direction: row;
    justify-content: left;
    list-style: none;
    margin-bottom: 5px;
}

#footer-socials a:hover {
    color: #99c455 !important;
    text-decoration: none;
}

#footer-socials a img {
    margin-right: 5px;
    width: 20px;
}

@media only screen and (max-width: 991px) {
    #footer-quicklinks ul {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
    #main-footer-base .logo {
        padding-right: 20px !important;
    }
}

@media only screen and (max-width: 500px) {
    #footer-quicklinks ul {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }
    #footer-socials .footer-socials-group {
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2;
    }
    #main-footer-base .logo {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }
}


/* BLOG */

.blog-single img {
    width: 100%;
    height: auto;
}

.pagination .screen-reader-text {
    display: none;
}

.pagination .nav-links {
    width: 100%;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
}

.pagination .nav-links .page-numbers {
    margin: 0 10px;
}


/* FORM */

.wp-block-table td {
    padding: 5px;
}

.wpcf7 label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.wpcf7-form-control {
    margin-top: 5px;
    width: 100%;
    padding: 5px;
    display: inline-block !important;
    /* border: 1px solid #c3c3c3; */
}

.wpcf7 .wpcf7-submit {
    width: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- PHC Timetable: stabilize tile layout & alignment --- */

/* Make each tile a vertical stack and give it a consistent minimum height */
.phc-timetable .tile{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  min-height: 140px;   /* tweak 160–190px to taste */
}

/* Avatar + text at the top */
.phc-timetable .left{
  width:100%;
  display:flex;
  align-items:center;
  gap:10px;
}

/* Slightly tighter title spacing */
.phc-timetable .meta .name{ 
  margin:0 0 2px 0; 
  line-height: 1.2;
}

/* Keep the CTA row glued to the bottom regardless of title wrapping */
.phc-timetable .cta{
  margin-top:auto;          /* <— this is the key */
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between; /* badge left, button right */
  gap:8px;
}

/* Optional: make each item neatly sized on one line */
.phc-timetable .badge,
.phc-timetable .btn{
  display:inline-flex;
  width:auto;
}

/* Prevent long words from forcing extra width */
.phc-timetable td{ word-break: break-word; }

