/*
Theme Name: VVED
Description: A Child Theme for the Enfold Wordpress Theme developed for the Northern Health Victorian Virtual ED website
Version: 1.0.1
Author: Tsunami Web Studio
Author URI: https://tsunamiwebstudio.com
Template: enfold
*/

/* ========================
     Original Design 2024 
   ======================== */

/** Menu **/
.header_color .main_menu {
    right: 50px;
}

#top #header_main > .container.av-logo-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/** Force header height to 110px across all Enfold selectors **/
#top #header_main > .container,
#top #header_main > .container .main_menu .av-main-nav > li > a,
#top #header_main #menu-item-shop .cart_dropdown_link {
    height: 110px !important;
    line-height: 110px !important;
}

/** Vertically centre all nav items **/
#top #header_main > .container .main_menu .av-main-nav > li {
    height: 110px !important;
    display: inline-flex !important;
    align-items: center !important;
}

/** Vertically centre nav anchor links **/
#top #header_main > .container .main_menu .av-main-nav > li > a {
    height: 110px !important;
    line-height: 110px !important;
    display: inline-flex !important;
    align-items: center !important;
}

#top #header_main .logo a {
    padding: 20px 0 !important;
    display: flex !important;
    align-items: center !important;
}

/** Search icon alignment **/
#top #header_main > .container .main_menu .av-main-nav > li#menu-item-search {
    height: 110px !important;
    display: inline-flex !important;
    align-items: center !important;
}

#top #header_main > .container .main_menu .av-main-nav > li#menu-item-search > a {
    height: auto !important;
    line-height: normal !important;
    position: relative !important;
    top: auto !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
}

li#menu-item-search > a span.av_searchform_search {
    width: 48px !important;
    height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

li#menu-item-search > a svg {
    width: 48px !important;
    height: 48px !important;
    pointer-events: none;
}

li#menu-item-search a svg path {
    fill: #ffffff !important;
}

li#menu-item-search a:hover svg path {
    fill: #ffffff !important;
}

/** Main menu breakpoint **/
@media only screen and (max-width: 1440px) {
    #top #header .av-main-nav > li.menu-item {
        display: none !important;
    }
    #top #header .av-burger-menu-main {
        cursor: pointer;
        display: block !important;
    }
}

/** Footer menu breakpoint **/
@media only screen and (min-width: 901px) {
    #socket {
        margin-top: -60px;
        background: transparent !important;
    }
}
@media only screen and (max-width: 900px) {
    #socket .sub_menu_socket li {
        float: none !important;
        border: none !important;
        line-height: 28px;
        clear: both;
        font-size: 18px;
    }
}

/** Partners buttons **/
@media only screen and (max-width: 989px) {
    .partner-logo {
        padding: 0 80px 0 80px;
    }
}

/** Search item reset **/
li#menu-item-search {
    height: auto !important;
}

@media only screen and (max-width: 989px) {
    .responsive #top #header_main > .container .main_menu .av-main-nav > li#menu-item-search a,
    .responsive #top #header_main > .container .main_menu .av-main-nav > li#menu-item-search a:hover {
        background: none !important;
        top: 0;
        position: relative;
        -ms-transform: none;
        transform: none;
    }
    .responsive #top #header_main > .container .main_menu .av-main-nav > li#menu-item-search > a:after {
        background: none !important;
    }
    .responsive #top #header_main > .container .main_menu .av-main-nav > li#menu-item-search > a:before {
        color: #636569 !important;
        top: 0;
        position: relative;
        -ms-transform: none;
        transform: none;
    }
}

/** Square tiles **/
.square-tile * {
    font-family: 'Lato', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', Verdana, sans-serif;
    font-size: 22px;
    font-weight: bold;
}

.square-tile .avia-button {
    width: 80%;
    line-height: 24px;
}

