/* ==== PAGE BREAK F ==== */
.break-fold-f{
    height: 0px;
    position: relative;
    z-index: 5;
}

.break-fold-f-wrapper {
    width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    transform: translateY(-50%);
    margin-bottom: -128px;
    box-shadow: 0px 0px 15px 5px rgb(0 0 0 / 20%);
    z-index: 100;
    position: relative;
    
}

.break-fold-f-item {
    flex: 0 0 calc(100% / 3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 10px;
    box-sizing: border-box;
    position: relative;
    background: var(--light-blue);
    color: white;
    gap: 20px;
    align-items: stretch;
    cursor: pointer;
    transition: all .5s ease;
    height: 100%;
}

.break-fold {
    position: relative;
    z-index: 4;
}

.break-fold-f-content p {
    margin: 0px;
}

.break-fold-f-item i {
    font-size: 40px;
    line-height: 40px;
}

.break-fold-f-icon {
    position: relative;
    width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 0 0 100px;
    padding: 10px;
    box-sizing: border-box;
    opacity: 0.5;
    transition: all .5s ease;
}

.break-fold-f-item:hover .break-fold-f-icon, li.is-active .break-fold-f-item .break-fold-f-icon{
transform: scale(1.15)
}


.break-fold-f-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.break-fold-f-content p.bold {
    font-family: 'Oswald';
    text-transform: uppercase;
    font-size: 24px;
    line-height: 32px;
}

.break-fold-f-content p {
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    position: relative;
    z-index: 4;
}

.break-fold-f-content {
    padding: 20px 20px;
    box-sizing: border-box;
    opacity: 0.5;
    transition: all .5s ease;
}

.break-fold-f-item::before{
    background: url('/wp-content/uploads/2024/06/farrington-fold1break-background.jpg');
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    transition: all .5s ease;
    background-size: cover;
}

.break-fold-f-item:hover::before, li.is-active .break-fold-f-item::before{
    opacity: 1;
}

li.is-active .break-fold-f-item, .break-fold-f-item:hover {
    transform: scale(1);
    z-index: 3;
    box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2);
}

.break-fold-f-item:hover *, li.is-active .break-fold-f-item * {
    opacity: 1;
}

.fold1-background {
    max-height: 600px;
    overflow: hidden;
    position: relative;
	height: 500px;
}

.fold1-background img:first-child {
    position: relative;
}

.fold1-background img.show {
    opacity: 1;
}

.fold1-background img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: all .5s ease;
}

/**FOLD2**/

/*CONTENT FOLD C*/
.content-fold-c-wrapper {
    display: flex;
    align-items: stretch;
    padding: 250px 0px 150px;
    gap: 40px;
    justify-content: flex-end;
    flex-direction: row-reverse;
    position: relative;
    overflow: hidden;
    width: calc(50% + 100px);
}

.content-fold-c-img img {
    height: 100%;
    object-fit: cover;
}

.content-fold-c-img {
    position: absolute;
    width: calc(50% - 100px);
    height: 100%;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    overflow: visible;
}

.content-fold-c-img img {
    height: 100%;
    object-fit: cover;
    object-position: left;
}

.content-fold-c-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding-right: 100px;
}

.content-fold-c {
    /* background: linear-gradient(115deg, var(--dark-blue) 45%, var(--light-blue)); */
    position: relative;
    color: white;
    overflow: hidden;
}


.content-fold-c-content .title {
    margin-bottom: 20px;
}

.content-fold-c-img img:not(.base) {
    position: absolute;
    bottom: 0px;
    left: 0px;
    object-fit: cover;
    object-position: left;
}

.content-fold-c-content-inner .subtitle {
    padding-bottom: 10px;
    border-bottom: solid 2px #ffffff77;
}

.content-fold-c::before {
    width: 500px;
    height: 550px;
    content: '';
    position: absolute;
    top: -130px;
    left: -210px;
    background: url(/wp-content/uploads/2024/02/lightening1.png);
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(-45deg);
    transform-origin: top center;
}

.content-fold-c-wrapper::after {
    width: 500px;
    height: 550px;
    content: '';
    position: absolute;
    bottom: -260px;
    right: 0px;
    background: url(/wp-content/uploads/2024/02/lightening1.png);
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(135deg);
}

