﻿/* Banner Widgets */
.banner {
    grid-column: full-width;
    justify-self: center;
    width: clamp(300px, 100%, 1440px);
    min-height: 358px;
    background-size: cover;
    display: grid;
    grid-template-rows: 1fr auto 1fr;
}

.banner.banner--full {
    .banner__content {
        grid-row: 2;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin: 0 auto;
        width: 100%;
        padding: 70px 0;

        @media screen and (max-width: 980px) {
            grid-template-columns: 1fr;
            grid-column: content;
        }
    }

    .banner__cta-content-wrapper {
        position: relative;
    }

    .banner__cta-content-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: #0047b24d;
    }

    .banner__cta-content-wrapper::after {
        content: "";
        position: absolute;
        inset: 40px 0;
        background: var(--banner-gradient-background);
    }

    .banner__cta-content {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 80px 30px 80px 20px;
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        z-index: 1;
        box-sizing: border-box;

        @media screen and (max-width: 980px) {
            max-width: 100%;
            padding: 80px 20px;
        }
    }

    .banner__cta-content h1,
    .banner__cta-content p {
        color: var(--white);
        margin: 0;
    }

    .banner__cta-content h1 {
        font-size: 40px;
        line-height: 50px;
    }

    .banner__cta-content p {
        font-size: 16px;
        line-height: 24px;
    }

    .banner__form-wrapper {
        position: relative;
    }

    .banner__form-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        background-color: #59a038;
    }

    .banner__form {
        position: relative;
        max-width: 600px;
        height: 100%;
        padding: 50px 20px 50px 30px;
        box-sizing: border-box;

        @media screen and (max-width: 980px) {
            max-width: 100%;
            padding: 50px 20px;
        }
    }

    .banner__form form {
        padding: 0;
    }

    .banner__form form div.group {
        width: 100%;
    }

    .banner__form form div.group:nth-of-type(3) {
        display: none;
    }

    .banner__form form div.group .field {
        box-sizing: border-box;
    }

    .banner__form form div.group .field textarea {
        width: 100%;
        height: 80px;
        box-sizing: border-box;
    }

    .banner__form form div.group:first-of-type {
        display: flex;
        flex-wrap: wrap;
        box-sizing: border-box;
        column-gap: 10px;
        row-gap: 8px;
        justify-content: stretch;
    }

    .banner__form form div.group:nth-of-type(2) {
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .banner__form form div.group:first-of-type .field {
        flex: 1 0 calc(100% / 3);
    }

    .banner__form form div.group:first-of-type .field[data-alias="dataConsent"] {
        display: none;
    }

    .banner__form form div.group:first-of-type .field input {
        width: 100%;
        box-sizing: border-box;
    }

    @media screen and (max-width: 980px) {
        .banner__form form div.group:first-of-type .field {
            flex: 1 0 calc(100% / 4);
        }
    }

    @media screen and (max-width: 769px) {
        .banner__form form div.group:first-of-type .field {
            flex: 1 0 calc(100% / 3);
        }
    }

    @media screen and (max-width: 480px) {
        .banner__form form div.group:first-of-type .field {
            flex-basis: 100%;
        }
    }

    .banner__form .umbraco-forms-submitmessage-html {
        scroll-margin-top: 120px;
        height: 100%;
        align-content: center;
    }

    .banner__form .umbraco-forms-submitmessage-html h2 {
        font-size: 24px;
        line-height: 30px;
        color: var(--white);
        padding-bottom: 10px;
        border-bottom: 1px solid #6fbf4a;
    }

    .banner__form .umbraco-forms-submitmessage-html p {
        font-size: 15px;
        line-height: 24px;
        color: var(--white);
    }

    .banner__form .umbraco-forms-label {
        color: var(--white);
    }
}

.banner-overlay {
    grid-row: 2;
    text-align: center;
    background: linear-gradient(92.23deg,
            rgba(93, 129, 110, 0.8) 20%,
            rgba(76, 127, 128, 0.8) 35%,
            rgba(59, 126, 147, 0.8) 50%,
            rgba(36, 124, 170, 0.8) 60%,
            rgba(0, 121, 209, 0.8) 75%);
    color: white;
    padding-top: 0px;
    padding-bottom: 40px;
    padding-right: 15%;
    padding-left: 15%;
}

.banner-overlay h1 {
    margin-block: 0.5em;
}

.banner_subtitle {
    font-size: 24px;
    line-height: 32px;
    padding-bottom: 20px;
}

.banner-overlay a.button {
    display: inline-block;
    width: fit-content;
}

@media screen and (max-width: 768px) {
    .banner {
        background-position:
            left -250px top 0,
            right -80px bottom 0px,
            center 100% !important;
        background-size: auto, auto, cover !important;
    }
}

@media (min-width: 554px) {
    .banner {
        min-height: 400px;
    }
}

@media (min-width: 860px) {
    .banner {
        min-height: 468px;
    }

    .banner-large {
        min-height: 600px;
    }
}

.navigation-underline {
    grid-column: full-width;
    width: clamp(300px, 100%, 1440px);
    height: 8px;
    background: var(--full-gradiant-background);
    justify-self: center;
    margin-bottom: 0;
}

/* Breadcrumb widgets */

.breadcrumbs {
    padding-block: 20px;
}

.breadcrumbs a {
    color: var(--text);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--blue);
}

.breadcrumbs a,
.breadcrumbs svg {
    padding-right: 6px;
    padding-bottom: 4px;
}

.breadcrumbs svg {
    vertical-align: middle;
}

.breadcrumbs svg path {
    fill: var(--blue);
    stroke: var(--blue);
}

.breadcrumbs span {
    color: var(--orange);
}

/* social sharing widget */
.social-share {
    display: flex;
    justify-self: end;
    align-self: start;
}

.social-share:hover nav {
    width: 120px;
}

.social-share svg {}

.social-share nav {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-left: 5px;
    overflow: hidden;
    width: 0;
    transition: width 0.5s;
}

.social-share nav a {
    height: 25px;
}

/* Header and Intro Widget*/
.header-and-intro {
    display: grid;
    place-items: start;
    /* don't stretch items to fill the grid cell */
    padding-top: 30px;
    padding-bottom: 30px;
}

.no-padding-top {
    padding-top: 0px;
}

.header-and-intro a.button {
    grid-row: 2;
}