@media only screen and (max-width: 989px) {
    .square-tile {
        max-width: 310px;
        margin: 30px auto !important;
    }
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
    .square-tile * {
        font-size: 20px;
    }
    .square-tile .avia-button {
        width: 60%;
    }
}
@media only screen and (max-width: 479px) {
    .square-tile * {
        font-size: 20px;
    }
}

/** Search results **/
.search-results span.post-meta-infos {
    display: none;
}

/** Call Now button **/
div.call-now a span.avia_iconbox_title,
div.call-now a span.avia_button_icon {
    font-size: 150%;
    font-weight: bold;
}

/** Footer **/
div.footer-page-content,
div.footer-page-content .container_wrap,
footer {
    border: none !important;
}

.feedback-btn * {
    font-family: 'Lato', 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', Verdana, sans-serif;
    font-size: 16px !important;
    font-weight: bold;
}

div.footer-page-content .iconbox.emergency-text .entry-content-header {
    text-align: right;
}

div.footer-page-content .iconbox.emergency-text .iconbox_content_title {
    font-size: 18px !important;
}

@media only screen and (max-width: 767px) {
    div.footer-page-content .iconbox.emergency-text .entry-content-header {
        text-align: center;
    }
    div.footer-page-content .iconbox.emergency-text .entry-content-header * {
        float: none;
    }
    div.footer-page-content .iconbox.emergency-text .iconbox_icon {
        display: none;
    }
}

.emergency-text {
    white-space: nowrap;
}

.footer_color .main_color {
    background-color: rgb(241, 100, 34);
}

footer .sub_menu_socket {
    float: left !important;
}

footer .copyright {
    float: right !important;
}

div#footer-page .av-image-caption-overlay-center p {
    width: 200px;
    font-size: 12px;
    line-height: 14px;
    margin-top: 70px;
    margin-left: -100px;
}

.social_bookmarks {
    float: right !important;
    margin: 8px !important;
    position: relative;
}

.social_bookmarks li {
    border: 3px solid white !important;
    border-radius: 18px;
    color: white !important;
    width: 36px !important;
    height: 36px !important;
}

.social_bookmarks li a {
    color: white !important;
    width: 30px !important;
    height: 30px !important;
    transition: none !important;
    -webkit-transition: none !important;
}

.social_bookmarks:hover a,
.social_bookmarks a:focus {
    border: 1px solid transparent;
    border-radius: 15px;
    transition: none !important;
    -webkit-transition: none !important;
}

/** Custom **/
.go-to-main-website * {
    font-size: 24px !important;
}

/** Table scrolling **/
table {
    display: block;
    max-width: fit-content;
    margin: 0 auto;
    overflow-x: auto;
    white-space: nowrap;
}

#top #wrap_all .av-social-link-twitter:hover a,
#top #wrap_all .av-social-link-twitter a:focus,
#top #wrap_all .av-social-link-square-x-twitter:hover a {
    background-color: #000;
}


/* ================================
     New Design 2026
   ================================
 * 1. Force-remove Enfold's default bullets, circles, and background images
 * 2. Adjust the list container layout
 * 3. Prepare the list items for absolute icon positioning
 * 4. Inject new custom icon and color
 */

/* Wipe out all standard horizontal menu list items sitewide */
#top .av-main-nav > li {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
}
/* Force ONLY the burger menu container back into view */
#top .av-main-nav > li.menu-item-avia-special,
#top .av-main-nav > li.av-burger-menu-main {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
}
/*2.8 firefox problem*/
.avia-image-container-inner, .avia_image {
    max-width: 100%;
}
/* Change list item font size and margin for desktop */
#top .entry-content-wrapper li {
    font-size: 20px;
    line-height: 1.35;
    margin-bottom: 5px;
}

/* Adjust list item size specifically for mobile screens */
@media only screen and (max-width: 767px) {
    #top .entry-content-wrapper li {
        font-size: 16px;
        line-height: 1.4; /* Slightly increased for better mobile readability */
    }
}
/* 1. Force-remove Enfold's default bullets, circles, and background images */
#top .custom-icon-list ul,
#top .custom-icon-list ul li {
    list-style: none !important;
    list-style-type: none !important;
    background: none !important;
}

