
/* ====================================================================
   ACCESSIBILITY FIXES - ORKNEY ISLANDS COUNCIL
   Consolidated and optimised version - February 2026
   ==================================================================== */

/* Tell the new class to look exactly like the old 'dropdown' buttons */
.nav-button-static {
    background: #fff;
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
    display: block;
    margin-bottom: 10px;
}

.nav-button-static a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

/* ====================================================================
   FOCUS VISIBILITY - WCAG 2.1 Level AA SC 2.4.7
   ==================================================================== */

/* Base focus styles for all interactive elements */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid #005a9c !important;
    outline-offset: 2px !important;
}

/* Skip to content link - highly visible when focused */
#skipToContent {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

#skipToContent:focus {
    position: absolute;
    left: 0;
    top: 0;
    background: #005a9c;
    color: white;
    padding: 10px 15px;
    outline: 3px solid #ffffff;
    outline-offset: -3px;
    z-index: 10000;
    text-decoration: none;
    width: auto;
    height: auto;
    overflow: visible;
}

/* Armed Forces Covenant logo focus */
.AFC-Logo a:focus,
.AFC-Logo a:focus img {
    outline: 3px solid #ffdd00 !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 6px rgba(255, 221, 0, 0.3) !important;
}

/* Email links focus */
a[href^="mailto:"]:focus {
    outline: 3px solid #005a9c !important;
    outline-offset: 2px !important;
    background-color: rgba(0, 90, 156, 0.1);
    text-decoration: underline;
}

/* Navigation focus */
.breadcrumb-trail a:focus,
.headerNav2023 a:focus,
.SKNavLevel4 a:focus,
.SKNavLevel5 a:focus {
    outline: 3px solid #005a9c !important;
    outline-offset: 2px !important;
    background-color: rgba(0, 90, 156, 0.1);
}

/* Footer links focus */
.footerLink:focus,
.footerWrapper a:focus {
    outline: 3px solid #005a9c !important;
    outline-offset: 2px !important;
    background-color: rgba(255, 255, 255, 0.2);
}

/* Home link boxes focus */
.homeLinkBoxNew a:focus {
    outline: 3px solid #ffdd00 !important;
    outline-offset: 2px !important;
    background-color: rgba(255, 255, 255, 0.2);
}

.homeLinkHeader a:focus {
    outline: 3px solid #ffdd00 !important;
    outline-offset: 2px !important;
}

/* Button focus */
#secondaryNavToggleBtn:focus,
.related-downloads-toggle:focus,
.related-links-toggle:focus {
    outline: 3px solid #005a9c !important;
    outline-offset: 2px !important;
    background-color: rgba(0, 90, 156, 0.1);
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus,
    [tabindex]:focus {
        outline: 3px solid currentColor !important;
        outline-offset: 2px !important;
    }
}

/* Forced colors mode (Windows High Contrast) */
@media (forced-colors: active) {
    a:focus,
    button:focus,
    input:focus,
    select:focus,
    textarea:focus,
    [tabindex]:focus {
        outline: 3px solid !important;
    }
}

/* Scroll margin to prevent sticky headers obscuring focus */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    scroll-margin: 8px;
}


/* ====================================================================
   TOUCH TARGET SIZES - WCAG 2.2 SC 2.5.8
   ==================================================================== */

/* Dropdown menu items - minimum 24px */
.dropdown-content ul li a {
    display: block;
    min-height: 24px;
    padding: 10px 15px;
    line-height: 1.4;
}

/* Ensure adequate spacing between navigation items (minimum 8px) */
.dropdownWrapper > * + * {
    margin-left: 8px;
}

/* Most Popular and Other Services box links */
.homeLinkBoxNew ul li a {
    display: inline-block;
    min-height: 24px;
    padding: 8px 0;
    line-height: 1.5;
    margin: 4px 0;
}

.homeLinkBoxNew ul li {
    margin-bottom: 8px;
}

/* Social media icons - 44px for better touch targets */
.headerIcons ul li a {
    display: inline-block;
    min-height: 44px;
    min-width: 44px;
    padding: 5px;
}

/* CTA buttons (Book It, Pay It, etc.) */
.homeCTARow ul li a {
    display: inline-block;
    min-height: 44px;
    padding: 12px 20px;
    line-height: 1.4;
}

/* Footer links */
.footerWrapper a {
    display: inline-block;
    min-height: 24px;
    padding: 4px 2px;
    margin: 0 2px;
}

/* Touch device optimisation - WCAG 2.2 best practice (44×44px) */
@media (hover: none) and (pointer: coarse) {
    .dropdown-content li a {
        min-height: 44px;
        padding: 12px 20px;
    }
}


/* ====================================================================
   SEARCH BOX - REFLOW AT 400% ZOOM
   ==================================================================== */

/* Search form container */
.searchFormWrapper {
    max-width: 100%;
    overflow: visible;
}

.searchFormWrapper form {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* Search input - responsive */
.searchFormWrapper input[type="text"] {
    font-size: 1rem;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 8px;
    flex: 1 1 200px;
}

.searchFormWrapper input[type="submit"] {
    flex: 0 0 auto;
    min-width: 60px;
}

/* Shorten placeholder at small screens/high zoom */
@media (max-width: 400px) {
    .searchFormWrapper input[type="text"]::placeholder {
        font-size: 0.9rem;
    }
}

/* ====================================================================
   UTILITY CLASSES
   ==================================================================== */

/* Visually hidden but accessible to screen readers */
.visually-hidden,
.visuallyhidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Allow visually hidden content to be focusable */
.visually-hidden:focus,
.visuallyhidden:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
}

/* ====================================================================
   BREADCRUMB - Consolidated and Corrected
   ==================================================================== */
#breadcrumbOuterWrapper {
    display: inline-block;
    float: left;
    width: 100%;
    border-bottom: 3px solid #000;
    margin: 0 0 20px;
}

.breadcrumb-trail {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    float: left;
}

.breadcrumb-item {
    display: inline;
}

.breadcrumb-item:not(:last-child)::after {
    content: " | ";
    padding: 0 5px;
}

.breadcrumb-trail::before {
    content: 'You are here: \00A0';
    font-weight: bold;
    color: #000;
}

.breadcrumb-item a {
    text-decoration: none;
    border-bottom: 2px solid transparent;
    color: #00008B; /* Better contrast than #191970 - passes WCAG 3:1 requirement */
    font-weight: 500;
    transition: border-color 0.2s ease;
}

.breadcrumb-item a:hover,
.breadcrumb-item a:focus {
    border-bottom-color: currentColor;
}

.breadcrumb-item a:focus {
    outline: 2px solid #00008B;
    outline-offset: 2px;
}

.breadcrumb-item.breadcrumb-last {
    color: #3c3c3c;
    font-weight: bold;
}

/* Breadcrumb toggle button */
#breadcrumbToggle {
    position: absolute;
    left: -1000px;
    top: -1000px;
}

label[for="breadcrumbToggle"],
button#breadcrumbToggleBtn {
    display: none;
    float: right;
    min-height: 46px;
    min-width: 140px;
    color: #fff;
    background-color: #191970;
    padding: 15px;
    line-height: 100%;
    cursor: pointer;
    border-style: none;
    border-radius: 0;
    font-size: 1em;
}

label[for="breadcrumbToggle"]::after,
button#breadcrumbToggleBtn::after {
    content: '+';
    display: inline-block;
    float: right;
    padding: 0 0 0 10px;
    font-weight: bold;
}

#breadcrumbToggle:checked ~ label[for="breadcrumbToggle"],
input#breadcrumbToggle:focus + label,
button#breadcrumbToggleBtn[aria-expanded="true"] {
    background-color: #006400;
}

#breadcrumbToggle:checked ~ label[for="breadcrumbToggle"]::after,
button#breadcrumbToggleBtn[aria-expanded="true"]::after {
    content: " -";
}

#breadcrumbToggle:checked ~ #breadcrumbOuterWrapper {
    display: inline-block;
}

/* ====================================================================
   FIXED MOBILE BREADCRUMB BEHAVIOUR (WCAG REFLOW COMPLIANCE)
   ==================================================================== */
@media screen and (max-width: 600px) {
    /* Stop hiding the wrapper */
    #breadcrumbOuterWrapper {
        display: block !important;
        height: auto;
        overflow: visible;
    }

    /* Ensure the trail can wrap onto multiple lines */
    .breadcrumb-trail {
        display: block;
        padding: 10px;
        line-height: 1.6; /* Adds space between wrapped lines for touch accuracy */
    }

    .breadcrumb-item {
        display: inline; /* Keep them flowing like text */
        word-wrap: break-word;
    }

    /* Hide the toggle buttons if you don't want the 'accordion' style on mobile, 
       but keep the actual breadcrumb text visible */
    label[for="breadcrumbToggle"],
    button#breadcrumbToggleBtn {
        display: none;
    }
}

/* ====================================================================
   SECONDARY NAVIGATION - Updated with black styling
   ==================================================================== */
.MorePagesDiv,
.MorePagesDiv nav,
nav.newRegion3 {
    background-color: transparent !important;
}

#secondaryNavigation {
    width: 100%;
    overflow: hidden;
    border-bottom: 10px solid var(--color-bg);
    background-color: #3c3c3c1f !important;
}

#secondaryNavigation input {
    position: absolute;
    left: -100px;
    top: -100px;
}

#secondaryNavigation h2 {
    width: 100%;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
}

#secondaryNavigation label,
#secondaryNavigation button {
    display: block;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    font-size: 1em;
    border-style: none;
    border-radius: 0;
    text-align: left;
}