.header-and-intro.products a.button {
    grid-row: auto;
    margin: 20px auto 0;
}

.header-and-social-share {
    display: grid;
    grid-template-columns: 1fr auto;
    place-self: stretch;
    position: relative;
    margin-bottom: 20px;
}

.header-and-social-share h2 {
    margin-bottom: 0;
    font-weight: 700;
}

.header-and-social-share--line {
    align-items: center;
}

.header-and-social-share--no-margin {
    margin-bottom: 0;
}

.header-and-social-share--line::after {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 125px;
    height: 6px;
    border-radius: 4px;
    background-color: var(--blue);
}

.header-and-article-info {
    display: flex;
    margin-top: 15px;
}

.header-and-article-info p {
    margin: 0;
    padding: 0 10px;
    border-left: 1px solid black;
}

.header-and-article-info p:first-of-type {
    border-left: none;
}

/* Header, Socials navigation, Intro */
.header-navigation-intro {
    display: grid;
    grid-template-columns: auto 150px;
}

.header-navigation-intro>div:not(.social-share) {
    grid-column: span 2;
}

/* Card List Widget */
.cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 30px;
    padding-bottom: 30px;
    /* same as gap */
    margin-bottom: 0;
}

.card {
    display: grid;
    grid-template-rows: 240px 52px auto;
    /* vertically aligns the card titles even if the images are different heights; switch first row height to min-content to shrink it to the actual height of the image */
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--grey);
    width: 324px;
    /* allows 3 cards per row (with the gap and padding settings above) */
    height: 445px;
    /* remove link styling */
    color: var(--text);
    text-decoration: none;
}

.card:hover {
    border-color: var(--orange);
    box-shadow:
        0 0 0 2px var(--orange),
        0px 2px 30px 0px #0000001f;
    color: var(--text);
}

.card img {
    justify-self: center;
    align-self: center;
    border-radius: 4px;
    max-height: 250px;
    max-width: 275px;
}

/* Related blogs cards*/

.related-blogs-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.cards.related-blogs-cards .card {
    display: block;
    padding: 0;
    width: 520px;
    overflow: hidden;
    height: 430px;
    box-sizing: border-box;
}

.cards.related-blogs-cards .card:hover {
    box-shadow:
        0px 0px 1px 1px var(--orange),
        0px 2px 30px 0px #0000001f;
}

.cards.related-blogs-cards .card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    max-width: 100%;
    border-radius: 0;
    margin-bottom: 30px;
}

.cards.related-blogs-cards .card p,
.cards.related-blogs-cards .card h3 {
    margin-left: 20px;
    margin-right: 20px;
}

.cards.related-blogs-cards .card h3 {
    min-height: 74px;
    margin-bottom: 5px;
}

.cards.related-blogs-cards .card .line {
    background: var(--yellow);
    height: 2px;
    width: calc(100% - 40px);
    margin: 5px auto 10px;
}

/* CTA Download and Mailing List Widget */
.cta-download-and-mailing {
    grid-column: full-width;
    background: var(--full-gradiant-background);
    display: grid;
    grid-template-columns: 1fr repeat(2, clamp(300px, 100%, 440px)) 1fr;
    gap: 40px;
    color: white;
    padding-top: 40px;
    padding-bottom: 40px;
}

.cta-download-and-mailing div {
    grid-column: 2;
    align-self: center;
}

.cta-download-and-mailing div h2 {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--yellow);
}

.cta-download-and-mailing form {
    padding-top: 0px;
    padding-bottom: 0;
}

.cta-download-and-mailing form .field {
    width: 100%;
    margin: 10px 0;
}

.cta-download-and-mailing form .field input:not([type="checkbox"]) {
    width: 100%;
    box-sizing: border-box;
}

.cta-download-and-mailing form label,
.cta-download-and-mailing form input:not([type="submit"], [type="checkbox"]) {
    display: block;
    align-self: stretch;
}

.cta-download-and-mailing form input[type="submit"] {
    margin-top: 10px;
}

/* Responsive Design for Smaller Screens */
@media screen and (max-width: 980px) {
    .cta-download-and-mailing {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 0px;
        padding-top: 10px;
    }

    .cta-download-and-mailing>div,
    .cta-download-and-mailing>form {
        grid-column: 1;
    }

    .cta-download-and-mailing>div {
        grid-row: 1;
        padding: 20px 20px 0;
    }

    .cta-download-and-mailing form {
        grid-row: 2;
        padding-top: 10px;
    }

    form div.group:first-of-type .field {
        width: 100% !important;
    }
}

/* Category cards */
.category-cards {
    column-gap: 39px;
    row-gap: 20px;
}

.category-cards .card {
    width: 218px;
    min-height: 288px;
    height: auto;
    grid-template-rows: 190px 52px auto;
}

.category-cards .card img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Carousel Widget */

.carousel-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

:root {
    --carousel-card-width: 257px;
    /* img tag width attribute must match */
    --carousel-card-height: 364px;
    --carousel-card-padding: 20px;
    --carousel-card-borderwidth: 1px;
    --carousel-card-totalwidth: calc(var(--carousel-card-width) + 2 * var(--carousel-card-padding) + 2 * var(--carousel-card-borderwidth));
    --carousel-card-gap: 40px;
    --carousel-control-width: 71px;
    --carousel-width-1card: calc(var(--carousel-card-totalwidth) + 2 * var(--carousel-control-width) + 6px);
    --carousel-width-2cards: calc(2 * var(--carousel-card-totalwidth) + var(--carousel-card-gap) + 2 * var(--carousel-control-width) + 6px);
    --carousel-width-3cards: calc(3 * var(--carousel-card-totalwidth) + 2 * var(--carousel-card-gap) + 2 * var(--carousel-control-width) + 40px);
}

.carousel {
    width: fit-content;
    /* handles the case when there are fewer than 3 cards */
    max-width: var(--carousel-width-1card);
    margin: 0 auto;
    display: grid;
    grid-template-columns: var(--carousel-control-width) auto var(--carousel-control-width);
}

@media (max-width: 554px) {

    /* too narrow to show the controls */
    .carousel {
        max-width: calc(var(--carousel-card-width) + 2 * var(--carousel-card-padding) + 2 * var(--carousel-card-borderwidth) + 52px);
        grid-template-columns: 25px auto 25px;
    }

    /* .carousel-control button {
        display: none;
    } */
}