/* 2. Adjust the list container layout */
#top .custom-icon-list ul {
    padding-left: 0px !important; /* Spacing between the list and the container edge */
}

/* 3. Prepare the list items for absolute icon positioning */
#top .custom-icon-list li {
    position: relative;
    padding-left: 10px;
}

/* 4. Inject new custom icon and color */
#top .custom-icon-list li::before {
    content: "✔";
    color: #f16322;
    font-weight: bold;
    font-size: 22px !important;
    position: absolute;
    left: -15px;               /* Adjusts the left/right position of the icon */
    top: -1;                    /* Adjusts the up/down position of the icon */
}
/* Removes weird paragraph spacing while adding distinct spacing for hard returns */
#top .all_colors p {
    margin-top: 5px !important;
    margin-right: 5px !important;
    margin-left: 5px !important;
    margin-bottom: 5px !important;
}
/* Force default page templates to use normal text casing */
.template-page .entry-content-wrapper h1,
.template-page .entry-content-wrapper h2 {
    text-transform: none !important;
    letter-spacing: normal !important;
}
/* Overwrite Enfold's hidden responsive minimum height constraints across all devices */

/* Breakpoint 1: Desktop Viewports (Locks in your exact 110px preference) */
@media only screen and (min-width: 990px) {
    .responsive #top #header #header_main .inner-container .logo,
    #top .logo, 
    #top .logo a {
        min-height: 110px !important; 
        max-height: 110px !important;
        width: auto !important;
        min-width: 200px !important;  
    }
    #top .logo img {
        height: 110px !important;
        max-height: 110px !important;
        width: auto !important;
        object-fit: contain !important;
    }
}

/* Breakpoint 2: Tablet Viewports (Smooth transition between desktop and phone) */
@media only screen and (min-width: 480px) and (max-width: 989px) {
    .responsive #top #header #header_main .inner-container .logo,
    #top .logo, #top .logo a, #top .logo img {
        height: 85px !important; /* Step-down ceiling so it fits beautifully on tablets */
        min-height: 85px !important;
        max-height: 85px !important;
        min-width: unset !important; /* Safely unlocks the 200px desktop lock */
        width: auto !important;
    }
}

/* Breakpoint 3: Mobile Phone Viewports (Compact sizing for smartphones) */
@media only screen and (max-width: 479px) {
    .responsive #top #header #header_main .inner-container .logo,
    #top .logo, #top .logo a, #top .logo img {
        height: 75px !important; /* Clean, compact size that sits perfectly next to the burger menu */
        min-height: 75px !important;
        max-height: 75px !important;
        min-width: unset !important;
        width: auto !important;
    }
}

/* New Global Rule: Placed right underneath to ensure fluid scaling across all screens */
#top .logo img {
    height: auto !important; /* Overrides rigid pixel heights so the logo scales like a rubber band */
}
/* Force Enfold to strictly obey 0px padding across the whole site when set */
.flex_column.av-zero-column-padding,
.flex_column.av-zero-column-padding [class*="av-"] {
  padding: 0px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

/* 1. Force-remove Enfold's default bullets, circles, and background images */
#top .custom-list-crosses ul,
#top .custom-list-crosses ul li {
    list-style: none !important;
    list-style-type: none !important;
    background: none !important;
}

/* 2. Adjust the list container layout */
#top .custom-list-crosses ul {
    padding-left: 0px !important;
}

/* 3. Prepare the list items for absolute icon positioning */
#top .custom-list-crosses li {
    position: relative;
    padding-left: 12px; 
}

