﻿.hero-main img {
    height: 250px;
    object-fit: cover;
}

@media (min-width: 992px) {
    .hero-main img {
        height: 530px;
    }
}

.hero-main:has(img) h1 {
    margin-top: -2.5rem;
}

@media (min-width: 992px) {
    h1 {
        max-width: 65%;
    }
}

h1 .heading-outter {
    padding: 10px;
    background-color: var(--bs-secondary);
    text-decoration: none;
    position: relative;
    box-decoration-break: clone;
}

    h1 .heading-outter .heading-inner {
        position: relative;
        z-index: 1;
        line-height: 1.15;
    }

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

@media (min-width: 992px) {
    .hero-content {
        justify-content: space-between;
        align-items: flex-start;
    }
}

footer[data-astro-cid-sz7xmlte] {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    padding: 35px 0
}

    footer[data-astro-cid-sz7xmlte] img[data-astro-cid-sz7xmlte] {
        max-width: 250px
    }

    footer[data-astro-cid-sz7xmlte] .align-items-start[data-astro-cid-sz7xmlte] {
        gap: 30px
    }

@media (min-width: 992px) {
    footer[data-astro-cid-sz7xmlte] .align-items-start[data-astro-cid-sz7xmlte] {
        gap: unset
    }
}

footer[data-astro-cid-sz7xmlte] .programmes-nav[data-astro-cid-sz7xmlte] {
    list-style: none;
    display: flex;
    margin: 0;
    gap: 15px;
    padding: 0;
    align-items: center;
    flex-wrap: wrap
}

@media (min-width: 992px) {
    footer[data-astro-cid-sz7xmlte] .programmes-nav[data-astro-cid-sz7xmlte] {
        justify-content: flex-end
    }
}

footer[data-astro-cid-sz7xmlte] .programmes-nav[data-astro-cid-sz7xmlte] li[data-astro-cid-sz7xmlte]:not(:last-of-type) {
    display: flex;
    gap: 15px;
    flex-direction: row;
    align-items: center
}

    footer[data-astro-cid-sz7xmlte] .programmes-nav[data-astro-cid-sz7xmlte] li[data-astro-cid-sz7xmlte]:not(:last-of-type)::after {
        content: "";
        background-color: var(--bs-white);
        display: block;
        height: 30px;
        width: 1px
    }

footer[data-astro-cid-sz7xmlte] .programmes-nav[data-astro-cid-sz7xmlte] a[data-astro-cid-sz7xmlte] {
    color: var(--bs-white);
    text-decoration: none;
    font-family: "FSAlbert";
    font-style: normal;
    font-weight: 700
}

footer[data-astro-cid-sz7xmlte] .footer-section[data-astro-cid-sz7xmlte] {
    display: flex;
    flex-wrap: wrap;
    gap: 15px
}

@media (min-width: 992px) {
    footer[data-astro-cid-sz7xmlte] .footer-section[data-astro-cid-sz7xmlte] {
        gap: 30px
    }
}

footer[data-astro-cid-sz7xmlte] .footer-section[data-astro-cid-sz7xmlte] li[data-astro-cid-sz7xmlte] a[data-astro-cid-sz7xmlte] {
    color: var(--bs-white)
}


ul[data-astro-cid-r4ovivaj] {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    display: grid;
    grid-row-gap: 20px;
    grid-template-columns: repeat(1,1fr)
}

@media (min-width: 992px) {
    ul[data-astro-cid-r4ovivaj] {
        grid-row-gap: 30px;
        grid-column-gap: 30px;
        grid-template-columns: repeat(3,1fr)
    }
}

.breadcrumb {
    background-color: white !important
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    background-color: #2C6C73;
    width: 8px;
    height: 8px;
    margin: 0 20px 1px;
    display: inline-block;
    border-radius: 50%;
}

.umb-block-grid__area {
    display: flex;
    flex-direction: column;
}

