/* See theme_variables.html for main variables being used */

:root {
    --teal: #2daeb7;
    --leaf-green: #c2d64c;
    --inky-blue: #2c5871;
    --sky-blue: #a6dae9;
    --plum: #af7ab2;
    --orange: #fd6120;
    --yellow: #fec00f;
    --black: #121212;
    --dark-grey: #595959;
    --mid-grey: #b8b8b8;
    --light-grey: #dfdfdf;
    --form-field-grey: #f3f3f3;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
}

body {
    background: var(--content_background_color);
    margin: 0;
}

/* Header styles */
header {
    padding: 3.5rem 5.625rem 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: flex-end;
    background: var(--header_background_color);
}

/* Page template change */
.header-container {
    max-width: 71.875rem;
    width: 100%;
    margin: auto;

    img {
        height: 5.3125rem;
        object-fit: contain;
        max-width: 41.125rem;
    }
}

/* End of page template change */
header img {
    max-height: 5.25rem;
    max-width: 41.125rem;
    flex: 1 1 auto;
    margin-bottom: 1.625rem;
}

header h1 {
    font-size: 3rem;
    margin: 0 0 1.625rem 0;
    color: var(--default_text_color);
}

@media (max-width: 1280px) {
    header {
        padding: 1rem;
    }

    header img {
        max-height: 3rem;
        max-width: 22rem;
    }

    header h1 {
        font-size: 1.5rem;
    }
}

.header-bottom {
    width: 100%;
}

.header-bottom li {
    padding: 1rem;
}

.header-bottom li.active {
    background: var(--header_active_link_color);
}

.header-bottom a.active {
    color: var(--header_active_link_color);
}

.header-bottom a {
    text-decoration: none;
}

.header-bottom a:hover {
    text-decoration: underline;
}

.header-bottom li:first-of-type {
    padding: 1rem 1rem 1rem 0;
}

.header-bottom li a {
    text-decoration: none;
    color: var(--header_link_color);
}

.header-bottom span a {
    color: var(--header_link_color);
    margin: 0 0 0 1.875rem;
    font-family: var(--body_font_style);
    font-size: 1rem;
    line-height: 1.5rem;
}

/* Footer styles */
/* Page template change */
footer {
    background: var(--footer_background_color);
    padding: 1.875rem 9.0625rem;
    position: relative;
    width: 100%;
    margin: 0;
}

@media (max-width: 959px) {
    footer {
        padding: 1.875rem 1rem;
    }
}

.footer-container nav ul:first-of-type {
    margin-top: 0.5rem;
}

.footer-container nav h4 {
    color: var(--header_link_color);
    margin-top: 0.25rem;
}

.footer-container.grid {
    max-width: 71.875rem;
    margin: 0 auto;
}

/* End of page template change */
footer a {
    color: var(--footer_link_color);
    font-family: var(--body_font_style);
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.5rem;
    text-decoration: none;
}

footer p {
    color: var(--footer_font_color);
    font-family: var(--body_font_style);
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.5rem;
    margin: 0;
}

.footer-container img {
    height: 5.3125rem;
    object-fit: contain;
    width: auto;
}

/* Page template change */
.footer-container:before {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    border-width: 0 3.125rem 3.125rem 0;
    border-style: solid;
    border-color: var(--white) var(--content_background_color);
    border-radius: 4px 0 4px 10px;
}

.footer-container.hide-turn-page:before {
    display: none;
}

/* End of page template change */

/* Section styles */
/* Page template change */
section {
    background: var(--white);
    padding: 1.875rem;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 850px;
}

/* End of page template change */
h2 {
    font-size: 3rem;
    margin: 0 0 1.875rem 0;
}

@media (max-width: 1280px) {
    h2 {
        font-size: 1.5rem;
        margin: 0 0 1rem 0;
    }
}

/* Colour styles */

.teal {
    background: var(--teal);
}

.teal-text {
    color: var(--teal);
}

.leaf-green {
    background: var(--leaf-green);
}

.inky-blue {
    background: var(--inky-blue);
}

.sky-blue {
    background: var(--sky-blue);
}

.plum {
    background: var(--plum);
}

.orange {
    background: var(--orange);
}

.yellow {
    background: var(--yellow);
}

.black {
    background: var(--black);
}

.dark-grey {
    background: var(--dark-grey);
}

.mid-grey {
    background: var(--mid-grey);
}

.light-grey {
    background: var(--light-grey);
    border: 3px solid var(--white);
}

.form-field-grey {
    background: var(--white);
    border: 3px solid var(--mid-grey);
}