#secondaryNavigation label::after,
#secondaryNavigation button::after {
    content: '+';
    font-weight: bold;
    float: right;
}

#secondaryNavigation div {
    display: block;
}

#vertNavInner {
    display: block;
    padding-bottom: 9px;
}

#secondaryNavigation div ul{
    list-style-type: none;
    margin: 0;
    padding: 0 18px;
}

.SKNavLevel5 {
    list-style-type: none;
    margin: 0;
    padding: 0 0;
}

/* Support for hidden attribute */
#vertNavInner[hidden] {
    display: none !important;
}

#secondaryNavigation div ul ul {
    padding: 0;
}

#secondaryNavigation div ul li {
    font-weight: bold;
    margin: 5px 0;
}

#secondaryNavigation div ul li li {
    font-size: 100%;
}

#secondaryNavigation div > ul > li > span {
    display: none;
}

#secondaryNavigation div a {
    display: inline-block;
    padding: 10px 0;
}

#secondaryNavigation div a::before,
.SKNavLevel5 > li a::before {
    content: "⮊ ";
}

#secondaryNavigation input[type=checkbox]:checked ~ label,
#secondaryNavigation input[type=checkbox]:focus ~ label,
#secondaryNavigation label:focus,
#secondaryNavigation button[aria-expanded="true"] {
    background-color: #3c3c3c;
}

#secondaryNavigation input[type=checkbox]:checked ~ label::after,
#secondaryNavigation button[aria-expanded="true"]::after {
    content: '-';
}

#secondaryNavigation input[type=checkbox]:checked ~ div {
    display: block;
}

/* ====================================================================
   RELATED SECTIONS (Downloads, Links, Sites) - Updated with black styling
   ==================================================================== */
.relatedOuterWrapper,
.relatedOuterWrapper > div,
#relatedOuterWrapper0,
#relatedOuterWrapper1,
#relatedOuterWrapper2 {
    background-color: #3c3c3c1f !important;
}

.relatedOuterWrapper {
    width: 100%;
    overflow: hidden;
    margin: 20px 0 0;
}

.relatedOuterWrapper input {
    position: absolute;
    left: -100px;
}

.relatedOuterWrapper h2 {
    width: 100%;
    font-size: 1em;
    font-weight: normal;
    margin: 0;
}

.relatedOuterWrapper label,
.relatedOuterWrapper button {
    display: block;
    background-color: #000;
    color: #fff;
    cursor: pointer;
    padding: 18px;
    border-style: none;
    border-radius: 0;
    width: 100%;
    text-align: left;
    font-size: 1em;
}

.relatedOuterWrapper label::after,
.relatedOuterWrapper button::after {
    content: '+';
    font-weight: bold;
    float: right;
}

.relatedOuterWrapper > div {
    display: block;
    padding-bottom: 9px;
}

#relatedBlock0Content,
#relatedBlock1Content,
#relatedBlock2Content {
    display: block;
}

/* Support for hidden attribute */
#relatedBlock0Content[hidden],
#relatedBlock1Content[hidden],
#relatedBlock2Content[hidden] {
    display: none !important;
}

.relatedOuterWrapper > div a {
    display: block;
    font-size: inherit;
    margin: 5px 0;
    padding: 10px 10px 0;
    font-weight: bold;
}

.relatedOuterWrapper > div span {
    display: inline-block;
    padding: 0 0 0 6px;
    font-size: .8em;
    line-height: 2;
    color: #000;
}

.relatedOuterWrapper > div ul {
    background-color: #3c3c3c1f;
}

.relatedOuterWrapper > div li {
    display: block;
    float: left;
    width: 100%;
    padding: 0;
    margin: 0;
}

.relatedOuterWrapper input[type=checkbox]:checked ~ h2 label,
.relatedOuterWrapper input[type=checkbox]:focus ~ h2 label,
.relatedOuterWrapper h2 label:focus,
.relatedOuterWrapper button[aria-expanded="true"] {
    background-color: #3c3c3c;
}

.relatedOuterWrapper input[type=checkbox]:checked ~ h2 label::after,
.relatedOuterWrapper button[aria-expanded="true"]::after {
    content: '-';
}

.relatedOuterWrapper input[type=checkbox]:checked ~ #internalLinks,
.relatedOuterWrapper input[type=checkbox]:checked ~ #externalLinks,
.relatedOuterWrapper input[type=checkbox]:checked ~ div.SKPostRelatedDownloads,
.relatedOuterWrapper input[type=checkbox]:checked ~ div.SKPostRelatedPages,
.relatedOuterWrapper input[type=checkbox]:checked ~ div.SKPostRelatedLinks {
    display: block;
}

/* Download, internal and external link styling */
.downloadblock,
#internalLinks,
#externalLinks {
    background-color: #3c3c3c1f;
}

.downloadlink::before {
    content: "🗎 ";
}

.downloadSize::before {
    content: "- ";
}

.downloads-line-break {
    display: none !important;
}

.downloadlink {
    display: inline-block !important;
    padding-right: 0 !important;
}

.downloadSize {
    font-weight: bold;
    display: inline-block;
    padding-left: 10px !important;
    line-height: 2;
    color: #000;
}

.externalSummary,
.internalSummary,
.downloadhead,
.referencehead {
    display: none !important;
}

.externalLink::before {
    content: "↬ ";
}

.internalLink::before {
    content: "↫ ";
}


/* AskHR Chatbot */
.AskHR-Border {
    border-radius: 25px;
    border: 2px solid #660033;
    padding: 20px;
    background-color: #b2005914;
    margin-top: 24px;
}
.chat-container {
    position: relative;
    width: 100%;
    height: 610px;
    border: none;
    border-radius: 15px;
}
.chat-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}
.header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px; /* Adjust this if header is taller/shorter */
    background-color: white;
    z-index: 10;
    border: none;
    border-radius: 12px;
}

/* Old CSS */
[data-theme="light"] {
    --color-bg: #fffffe;
    --color-fg: #000000
}

[data-theme="dark"] {
    --color-bg: #000000;
    --color-fg: #ffffff
}

a {min-width:24px;min-height:24px;}

.footerLink{
    min-width:24px;
    min-height:24px;
}

@media(pointer: fine){
    a {min-width:unset;min-height:unset;}
    
    .footerLink{
        min-width:unset;
        min-height:unset;
    }
}

body {
    background-color: var(--color-bg);
    font-family: Arial, Verdana, sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh
}

* {
    box-sizing: border-box
}

img {
    max-width: 100%
}

.outerWrapper {
    width: 960px;
    max-width: 100%;
    margin: 0 auto;
    background: var(--color-bg)
}

#skipToContent {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: -500px;
    display: block;
    padding: 20px;
    color: #fff;
    background-color: #006400
}

    #skipToContent:focus {
        left: 0;
        top: 0
    }

    #skipToContent:hover {
        background-color: #8b0000
    }

a.navHomeLinkSelected {
    background-color: #006400
}

.footerCol {
    padding: 0 35px;
    width: 100%
}

    .footerCol * {
        color: var(--color-bg);
        font-size: 1em
    }

    .footerCol a {
        text-decoration: none
    }

        .footerCol a:hover,
        .footerCol a:active {
            text-decoration: underline !important
        }

    .footerCol ul,
    .footerCol p {
        list-style-type: none;
        margin: 0;
        padding: 0;
        line-height: 120%
    }

    .footerCol p,
    .footerCol li {
        margin: 15px 0 0;
        display: inline-block;
    }

        .footerCol p:first-child,
        .footerCol li:first-child {
            margin: 0
        }

    .footerCol img {
        margin: 0 auto;
        display: inline-block;
    }

.contentWrapper {
    float: left;
    width: 100%;
    background-color: var(--color-bg);
    padding: 10px 20px
}

    .contentWrapper .newstitle,
    div.sitemap,
    .newsDetail .newsarticletitle {
        display: none
    }

    .contentWrapper > h1,
    .SKPostsIntroduction h1,
    .formTable h1,
    .newsarticlebody h1 {
        color: #191970;
        font-size: 1.75em;
        font-weight: bold
    }

    .contentWrapper > .searchFormWrapper + h1 {
        text-align: center;
        line-height: 200%
    }

    .contentWrapper > h2,
    .SKPostList h2,
    .formTable h2,
    .listby-Header,
    .newsarticlebody h2,
    .SKPostBody > h2 {
        color: #191970;
        font-size: 1.5em;
        font-weight: bold
    }

    .contentWrapper > h3,
    .formTable h3,
    .listBy-Category,
    .newsarticlebody h3,
    .SKPostBody > h3 {
        color: #191970;
        font-size: 1.2em;
        font-weight: bold
    }

    .contentWrapper > h4,
    .formTable h4,
    .listBy-Title-sp,
    .newsarticlebody h4,
    .SKPostBody > h4 {
        color: #191970;
        font-size: 1.1em;
        font-weight: bold
    }

    .contentWrapper > h5,
    .formTable h5,
    .newsarticlebody h5,
    .SKPostBody > h5 {
        color: #191970;
        font-size: 1.1em;
        font-weight: bold
    }

    .contentWrapper > h6,
    .formTable h6,
    .newsarticlebody h6,
    .SKPostBody > h6 {
        color: #191970;
        font-size: 1.05em;
        font-weight: bold
    }

    .contentWrapper > ul,
    .contentWrapper > ol,
    .formTable ul,
    .formTable ol,
    .newsarticlebody ul,
    .newsarticlebody ol,
    .SKPostBody ul,
    .SKPostBody ol {
        padding: 0;
        margin: 0 0 0 20px
    }

        .contentWrapper > p,
        .contentWrapper > ul li,
        .contentWrapper > ol li,
        .SKPostList p,
        .formTable p,
        .formTable li,
        .newsarticlebody p,
        .newsarticlebody li,
        .SKPostBody > p {
            color: #000;
            font-size: 1em;
            line-height: 1.5em
        }

            .contentWrapper > p a,
            .contentWrapper > ul a,
            .contentWrapper > ol a,
            .contentWrapper td a,
            .newsarticlebody a,
            .SKPostBody > a {
                color: #191970;
                font-weight: bold
            }

    .contentWrapper table {
        border-collapse: collapse;
        border-spacing: 0;
        width: 100%
    }

        .contentWrapper table tr:nth-child(2n) {
            background-color: #f2f2f2
        }

        .contentWrapper table th,
        .contentWrapper table td {
            text-align: left;
            padding: 8px;
            border: 1px solid #191970;
            border-width: 0 1px 1px 0
        }

            .contentWrapper table th:last-child,
            .contentWrapper table td:last-child {
                border-right-width: 0
            }

        .contentWrapper table tr:last-child td {
            border-bottom-width: 0
        }

    .contentWrapper > img,
    .SKPostImage img {
        max-width: 33%;
        margin: 5% auto;
        border: 2px solid #191970;
        display: block
    }

.tableWrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #191970;
    margin: 0 0 20px
}

.contentWrapper a {
    color: #191970
}

    .contentWrapper a:hover,
    .contentWrapper a:active {
        color: #006400
    }

.buttonTextWrapper {
    width: 100%;
    float: left;
    padding: 15px 0 30px
}

    .buttonTextWrapper * {
        padding: 0;
        margin: 0;
        font-size: 1em
    }

    .buttonTextWrapper a {
        display: inline-block;
        font-size: 1.2em;
        font-weight: bold;
        color: #000 !important;
        padding: 14px 24px;
        border: 4px solid #000;
        border-radius: 5px;
        text-decoration: none
    }

        .buttonTextWrapper a:hover,
        .buttonTextWrapper a:active,
        .buttonTextWrapper a:focus {
            background-color: #000;
            color: #fff !important;
        }

.searchFormWrapper {
    width: calc(100% - 160px)
}

.homeBannerWrapper {
    float: left;
    width: 25%;
    padding: 0 1px;
    position: relative
}

.homeBannerSlide {
    float: left;
    width: 100%
}

    .homeBannerSlide:first-child {
        display: block
    }

.homeBannerControl {
    display: block;
    position: absolute;
    top: calc(50% - 40px);
    border: 1px solid #fff;
    padding: 14px 16px 16px;
    color: #f2f2f2;
    background-color: #3c3c3c;
    line-height: 100%;
    font-weight: bold;
    font-size: 1.5em;
    text-decoration: none
}

    .homeBannerControl:hover,
    .homeBannerControl:active,
    .homeBannerControl:focus {
        background-color: #006400
    }

.homeBannerControlLeft {
    left: 0
}

.homeBannerControlRight {
    right: 0
}

.homeBannerSlide img {
    float: left
}

.homeBannerSlideTxt {
    position: absolute;
    bottom: 10px;
    width: 100%;
    border: 1px solid #fff;
    border-width: 1px 0;
    background-color: #3c3c3c;
    text-align: center
}

    .homeBannerSlideTxt * {
        margin: 0;
        padding: 0;
        font-size: 1.1em
    }

    .homeBannerSlideTxt a {
        color: #fff;
        display: block;
        padding: 6px 4px;
        margin: 0;
        text-decoration: none;
        font-size: 100%
    }

        .homeBannerSlideTxt a:hover,
        .homeBannerSlideTxt a:active,
        .homeBannerSlideTxt a:focus {
            background-color: #006400
        }

.homeBannerSlideIndicator {
    position: absolute;
    left: -1px;
    top: 5px;
    border: 1px solid #fff;
    color: #f2f2f2;
    background-color: #3c3c3c;
    padding: 8px 12px;
    font-size: 1em
}

#___gcse_0,
#___gcse_0 * {
    background-color: transparent;
    border-style: none
}

    #___gcse_0 div,
    #___gcse_0 table,
    #___gcse_0 table td {
        padding-left: 0;
        padding-right: 0
    }

    #___gcse_0 .gsc-option-menu {
        background-color: #fff;
        padding: 0 28px 0 6px
    }

    #___gcse_0 .gsc-selected-option-container {
        padding: 0 28px 0 6px
    }

    #___gcse_0 .gsc-option-selector {
        padding: 0 20px 0 5px
    }

.gsc-adBlock {
    display: none !important
}

.SKPostList,
.SKPostDetails {
    float: left;
    width: 100%
}

.customListingImg {
    width: 25%;
    float: left;
    line-height: 120%
}

    .customListingImg img {
        width: 90%;
        border: 2px solid #191970;
        margin: .4em 0 0
    }

.customListingTxt {
    width: 100%;
    float: left
}

    .customListingTxt h2 {
        margin-top: 0
    }

    .customListingTxt .SKPostsListItemDate {
        font-style: italic;
        color: #333;
        margin-bottom: 0
    }

.customListingImg + .customListingTxt {
    width: 75%
}

.SKPostList .SKPosts li {
    display: block;
    float: left;
    width: 100%;
    border-top: 1px solid #eaeaea;
    padding: 20px 0 0;
    margin: 20px 0 0
}

    .SKPostList .SKPosts li:first-child {
        padding: 0;
        margin: 0;
        border-style: none
    }

        .SKPostList .SKPosts li:first-child h2 {
            padding-top: 20px
        }

.SKPostCustomFields ul {
    margin: 0;
    padding: 0
}

.SKPostCustomFieldLabel {
    font-weight: bold
}

.SKPostCustomFields ul li div {
    display: inline-block;
    padding: 0 10px 0 0
}

.SKPostCustomFields {
    padding: 0 0 40px
}

.SKPostCustomField-Summary,
.SKPostCustomField-SUMMARY,
.SKPostAddToCalendar,
.SKPostCustomFieldEmpty {
    display: none
}

.newsListingItem {
    display: block;
    float: left;
    width: 100%;
    border-top: 1px solid #eaeaea;
    border-top-style: solid;
    padding: 20px 0 0;
    margin: 20px 0 0
}

    .newsListingItem:nth-child(8) {
        padding: 30px 0 0;
        margin: 0;
        border-style: none
    }

    .newsListingItem:last-child {
        padding-bottom: 60px
    }

.newsarticletitle a {
    display: block;
    padding: 0 28px 0 0;
    color: #191970;
    font-size: 1.5em;
    font-weight: bold
}

.newsarticlesummary p {
    color: #000;
    font-size: 1em;
    line-height: 1.5em
}

span.newsarticledate {
    font-size: 1em;
    line-height: 1.5em;
    font-style: italic;
    color: #333;
    margin-bottom: 0
}

.formTable {
    padding-bottom: 60px
}

    .formTable,
    .formTable > div,
    .formTable > div > div {
        width: 100%;
        float: left
    }

        .formTable > div > div {
            padding: 10px 0
        }

            .formTable > div > div > div {
                width: 40%;
                float: left;
                padding-right: 5%
            }

                .formTable > div > div > div label {
                    display: inline-block;
                    padding: 7px 0
                }

                .formTable > div > div > div.FormContentRight label {
                    padding: 0 0 8px
                }

                .formTable > div > div > div + div {
                    width: 60%;
                    float: left
                }

                    .formTable > div > div > div + div input,
                    .formTable > div > div > div + div textarea,
                    .formTable > div > div > div + div select {
                        width: 100%;
                        padding: 7px;
                        -webkit-appearance: none;
                        border-radius: 0;
                        border: 1px solid #3c3c3c
                    }

                        .formTable > div > div > div + div input[type="checkbox"] {
                            width: auto;
                            -webkit-appearance: checkbox
                        }

                        .formTable > div > div > div + div input[type="radio"] {
                            width: auto;
                            -webkit-appearance: radio
                        }

            .formTable > div > div.formLabel div {
                width: 100%
            }

        .formTable > div.FormContentBoth {
            padding: 20px 0
        }

            .formTable > div.FormContentBoth input {
                padding: 8px 14px;
                cursor: pointer;
                background-color: #191970;
                color: #fff;
                border-style: none;
                font-size: 1.1em;
                -webkit-appearance: none;
                border-radius: 0
            }

                .formTable > div.FormContentBoth input:active {
                    background-color: #006400
                }

        .formTable .formAddress > div.formtextbox {
            float: right
        }

.SKAtoZ {
    padding-bottom: 60px
}

.listby-alphabet {
    display: flex;
    width: calc(100% + 10px);
    flex-wrap: wrap;
    margin: 0 0 0 -10px
}

    .listby-alphabet > span,
    .listby-alphabet > a {
        flex: 1 0 auto;
        display: block;
        padding: 6px;
        margin: 0 0 10px 10px;
        background-color: #191970;
        color: #fff;
        text-decoration: none;
        text-align: center;
        line-height: 100%
    }

        .listby-alphabet > span,
        .listby-alphabet > a:hover,
        .listby-alphabet > a:active {
            background-color: #006400;
            color: #fff
        }

.listby-Header {
    width: 100%;
    padding: 40px 0 10px
}

.listBy-page {
    width: 100%;
    padding: 0 0 10px
}

.listBy-Category {
    width: 100%;
    padding: 30px 0 10px
}

