﻿.image-text + .image-text {
    padding-top: 0;
}

    .image-text .text__title,
    .image-text .text__text {
        max-width: 350px;
    }

    .image-text .text__icon {
        color: #00E6A1;
        padding-bottom: 2rem;
    }

        .image-text .text__icon svg {
            width: 3.2rem;
            height: 3.2rem;
        }

@media (min-width: 768px) {
    .image-text .text__icon svg {
        width: 5rem;
        height: 5rem;
    }
}

.image-text .text__footer {
    display: flex;
    width: 100%;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

@media (min-width: 992px) {
    .image-text .text__footer {
        position: absolute;
        left: 0;
        bottom: 5.5rem;
        padding-top: 0;
        padding-bottom: 4rem;
    }
}

@media (min-width: 1400px) {
    .image-text .text__footer {
        bottom: 9.5rem;
    }
}

@media (min-width: 1500px) {
    .image-text .text__footer {
        bottom: 11.5rem;
    }
}

.image-text .text-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.theme-1 .text-container {
    padding: 4rem 3.6rem 6.6rem 3.6rem;
}

@media (min-width: 768px) {
    .theme-1 .text-container {
        padding: initial;
    }
}

.theme-2 .text-container {
    padding: 6.6rem 3.6rem 3.6rem 3.6rem;
}

@media (min-width: 768px) {
    .theme-2 .text-container {
        padding-top: 5rem;
        padding-left: 7rem;
        padding-right: 1rem;
    }
}

@media (min-width: 992px) {
    .theme-2 .text-container {
        padding-left: 10rem;
        padding-right: 10rem;
    }
}

@media (min-width: 1400px) {
    .theme-2 .text-container {
        padding-left: 12rem;
        padding-right: 12rem;
    }
}

.theme-3 .text-container {
    padding-bottom: 6.6rem;
}

@media (min-width: 768px) {
    .theme-3 .text-container {
        padding-bottom: initial;
    }
}

.image-text .text {
    width: 100%;
}

.image-text .image {
    position: relative;
    height: 100%;
    width: 100%;
}

    .image-text .image:before {
        display: block;
        content: '';
    }

.theme-1.image-text .image:before,
.theme-2.image-text .image:before {
    padding-bottom: 95%;
}

.theme-3.image-text .image:before {
    padding-bottom: 74.68%;
}

.image-text .image__text-container {
    transform: rotate(90deg);
    width: 300px;
    transform-origin: top left;
}

.image-text .image__text {
    position: absolute;
    top: 60px;
    right: 20px;
    z-index: 1;
    width: 18px;
    text-transform: uppercase;
    color: white;
    display: none;
}

@media (min-width: 768px) {
    .image-text .image__text {
        display: block;
    }
}

.image-text .image__container {
    height: 100%;
}

@media (min-width: 992px) {
    .image-text .image__container {
        padding-top: 0;
    }
}

.theme-3 {
    padding-left: 3rem;
    padding-right: 3rem;
}

.theme-3 .text-container {
    justify-content: center;
    text-align: center;
}

@media (min-width: 576px) {
    .theme-3 .col--text {
        margin: 0 auto;
    }
}

@media (min-width: 768px) {
    .theme-3 {
        padding-left: initial;
        padding-right: initial;
    }

    .theme-3 .col--text {
        margin: initial;
    }

    .theme-3 .text-container {
        justify-content: left;
        text-align: left;
        padding-left: 5rem;
        padding-right: 5rem;
    }
}

@media (min-width: 992px) {
    .theme-3 .text-container {
        padding-left: 7rem;
        padding-right: 7rem;
    }
}

@media (min-width: 1200px) {
    .theme-3 .text-container {
        padding-left: 7rem;
        padding-right: 14rem;
    }
}

.col--image {
    max-height: 600px;
}

.button-container {
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .button-container {
        margin-top: 1rem;
    }
}

@media (min-width: 992px) {
    .button-container {
        margin-top: 3rem;
    }
}

@media (min-width: 1200px) {
    .button-container {
        margin-top: 3.6rem;
    }
}

.image-text.is-swap .col--text {
    order: 2;
}

@media (min-width: 768px) {
    .image-text.is-swap .col--text {
        flex: 0 0 35%;
        max-width: 35%;
    }
}

.image-text.is-swap .image__pattern {
    top: auto;
    bottom: 6.8rem;
    left: -4rem;
    margin: 0;
}

@media (min-width: 768px) {
    .image-text.is-swap .image__pattern {
        left: -6rem;
    }
}

.image-text.is-swap .image {
    position: relative;
    width: 100%;
}

.image-text:not(.is-swap) .col--image svg {
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 4rem;
}

@media (min-width: 768px) {
    .image-text:not(.is-swap) .col--image svg {
        border-top-right-radius: 3rem;
        border-bottom-right-radius: 3rem;
    }
}

.image-text.is-swap .col--image svg {
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
}

@media (min-width: 992px) {
    .image-text.is-swap .col--image svg {
        border-top-left-radius: 3rem;
        border-top-right-radius: 3rem;
    }
}

/*.image-text .col--image {
    padding-left: 0;
    padding-right: 0;
}
*/

.image-text.is-swap .col--image {
    padding-left: 0;    
    padding-right: 0;
}

/*makes it shorter*/
@media (min-width: 768px) {
    .image-text.is-swap .col--image {
        flex: 0 0 45%;
        max-width: 45%;
    }
}

@media (min-width: 992px) {
    .image-text.is-swap .col--image {
        flex: 0 0 41.66665%;
        max-width: 41.66665%;
    }
}

/* theme-2 */

.theme-2 .col--image {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    .theme-2 .col--text {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (min-width: 992px) {
    .theme-2 .col--image {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

/* theme-3 */

@media (min-width: 768px) {
    .theme-3 .col--text {
        flex: 0 0 40%;
        max-width: 40%;
    }
}

@media (min-width: 768px) {
    .theme-3 .col--image {
        flex: 0 0 51.66%;
        max-width: 51.66%;
    }
}

@media (min-width: 992px) {
    .theme-3 .col--image {
        flex: 0 0 60%;
        max-width: 60%;
    }
}

/**/

.image-text .text-container {
    justify-content: center;
}

.image-text .rte h2,
.image-text .rte h3,
.image-text .rte h4,
.image-text .rte h5 {
    font-weight: 700;
    color: #e30137;
}

.image-text .rte h2 {
    font-size: 3.6rem;
    margin-bottom: 3rem;
}

.image-text .text-container p {
    color: #474747;
    font-size: 1.6rem;
    line-height: 2.1rem;
}

@media (min-width: 768px) {
    .image-text .rte h2 {
        margin-bottom: 1rem;
    }
    .image-text .text-container h2 {
        font-size: 1.4rem;
    }
    .image-text .text-container p {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }
    .image-text .text-container .button {
        height: 3.2rem;
    }
    .image-text .text__footer {
        padding-top: 2rem;
        padding-bottom: 0;
    }
    .image-text .button--primary .button__text {
        font-size: 1.1rem;
    }
}

@media (min-width: 992px) {
    .image-text .text-container h2 {
        font-size: 2.4rem;
    }
    .image-text .text-container p {
        font-size: 1.2rem;
    }
    .image-text .text-container .button {
        height: 4rem;
    }
    .image-text .text__footer {
        padding-top: 0;
        padding-bottom: .5rem;
    }
    .image-text .button--primary .button__text {
        font-size: 1.5rem;
    }
}

@media (min-width: 1236px) {
    .image-text .text-container h2 {
        font-size: 3.6rem;
    }

    .image-text .text-container p {
        font-size: 1.4rem;
    }

    .image-text .text-container .button {
        height: 5rem;
    }

    .image-text .text__footer {
        padding-top: 3rem;
        padding-bottom: 0;
    }

    .image-text .button--primary .button__text {
        font-size: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .image-text .rte h2 {
        margin-bottom: 2.6rem;
    }

    .image-text .text-container h2 {
        font-size: 3.9rem;
    }

    .image-text .text-container p {
        font-size: 1.5rem;
        line-height: 2.3rem;
    }

    .image-text .text-container .button {
        height: 5rem;
    }

    .image-text .text__footer {
        padding-top: 3rem;
        padding-bottom: 0;
    }

    .image-text .button--primary .button__text {
        font-size: 1.5rem;
    }
}

/***/

.theme-1.content-block .row,
.theme-2.content-block .row {
    border-radius: 4rem;
    -webkit-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.1);
    box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.1);
}

@media (min-width: 992px) {
    .content-block .row {
        border-radius: 3rem;
    }
}

.theme-1.content-block .row,
.theme-2.content-block .row {
    max-width: 380px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .theme-1.content-block .row,
    .theme-2.content-block .row {
        max-width: initial;
        margin: initial;
    }
}

/**/

.col--image .svg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.col--image .svg-mask-container {
    position: absolute;
    width: 100%;
    height: 100%;
    color: #fff;
    overflow: hidden;
    pointer-events: none;
}

.theme-1 .col--image .svg-circle-mask {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    overflow: hidden;
}

@media (min-width: 768px) {
    .theme-1 .col--image .svg-circle-mask {
        right: -15%;
    }
}


@media (min-width: 992px) {
    .theme-1 .col--image .svg-circle-mask {
        right: -10%;
    }
}

.theme-2 .col--image .svg-circle-mask {
    position: absolute;
    top: 50%;
    left: -5%;
    transform: translateY(-50%);
    overflow: hidden;
}

@media (min-width: 768px) {
    .theme-2 .col--image .svg-circle-mask {
        left: -15%;
    }
}

@media (min-width: 768px) {
    .theme-2 .col--image .svg-circle-mask {
        left: -12%;
    }
}

/* image border radius*/

.theme-1 .image-reveal-container,
.theme-1 .image-reveal-container img {
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
}

@media (min-width: 768px) {
    .theme-1 .image-reveal-container {
        border-top-right-radius: unset;
        border-top-left-radius: 4rem;
        border-bottom-left-radius: 4rem;
    }
}

.theme-1 .svg-circle {
    position: absolute;
    bottom: calc(100% + -1530px);
    left: -445px;
    width: calc(100% + 900px);
    height: calc(100% + 900px);
}

.theme-2 .image-reveal-container,
.theme-2 .image-reveal-container img {
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 4rem;
}

@media (min-width: 768px) {
    .theme-2 .image-reveal-container {
        border-bottom-left-radius: unset;
        border-top-right-radius: 4rem;
        border-bottom-right-radius: 4rem;
    }
}

.theme-2 .svg-circle {
    position: absolute;
    top: calc(100% + -1520px);
    left: -445px;
    width: calc(100% + 900px);
    height: calc(100% + 900px);
}

.svg-circle-container {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* */

.content-block.image-text {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

@media (min-width: 992px) {
    .content-block.image-text {
        margin-top: 10rem;
        margin-bottom: 10rem;
    }
}