/* 4. Inject text-based cross and force the precise brand color */
#top .custom-list-crosses li::before {
    content: "✗";            /* Clean, universal text cross */
    color: #d9381e;           /* Solid red color (safe on all platforms) */
    font-weight: bold;
    font-size: 26px !important;
    position: absolute;
    left: -12px;              
    top: -1px;                /* Keeps it perfectly level with font text lines */
}
/* ==========================================
   STICKY BANNER & HEADER LAYOUT
   ========================================== */
.my-sticky-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
}
.my-sticky-banner .av-section-color-overlay-wrap {
    padding-top: 10px !important;    
    padding-bottom: 10px !important; 
}
@media only screen and (min-width: 768px) {
    .my-sticky-banner.avia-section {
        min-height: 45px !important;
        height: 45px !important;
    }
    #top .av_minimal_header #header_main {
        padding-top: 45px !important; 
    }
}
@media only screen and (max-width: 767px) {
    .my-sticky-banner.avia-section {
        min-height: 45px !important;
        height: auto !important; 
    }
    #top .av_minimal_header #header_main { padding-top: 58px !important; }
}
    /* ==========================================
       MOBILE COLUMN SPACING OVERRIDE
       ========================================== */
    /* Overrides Enfold's responsive 20px default gap and drops it to 10px */
    .responsive #top #wrap_all .flex_column, 
    .responsive #top #wrap_all .av-flex-cells .no_margin {
        margin-bottom: 0px !important;
    }
}
    /* ==========================================
       MOBILE COLUMN SPACING OVERRIDE
       ========================================== */
    .responsive #top #wrap_all .flex_column, 
    .responsive #top #wrap_all .av-flex-cells .no_margin {
        margin-bottom: 0px !important; 
    }
}
/* ==========================================
   UPDATED STRUCTURAL PAGE PADDING
   ========================================== */
/* --- DESKTOP CONTENT CUSHION (Screens 768px and wider) --- */
@media only screen and (min-width: 768px) {
    #top.html_entry_id main.content,
    #top.html_entry_id .sidebar,
    #top #main .content,
    #top #main .sidebar {
        padding-top: 3vh !important;   /* Keeps your tight 3% layout look on desktop monitors */
        padding-bottom: 3vh !important;
    }
}

/* --- MOBILE CONTENT CUSHION (Screens 767px and narrower) --- */
@media only screen and (max-width: 767px) {
    #top.html_entry_id main.content,
    #top.html_entry_id .sidebar,
    #top #main .content,
    #top #main .sidebar {
        padding-top: 0px !important;    /* Completely flattens the extra fluid space on mobile */
        padding-bottom: 15px !important; /* Leaves a comfortable gap at the very bottom */
    }
}

/* ==========================================
   NO-MARGIN RESPONSIVE PARAGRAPHS
   ========================================== */
@media only screen and (min-width: 990px) {
    #top .template-page p, #top .avia_textblock p, #top .entry-content p {
        font-size: 20px !important;
        line-height: 1.35em !important;
    }
}
@media only screen and (min-width: 768px) and (max-width: 989px) {
    #top .template-page p, #top .avia_textblock p, #top .entry-content p {
        font-size: 18px !important;
        line-height: 1.4em !important;
    }
}
@media only screen and (min-width: 480px) and (max-width: 767px) {
    #top .template-page p, #top .avia_textblock p, #top .entry-content p {
        font-size: 17px !important;
        line-height: 1.5em !important;
    }
}
@media only screen and (max-width: 479px) {
    #top .template-page p, #top .avia_textblock p, #top .entry-content p {
        font-size: 16px !important;
        line-height: 1.4em !important;
    }
}
/* ==========================================
   SECTION C: CUSTOM INTRO TEXT OVERRIDE (PRIORITY POSITION)
   ========================================== */
