
.skip-link:focus-visible {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 999999;
    background-color: white;
    color: black;
}

select:focus-visible,
input[type="text"]:focus-visible,
.accordion-button:focus-visible,
.slick-dots li button:focus-visible,
.gform_wrapper.gravity-theme .gfield input.large:focus-visible,
textarea:focus-visible,
.slick-prev:focus-visible, .slick-next:focus-visible,
.mfp-iframe-holder .mfp-close:focus-visible {
    outline: 2px solid;
    outline-offset: 2px;
}

.mfp-iframe-holder .mfp-close {
    width: fit-content;
}

.wysiwyg.center.section h2 {
    font-size: 1.5rem;
    line-height: 1.2;
}

.profile-outer.dark .profile-element:focus-visible {
    border: solid 4px #FFCB03;
    outline-offset: 4px;
}

.profile-element:focus-visible {
    box-shadow: 0 4px 4px rgba(0,0,0,0.25);
}

.slick-dots li button:focus-visible,
.slick-prev:focus-visible, .slick-next:focus-visible {
    outline: 2px solid black;
}

.nav-item:focus-within .dropdown, .nav-item:hover .dropdown {
    background-color: white;
}

.nav-item:focus-within .dropdown a {
    color: black;
    opacity: 1;
}

.header {
    flex-direction: column;
}

.footer-signup-banner-title {
    display: flex;
    align-items: center;
}

/* updating colours  */
.hero-outer {
    background-color: black;
}

.button,
.footer-signup-banner input[type=submit],
.pagination_element.next,
.i-am-banner-form-outer select,
.header-promo-banner-button .button,
.content a.button:hover {
    color: #00838A;
    border-color: #00838A;
}

.content a.button:hover {
    background: transparent;
}

.button:hover,
.footer-signup-banner input[type=submit]:hover {
    background-color: #00838A;
    border-color: #00838A;
}

.dark .content a.button,
.home .case-study .media-block-content .button,
.cards-outer.featured .card .button,
.skip-link,
.hero-info .button {
    color: black;
    border-color: black;
}

.hero-info .button {
    background: white;
    border-color: white;
}

.skip-link {
    color: black;
    background: white;
}

.skip-link:hover,
.hero-info .button:hover,
.content a.button {
    color: white;
    background: #00838A;
}

.hero-info .button:hover {
    border-color: #00838A;
}

.dark .content a.button:hover,
.home .case-study .media-block-content .button:hover {
    background-color: black;
    color: white;
}

.home .case-study .media-block {
    color: black;
}

.header-subnav-list .subnav-item .nav-item-link,
.content h2,
.quicklinks-title,
.quicklinks-link-title,
.section-header-title,
.cards-outer.featured .card-header-title,
.footer-signup-banner-title,
.footer-signup-banner-inner form fieldset input[type=text]
.footer-signup-banner-inner form fieldset input[type=text]::placeholder,
.footer-signup-banner-summary,
.footer-nav-item,
.header-language select,
.content a,
.accordion-button,
.cards-outer.featured .card-header-title,
.cards-outer.featured .card .button:hover,
.card-link .button,
.cards-outer.featured .card.hovered .card-header-title,
.cards-outer.featured .card .card-header-title,
.item-header-title .item-link,
.breadcrumb-list-link.current,
.breadcrumb-list-link,
.profile-wrap .profile-name {
    color: #00838A;
}

.media-block-outer.dark .content a {
    color: black;
}

.footer-signup-banner .footer-signup-banner-inner form fieldset input::placeholder,
i {
    color: #00838A;
}

.footer-signup-banner-inner form fieldset input[type=text] {
    border-bottom: solid 3px #00838A;
}

.header-links .button,
.footer-nav-item.social .nav-item-link,
.footer-nav-outer .button {
    background-color: #00838A;
    border-color: #00838A;
}

.header-promo-banner,
.statistic-item-wrapper,
.home .cards-outer.featured,
.filter-outer,
.service-finder-content .toggle-wrapper-outer,
.form, .gform_wrapper.gravity-theme,
.hero-outer.solid .hero-image+.hero-info .hero-inner,
.filter-submit,
.i-am-banner-form-outer [type="submit"] {
    background-color: #00838A;
}


.home .cards-outer.featured .section-header-title,
.section-header-title+.section-header-summary:not(.section-header-summary--default-colour),
.statistic-title {
    color: white;
}

.profile-outer.dark .section-header-title+.section-header-summary {
    color: black;
}

.home .case-study .media-block-content-summary>* {
    color: black;
}

.purple-bg a {
    color: white;
}

.purple-bg a:hover {
    color: white;
}