@media (min-width: 860px) {

    /* --carousel-width-2cards + 1px + body padding */
    .carousel {
        max-width: var(--carousel-width-2cards);
    }
}

@media (min-width: 1200px) {

    /*--carousel-width-3cards + 1px + body padding */
    .carousel {
        max-width: var(--carousel-width-3cards);
    }
}

.carousel-cards {
    display: flex;
    gap: var(--carousel-card-gap);
    /*justify-content: center;*/
    overflow-x: hidden;
    padding: 15px 2px 25px;
}

@media (min-width: 554px) {
    .carousel-cards {
        padding: 15px 3px 25px;
    }
}

@media (min-width: 1200px) {
    .carousel-cards {
        padding: 15px 20px 25px;
    }
}

.carousel-card {
    display: block;
    min-width: var(--carousel-card-width);
    max-width: var(--carousel-card-width);
    height: var(--carousel-card-height);
    padding: var(--carousel-card-padding);
    transition: all 0.5s;
    border-radius: 4px;
    border: var(--carousel-card-borderwidth) solid var(--grey);
    /* remove link styling */
    color: var(--text);
    text-decoration: none;
}

.carousel-card:hover {
    border-color: var(--orange);
    box-shadow:
        0 0 0 2px var(--orange),
        0px 2px 20px 0px rgba(0, 0, 0, 0.1);
}

.carousel-card img {
    object-fit: cover;
    border-radius: 4px;
}

.carousel-control {
    margin: auto 0;
    text-align: center;
}

.carousel-control button {
    border: none;
    /* visibility: hidden; */
}

.carousel-control button svg {
    width: 22px;
    height: 42px;
}

.carousel-control .arrow {
    fill: var(--blue);
    stroke: transparent;
    stroke-width: 2;
}

@media (hover: hover) {

    /* if the brower supports real hovering; prevents "sticky" hovers on touch devices */
    .carousel-control button:hover .arrow {
        stroke: var(--orange);
    }
}

.carousel-progress {
    grid-column: 2 / 2;
    padding-bottom: 10px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.carousel-step svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 480px) {
    .carousel-step svg {
        width: 12px;
        height: 12px;
    }
}

.carousel-step {
    fill: transparent;
    stroke: var(--blue);
    stroke-width: 1;
}

.carousel-step-active .progress-bullet {
    fill: var(--blue);
}

@media (hover: hover) {

    /* if the brower supports real hovering; prevents "sticky" hovers on touch devices */
    .carousel-step:hover .progress-bullet {
        stroke: var(--orange);
    }

    .carousel-step-active:hover .progress-bullet {
        fill: var(--orange);
    }
}

/* Services carousel */
.carousel.services .carousel-card {
    position: relative;
    min-height: calc(280px - var(--carousel-card-padding) * 2);
    height: auto;
    overflow: hidden;
}

.carousel.services .carousel-card p {
    margin-bottom: 0;
}

.carousel.services .carousel-card__gradient-img-wrapper {
    position: relative;
    min-width: fit-content;
    max-width: calc(var(--carousel-card-width) + var(--carousel-card-padding) * 2);
    margin: calc(var(--carousel-card-padding) * -1);
    max-height: 131px;
}

.carousel.services .carousel-card img {
    display: block;
    object-fit: cover;
    width: 100%;
    max-height: 131px;
    border-radius: 0;
}

.carousel.services .carousel-card p {
    margin-top: 30px;
}

.carousel.services .carousel-card h3 {
    margin-bottom: 0;
    position: absolute;
    display: flex;
    align-items: center;
    min-height: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 6.5px 12.2px;
    color: var(--white);
    background:
        linear-gradient(0deg,
            rgba(0, 71, 178, 0.6) 0%,
            rgba(0, 71, 178, 0.6) 100%),
        linear-gradient(92deg,
            rgba(240, 216, 0, 0.6) -0.88%,
            rgba(0, 194, 255, 0.6) 84.49%);
    box-sizing: border-box;
}

/* Products carousel */

.carousel.products .carousel-card h3 {
    margin-bottom: 30px;
}

.carousel.products .carousel-card {
    min-width: calc(100% - 42px);
    color: var(--text);
}

.carousel.products .carousel-card img {
    margin-bottom: 20px;
    object-fit: contain;
}

@media (min-width: 554px) {
    .carousel.products .carousel-card {
        min-width: var(--carousel-card-width);
    }
}

@media (max-width: 768px) {
    .carousel.mobile-vertical-carousel {
        display: flex;
        flex-direction: column;
    }

    .carousel.mobile-vertical-carousel .carousel-cards {
        flex-direction: column;
        overflow-y: hidden;
        padding-top: 2px;
        padding-bottom: 2px;
    }

    .carousel.mobile-vertical-carousel .carousel-control .carousel-next,
    .carousel.mobile-vertical-carousel .carousel-control .carousel-prev {
        transform: rotate(90deg);
    }
}

@media (max-width: 554px) {
    .carousel-card {
        min-width: fit-content;
    }
}

@media (max-width: 390px) {
    .carousel-card img {
        width: 100%;
    }
}

/* Relevant Statistic Widget */
.relevant-statistic {
    background: var(--full-gradiant-background);
    color: white;
    text-align: center;
    padding: 0px 60px;
    padding-top: 20px;
}

/* Supporting Media Widgets */
.supporting-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 30px 0;
}

.supporting-media .media iframe {
    width: 560px;
    aspect-ratio: 16 / 9;
}

@media (max-width: 930px) {

    /* the point at which the sample text has a greater height than the YouTube video player */
    .supporting-media {
        grid-template-columns: auto;
    }

    .supporting-media .media {
        text-align: center;
    }

    .supporting-media .media img {
        max-width: 100%;
    }

    .supporting-media .media iframe {
        width: min(100%, 560px);
    }
}

/* Tabs Widget */

.tabs {
    display: grid;
    grid-template-columns: repeat(5,
            1fr);
    /* the tab columns; overriden on the page for each instance */
    column-gap: 9px;
    grid-template-rows: auto auto;
    /* the tab row and the tab panel row */
    margin-bottom: 50px;
    grid-column: full-width;
    grid-template-columns: 1fr repeat(5, clamp(200px, 100%, 225px)) 1fr;
}