.white {
    background: var(--white);
    border: 3px solid var(--mid-grey);
}

/* Typography  */

h1,
.h1 {
    font-family: var(--heading_font_style);
    font-size: 4.5rem;
    margin: 1.875rem 0 3.125rem 0;
    font-weight: 500;
    line-height: 4.375rem;
}

h2,
.h2 {
    font-family: var(--heading_font_style);
    font-size: 3rem;
    margin: 1rem 0;
    font-weight: 500;
    line-height: 3.5rem;
}

h3,
.h3 {
    font-family: var(--heading_font_style);
    font-size: 2.25rem;
    margin: 1rem 0;
    font-weight: 500;
    line-height: 2.875rem;
}

h4,
.h4 {
    font-family: var(--heading_font_style);
    font-size: 1.625rem;
    margin: 1rem 0;
    font-weight: 500;
    line-height: 2rem;
}

.large {
    font-family: var(--body_font_style);
    font-size: 1.5rem;
    margin: 1rem 0;
    font-weight: 400;
    line-height: 2.125rem;
}

p,
.info {
    font-family: var(--body_font_style);
    font-size: 1.125rem;
    margin: 1rem 0;
    font-weight: 400;
}

.info {
    width: 100%;
    max-width: 71.875rem;
    margin: auto;
    padding: 0;
    @media (max-width: 1149px) {
        padding: 0 1rem;
    }
}

small,
.small {
    font-family: var(--body_font_style);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0.5rem 0;
    font-weight: 400;
    display: block;
    color: var(--default_text_color);
}

span {
    font-family: var(--body_font_style);
}

ul {
    list-style: none;
    padding: 0;
}

/* Page template change */
.color-primary {
    color: var(--default_primary_color);
}

/* End of page template change */

