/*
Theme Name: Olympic Medical Centre
Theme URI: https://olympicmedicalcentre.com.au
Author: Five Minutes
Author URI: https://olympicmedicalcentre.com.au
Description: Custom WordPress theme for Olympic Medical Centre, Canning Vale. Converted from static HTML/CSS/JS while preserving the original design, layout and behaviour.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: olympic-medical-centre
*/

/* ==========================================================================
   Olympic Medical Centre - Canning Vale
   Classic fixed-width medical website layout
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #333333;
    background-color: #e2e2e2;
    background-image: url('images/commonbg.jpg');
    background-repeat: repeat;
}

img {
    max-width: 100%;
    height: auto;
    border: 0;
}

a {
    color: #0b4778;
}

/* ---- Page wrapper (full-width) ------------------------------------------- */

.page {
    width: 100%;
    padding-bottom: 0px;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 0px 100px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 0 18px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0 0 18px rgba(0, 0, 0, 0.22);
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    margin-bottom: 100px;
}

/* ---- Header -------------------------------------------------------------- */

.site-header {
    background-color: #064477;
    background-image: -webkit-linear-gradient(top, #0b4778 0%, #064477 60%, #05385f 100%);
    background-image: -moz-linear-gradient(top, #0b4778 0%, #064477 60%, #05385f 100%);
    background-image: linear-gradient(to bottom, #0b4778 0%, #064477 60%, #05385f 100%);
    padding: 22px 18px 90px 18px;
    border-bottom: 4px solid #ffffff;
}

.header-inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    color: #ffffff;
}

.header-title h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.header-title h1 a,
.header-title h1 a:hover,
.header-title h1 a:focus {
    color: #ffffff;
}

.header-subtitle {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    color: #cfe0f2;
    margin-top: 2px;
}

.header-phone {
    position: absolute;
    top: 6px;
    right: 0;
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    background-color: #0d558f;
    border: 1px solid #3d7ab0;
    border-radius: 4px;
    padding: 5px 10px;
    white-space: nowrap;
}

/* ---- Navigation ---------------------------------------------------------- */

.main-nav {
    background-color: #1a5a8f;
    background-image: url('images/menu-line.jpg');
    background-repeat: repeat;
    border: 1px solid #4d84b4;
    border-bottom-color: #05385f;
    position: relative;
    height: 70px;
    margin: -74px 0 0 0;
    border-radius: 10px 10px 0px 0px;
    overflow: visible;
}

.nav-list {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    height: 70px;
    max-width: 1000px;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-list li {
    display: block;
    text-align: center;
    border-left: 1px solid #4d84b4;
}

.nav-list li:first-child {
    border-left: none;
}

.nav-list a {
    display: block;
    padding: 10px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: 0.4px;
    line-height: 1.25;
}

.nav-list a:hover,
.nav-list a:focus {
    background-color: #0b4778;
    color: #ffffff;
}

.nav-list a.active {
    background-color: #0b4778;
    color: #ffffff;
}

/* ---- Dropdown submenu ---- */

.nav-list li {
    position: relative;
}

.has-submenu .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    list-style: none;
    margin: 0;
    padding: 0;
    background-color: #1a5a8f;
    background-image: url('images/menu-line.jpg');
    background-repeat: repeat;
    border: 1px solid #4d84b4;
    border-top: none;
    z-index: 60;
    display: none;
    text-align: left;
}

.has-submenu:hover .submenu,
.has-submenu:focus-within .submenu {
    display: block;
}

.submenu li {
    display: block;
    border-left: none;
    border-top: 1px solid #4d84b4;
    text-align: left;
}

.submenu li:first-child {
    border-top: none;
}

.submenu li a {
    display: block;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    letter-spacing: 0.4px;
    white-space: nowrap;
}

.submenu li a:hover,
.submenu li a:focus {
    background-color: #0b4778;
    color: #ffffff;
}

/* ---- Member profile pages ---- */

.member-section {
    background-color: #ffffff;
}

.member-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    color: #0b4778;
    margin-bottom: 14px;
}

.member-card {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 18px;
    background-color: #eef3f8;
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    padding: 16px;
}

.member-photo {
    -webkit-flex: 0 0 150px;
    -ms-flex: 0 0 150px;
    flex: 0 0 150px;
    width: 150px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #cfd9e4;
}

.member-info {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

.member-info .team-bio {
    border-top: none;
    padding-top: 0;
}

.member-info .team-role,
.member-info .team-quals {
    text-align: left;
}

.nav-toggle {
    display: none;
}

/* ---- Hero banner slider -------------------------------------------------- */

.hero-slider {
    position: relative;
    margin: 12px 15px 0 15px;
    overflow: hidden;
    border: 1px solid #c8d4e0;
    border-radius: 4px;
    background-color: #e8eef5;
}

.slider-viewport {
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-transition: -webkit-transform 0.5s ease;
    -moz-transition: -moz-transform 0.5s ease;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slide {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
}

.slide img {
    display: block;
    width: 100%;
    height: auto;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    transform: translateY(-50%);
    background-color: rgba(6, 68, 119, 0.75);
    color: #ffffff;
    border: none;
    font-size: 20px;
    line-height: 1;
    padding: 10px 13px;
    cursor: pointer;
    z-index: 5;
}

.slider-arrow:hover {
    background-color: rgba(6, 68, 119, 0.95);
}

.slider-prev {
    left: 6px;
    border-radius: 3px;
}

.slider-next {
    right: 6px;
    border-radius: 3px;
}

/* ---- Service cards ------------------------------------------------------- */

.services {
    background-color: #0b4778;
    background-image: -webkit-linear-gradient(top, #164f86 0%, #0b4778 50%, #063d6b 100%);
    background-image: -moz-linear-gradient(top, #164f86 0%, #0b4778 50%, #063d6b 100%);
    background-image: linear-gradient(to bottom, #164f86 0%, #0b4778 50%, #063d6b 100%);
    border-radius: 6px;
    margin: 15px;
    padding: 12px 10px 10px 10px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.service-card {
    -webkit-flex: 1 1 0;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    min-width: 0;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    border: 1px solid #e0e0e0;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.service-image {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.service-image img {
    display: block;
    width: 100%;
    height: auto;
}

.service-card p {
    font-size: 12px;
    color: #0b4778;
    font-weight: bold;
    margin: 10px 8px 12px 8px;
    line-height: 1.4;
}

/* ---- Two-column layout --------------------------------------------------- */

.content-grid {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 12px;
    margin: 15px;
}

.main-content {
    -webkit-flex: 1 1 66%;
    -ms-flex: 1 1 66%;
    flex: 1 1 66%;
    min-width: 0;
    background-color: #ffffff;
}

.sidebar {
    -webkit-flex: 1 1 30%;
    -ms-flex: 1 1 30%;
    flex: 1 1 30%;
    max-width: 205px;
    min-width: 0;
}

/* ---- Left column content -------------------------------------------------- */

.doctor-row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 12px;
}

.doctor-block {
    -webkit-flex: 0 0 42%;
    -ms-flex: 0 0 42%;
    flex: 0 0 42%;
    border: 1px solid #cfd9e4;
    border-radius: 4px;
    overflow: hidden;
    background-color: #eef3f8;
}

.doctor-image {
    display: block;
    width: 100%;
    height: auto;
}

.practice-text {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin-top: 0;
    min-width: 0;
}

.practice-text h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    color: #0b4778;
    margin-bottom: 6px;
}

.practice-text p {
    margin-bottom: 8px;
    text-align: justify;
}

.covid-links a {
    font-size: 12px;
    word-break: break-all;
}

.info-links {
    margin: 4px 0 10px 0;
    padding: 8px 10px;
    background-color: #eef3f8;
    border: 1px solid #cfd9e4;
    border-radius: 4px;
}

.info-links a {
    display: inline-block;
    margin: 2px 12px 2px 0;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.info-links a:hover {
    text-decoration: underline;
}

.after-hours-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 18px;
    color: #0b4778;
    margin: 20px 0;
    text-align: center;
}

.scan-getbetter {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
    border: 1px solid #c9d4df;
    border-radius: 4px;
}

.scan-getbetter {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 0 10px 0;
    border: 1px solid #c9d4df;
    border-radius: 4px;
}

.after-hours-red {
    color: #c41e2a;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 8px;
    text-align: justify;
}

.after-hours-red:nth-of-type(2) {
    font-size: 12px;
    text-align: center;
}

.after-hours-red:nth-of-type(3) {
    text-align: center;
    margin: 20px 0;
}

.after-hours-text {
    margin-bottom: 10px;
    text-align: justify;
}

.after-hours-red:nth-of-type(1) {
    font-weight: bold;
    text-align: center;
    margin: 30px 0 20px 0;
}

/* ---- Our Team ------------------------------------------------------------- */

.team-section {
    margin-top: 30px;
    padding-top: 0;
    border-top: none;
    margin-bottom: 30px;
}

.team-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    color: #0b4778;
    text-align: center;
    margin-bottom: 8px;
}

.team-intro {
    text-align: center;
    margin: 0 auto 14px auto;
    max-width: 560px;
    color: #555555;
}

.team-photo {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    margin-bottom: 16px;
}

.team-grid {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
}

.team-card {
    -webkit-flex: 1 1 180px;
    -ms-flex: 1 1 180px;
    flex: 1 1 180px;
    min-width: 0;
    background-color: #eef3f8;
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    padding: 12px;
    text-align: center;
}

.team-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    color: #0b4778;
    margin-bottom: 4px;
}

.team-role {
    font-size: 12px;
    font-weight: bold;
    color: #555555;
    margin-bottom: 4px;
}

.team-quals {
    font-size: 11px;
    color: #777777;
    line-height: 1.4;
}

.team-bio {
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    text-align: justify;
    margin-top: 10px;
    margin-bottom: 10px;
}

.team-role + .team-bio,
.team-quals + .team-bio {
    border-top: 1px dotted #cfd9e4;
    padding-top: 6px;
}

.team-bio-list {
    margin: 0 0 10px 20px;
    padding: 0;
    font-size: 13px;
    color: #555555;
    line-height: 1.5;
    text-align: justify;
}

.team-card-split {
    -webkit-flex: 1 1 100%;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 100%;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 14px;
    text-align: left;
}

.team-card-photo {
    -webkit-flex: 0 0 150px;
    -ms-flex: 0 0 150px;
    flex: 0 0 150px;
    width: 150px;
    min-width: 150px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #cfd9e4;
}

.team-card-body {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

.team-more-link {
    text-align: center;
    margin-top: 16px;
}

/* ---- Services page --------------------------------------------------------- */

.services-page {
    background-color: #ffffff;
}

.services-heading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    color: #0b4778;
    text-align: left;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid #0b4778;
}

.services-heading + .services-heading {
    margin-top: 30px;
}

.services-intro {
    font-size: 13px;
    margin-bottom: 10px;
    text-align: justify;
}

.services-subheading {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    color: #0b4778;
    margin: 20px 0 10px 0;
}

.service-list {
    margin: 0 0 12px 20px;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
}

.service-list li {
    margin-bottom: 4px;
}

.service-list li a {
    text-decoration: none;
    font-weight: bold;
}

.service-list li a:hover {
    text-decoration: underline;
}

.service-items {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0;
}

.service-item {
    -webkit-flex: 1 1 280px;
    -ms-flex: 1 1 280px;
    flex: 1 1 280px;
    min-width: 0;
    background-color: #eef3f8;
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    padding: 12px;
}

.service-item h4 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 14px;
    color: #0b4778;
    margin-bottom: 4px;
}

.service-item p {
    font-size: 12px;
    color: #555555;
    line-height: 1.5;
}

.offer-group {
    margin-bottom: 16px;
    padding: 12px 14px;
    background-color: #eef3f8;
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 16px;
}

.offer-image {
    -webkit-flex: 0 0 100px;
    -ms-flex: 0 0 100px;
    flex: 0 0 100px;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    border: 1px solid #cfd9e4;
}

.offer-content {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
}

.offer-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    color: #0b4778;
    margin-bottom: 8px;
}

.team-more-link a {
    font-weight: bold;
    text-decoration: none;
}

.team-more-link a:hover {
    text-decoration: underline;
}

/* ---- Skin Cancer page ------------------------------------------------------- */

.skin-cancer-page {
    background-color: #ffffff;
    padding: 0 14px 20px 14px;
}

.skin-cancer-content {
    margin-bottom: 20px;
}

.skin-cancer-content h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    color: #0b4778;
    margin-bottom: 10px;
    border-bottom: 1px solid #cfd9e4;
    padding-bottom: 6px;
}

