@import "style.css";

/*--------------------------------------------------------------
# CUSTOMISATION BEGINS
--------------------------------------------------------------*/

/* Helpers
--------------------------------------------- */

.break-container {
    width:100vw;
    position:relative;
    left:calc(-1 * (100vw - 100%)/2);
}

/* Colours
--------------------------------------------- */

:root {
    /* #2A3865 as RGB */
    --colour-alpha-grey: 119, 119, 119;
    --colour-alpha-grey-dark: 51, 51, 51;
    /* #7BBA58 as RGB */
    --colour-alpha-green: 123, 186, 88;
    /* #0099CA as RGB */
    --colour-alpha-blue: 0, 148, 179;
    /* #9f0000 as RGB */
    --colour-sale-red: 159,0,0;
}

.bg,
.bg a:link,
.bg a:visited {
    color: #fff;
}

.bg-primary {
    background-color: rgb(var(--colour-alpha-blue)) !important;
}
.bg-secondary {
    background-color: rgb(var(--colour-alpha-green)) !important;
}

/* Typography
--------------------------------------------- */

html {
    font-size: 18px;
}

body {
    font-family: 'Cabin', sans-serif;
    color: rgb(var(--colour-alpha-grey-dark));
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Ubuntu', sans-serif;
    font-display: swap;
    color: rgb(var(--colour-alpha-blue));
    letter-spacing: -.04em;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 2.5rem;
    line-height: 1;
    margin-top: -0.1em;
    color: rgb(var(--colour-alpha-grey));
}

h2 {
    font-family: 'Cabin', sans-serif;
    font-display: swap;
    font-weight: 700;
    letter-spacing: unset;
    line-height: 1;
    font-size: 1.66rem;
    margin-bottom: 2rem;
}

h3 {
    font-family: 'Cabin', sans-serif;
    font-display: swap;
    font-weight: 700;
    letter-spacing: unset;
    color: rgb(var(--colour-alpha-blue));
    font-size: 1.33rem;
}

p {
    line-height: 1.6;
}

p:last-child {
    margin-bottom: 0;
}

.lead {
    font-size: 1.2rem;
}

blockquote {
    margin-top: 2em;
    margin-bottom: 2em;
    padding-left: 1em;
    border-left: 2px solid rgba(var(--colour-alpha-blue),0.33);
}

p, ul, ol {
    margin-bottom: 1.5em;
}

@media only screen and (min-width: 768px) {

}

@media only screen and (min-width: 992px) {

    h1 {
    }

}

/* Breadcrumbs
--------------------------------------------- */

.the-breadcrumb {
    padding: 0 0 calc(var(--spacing) * 0.5);
    background-color: rgba(255,255,255,0.33);
    font-size: 0.8rem;
}

.the-breadcrumb span[property="name"].current-item {
    display: inline-block;
    padding: 0;
    margin-top: -3px;
    margin-bottom: 0;
    vertical-align: middle;
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media only screen and (min-width: 768px) {

    .the-breadcrumb {
        font-size: 0.7rem;
    }

}

/* Body
--------------------------------------------- */

body {
}

body:before {
    content: ' ';
    display: block;
    width: 100%;
    height: 66vh;
    /* background: linear-gradient(0deg, rgba(255,255,255,1) 0%, rgba(0,153,202,1) 100%); */
    position: absolute;
    z-index: -1;
    opacity: 0.33;
}

/* Containers
--------------------------------------------- */

.container {
    padding-left: 6vw;
    padding-right: 6vw;
}

@media only screen and (min-width: 768px) {

    .container {
        padding-right: 45px;
        padding-left: 45px;
    }

}

@media only screen and (min-width: 992px) {

    .container {
        padding-right: 15;
        padding-left: 15;
    }

}

/* Spacing
--------------------------------------------- */

:root {
    --spacing: 3em;
    --spacing-sm: calc(3em / 2) ;
    --spacing-xs: calc(3em / 4) ;
    --border-radius: 0.66rem;
}

.padding-xs {
    padding: var(--spacing-gap-xs);
}

.padding-sm {
    padding: var(--spacing-gap-sm);
}

.padding-md {
    padding: var(--spacing-gap-md);
}

.padding-lg {
    padding: var(--spacing-gap-lg);
}

.padding-xl {
    padding: var(--spacing-gap-xl);
}


/* Links
--------------------------------------------- */

a {
    text-decoration: none;
}

a:link,
a:visited {
    color: var(--colour-alpha-grey);
}

a:hover {
}

a.link-external {
    /* font-size: 1.5rem; */
}

a.link-external-small {
}

a[target=_blank]:not(.btn):link,
a[target=_blank]:not(.btn):visited,
a.link-external:not(.btn):link,
a.link-external:not(.btn):visited {
    color: rgb(var(--colour-alpha-blue)) !important;
}

a[target=_blank]:not(.btn):not(.internal-link):after,
a.link-external:not(.btn):not(.internal-link):after {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-weight: 700;
    content: "\f08e";
    padding-left: 0.33em;
    font-size: 80%;
}

a.link-internal:after {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-display: swap;
    font-weight: 700;
    content: "\f08e";
    padding-left: 0.33em;
    font-size: 80%;
}

.adjacent-post-link {
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(var(--colour-alpha-blue));
}

/* Buttons
--------------------------------------------- */

.btn-primary,
.woocommerce button,
.woocommerce a.button {
    background-color: rgb(var(--colour-alpha-green)) !important;
    border-color: transparent !important;
    font-family: 'Ubuntu', sans-serif !important;
    font-display: swap;
    color: #fff !important;
    padding: 0.375rem 0.75rem !important;
    border-radius: 9999px;
    margin-left: -0.2em;
}

.woocommerce button,
.woocommerce .button {
    font-size: 1.5rem;
}

.btn-primary:hover {
    background-color: rgba(var(--colour-alpha-green),0.8) !important;
}

.btn-rev {
    background-color: #fff !important;
    color: rgb(var(--colour-alpha-green)) !important;
}

.btn-lg {
    letter-spacing: -0.03em;
}

.btn-grouped {
    margin-left: -0.2em;
}

.btn-grouped a {
    margin-left: 0.33em;
}

.btn-grouped a:first-child {
    margin-left: 0;
}


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

#disclaimer {
    font-size: 0.85rem;
    line-height: 1.33;
    padding: var(--spacing-sm) 0;
    background-color: rgba(var(--colour-alpha-green), 0.1);
    margin-top: calc(var(--spacing) * 2);
}