@media (min-width: 599px) and (max-width: 959px) {
    h1,
    .mobile h1,
    .tablet h1 {
        font-size: 2.875rem;
        line-height: 3.625rem;
    }

    h2,
    .mobile h2,
    .tablet h2 {
        font-size: 2.5rem;
        line-height: 3.25rem;
    }

    h3,
    .mobile h3,
    .tablet h3 {
        font-size: 2.125rem;
        line-height: 2.875rem;
    }

    h4,
    .mobile h4,
    .tablet h4 {
        font-size: 1.5rem;
        line-height: 3.25rem;
    }

    .large,
    .mobile .large,
    .tablet .large {
        font-size: 1.25rem;
        line-height: 2rem;
    }

    p,
    .mobile p,
    .tablet p,
    .info {
        font-size: 1rem;
        line-height: 1.75rem;
    }

    small,
    .mobile small,
    .tablet small {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .tablet,
    .mobile {
        width: 100%;
    }
}

@media (max-width: 599px) {
    h1,
    .mobile h1,
    .tablet h1 {
        font-size: 2.125rem;
        line-height: 2.875rem;
    }

    h2,
    .mobile h2,
    .tablet h2 {
        font-size: 1.875rem;
        line-height: 2.625rem;
    }

    h3,
    .mobile h3,
    .tablet h3 {
        font-size: 1.625rem;
        line-height: 2.375rem;
    }

    h4,
    .mobile h4,
    .tablet h4 {
        font-size: 1.375rem;
        line-height: 2.125rem;
    }

    .large,
    .mobile .large,
    .tablet .large {
        font-size: 1.375rem;
        line-height: 2.125rem;
    }

    p,
    .mobile p,
    .tablet p,
    .info {
        font-size: 1rem;
        line-height: 1.75rem;
    }

    small,
    .mobile small,
    .tablet small {
        font-size: 0.875rem;
        line-height: 1.75rem;
    }

    .tablet,
    .mobile {
        width: 100%;
    }
}

a {
    font-family: var(--body_font_style);
    color: var(--link_color);
    font-weight: 400;
    font-size: 1.125rem;
    display: inline-block;
}

a.content-hyperlink {
    font-size: 1.5rem;
    line-height: 2.125rem;
    text-decoration-line: underline;
    margin: 1.875rem 0;
}

a.text-cta {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    text-decoration: none;
    cursor: pointer;
}

a.text-cta:hover,
a.text-cta.hover,
a:hover {
    text-decoration: underline;
}

button.text-cta {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5rem;
    text-decoration: none;
    cursor: pointer;
    color: var(--default_primary_color);
    background: none;
    padding: 0;
}

button.text-cta img {
    margin-right: 0.5rem;
}

.button-text {
    font-family: var(--body_font_style);
    font-style: normal;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.1875rem;
    color: var(--black);
}

.placeholder {
    font-family: var(--body_font_style);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.1875rem;
    color: var(--mid-grey);
}

.field-title {
    font-family: var(--body_font_style);
    font-style: normal;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.1875rem;
    color: var(--default_text_color);
    position: relative;
}

/* Layout  */

.grid {
    display: grid;
    /* Page template change */
    padding: 0;
    /* End of page template change */
    margin: 1.25rem 0;
    grid-gap: 3.125rem;
}

@media (max-width: 640px) {
    .grid {
        margin-left: 0;
        width: auto;
    }
}

.grid.two-column {
    grid-template-columns: 1fr 1fr;
}

.grid.three-column {
    grid-template-columns: 1fr 1fr 1fr;
}

.grid.uneven-two-column {
    grid-template-columns: 1fr 2fr;
}

.grid.four-column {
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.grid.tablet-two-column {
    max-width: 60rem;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1.875rem;
    padding: 0 1.875rem;
}

.grid.mobile-one-column {
    max-width: 21.875rem;
    grid-template-columns: 1fr;
    grid-gap: 1.25rem;
    padding: 0 1.25rem;
}

@media (min-width: 599px) and (max-width: 959px) {
    .grid.two-column,
    .grid.three-column,
    .grid.uneven-two-column,
    .grid.four-column {
        grid-template-columns: 1fr;
        grid-gap: 1.875rem;
        padding: 0 2rem;
    }
}

@media (max-width: 599px) {
    .grid.two-column,
    .grid.three-column,
    .grid.uneven-two-column,
    .grid.four-column,
    .grid.tablet-two-column {
        grid-template-columns: 1fr;
        grid-gap: 1.25rem;
        padding: 0.5rem;
    }
}

/* Button styles */

button,
.button {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    margin: 0.875rem 0;
    font-family: var(--body_font_style);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.1875rem;
    text-align: center;
    border: none;
    background: var(--default_primary_color);
    color: var(--white);
    cursor: pointer;
    white-space: nowrap;
}
a.button {
    text-decoration: none;
}

button.primary,
.button.primary {
    border-radius: 1.6875rem;
}

button.primary.alternate,
.button.primary.alternate {
    background: var(--white);
    color: var(--default_primary_color);
}

button.primary:hover,
button.secondary:hover,
button.hover,
.button.primary:hover,
.button.secondary:hover {
    color: var(--black);
}

button:disabled,
.button:disabled {
    opacity: 35%;
}

button:disabled:hover .button:disabled:hover {
    color: var(--white);
    cursor: auto;
}

button.secondary.alternate,
.button.secondary.alternate {
    background: var(--form-field-grey);
    color: var(--default_primary_color);
}

button.secondary.alternate:hover,
.button.secondary.alternate:hover {
    color: var(--black);
}

.button--icon .icon {
    margin: 0 0 0 1rem;
}

label {
    padding: 0.875rem 1.5rem;
    font-family: var(--body_font_style);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.1875rem;
    text-align: center;
    border: none;
    background: var(--default_primary_color);
    color: var(--white);
    cursor: pointer;
    border-radius: 0.3125rem;
}

label:hover {
    color: var(--black);
}

label.field-title,
label.field-label {
    background: none;
    text-align: left;
    padding: 0.875rem 0;
}

/* Forms  */

select {
    padding: 0.875rem 6.25rem 0.875rem 1rem;
    background: var(--form-field-grey);
    color: var(--default_text_color);
    border-radius: 5px;
    border: none;
    font-family: var(--body_font_style);
    font-weight: 500;
    font-size: 1rem;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

.field-wrapper {
    @media screen and (min-width: 640px) {
        display: flex;
    }
}

.field {
    position: relative;
    padding-top: 0.5rem;
}

.field.checkbox {
    margin-top: 1rem;
}

.field.field--select::after {
    content: '';
    background: url("../img/arrow-down.d10d5faccf5e.svg") no-repeat center center/cover;
    z-index: 10;
    width: 1.5rem;
    height: 1.5rem;
    position: absolute;
    top: 4.3rem;
    right: 0;
    z-index: 10;
}
.field select {
    padding-right: 2rem;
    appearance: none !important;
    background: var(--form-field-grey) url("../img/arrow-down.d10d5faccf5e.svg") calc(100% - 0.625rem) 0.75rem /
        1rem no-repeat;
}
.field select::-ms-expand {
    display: none;
}

.field-wrapper__multiselect .field--select::after {
    content: none;
    padding: 0.875rem;
}

option {
    background: var(--light-grey);
    font-family: var(--body_font_style);
    font-weight: 400;
    line-height: 1.5;
    padding: 0.5rem 1rem;
}

option:checked {
    background: var(--default_primary_color);
}

option:first-of-type {
    border-radius: 5px 5px 0px 0px;
}

option:last-of-type {
    border-radius: 0px 0px 5px 5px;
}

.field {
    display: flex;
    flex-flow: column nowrap;
}

@media (min-width: 640px) {
    .field {
        margin-right: 3rem;
    }
}

.field small,
.field p {
    margin: 0.625rem 0;
}

.field .field-description {
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--default_text_color);
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='number'] {
    padding: 1rem;
    border-radius: 0.3125rem;
    border: none;
    background: var(--form-field-grey);
    font-size: 1rem;
}

.error {
    display: flex;
    flex-flow: column;
    border-radius: 5px 5px 0px 0px;
}

.error span {
    background: #fb6b6b;
    color: var(--white);
    padding: 0.5rem 1rem;
    font-family: var(--body_font_style);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.5rem;
    border-radius: 0px 0px 5px 5px;
    margin-left: -1px;
    margin-right: -1px;
}

.error input[type='text'] {
    border-radius: 5px 5px 0px 0px;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url'],
select:focus {
    outline: 1px solid var(--default_primary_color);
    border: none;
}

input[type='text'].focus-example {
    outline: 1px solid var(--default_primary_color);
    border: none;
}

textarea {
    resize: none;
    background: var(--form-field-grey);
    border-radius: 5px;
    border: none;
    font-family: var(--body_font_style);
    font-weight: 400;
    font-size: 1rem;
    padding: 1rem 0 0 1rem;
}

textarea::placeholder {
    color: var(--mid-grey);
}

textarea:focus,
textarea.focus-example {
    outline: 1px solid var(--default_primary_color);
    border: none;
}

.upload {
    display: flex;
    justify-content: space-between;
    color: var(--black);
    font-weight: 400;
    background: var(--form-field-grey);
}

.upload span {
    background: var(--default_primary_color);
    padding: 1rem;
    margin-top: -0.9rem;
    margin-bottom: -0.9rem;
    margin-right: -1.6rem;
    border-radius: 5px;
    color: var(--white);
}

.field.url {
    width: 60%;
    margin-left: 0;
}

.radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-status {
    position: absolute;
    top: 0;
    left: 0;
    height: 1.4375rem;
    width: 1.4375rem;
    background-color: #eeedf1;
    border-radius: 50%;
}
.radio,
.checkbox {
    display: flex;
    align-items: center;
    flex-direction: row;
}

.radio:hover input ~ label .radio-status {
    background-color: var(--mid-grey);
}

.radio input:checked ~ label .radio-status {
    background-color: var(--white);
    border: 2px solid var(--black);
}

.radio-status:after {
    content: '';
    position: absolute;
    display: none;
}

.radio input:checked ~ label .radio-status:after {
    display: block;
}

.radio .radio-status:after {
    /* Page template change */
    top: 3px;
    left: 3px;
    /* End of page template change */
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: var(--black);
}

label.radio-label,
label.checkbox-label {
    position: relative;
    background: none;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.5rem;
    color: var(--default_text_color);
    padding: 0 0 0 3rem;
    text-align: left;
    margin: 0 0 0.5rem 0;
}

input[type='checkbox'] {
    position: absolute;
    cursor: pointer;
    width: 1.5rem;
    height: 1.5rem;
    top: 1.5rem;
}

input[type='checkbox']:checked {
    accent-color: var(--default_primary_color);
}

form .button-row {
    margin-top: 1rem;
}

.checkbox .checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 23px;
    width: 23px;
    background-color: #eeedf1;
    border-radius: 4px;
}

.checkbox:hover input ~ .checkmark {
    background-color: var(--mid-grey);
}

.checkbox input:checked ~ .checkmark {
    background-color: var(--white);
    border: 2px solid var(--black);
}

.checkbox .checkmark:after {
    content: '';
    position: absolute;
    display: none;
}

.checkbox input:checked ~ .checkmark:after {
    display: block;
}

.checkbox .checkmark:after {
    content: '\2713';
    top: 0;
    left: 5px;
    width: 13px;
    height: 13px;
}

.checkbox.field-title {
    padding-left: 3rem;
}

input.rating:checked ~ .rating-label {
    outline: 3px solid var(--default_primary_color);
    background: var(--form-field-grey);
}

.rating-label {
    display: flex;
    flex-flow: column;
    align-items: center;
    background: none;
    width: 5.3125rem;
    height: 6.25rem;
    color: var(--default_text_color);
    font-weight: 400;
    padding: 0;
}

.rating-label img {
    height: 3rem;
    width: 3rem;
    margin: 0.5rem;
}

.rating-label:hover,
.rating-label.hover {
    background: var(--form-field-grey);
}
form label {
    padding: 0.875rem;
    font-family: var(--body_font_style);
    font-weight: 500;
    font-size: 1rem;
    line-height: 19px;
    text-align: left;
    border: none;
    background: none;
    color: var(--default_text_color);
    cursor: default;
    border-radius: 0;
}

/* Tags */

.tag {
    height: 2.1875rem;
    background: var(--sky-blue);
    font-family: var(--body_font_style);
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
    display: flex;
    align-items: center;
    color: var(--black);
    width: fit-content;
    border-radius: 0.375rem;
    padding: 0 1.375rem;
    white-space: nowrap;
}

.tag.with-count {
    padding: 0 0.875rem 0 0;
}

.tag span {
    border: 1px solid var(--white);
    padding: 0.625rem;
    margin-right: 0.875rem;
}

.tag-row {
    display: flex;
    flex-flow: row wrap;
    border-left: 2px solid var(--default_primary_color);
    padding: 0 0 0 10px;
    width: 58%;
}

.tag-row small {
    color: var(--default_text_color);
    width: 100%;
    margin: 0 0 1.125rem 0.625rem;
}

.tag-row a {
    margin: 1.25rem 0 0 0.625rem;
}

.tags-with-title {
    display: flex;
    flex-flow: row wrap;
    width: 58%;
}

.tags-with-title p {
    width: 100%;
    margin: 0 0 0.5rem 0;
}

.tags-with-title a {
    margin: 0.625rem 0.625rem 0 0;
}

/* Separators  */

hr {
    border: 1px solid var(--light-grey);
}

hr.sidebar-divider {
    border: 1px solid var(--default_primary_color);
    width: 15.625rem;
    margin: 0;
}

hr.comments {
    position: relative;
    margin-bottom: 1rem;
    overflow: visible;
    border: 1px solid var(--mid-grey);
}

hr.comments:after {
    content: ' ';
    position: absolute;
    top: -0.5rem;
    left: 1.5rem;
    width: 0.9375rem;
    height: 0.9375rem;
    border-top: 2px solid var(--mid-grey);
    border-right: 2px solid var(--mid-grey);
    transform: rotate(135deg);
    background: #f9f9f9;
}

/* Side bar content */

.sidebar-container {
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}

.sidebar {
    max-width: 15.625rem;
    color: var(--default_text_color);
}

.sidebar h4 {
    color: var(--default_text_color);
}

.sidebar .button {
    margin: 0.875rem 0;
}

progress {
    margin: 0.2rem 0;
    width: 100%;
    height: 1rem;
    border: none;
    overflow: hidden;
    background: none;
    display: block;
}

progress.yellow {
    background: none;
}

progress.background {
    background: repeating-linear-gradient(
        -55deg,
        #ffffff,
        #ffffff 2px,
        var(--light-grey) 2px,
        var(--light-grey) 4px
    );
}

progress.blue[value]::-webkit-progress-value {
    background: var(--sky-blue);
}

progress.blue[value]::-moz-progress-bar {
    background: var(--sky-blue);
}

progress.yellow[value]::-webkit-progress-value {
    background: var(--yellow);
}

progress.yellow[value]::-moz-progress-bar {
    background: var(--yellow);
}

progress.purple[value]::-webkit-progress-value {
    background: var(--plum);
}

progress.purple[value]::-moz-progress-bar {
    background: var(--plum);
}

progress[value]::-webkit-progress-bar {
    background: none;
}

progress[value]::-moz-progress-bar {
    background: none;
}

progress[value]::-webkit-progress-value {
    border-radius: 0 5px 5px 0;
}

progress[value]::-moz-progress-bar {
    border-radius: 0 5px 5px 0;
}

/* Icons */
.icon {
    width: 1.625rem;
    height: 1.5rem;
    /* margin: 1rem; */
    fill: inherit;
}

.icon--medium {
    width: 2rem !important;
    height: 2rem !important;
}

/* Cards */
.card {
    /* Page template change */
    max-width: 22.1875rem;
    /* End of page template change */
    background: #ffffff;
    padding: 1.375rem 1.375rem 0 1.375rem;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
    margin: 1;
}

.card .meta {
    display: flex;
    justify-content: space-between;
    font-family: var(--body_font_style);
    font-size: 1rem;
    line-height: 1.5;
}

.card .meta .location {
    display: flex;
    font-family: var(--body_font_style);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--mid-grey);
    text-transform: uppercase;
}

.card .meta .location .icon {
    margin: 0 0.5rem 0 0;
}

.card .meta .responses {
    font-weight: 400;
    color: var(--default_text_color);
}

.card h4 {
    margin: 1.25rem 0 0.875rem 0;
    font-style: normal;
    font-weight: 500;
    font-size: 1.625rem;
    line-height: 2rem;
}

.card p {
    font-style: normal;
    font-weight: normal;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--default_text_color);
    margin: 1.25rem 0 2.5rem 0;
}