.skin-cancer-content p {
    font-size: 13px;
    margin-bottom: 10px;
    text-align: justify;
    line-height: 1.6;
    color: #333333;
}

.skin-cancer-list,
.skin-cancer-facts {
    margin: 0 0 12px 20px;
    padding: 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333333;
}

.skin-cancer-list li,
.skin-cancer-facts li {
    margin-bottom: 6px;
}

.skin-cancer-facts {
    background-color: #eef3f8;
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    padding: 14px 14px 14px 36px;
    margin-left: 0;
}

.skin-cancer-facts li {
    font-weight: bold;
    color: #0b4778;
}

/* ---- Online Booking page --------------------------------------------------- */

.online-booking-btn {
    margin: 16px 0;
    text-align: center;
}

.online-booking-btn .book-now {
    display: inline-block;
    font-size: 16px;
    padding: 12px 30px;
}

/* ---- Fees page ------------------------------------------------------------- */

.fees-notice {
    background-color: #eef7ee;
    border: 1px solid #a3d9a3;
    border-left: 4px solid #2e8b6e;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 20px;
}

.fees-notice strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 16px;
    color: #2e8b6e;
    display: block;
    margin-bottom: 8px;
}

.fees-notice p {
    font-size: 13px;
    margin-bottom: 6px;
    text-align: justify;
    line-height: 1.6;
    color: #333333;
}