.pagination_element.current {
    box-shadow: 0 0 0 1px #00838A inset;
    color: #00838A;
}

.home .cards-outer.featured .section-footer .button,
.i-am-banner-form-outer select,
.gform_wrapper.gravity-theme #field_submit .gform-button--width-full, .gform_wrapper.gravity-theme .gform_footer .gform-button--width-full {
    background-color: transparent;
}

.gform_wrapper.gravity-theme #field_submit .gform-button--width-full, .gform_wrapper.gravity-theme .gform_footer .gform-button--width-full {
    color: white;
}

h2, .cta-title, .media-block-title, .quicklinks-title {
    font-size: 28px;
}

.media-block-outer.dark .media-block.has-image {
    background: #EDEDED;
}

.profile-summary-copy {
    height: auto;
}

.profile-summary-inner {
    height: 100%;
}

.profile-summary-active-info {
    overflow: auto;
}

[data-scroll-effect] {
    opacity: 0;              
}

[data-visible="true"] {
    opacity: 1;              
}

@media (min-width: 1280px) {
    .wysiwyg.center.section h2 {
        font-size: 1.5625rem;
        line-height: 1.9375rem;
    }
    .footer .scroll-container .scroll-top {
        width: 2.813rem;
        height: 2.813rem;
        margin-bottom: -1rem;
    }
    .cards-outer.featured .card-header-title, .card-header-title {
        font-size: 1.5rem;
    }
}

/*Gravity Form*/
.gform_wrapper.gravity-theme {
    padding: 2rem !important;
    margin: 0 !important;
    max-width: 100% !important;
}

.gform_wrapper.gravity-theme .ui-datepicker-trigger {
    border-radius: 0 !important;
    margin: 0 !important;
}

.gform_wrapper.gravity-theme .gchoice {
    padding-top: 0.5rem;
}

.gform_wrapper.gravity-theme .gfield-choice-input {
    float: left !important;
}

.gform_wrapper.gravity-theme .gfield {
    width: 100% !important;
    margin: 0;
}

.gform_wrapper.gravity-theme .gfield_description {
    color: white !important;
}

.gform_wrapper.gravity-theme .gfield_required_text {
    color: #ffffff !important;
    display: inline-block !important;
    font-size: .875rem !important;
    font-weight: 400 !important;
    font-style: italic !important;
    margin-left: 0.3rem !important;
    padding: 0 !important;
    position: relative !important;
}

.gform_wrapper.gravity-theme .gfield_required_text:before {
    content: '*' !important;
    display: inline-block !important;
    position: absolute !important;
    right: -.5rem !important;
}

.gform_wrapper.gravity-theme .gfield_label,
.gform_wrapper.gravity-theme .gfield_label_before_complex {
    color: white !important;
    display: block;
    font: 600 1em/1.5 'Lexend', 'Trebuchet MS', 'Lucida Grande', Tahoma, sans-serif;
    margin-top: 1.3rem;
}

.gform_wrapper.gravity-theme .gfield_checkbox .gchoice label,
.gform_wrapper.gravity-theme .gfield_radio .gchoice label {
    color: white !important;
}

.gform_wrapper.gravity-theme .gfield .instruction {
    color: white !important;
}

.gform_wrapper.gravity-theme .gf_progressbar_wrapper .gf_progressbar {
    background-color: #7ad4d3;
}

.gform_wrapper.gravity-theme .gf_progressbar_wrapper .gf_progressbar_percentage {
    background-color: white;
    border-radius: 40px;
}

.gform_wrapper.gravity-theme .gf_progressbar_wrapper .gf_progressbar_percentage span {
    color: #009BA4;
}

.form .gform_fields div,
.gform_wrapper.gravity-theme .gform_fields div {
    flex: 0 100%;
    max-width: 100%;
    margin: 0 !important;
}

.form .gform_fields div:first-of-type,
.gform_wrapper.gravity-theme .gform_fields div:first-of-type {
    margin-top: .2rem !important;
}

.gfield.gfield--width-full.field_sublabel_below.field_description_below.gfield_visibility_visible {
    margin-top: 2rem !important;
}

.ginput_container_date {
    position: relative;
}

.ginput_container_date .ui-datepicker-trigger {
    left: 1rem;
    position: absolute;
}

.gform_wrapper.gravity-theme .ginput_container_date input {
    padding-left: 44px !important;
    width: 100% !important;
}

.gfield_time_hour label,
.gfield_time_minute label,
.gfield_time_ampm label {
    color: white !important;
}

.gfield_time_minute.ginput_container.ginput_container_time input,
.gfield_time_hour.ginput_container.ginput_container_time input {
    margin-bottom: .5rem !important;
}