.card .flex {
    width: calc(100% + 2.75rem);
    margin-left: -1.375rem;
    margin-right: -1.375rem;
}

.card .button {
    margin: 0;
    width: 50%;
}

@media (max-width: 640px) {
    .card .button {
        width: 100%;
    }
}

/* Page structure  */
.funder-header {
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
    margin-bottom: 3.125rem;
}

.funder-header-top {
    background: var(--form_header_color);
    color: var(--white);
    padding: 1.25rem 1.875rem 3.75rem;
    position: relative;
}

.funder-header-top.hide-turn-page:before,
.funder-header-top.hide-turn-page:after {
    display: none;
}

.funder-header-top:after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    border-width: 0 3.125rem 3.125rem 0;
    border-style: solid;
    border-color: #ffffff var(--content_background_color);
    border-radius: 0 0 0 10px;
}

.funder-header-top:before {
    display: block;
    content: '';
    position: absolute;
    top: -1rem;
    right: -2rem;
    width: 4rem;
    height: 4rem;
    background: var(--content_background_color);
}

.funder-header-top h3,
.funder-header-top p {
    margin: 0.625rem 0;
}

.funder-header-top .location-meta {
    display: flex;
    font-family: var(--body_font_style);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--white);
    text-transform: uppercase;
}

.funder-header-top .location-meta .icon {
    margin: 0 0.5rem 0 0;
}

