

/* ------------------------------------------------------------------- */
/* LAYOUT */
/* ------------------------------------------------------------------- */
#container-wrapper-defgh {
    max-width: none;
    overflow: visible;
    padding: 0!important;
}

#container-e,
#container-f {
    text-align: left;
    padding-top: 0;
    padding-bottom: 0;
}
#container-f {
    padding: 0 !important;
    width: 100%;
}
#container-g {

}


/*  content image */
.image-bg.aboutus1-bg {
    background: url(../grfx/homepage/hero.jpg) no-repeat center center;
    background-image: url(../grfx/jpg/about-hero-2.jpg), none;
    background-size: cover !important;
}
.image-bg.aboutus2-bg {
    background: url(../grfx/homepage/hero.jpg) no-repeat center center;
    background-image: url(../grfx/jpg/abt-hero.jpg), none;
    background-size: cover !important;
}


/*  tab */
div.tabbed-content.tabbed-content-locations .max-width-container .center-section {
    position: relative;
    width: 100%;
}
div.tabbed-content.tabbed-content-locations .inline-image-container {
    top: 0;
    left: calc(50% - 600px - 100px);
    max-width: 700px;
}
    div.tabbed-content.tabbed-content-locations .inline-image-container img {
        max-width: 100%;
        height: auto;
        -webkit-border-radius: var(--radius-box-24);
        -moz-border-radius: var(--radius-box-24);
        border-radius: var(--radius-box-24);
    }
div.tabbed-content.tabbed-content-locations .view-all-envelope {
    margin-left: 0;
    margin-top: 30px;
    justify-content: flex-start;
}

div.tabbed-content.tabbed-content-locations .tab-content {
    margin-top: 100px;
    margin-bottom: 100px;
}

    div.tabbed-content.tabbed-content-locations .tab-content h3 {
        font-weight: 300 !important;
        margin-bottom: 20px !important;
    }
/*  fact & figures */
/*.facts-and-figures-container {
    max-width: 1220px;
    margin: 60px auto;
}

.facts-and-figures-envelope {
    display: flex;
    align-items: center;
    align-content: center;
    flex-direction: row;
    column-gap: 133px;
    padding: 38px 0;
}


    .facts-and-figures-envelope h3 {
        max-width: 190px;
        margin-bottom: 0;
        white-space: nowrap;
    }

    .facts-and-figures-envelope .standard-column-1 {
        max-width: var(--max-width-container-content);
        margin: 0 auto;
        padding: 0;
        width: calc(100% - 190px - 65px);
    }

ul.counter-grid,
ul.counter-grid li {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

ul.counter-grid {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
    column-gap: 50px;
}

    ul.counter-grid li {
        position: relative;
    }

        ul.counter-grid li:NOT(:first-child):before {
            content: "";
            width: 0px;
            height: 180%;
            border-left: 1px solid var(--text-white);
            opacity: 0.2;
            position: absolute;
            display: block;
            left: -43px;
            top: -40%;
        }

.counter-div {
    display: -webkit-flex;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    align-content: center;
    row-gap: 3px;
    max-width: 150px;
    margin: auto;
}

ul.counter-grid li:first-child .counter-div {
    width: 110px;
    max-width: 110px;
}

ul.counter-grid li:nth-child(2) .counter-div {
    width: 135px;
    max-width: 135px;
}

ul.counter-grid li:nth-child(3) .counter-div {
    width: 90px;
    max-width: 90px;
}

ul.counter-grid li:nth-child(4) .counter-div {
    width: 150px;
    max-width: 150px;
}

ul.counter-grid li:last-child .counter-div {
    width: 95px;
    max-width: 95px;
}

.counter-div .fact-name,
.counter-div .fact-figure {
    display: block;
    text-align: center;
}

.counter-div .fact-figure {
    font-weight: 400;
    font-size: 47px;
    font-size: 4.7rem;
    line-height: 50px;
    line-height: 5.0rem;
}

.counter-div .fact-name {
    font-size: 16px;
    font-size: 1.6rem;
    letter-spacing: 1px;
}*/


/*  timeline */