/* 1. DESKTOP VIEW */
@media only screen and (min-width: 990px) {
    #top .custom-intro-text p {
        font-size: 26px !important;
        line-height: 1.35em !important;
    }
}
/* 2. MOBILE RESPONSIVE SCALING FOR INTRO TEXT */
@media only screen and (max-width: 989px) {
    #top .custom-intro-text p {
        font-size: 22px !important; /* Steps down beautifully on tablets and landscape */
        line-height: 1.35em !important;
    }
}
@media only screen and (max-width: 479px) {
    #top .custom-intro-text p {
        font-size: 17px !important; /* Safe, highly legible font scale for tight mobile screens */
        line-height: 1.35em !important;
    }
}
/* ==========================================
   UNIVERSAL ICON BOX TEXT CENTERING & SPACING
   ========================================== */
/* 1. Allows Enfold's layout containers to align elements horizontally */
#top .avia-iconbox {
    display: block !important;
    position: relative !important;
}

/* 2. REPLACES THE 30PX DEFAULT MARGIN: Drops the spacing between boxes universally to 10px */
#top .iconbox {
    margin-bottom: 10px !important; /* Changes your 30px theme rule to a clean 10px gap */
    position: relative !important;
    clear: both !important;
}

/* 3. Resets legacy layout floats and forces inline alignment formatting */
#top .iconbox_icon {
    float: left !important; 
    margin: 0 15px 10px 0 !important; 
}

/* 4. Forces the inner heading element to align vertically centered with the icon height */
#top .iconbox_content_title {
    display: flex !important;
    align-items: center !important; 
    min-height: 60px !important;    
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    letter-spacing: 0px;
    padding: 0 !important;
}

/* 5. Ensures description copy wraps natively underneath both elements */
#top .iconbox_content {
    float: none !important;
    overflow: visible !important;
    clear: none !important;
}

/* --- MOBILE SCREEN BALANCER --- */
@media only screen and (max-width: 767px) {
    #top .iconbox_content_title {
        min-height: 40px !important; 
    }
}
/* ==========================================
   PERMANENT MOBILE STICKY BANNER WRAPPER FIX
   (Applies ONLY to screens 767px and narrower)
   ========================================== */
@media only screen and (max-width: 767px) {
    /* 
       Forces all of Enfold's hidden inner layout cells inside banner
       to drop their rigid table behavior and act as standard growing blocks.
    */
    .my-sticky-banner.avia-section,
    .my-sticky-banner .av-section-color-overlay-wrap,
    .my-sticky-banner .container,
    .my-sticky-banner .template-page {
        display: block !important;       /* Unlocks browser calculation rules completely */
        height: auto !important;         /* Background will now fluidly grow with multi-line text */
        min-height: 35px !important;     /* Safeguards a clean layout floor alignment */
        padding-top: 0px !important;     /* Strips out hidden builder padding pushing text down */
        padding-bottom: 0px !important;
    }
}
/* ==========================================
   MINIMAL FLUID ICONBOX SCALING (PASTE AT BOTTOM)
   ========================================== */
#top .iconbox_left_content.av-icon-style-no-border .iconbox_icon,
#top .iconbox_right_content.av-icon-style-no-border .iconbox_icon {
    border: none !important;
    margin-top: 0 !important;
    
    /* Smoothly scales the icon from 32px up to 50px depending on screen width */
    font-size: clamp(32px, 4vw, 50px) !important;   
    width: clamp(32px, 4vw, 50px) !important;       
    height: clamp(32px, 4vw, 50px) !important;      
    line-height: clamp(32px, 4vw, 50px) !important; 
}
@media only screen and (max-width: 767px) {
    /* Tightens the right margin on mobile phones so the text sits closer to the smaller icon */
    #top .iconbox_left_content.av-icon-style-no-border .iconbox_icon {
        margin-right: 15px !important; 
    }
}
/* Mobile Hamburger Menu - Sublevel Links Default State */
#top #wrap_all #av-burger-menu-ul .sub-menu li a .avia-menu-text {
    font-weight: 400 !important; /* Adjust thickness (e.g., 400 for regular, 700 for bold) */
    color: #f16422 !important;   /* Replace with your preferred text color hex code */
}
/* ==========================================
   CUSTOM LIST STYLE 3: DOWN ARROWS
   ========================================== */