body.home #disclaimer {
    margin-top: 0;
}

#colophon {
    background-color: rgb(var(--colour-alpha-blue));
    padding: var(--spacing) 0;
    color: #fff;
}

#colophon pre {
    background-color: #000;
}

#colophon a:link,
#colophon a:visited {
    color: #fff;
}

#colophon .logo-container img {
    max-width: 100px;
    margin-left: -5px;
}

#colophon .list-social {
    font-size: 42px;
    line-height: 1;
    margin: 0;
}

#legal-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#legal-menu li {
    display: block;
    padding: 0.66em 0;
}

#footer-legal {
    font-size: 0.85rem;
    line-height: 1.33;
}

.footer-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1.25rem;
}

#colophon .list-social a {
    color: #fff !important;
}

#colophon .list-social a:after {
    content: none;
}

@media only screen and (min-width: 768px) {

    #colophon > .container .row {
        align-items: center;
    }

    #colophon .logo-container img {
        max-width: 120px;
    }

    #colophon .list-social {
        display: flex;
        justify-content: end;
    }

    #colophon .logo-footer {
        max-width: 115px;
    }

    #footer-legal {
        font-size: 0.75rem;
        line-height: 1.4;
    }

    .footer-nav ul {
        font-size: 1.1rem;
    }

    #colophon .footer-nav > .row {
        display: flex;
        align-items: start;
    }

    #legal-menu {
        list-style-type: none;
        padding: 0;
        margin: 0;
        display: flex;
    }

    #legal-menu li {
        line-height: 0.1;
        margin-left: 1rem;
        padding-left: 1rem;
        border-left: 1px rgb(var(--colour-alpha-blue)) solid;
    }

    #legal-menu li:first-child {
        margin-left: 0;
        padding-left: 0;
        border: none;
    }
}

@media only screen and (min-width: 992px) {


}

/* Logos
--------------------------------------------- */

.logo {
    width: 100%;
    height: auto;
}

.logo-main {
    transition: all 0.4s ease-in-out;
    max-width: inherit;
    width: 100px;
}

body.scrolled .logo-main {
    width: 80px;
}

@media only screen and (min-width: 768px) {

    .logo-main {
        width: 120px;
    }
    body.scrolled .logo-main {
        width: 95px;
    }

}

@media only screen and (min-width: 992px) {

    .logo-main {
        width: 140px;
    }

    body.scrolled .logo-main {
        width: 115px;
    }


}

/* Images
--------------------------------------------- */

img.fullwidth {
    width: 100%;
}

/* Pagination
--------------------------------------------- */

#pagination {
    margin: var(--spacing) 0 0;
    color: rgb(var(--colour-alpha-grey));
}

#pagination .title {
    color: rgb(var(--colour-alpha-grey));
    margin-right: 0.66em;
}

#pagination .page.current {
    background-color: rgb(var(--colour-alpha-blue));
    border-color: transparent;
}

#pagination .wp-paginate a:link,
#pagination .wp-paginate a:visited {
    border-color: rgb(var(--colour-alpha-blue));
    background: #fff;
    color: rgb(var(--colour-alpha-grey));
}


/* Lists
--------------------------------------------- */

.list {
    /* margin-left: 0; */
}

.list-unstyled {
    margin-left: 0 !important;
}

.list-reset {
    margin-left: 0;
}

.list-faq {
    margin-left: 0;
}

.list-faq li {
    margin-top: var(--spacing);
}

.list-faq .faq-question {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.list-faq .faq-answer p:last-child {
    margin-bottom: 0;
}

.list-faq .faq-question,
.list-faq .faq-answer {
    position: relative;
    padding-left: 40px;
}

.list-faq .faq-question:before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-display: swap;
    font-weight: 900;
    font-size: 1.5rem;
    content: "\e11e";
    padding-left: -0.2em;
    position: absolute;
    top: -.25rem;
    left: 0;
    color: rgb(var(--colour-alpha-blue));
}