/*  heading section */
h2 {
    letter-spacing: -.03em;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 56px;
    font-weight: 500;
    line-height: 1.2;
}
.container {
    /*width: 90vw;
    max-width: 1360px;*/
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.timeline-main_heading-wrapper {
    max-width: 640px;
    /*color: var(--p-main);*/
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.padding-vertical-xlarge {
    padding-top: 100px;
    padding-bottom: 50px;
}

.margin-bottom-xlarge {
    margin-bottom: 56px;
}
.margin-bottom-medium {
    margin-bottom: 32px;
}
.margin-bottom-small {
    margin-bottom: 24px;
}
.no-margin-bottom {
    margin-bottom: 0;
}
.timeline-footer .padding-vertical-xlarge {
    padding-top: 50px;
    padding-bottom: 100px;
}

/* timeline section  */
#container-wrapper-defgh, 
#container-wrapper-cdefgh, 
#body-wrapper, 
#site-wrapper {
    overflow: unset;
}
.timeline-wrapper {
    overflow: unset;
}
.section-timeline {
    /*z-index: -3;*/
    /*background-color: var(--light-grey);*/
    position: relative;
}
.timeline_component {
    max-width: 1120px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    position: relative;
}

/*  progress */
.timeline_progress {
    z-index: -2;
    width: 3px;
    height: 100%;
    background-color: var(--footer-bg-grey);
    position: absolute;
}

.timeline_progress-bar {
    z-index: -1;
    width: 3px;
    height: 50vh;
    background-color: var(--button-red);
    background-image: none;
    position: fixed;
    top: 0;
    bottom: 50vh;
    left: auto;
    right: auto;
    opacity: 0;
}
.is-visible .timeline_progress-bar,
.is-visible .timeline_progress {
    z-index: 0;
}

    .is-visible .timeline_progress-bar {
        opacity:1;
    }
    /*  timeline item */
    .timeline_item {
        z-index: 2;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        grid-template-rows: auto;
        grid-template-columns: 1fr 180px 1fr;
        grid-auto-columns: 1fr;
        padding-top: 80px;
        padding-bottom: 80px;
        display: grid;
        position: relative;
    }
.timeline_left {
    text-align: right;
    justify-content: flex-end;
    align-items: stretch;
}
.timeline_date-text {
    color: var(--p-main);
    font-weight: 400;
    font-size: 46px;
    font-size: 4.6rem;
    line-height: 56px;
    line-height: 5.6rem;
    position: -webkit-sticky;
    position: sticky;
    top: 50vh;
}
.timeline_centre {
    color: var(--footer-bg-grey);
    justify-content: center;
    display: flex;
}
.timeline_circle {
    width: 15px;
    height: 15px;
    max-height: 15px;
    max-width: 15px;
    min-height: 15px;
    min-width: 15px;
    background-color: var(--button-red);
    border-radius: 100%;
    position: -webkit-sticky;
    position: sticky;
    top: 50vh;
    box-shadow: 0 0 0 8px var(--light-grey);
}
.timeline_text {
    font-weight: 500;
    font-size: 25px;
    font-size: 2.5rem;
    line-height: 32px;
    line-height: 3.2rem;
}
.timeline_image-wrapper {
    background-image: linear-gradient(138deg, var(--p-main), rgba(0, 0, 0, 0) 28%), url('../grfx/homepage/placeholder.jpg');
    background-position: 0 0, 0 0;
    background-size: auto, cover;
    -webkit-border-radius: var(--radius-box-24);
    -moz-border-radius: var(--radius-box-24);
    border-radius: var(--radius-box-24);
    overflow: hidden;
    max-width: 420px;
}
    .timeline_image-wrapper.smaller-img {
        max-width: 300px;
        margin-left:auto;
        margin-right:auto;
    }

.timeline_image-wrapper img {
    max-width: 100%;
    vertical-align: middle;
    display: inline-block;
}

.inline-block {
    display: inline-block;
}
.timeline_link {
    /*opacity: .6;
    color: var(--text-white);*/
    /*letter-spacing: .8px;*/
    /*text-transform: uppercase;*/
    /*border-radius: 8px;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;*/
    text-decoration: none;
    transition: opacity .3s;
    display: flex;
    color: var(--p-main);
    font-size: 16px;
    font-size: 1.6rem;
    line-height: 26px;
    line-height: 2.6rem;
    font-weight: 400;
    padding-right: 30px;
    background: url(../grfx/svg/right-arrow-pink.svg) no-repeat right center;
    background-image: url(../grfx/svg/right-arrow-pink.svg), none;
    background-size: 20px;
    width: calc(100% - 30px);
}

    .timeline_link:hover {
        color: var(--p-main)!important;
        text-decoration:underline!important;
    }

    .timeline_link img {
        display: none;
    }

    .text-colour-lightgrey {
        color: var(--p-main);
    }

.timeline_quote-wrapper {
    border: 2px solid var(--dark-red);
    /*border-radius: 16px;*/
    -webkit-border-radius: var(--radius-box-24);
    -moz-border-radius: var(--radius-box-24);
    border-radius: var(--radius-box-24);
    align-items: flex-start;
    padding: 24px;
    display: flex;
    background-color: var(--dark-red);
    flex-direction: column;
}
    .timeline_quote-wrapper .icon {
        width: 45px;
        height: 45px;
        -webkit-border-radius: var(--radius-circle);
        -moz-border-radius: var(--radius-circle);
        border-radius: var(--radius-circle);
        background-color: #d6d6d6;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
.timeline_quote-text-wrapper {
    flex: 1;
}
.timeline_quote {
    color: var(--text-white);
    margin-top: 15px;
    font-size: 17px;
    font-size: 1.7rem;
    line-height: 25px;
    line-height: 2.5rem;
    margin-bottom: 5px;
}
.timeline_quote-title {
    /* color: var(--p-main);
    font-size: 14px;
    font-weight: 500;*/ font-size: 16px;
    font-size: 1.6rem;
    margin-top: -3px;
    color: var(--text-white);
    margin-top: 15px;
    margin-bottom: 10px;
}
.timeline_quote-subtitle {
    color: #bca7ae;
    font-weight: 500;
}

/*  timeline - fading top/bottom */
.overlay-fade-bottom {
    height: 80px;
    background-image: linear-gradient(0deg, var(--light-grey), rgba(10, 10, 10, 0));
    position: absolute;
    top: auto;
    bottom: 0%;
    left: 0%;
    right: 0%;
}
.overlay-fade-top {
    height: 80px;
    background-image: linear-gradient(var(--light-grey), rgba(10, 10, 10, 0));
    position: absolute;
    top: 0%;
    bottom: auto;
    left: 0%;
    right: 0%;
}

/*  timeline - bottom section */

.timeline_right,
.timeline_left {
    will-change: opacity;
    opacity: 0.25;
    -webkit-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out;
}

.timeline_circle {
    will-change: background;
    background-color: var(--footer-bg-grey);
}
.timeline_item.is-visible .timeline_right,
.timeline_item.is-visible .timeline_left {
    opacity: 1;
}

.timeline_item.is-visible .timeline_circle {
    will-change: background;
    background-color: var(--button-red);
}


/*  hide line */

div#container-b {
    z-index: 50;
}
div#section-a-wrapper,
div#section-d-wrapper,
.section-white {
    z-index: 50;
    position: relative;
}
div#container-c {
    z-index: 50;
    background-color: var(--text-white);
    position: relative;
}
div#container-wrapper-vw {
    overflow: hidden;
}
#container-x {
    background-color: var(--text-white);
}
.timeline-footer,
.section-timeline-heading {
    background-color: var(--light-grey);
    z-index: 40;
    position: relative;
}

/*  overlay */
/*.overlay-fade-bottom {
    bottom:25vh;
}
.timeline-footer {
    margin-top: -25vh;
    z-index: 99;
}
.timeline_component:after {
    content: "";
    position: sticky;
    display: block;
    width: 100%;
    height: 25vh;
    top: auto;
    bottom: 0%;
    left: 0%;
    right: 0;
    z-index: 39;
    background: linear-gradient(to top, rgba(243, 243, 243, 0.8), 42%, rgb(243, 243, 243, 0));
}*/