.funder-header-bottom {
    padding: 1.25rem 1.875rem 1rem;
    color: var(--default_text_color);
    background: white;
}

@media (max-width: 640px) {
    .funder-header-bottom {
        padding: 1rem;
    }
}

.tab-container span {
    border-top: 1px solid var(--light-grey);
    padding: 0.5rem 1rem 0.5rem 0;
    font-size: 1rem;
    line-height: 1.5rem;
}

.tabs {
    list-style: none;
    border-top: 1px solid var(--light-grey);
    margin-right: -2rem;
    padding: 0 13rem 0 0;
}

.tabs span {
    height: fit-content;
}

.tabs .tab-link a {
    padding: 0.5rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5rem;
}

.tabs .tab-link a.active {
    background: var(--form-field-grey);
    text-decoration: none;
    color: var(--default_text_color);
}

.tabs .tab-link a.inactive {
    color: var(--mid-grey);
}

.content {
    display: none;
}

.tabs .tab:nth-of-type(1) .content {
    display: block;
}

.tab:target .content {
    display: block;
}

.review-header {
    background: var(--white);
    position: relative;
    padding: 1.875rem;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.review-header:before {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    border-width: 0 3.125rem 3.125rem 0;
    border-style: solid;
    border-color: var(--default_primary_color) #f9f9f9;
    border-radius: 4px 0 4px 10px;
}

.review-header h4 {
    margin: 0 0 1rem 0;
    padding-right: 1rem;
}

.review-header-top {
    border-bottom: 1px solid var(--light-grey);
    margin-right: -2rem;
    padding-right: 2rem;
}

.page-background {
    position: relative;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.15);
}