.list-faq .faq-answer:before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-display: swap;
    font-weight: 900;
    font-size: 1.5rem;
    content: "\e11e";
    padding-left: -0.25em;
    position: absolute;
    top: -.33rem;
    left: 0;
    color: rgb(var(--colour-alpha-blue));
}

.list-items {
    margin-top: var(--spacing);
    margin-left: 0;
}

.list-items.row {
    margin-left: -0.75rem;
    margin-right: -0.75rem;
}

.list-items h2 {
    color: rgb(var(--colour-alpha-grey));
    margin-top: 0.5em;
    font-size: 1.2rem;
}

.list-items a {
    text-decoration: none !important;
}

.list-items-newsletters img,
.list-items-reports img {
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.list-items-centres li {
    margin-bottom: 2rem;
}

.list-items-centres h2 {
    margin: 0 0 0.25em 0 !important;
}

.list-items-centres .centre-website {
    margin-top: 0.5rem;
}

.list-items-centres .centre-details {
    margin-top: var(--spacing-xs);
}

.list-items-centres .centre-details p {
    margin-bottom: 0.25em !important;
}

.list-items-centres .centre-details p:last-child {
    margin-bottom: 0;
}

.list-gallery {
    margin-top: var(--spacing);
    margin-bottom: 0;
}

.list-gallery li {
    margin-bottom: 24px;
}

.list-social {
    font-size: 42px;
    line-height: 1;
    margin: 0;
}

.list-social li {
    display: inline-block;
    padding-left: 0.66rem;
}

.list-social li:first-child {
    padding-left: 0;
}

.list-research {
    margin: 0;
}

.list-research li {
    margin-bottom: var(--spacing);
    padding-bottom: var(--spacing);
    border-bottom: 1px solid rgba(var(--colour-alpha-blue), 0.33);
}

.list-research li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.list-research .logo-research {
    width: 66%;
    margin-bottom: var(--spacing-sm);
}

.list-alphabet {
    margin: 0;
    display: grid;
    line-height: 1;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    column-gap: 10px;
    row-gap: 10px;
    font-size: 1.33rem;
}

.list-alphabet li {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    background-color: rgb(var(--colour-alpha-green));
}

.list-alphabet a {
    text-align: center;
    display: block;
    width: 100%;
    padding: 0.33em;
    background-color: rgb(var(--colour-alpha-green));
    color: #fff;
}

.list-a2z {
    margin: 0;
}

.list-a2z h2 {
    margin-bottom: 1.5rem;
}

.list-a2z-links {
    margin: 0 0 var(--spacing);
    line-height: 1.25;
}

.list-a2z-links a {
    display: block;
    margin-bottom: var(--spacing-xs);
}

.list-a2z-links a.link-external {
    font-size: 1.2rem;
}

.list-website-category {
    margin-top: var(--spacing);
    margin-left: 0;
}

.list-resources h2 {
    line-height: 1.33;
}

.list-supporters {
    margin-left: 0;
    margin-bottom: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
    align-items: stretch;
}

.list-supporters li {
    border: 1px solid rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-supporters li a:after {
    content: none !important;
}

.list-supporters .logo-supporter {
    max-height: 70px;
    max-width: max-content;
    width: 100%;
}

.list-patrons {
    margin-left: 0;
}

.list-patrons h3 {
    margin-bottom: 0 !important;
}

.list-patrons .patron-type {
    margin-bottom: var(--spacing-xs);
}

.list-news li {
    margin-bottom: var(--spacing);
}

.list-news li:last-child {
    margin-bottom: 0;
}

.list-news p {
    margin-bottom: 0 !important;
}

.list-news h2 {
    font-size: 1.66rem;
    margin-top: 0;
    margin-bottom: 1rem;
}

.list-news .btn {
    margin-top: var(--spacing-sm);
}

.posted-on {
    color: rgb(var(--colour-alpha-blue));
}

.list-latest-news .posted-on {
    margin-bottom: calc(var(--spacing-xs) * 0.6);
}

.list-events {
    margin-top: var(--spacing);

}

.list-events li:last-child {
    margin-bottom: 0;
}

.list-events li {
    margin-bottom: var(--spacing);
}

.list-events .btn {
    margin-top: var(--spacing-sm);
}

.external-events {
    margin-top: var(--spacing);
}

.list-events-external {
    margin-bottom: 0;
}

.list-events-external li {
    margin-bottom: var(--spacing-sm);
}

.list-events-external li .inner {
    background-color: rgba(var(--colour-alpha-blue),0.2);
    padding: var(--spacing-sm);
}

.list-events-external .btn {
    margin-top: var(--spacing-xs);
}

.list-events-external div.event-date {
    font-size: 1.25rem;
}

.list-friend {
    margin-left: 0;
    margin-bottom: var(--spacing);
}

.list-friend > li {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid rgba(var(--colour-alpha-blue),0.2);
    padding-bottom: calc(var(--spacing-xs) * 0.5);
    margin-bottom: calc(var(--spacing-xs) * 0.5);
}

.list-friend > li:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: none;
}

.list-friend > li .name {
    font-weight: 700;
}

.child-page-list {
    list-style-type: none;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

@media only screen and (min-width: 768px) {

    .list-research .logo-research {
        width: 33%;
    }

    .list-alphabet {
        grid-template-columns: repeat(26, 1fr);
    }

    .list-resources {
        columns: 2;
        column-gap: 30px;
        line-height: 1.33;
    }


    .list-resources li:first-child h2 {
        margin-top: 0;
    }

    .list-supporters {
        grid-template-columns: repeat(3, 1fr);
    }

    .list-events-external {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }

    .list-events-external li {
        width: 100%;
        height: 100%;
    }

    .list-events-external li .inner {
        height: 100%;
    }

    .list-events-external li .inner {
        display: flex;
        flex-wrap: wrap;
        height: 100%;
        border-radius: var(--border-radius);
    }

    .list-events-external li .inner .event-location {
        margin-bottom: auto;
    }

    .list-events-external .event-location {
        width: 100%;
    }

    .list-events-external .event-organiser {
        line-height: 1.33;
        width: 100%;
        height: auto;
    }

    .list-events-external .button-wrapper {
        margin-top: auto;
        width: 100%;
    }

}

@media only screen and (min-width: 992px) {

    .list-research .logo-research {
        width: 25%;
    }

    .list-supporters {
        grid-template-columns: repeat(4, 1fr);
    }


}

@media only screen and (min-width: 1200px) {

    .list-resources {
        columns: 3;
    }

}

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

#masthead-outer {
    background: rgb(0,153,202);
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
    width: 100vw;
    background: radial-gradient(ellipse at 80% 70%, #61c250 0%, #0094b3 60%, #0094b3 100%);
    background: rgb(var(--colour-alpha-blue));
}

body.scrolled #masthead-outer {
    background-color: rgba(var(--colour-alpha-blue),0.85);
}

#masthead {
    padding: var(--spacing-xs) 0;
}