.fees-notice p:last-child {
    margin-bottom: 0;
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-bottom: 4px;
}

.fees-table thead th {
    background-color: #1a5a8f;
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 8px 10px;
    text-align: left;
    border-bottom: 2px solid #05385f;
}

.fees-table tbody td {
    padding: 7px 10px;
    border-bottom: 1px dotted #d8dee5;
    vertical-align: top;
}

.fees-table tbody tr:last-child td {
    border-bottom: none;
}

.fees-table tbody tr:nth-child(even) {
    background-color: #f5f8fb;
}

.fees-table tbody tr:hover {
    background-color: #eef3f8;
}

/* ---- Contact Us page ------------------------------------------------------- */

.contact-section {
    margin-bottom: 20px;
}

.contact-columns + .contact-section {
    margin-top: 50px;
}

.contact-section h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 17px;
    color: #0b4778;
    margin-bottom: 10px;
    border-bottom: 1px solid #cfd9e4;
    padding-bottom: 6px;
}

.contact-card {
    background-color: #eef3f8;
    border: 1px solid #cfd9e4;
    border-radius: 6px;
    padding: 14px 16px;
}

.contact-address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.7;
    color: #333333;
}

.contact-note {
    font-size: 12px;
    color: #777777;
    font-style: italic;
}