button.tab {
    grid-row: 1;
    font-size: 16px;
    line-height: normal;
    border: 1px solid #f5f5f5;
    border-bottom: none;
    /* override usual button styles */
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    text-transform: none;
    font-weight: normal;
    background-color: #f5f5f5;
    color: var(--text);
    width: 100%;
    font-family: "Albert Sans", sans-serif;
    font-size: 16px;
    font-weight: 600;
    min-height: 60px;
}

button.activetab {
    border: 1px solid var(--orange);
    border-bottom: none;
    background-color: var(--orange);
    color: white;
}

@media (hover: hover) {
    button.tab:hover {
        background-color: #f5f5f5;
        color: var(--text);
        border: 1px solid var(--orange);
        border-bottom: none;
    }

    button.activetab:hover {
        background-color: var(--orange);
        color: white;
    }
}

.tab-panel {
    grid-row: 2;
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr clamp(400px, 100%, 1160px) 1fr;
    grid-template-rows: max-content min-content min-content;
    border-top: 2px solid var(--orange);
    padding: 20px;
    padding-top: 60px;
    min-height: 500px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: linear-gradient(rgba(255, 255, 255, 0.8),
            rgba(239, 239, 239, 0.8));
}

.activepanel {
    display: grid;
}

.tab-panel>* {
    grid-column: 2;
}

.tab-panel .btnContactUs {
    grid-row: 1;
    grid-column: 2;
    justify-self: right;
    align-self: baseline;
    position: relative;
    z-index: 999;
}

.tab-panel h2 {
    grid-row: 1;
    grid-column: 2;
    align-self: baseline;
    max-width: fit-content;
}

.tab-panel .tab-see-all {
    margin-left: auto;
}

.tab-panel__faqs {
    margin-top: 20px;
    background-color: white;
}

@media (max-width: 930px) {

    /* same breakpoint as the supporting media widget */
    .tabs {
        display: grid;
        grid-template-columns: auto !important;
        /* this property is usually set at the page level, so !important is necessry to override that */
        grid-template-rows: auto;
        border-left: 1px solid var(--orange);
        grid-column: 2/ -2;
    }

    button.tab {
        grid-row: auto;
        border-radius: 0px;
        border: 1px solid #f5f5f5;
        border-left: none;
        grid-column-start: initial !important;
    }

    button.tab:not(:first-child) {
        margin-top: 9px;
    }

    button.tab:hover {
        border: 1px solid var(--orange);
        border-left: none;
    }

    button.activetab {
        border: 1px solid var(--orange);
        border-left: none;
    }

    button.activetab:hover {
        background-color: var(--orange);
        color: white;
    }

    .tab-panel {
        grid-row: auto;
        border-top: none;
        grid-template-columns: auto;
        grid-template-rows: auto auto auto auto;
    }

    .tab-panel>* {
        grid-column: 1;
    }

    .tab-panel .btnContactUs {
        grid-column: 1;
        justify-self: center;
        margin-top: 20px;
    }

    .tab-panel h2 {
        grid-row: 2;
        grid-column: 1;
    }

    .tabs .showModal {
        margin-bottom: 20px;
    }
}

/* CTA Contact Us (Slim) Widget */
.cta-contact-us-slim {
    display: grid;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 30px;
}

.cta-contact-us-slim .logoAndClose {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 8px solid blue;
}

.cta-contact-us-slim .logoAndClose button {
    justify-self: right;
}

.cta-contact-us-slim form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.cta-contact-us-slim form label,
.cta-contact-us-slim form input {
    display: block;
    align-self: stretch;
}

.cta-contact-us-slim form input[type="submit"] {
    margin-top: 10px;
}

/* Resource section Header and Intro */
.resources-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.resources-header-and-intro {
    grid-template-columns: 120px auto;
    column-gap: 43px;
    grid-template-rows: min-content 1fr;
}

.resources-header-and-intro.resources-header-and-intro--see-all-link {
    grid-template-columns: 120px auto max-content;
}

.resources-header-and-intro>p,
.resources-header-and-intro>svg {
    /* the svgs can be wrapped in a p by Umbraco */
    grid-row: 1 / span 2;
}

.resources-header-and-intro>svg path,
.resources-header-and-intro>p>svg path {
    fill: white;
    stroke: white;
}

.resources-header-and-intro .header-without-intro {
    /* vertically centers the title on the icon */
    align-self: center;
    margin-bottom: 0;
    grid-row: span 2;
}

@media (max-width: 768px) {
    .resources-header-and-intro {
        grid-auto-flow: row;
        row-gap: 23px;
    }

    .resources-header-and-intro>p,
    .resources-header-and-intro>svg {
        grid-row: 1 / span 1;
    }

    .resources-header-and-intro>h2 {
        align-self: center;
        margin-bottom: 0;
    }

    .resources-header-and-intro>div {
        grid-column: span 2;
    }

    .resources-header-and-intro.resources-header-and-intro--see-all-link {
        grid-template-columns: 120px auto;
    }

    .resources-header-and-intro.resources-header-and-intro--see-all-link a {
        grid-column: span 2;
    }

    .tab-panel {
        width: auto;
    }
}

/* Search Block widget */
.searchBlock {
    grid-column: full-width;
    background-color: var(--blue);
    display: grid;
    grid-template-columns: 1fr clamp(350px, 100%, 960px) 1fr;
    color: white;
    padding-bottom: 50px;
    padding-top: 50px;
}

.searchBlock search {
    grid-column: 2;
    padding-inline: 20px;
}

.searchBlock search h2 {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--green);
    margin-bottom: 14px;
}

.searchBlock a.iconAndTextLink {
    color: white;
}

.searchBlock a.iconAndTextLink:hover {
    color: var(--orange);
}

.searchBlock search form {
    padding: 40px 0 0;
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr min-content;
    justify-items: stretch;
}

.searchBlock.with-label search form {
    grid-template-rows: min-content 1fr;
    gap: 0;
    column-gap: 20px;
    grid-template-areas:
        "label label"
        "input button";
}

.searchBlock search input[type="submit"] {
    justify-self: center;
}

.searchBlock.with-label search label {
    margin-bottom: 4px;
    grid-area: label;
}

.searchBlock.with-label search input[type="search"] {
    grid-area: input;
}

.searchBlock.with-label search button {
    grid-area: button;
}

.searchBlock.with-label search form {
    padding: 0;
    padding-top: 5px;
}