.listBy-Title-sp {
    display: block;
    width: 100%;
    padding: 0 0 4px
}

.sitemapbody {
    float: left;
    width: 100%
}

    .sitemapbody dl dd {
        padding: 0;
        margin: 0
    }

    .sitemapbody dl dt {
        color: #191970;
        font-weight: bold
    }

    .sitemapbody > dl > dt {
        font-size: 1.5em;
        padding: 0 0 5px
    }

    .sitemapbody > dl > dd > dl > dt {
        font-size: 1.3em;
        padding: 30px 0 5px
    }

    .sitemapbody > dl > dd > dl > dd > dl {
        padding-left: 20px
    }

        .sitemapbody > dl > dd > dl > dd > dl > dt {
            font-size: 1.1em;
            padding: 10px 0 5px
        }

        .sitemapbody > dl > dd > dl > dd > dl dd dl {
            padding: 0 0 0 20px
        }

        .sitemapbody > dl > dd > dl > dd > dl dd dt {
            padding: 10px 0 5px
        }

.faqsearchtext {
    font-weight: bolder;
    font-size: large;
    color: #006400
}

.FAQlisthead {
    font-weight: bolder;
    font-size: larger;
    color: #006400;
    padding: 1%;
    margin-top: 20px
}

.faq-question {
    margin: 35px;
    font-weight: bold
}

#faqsearchOperator {
    font-size: inherit;
    padding: 2px
}

#faqsearch {
    width: 100% !important;
    max-width: 400px;
    font-size: inherit
}

#FAQsubmit {
    font-size: inherit
}

.faq-show-all {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    padding: 8px 10px;
    border: 4px solid #006400;
    border-radius: 5px;
    margin-top: 20px
}

    .faq-show-all a {
        text-decoration: none !important;
        color: #006400 !important
    }

.faq-show-all-back-link {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    padding: 8px 10px;
    border: 4px solid #006400;
    border-radius: 5px;
    margin-top: 20px
}

    .faq-show-all-back-link a {
        text-decoration: none !important;
        color: #006400 !important
    }

.faq-backtolist {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    padding: 8px 10px;
    border: 4px solid #006400;
    border-radius: 5px
}

    .faq-backtolist a {
        text-decoration: none !important;
        color: #006400 !important;
        display: none
    }

    .faq-backtolist br {
        display: none
    }

.faq-question-detail {
    font-weight: bolder;
    font-size: larger;
    color: #191970;
    margin: 2%
}

.faq-answer-detail {
    margin: 2%
}

.FAQreferencehead {
    font-weight: bolder;
    font-size: larger;
    color: #006400;
    padding: 1%
}

.related-faq {
    padding: 1%
}

.buttonTextWrapper {
    background-color: var(--color-bg)
}

#RelatedFaqs {
    margin-bottom: 20px
}

.faq-backtolist {
    display: none
}

#FAQsubmit {
    font-size: 1.2em;
    font-weight: bold;
    padding: 8px 10px;
    border: 4px solid #006400;
    border-radius: 5px;
    margin-top: 5px;
    margin-left: 5px;
    color: #006400 !important
}

#faqsearch {
    height: 40px
}

#faqsearchOperator {
    height: 40px
}

.faqsearchfor {
    color: #3c3c3c;
    font-weight: bold;
    font-size: large
}

.innerWrapper {
    margin-top: 0;
    margin-right: auto;
    margin-bottom: 0;
    margin-left: auto;
    max-width: 1100px
}

.outerWrapper {
    width: 100%;
    background: var(--color-bg) !important
}

.homeBannerWrapper {
    width: 100%
}

.homeBannerSlide img {
    width: 100%;
    max-height: 350px;
    object-fit: cover
}

.footerCol {
    text-align: center;
    margin: auto
}

    .footerCol img {
        margin-left: -35px
    }

.headerLeft,
.headerRight {
    padding-bottom: 8px
}

a.navHomeLinkSelected {
    background-color: #8b0000 !important
}

@media screen and (max-width:700px) {
    .homeBannerSlide img {
        height: 130px
    }

    .homeBannerSlideTxt a {
        font-size: 70%
    }

    .homeBannerControl {
        padding: 5px 6px 6px;
        top: calc(66% - 40px)
    }

    .homeBannerSlideIndicator {
        font-size: 70%
    }
}

#ContImagePicker3_EditableImage {
    width: 100px !important
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px
}

.ccc-icon--dark:focus {
    outline: auto !important
}

.hdrNavToggle {
    display: none
}

@media screen and (max-width:600px) {
    .hdrNavToggle {
        display: inline-block
    }
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
    margin-bottom: -5%
}

    .videoWrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 90%
    }

.videos {
    float: left;
    width: 100%;
    padding: 2%
}

.videos2 {
    float: left;
    width: 50%;
    padding: 2%;
    background-color: var(--color-bg) !important
}

.videos3 {
    float: left;
    width: 33%;
    padding: 2%;
    background-color: var(--color-bg) !important
}
.videorow:after {
    content: "";
    display: table;
    clear: both
}

@media only screen and (max-width:700px) {
    .videos2 {
        width: 100% !important
    }
}

@media only screen and (max-width:600px) {
    .videos2 {
        width: 100% !important
    }
    .videos3 {
        width: 100% !important
    }
}

@media only screen and (max-width:414px) {
    .videos2 {
        width: 100% !important
    }
}

@media only screen and (max-width:300px) {
    .videos2 {
        width: 100% !important
    }
}

.columns2 {
    float: left;
    width: 50%
}

@media only screen and (max-width:414px) {
    .columns2 {
        width: 100% !important
    }
}

input#PostEnquiry2.SKFormSubmitButton {
    background-color: #191970;
    border-style: none;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    padding: 14px 28px
}

    input#PostEnquiry2.SKFormSubmitButton:active,
    input#PostEnquiry2.SKFormSubmitButton:focus {
        background-color: #006400
    }

input#PostEnquiry.SubmitButtonElement {
    font-weight: bold
}

.rhsbox {
    border: 1px dashed #999 !important;
    width: 100% !important;
    display: inline-block !important
}

a {
    text-decoration-line: none !important;
    font-weight: bold !important
}

.map-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden
}

    .map-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute
    }

.buttonTextWrapper li {
    list-style: none;
    padding: 10px
}

ol li {
    padding: 5px
}

#content h1 {
    color: #000
}

#content h3 {
    color: #191970
}

#content h2 {
    color: #3c3c3c
}

.contentWrapper {
    overflow-wrap: break-word
}

.downloadIcon {
    display: none !important
}

.pdf {
    display: none !important
}

.SKPosts h2 {
    color: #191970;
    font-size: 1.3em;
    font-weight: bold;
    Margin-left: 20px
}

.SKPostDetails h1 {
    color: #006400
}

.tour-responsive {
    overflow: hidden;
    padding-bottom: 44.7%;
    position: relative;
    height: 0
}

    .tour-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute
    }

.Slides-responsive {
    overflow: hidden;
    padding-bottom: 56.5%;
    position: relative;
    height: 0
}

    .Slides-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
        Border: ridge
    }

.SKPostsPagerActive a {
    background-color: #006400;
    color: var(--color-bg);
    padding: 5px
}

.SKPosts ul {
    display: inline !important
}

.SKPostList .SKPosts li {
    display: inline !important;
    float: none !important
}

.SKPostsPager ul li {
    padding: 5px !important
}

.SKPostsListItemDate,
.SKPostsListItemSummary {
    Margin-left: 20px;
    min-height: 45px
}

.SKPostList li:after {
    content: '';
    position: absolute;
    width: 90%;
    margin-left: 20px;
    height: 1px;
    left: 0;
    display: block;
    clear: both;
    background-color: #3c3c3c
}

.SKPostsPager li:after {
    height: 0
}

.SKPostsPager {
    padding: 15px
}

    .SKPostsPager ul:before {
        white-space: pre;
        content: ' Page:  ';
        Font-weight: bold;
        color: #3c3c3c
    }

    .SKPostsPager ul {
        border: ridge;
        padding-bottom: 4px;
        padding-top: 6px;
        line-height: 2.1
    }

.contentWrapper > img,
.SKPostImage img {
    margin: 10px;
    float: right;
    max-width: 100%
}

.SKPostDate {
    display: inline;
    float: left;
    border: ridge;
    padding: 10px;
    margin-right: 30px;
    margin-bottom: 3px;
    padding-left: 10px;
    padding-right: 10px
}

.customListingImg {
    position: relative;
    width: 150px !important;
    height: 150px !important;
    overflow: hidden !important;
    border: groove;
    margin-right: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 15px
}

    .customListingImg img {
        position: absolute;
        left: 50%;
        top: 50%;
        height: 100%;
        width: auto;
        -webkit-transform: translate(-50%, -50%) !important;
        -ms-transform: translate(-50%, -50%) !important;
        transform: translate(-50%, -50%) !important
    }

        .customListingImg img.thumbnail {
            border: none;
            margin: 0;
            max-width: fit-content
        }

.customListingTxt {
    float: none;
    width: 100% !important;
    margin-top: 20px;
    min-height: 190px
}

.SKPostsListItemDate {
    font-style: normal !important;
    font-weight: bold;
    color: #3c3c3c;
    padding-bottom: 20px !important
}

.customListingTxt h2 {
    padding-top: 0;
    margin-left: 20px
}

form[name="SKPostCategoryFilterForm"] {
    margin-top: 12px;
    margin-right: 15px;
    font-weight: bold;
    color: #3c3c3c;
    line-height: 2.1;
    padding: 10px;
}

label[for="postcategorySelect"] {
    display: none
}

