/* --------------------------------------------------------------
** CSS Variables
** -------------------------------------------------------------
*/

.testimonials-page-refresh {
    --color-white: #FFFFFF;
    --color-peach: #F8F2ED;
    --color-orange: #EA7F1E;
    --color-rust: #AD5F19;
    --color-green: #066D6D;
    --color-green-100: #378B8B;
    --color-light-teal: #C7E7E7;
    --text-color: #404A4F;
    -webkit-font-smoothing: antialiased;

    --section-padding: 60px;
    --section-padding-sm: 35px;
}

@media (min-width: 1200px) {
    .testimonials-page-refresh {
        --section-padding: 120px; 
    }
}

/* --------------------------------------------------------------
** Buttons
** -------------------------------------------------------------
*/
.btn-orange {
    background-color: var(--color-orange);
    color: var(--color-white);
}

.btn-green {
    background-color: var(--color-green);
    color: var(--color-white);
}

.testimonials-page-refresh .btn {
    padding: 0.625rem 2.75rem;
    text-decoration: none;
    width: fit-content;
    color: var(--color-white);
    position: relative;
    transition: all ease-in-out .5s;
}

.testimonials-page-refresh .btn:hover {
    opacity: .8;
}

a.btn.btn-white {
    background-color: var(--color-white);
    color: var(--color-orange);
}

.testimonials-page-refresh .btn + .btn {
    margin-top: 25px;
}

@media ( min-width: 992px ) {
    .testimonials-page-refresh .btn {
        margin-top: 25px;
    }
}

@media ( min-width: 1200px ) {
    .testimonials-page-refresh .btn {
        margin-top: 0;
    }

    .testimonials-page-refresh .btn + .btn {
        margin-top: 0;
        margin-left: 25px;
    }
}

/* --------------------------------------------------------------
** Utils
** -------------------------------------------------------------
*/

p a {
    color: var(--color-green);
    text-decoration: underline;
    font-weight: bold;
}

.fc-orange {
    color: var(--color-orange);
}

.fc-green {
    color: var(--color-green);
}

.fc-white {
    color: var(--color-white);
}

.section-padding {
    padding-block: var(--section-padding);
}

.section-padding--sm {
    padding-block: var(--section-padding-sm);
}

.sect-bg--white {
    background-color: var(--color-white);
}

.sect-bg--peach {
    background-color: var(--color-peach);
}

.sect-bg--light-teal {
    background-color: var(--color-light-teal);
}

.sect-bg--rust {
    background-color: var(--color-rust);
}

.section-flexible.testimonials__block.sect-bg--peach + .sect-bg--peach {
    padding-top: 0;
}

@media ( min-width: 1200px ) {
    .section-flexible.masthead__banner.sect-bg--peach + .testimonials__block.sect-bg--peach {
        padding-top: 0;
    }
} 

/* --------------------------------------------------------------
** Flexible Content - Masthead Banner
** -------------------------------------------------------------
*/

.section-flexible.masthead__banner {
    position: relative;
}

.section-flexible.masthead__banner .masthead__banner-text-inner .page-title {
    color: var(--color-orange);
    margin: 0;
}

.section-flexible.masthead__banner .masthead__banner-title h2 {
    color: var(--color-green);
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0;
}