/**Fold3**/
.module-fold-c.alt {
    padding: 200px 0px;
}

.module-fold-c .row-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 40px;
}

.module-fold-c {
    padding: 100px 0px;
    /* background: var(--dark-purple); */
    position: relative;
}

.module-fold-c-item-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 900px;
    width: 900px;
}

.module-fold-c-item-wrapper ul{
    display: flex !important;
    flex-wrap: wrap;
}

.module-fold-c-item-wrapper li{
    flex: 0 0 50%;
    position: relative;
    /* min-height: 300px; */
    display: flex;
    align-items: center;
    padding: 0px;
    cursor: pointer;
    box-sizing: border-box;
    height: 50%;
}

.module-fold-c-item {
    /* min-height: 300px; */
    display: flex;
    align-items: center;
    padding: 30px;
    cursor: pointer;
    box-sizing: border-box;
    height: 50%;
}


.module-fold-c-item-content p {
    color: white;
    text-align: center;
    margin: 0;
}

.module-fold-c-item-content p.small-title {font-family: 'Oswald';text-transform: uppercase;font-size: 20px;line-height: 24px;letter-spacing: 1px;margin-bottom: 10px;}

.module-fold-c-item-content {
    padding: 50px 40px;
    box-sizing: border-box;
    position: relative;
}

.module-fold-c-item-img {
    position: absolute;
    top: 65px;
    left: 35px;
    z-index: 3;
    width: 60px;
    height: 60px;
    transform: translate(-50%, -50%);
    padding: 10px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    background: #1175b7;
    border-radius: 10px;
}

.module-fold-c-item-content::before {
    width: 100%;
    height: 100%;
    content: '';
    border: solid 2px white;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 30px;
    transition: all .5s ease;
}



.module-fold-c-item-content::after {
    width: 100%;
    height: 100%;
    content: '';
    border: solid 2px white;
    top: 0;
    left: 0;
    position: absolute;
    border-radius: 30px;
    transition: all .5s ease;
}

.module-fold-c-item:hover .module-fold-c-item-content::before{
    box-shadow: 0px 0px 15px 2px #ffffff66;
}

.module-fold-c-item:hover .module-fold-c-item-content::after{
    box-shadow: inset 0px 0px 15px 2px #ffffff66;
}

.module-fold-c-wrapper {
    flex: 0 0 370px;
    color: white;
}

.module-fold-c-wrapper .subtitle {
    padding-bottom: 10px;
    border-bottom: solid 2px #ffffff77;
}




/**BLOCK**/
.block-fold-f {
    position: relative;
    padding: 70px 0px;
}

.block-fold-f-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.block-fold-f-background img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(1);
    position: relative;
    opacity: 0;
    transition: all .5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.block-fold-f-background img.show{
    opacity: 1;
}

.block-fold-f-wrapper {
    display: flex;
    position: relative;
    z-index: 3;
    justify-content: space-between;
}

.block-fold-f-background::before {
    width: 100%;
    height: 100%;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: var(--dark-blue);
    opacity: 0.85;
    z-index: 3;
}

.block-fold-f::before {
    width: 500px;
    height: 550px;
    content: '';
    position: absolute;
    top: -130px;
    left: -210px;
    background: url(/wp-content/uploads/2024/02/lightening1.png);
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(-45deg);
    transform-origin: top center;
    z-index: 4;
}

.block-fold-f::after {
    width: 500px;
    height: 550px;
    content: '';
    position: absolute;
    bottom: -260px;
    right: 0px;
    background: url(/wp-content/uploads/2024/02/lightening1.png);
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(135deg);
    z-index: 4;
}

.block-fold-f-icon {
    height: 200px;
    width: 200px;
    margin-bottom: 30px;
    position: relative;
    z-index: 4;
}

.block-fold-f-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: white;
    padding: 40px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    margin: 0px 20px;
    max-width: 400px;
}

.block-fold-f-content p.bold {
    font-family: 'Oswald';
    text-transform: uppercase;
    font-size: 24px;
    line-height: 32px;
}