.contact-detail {
    font-size: 14px;
    margin-bottom: 8px;
    line-height: 1.6;
    color: #333333;
}

.contact-detail:last-child {
    margin-bottom: 0;
}

.contact-detail strong {
    color: #0b4778;
}

.contact-detail a {
    color: #0b4778;
    font-weight: bold;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-columns {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 16px;
    -webkit-align-items: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}

.contact-col {
    -webkit-flex: 1 1 0;
    -ms-flex: 1 1 0;
    flex: 1 1 0;
    min-width: 0;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

.contact-col .contact-section {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.contact-col .contact-card {
    height: 100%;
}

/* QR + promo block */

.qr-promo {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 12px;
    background-color: #ffffff;
    border: 1px solid #c9d4df;
    border-radius: 6px;
    padding: 12px;
    margin: 10px 0;
}

.qr-box {
    text-align: center;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.qr-box img {
    width: 120px;
    height: auto;
    border: 1px solid #d8d8d8;
    padding: 4px;
    background-color: #ffffff;
}

.qr-box p {
    font-size: 11px;
    color: #0b4778;
    font-weight: bold;
    margin-top: 4px;
}

.get-better-promo {
    -webkit-flex: 1 1 200px;
    -ms-flex: 1 1 200px;
    flex: 1 1 200px;
    min-width: 0;
    border: 1px solid #c9d4df;
    border-radius: 4px;
    display: block;
    width: auto;
    height: auto;
}

/* Red appointment note */

.appointment-note {
    color: #c41e2a;
    font-weight: bold;
    font-size: 13px;
    text-align: center;
    background-color: #fdf3f4;
    border: 1px solid #e8b8bc;
    border-radius: 4px;
    padding: 10px 12px;
    margin: 4px 0 6px 0;
}

.appointment-note strong {
    color: #a0131e;
}

/* ---- Sidebar panels -------------------------------------------------------- */

.side-panel {
    border: 1px solid #c9d4df;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
    background-color: #ffffff;
}

.side-title {
    background-color: #1a5a8f;
    background-image: -webkit-linear-gradient(top, #2c6aa0 0%, #1a5a8f 50%, #0f4c7c 100%);
    background-image: -moz-linear-gradient(top, #2c6aa0 0%, #1a5a8f 50%, #0f4c7c 100%);
    background-image: linear-gradient(to bottom, #2c6aa0 0%, #1a5a8f 50%, #0f4c7c 100%);
    color: #ffffff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 13px;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    padding: 7px 6px;
    border-bottom: 1px solid #05385f;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.hours-table td {
    padding: 4px 10px;
    border-bottom: 1px dotted #d8dee5;
}

.hours-table td:last-child {
    text-align: right;
    color: #0b4778;
    font-weight: bold;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.side-panel address {
    font-style: normal;
    font-size: 12px;
    padding: 10px;
    line-height: 1.5;
}

.side-contact {
    font-size: 12px;
    padding: 0 10px 10px 10px;
    color: #0b4778;
    font-weight: bold;
    line-height: 1.5;
}

.bulk-billing-img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid #c9d4df;
    border-radius: 6px;
}

/* ---- Sidebar text / custom-HTML widgets ------------------------------------ */

.side-panel .textwidget,
.side-panel .custom-html-widget {
    padding: 10px 12px;
    font-size: 12px;
    line-height: 1.55;
    color: #333333;
}

.side-panel .textwidget p,
.side-panel .custom-html-widget p {
    margin: 0 0 8px 0;
}

.side-panel .textwidget p:last-child,
.side-panel .custom-html-widget p:last-child {
    margin-bottom: 0;
}

.side-panel .textwidget a,
.side-panel .custom-html-widget a {
    color: #1a5a8f;
    font-weight: bold;
    text-decoration: none;
}

.side-panel .textwidget a:hover,
.side-panel .custom-html-widget a:hover {
    color: #a0131e;
    text-decoration: underline;
}

.widget-covid-links {
    border-top: 1px dotted #d8dee5;
    padding-top: 8px;
    margin-top: 4px;
}

.widget-covid-links a {
    display: inline-block;
    margin-bottom: 4px;
}

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

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: #064477;
    background-image: -webkit-linear-gradient(top, #0b4778 0%, #064477 60%, #05385f 100%);
    background-image: -moz-linear-gradient(top, #0b4778 0%, #064477 60%, #05385f 100%);
    background-image: linear-gradient(to bottom, #0b4778 0%, #064477 60%, #05385f 100%);
    border-top: 4px solid #ffffff;
    color: #ffffff;
    padding: 16px 14px;
    margin-top: 6px;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 12px;
}

.footer-left {
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accreditation {
    max-height: 50px;
    width: auto;
}

.footer-right {
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    text-align: right;
}

.copyright {
    font-size: 11px;
    color: #cfe0f2;
    margin-bottom: 8px;
}

.booking {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 8px;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.book-now {
    display: inline-block;
    background-color: #2e8b6e;
    background-image: -webkit-linear-gradient(top, #3aa382 0%, #2e8b6e 100%);
    background-image: -moz-linear-gradient(top, #3aa382 0%, #2e8b6e 100%);
    background-image: linear-gradient(to bottom, #3aa382 0%, #2e8b6e 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 9px 22px;
    border-radius: 22px;
    border: 1px solid #256e56;
    -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.book-now:hover {
    background-color: #256e56;
    background-image: -webkit-linear-gradient(top, #2e8b6e 0%, #256e56 100%);
    background-image: -moz-linear-gradient(top, #2e8b6e 0%, #256e56 100%);
    background-image: linear-gradient(to bottom, #2e8b6e 0%, #256e56 100%);
}

.powered-by {
    font-size: 10px;
    color: #cfe0f2;
}

/* ---- Responsive ------------------------------------------------------------- */

@media (max-width: 560px) {

    .page {
        max-width: 100%;
    }

    .header-inner {
        text-align: center;
    }

    .header-title h1 {
        font-size: 24px;
    }

    .header-phone {
        position: static;
        display: inline-block;
        margin-top: 10px;
    }

    /* Hamburger nav */

    .main-nav {
        height: auto;
    }

    .nav-toggle {
        display: block;
        width: 100%;
        height: 44px;
        background-color: #1a5a8f;
        background-image: url('images/menu-line.jpg');
        background-repeat: repeat;
        border: none;
        color: #ffffff;
        font-size: 18px;
        text-align: right;
        padding: 8px 14px;
        cursor: pointer;
    }

    .nav-list {
        display: none;
        height: auto;
        table-layout: auto;
    }

    .nav-list.open {
        display: block;
    }

    .nav-list li {
        display: block;
        text-align: left;
        border-left: none;
        border-top: 1px solid #4d84b4;
    }

    .nav-list li:first-child {
        border-top: none;
    }

    .nav-list a {
        padding: 10px 16px;
        font-size: 12px;
    }

    .has-submenu .submenu {
        position: static;
        display: block;
        min-width: 0;
        border-left: none;
        border-right: none;
        border-top: none;
        margin: 0;
    }

    .submenu li a {
        padding-left: 28px;
    }

    .member-card {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }

    .member-info .team-role,
    .member-info .team-quals,
    .member-info .team-bio {
        text-align: center;
    }

    .offer-group {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }

    .offer-content .service-list {
        text-align: left;
    }

    .services {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .service-card {
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
        max-width: 100%;
    }

    .content-grid {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .doctor-row {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .doctor-block {
        -webkit-flex: 0 0 auto;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
    }

    .team-card {
        -webkit-flex: 1 1 auto;
        -ms-flex: 1 1 auto;
        flex: 1 1 auto;
    }

    .team-card-split {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        text-align: center;
    }

    .sidebar {
        max-width: 100%;
    }

    .skin-cancer-facts {
        padding-left: 14px;
    }

    .contact-columns {
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
    }

    .footer-inner {
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
    }

    .footer-right {
        text-align: center;
    }

    .booking {
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
}

@media (min-width: 561px) and (max-width: 860px) {

    .page {
        max-width: 100%;
    }

    .services {
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .service-card {
        -webkit-flex: 1 1 45%;
        -ms-flex: 1 1 45%;
        flex: 1 1 45%;
    }
}

/* ---- WordPress wp_nav_menu compatibility --------------------------------- */
/* wp_nav_menu() outputs .menu-item-has-children / .sub-menu by default.     */
/* functions.php adds the original .has-submenu / .submenu classes via      */
/* filters so no rules are duplicated here beyond the selector aliases      */
/* already merged into the Navigation and Dropdown submenu blocks above.    */