.site-branding .logo-container {
}

.site-branding .logo-container img {
    position: absolute;
    top: 5px;
    margin-left: -10px;
    filter: drop-shadow(-6px 6px 8px rgb(var(--colour-alpha-grey),0.2));
}

#menu_closed {
    height: 48px;
    width: auto;
    transition: all 0.2s ease-in-out;
}

#menu_closed path {
    fill: #fff;
    transition: all 0.2s ease-in-out;
}

#menu_closed:hover {
    filter: drop-shadow(0 0 16px rgb(var(--colour-alpha-grey),0.8));
}

#menu_closed:hover path {
}

@media only screen and (min-width: 768px) {

    .site-branding .logo-container img {
    }

}

@media only screen and (min-width: 992px) {

    #masthead {
        padding: 1.25em 0 0;
        transition: all 0.2s ease-in-out;

    }

    body.scrolled #masthead {
        padding-top: 0.75em;
    }


    #masthead #site-navigation a {
        line-height: 0.8;
        transition: all 0.1s ease-in-out;
    }

    #masthead #primary-menu a {
        padding: 0.6em 0.6em 1.25em 0.6em;
        color: #fff;
    }

    body.scrolled #primary-menu a {
        padding-top: 0.3em !important;
        padding-bottom: 0.75em !important;
    }

    #masthead #primary-menu a:link,
    #masthead #primary-menu a:visited {
        color: #fff !important;
    }

    #masthead #primary-menu a:hover {
        color: rgba(255,255,255,0.8) !important;
    }

    #masthead #primary-menu a:active {
        color: #fff !important;
    }

    #masthead #secondary-menu {
        margin-bottom: 4px;
    }

    #masthead #secondary-menu a {
        padding: 0.6em 1em;
        margin-right: 0.66em;
        font-weight: 700;
        font-size: 1rem;
        border-radius: 9999px;
    }

    #masthead #secondary-menu a:link,
    #masthead #secondary-menu a:visited {
        color: rgb(var(--colour-alpha-grey)) !important;
        background-color: #fff;
    }

    #masthead #secondary-menu a:hover,
    #masthead #secondary-menu a:active {
        background-color: rgb(var(--colour-alpha-green));
        color: #fff !important;
    }

}

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

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(var(--colour-alpha-grey), 0.5);
    visibility: hidden;
    opacity: 0;
    transition: all 0.2s ease !important;
}

#overlay.show {
    visibility: visible;
    opacity: 1;
}

#site-navigation {
    display: none !important;
}

#site-navigation.active {
    display: flex !important;
    position: fixed;
    background: rgb(var(--colour-alpha-green)) url('images/bg-dna-helix-white-sm.png') no-repeat;
    background-position-y: bottom;
    background-size: contain;
    color: #fff;
    width: 75vw;
    height: 100vh;
    top: 0;
    left: 0;
    font-size: 7vw;
    box-shadow: 8px 0px 16px 0px rgba(42, 56, 101, 0.33);
    padding-left: 7vw;
}

#site-navigation.active a {
    display: block;
    padding: calc(var(--spacing-xs) / 6) 0;
}

#site-navigation.active a:link,
#site-navigation.active a:visited,
#site-navigation.active a:active {
    color: #fff;
    text-decoration: none !important;
}

#site-navigation.active #primary-navigation,
#site-navigation.active #secondary-navigation {
    width: 100%;
}

#site-navigation.active #primary-menu,
#site-navigation.active #secondary-menu {
    display: block;
    width: 100%
}