.section-flexible.masthead__banner .masthead__banner-elements {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.section-flexible.masthead__banner .masthead__banner-elements-left {
    height: 391px;
    width: 207px;
    display: block;
    background: var(--color-light-teal);
    border-top-right-radius: 137px;
    border-bottom-right-radius: 47px;
}

.section-flexible.masthead__banner .masthead__banner-button {
    margin-top: 15px;
}

.section-flexible.masthead__banner .masthead__banner-arrow {
    margin-left: 50px;
    display: inline-block;
    margin-top: 10px;
}

.section-flexible.masthead__banner .masthead__banner-img {
    /* transform: translateX(150px); */
    border-radius: 47px 47px 147px 47px;
    overflow: hidden;
}

.section-flexible.masthead__banner .masthead__banner-img-elements-bottom {
  margin-bottom: 15px;
}

.section-flexible.masthead__banner .masthead__banner-img-elements-top > svg {
   margin-bottom: 2rem;
}

@media ( min-width: 1200px ) {
    .section-flexible.masthead__banner .masthead__banner-img-elements-bottom {
        position: absolute;
        margin-bottom: 0;
    }

    .section-flexible.masthead__banner .masthead__banner-img-elements-top > svg {
        margin-left: 150px;
     }

    .section-flexible.masthead__banner .masthead__banner-img {
        transform: translateX(150px);
    }

    .section-flexible.masthead__banner .masthead__banner-text-inner .page-title {
        font-size: 58px;
    }
}

/* --------------------------------------------------------------
** Flexible Content - Testimonials Section
** -------------------------------------------------------------
*/

.section-flexible.testimonials__block .testimonials__item + .testimonials__item {
    margin-top: 90px;
}

.section-flexible.testimonials__block .testimonials__item-inner {
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 70px 35px 35px 55px;
    border-radius: 47px;
    border-top-left-radius: 147px;
    position: relative;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item-inner,
.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonials__item-inner {
    height: 100%;
    min-height: auto;
}

.section-flexible.testimonials__block .testimonial__body {
    font-weight: 500;
}

.section-flexible.testimonials__block .testimonial__author {
    color: var(--color-green);
    margin-top: 12px;
}

.section-flexible.testimonials__block .testimonial__company  {
    display: block;
    color: var(--color-orange);
    font-weight: 700;
}

.section-flexible.testimonials__block .testimonials__item-quote {
    position: absolute;
    top: -65px;
    left: 30px;
    z-index: 1;
}

.section-flexible.testimonials__block .testimonial__footer {
    margin-top: auto;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item-inner {
    padding: 0;
    background: var(--color-light-teal);
    display: flex;
    align-items: center;
    gap: unset;
    max-width: 1088px;
    width: 100%;
    position: relative;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(odd) .testimonials__item-inner::after {
    content: '';
    background: var(--color-green-100);
    position: absolute;
    bottom: 0;
    right: -260px;
    border-radius: 47px 147px 47px 47px;
    display: block;
    padding: 75px 117px;
    display: none;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(even) {
    margin-bottom: 40px;
    margin-top: 70px;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(even) .testimonials__item-inner {
    margin-left: auto;
    border-radius: 47px 47px 147px 47px;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(even) .testimonial__footer {
    border-radius: 47px 47px 147px 47px;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(even) .testimonials__item-inner::before {
    content: '';
    background: var(--color-white);
    position: absolute;
    top: 0;
    left: -150px;
    border-radius: 47px 47px 47px 170px;
    display: block;
    padding: 50px 64px;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item-quote {
    top: -35px;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonial__body {
    color: var(--color-green);
    font-weight: 600;
    padding: 95px 35px 35px;
    flex-basis: 60%;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonial__footer {
    gap: unset;
    padding: 25px 35px;
    height: 100%;
    background: #E0F6F6;
    border-radius: 47px;
    width: 100%;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonial__author {
    margin: 0;
}

.section-flexible.testimonials__block .testimonials__row.is-row .testimonial__company {
    color: var(--color-green);
}

.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonials__item-quote {
    top: unset;
    bottom: 0;
    transform: scale(1.2);
}

.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonials__item-quote > svg * {
    fill: rgba(199,231,231,0.10);
}

.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonials__item-inner {
    padding: 0;
    background: #066D6D;
    border-top-left-radius: 47px;
    display: flex;
    align-items: center;
    gap: unset;
    width: 100%;
    position: relative;
}

.section-flexible.testimonials__block .testimonials__row.is-highlighted {
    margin-bottom: 3rem;
}

.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__body-inner {
    color: var(--color-white);
    padding: 35px;
    font-weight: 600;
}

.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__footer {
    gap: 10px;
    padding: 25px 35px;
    height: 100%;
    background: var(--color-green-100);
    border-radius: 47px;
    width: 100%;
}

.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__author,
.section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__company {
    color: var(--color-white);
}

@media ( min-width: 768px ) {
    .section-flexible.testimonials__block .testimonials__row .testimonial__footer {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
    }
}

@media ( min-width: 1025px ) {
    .section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item-inner,
    .section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonials__item-inner {
        flex-direction: row;
    }

    .section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__body {
        flex-basis: 60%;
    }

    .section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__body-inner {
        margin-left: auto;
        margin-right: auto;
        max-width: 770px;
        width: 100%;
    }

    .section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__footer {
        flex-basis: 40%;
        justify-content: flex-start;
        gap: 15px;
        width: 100%;
    }

    .section-flexible.testimonials__block .testimonials__row.is-row .testimonial__body  {
        padding: 25px;
    }

    .section-flexible.testimonials__block .testimonials__row.is-row .testimonial__footer {
        flex-basis: 40%;
        align-items: center;
        justify-content: center;
        padding: 15px 55px;
    }

    .section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(even) .testimonials__item-quote {
        top: unset;
        bottom: -50px;
        left: 40%;
        right: 50%;
        transform: translateX(-50%);
    }
    
    .section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(even) .testimonial__body {
        padding: 35px 35px 95px;
    }

    .section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__footer {
        align-items: center;
        justify-content: center;
    }

    .section-flexible.testimonials__block .testimonial__company  {
        font-size: 24px;
    }

    .section-flexible.testimonials__block .testimonial__body {
        line-height: 40px;
    }

    .section-flexible.testimonials__block .testimonials__row .testimonial__footer {
        display: flex;
        gap: 15px;
    }
    
    .section-flexible.testimonials__block  .testimonial__author {
        font-size: 36px;
    }
}

@media ( min-width: 1200px ) {
    .section-flexible.testimonials__block  .testimonial__body {
        font-size: 20px;
    }

    .section-flexible.testimonials__block .testimonials__item-inner {
        min-height: 500px;
        padding: 70px;
    }

    .section-flexible.testimonials__block .testimonials__row.is-row .testimonial__body {
        font-size: 24px;
        padding: 70px;
    }

    .section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__body {
        padding: 50px;
    }

    .section-flexible.testimonials__block .testimonials__row.is-highlighted .testimonial__body-inner {
        font-size: 48px;
        line-height: 60px;
    }

    .section-flexible.testimonials__block .testimonials__item:first-child {
        margin-top: 0;
    }

    .section-flexible.testimonials__block .testimonials__row:not(.is-row) .testimonials__item:nth-child(2) {
        margin-top: 105px;
    }
    
    .section-flexible.testimonials__block .testimonials__row:not(.is-row) .testimonials__item:nth-child(odd):not(:nth-child(-n+2)) {
        margin-top: 100px;
    }

    .section-flexible.testimonials__block .testimonials__row:not(.is-row) .testimonials__item:nth-child(even):not(:nth-child(-n+2)) {
        margin-top: 165px;
    }

    .section-flexible.testimonials__block .testimonials__row.is-row .testimonials__item:nth-child(odd) .testimonials__item-inner::after {
        display: block;
    }

    .section-flexible.testimonials__block .testimonials__row .testimonial__footer {
        gap: 30px;
    }
}

/* --------------------------------------------------------------
** Flexible Content - Text + Images Call To Action
** -------------------------------------------------------------
*/

.section-flexible.text-image__cta .text-image__cta-col {
    position: relative;
}

.section-flexible.text-image__cta .top-left__img {
    border-radius: 147px 47px 147px 47px;
    max-width: 444px;
    width: 100%;
}

.section-flexible.text-image__cta .text-image__cta-heading {
    color: var(--color-white);
}

.section-flexible.text-image__cta .text-image__cta-subheading {
    color: var(--color-white);
}

.section-flexible.text-image__cta .text-image__cta-image {
    position: relative;
}

.section-flexible.text-image__cta .text-image__cta-images::after {
    content: '';
    background: rgba(234,127,30,0.50);
    border-radius: 47px 47px 147px 47px;
    position: absolute;
    top: 0;
    left: 0;
    max-width: 484px;
    width: 100%;
    height: 100%;
}

.section-flexible.text-image__cta .text-image__cta-images img {
    max-width: 100%;
    height: auto;
}

.section-flexible.text-image__cta .right__img--small {
    max-width: 260px;
}

.section-flexible.text-image__cta .right__img--small img {
    border-radius: 47px 147px 47px 47px;
}

.section-flexible.text-image__cta .right__img--large {
    max-width: 490px;
    position: relative;
}

.section-flexible.text-image__cta .right__img--large img {
    border-radius: 47px 47px 147px 47px;
}

.section-flexible.text-image__cta .text-image__cta-images-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.section-flexible.text-image__cta .text-image__cta-text-inner {
    margin-top: 2rem;
}

.section-flexible.text-image__cta .text-image__cta-buttons {
    margin-bottom: 2rem;
    margin-top: 2rem;
}

@media ( min-width: 1200px ) {
    .section-flexible.text-image__cta.section-padding {
        padding: 40px 0;
    }
    
    .section-flexible.text-image__cta .text-image__cta-text-inner {
        margin-top: 10rem;
    }

    .section-flexible.text-image__cta .text-image__cta-buttons {
        margin-bottom: 0;
    }

    .section-flexible.text-image__cta .text-image__cta-heading {
        font-size: 58px;
        line-height: 65px;
    }

    .section-flexible.text-image__cta .text-image__cta-subheading {
        font-size: 36px;
        line-height: 47px;
    }

    .section-flexible.text-image__cta .text-image__cta-text {
        align-self: center;
    }

    .section-flexible.text-image__cta .text-image__cta-images-wrapper {
        transform: translate(100px, -50px);
    }

    .section-flexible.text-image__cta .right__img--large::before {
        content: '';
        background: var(--color-light-teal);
        position: absolute;
        top: -30px;
        left: -180px;
        border-radius: 47px 47px 47px 137px;
        display: block;
        width: 135px;
        height: 92px;
    }


    .section-flexible.text-image__cta .top-left__img {
        position: absolute;
        top: -90px;
        left: 0;
    }

    .section-flexible.text-image__cta .text-image__cta-images-arrow {
        position: absolute;
        bottom: -50px;
        left: -50%;
    }
}

/* Testimonials Edits */
.masthead__banner-text-inner {
	margin-top: 20px;
}

@media (min-width: 1200px) {
	.masthead__banner-text-inner {
		margin-top: 10px;
	}

	.masthead__banner-img-elements-top {
		margin-top: -80px
	}

	.masthead__banner-img {
		max-width: 400px;
	}
}