.block-fold-f-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.block-fold-f-item::before {
    width: 100%;
    height: 100%;
    content: '';
    background: #ffffff33;
    top: 50px;
    left: 0;
    --mask: linear-gradient(to bottom, 
      rgba(0,0,0, 1) 0,   rgba(0,0,0, 1) 40%, 
      rgba(0,0,0, 0) 95%, rgba(0,0,0, 0) 0
  ) 100% 50% / 100% 100% repeat-x;
    position: absolute;
    z-index: -1;
    -webkit-mask: var(--mask);
    mask: var(--mask);
    border: solid 5px #ffffff55;
    border-radius: 20px;
    opacity: 0;
    transition: all .5s ease;
    box-sizing: border-box;
}

.block-fold-f-item:hover::before {
    opacity: 1;
    top: 0;
}

.block-fold-f-content {
    position: relative;
    z-index: 4;
}

/**MODULES**/
.alt .module-fold-c-item-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    width: 960px;
    height: 100%;
    flex: 0 0 auto;
    justify-content: flex-end;
}

.module-fold-c.alt .row-container {
    flex-direction: row;
}

.alt .module-fold-c-item-content {
    padding: 0;
    position: absolute;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    z-index: 3;
    left: 20px;
    bottom: 10px;
}

.alt .module-fold-c-item-content::before {
    content: unset;
}

.alt .module-fold-c-item-content::after {
    content: unset;
}

.alt .module-fold-c-item-img {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.alt .module-fold-c-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all .5s ease;
    position: relative;
}

.alt .module-fold-c-item:hover .module-fold-c-item-img img {
    transform: scale(1.1);
    
}

.alt .module-fold-c-item {
    padding: 10px;
    flex: 0 0 33%;
    position: relative;
    height: 100%;
}

.alt .module-fold-c-item-img::before {
    width: calc(100% - 0px);
    height: calc(100% - 0px);
    position: absolute;
    top: 0px;
    left: 0px;
    background: black;
    content: '';
    opacity: 0.5;
    transition: all .5s ease;
    z-index: 3;
}

.alt .module-fold-c-item:hover .module-fold-c-item-img::before {
    opacity: 0.3;
}

/**CASE STUDIES**/
.case-studies-fold {
    padding: 70px 0px;
}

.case-study-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-studies-wrapper {
    display: flex;
    justify-content: center;
    align-items: stretch;
    position: relative;
    z-index: 5;
}

.case-study-content {
    margin: 40px 0px;
    padding: 60px;
    background: #ffffff17;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
    /* box-shadow: 0px 0px 10px 5px rgba(0,0,0,0.2); */
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.case-study-image {
    flex: 0 0 590px;
}

.case-study-header {
    display: flex;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    border-bottom: solid 2px #ffffff77;
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.case-study-header * {
    margin: 0;
}

.case-studies-fold{
    position: relative;
    overflow: hidden;
    /* background: linear-gradient(115deg, var(--dark-blue) 55%, #2d5697); */
}

.case-studies-fold::before {
    width: 500px;
    height: 550px;
    content: '';
    position: absolute;
    top: 0px;
    left: 1270px;
    background: url(/wp-content/uploads/2024/02/lightening1.png);
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(35deg);
    transform-origin: top center;
    z-index: 4;
}

.case-studies-fold::after {
    width: 500px;
    height: 550px;
    content: '';
    position: absolute;
    bottom: -260px;
    right: 1470px;
    background: url(/wp-content/uploads/2024/02/lightening1.png);
    opacity: 0.2;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(135deg);
    z-index: 4;
}

.case-study-header .readmore {
    margin-right: 30px;
}

.case-study-body .readmore {
    margin-top: 20px;
}

/**REVIEWS**/
div#fold4-slider {
    height: 100%;
    display: flex;
}
ul#fold4-slider-list {
    flex-wrap: nowrap;
    display: block !important;
}

#fold4-slider #fold4-slider-track{
    --mask: linear-gradient(to bottom, 
    rgba(0,0,0, 0.2) 0%,
      rgba(0,0,0, 1) 50%,
        rgba(0,0,0, 0.2) 100%);
    -webkit-mask: var(--mask);
    mask: var(--mask);
}