#site-navigation ul.sub-menu {
    visibility: hidden;
    opacity: 0;
    transition: opacity 1s ease !important;
    display: block;
    font-size: 6vw;
}

#site-navigation ul.sub-menu.show {
    opacity: 1;
    visibility: visible;
    position: relative;
    box-shadow: none;
    float: none;
    padding-left: 1em;
}

#site-navigation ul.sub-menu.show li {
    display: block;
}

#site-navigation.active ul.sub-menu.show a {
    line-height: 1.1;
}

#site-navigation .menu-item-has-children > a::after {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-display: swap;
    font-weight: 900;
    content: "\f107";
    padding-left: 0.25em;
    position: relative;
    top: 0.05em;
}

#site-navigation .menu-item-has-children.open > a::after {
    content: "\f106";
}

#site-navigation a:hover {
    text-decoration: none !important;
}

.main-navigation ul ul {
    left: 0;
}

@media only screen and (min-width: 390px) {

    #site-navigation.active a {
        padding: calc(var(--spacing-xs) / 3) 0;
    }

}

@media only screen and (min-width: 768px) {

    #site-navigation.active a {
        padding: calc(var(--spacing-xs) / 2) 0;
    }

    #site-navigation.active {
        font-size: 1.66rem;
    }

    #site-navigation ul.sub-menu {
        font-size: 1.33rem;
    }

    #site-navigation.active {
        width: 50vw;
    }

}

@media only screen and (min-width: 992px) {

    #site-navigation {
        display: block !important;
        font-weight: 500;
        font-size: 1.2rem;
    }

    #site-navigation ul > li a {
        padding: 0 var(--spacing-xs);
    }

    #site-navigation ul > li a:link,
    #site-navigation ul > li a:visited {
        color: #fff !important;
    }

    #site-navigation ul.sub-menu {
        font-weight: 500;
        transition: opacity 0.3s ease !important;
        font-size: 1.15rem;
    }

    #site-navigation ul.sub-menu.show {
        position: absolute;
        width: fit-content;
        left: 0;
        right: 0;
        padding: 0;
        font-weight: 500;
        line-height: 1.2;
        background-color: rgb(var(--colour-alpha-grey));
    }

    #site-navigation ul.sub-menu.show li {
        border-bottom: 1px solid #fff;
    }

    #site-navigation ul.sub-menu.show li:last-child {
        border-bottom: none;
    }

    #site-navigation ul.sub-menu.show a {
        display: block;
        padding: 0.33em 15px;
        line-height: 1.2 !important;
    }

    #masthead #primary-menu ul.sub-menu.show a {
        padding: 0.6em;
    }

    #site-navigation ul.sub-menu.show a:hover {
        background-color: rgb(var(--colour-alpha-green));
        color: #fff;
    }

    #site-navigation #primary-menu,
    #site-navigation #secondary-menu {
        display: flex;
        justify-content: end;
    }

    #site-navigation #primary-menu > li {
        margin-right: 0;
    }

    #site-navigation #primary-menu > li:last-child {
        margin-right: 0;
    }

    #site-navigation #secondary-menu {
        font-weight: 500;
    }

}

@media only screen and (min-width: 1200px) {

    #site-navigation #primary-menu > li {
        margin-right: 2em;
    }

}

/* Banners
--------------------------------------------- */

#home-banner {
    /*
    background-image: url("images/alpha-1-banner-01b.jpg");
    background: linear-gradient(.25turn, rgba(var(--colour-alpha-blue),0.50), rgba(var(--colour-alpha-green),0.5)), url("images/alpha-1-banner-01b.jpg") no-repeat top center;
    */
    background-position-x: right;
    background-position-y: center;
    background-size: cover;
    margin-bottom: var(--spacing);
    display: flex;
    max-height: 500px;
}

#home-banner .container {
    display: flex;
    align-items: center;
}

#home-banner-text {
    margin: var(--spacing) 0;
    padding: calc(var(--spacing-sm) * 1.25) calc(var(--spacing-sm) * 1.5) calc(var(--spacing-sm) * 1.25) var(--spacing-sm);
    background: rgba(var(--colour-alpha-grey),0.75);
    line-height: 1.4;
    border-radius: var(--border-radius);
    color: #fff;
    background: radial-gradient(ellipse at 80% 70%, #61c250 0%, #0094b3 60%, #0094b3 100%);
}

#home-banner-text h1 {
    color: #fff;
}

#home-banner-buttons {
    margin-top: var(--spacing-sm);
}

@media only screen and (min-width: 768px) {

    #home-banner-text {
        margin: calc(var(--spacing) * 1.5) 0 calc(var(--spacing) * 1.5) calc(var(--spacing) * 0.25);
    }

    #home-banner-text {
        width: 66%;
    }

}

@media only screen and (min-width: 992px) {

    #home-banner {
    }

    #home-banner-text {
        width: 50%;
    }

}

/* Poems
--------------------------------------------- */

.poem {
    border-radius: var(--border-radius);
    background-color: rgba(var(--colour-alpha-blue),0.2);
    padding: var(--spacing-sm);
}

.poem .poem-title h2 {
    margin-bottom: 0.66em;
}