.searchBlock.modalSearch {
    color: var(--text);
    background-color: white;
    padding: 15px 0 30px;
}

.searchBlock.modalSearch search {
    padding: 0 40px;
}

.searchBlock button:hover {
    box-shadow: 0 0 0 1px white;
}

@media (max-width: 800px) {
    .searchBlock search form {
        grid-template-columns: 1fr;
    }

    .searchBlock.modalSearch search {
        padding: 0 20px;
    }

    .searchBlock.modalSearch {
        grid-template-columns: none;
    }
}

/* Subtopic */
.subtopic {
    display: flex;
    gap: 50px;
}

.subtopic-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 400px;
    max-width: 500px;
    flex-shrink: 0;
}

.subtopic-image-container::after {
    content: url("/img/subtopic-corner.svg");
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.subtopic-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.subtopic-image-container .h2 {
    max-width: 278px;
    position: absolute;
    bottom: 0;
    right: 20px;
    color: #fff;
    text-align: right;
    z-index: 2;
    margin-bottom: 10px;
}

.subtopic h2 {
    margin-bottom: 8px;
}

.subtopic-content {
    margin-bottom: 28px;
}

.subtopic nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

@media (max-width: 768px) {
    .subtopic {
        flex-direction: column;
        gap: 28px;
    }

    .subtopic-image-container {
        width: 100%;
        height: 302px;
        max-width: none;
    }

    .subtopic-image-container::after {
        content: url("/img/subtopic-corner-small.svg");
    }

    .subtopic-image-container .h2 {
        max-width: 144px;
    }
}

/* Faq Categories */
.faq-categories-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.faq-categories-cards .faq-category-card {
    display: flex;
    flex-direction: column;
    min-height: 300px;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid var(--grey);
}

.faq-categories-cards .faq-category-card svg rect {
    fill: var(--blue);
    stroke: var(--blue);
}

.faq-categories-cards .faq-category-card .line {
    background-color: var(--blue);
    width: 125px;
    height: 6px;
    border-radius: 10px;
}

.faq-categories-cards .faq-category-card h3 {
    height: 38px;
    margin-top: 18px;
    margin-bottom: 30px;
}

.faq-categories-cards details {
    margin-bottom: 18px;
}

.faq-categories-cards summary:hover p {
    color: var(--orange);
    cursor: pointer;
}

.faq-categories-cards a.button {
    margin-top: auto;
}

.faq-categories-cards .faq-category-card .faq-category-card__item {
    display: flex;
    margin-bottom: 17px;
}

.faq-categories-cards .faq-category-card .faq-category-card__item p {
    margin-bottom: 0;
}

.faq-categories-cards .faq-category-card .faq-category-card__item svg {
    margin-right: 10px;
    min-width: 9px;
}

.faq-categories-cards .faq-category-card .faq-category-card__item h3 {
    margin: 0;
    height: auto;
}

.faq-categories-cards .faq-category-card details p {
    margin: 15px 0;
    padding: 20px;
}

@media (max-width: 1200px) {
    .faq-categories-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .faq-categories-cards .faq-category-card .line {
        width: 100%;
    }

    .faq-categories-cards {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* Event */
.event {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.event img {
    width: 100%;
    object-fit: contain;
}

.event p {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .event {
        flex-direction: row;
        align-items: center;
    }

    .event img {
        width: 490px;
        height: 300px;
        min-width: 490px;
    }
}

/* Job cards */
.job-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 32px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.job-card {
    outline: 1px solid var(--grey);
    border-radius: 4px;
    color: var(--text);
    text-decoration: none;
    padding: 30px;
}

.job-card p strong {
    min-width: 100px;
    display: inline-block;
}

.job-card:hover {
    outline: 3px solid var(--orange);
    box-shadow: 0px 2px 30px 0px #0000001f;
}

.job-card:hover svg rect {
    fill: var(--orange);
    stroke: var(--orange);
}

.job-card svg {
    fill: var(--blue);
    stroke: var(--blue);
    margin-bottom: 20px;
}

.job-card h3 {
    margin-bottom: 10px;
    min-height: 44px;
}

.job-card p {
    margin-bottom: 4px;
}

@media (max-width: 768px) {
    .job-cards-container {
        grid-template-columns: 1fr;
    }
}

/* Job Application Modal */
.job-application-modal .dialog-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    padding-top: 35px;
    padding-bottom: 52px;
    margin: 0 auto;
}

.job-application-modal p {
    text-align: center;
    margin-bottom: 20px;
}

.job-application-modal .dialog-body p:nth-child(2) {
    margin-bottom: 42px;
}

/* Resume banner */
.resume-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 30px;
    background: linear-gradient(92.23deg,
            rgba(93, 129, 110, 0.9) 15%,
            rgba(76, 127, 128, 0.9) 30%,
            rgba(59, 126, 147, 0.9) 45%,
            rgba(36, 124, 170, 0.9) 60%,
            rgba(0, 121, 209, 0.9) 75%);
    color: #fff;
    padding: 64px;
}

.resume-banner h2,
.resume-banner p {
    margin-bottom: 0;
}

.resume-banner button {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .resume-banner {
        flex-direction: column;
        gap: 20px;
        padding: 40px 26px;
    }
}

@media (min-width: 1400px) {
    .resume-banner {
        padding: 64px 135px;
        justify-content: space-between;
    }
}

/* CTA banner section */
.CTA-banner-container {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns:
        [full-width-start] minmax(var(--padding-inline), 1fr) [content-start] min(100% - (var(--padding-inline) * 2),
            var(--content-max-width)) [content-end] minmax(var(--padding-inline), 1fr) [full-width-end];
    background: linear-gradient(92.23deg,
            rgba(93, 129, 110, 0.9) 15%,
            rgba(76, 127, 128, 0.9) 30%,
            rgba(59, 126, 147, 0.9) 45%,
            rgba(36, 124, 170, 0.9) 60%,
            rgba(0, 121, 209, 0.9) 75%);
    margin-bottom: 0;
}

.CTA-banner {
    grid-column: 2 / -2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    color: #fff;
    padding: 34px 0;
}

.CTA-banner img {
    width: 100%;
    object-fit: cover;
}

.CTA-banner>div {
    width: 100%;
}

.CTA-banner h2 {
    border-bottom: 1px solid var(--yellow);
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.CTA-banner button {
    margin-top: 15px;
}

@media (min-width: 768px) {
    .CTA-banner {
        flex-direction: row;
    }

    .CTA-banner img {
        max-width: 450px;
        max-height: 280px;
    }
}

@media (min-width: 1200px) {
    .CTA-banner img {
        max-width: 560px;
        max-height: 353px;
    }
}

/* faq item with plus and minus buttons */
.faq-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    outline: 1px solid #efefef;
    cursor: pointer;
    padding: 25px 30px;
    gap: 20px;
}

.faq-item summary h3 {
    margin: 0;
}

.faq-item summary p {
    width: calc(100% - 50px);
    padding-right: 10px;
}

@media (hover: hover) {

    /* if the brower supports real hovering; prevents "sticky" hovers on touch devices */
    .faq-item summary:hover {
        outline: 2px solid var(--orange);
    }
}

.faq-item summary::after {
    content: "";
    width: 32px;
    min-width: 32px;
    height: 32px;
    background: url("/img/plus.svg") no-repeat;
    background-size: cover;
}

details[open].faq-item summary::after {
    background: url("/img/minus.svg") no-repeat;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    margin-top: 30px;
}

.pagination-item {
    display: block;
    height: 50px;
    min-width: 50px;
    line-height: 50px;
    border: 1px solid var(--grey);
    padding: 0 20px;
    background-color: white;
    font-size: 16px;
    color: black;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

a.pagination-item {
    min-width: 105px !important;
}

@media (max-width: 768px) {
    a.pagination-item {
        min-width: 65px !important;
    }
}

.pagination-item.disabled {
    opacity: 0.5;
}

.pagination-item.disabled:hover {
    background-color: white;
    color: black;
    cursor: default;
}

.pagination-item.back {
    /* not sure if it should be always orange */
    background-color: var(--orange);
    color: white;
}

.pagination-item:not(.next) {
    border-right: none;
}

.pagination-item.prev {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.pagination-item.next {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}

.pagination-item:hover {
    background-color: var(--blue);
    color: #fff;
}

.pagination-item.selected {
    background-color: var(--orange);
    color: white;
}

/* Industries cards, probably can be used for services cards also */
.industries-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 25px;
    margin-bottom: 40px;
}

.industry-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    outline: 1px solid var(--grey);
}

.industry-card:hover {
    outline: 2px solid var(--orange);
}

.industry-card__image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 320px;
}

.industry-card__image-container::after {
    content: url("/img/industry-card-corner.svg");
    position: absolute;
    right: 0;
    bottom: -6px;
}

.industry-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.industry-card h2 {
    position: absolute;
    right: 26px;
    bottom: 0;
    color: #fff;
    z-index: 1;
    text-align: right;
    font-size: 22px;
    max-width: 240px;
}

.industry-card p {
    color: var(--text);
    margin-bottom: 0;
}

.industry-card__content {
    padding: 30px 20px;
}

.industry-card__text-content {
    padding: 32px 22px 42px;
}

@media (max-width: 768px) {

    .industries-cards,
    .industries-cards.services {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 992px) {
    .industries-cards.services {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* general page (privacy policy, terms of use, about us..) */
.general-page>div iframe {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 19/9;
}

@media (max-width: 768px) {
    .general-page>div img {
        width: 100%;
        padding: 16px 0;
        object-fit: cover;
    }
}

@media (min-width: 768px) {
    .general-page>div img {
        float: left;
        padding-top: 0;
        padding-bottom: 0;
        padding-right: 20px;
        max-width: 50%;
    }
}

/* Upcoming event */
.events-container-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.events-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.upcoming-event {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-areas: "image details";
    align-items: center;
}

section.upcoming-event {
    margin-bottom: 60px;
}

.upcoming-event>img {
    grid-area: image;
    width: 491px;
    height: 300px;
    object-fit: cover;
}

.upcoming-event__details {
    grid-area: details;
    padding: 23px;
}

.upcoming-event__details>p {
    margin: 20px 0;
}

.upcoming-event__details time {
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .upcoming-event {
        grid-template-columns: 1fr;
        grid-template-areas:
            "image"
            "details";
    }

    .upcoming-event img {
        width: 100%;
    }
}

/* Pain points */

.pain-points-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.pain-point-item {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 20px 0 0;
}

.pain-point-item>img {
    margin-bottom: 30px;
    width: 260px;
    height: 142px;
    object-fit: cover;
}

.pain-point-item p,
.pain-point-item h3 {
    padding: 0 24px;
    min-height: 52px;
    margin-bottom: 0;
}

.pain-points,
.process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 480px) {

    .pain-points,
    .process {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {

    .pain-points,
    .process {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {

    .pain-points-section h2,
    .pain-points-section>div:not(.pain-points) {
        text-align: center;
    }

    .pain-points-section>div:not(.pain-points) {
        margin-bottom: 20px;
    }
}

/* Process */

.process-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.process {
    gap: 21px;
}

.step {
    padding: 20px 24px;
}

.step>h3 {
    margin-bottom: 30px;
}

.step__number {
    position: relative;
    min-height: 144px;
}

.step__number>b {
    font-size: 120px;
    font-style: italic;
    line-height: normal;
    font-weight: 900;
    position: absolute;
    left: 40%;
    top: -28px;
    transform: translateX(-50%);
}

.step__number>svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.step__number img {
    width: 220px;
}

@media (max-width: 768px) {
    .step {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Image gallery */

.industries-gallery,
.image-gallery-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.image-gallery {
    display: grid;
    grid-template-columns: auto 2fr;
    gap: 20px;
    grid-template-areas: "thumbnails main-image";
}

.image-gallery__main {
    max-width: 100%;
    height: 447px;
    border: 2px solid transparent;
    position: relative;
    grid-area: main-image;
}

.image-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-gallery__main .image-gallery__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    background-color: #2b8502e5;
    color: white;
}

.image-gallery__info p {
    margin-bottom: 0;
}

.image-gallery__info h3 {
    margin-bottom: 10px;
}

.image-gallery__info a {
    margin-left: auto;
    min-width: fit-content;
}

.image-gallery__info div {
    margin-right: 10px;
}

.image-gallery__info.column {
    flex-direction: column;
    align-items: flex-start;
}

.image-gallery__thumbnails {
    display: grid;
    grid-template-columns: 162px 162px;
    grid-template-rows: 132px;
    gap: 20px;
    max-height: 450px;
    overflow: auto;
    grid-area: thumbnails;
}

.thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    height: 132px;
}

.thumbnail:hover {
    border: 2px solid var(--link);
}

.thumbnail>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail>span:not(.thumbnail__triangle) {
    position: absolute;
    color: #fff;
    bottom: 10px;
    right: 10px;
    font-weight: 700;
    z-index: 1;
    text-align: right;
}

.thumbnail .thumbnail__triangle {
    position: absolute;
    top: -20px;
    right: 0;
    bottom: 0;
    left: 25px;
    opacity: 0.8;
    background: var(--full-gradiant-background);
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

.thumbnail.active .thumbnail__triangle {
    background: #2b8502e5;
}

@media (max-width: 768px) {
    .image-gallery {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main-image"
            "thumbnails";
    }

    .image-gallery__main {
        height: 600px;
    }

    .image-gallery__main .image-gallery__info {
        flex-direction: column;
    }

    .image-gallery__info a {
        margin-top: 10px;
    }

    .image-gallery__thumbnails {
        grid-template-columns: 1fr 1fr 1fr;
        grid-auto-rows: 132px;
    }
}

@media (max-width: 480px) {
    .image-gallery__thumbnails {
        grid-template-columns: 1fr 1fr;
    }
}

/* Service areas widget */

.service-areas {
    display: grid;
    grid-column: full-width;
    width: clamp(300px, 100%, 100%);
    margin: 0 auto;
    grid-template-rows: auto;
    grid-template-columns: 1fr clamp(350px, 100%, 1159px) 1fr;
    padding-bottom: 30px;
    padding-top: 30px;
}

.service-areas>img {
    grid-column: 1 / -1;
    width: 100%;
    height: 133px;
    object-fit: cover;
    margin-bottom: 30px;
}

.service-areas>h2,
.service-areas>p {
    grid-column: 2;
}

.service-areas__list {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-areas a.iconAndTextLink:hover path {
    fill: var(--orange);
    stroke: var(--orange);
}

.service-areas a.iconAndTextLink:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--orange);
}

@media (max-width: 1200px) {

    .service-areas>h2,
    .service-areas>p {
        padding-inline: 20px;
    }

    .service-areas__list {
        padding-inline: 20px;
    }
}

.service-areas__list a,
.service-areas__list p {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-areas__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* certifications/awards */

.certifications-awards-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.certifications {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    padding: 0 20px;
    align-items: center;
}

.certifications img {
    width: auto;
    height: 140px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .certifications {
        grid-template-columns: repeat(2, 1fr);
        padding: 0;
    }
}

/* Contact us full */

.contact-us-full {
    grid-column: full-width;
    background: var(--full-gradiant-background);
    display: grid;
    grid-template-columns: 1fr clamp(350px, 100%, 960px) 1fr;
    padding-bottom: 30px;
    padding-top: 30px;
    color: #fff;
}

.contact-us-full input[type="submit"] {
    margin-top: 15px;
    margin-bottom: 0;
}

.contact-us-full p,
.contact-us-full h2,
.contact-us-full form {
    grid-column: 2;
    padding-inline: 20px;
}

.contact-us-full form span {
    text-align: end;
}

.contact-us-full form {
    display: grid;
    /* grid-template-rows: repeat(3, auto); */
}

.contact-us-full form input,
.contact-us-full form textarea {
    margin-bottom: 10px;
}

.contact-us-full form input[type="checkbox"] {
    width: fit-content;
}

.contact-us-full__fields {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.contact-us-full__fields div {
    width: 100%;
}

.contact-us-full__fields input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 4px;
}

.contact-us-full form label {
    margin-bottom: 4px;
}

.contact-us-full form button {
    margin-top: 10px;
}

@media (max-width: 768px) {
    .contact-us-full__fields {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}

.contact-us-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.contact-us {
    display: flex;
    column-gap: 60px;
    margin-top: 20px;
}

.contact-us form,
.contact-us__location-block {
    flex: 1;
}

/* .contact-us form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start
} */

/*    .contact-us form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 10px;
        align-items: flex-start;
        align-content: flex-start
    }

        .contact-us form .field textarea {
            grid-column: 1 / -1;
        }*/

@media (max-width: 600px) {
    .contact-us form {
        grid-template-columns: 1fr;
    }
}

.contact-us__location-contact {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 20px;
}

.contact-us__location-contact p {
    margin-bottom: 10px;
}

.contact-us form {
    padding: 0;
}

.contact-us form input:not(input[type="submit"], input[type="checkbox"]),
.contact-us form textarea {
    width: 100%;
    box-sizing: border-box;
}

.contact-us form input:not(input[type="submit"]),
.contact-us form textarea {
    margin-bottom: 10px;
}

.contact-us form textarea {
    height: 163px;
}

.contact-us form label {
    margin-bottom: 6px;
}

.contact-us input[type="submit"] {
    margin-top: 20px;
}

.contact-us__map {
    margin-top: 20px;
}

.contact-us__location-google-links {
    display: grid;
    gap: 10px;
    align-self: center;
    margin: 0 auto;
}

@media (max-width: 361px) {
    .contact-us__location-google-links {
        margin: 0;
    }
}

.contact-us__location-google-links>a {
    text-decoration: none;
    font-size: 15px;
    color: var(--text);
    display: flex;
    align-items: center;
    column-gap: 7px;
}

.contact-us__location-google-links>a:hover {
    color: var(--blue);
}

.img-google-business {
    width: 72px;
}

.img-google-maps {
    width: 108px;
}

@media (max-width: 768px) {
    .contact-us {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .contact-us form {
        margin-bottom: 30px;
    }

    .contact-us__location-contact a {
        align-self: flex-end;
    }
}

.contact-us-img__text {
    /* min-height: 120px; */
}

/* Result */

.result h3,
.result p {
    margin-bottom: 10px;
}

.result a {
    display: block;
    margin-bottom: 20px;
}

/* differentiators slim widget */

.differentiators-slim {
    display: grid;
    grid-template-rows: auto auto 1fr;
    padding-top: 30px;
    padding-bottom: 30px;
}

.differentiators-slim__items {
    display: flex;
    justify-content: center;
    column-gap: 20px;
}

.differentiator-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.differentiator-item strong {
    margin-bottom: 0;
    font-size: 20px;
    font-weight: 700;
    width: 182px;
    line-height: 24px;
}

/* differentiators full widget */

.differentiators-full-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.differentiators-full {
    display: flex;
    justify-content: center;
    column-gap: 39px;
    margin-top: 20px;
}

.differentiator-full-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 20px 22px;
    flex: 1;
    max-width: 258px;
    box-sizing: border-box;
}

.differentiator-full-item p {
    margin-bottom: 8px;
}

.differentiator-full-item h3 {
    margin-bottom: 0;
    font-weight: 600;
    min-height: 44px;
}

.differentiator-full-item img {
    max-height: 120px;
}

@media (max-width: 1200px) {

    .differentiators-slim__items,
    .differentiators-full {
        flex-wrap: wrap;
    }

    .differentiator-item,
    .differentiator-full-item {
        flex-basis: calc(50% - 20px);
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {

    .differentiator-item,
    .differentiator-full-item {
        flex-basis: 100%;
    }
}

/* lightbox styles */

.lightboxContainer {
    display: grid;
    grid-template-columns: 30px auto 30px;
    align-items: center;
}

.lightboxNav {
    width: 30px;
    height: 30px;
}

.lightboxNav polygon {
    fill: var(--blue);
}

/* Image gallery content */

.image-gallery-content {
    max-height: 80vh;
    padding: 30px 0;
}

.image-gallery-content img {
    width: 90%;
    height: 470px;
    object-fit: contain;
    margin: 0 auto;
}

/* Google maps widget */
.google-maps {
    width: 100%;
    height: 400px;
}

.google-maps--big {
    height: 596px;
}

@media (max-width: 768px) {
    .google-maps {
        height: 251px;
    }

    .google-maps--big {
        height: 320px;
    }
}

/* Application Dialog */

#application-dialog form input:not([type="submit"], [type="checkbox"]) {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .dialog-description h2 {
        font-size: 32px;
    }
}

/* Google review widget */

.googleReview {
    padding-top: 30px;
    padding-bottom: 30px;
}

/* Form validation */
form .field-validation-error {
    color: var(--red);
    margin-bottom: 5px;
}

form .input-validation-error::placeholder {
    color: var(--red);
}

form .input-validation-error {
    border-color: var(--red);
}

.bare-bones {
    width: 50%;
    display: flex !important;
    column-gap: 5px;
    justify-content: center;
    padding: 0;
    margin: 0 0 30px 0;
}

.bare-bones input.form-control {
    width: auto;
    flex: 1;
}

.icon-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.icon-card {
    display: grid;
    grid-template-columns: 120px auto;
    align-items: center;
    gap: 22px;
    outline: 1px solid var(--grey);
    border-radius: 4px;
    color: var(--text);
    text-decoration: none;
    padding: 20px 20px 20px 25px;
}

.icon-card:hover {
    outline: 2px solid var(--orange);
    box-shadow: 0px 2px 30px 0px #0000001f;
}

.icon-card .h3 {
    margin-bottom: 0;
}

.icon-card:hover svg circle {
    fill: var(--orange);
}

@media (min-width: 768px) {
    .icon-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .icon-cards {
        grid-template-columns: repeat(3, 1fr);
        column-gap: 40px;
    }
}

.form-button.disabled {
    pointer-events: none;
    background: #ccc;
    color: #fff;
}

.processing {
    width: 30px;
    margin: 0 auto;
    display: none;
}

.processing svg {
    height: 32px;
    margin: 0 auto;
}

.content-widget {
    grid-column: full-width;
    padding: 30px 0;
    background: var(--white);
    color: var(--text);
}

.content-widget.Blue {
    background: var(--blue);
    color: var(--white);
}

.content-widget.Gradient {
    background: var(--full-gradiant-background);
    color: var(--white);
}

.content-widget__inner {
    max-width: clamp(350px, 100%, 1200px);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding: 0 20px;
}

.content-widget__inner h3 {
    margin-top: 25px;
}

.content-widget__inner *:first-child {
    margin-top: 0;
}

main>.content-widget,
#widgets>.content-widget {
    margin-bottom: 0;
}

ul[style*="list-style-type: image;"] {
    list-style-type: none !important;
}

ul[style*="list-style-type: image;"]>li {
    position: relative;
}

ul[style*="list-style-type: image;"]>li::before {
    content: "";
    position: absolute;
    left: -24px;
    top: 2px;
    height: 12px;
    width: 12px;
    background-image: url(/img/hexagon.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.rte-btn {
    position: relative;
    padding: 0;
    cursor: pointer;
    border: none;
    outline: none;
    display: inline-block;
    width: max-content;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 20px;
    font-weight: 800;
    background-color: #e25303;
    border-radius: 4px;
    text-align: center;
    text-decoration: none;
    font-size: 15px;
    cursor: pointer;

    a {
        border: none;
        outline: none;
        display: block;
        width: max-content;
        color: #fff;
        text-transform: uppercase;
        font-weight: 800;
        background-color: #e25303;
        text-align: center;
        text-decoration: none;
        font-size: 15px;
        cursor: pointer;
    }

    a::after {
        content: "";
        position: absolute;
        inset: 0;
    }
}

.rte-btn:hover {
    background: #037dba;
    background-position: 0;
    color: #fff;
    text-decoration: none;

    a {
        background-color: #037dba;
    }
}

.generic-page-section,
.in-the-media-section,
.customer-reviews-section,
.help-centre-section,
.text-widget {
    padding-top: 30px;
    padding-bottom: 30px;
}

.generic-page-section h1 {
    margin-bottom: 20px;
    margin-top: 0;
}

.help-centre-section h2 {
    margin: 0;
}

.text-widget *:first-child {
    margin-top: 0;
}

.text-widget h3 {
    margin-top: 25px;
}

.video-and-content-widget:after {
    content: "";
    display: table;
    clear: both;
}

.video-and-content-widget ul {
    list-style-position: inside;
}

.video-container {
    margin: 0 0 20px;
}

.video-container iframe {
    margin: 0 auto;
    display: block;
}

@media screen and (min-width: 980px) {
    .video-container {
        float: left;
        margin: 0 20px 20px 0;
    }

    .video-and-content-widget.right .video-container {
        float: right;
        margin: 0 0 20px 20px;
    }

    .video-and-content-widget.no-wrap .video-container {
        clear: both;
        float: none;
        overflow: hidden;
        margin: 0 0 30px;
    }
}