form[name="SKPostCategoryFilterForm"]:before {
    Content: 'Filter by category: ';
    margin-right: 10px
}

input[value="Filter"] {
    padding: 2px 4px;
    margin-left: 10px;
    cursor: pointer;
    background-color: #3c3c3c;
    color: #fff;
    border-style: none;
    font-size: 1.1em;
    -webkit-appearance: none;
    border-radius: 4px
}

#postcategorySelect {
    padding: 3px 10px;
    font-weight: bold;
    color: #3c3c3c;
    font-size: medium
}

.SKPostsNoPager {
    padding: 15px !important
}

.SKPostsNoResults p {
    padding: 0 10px;
    font-weight: bold;
    color: #191970;
    font-size: larger
}

.gsc-result-info-container {
    font-size: larger !important
}

.gsc-result-info {
    font-size: larger !important
}

.gsc-orderby {
    font-size: larger !important
}

.gsc-selected-option {
    font-size: larger !important;
    width: fit-content !important
}

.gsc-control-cse {
    margin-top: -20px
}

.gsc-cursor {
    margin-top: 10px;
    font-size: larger !important
}

    .gsc-cursor:before {
        white-space: pre;
        content: 'Page: ';
        Font-weight: bold;
        margin-left: -10px;
        color: #3c3c3c
    }

.gsc-cursor-page {
    margin-left: 15px
}

.gsc-results .gsc-cursor-box {
    margin-top: 20px !important;
    margin-bottom: 20px !important
}

.gsc-control-cse .gsc-option-menu-container {
    position: absolute !important
}

.gsc-option-selector {
    padding-left: 0 !important
}

.SKPostCalendarHeader {
    padding: 25px 25px;
    width: 100%;
    background-color: #006400;
    text-align: center
}

.SKPostCalendarMonthLabel {
    color: var(--color-bg) !important;
    padding: 20px
}

.SKPostCalendarMonthLabel {
    font-weight: 800 !important;
    font-size: x-large;
    color: var(--color-bg) !important
}

.SKPostCalendarPrevYear,
.SKPostCalendarPrevMonth,
.SKPostCalendarNextMonth,
.SKPostCalendarNextYear {
    font-weight: 800 !important;
    border: outset;
    border-width: 2px;
    font-size: large;
    color: var(--color-bg) !important;
    padding-left: 2px;
    padding-right: 2px;
    margin-left: 5px;
    margin-right: 5px
}

.SKPostCalendarPrevMonth,
.SKPostCalendarNextMonth {
    padding-left: 7px;
    padding-right: 7px
}

.SKPostCalendarPanel {
    position: relative;
    width: 100%
}

    .SKPostCalendarPanel:before {
        content: "";
        float: left;
        padding-top: 100%
    }

.SKCalendar,
.SKPostDiary {
    float: left;
    border: ridge;
    min-width: 100%
}

.SKPostCalendar {
    height: 60vw;
    overflow: hidden
}

    .SKPostCalendar th {
        color: var(--color-bg);
        background-color: #3c3c3c;
        border: 1px solid var(--color-bg) !important;
        width: 14%
    }

    .SKPostCalendar tr,
    .SKPostDiary tr {
        height: 16%;
        background: rgba(60, 60, 60, .1) !important
    }

.SKPostDiary ul {
    margin-left: -20px
}

.SKPostDiary th {
    border: 1px solid #808080 !important;
    border-top-color: initial !important;
    border-top-style: outset !important;
    border-top-width: initial !important;
    border-right-color: initial !important;
    border-right-style: outset !important;
    border-right-width: initial !important;
    border-bottom-style: outset !important;
    border-left-style: outset !important
}

.SKPostCalendar td,
.SKPostDiary td {
    vertical-align: top;
    border-top-color: initial !important;
    border-top-style: outset !important;
    border-top-width: initial !important;
    border-right-color: initial !important;
    border-right-style: outset !important;
    border-right-width: initial !important;
    border-bottom-style: outset !important;
    border-left-style: outset !important
}

.SKPostCalendar ul {
    padding: 0
}

.SKPostCalendar li {
    padding-bottom: 15px
}

.SKPostCalendarToday {
    background: rgba(0, 100, 0, 1);
    color: var(--color-bg);
    font-weight: bold
}

    .SKPostCalendarToday a {
        color: var(--color-bg) !important;
        font-weight: normal !important
    }

        .SKPostCalendarToday a:hover {
            color: var(--color-bg) !important;
            font-weight: bold !important
        }

@media only screen and (max-width:600px) {
    .SKCalendar {
        width: 100%
    }

    .SKPostCalendar li {
        overflow: hidden;
        white-space: nowrap;
        width: 30px;
        padding-bottom: 5px
    }

    .SKPostCalendar td {
        padding: 3px !important
    }

    .SKPostCalendar th {
        padding: 4px !important;
        text-align: center !important
    }

    .SKCalendar {
        font-size: smaller
    }

    .SKPostCalendarHeader span::before {
        content: "\a\a";
        white-space: pre
    }

    .SKPostCalendarHeader span::after {
        content: "\a\a";
        white-space: pre
    }

    .SKPostCalendarHeader span {
        line-height: 1
    }

    .SKPostCalendarHeader::before {
        content: '     ';
        white-space: pre
    }
}

.SchoolCalListing {
    padding: 10px
}

.SchoolCalDate {
    color: #3c3c3c;
    font-size: 1.3em;
    font-weight: bold
}

.SchoolCalName {
    color: #191970;
    font-size: 1.13em;
    font-weight: bold
}

.cal {
    float: left;
    width: 100%;
    padding: 2%
}

.calcol33 {
    float: left;
    width: 33%;
    padding: 2%
}

.calcol66 {
    float: left;
    width: 66%;
    padding: 2%
}

.calrow:after {
    content: "";
    display: table;
    clear: both
}

@media only screen and (max-width:700px) {
    .calcol33.calcol66 {
        width: 100% !important
    }
}

@media only screen and (max-width:600px) {
    .calcol33.calcol66 {
        width: 100% !important
    }
}

@media only screen and (max-width:414px) {
    .calcol33.calcol66 {
        width: 100% !important
    }
}

@media only screen and (max-width:300px) {
    .calcol33.calcol66 {
        width: 100% !important
    }
}

#ui-datepicker-div {
    left: 2px !important
}

.home-container {
    display: flex;
    flex-flow: row;
    height: 100%
}

.home-image-container {
    margin-bottom: -4px;
    width: 33%;
    min-height: 100%;
    flex-flow: column;
    float: left;
    flex: 1 1 auto;
    object-fit: cover;
    /*height: 85vh*/
}

.home-body-wrapper {
    width: 66%;
    flex-flow: column;
    float: left;
    flex: 1 1 auto;
    display: flex
}

.home-body-container {
    width: 100%;
    flex-flow: column;
    float: left;
    flex: 1 1 auto;
    overflow-x: hidden;
    display: flex;
    padding-left: 10px;
}

    .home-body-container::-webkit-scrollbar {
        width: 12px
    }

    .home-body-container::-webkit-scrollbar-track {
        background: #3c3c3c
    }

    .home-body-container::-webkit-scrollbar-thumb {
        background-color: #191970;
        border-radius: 10px;
        border: 2px solid #d3d3d3
    }

.home-image-container img {
    max-width: 100%;
    width: 100%;
    min-height: 100%;
    object-fit: cover
}

.box {
    display: flex;
    flex-flow: column;
    height: 100%;
    flex-grow: 1
}

    .box .row.header {
        flex: 0 1 auto
    }

    .box .row.content {
        flex: 1 1 auto
    }

.row.footer {
    flex: 0 1 40px;
    background-color: #000;
    z-index: 10;
    padding-bottom: 10px;
    /*margin-top: 59px*/
}

.footerWrapper {
    width: 100%;
    background-color: #000;
    padding: 27px 0 12px;
    display: flex
}

.headerWrapper {
    background-color: #000;
    float: left;
    width: 100%;
    padding: 2px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-bottom: solid #000
}

.headerLogo,
.headerIcons {
    float: left;
    width: 33%;
    overflow: hidden;
    padding: 4px 0 6px 1px;
    margin: 0 0 2px 2px;
    flex: 1;
    display: grid;
    min-width: 300px;
    align-content: center;
    justify-content: center;
    margin-right: 16px;
}

.headerNav2023 {
    margin: 0;
    padding: 0;
    display: flex;
    flex: 1
}

.headerIcons ul {
    text-align: right;
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    float: right
}

    .headerIcons ul li {
        background-color: transparent !important;
        -moz-border-radius: 100px;
        -webkit-border-radius: 100px;
        padding: 5px;
        height: 45px;
        width: 45px;
        margin: 3px;
        box-shadow: 4px 4px 4px rgb(000/0%) !important;
        transition: transform .5s
    }

        .headerIcons ul li:hover {
            transform: scale(.85)
        }

        .headerIcons ul li a {
            display: inline-block;
            width: 45px;
            height: 45px;
            overflow: hidden;
        }

            .headerIcons ul li a#headerSocialLink_AC {
                background-position: 0 0
            }

            .headerIcons ul li a#headerSocialLink_FB {
                background-position: -47px 0
            }

            .headerIcons ul li a#headerSocialLink_TW {
                background-position: -94px 0
            }

            .headerIcons ul li a#headerSocialLink_YT {
                background-position: -141px 0
            }

            .headerIcons ul li a#headerSocialLink_GT {
                background-position: -188px 0
            }

.dropdownWrapper {
    height: 80%;
    padding: 10px;
    float: left;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    transition:
}