.page-background:before {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    border-width: 0 3.125rem 3.125rem 0;
    border-style: solid;
    border-color: var(--default_primary_color) #f9f9f9;
    border-radius: 4px 0 4px 10px;
}

section.page-background {
    margin: 0;
}

.container {
    width: 100%;
    /* Page template change */
    max-width: 71.875rem;
    margin: auto;
    padding: 1rem 0;
}

@media (max-width: 1149px) {
    .container {
        padding: 1rem;
    }
}

/* End of page template change */
.container > * {
    margin: 2rem auto;
}

.container :first-child {
    margin-top: 0;
}

.with-sidebar {
    display: grid;
    grid-gap: 2rem;
    width: 100%;
    margin: auto;
    grid-template-columns: 1fr 15.625rem;
}

@media (max-width: 640px) {
    .with-sidebar {
        display: block;
        width: 100%;
    }
}

.breadcrumb a {
    margin: 0 0.2rem;
    text-decoration: none;
}

.breadcrumb a.active {
    color: var(--default_text_color);
}

/* Page template change */
.breadcrumb-container {
    max-width: 71.875rem;
    margin: auto !important;
}

/* End of page template change */
.search-bar {
    background: var(--default_primary_color);
    border-radius: 10px 0 0 0;
    position: relative;
    padding: 20px 22px;
}