.poem .poem-body {
    font-style: italic;
    font-size: 0.9rem;
}

.poem .poem-byline {
    margin-top: var(--spacing-sm);
    font-weight: 700;
    font-size: 0.9rem;
}

@media only screen and (min-width: 992px) {

    .padder-poem {
        padding-left: 30px;
    }

}

/* Gravity Forms
--------------------------------------------- */

.gravity-theme textarea,
.gravity-theme input[type='text'],
.gravity-theme input[type='email'] {
    border-color: rgba(var(--colour-alpha-grey), 0.1);
}

/* Tables
--------------------------------------------- */

table.responsive {
    line-height: 1.33;
}

table.responsive tr,
table.responsive td {
    display: block;
}

table.responsive tr {
    margin-bottom: 1.5em;
}

table.responsive tr:last-child {
    margin-bottom: 0;
}

table .title_committee h3 {
   margin-top: var(--spacing-xs);
}

@media only screen and (min-width: 992px) {

    table.responsive tr {
        display: table-row;
        margin: 0;
    }

    table.responsive td {
        display: table-cell;
        padding-bottom: 0.5em;
    }

    table.responsive tr:last-child td {
        padding-bottom: 0;
    }

}

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

.sidebar .padder {
    padding-left: 40px;
    position: relative;
}

.sidebar .padder:before {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 10px;
    content: '';
    display: block;
    width: 2px;
    height: 50vh;
    background-image: linear-gradient(to bottom, rgba(var(--colour-alpha-green),0.5), rgba(var(--colour-alpha-green),0));
}

.sidebar h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.sidebar .menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    font-size: 0.9rem;
}

.sidebar .menu a {
    display: block;
}

.sidebar .menu a:link,
.sidebar .menu a:visited {
    padding: 0.5em 0;
    color: rgb(var(--colour-alpha-blue));
}

.sidebar .sidebar-unit {
    margin-bottom: calc(var(--spacing) * 0.66);
}

@media only screen and (min-width: 992px) {

    .sidebar .padder:before {
    }


    .sidebar .padder {
        padding-left: 60px;
    }

    .sidebar .padder:before {
        left: 20px;
    }


}

@media only screen and (min-width: 1200px) {

    .sidebar .padder {
        padding-left: 60px;
    }

}

/* Content
--------------------------------------------- */

#page-top {
    padding-top: 80px;
}

body.home #page-top {
    padding: 0;
}

#main-content ul.list-bullets {
    padding: 0;
    margin: 2em 0;
}

.builder-block-content .content-item.text a:link,
.builder-block-content .content-item.text a:visited,
.builder-block-content .content-item.wysiwyg a:link,
.builder-block-content .content-item.wysiwyg a:visited {
    color: rgb(var(--colour-alpha-blue));
}

.builder-block-content .content-item.text ul > li,
.builder-block-content .content-item.wysiwyg ul > li,
#main-content ul.list-bullets li {
    margin-bottom: 0.66em;
    padding-left: 1.2em;
    position: relative;
}

.builder-block-content .content-item.text ul > li:before,
.builder-block-content .content-item.wysiwyg ul > li:before,
#main-content ul.list-bullets li:before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-weight: 900;
    content: "\e122";
    position: absolute;
    top: 0;
    left: 0;
    color: rgb(var(--colour-alpha-blue));
}

.content-block {
    margin: var(--spacing) 0;
}

.mission-statement {
    border-radius: var(--border-radius);
    background-color: rgba(var(--colour-alpha-blue),0.2);
    padding: var(--spacing-sm) calc(var(--spacing-sm) * 1.5) var(--spacing-sm) var(--spacing-sm);
}

.mission-statement ul {
    font-size: 1.2rem;
    margin-left: 0;
    margin-bottom: 0;
}

.mission-statement ul li {
    margin-bottom: 1em;
    position: relative;
    margin-left: 1.5em;
}

.mission-statement ul li:last-child {
    margin-bottom: 0;
}

.mission-statement ul li::before {
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 6 Pro";
    font-display: swap;
    font-weight: 900;
    content: "\f336";
    position: absolute;
    left: -1.5em;
    top: 0.05em;
    color: rgb(var(--colour-alpha-green));
}

.content-block.trustees td.trustee-name {
    font-weight: 700;
}

.content-block.patrons li {
    margin-bottom: var(--spacing);
}

.content-block.patrons li:last-child {
    margin-bottom: 0;
}

.content-block.patrons h3 {
    line-height: 1.33;
    margin-bottom: var(--spacing-xs);
}

.content-block.patrons .qualifications {
    display: block;
    font-family: 'Cabin', sans-serif;
    font-display: swap;
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 0;
    color: rgb(var(--colour-alpha-blue))
}

.content-block.patrons .mugshot {
    margin-bottom: var(--spacing-sm);
}

.content-block.patrons .patron-bio p:last-child {
    margin-bottom: 0;
}

.content-block-a2z .list-alphabet {
    margin-bottom: var(--spacing);
}

.content-panel {
    padding: var(--spacing-sm);
    border-radius: var(--border-radius);
    background-color: rgba(var(--colour-alpha-blue),0.2);
}

.content-fundraising .content-fundraising-item {
    margin-bottom: calc(var(--spacing) * 1.5);
    text-align: left;
}