.dropdown {
    float: left;
    width: 50%;
    overflow: hidden;
    flex: 1;
    display: grid;
    padding: 10px;
    margin: -1px;
    min-width: 49%;
    transition: transform 1s;
    align-content: center
}

.dropdown {
    background-color: #fff !important;
    border: 5px solid #000 !important;
    color: #000 !important;
    justify-items: center !important
}

    .dropdown a {
        color: #000
    }

        .dropdown a:hover {
            text-decoration: underline !important;
            transform: scale(1.05)
        }

.dropdown-content ul li {
    color: #fff !important;
    margin-left: -10px;
    list-style: none;
    line-height: 1.5;
    list-style: "➤\20\20\20";
    list-style-position: outside;
    font-size: .8em
}

    .dropdown-content ul li:hover {
        text-decoration: underline !important;
        transform: scale(1.04)
    }

    .dropdown-content ul li a {
        color: #fff !important
    }

.dropdown-content {
    display: none;
    position: fixed;
    background-color: #000;
    color: #fff;
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .2);
    padding: 12px 16px;
    z-index: 1;
    margin-top: 25px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff
}

.dropdown:hover .dropdown-content {
    display: block
}

.dropdown:hover {
    color: #fff !important;
    background-color: #000 !important
}

    .dropdown:hover a {
        color: #fff !important
    }

.homeLinkBoxRow {
    float: left;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -10px;
    margin-bottom: 12px;
}

    .homeLinkBoxRow:first-child {
        padding: 0
    }

.homeLinkBoxNew {
    border: solid 1px #fff;
    float: left;
    width: 33%;
    overflow: hidden;
    padding: 0 0 10px 1px;
    margin: 0 0 2px 2px;
    box-shadow: 4px 4px 4px rgb(000/20%);
    flex: 1;
    min-width: 33%
}

    .homeLinkBoxNew ul {
        display: block;
        list-style-type: none;
        margin: 0;
        padding: 0 18px
    }

        .homeLinkBoxNew ul li {
            font-weight: bold;
            font-size: .8em;
            margin: 5px 0;
            color: #fff
        }

            .homeLinkBoxNew ul li a {
                display: inline-block;
                padding: 0 0;
                font-weight: 100;
                color: #fff
            }

                .homeLinkBoxNew ul li a:hover {
                    text-decoration: underline !important;
                    color: #fff !important
                }

    .homeLinkBoxNew:hover {
        transform: scale(1.02);
        backface-visibility: hidden;
        -webkit-font-smoothing: subpixel-antialiased;
        border: solid 1px #fff
    }

.homeLinkHeader {
    float: left;
    width: 100%;
    padding: 2px 0 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap
}

.homeLinkImage,
.homeLinkArrow {
    display: flex;
    justify-content: center;
    align-items: center
}

.homeLinkImage {
    padding-left: 10px
}

.homeLinkArrow,
.homeLinkArrow a {
    padding-right: 10px;
    color: #ffffff !important
}

.homeLinkTitle,
.homeLinkTitle label,
.home-body-container .homeLinkTitle a,
.homeLinkTitle button {
    display: inline-block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 120%;
    color: #fff;
    font-weight: normal;
    cursor: pointer;
    border-style: none
}

.homeLinkTitle {
    font-size: 1.2em
}

    .homeLinkTitle label {
        padding: 18px;
        font-size: 100%;
        text-align: left;
        border-radius: 0
    }

    .homeLinkTitle label {
        background-color: inherit
    }

        .homeLinkTitle label:hover {
            text-decoration: underline !important
        }

.homeNewsBoxRow {
    float: left;
    width: 100%;
    padding: 10px;
    display: flex;
    margin: 2px 0 0 2px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    background-color: var(--color-bg)
}

    .homeNewsBoxRow:first-child {
        padding: 0
    }

    .homeNewsBoxRow h4 {
        color: #3c3c3c;
        margin: 10px 10px 10px 0
    }

        .homeNewsBoxRow h4:hover {
            text-decoration: underline !important
        }

.homeNewsBox {
    min-height: 80px;
    float: left;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    margin: 0 0 0 3px;
    background-color: #fff;
    flex: 1;
    height: 95%;
    font-size: 1.05em;
    0 0 0 3px;
    border: solid 2px #3c3c3c
}

.homeNewsImg {
    max-width: 20%;
    float: left;
    padding: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60px
}

.homeNewsBox a,
.homeNewsBox label {
    font-weight: bold !important;
    display: flex;
    align-items: center;
    color: #295652;
    cursor: pointer !important
}

.homeNewsLink {
    padding: 5px;
    color: #295652;
    cursor: pointer !important;
    font-size: .77em !important
}

    .homeNewsLink:hover,
    .homeNewsBox:hover,
    .homeNewsBox a:hover {
        text-decoration: underline !important;
        cursor: pointer;
        color: #603
    }

.homePopBoxRow {
    float: left;
    width: 100%;
    padding: 10px;
    display: flex;
    margin: 2px 0 0 2px;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #603;
    align-items: center
}

    .homePopBoxRow:first-child {
        padding: 0
    }

    .homePopBoxRow h4 {
        color: #fff;
        Margin: 10px 10px 10px 0
    }

.homePopBox {
    float: left;
    width: 100%;
    overflow: hidden;
    padding: 10px 10px 10px 0;
    margin: 0 0 2px 2px;
    box-shadow: 4px 4px 4px rgb(000/20%);
    flex: 1;
    min-width: 33%;
    transition: transform 1s;
    border: solid 2px #603;
    background-color: #fff
}

    .homePopBox ul {
        display: block;
        list-style-type: none;
        margin: 0;
        padding: 0 18px;
        columns: 2;
        -webkit-columns: 2;
        -moz-columns: 2
    }

        .homePopBox ul li {
            font-weight: bold;
            font-size: .8em;
            color: #603;
            transition: transform .5s
        }

            .homePopBox ul li a:before {
                content: '✯';
                padding-right: 5px;
                font-size: large
            }

            .homePopBox ul li a {
                display: inline-block;
                padding: 0 0;
                font-weight: 100;
                color: #603
            }

            .homePopBox ul li:hover {
                transform: scale(1.02)
            }

            .homePopBox ul li a:hover {
                text-decoration: underline !important;
                transform: scale(1.02)
            }

.homeAlert {
    float: left;
    width: 100%;
    padding: 10px;
    display: flex;
    margin: 2px 0 0 2px;
    flex-direction: row;
    flex-wrap: wrap;
    background-color: #8b0000;
    align-items: center
}

    .homeAlert:first-child {
        padding: 0
    }

    .homeAlert h4 {
        color: #fff;
        Margin: 10px 10px 10px 0
    }

.homeAlertBox {
    float: left;
    width: 100%;
    overflow: hidden;
    padding: 10px;
    margin: 0 2px 0 0;
    box-shadow: 4px 4px 4px rgb(000/20%);
    flex: 1;
    min-width: 33%;
    transition: transform 1s;
    border: solid 2px #8b0000;
    background-color: #fff
}

.homeCTARow ~ .contentWrapper .searchFormWrapper {
    width: 100%
}

.homeCTARow {
    width: 100%;
    min-height: 15px
}

    .homeCTARow ul {
        list-style-type: none;
        margin: 0;
        padding: 0;
        display: flex;
        width: calc(100% - 1px);
        border-top: 1px solid #fff
    }

        .homeCTARow ul li {
            display: inline-block;
            list-style-type: none;
            margin: 0;
            padding: 0;
            width: 25%;
            border-left: 1px solid #fff;
            text-align: center;
            font-size: 1.12em;
            font-weight: bold
        }

            .homeCTARow ul li a {
                display: block;
                color: #000;
                text-decoration: none;
                padding: 10px 4px;
                margin-top: 8px;
                background-color: var(--color-bg);
                border-color: #000;
                border-style: solid;
                margin-left: 2px;
                margin-bottom: 2px;
                margin-top: 0
            }

                .homeCTARow ul li a:hover,
                .homeCTARow ul li a:active,
                .homeCTARow ul li a:focus {
                    background-color: #000;
                    color: #fff
                }

.homeCTARow {
    float: left;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: -10px
}

.searchFormWrapper form {
    float: left;
    width: 100%
}

.searchFormWrapper {
    float: left;
    width: 100%;
    margin: 2px;
    2px 0 1px;
    padding: 20px;
    background-color: #3c3c3c;
    margin-left: -7px
}

    .searchFormWrapper form input {
        margin: 0;
        display: inline-block;
        padding: 10px;
        font-size: 1.2em;
        line-height: 120%;
        min-height: 46px;
        -webkit-appearance: none;
        border-radius: 0
    }

        .searchFormWrapper form input[type="text"] {
            width: calc(100% - 60px);
            border: 1px groove;
            color: #000
        }

        .searchFormWrapper form input[type="submit"] {
            width: 60px;
            background-color: #3c3c3c;
            border-style: none;
            color: #fff;
            text-indent: -1000px;
            overflow: hidden;
            background-image: url("/media/gd5pkgd0/searchicon.png");
            background-position: center;
            background-repeat: no-repeat;
            background-size: 22px;
            cursor: pointer;
            border: ridge 1px
        }

            .searchFormWrapper form input[type="submit"]:active,
            .searchFormWrapper form input[type="submit"]:hover,
            .searchFormWrapper form input[type="submit"]:focus {
                background-color: #006400
            }

.contentWrapper {
    float: left;
    width: 100%;
    background-color: var(--color-bg);
    padding: 10px 20px
}