.gfield_time_ampm.ginput_container.ginput_container_time select {
    margin-bottom: .5rem !important;
}

.form .gform_fields div:first-of-type,
.gform_wrapper.gravity-theme .gform_fields div:first-of-type {
    margin-top: 0 !important;
}

.ginput_complex.ginput_container.no_prefix.has_first_name.no_middle_name.has_last_name.no_suffix.gf_name_has_2.ginput_container_name {
    justify-content: space-between !important;
}

.ginput_complex.ginput_container.no_prefix.has_first_name.no_middle_name.has_last_name.no_suffix.gf_name_has_2.ginput_container_name span {
    flex: 0 0 49% !important;
    margin-left: 0 !important;
}

.ginput_complex.ginput_container.no_prefix.has_first_name.no_middle_name.has_last_name.no_suffix.gf_name_has_2.ginput_container_name span:nth-child(2) {
    margin-right: 0;
}

.ginput_container span {
    color: white !important;
}

.gfield_time_hour.ginput_container.ginput_container_time,
.gfield_time_minute.ginput_container.ginput_container_time,
.gfield_time_ampm.ginput_container.ginput_container_time.below {
    flex: 0 0 30% !important;
    max-width: 30% !important;
}

.gfield_time_ampm.ginput_container.ginput_container_time.below select {
    margin-left: 10px !important;
}

.gfield_time_hour.ginput_container.ginput_container_time div:first-of-type {
    margin-top: 0 !important;
}

.gform_wrapper.gravity-theme .gfield {
    margin-top: 1.5rem !important;
}

.hour_minute_colon {
    width: auto !important;
    max-width: auto !important;
    flex: 0 0 auto !important;
    padding: 5px 3.75rpx !important;
}

.gfield-choice-input {
    float: none !important;
}

.gform-page-footer .gform-theme-button {
    line-height: 1 !important;
}

/* Swiper */
.swiper {
    width: 100%;
}

.hero-slider .hero-info .button {
    margin-top: 2.5rem !important;
}

.hero-slider .hero-info {
    height: 100%;
}

@media screen and (min-width: 960px) {
    .hero-slider .hero-inner {
        max-width: 512px !important;
        box-sizing: border-box;
    }
}

.hero-swiper .swiper-pagination {
    position: absolute;
    bottom: 2rem;
    left: 50% !important;
    right: 0 !important;
    transform: translateX(-50%);
    max-width: 80rem;
    width: 100%;
    padding: 0 1rem;
    text-align: right;
    z-index: 10;
    margin-bottom: 40px;
}

@media screen and (max-width: 960px) {
    .hero-swiper .swiper-pagination {
        margin-bottom: 20px;
    }
}

@media (min-width: 640px) {
    .hero-swiper .swiper-pagination {
        padding: 0 2rem;
    }
}

.hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    border-radius: 0;
    background: transparent;
    border: 2px solid white;
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: white;
}

.masthead-carousel {
  position: relative;
  background-color: #00838A;
  color: #fff;
  overflow: hidden;
}

.masthead-carousel__inner {
  display: flex;
  flex-direction: column;
}

.masthead-carousel__text {
  padding: 2.5em 2rem;
  width: 100%;
}

.masthead-carousel__title {
    position: relative;
    padding: 4rem;
}

.masthead-carousel__title::before,
.masthead-carousel__title::after {
    content: "";
    position: absolute;
    width: 124px;
    height: 122px;
    background-image: url("data:image/svg+xml,%3Csvg width='140' height='140' viewBox='0 0 140 140' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M-3.0196e-06 -1.22392e-05L-1.52588e-05 140L34.9894 140L34.9894 35L140 35L140 0L34.9894 -9.18032e-06L-3.0196e-06 -1.22392e-05Z' fill='%23FFCB03'/%3E%3C/svg%3E%0A");
    background-repeat: no-repeat;
    background-size: 124px;
}

.masthead-carousel__title::before {
    top: 0;
    right: 0;
    transform: scaleY(1) scaleX(-1);
}

.masthead-carousel__title::after {
    bottom: 0;
    left: 0;
    transform: scaleY(-1);
}

.masthead-carousel__title h1 {
    line-height: 1.1;
    letter-spacing: -0.04em;
    line-height: 1.052;
    font-weight: 700;
    width: fit-content;
}

.masthead-carousel__carousel {
  height: 50vh;
  margin: 0 -0.625rem;
  overflow: hidden;
  min-height: 330px;
}

@media screen and (max-width: 960px) {
    .masthead-carousel__carousel {
        max-height: 50vh;
    }
}

.masthead-carousel__wrapper {
    display: flex;
    gap: .625rem;
}

.masthead-carousel__wrapper .column {
    flex: 1;
}