.search-bar:before {
    content: '';
    position: absolute;
    top: -2px;
    right: -4px;
    border-width: 0 3.125rem 3.125rem 0;
    border-style: solid;
    border-color: var(--white) #f9f9f9;
    border-radius: 4px 0 4px 10px;
}

.search-bar h4 {
    margin: 10px 0;
    color: var(--white);
}

.search-bar input {
    width: 80%;
}

.pagination a {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--default_primary_color);
    color: var(--white);
    margin-right: 0.1rem;
    text-decoration: none;
}

.pagination a.disabled {
    background: var(--light-grey);
}

.pagination a.active {
    background: var(--white);
    color: var(--header_active_link_color);
}

.pagination a.next {
    margin-left: 0.5rem;
}

.pagination a.previous {
    margin-right: 0.5rem;
}

details {
    background: var(--white);
    padding: 18px 28px;
    margin: 1rem 0 1.125rem 0;
}

/* Page template change */
details .closed {
    display: none;
}

details[open] .open {
    display: none;
}

details[open] .closed {
    display: flex;
}

/* End of page template change */
details > summary {
    list-style: none;
    cursor: pointer;
}

details > summary::-webkit-details-marker {
    display: none;
}

details button {
    pointer-events: none;
}

details .expanded-content p {
    margin: 0.5rem 0;
}

details .expanded-content div {
    margin: 1.5rem 0;
}

.review-response {
    padding: 1rem 0;
    border-bottom: 2px solid var(--mid-grey);
}

.review-response p {
    padding: 0 1.5rem;
}

/* Helper classes */
.margin-0 {
    margin: 0;
}

.margin-05 {
    margin: 0.5rem 0;
}

.margin-1 {
    margin: 1rem 0;
}

.center-text {
    text-align: center;
}

.no-text-decoration {
    text-decoration: none;
}

.flex {
    display: flex;
    flex-flow: row wrap;
}

.nowrap {
    flex-flow: row nowrap;
}

.nowrap-medium {
    @media (min-width: 640px) {
        flex-flow: row nowrap;
    }
}

.no-background {
    background: none;
    /* Page template change */
    box-shadow: none;
    margin: 0;
    padding: 1.875rem 1.875rem 1.875rem 0;
    max-width: auto;
    /* End of page template change */
}

.hidden {
    display: none;
}

.visually-hidden {
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
}

/* Row alignment */
.align-center {
    align-items: center;
}

.bottom {
    align-items: flex-end;
}

.top {
    align-items: flex-start;
}

.baseline {
    align-items: baseline;
}

/* Row justification */
.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.space-between {
    justify-content: space-between;
}

/*
 Sticker sheet specific styling
*/

/* Colour */
.colour-list {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-gap: 3.125rem;
    margin: 3.75rem 0;
}

@media (max-width: 960px) {
    .colour-list {
        grid-template-columns: repeat(4, 1fr);
        grid-gap: 1rem;
    }
}

@media (max-width: 640px) {
    .colour-list {
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 1rem;
    }
}

.colour {
    height: 6.25rem;
    width: 6.25rem;
    border-radius: 50%;
}

/* Typography  */

.typography-container {
    display: flex;
    flex-flow: row wrap;
}

.desktop {
    width: 100%;
}

.tablet,
.mobile {
    width: 48%;
    margin-top: 3.75rem;
}

@media (max-width: 640px) {
    .tablet,
    .mobile {
        width: 100%;
    }
}

.type-styles {
    margin-top: 3.75rem;
}

.type-styles h4 {
    margin-bottom: 3.125rem;
}

/* Tablet font styles */

.tablet h1 {
    font-size: 2.875rem;
    line-height: 3.625rem;
}

.tablet h2 {
    font-size: 2.5rem;
    line-height: 3.25rem;
}