.home-body-container .newstitle,
div.sitemap,
.newsDetail .newsarticletitle {
    display: none
}

.home-body-container > h1,
.SKPostsIntroduction h1,
.formTable h1,
.newsarticlebody h1 {
    color: #191970;
    font-size: 1.75em;
    font-weight: bold
}

.home-body-container > .searchFormWrapper + h1 {
    text-align: center;
    line-height: 200%
}

.home-body-container > h2,
.SKPostList h2,
.formTable h2,
.listby-Header,
.newsarticlebody h2,
.SKPostBody > h2 {
    color: #191970;
    font-size: 1.5em;
    font-weight: bold
}

.home-body-container > h3,
.formTable h3,
.listBy-Category,
.newsarticlebody h3,
.SKPostBody > h3 {
    color: #191970;
    font-size: 1.2em;
    font-weight: bold
}

.home-body-container > h4,
.formTable h4,
.listBy-Title-sp,
.newsarticlebody h4,
.SKPostBody > h4 {
    color: #191970;
    font-size: 1.1em;
    font-weight: bold
}

.home-body-container > h5,
.formTable h5,
.newsarticlebody h5,
.SKPostBody > h5 {
    color: #191970;
    font-size: 1.1em;
    font-weight: bold
}

.home-body-container > h6,
.formTable h6,
.newsarticlebody h6,
.SKPostBody > h6 {
    color: #191970;
    font-size: 1.05em;
    font-weight: bold
}

.home-body-container > ul,
.home-body-container > ol,
.formTable ul,
.formTable ol,
.newsarticlebody ul,
.newsarticlebody ol,
.SKPostBody ul,
.SKPostBody ol {
    padding: 0;
    margin: 0 0 0 20px
}

    .home-body-container > p,
    .home-body-container > ul li,
    .home-body-container > ol li,
    .SKPostList p,
    .formTable p,
    .formTable li,
    .newsarticlebody p,
    .newsarticlebody li,
    .SKPostBody > p {
        color: #000;
        font-size: 1em;
        line-height: 1.5em
    }

        .home-body-container > p a,
        .home-body-container > ul a,
        .home-body-container > ol a,
        .home-body-container td a,
        .newsarticlebody a,
        .SKPostBody > a {
            color: #191970;
            font-weight: bold;
            padding-left: 10px;
        }

.home-body-container table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%
}

    .home-body-container table tr:nth-child(2n) {
        background-color: #f2f2f2
    }

    .home-body-container table th,
    .home-body-container table td {
        text-align: left;
        padding: 8px;
        border: 1px solid #191970;
        border-width: 0 1px 1px 0
    }

        .home-body-container table th:last-child,
        .contentWrapper table td:last-child {
            border-right-width: 0
        }

    .home-body-container table tr:last-child td {
        border-bottom-width: 0
    }

.home-body-container > img,
.SKPostImage img {
    max-width: 33%;
    margin: 5% auto;
    border: 2px solid #191970;
    display: block
}

.tableWrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #191970;
    margin: 0 0 20px
}

.home-body-container a {
    color: #191970
}

    .home-body-container a:hover,
    .home-body-container a:active {
        color: #006400
    }

@media screen and (max-width:870px) {

    .listby-alphabet > span,
    .listby-alphabet > a {
        max-width: 4%;
        min-width: 4%
    }
}

@media screen and (max-width:800px) {
    .headerLeft {
        width: 75%
    }

    .headerRight {
        width: 25%
    }

    .footerWrapper {
        display: block;
        padding-bottom: 20px;
        float: left
    }

    .footerCol {
        width: 100%;
        text-align: center
    }

        .footerCol:nth-child(2) {
            padding-top: 30px;
            padding-bottom: 30px
        }

    .homeCTARow ul {
        display: block
    }

        .homeCTARow ul li {
            width: 48.5%;
            border-top: 2px solid var(--color-bg);
            font-size: 1.2em;
            margin-right: 1px;
            padding: 4px 0 0 4px
        }

            .homeCTARow ul li a {
                margin-right: -4px !important
            }

            .homeCTARow ul li:first-child {
                border-top-width: 1px
            }

            .homeCTARow ul li:last-child {
                width: 99%;
                margin: 0
            }
}

@media screen and (max-width:700px) {
    .headerLeft {
        width: 75%
    }

    .headerRight {
        width: 25%
    }
}

@media screen and (max-width:600px) {

    .headerLogo,
    .headerIcons,
    .home-image-container {
        min-width: 100%
    }

    .home-body-wrapper {
        width: 100%
    }

    .home-container {
        flex-direction: column-reverse
    }

    .homeNewsBox {
        min-height: 115px
    }

    .customListingImg,
    .customListingImg + .customListingTxt {
        width: 100%
    }

    .customListingImg {
        text-align: center
    }

/*        .customListingImg img {
            width: 80%;
            margin: 0 0 10px 
        }*/

    .formTable > div > div > div,
    .formTable > div > div > div + div {
        width: 100%;
        padding-right: 0
    }

        .formTable > div > div > div.FormContentRight label {
            padding: 8px 0 0
        }

    .listby-alphabet > span,
    .listby-alphabet > a {
        padding: 25px 6px;
        width: 13%;
        max-width: 13%
    }

    .searchFormWrapper {
        width: 100%
    }

    #breadcrumbOuterWrapper,
    label[for="breadcrumbToggle"],
    #breadcrumbToggle:checked ~ #breadcrumbOuterWrapper,
    button#breadcrumbToggleBtn {
        display: none
    }
}

.SKDocFinderHeader {
    visibility: hidden
}

.SKDocFinderSearchPanel input {
    height: 32px !important;
    width: 94% !important;
    border: solid 3px #3c3c3c !important
}

.SKDocFinderSearchLabel {
    color: #006400;
    font-weight: bold;
    font-size: 1.5em
}

.SKDocFinder {
    margin-top: -40px
}

.SKDocFinderDownloadButton {
    background-color: #3c3c3c !important
}

.home-body-container > img,
.contentWrapper > img,
.SKPostImage img {
    margin: 10px;
    float: right;
    border: ridge;
    padding: 5px
}

.contentcolumn {
    float: left;
    padding-right: 20px;
    width: 75%
}

.navanddownloads {
    float: right;
    width: 25%
}

.hideMe {
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    height: 1px !important;
    overflow: hidden !important;
    position: absolute !important;
    white-space: nowrap !important;
    width: 1px !important
}

@media screen and (max-width:600px) {
    .contentcolumn {
        float: left;
        width: 100% !important;
        padding-right: 0
    }

    .navanddownloads {
        float: none;
        width: 100% !important
    }
}

@media screen and (max-width:400px) {
    .SKPostDate {
        width: 100%
    }

    .AFC-Logo {
        max-width: 100px
    }

    .homeLinkBoxNew {
        min-width: 100%
    }
}

.contentrow:after {
    content: "";
    display: table;
    clear: both
}

.crt-widget-grid-carousel {
    float: left;
    width: 100%;
    padding: 0 !important;
    margin-left: -8px;
    margin-top: 3.5px
}

.subLinkBoxRow {
    float: left;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap
}

    .subLinkBoxRow:first-child {
        padding: 0
    }

.subLinkBoxNew {
    border: solid 1px #fff;
    float: left;
    width: 50%;
    overflow: hidden;
    padding: 0 0 10px 1px;
    margin: 0 0 2px 2px;
    box-shadow: 4px 4px 4px rgb(000/20%);
    flex: 1;
    min-width: 45%
}

    .subLinkBoxNew ul {
        display: block;
        list-style-type: none;
        margin: 0;
        padding: 0 18px
    }

        .subLinkBoxNew ul li {
            font-weight: bold;
            font-size: .8em;
            margin: 5px 0;
            color: #fff
        }

            .subLinkBoxNew ul li a {
                display: inline-block;
                padding: 0 0;
                font-weight: 100;
                color: #fff
            }

                .subLinkBoxNew ul li a:hover {
                    text-decoration: underline !important;
                    color: #fff !important
                }

    .subLinkBoxNew:hover {
        transform: scale(1.02);
        backface-visibility: hidden;
        -webkit-font-smoothing: subpixel-antialiased;
        border: solid 1px #fff
    }

.staffNewsBoxRow {
    float: left;
    width: 100%;
    padding: 10px;
    display: flex;
    margin: 2px 0 0 2px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center
}

    .staffNewsBoxRow:first-child {
        padding: 0
    }

    .staffNewsBoxRow h4 {
        color: #3c3c3c;
        margin: 10px 10px 10px 0
    }

        .staffNewsBoxRow h4:hover {
            text-decoration: underline !important
        }

.SKPostRelatedDownloadsHead h2 {
    color: #3c3c3c
}

.SKPostRelatedDownloads a::before {
    content: "🗎 "
}

.scrollable-table {
    margin-left: 18em;
    overflow-x: scroll;
    overflow-y: visible;
    padding: 0
}

.headcol {
    width: 18em;
    left: 1em;
    top: auto;
    position: absolute
}

/*************
    LOGIN
**************/

.login-status {
    float:right;
}

#oic-login-form {
    margin : 0 auto;
    width: 400px;
    padding: 60px 0px;
}

#oic-login-form label {
    display: block;
    margin: 10px 0px
}

#oic-login-form input {
    display: block;
    width: 100%;
    margin: 10px 0px;
    height: 40px;
    font-size: 20px;
    padding: 5px;
    border: none;
    background-color: #eee;
}

#oic-login-form button {
    margin: 20px auto;
    display: block;
    height: 40px;
    font-size: 18px;
    color: white;
    background-color: black;
    cursor: pointer;
}

