.box-content-image-block-right .half-and-half-box-content-image {
    padding: 0 22px 0 0;
}

.box-content-image-block-left .half-and-half-box-content-image {
    padding: 0 0 0 22px;
}

.box-content-image-block-right .half-and-half-box-content-main-image {
    border-radius: 0 20px 20px 0;
}

.box-content-image-block-left .half-and-half-box-content-main-image {
    border-radius: 20px 0 0 20px;
}

.half-and-half-box-content {
	padding: 70px 0;
}

.half-and-half-box-content-main-image {
    width: 100%;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    height: 248px;
}

.half-and-half-box-content-main-image img {
    background-color: #fff;
}

.half-and-half-box-content-quote {
    background: rgb(51,119,205);
    background: linear-gradient(124deg, rgb(85, 149, 208) 0%, rgb(58, 90, 120) 100%);
    position: relative;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    padding: 30px 31px;
    margin-left: 38px;
    color: #fff;
    margin-top: -27px;
}

.half-and-half-box-content-quote i {
    position: absolute;
    left: 30px;
    top: -25px;
    font-size: 40px;
    color: #cde0f1;
}

.half-and-half-box-content-image {
    position: relative;
    z-index: 2;
    width: 100%;
}

.half-and-half-box-content-quote p {
    font-size: 17px;
    font-weight: 500;
    font-style: italic;
    padding: 0 0 12px 0;
}

.half-and-half-box-content-quote h3 {
    font-size: 15px;
    color: #cde0f1;
    font-weight: 300;
}

.half-and-half-text-box-content {
    padding: 145px 22px 60px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin-top: -120px;
    position: relative;
    z-index: 1;
}

.half-and-half-text-box-content__wrapper h5 span::after {
    content: var(--heading-icon);
    display: inline-flex;
    width: 40.9px;
    height: 11.15px;
    position: relative;
    left: 6px;
    top: -1px;
}

.half-and-half-text-box-content__wrapper p {
    padding-bottom: 18px;
}

.half-and-half-text-box-content__wrapper p:last-of-type {
    padding-bottom: 0;
}

.with-quote .half-and-half-box-content-image {
    padding: 0 22px;
}

.with-quote .half-and-half-box-content-main-image {
    border-radius: 20px;
    width: calc(100% - 40px);
    height: 205px;
}

.with-quote .half-and-half-text-box-content {
    padding: 120px 23px 40px;
    margin-top: -88px;
    margin-left: 22px;
    border-radius: 20px 0 0 20px;
}

.with-quote .btn {
    margin-top: 10px;
}

.with-quote {
    position: relative;
}

.with-quote::after {
	content: "";
	position: absolute;
	width: 100%;
	height: 222px;
	left: 0;
	top: 0;
	background: rgb(205, 224, 241);
	background: linear-gradient(0deg,rgba(205, 224, 241,1) 0%,rgba(255,255,255,1) 100%);
    -webkit-transform: translateY(-60px);
	        transform: translateY(-60px);
}

@media (min-width: 768px) {
    .half-and-half-box-content-main-image {
        height: 265px;
    }

    .box-content-image-block-left .half-and-half-box-content-image {        
        padding: 0 0 0 110px;
    }

    .box-content-image-block-right .half-and-half-box-content-image {
        padding: 0 110px 0 0;
    }

    .box-content-image-block-right .half-and-half-text-box-content {
        margin-left: 52px;
        padding: 85px 51px 80px 25px;
        margin-top: -60px;
    }

    .box-content-image-block-left .half-and-half-text-box-content {        
        margin-right: 52px;        
        padding: 85px 25px 80px 51px;
        margin-top: -60px;
    }

    .with-quote .half-and-half-box-content-main-image {
        width: calc(100% - 111px);
        height: 387px;
        margin-left: 53px;
    }

    .half-and-half-box-content-quote {
        padding: 30px 40px 40px;
        margin-left: 284px;
        margin-top: -99px;
        width: 431px;
    }

    .half-and-half-box-content-quote h3 {
        font-size: 16px;
    }

    .half-and-half-box-content-quote p {
        font-size: 19px;
        line-height: 1.473em;
    }

    .half-and-half-box-content-quote i {
        left: 40px;
        top: -32px;
        font-size: 50px;
    }

    .with-quote .half-and-half-text-box-content {
        margin-left: 52px;
        padding: 105px 53px 60px 60px;
        margin-top: -65px;
        margin-right: 0;
    }

    .with-quote .half-and-half-box-content-image {
        padding: 0 110px 0 0;
    }

    .with-quote::after {
        top: -90px;
        transform: none;
    }
}



@media (min-width: 1200px) {
    .flex-opposite {
        flex-direction: row-reverse;
    }

    .half-and-half-box-content {
        display: flex;
		padding: 70px 0 30px;
    }

    .half-and-half-box-content.read-more {
        min-height: 628px;
    }

    .half-and-half-text-box-content {
        width: 61.5%;
        margin: 0 !important;
    }

    .half-and-half-box-content-image {
        width: 38.5%;
        padding: 0 !important;        
        display: flex;
        align-items: center;
    }
    

    .half-and-half-box-content-main-image {
        max-width: 565px;
        height: 316px;
        border-radius: 20px !important;
    }

    .half-and-half-text-box-content__wrapper {
        max-width: 635px;
    }

    .box-content-image-block-left .half-and-half-text-box-content__wrapper {
        margin-left: auto;
    }

    .box-content-image-block-left .half-and-half-text-box-content {
        padding: 80px 235px 90px 22px;
        border-radius: 0 20px 0 0;
    }

    .box-content-image-block-right .half-and-half-text-box-content {
        padding: 80px 22px 90px 235px;
        border-radius: 20px 0 0 0;   
    }

    .box-content-image-block-right .half-and-half-box-content-main-image {
        margin-left: auto;
        margin-right: -113px;
    }

    .box-content-image-block-left .half-and-half-box-content-main-image {
        margin-right: auto;
        margin-left: -113px;
    }

    .with-quote .half-and-half-box-content-image {
        flex-direction: column;
        justify-content: center;
    }

    .with-quote .half-and-half-box-content-main-image {
        margin-right: -119px;
        width: 100%;
        height: auto;
    }

    .with-quote .half-and-half-text-box-content {
        padding: 128px 22px 155px 313px;
        border-radius: 20px 0 0 20px;
    }

    .half-and-half-box-content-quote {
        padding: 40px 52px 50px;
        margin-left: auto;
        margin-top: -104px;
        width: 436px;
        margin-right: -217px;
    }

    .half-and-half-box-content-quote p {
        font-size: 22px;
        padding: 0 0 22px 0;
    }

    .half-and-half-box-content-quote h3 {
        font-size: 18px;
    }

    .half-and-half-box-content-quote i {
        left: 52px;
        top: -38px;
        font-size: 60px;
    }

    .with-quote .half-and-half-text-box-content__wrapper {
        max-width: 565px;
    }

    .with-quote::after {
        top: -130px;
        height: 357px;
    }
}