.umb-block-grid__layout-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.umb-block-grid__layout-item[data-content-element-type-alias="card"] {
    display: flex;
    flex-direction: column;
    flex: 1;
}

    .umb-block-grid__layout-item[data-content-element-type-alias="card"] > .card {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

        .umb-block-grid__layout-item[data-content-element-type-alias="card"] > .card > a {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

    .umb-block-grid__layout-item[data-content-element-type-alias="card"] .card-body {
        display: flex;
        flex-direction: column;
        flex: 1;
    }


/* Give Umbraco Block Grid rows vertical spacing */
/*.umb-block-grid > .umb-block-grid__layout-container {
    gap: 1rem;
}
*/
/* Give Umbraco Block Grid columns/areas spacing */
.umb-block-grid__area-container {
    gap: 1rem;
}

/* Make card block wrappers stretch properly */
.umb-block-grid__layout-item[data-content-element-type-alias="card"] {
    display: flex;
    flex-direction: column;
}

    /* Make the actual card fill its block */
    .umb-block-grid__layout-item[data-content-element-type-alias="card"] > .card {
        flex: 1;
        width: 100%;
    }

    /* Make the card body fill the card */
    .umb-block-grid__layout-item[data-content-element-type-alias="card"] .card-body {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

.hero-hp-main {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    margin-bottom: 3rem;
}

    .hero-hp-main > img {
        display: block;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .hero-hp-main > .hero-content {
        position: relative;
        z-index: 2;
    }

@media (min-width: 992px) {
    .hero-hp-main {
        min-height: 530px;
    }

        .hero-hp-main > img {
            height: 530px;
        }
}


:root,
[data-bs-theme="light"] {
    --bs-body-color: #4D585A;
    --bs-heading-color: inherit;
}

body {
    color: #4D585A;
}


.video-embed__video {
    position: relative;
    width: 100%;
    aspect-ratio: 1360 / 660;
    overflow: hidden;
    border-radius: 5px;
    background: #000;
}

    .video-embed__video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.video-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.35s ease-in-out;
}

    .video-overlay img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .video-overlay svg {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 75px;
        height: 75px;
        transform: translate(-50%, -50%);
        color: var(--bs-primary);
        pointer-events: none;
    }

.video-embed__video.is-playing .video-overlay {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 767px) {
    .video-embed {
        padding: 1rem;
    }

    .video-overlay svg {
        width: 65px;
        height: 65px;
    }
}

hr {
    border-top: 2px solid !important;
    opacity: 0.75 !important;
}


/* Control header to content space when no bread crumbs e.g. home page */
main.no-breadcrumb {
    padding-top: 25px;
}

@media (min-width: 992px) {
    main.no-breadcrumb {
        padding-top: 50px;
    }
}

.hero-content .actions-wrapper > .umb-block-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hero-content__left {
    margin-top: 5rem;
}

@media (min-width: 992px) {
    .hero-content__left.hero-multi-row {
        margin-top: 0;
    }

    .hero-content__left.hero-single-row {
        margin-top: 5rem;
    }
}

@media (max-width: 991.98px) {
    .hero-content__left {
        margin-top: 0;
    }
}

.highlights-list[data-astro-cid-e4s4qopu] {
    grid-template-rows: none !important;
}


/*section.highlights h2,
section.highlights h3 {
    color: black !important;
}*/





.Promotinal_card[data-astro-cid-3onnpdtz] {
    padding: 30px;
    border-radius: 5px;
    background-color: #AED0D1;
    color: #000;
    position: relative;
    overflow: hidden;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .Promotinal_card[data-astro-cid-3onnpdtz] {
        margin-top: -100px;
        margin-left: 30px;
    }
}

@media (min-width: 992px) {
    .footer-w-promotional-card {
        margin-top: 80px;
    }
}

.footer-w-promotional-card {
    background-color: var(--bs-primary);
    color: var(--bs-white);
    padding: 35px 0;
    gap: 30px;
}

.Promotinal_card[data-astro-cid-3onnpdtz] img[data-astro-cid-3onnpdtz] {
    mix-blend-mode: multiply;
    position: absolute;
    width: 50%;
    right: 0;
    top: 0;
    transition: all 0.2s ease;
    opacity: 0.5;
}

img[data-astro-cid-3onnpdtz], svg[data-astro-cid-3onnpdtz] {
    vertical-align: middle;
}


.top-row-w-card .programmes-nav {
    justify-content: left !important;
    margin-top: 20px !important;
}


.Promotinal_card[data-astro-cid-3onnpdtz] .content[data-astro-cid-3onnpdtz] p[data-astro-cid-3onnpdtz] {
    font-family: "MuseoSlab";
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    margin: 0;
}


.Promotinal_card[data-astro-cid-3onnpdtz] .content[data-astro-cid-3onnpdtz] {
    align-items: flex-start;
    flex-direction: column;
    position: relative;
    display: flex;
    z-index: 1;
    gap: 30px;
}

.bg-white {
    background-color: transparent;
}

.bg-light-gray {
    background-color: rgba(244, 244, 244, 1);
}

.bg-theme {
    background-color: #E4F0F0;
}


/* Desktop hover dropdown */
@media (hover: hover) and (pointer: fine) {
    .navbar-nav .dropdown:hover > .dropdown-menu,
    .navbar-nav .dropdown:focus-within > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}


/* people-cards */
.people-card {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    color: var(--bs-body-color);
    text-decoration: none;
    cursor: pointer;
}

.people-card__inner {
    display: flex;
    justify-content: space-between;
    height: 100%;
    border-radius: 5px;
}

.colour-theme-midnight-blue-no-tint {
    color: #fff;
    background-color: var(--bs-primary);
}

@media (min-width: 576px) {

    .people-card__inner {
        border-radius: 10px;
    }

    .people-card__image img {
        border-bottom-right-radius: 10px;
    }
}


    .people-card__content,
    .people-card__short-bio p {
        margin: 1.5rem 2rem 1rem;
    }

.people-card__image {
    display: flex;
    align-self: stretch;
    align-items: flex-end;
    justify-content: flex-end;
    width: 40%;
    max-width: 40%;
    height: 100%;
}

@media (min-width: 992px) {
    .people-card__image {
        width: 35%;
        max-width: 35%;
    }
}

.people-card__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: contain;
    object-position: bottom right;
    border-bottom-right-radius: 5px;
}

img,
svg {
    vertical-align: middle;
}


/* people-cards modal */

.modal--people-card {
    --bs-nav-link-font-size: 1.125rem;
    --bs-nav-link-font-weight: 700;
}

@media (min-width: 1400px) {
    .modal--people-card .modal-dialog {
        --bs-modal-width: 1340px;
    }
}

@media (min-width: 992px) {
    .modal--people-card .modal-content {
        height: calc(95vh - 2 * var(--bs-modal-margin));
    }
}

.btn.display-shield.arrow--right {
    padding: 12px 60px 12px 20px;
}

.modal--people-card .btn-close {
    position: absolute;
    top: 1rem;
    right: 0;
    z-index: var(--bs-modal-zindex);
    width: auto;
    height: auto;
    border-radius: 0;
}

@media (min-width: 768px) {
    .modal--people-card .modal-inner-content {
        flex-direction: row;
        height: 100%;
        overflow: hidden;
    }
}

.modal--people-card .modal-inner-content {
    display: flex;
    /*flex-direction: column-reverse;*/
    overflow: auto;
}

.modal--people-card .modal-text-col {
    width: 65%;
}

@media (min-width: 768px) {
    .modal--people-card .modal-text-col {
        position: relative;
        width: 60%;
    }
}

@media (min-width: 1200px) {
    .modal--people-card .modal-body {
        padding: 3rem 4rem .5rem 4rem;
    }
}

.modal--people-card .modal-title {
    position: relative;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.modal-title {
    margin-bottom: 0;
    line-height: var(--bs-modal-title-line-height);
}



@media (min-width: 768px) {
    .modal--people-card .modal-img-col {
        display: flex;
        align-items: flex-end;
        width: 60%;
        height: unset;
        border-top-right-radius: var(--bs-modal-border-radius);
        -webkit-mask: url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"version="1.1"viewBox="35 0 340 730"><path d="m 35.9747 301.797 c 0 69.517 -1.0857 139.07 0.3619 208.551 c 1.122 53.844 15.0192 103.932 53.7797 144.486 c 21.7147 22.715 48.6407 36.944 76.5797 50.053 c 60.729 28.529 121.204 57.635 181.968 86.128 c 3.945 1.842 10.206 2.023 14.079 0.181 c 69.703 -32.754 139.769 -64.931 208.641 -99.382 c 56.964 -28.493 88.957 -76.595 99.778 -138.962 c 5.031 -29.179 6.225 -58.539 4.524 -88.079 c -0.109 -1.805 -0.039 -3.578 -0.039 -5.384 v -460.389 h -639.647 v 4.797 c -0.4596 0 0.409 0 -0.0253 0 z"></path></svg>) bottom left / 100% auto no-repeat;
        mask: url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"version="1.1"viewBox="35 0 340 730"><path d="m 35.9747 301.797 c 0 69.517 -1.0857 139.07 0.3619 208.551 c 1.122 53.844 15.0192 103.932 53.7797 144.486 c 21.7147 22.715 48.6407 36.944 76.5797 50.053 c 60.729 28.529 121.204 57.635 181.968 86.128 c 3.945 1.842 10.206 2.023 14.079 0.181 c 69.703 -32.754 139.769 -64.931 208.641 -99.382 c 56.964 -28.493 88.957 -76.595 99.778 -138.962 c 5.031 -29.179 6.225 -58.539 4.524 -88.079 c -0.109 -1.805 -0.039 -3.578 -0.039 -5.384 v -460.389 h -639.647 v 4.797 c -0.4596 0 0.409 0 -0.0253 0 z"></path></svg>) bottom left / 100% auto no-repeat;
    }
}

.modal--people-card .modal-img-col {
    /*    width: 300px;
    height: 220px;*/
    border-top-left-radius: var(--bs-modal-border-radius);
    -webkit-mask: url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"version="1.1"viewBox="294 -5 410 300"><g xmlns="http://www.w3.org/2000/svg"transform="translate%28750, 305%29 scale%28-1,-1%29"><g transform="matrix%280 1 -1 0 838 -36%29"><path d="m 35.9747 301.797 c 0 69.517 -1.0857 139.07 0.3619 208.551 c 1.122 53.844 15.0192 103.932 53.7797 144.486 c 21.7147 22.715 48.6407 36.944 76.5797 50.053 c 60.729 28.529 121.204 57.635 181.968 86.128 c 3.945 1.842 10.206 2.023 14.079 0.181 c 69.703 -32.754 139.769 -64.931 208.641 -99.382 c 56.964 -28.493 88.957 -76.595 99.778 -138.962 c 5.031 -29.179 6.225 -58.539 4.524 -88.079 c -0.109 -1.805 -0.039 -3.578 -0.039 -5.384 v -460.389 h -639.647 v 4.797 c -0.4596 0 0.409 0 -0.0253 0 z"/></g></g></svg>) bottom right / 100% auto no-repeat;
    mask: url(data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg"version="1.1"viewBox="294 -5 410 300"><g xmlns="http://www.w3.org/2000/svg"transform="translate%28750, 305%29 scale%28-1,-1%29"><g transform="matrix%280 1 -1 0 838 -36%29"><path d="m 35.9747 301.797 c 0 69.517 -1.0857 139.07 0.3619 208.551 c 1.122 53.844 15.0192 103.932 53.7797 144.486 c 21.7147 22.715 48.6407 36.944 76.5797 50.053 c 60.729 28.529 121.204 57.635 181.968 86.128 c 3.945 1.842 10.206 2.023 14.079 0.181 c 69.703 -32.754 139.769 -64.931 208.641 -99.382 c 56.964 -28.493 88.957 -76.595 99.778 -138.962 c 5.031 -29.179 6.225 -58.539 4.524 -88.079 c -0.109 -1.805 -0.039 -3.578 -0.039 -5.384 v -460.389 h -639.647 v 4.797 c -0.4596 0 0.409 0 -0.0253 0 z"/></g></g></svg>) bottom right / 100% auto no-repeat;
}

.btn-primary {
    font-family: 'MuseoSlab' !important;
}

/* Last menu Item Pull in */
.nav-item.dropdown:last-child .dropdown-menu {
    left: auto;
    right: 0;
}


.rlBanner {
    background-color: rgba(var(--bs-primary-rgb)) !important
}

.downloadPanel_title {
    background-color: rgba(var(--bs-primary-rgb)) !important
}

.RL_Table_th {
    background-color: rgba(var(--bs-primary-rgb)) !important
}

.viewIcon {
    background-color: rgba(var(--bs-primary-rgb)) !important
}

.modal-dialog {
    max-height: calc(100vh - 2rem);
}

.modal-content {
    max-height: calc(100vh - 2rem);
    overflow: hidden;
}

.modal-inner-content {
    max-height: calc(100vh - 2rem);
    overflow: hidden;
}

.modal-img-col img {
    max-height: calc(100vh - 2rem);
    width: 100%;
    object-fit: contain;
}



/* Shrink multi-line hero titles as the browser becomes narrower */
.hero-content__left.hero-multi-row.display-5 .heading-inner {
    font-size: clamp(1.5rem, 4vw, 3rem);
    line-height: 1.15;
}

/* 1199px - 1399px: was going to 4 lines */
@media (min-width: 1199px) and (max-width: 1399.98px) {
    .hero-content__left.hero-multi-row.display-5 .heading-inner {
        font-size: 2.05rem;
    }
    h1.hero-content__left.hero-multi-row .heading-outter {
        padding: 0px 8px;
    }

}

/* 992px - 1198px: keep at 3 lines */
@media (min-width: 767.98px) and (max-width: 1198.98px) {

    h1.hero-content__left.hero-multi-row .heading-outter {
        padding: 0px 8px;
    }


    .hero-content__left.hero-multi-row.display-5 .heading-inner {
        font-size: 2rem;
    }
}

/* 726px - 767px: was going to 4 lines */
@media (min-width: 726px) and (max-width: 767.98px) {
    .hero-content__left.hero-multi-row.display-5 .heading-inner {
        font-size: 1.75rem;
    }

    h1.hero-content__left.hero-multi-row .heading-outter {
        padding: 0px 8px;
    }
}

/* 459px - 725px: keep stable */
@media (min-width: 466px) and (max-width: 725.98px) {
    .hero-content__left.hero-multi-row.display-5 .heading-inner {
        font-size: 1.55rem;
    }

    h1.hero-content__left.hero-multi-row .heading-outter {
        padding: 0px 8px;
    }
}

/* 458px and below: was going to 4 lines */
@media (max-width: 467px) {
    .hero-content__left.hero-multi-row.display-5 .heading-inner {
        font-size: 1.1rem;
    }

    h1.hero-content__left.hero-multi-row .heading-outter {
        padding: 0px 8px;
    }
}

/* 360px and below: was going to 4 lines */
@media (max-width: 361px) {
    .hero-content__left.hero-multi-row.display-5 .heading-inner {
        font-size: 1.0rem;
    }

    h1.hero-content__left.hero-multi-row .heading-outter {
        padding: 0px 8px;
    }
}


.umbraco-picture-control-row {
    margin-bottom: 20px;
}

.navbar-brand[data-astro-cid-3ef6ksr2] {
    margin-right: 0;
}

/* Override Bootstrap's navbar-expand-lg breakpoint from 992px to 1100px */
@media (min-width: 992px) and (max-width: 1099.98px) {

    /* Allow the collapsed menu to drop onto a new row */
    .navbar.navbar-expand-lg {
        flex-wrap: wrap;
    }

        /* Override the existing rule that hides the hamburger above 992px */
        .navbar.navbar-expand-lg .btn-menu {
            display: flex !important;
        }

        /* Keep the navigation collapsed */
        .navbar.navbar-expand-lg .navbar-collapse:not(.show) {
            display: none !important;
        }

        /* Display it when the hamburger is clicked */
        .navbar.navbar-expand-lg .navbar-collapse.show {
            display: flex !important;
            flex-basis: 100%;
        }

        /* Change desktop horizontal navigation back to vertical */
        .navbar.navbar-expand-lg .navbar-nav {
            flex-direction: column;
            width: 100%;
        }

        #navbarSupportedContent[data-astro-cid-3ef6ksr2] {
            flex-direction: row-reverse;
        }
}

.btn-logout {
    width: 120px;
}

@media (max-width: 1400px) {
    .people-card__inner {
        height: 200px;
    }
}

@media (max-width: 990px) {
    .people-card__content {
        width: 35%;
        margin-right:0px;
    }
}

@media (max-width: 2400px) {
    .people-card__inner {
        height: 260px;
    }
}