.content-fundraising .content-fundraising-item .logo-wrapper {
    height: 50px;
}

.content-fundraising .content-fundraising-item .logo-wrapper img {
    display: block;
    width: auto;
    height: 100%;
}

.content-fundraising .content-fundraising-item .logo-fundraising {

}

.content-fundraising .content-fundraising-item h3 {
    margin: 1em 0;
}

.content-fundraising .content-fundraising-item .additional-info {
    margin-top: 1.5em;
}

@media only screen and (min-width: 768px) {

    #page-top {

    }

    body.home #page-top {
        padding: 0;
    }

    .content-block.patrons h3 {
        margin-top: -0.33em;
    }

    .content-block.patrons .mugshot .padder {
        padding-left: var(--spacing-xs);
    }

}

@media only screen and (min-width: 992px) {

    .content-block.patrons .mugshot .padder {
        padding-left: 0;
        padding-right: var(--spacing-xs);
    }


}

/* Home
--------------------------------------------- */

body.home .hentry {
    margin-bottom: 0;
}

/* Events
--------------------------------------------- */

.event-date {
    font-size: 1.33rem;
    line-height: 1;
    font-weight: 700;
    color: rgb(var(--colour-alpha-blue));
    margin-bottom: var(--spacing-xs);
}

body.single-events .entry-content > div {
    margin-top: var(--spacing);
}

body.single-events .entry-content div.event-date {
    margin-top: 0 !important;
}

body.single-events .entry-content div.event-location,
body.single-events .entry-content div.event-organiser {
    margin-top: 0;
}

.event-registration-button {
    margin-top: var(--spacing-sm);
}

/* Resources
--------------------------------------------- */

.acf-website-category ul.list-website-category {
}

.acf-website-category ul.list-website-category > li {
    margin-top: var(--spacing);
}

.acf-website-category ul.list-website-category-items {
    margin-left: 0;
}

.acf-website-category ul.list-website-category-items li {
    margin-bottom: calc(var(--spacing-sm) * 1.5);
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5em;
}

.acf-website-category ul.list-website-category-items li:last-child {
    margin-bottom: 0;
}

.acf-website-category ul.list-website-category-items li h3,
.acf-website-category ul.list-website-category-items li > div {
}

.acf-website-category ul.list-website-category-items li h3 {
    flex: 0 1 100%;
    width: 100%;
}

.acf-website-category ul.list-website-category-items li h3 a {
    display: block;
    width: 100%;
}

.acf-website-category ul.list-website-category-items .website-description {
    flex: 1 0 80%;
}

.acf-website-category ul.list-website-category-items .website-description,
.acf-website-category ul.list-website-category-items .website-country {
}

.acf-website-category .website-country {
}

.acf-website-category .website-country .country {
    font-weight: 700;
    background-color: rgb(var(--colour-alpha-blue));
    color: #fff;
    display: inline !important;
    line-height: 0.8;
    padding: calc(var(--spacing-xs) * 0.5);
    border-radius: 9999px;
}


/* News
--------------------------------------------- */

.single-post .entry-meta {
    margin-top: var(--spacing);
}

.entry-meta {
    font-size: 0.9rem;
    margin-bottom: 0.33rem;
    color: rgb(var(--colour-alpha-blue));

}

/* WooCommerce
--------------------------------------------- */

body.woocommerce li.product img,
.woocommerce-product-gallery__wrapper img {
    width: 100%;
    background-color: rgba(var(--colour-alpha-blue),0.2);
    margin-bottom: var(--spacing-xs);
}

.woocommerce-product-gallery__wrapper img {
    margin-bottom: var(--spacing);
}

ul.product {
    margin-top: var(--spacing) !important;
    list-style-type: none;
    padding-left: 0;
    row-gap: var(--spacing);
}

ul.product li {
    position: relative;
    float: none !important;
}

ul.product li h2 {
    margin: 0;
}

.woocommerce-loop-category__title mark {
    display: none;
}

.product-main {
    margin-bottom: var(--spacing);
}

.single-product .product {
    margin-top: var(--spacing);
}

.woocommerce .price {
    font-weight: 700;
    font-size: 1.5em;
    margin-bottom: var(--spacing-xs);
}

.woocommerce .price ins {
    background: none;
}

.woocommerce .price del,
.woocommerce .price del .woocommerce-Price-amount amount {
    color: rgb(var(--colour-alpha-blue)) !important;
}

.single-product form.cart {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 1em;
    margin-bottom: var(--spacing);
}

.single-product form.cart .quantity {
    width: 20%;
}

.single-product form.cart .quantity .qty {
    width: 100%;
}

.single-product form.cart button {
    white-space: nowrap;
    font-size: 1.33rem;
}

.woocommerce-message {
    padding: 0.66em;
    line-height: 1.2;
    color: #fff;
}

.woocommerce-message a:link,
.woocommerce-message a:visited {
    color: #fff !important;
}

.woocommerce .onsale {
    background-color: rgb(var(--colour-sale-red));
    color: #fff;
    position: absolute;
    z-index: 10;
    width: auto;
    line-height: 1;
    padding: 0.33em;
    font-size: 1.75rem;
    left: 0;
    top: -12px;
}