.login-status button {
    display: inline-block;
    height: 32px;
    font-size: 14px;
    color: white;
    background-color: black;
    cursor: pointer;
}

/*HJ 12/09/24*/

.pinkbtn {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    color: #b20059 !important;
    padding: 14px 28px;
    border: 4px solid #b20059;
    border-radius: 5px;
    text-decoration: none;
    margin-right:4px;
}

.pinkbtn:hover {
    color: #fff !important;
    background-color: #b20059;
    border: 4px solid #b20059;
}

/*HJ 15/01/26*/

/* Graduate Apprenticeship Course Grid */
.course-grid-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  padding: 10px 0;
}

/* 2 columns on tablets */
@media (min-width: 768px) {
  .course-grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* 3 columns on desktop */
@media (min-width: 1024px) {
  .course-grid-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Course box styling */
.course-grid-wrapper > div {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 15px;
  background-color: #f9f9f9;
  height: 100%;
}

.course-grid-wrapper h3 {
  color: #333;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.course-grid-wrapper h3::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 24px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Course-specific icons */
.course-grid-wrapper > div:nth-child(1) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"/></svg>');
}

.course-grid-wrapper > div:nth-child(2) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM9 17H7v-7h2v7zm4 0h-2V7h2v10zm4 0h-2v-4h2v4z"/></svg>');
}

.course-grid-wrapper > div:nth-child(3) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm0 10.99h7c-.53 4.12-3.28 7.79-7 8.94V12H5V6.3l7-3.11v8.8z"/></svg>');
}

.course-grid-wrapper > div:nth-child(4) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M20 6h-3V4c0-1.11-.89-2-2-2H9c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-5 0H9V4h6v2z"/></svg>');
}

.course-grid-wrapper > div:nth-child(5) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M12 7V3H2v18h20V7H12zM6 19H4v-2h2v2zm0-4H4v-2h2v2zm0-4H4V9h2v2zm0-4H4V5h2v2zm4 12H8v-2h2v2zm0-4H8v-2h2v2zm0-4H8V9h2v2zm0-4H8V5h2v2zm10 12h-8v-2h2v-2h-2v-2h2v-2h-2V9h8v10zm-2-8h-2v2h2v-2zm0 4h-2v2h2v-2z"/></svg>');
}

.course-grid-wrapper > div:nth-child(6) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M22.7 19l-9.1-9.1c.9-2.3.4-5-1.5-6.9-2-2-5-2.4-7.4-1.3L9 6 6 9 1.6 4.7C.4 7.1.9 10.1 2.9 12.1c1.9 1.9 4.6 2.4 6.9 1.5l9.1 9.1c.4.4 1 .4 1.4 0l2.3-2.3c.5-.4.5-1.1.1-1.4z"/></svg>');
}

.course-grid-wrapper > div:nth-child(7) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M12 5.9c1.16 0 2.1.94 2.1 2.1s-.94 2.1-2.1 2.1S9.9 9.16 9.9 8s.94-2.1 2.1-2.1m0 9c2.97 0 6.1 1.46 6.1 2.1v1.1H5.9V17c0-.64 3.13-2.1 6.1-2.1M12 4C9.79 4 8 5.79 8 8s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4zm0 9c-2.67 0-8 1.34-8 4v3h16v-3c0-2.66-5.33-4-8-4z"/></svg>');
}

.course-grid-wrapper > div:nth-child(8) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-5 14h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

.course-grid-wrapper > div:nth-child(9) h3::before {
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23333"><path d="M12 3L2 12h3v8h14v-8h3L12 3zm0 15.5c-1.93 0-3.5-1.57-3.5-3.5s1.57-3.5 3.5-3.5 3.5 1.57 3.5 3.5-1.57 3.5-3.5 3.5z"/><circle cx="12" cy="15" r="2"/></svg>');
}

.course-grid-wrapper ul {
  list-style-type: none;
  padding-left: 0;
  margin-bottom: 0;
}

.course-grid-wrapper li {
  margin-bottom: 10px;
}

.course-grid-wrapper li:last-child {
  margin-bottom: 0;
}

/*HJ 04/02/26*/

.greenbtn {
    display: inline-block;
    font-size: 1.2em;
    font-weight: bold;
    color: #00B000 !important;
    background-color: #fff;
    padding: 14px 28px;
    border: 4px solid #00B000;
    border-radius: 5px;
    text-decoration: none;
    margin-right: 4px;
}
.greenbtn:hover {
    color: #fff !important;
    background-color: #00B000;
    border: 4px solid #00B000;
}
/* ====================================================================
   FINAL REFINED NAV - MERGED PERSISTENCE & KEYBOARD FIX
   ==================================================================== */

.dropdownWrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
}

.dropdownWrapper > a.dropdown,
.dropdownWrapper > .dropdown {
    flex: 0 0 calc(50% - 10px) !important;
    min-width: calc(50% - 10px) !important;
    background-color: #fff !important;
    border: 3px solid #000 !important;
    position: relative !important;
    overflow: visible !important;
    height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Fix: Move the menu up by 3px to overlap the button border and kill the hover gap */
.dropdown-content {
    display: none;
    position: absolute !important;
    top: 41px !important; /* Overlaps the 44px height slightly */
    left: -3px !important;
    width: calc(100% + 6px) !important;
    background-color: #000 !important;
    z-index: 9999 !important;
    border: 1px solid #fff;
    padding-top: 2px !important; /* Acts as a 'bridge' for the mouse */
    margin-top: 0;
}

.dropdown-content ul li a {
    color: #fff !important;
    background-color: #000 !important;
    display: block !important;
    padding: 10px 15px !important;
    text-decoration: none !important;
    font-size: 0.85em;
    border-bottom: 1px solid #333;
}

/* 3. Hover & Focus: Black background, white text */
.dropdown:hover, 
.dropdown:focus-within, 
.dropdown.no-submenu:hover {
    background-color: #000 !important;
}

.dropdown:hover span a,
.dropdown:focus-within span a,
.dropdown.no-submenu:hover {
    color: #fff !important;
}

/* Fix: Added .dropdown-content:hover to ensure the menu stays open while moving the mouse inside it */
.dropdown:hover .dropdown-content,
.dropdown-content:hover,
.dropdown:focus-within .dropdown-content {
    display: block !important;
}

/* 1. Ensure the container maintains its layout role (probably floated) */
.customListingImg {
    /* Keep your original width/float from posts.css, just ensure it handles focus */
    position: relative !important;
}

/* 2. The Link: Force it to be an inline-block so it hugs the image exactly */
.customListingImg a {
    display: inline-block !important;
    vertical-align: top;
    line-height: 0; /* Removes the white space at bottom of image */
    outline: none !important;
}

/* 3. The Image: Reset it so it stays inside the anchor */
.customListingImg a img {
    display: block !important;
    max-width: 100% !important;
    height: auto !important;
}

/* 4. THE FIX: Visible Focus Ring */
/* Using a negative offset pulls the ring INSIDE the image, 
   so it won't push the text or the page layout around. */
.customListingImg a:focus img {
    outline: 5px solid #ffdd00 !important; /* Thick Yellow */
    outline-offset: -5px !important;       /* Pulls it inside */
    box-shadow: inset 0 0 0 2px #000 !important; /* Optional: Black inner edge for contrast */
}

/* --- REFINED SEARCH: FULL WIDTH & ZOOM STABILITY --- */

.searchFormWrapper {
    width: 100% !important;
    display: block !important;
}

.search-reflow-form {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important; /* Forces form to fill the wrapper */
    align-items: stretch !important; /* Makes button and input equal height */
}

#searchText {
    flex: 1 1 300px !important; /* 1 means it WILL grow to fill all space */
    min-width: 0 !important;
    /* Use min-height instead of height to prevent "tall" boxes at high zoom */
    min-height: 44px !important; 
    height: auto !important; 
    padding: 10px 15px !important;
    box-sizing: border-box !important;
    font-size: 16px !important; /* Prevents iOS auto-zoom on focus */
    
    /* Clipping fix */
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.search-submit {
    flex: 0 0 auto !important;
    min-height: 44px !important;
    min-width: 60px !important;
    padding: 0 20px !important;
    cursor: pointer;
    border: none;
    /* Ensure button doesn't stretch taller than input */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* REFLOW TRIGGER: Stacks and stays proportional */
@media screen and (max-width: 480px) {
    .search-reflow-form {
        flex-direction: column !important;
    }
    
    #searchText {
        width: 100% !important;
        margin-bottom: 5px;
        flex: none !important; /* Disables flex-grow logic when stacked */
    }

    .search-submit {
        width: 100% !important;
        flex: none !important;
    }
}
/* Ensure the H2 inherits the same visual style as the old button */
h2#secondaryNavToggleBtn, 
h2#relatedBlock1Btn,
h2#relatedBlock0Btn,
h2#relatedBlock2Btn {
    display: block;
    cursor: default; /* Remove the "hand" pointer since it's no longer clickable */
    background: none; /* In case the button had a background color */
    border: none;     /* In case the button had a border */
    padding: 10px 0;  /* Adjust to match your original button's spacing */
    /* Ensure the color meets 4.5:1 contrast against the page background */
    background-color: black;
    color: white;
    padding-left: 10px;
}
.SKNavLevel5 > li a {
    display: block;
    font-size: inherit;
    margin: 5px 0;
    padding: 10px 10px 0; 
}

/* Crucial for WCAG 1.4.13 Escape compliance */
.dropdown-content.esc-dismissed {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}