.masthead-carousel__wrapper .column:nth-child(3n+2) { margin-top: -65px; }

.masthead-carousel__item {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    transition: all .3s ease-out;
}

.masthead-carousel__item a,
.masthead-carousel__item > p {
    opacity: 0;
    z-index: 2;
    padding-left: 1rem;
    width: 100%;
    margin-left: 0;
    line-height: 2.08;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: -0.02em;
}

.masthead-carousel__item a:before,
.masthead-carousel__item > p:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 1;
}

.masthead-carousel__item a span,
.masthead-carousel__item p span {
    position: relative;
    z-index: 2;
}

.masthead-carousel__item:not(:last-child) {
  margin-bottom: .625rem
}

.masthead-carousel__item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.masthead-carousel .column__inner {
    will-change: transform;
}


@media screen and (min-width: 640px) {
    .masthead-carousel__item a,
    .masthead-carousel__item p {
       font-size: 1.25rem;
       padding-left: 1.125rem;
    }
}

.grid-cards .section-header-summary {
    color: #000 !important;
}

@media screen and (max-width: 640px) {
    .masthead-carousel__title {
        padding: 1.25rem;
    }

    .masthead-carousel__title::before,
    .masthead-carousel__title::after {
        background-size: 3.75rem;
    }

    .masthead-carousel__title h1 {
        font-size: 1.75rem;
    } 
}

@media screen and (min-width: 640px) and (max-width: 959px) {
   .masthead-carousel__carousel {
        flex: 1;
   }
}

@media screen and (max-width: 959px) {
    .masthead-carousel__item a,
    .masthead-carousel__item > p {
        opacity: 1;
    }

    .masthead-carousel__item a::before,
    .masthead-carousel__item > p::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    }
}

@media screen and (min-width: 960px) {
    .masthead-carousel__title {
        padding: 4.688rem;
        max-width: 25rem;
    }

    .masthead-carousel__inner {
        flex-direction: row;
        padding: 0 3.75rem 0 3.75rem;
    }

    .masthead-carousel__wrapper {
        gap: 1.25rem;
    }

    .masthead-carousel__wrapper .column:nth-child(3n+2) { margin-top: -140px; }

    .masthead-carousel__item:not(:last-child) {
        margin-bottom: 1.25rem
    }

    .masthead-carousel__text {
        display: flex;
        flex-direction: column;
        flex: 0 0 45%;
        padding: 3.75rem 0;
    }

    .masthead-carousel__title {
        margin-top: auto;
        margin-left: 0;
    }

    .masthead-carousel__carousel {
        flex: 0 0 55%;
        height: 100vh;
        margin: 0;
        padding-left: 3.75rem;
        overflow: visible;
    }

    .masthead-carousel__item a,
    .masthead-carousel__item p {
       font-size: .75rem;
       padding-left: 1rem;
    }

    .masthead-carousel__item::before,
    .masthead-carousel__item::after {
        content: "";
        position: absolute;
        width: 33.5px;
        height: 33px;
        background-image: url('data:image/svg+xml,<svg width="34" height="33" viewBox="0 0 34 33" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="9.46721" height="33" transform="matrix(-1 0 0 1 33.541 0)" fill="%23FFCB03"/><rect width="9.46721" height="33" transform="matrix(4.37114e-08 -1 -1 -4.37114e-08 33 9.46729)" fill="%23FFCB03"/></svg>');
        z-index: 2;
        opacity: 0;
    }

    .masthead-carousel__item::before {
        top: -11px;
        right: -11px;
    }

    .masthead-carousel__item::after {
        bottom: -11px;
        left: -11px;
        transform: scaleY(-1) scaleX(-1);
    }

    .masthead-carousel__item:hover {
        overflow: visible;
    }

    .masthead-carousel__item:hover::before,
    .masthead-carousel__item:hover::after {
        opacity: 1;
    }

    .masthead-carousel__item:hover a,
    .masthead-carousel__item:hover > p {
        opacity: 1;
    }

    .masthead-carousel__item:hover a::before,
    .masthead-carousel__item:hover > p::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
    }
}

@media screen and (min-width: 1200px) {
    .masthead-carousel__text {
        flex: 0 0 33%;
    }

    .masthead-carousel__carousel {
        flex: 0 0 67%;
    }
    .masthead-carousel__item a,
    .masthead-carousel__item p {
       font-size: 1.5rem;
       padding-left: 1.125rem;
    }
}



@media screen and (min-width: 1440px) {
    .masthead-carousel__carousel {
        padding-left: 0;
    }
}

@media screen and (max-width: 1280px) {
    .header-logo {
        position: initial;
    }
}