.tablet h3 {
    font-size: 2.125rem;
    line-height: 2.875rem;
}

.tablet h4 {
    font-size: 1.5rem;
    line-height: 3.25rem;
}

.tablet .large {
    font-size: 1.375rem;
    line-height: 2.125rem;
}

.tablet p {
    font-size: 1.125rem;
    line-height: 2.125rem;
}

.tablet small {
    font-size: 1rem;
    line-height: 1.5rem;
}

/* Mobile font styles */

.mobile h1 {
    font-size: 2.125rem;
    line-height: 2.875rem;
}

.mobile h2 {
    font-size: 1.875rem;
    line-height: 2.625rem;
}

.mobile h3 {
    font-size: 1.625rem;
    line-height: 2.375rem;
}

.mobile h4 {
    font-size: 1.375rem;
    line-height: 2.125rem;
}

.mobile .large {
    font-size: 1.25rem;
    line-height: 2rem;
}

.mobile p {
    font-size: 1rem;
    line-height: 1.75rem;
}

.mobile small {
    font-size: 0.875rem;
    line-height: 1.75rem;
}

/* Layout  */

.grid-item {
    background: #ffe69f;
    min-height: 2.25rem;
}

.grid.background {
    background: #fec00f;
    margin-left: -3.125rem;
    width: 100%;
}

@media (max-width: 599px) {
    .grid.background {
        background: #fec00f;
        margin-left: 0;
        width: auto;
    }
}

h4.grid-item {
    font-style: normal;
    font-weight: 500;
    font-size: 1.625rem;
    line-height: 2rem;
    text-align: center;
    color: var(--default_text_color);
    padding: 0.75rem;
    margin: 0;
}

.gutter-styles {
    margin-left: -3.125rem;
}

@media (max-width: 640px) {
    .gutter-styles {
        margin-left: 0;
    }
}

.mobile-gutter,
.tablet-gutter,
.desktop-gutter {
    display: flex;
    align-items: center;
}

.mobile-gutter span {
    background: #fec00f;
    padding: 0.625rem;
    font-size: 0rem;
    height: 0rem;
    margin-right: 4rem;
}

.tablet-gutter span {
    background: #fec00f;
    padding: 0.9375rem;
    font-size: 0rem;
    height: 0rem;
    margin-right: 3.25rem;
}

.desktop-gutter span {
    background: #fec00f;
    padding: 1.5625rem;
    font-size: 0rem;
    height: 0rem;
    margin-right: 2rem;
}

/* Button styles */
.button-container {
    justify-items: start;
}

@media (max-width: 640px) {
    .button-container {
        grid-template-columns: 1fr;
    }
}

.button-container span {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    align-items: center;
    max-width: 31.25rem;
}

@media (max-width: 640px) {
    .button-container span {
        grid-template-columns: 1fr;
    }
}

.button-container p {
    margin: 0;
}

.button-container .additional-buttons span {
    grid-gap: 3rem;
    margin-top: 3rem;
}

/* Forms */

@media (min-width: 640px) {
    .dropdown-fields,
    .input-fields {
        display: flex;
        flex-flow: row wrap;
        width: 100%;
    }
}

.input-fields.rating .field {
    width: 15%;
}

@media (max-width: 640px) {
    .rating-container p {
        grid-column: 1;
    }

    .rating-container .input-fields {
        grid-column: 2;
    }

    .rating-container .input-fields:first-of-type {
        grid-row: 1;
    }

    .rating-container .input-fields:nth-of-type(2) {
        grid-row: 2;
    }
}

/* Icons */
.icon-row {
    margin: 3.75rem 0;
}

/* Blocks */

.block,
.banner {
    color: var(--default_text_color);
}

.image-block {
    figure {
        margin: 0;
    }

    img {
        object-fit: contain;
        width: 100%;
    }
}

/* Concertina block */
.concertina-block {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;

    h4,
    p {
        margin-bottom: 0;
    }

    svg {
        margin: 0;
    }

    .open,
    .closed {
        height: 100%;
        display: flex;
        align-content: center;
        flex-wrap: wrap;
    }

    .closed {
        display: none;
    }
}

details > open {
    .open {
        display: none;
    }

    .closed {
        display: flex;
    }
}

details {
    box-shadow: 0px 4px 50px 0px #00000026;
}

.banner-content,
.page_title {
    color: var(--banner_font_color);
}

.rich-text ul {
    list-style-type: disc;
    padding-left: 2.5rem;
}

.link-text span {
    line-height: 1.625rem;
}