/* 1. Force-remove Enfold's default bullets, circles, and background images */
#top .custom-list-arrows ul,
#top .custom-list-arrows ul li {
    list-style: none !important;
    list-style-type: none !important;
    background: none !important;
}

/* 2. Adjust the list container layout to match your existing styles */
#top .custom-list-arrows ul {
    padding-left: 0px !important;
}

/* 3. Prepare the list items for absolute icon positioning */
#top .custom-list-arrows li {
    position: relative;
    padding-left: 12px; /* Matches the exact spacing of your cross list */
}

/* 4. Inject your text-based down arrow and apply your custom color */
#top .custom-list-arrows li::before {
    content: "↓";
    color: #f16422; 
    font-weight: 300;
    font-size: 24px !important;
    position: absolute;
    left: -12px;              /* Matches your cross list left alignment */
    top: -2px;                /* Keeps the arrow level with your text font lines */
}
/* ==========================================
   STICKY BANNER MULTI-LINE MOBILE FIX
   ========================================== */
/* Force the text block to behave like a structural container */
.avia_textblock.my-sticky-banner {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
    background-color: #ffd8d7 !important;
}

/* --- DESKTOP VIEWPORTS --- */
@media only screen and (min-width: 768px) {
    .avia_textblock.my-sticky-banner {
        height: 45px !important;
        
        /* FLEXBOX CENTERING: Locks the 20px text dead-center inside the 45px box */
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        
        padding-top: 0 !important;   /* Clears desktop padding so Flexbox handles the math */
        padding-bottom: 0 !important;
    }
    .avia_textblock.my-sticky-banner p {
        margin: 0 !important;        /* Prevents paragraph margins from pulling the text down */
    }
    #top .av_minimal_header #header_main {
        padding-top: 45px !important; 
    }
}

/* --- MOBILE VIEWPORTS --- */
@media only screen and (max-width: 767px) {
    .avia_textblock.my-sticky-banner {
        height: auto !important;          /* UNLOCKS HEIGHT: Grows with multi-line text */
        padding-top: 5px !important;     /* Top breathing room around multi-line text */
        padding-bottom: 5px !important;  /* Bottom breathing room around multi-line text */
        padding-left: 15px !important;    /* Side cushion so text doesn't touch screen edges */
        padding-right: 15px !important;
    }
    .avia_textblock.my-sticky-banner p {
        margin: 0 !important;             /* Clears Enfold's paragraph gaps breaking the box */
        line-height: 1.3 !important;      /* Cleans up multi-line text stacking spacing */
    }
    /* Pushes your main website layout down further so the expanded mobile banner doesn't cover content */
    #top .av_minimal_header #header_main { 
        padding-top: 61px !important; 
    }
}
.align-home-icon {
    vertical-align: middle !important;
    position: relative;
    top: -2px; /* Adjust this number up or down by 1px to get it perfect */
}
.av-mrij435l-ca69816b87b75910e3c668231a9be77a {
    display: none !important;
}
/* Override Enfold's theme stylesheet specifically for this column */
html body #top #wrap_all div#get-urgent-care-now.column-top-margin {
    margin-top: 0px !important;
}
/* Completely hide this specific image element on all devices */
#top #wrap_all div.av-mqhjmlpn-2694edf830f39de02cfe7f0d68833baa {
    display: none !important;
    visibility: hidden !important;
    height: 0px !important;
    margin: 0px !important;
    padding: 0px !important;
}
/* Force text inside the notification to display exactly as written */
.notification-popup, 
.notification-popup * {
    text-transform: none !important;
}
#top #wrap_all .avia_textblock .child-page-links a,
#top #wrap_all .avia_textblock .child-page-links h2 a,
#top #wrap_all .child-page-links a {
    font-weight: 400 !important;
    padding-left: 30px !important;
    display: inline-block !important;
}