﻿/* These are overrides for NZISM only, usually not requried */

@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,900;1,300;1,700&display=swap');

/* CPD Hide Status (so users can keep editing dates and activities do not auto approve*/
.StatusRow {
    display: none !important;
}
/* =============================
   NZISM Homepage 
   ============================= */
@media (max-width: 1446px) {
    .nzism-homepagebuttoncontainer {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        margin: 2rem auto;
        text-align: center;
    }
}

@media (min-width: 1447px) {
    .nzism-homepagebuttoncontainer {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 1.5rem;
        text-align: center;
        position: absolute;
        top: 850px;
        z-index: 2;
        width: 80%;
        max-width: 1000px;
        left: 50%;
        transform: translateX(-50%);
        margin: 0 auto;
    }
}

.nzism-homepagebutton .btn {
    display: inline-block;
    background-color: #ed6823;
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 20px;
    padding: 1.9rem 1.0rem 1.9rem 1.0rem;
    transition: all 0.25s ease-in-out;
    min-width: 160px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Fifth button (Find a Member) */
.nzism-homepagebutton:nth-child(5) .btn {
    background-color: #004a70!important;
}

/* Hover / focus */
.nzism-homepagebutton .btn:hover,
.nzism-homepagebutton .btn:focus {
    transform: translateY(-2px);
    opacity: 0.95;
}

/* --- Mobile layout --- */
@media (max-width: 768px) {
    .nzism-homepagebuttoncontainer {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nzism-homepagebutton {
        width: 100%;
        display: flex;
        justify-content: center;
    }

        .nzism-homepagebutton .btn {
            width: 85%;
            border-radius: 1rem; /* slightly less rounded */
            padding: 1rem 0;
            font-size: 1rem;
            text-transform: none;
        }
}

/* Focus-visible outline for accessibility */
.nzism-homepagebutton .btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}


/* =============================
   NZISM Hero Text Overlay (Medium)
   ============================= */

/* Base large desktop (≥1440px) */
@media (min-width: 1440px) {
    .nzism-herotext-overlay-medium .Overlay {
        position: absolute !important;
        top: 50px !important;
        left: 0 !important;
        width: 100%;
        min-width: 100% !important;
        height: 1000px !important;
        background-image: url("https://nzism.mition.com.au/api/Website/DownloadFile?FileGuid=6b21f958-c592-4fa2-9b04-d5c0688ea130#EXT=.png") !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
        background-position: center !important;
        z-index: 0 !important;
    }
}

/* Between 1200–1439px */
@media (min-width: 1200px) and (max-width: 1439px) {
    .nzism-herotext-overlay-medium .Overlay {
        top: -200px !important;
    }
}

/* Between 961–1199px */
@media (min-width: 961px) and (max-width: 1199px) {
    .nzism-herotext-overlay-medium .Overlay {
        top: -290px !important;
    }
}

/* Hide ≤960px */
@media (max-width: 960px) {
    .nzism-herotext-overlay-medium .Overlay {
        display: none !important;
    }
}

@media (max-width: 658px) {
    .footer-bgfix a {
        min-width: 100%;
        width: 100%;
        display: block;
    }
}

/* =============================
   Disable absolute positioning when editing
   ============================= */

.editingmode.nzism-homepagebuttoncontainer {
    position: static !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 2rem auto !important;
    z-index: auto !important;
}

/* =============================
   NZISM Fixed Card Height (400px)
   ============================= */

.nzism-cardheight-400 .card {
    height: 400px !important;
    max-height: 400px !important;
    min-height: 400px !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.WebpageComponent-Footer .footericon {
    font-size: 40pt;
}






/* Make the footer elements all appear like one control */
.footer-marginfix {
    margin-top: -32px;
}

/* Custom bullet point styling with Font Awesome but only for text areas and accordion bodies */
.WebpageComponent-Text ul,
ul.bullet,
ul.bullet-list,
div.default-post-content ul,
.accordion-body ul {
    list-style: none; /* remove default bullets */
    padding-left: 20px; /* create space for icon */
    margin: 0 0 1em 0; /* spacing between lists */
}

    .WebpageComponent-Text ul li,
    ul.bullet li,
    ul.bullet-list li,
    div.default-post-content ul li,
    .accordion-body ul li {
        position: relative;
        padding-left: 18px; /* indent for icon */
        margin-bottom: 6px;
    }

        .WebpageComponent-Text ul li::before,
        ul.bullet li::before,
        ul.bullet-list li::before,
        div.default-post-content ul li::before,
        .accordion-body ul li::before {
            font-family: "FontAwesome";
            content: "\f054"; /* fa-chevron-right */
            color: #f47e2c; /* orange arrow */
            font-size: 0.85em;
            position: absolute;
            left: 0;
            top: 2px;
        }

/* Headers not full weight */
h1, h2, h5 {
    font-weight: unset;
}

/* Underline link formatting in text areas and accordion bodies only */
.WebpageComponent-Text u,
.accordion-body u {
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 0.1px; /* Subtle shift */
    display: inline-block;
    line-height: 1; /* Avoid vertical jitter */
}

/* 🔹 Footer background */
.footer-bgfix {
    background-color: #05466d !important;
    color: #fff !important;
}

/* 🔹 Link styling inside footer */
.footer-bgfixlinks a {
    color: #fff !important;
    position: relative;
    text-decoration: none;
    display: inline-block;
    padding: 0 6px;
    transition: color 0.3s ease;
}

    /* 🔹 Animated underline */
    .footer-bgfixlinks a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 100%;
        height: 2px;
        background-color: var(--Colour2, #00aaff);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.3s ease;
    }

    /* Adjust underline start for 2nd+ footer links */
    .footer-bgfixlinks a:not(:first-child)::after {
        left: 26px; /* shifts the underline start inward */
        width: calc(100% - 12px); /* shortens the underline on both sides */
    }


    /* 🔹 Hover highlight */
    .footer-bgfixlinks a:hover {
        color: var(--Colour2, #00aaff);
    }

        .footer-bgfixlinks a:hover::after {
            transform: scaleX(1);
        }

/* 🔹 Pipe dividers — only on large screens */
@media screen and (min-width: 1050px) {
    .footer-bgfixlinks a:not(:first-child)::before {
        content: "|";
        color: #ccc;
        margin: 0 8px;
        display: inline-block;
        vertical-align: middle;
        pointer-events: none; /* never blocks hover */
    }

  
}

/* 🔹 footer changes for small screens */
@media screen and (max-width: 1049px) {
    .footer-bgfixlinks a {
        height: 40px;
    }

    /* Social icons on the footer are too close to the address*/
    .footer-col-4 {
        min-height: 100px;
    }

    /* footer icon centre on mobile*/
    .footer-col-1 .members--wysiwyg--AlignLeft {
        text-align: center;
    }
}


    /* blockquote (added to Mition Master also can be removed post Sept 2025)*/
    blockquote {
        border-left: 5px solid #eee;
        color: #666;
        font-family: var(--Font2),sans-serif;
        font-size: 1.2em;
        font-style: italic;
        margin: 16px 0;
        padding: 10px 20px;
    }

    /*Event List on website hide Venue Filter (to web users */
    .VenueFilter {
        display: none !important;
    }

    /* Large Screens */
    @media screen and (min-width: 1050px) {




        /* Footer Overlay */
        .footer-overlay1 {
            background-color: transparent;
            background-image: url(https://nzism.mition.com.au/api/Website/DownloadFile?FileGuid=df47f6df-cf0e-46ca-8023-c6a3f83f5234#EXT=.png) !important;
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            z-index: 0;
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0.1;
            top: 15px;
            right: -30%;
        }

        .HeroOverlay1 .Overlay {
            background-color: transparent;
            background-image: url(https://nzism.mition.com.au/api/Website/DownloadFile?FileGuid=05f1ce83-27e4-4dc8-9037-2e645861aa8a#EXT=.png) !important;
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            z-index: 0;
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0.1;
            top: 0px;
            right: -5%;
        }


        .HeroOverlay2 .Overlay {
            background-color: transparent;
            background-image: url(https://nzism.mition.com.au/api/Website/DownloadFile?FileGuid=df47f6df-cf0e-46ca-8023-c6a3f83f5234#EXT=.png) !important;
            background-repeat: no-repeat;
            background-position: center;
            background-size: contain;
            z-index: 0;
            position: absolute;
            width: 100%;
            height: 100%;
            opacity: 0.1;
            top: 0px;
            right: -5%;
        }

        /* For Hero 3.0 when you want a banner less than 600pt*/
        .Hero-NoMinHeight {
            min-height: unset;
        }

        /* Align card sizes on desktop up*/
        /* make all cols equal height */
        .card-fullheight {
            display: flex; /* make the col a flexbox */
        }

            /* make the card stretch inside */
            .card-fullheight .card {
                flex: 1 1 auto; /* force it to expand */
                display: flex;
                flex-direction: column;
                height: 100%; /* this bit makes all cards the same height */
            }

            /* let body grow */
            .card-fullheight .card-body {
                flex-grow: 1;
            }
    }

    .button220 .btn {
        min-width: 220px;
    }


    /* Override blockquote inside Hero Style 3 + 5 */
    .altblockquote blockquote {
        color: #d9e6f2; /* pale blue-grey text */
        border-left: 4px solid #d9e6f2; /* softer divider */
    }


    /* Hide Points/Hours from users on Activity Editor screen*/
    .Education--PointsField {
        display: none;
    }

    /* CPD Logo (image is stored in Document Library > Media Library root*/
    .mycpd-header {
        width: 100%;
        height: 100%;
        background-color: var(--Colour1);
        padding: 1px;
        margin: 0px;
        max-height: 140px;
    }

    .mycpd-logo-slot {
        background-color: var(--Colour1);
        background-image: url(https://nzism.mition.com.au/api/Website/DownloadFile?FileGuid=555a688d-9755-4976-a42b-f2e3fbf1b21a#EXT=.png);
        background-repeat: no-repeat;
        background-size: contain;
        max-width: 250px;
        aspect-ratio: 1182 / 299;
    }

    .mycpd-header .desktoponly {
        display: none !important;
    }


    /* Network colours and other*/
    .header-network .Header {
        border-bottom: 3px solid grey;
    }

    /* Event Header*/
    .EventPageWrapper .field-eventTitle {
        color: var(--Colour1) !important;
    }


    /* Pricing for Subscriptions headers*/
    .pricing-table-page .card-header h4 {
        color: var(--Colour2);
    }


    /* NZISM class*/
    .nzism h4 {
        font-family: "Lato", sans-serif;
        font-weight: 500;
        font-size: 1.75rem;
        color: var(--Colour1);
    }


/* Hide User Directory (Member Search) Fields State and Postcode */
.DynamicFilter--state {
    display: none;
}

.DynamicFilter--postcode {
    display: none;
}


/*Hide occupation / company from these lists*/
.NZISM-UserDirectory .field-occupation {
    display: none;
}

.NZISM-UserDirectory .field-company {
    display: none;
}