.review-item {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 30px;
    color: white;
}

#fold4-slider li {
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-icon {
    height: 100px;
    display: block;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 100px;
    border: solid 3px var(--light-purple);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: auto auto;
}

.review-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.review-name {
    flex: 0 0 100px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.review-name p {
    margin: 0;
}

.review-name p:first-of-type {
    font-size: 20px;
    margin-bottom: 5px;
}

.review-break {
    flex: 0 0 50px;
    position: relative;
    display: flex;
    align-items: center;
}

.review-break i {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #615d76;
    border: solid 2px white;
    box-sizing: border-box;
    border-radius: 50%;
    position: relative;
}

.review-break::before {
    width: 2px;
    height: 120px;
    top: 50%;
    left: 50%;
    position: absolute;
    transform: translate(-50%, -50%);
    background: white;
    content: '';
}

.review-content {
    padding: 40px;
    box-sizing: border-box;
}


#fold4-slider .splide__pagination {
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-right: 40px;
    padding: 0;
    width: auto;
}

#fold4-slider .splide__pagination button {
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: solid 3px white;
    border-radius: 50%;
    background: none;
    transition: all .5s ease;
    cursor: pointer;
}

#fold4-slider .splide__pagination button.is-active, #fold4-slider .splide__pagination button:hover {
    box-shadow: 0px 0px 5px 1px #fff;
}

#fold4-slider .splide__pagination li {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 1 auto !important;
    height: auto !important;
}

#fold4-slider .splide__pagination li::before {
    content: '';
    height: 60px;
    display: block;
    width: 2px;
    background: white;
    margin: 10px auto;
    min-width: unset;
}

#fold4-slider .splide__pagination li:first-of-type::before {
    content: unset;
}

.splide__pagination {
    display: flex;
    flex-direction: row;
    gap: 0px;
    margin-right: 0px;
    padding: 0;
    flex-wrap: nowrap !important;
    width: 100%;
}

.splide__pagination button {
    width: 20px;
    height: 20px;
    box-sizing: border-box;
    border: solid 3px white;
    border-radius: 50%;
    background: none;
    transition: all .5s ease;
    cursor: pointer;
}

.splide__pagination button.is-active, #fold4-slider .splide__pagination button:hover {
    box-shadow: 0px 0px 5px 1px #fff;
}

.splide__pagination li {
    position: relative;
    display: flex;
    flex-direction: row;
    flex: 0 0 auto !important;
    width: auto !important;
}

.splide__pagination li::before {
    content: '';
    height: 2px;
    display: block;
    background: white;
    margin: 10px;
    flex: 0 1 60px;
    min-width: 20px;
}

.splide__pagination li:first-of-type::before {
    content: unset;
}











.map-fold1-wrapper {
    margin-top: 129px;
}

.callout-banner{
    background: url('/wp-content/uploads/2024/06/farrington-fold1break-background.jpg');
    max-width: 1380px;
    margin: 20px auto;
    background-size: cover;
}

div#module-c-splide-track {
    overflow: visible;
    width: 100%;
}



.module-fold-c.alt .readmore::before,
.case-studies-fold .readmore::before,
.callout-3 .readmore::before{
    background: var(--dark-blue);
}

.module-fold-c.alt .readmore::after,
.case-studies-fold .readmore::after,
.callout-3 .readmore::after{
    color: white;
    -webkit-text-fill-color: white;
}

.module-fold-c.alt .readmore,
.case-studies-fold .readmore,
.callout-3 .readmore{
    margin: 0;
    margin-right: 30px;
    color: var(--dark-blue);
    background: none;
    -webkit-text-fill-color: var(--dark-blue);
    text-decoration: none !important;
}

.case-studies-fold .gradient-text {
    -webkit-text-fill-color: var(--dark-blue);
}

.module-fold-c.alt.reviews .gradient-text {
    -webkit-text-fill-color: var(--dark-blue);
}

.module-fold-c.alt.reviews p {
    -webkit-text-fill-color: var(--dark-blue);
}

.callout-3-bot a {
    color: var(--dark-blue);
}

.module-fold-c.alt .gradient-text {
    background: var(--dark-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