.woocommerce-product-gallery__wrapper,
.archive li.product {
    position: relative;
}

.woocommerce .woocommerce-result-count {
    margin-bottom: calc(var(--spacing-xs) * 0.5);
}

@media only screen and (min-width: 768px) {

    .woocommerce-product-gallery__wrapper {
        padding-right: 30px;
    }

    .woocommerce .woocommerce-result-count {
        margin-bottom: 0;
    }

    .woocommerce-result-count,
    .woocommerce-ordering {
        display: inline !important;
    }

    .woocommerce-ordering {
        width: auto;
        margin-left: 0.5em;
    }


}

/* WooCommerce Cart
--------------------------------------------- */

.shop_table {
    margin-bottom: var(--spacing);
}

.shop_table tr:last-child td {

}

.shop_table button {
    font-size: 1.2rem !important;
    margin-top: var(--spacing-xs);
}

.shop_table tr {
    border-top: 1px solid rgba(var(--colour-alpha-blue),0.33);
    align-items: top;
    gap: 10px;
    line-height: 1;
}

.shop_table td {
    padding: 0.33em 0 ;
    font-size: 1.2rem;
}

.shop_table tr td.product-name {
}

.shop_table tr td.product-subtotal {
    padding-bottom: 1.25em;
}

.shop_table tr td.product-remove {
    padding: 0.75em 0 0.5em;
}

.shop_table .product-thumbnail {
    padding: 0
}

.shop_table .product-thumbnail:before {
    content: none;
}

.shop_table .product-thumbnail {
    display: none;
}

.shop_table .product-thumbnail img {
    width: 100%;
    background-color: rgba(var(--colour-alpha-blue),0.2);
}

.shop_table .product-quantity .qty {
    width:15%;
    text-align: right;
}

.shop_table .product-remove a {
    background-color: rgb(var(--colour-sale-red));
    color: #fff;
    border-radius: 9999px;
    line-height: 0.5;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 1em;
    height: 1em;
    padding-bottom: 0.1em;
}

tr.order-total {
    border-bottom: 1px solid rgba(var(--colour-alpha-blue),0.33);
}

@media only screen and (min-width: 768px) {

    .shop_table tr {
        display: flex;
    }

    .shop_table td:before {
        font-size: 0.8rem;
        font-weight: 700;
        display: block;
    }


}

/* Content Builder
--------------------------------------------- */

#builder ol:not(class) {
    margin-left: 0;
}

#builder ol:not(class) > li {
    margin-bottom: 0.5rem;
}

.builder-block {
    margin-top: var(--spacing);
    margin-bottom: var(--spacing);
}

.builder-block .content-item.button_group {
    margin-top: var(--spacing-sm);
}

.builder-block .content-item.button_group:last-child {
    margin-bottom: 0;
    margin-bottom: 0;
}

/* Content */

.builder-block-content {

}

.builder-block-content .content-item.text,
.builder-block-content .content-item.wysiwyg {
    margin-bottom: var(--spacing);
}

.builder-block-content .content-item.text:last-child {
    margin-bottom: 0;
}

.builder-block-content .content-item.text h2 {
    margin-bottom: 0.5em;
}

.builder-block-content .content-item.text .btn-grouped {
    margin-top: var(--spacing-xs);
}

.builder-block-content .content-item.text img,
.builder-block-content .content-item.wysiwyg img {
    width: 100%;
}

.builder-block-content .content-item.text ul,
.builder-block-content .content-item.wysiwyg ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.builder-block-content .content-item.text ul > li,
.builder-block-content .content-item.wysiwyg ul > li {
    position: relative;
    margin-bottom: 0.66em;
}

/* Latest News */

.builder-block-latest-news {
    background-color: rgba(var(--colour-alpha-blue),0.2);
    padding: calc(var(--spacing) *1.25) 0;
}

body.home .builder-block-latest-news {
    margin-bottom: 0;
}

.builder-block-latest-news .list-latest-news li {
    margin-bottom: var(--spacing);
    display: flex;
}

.builder-block-latest-news .list-latest-news li:nth-child(3) {
    margin-bottom: 0;
}

.builder-block-latest-news .list-latest-news li:nth-child(4) {
    display: none;
}

.builder-block-latest-news .list-latest-news li .inner {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    padding: var(--spacing-sm);
    background-color: #fff;
    border-radius: var(--border-radius);
}

.builder-block-latest-news img {
    margin-bottom: var(--spacing-xs);
    background-color: #fff;
}

.builder-block-latest-news .button {
    margin-top: var(--spacing-sm);
}

.builder-block-latest-news .the-excerpt {
    flex-grow: 1;
}

@media only screen and (min-width: 768px) {


    .builder-block-latest-news .list-latest-news li:nth-child(4),
    .builder-block-latest-news .list-latest-news li:nth-child(3) {
        margin-bottom: 0;
    }

    .builder-block-latest-news .list-latest-news li:nth-child(4) {
        display: list-item;
    }

}

@media only screen and (min-width: 992px) {

    .builder-block-latest-news .list-latest-news li {
        margin-bottom: 0;
    }

    .builder-block-latest-news .list-latest-news li:nth-child(4) {
        display: none;
    }

}