.half-and-half-wrapper {
   /* max-width: 1366px;*/
    margin: 0 auto;
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

iframe {
    border: none;
}

.half-and-half-image,
.half-and-half-text {
    position: relative;
    flex: 0 0 100%;

}

.half-and-half-image {
    height: 268px;
}

.half-and-half-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    -o-object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.half-and-half-text.right {
    margin-right: auto;
}

.half-and-half-text.left {
    margin-left: auto;
}

.half-and-half.white-bg {
    background-color: #ffffff;
}

.half-and-half.gray-bg {
    background-color: #F0F0F0;
}

.half-and-half-text p {
    font-size: 16px;
}

.half-and-half-text-wrapper h4 {
    margin-top: 16px;
}

@media (min-width: 768px) {
    .half-and-half-image {
        height: 340px;
    }

    .half-and-half-text p {
        font-size: 18px;
    }

}

@media (min-width: 1025px) {


    .half-and-half-text {
        position: relative;
        flex: 0 0 50%;
    }

    .half-and-half-image {
        position: relative;
        flex: 0 0 50%;
    	  height: auto;
		 display:block;
    }

    .image-block-left {
        flex-direction: row-reverse;
    }

  

    .half-and-half-text-wrapper {
        padding-left: 22px;
        padding-right: 22px;
    }
    .half-and-half-text{
        display: flex;
        align-items: center;
    }

}

@media (min-width: 1600px) {

    .image-block-right .half-and-half-text-wrapper,
    .image-block-left .half-and-half-text-wrapper {
        width: 95%;
        margin: 0 auto;
        padding-left: 0;
        padding-right: 0;
    }
}

.half-and-half + .container {
    margin-top: 100px;
}

.image-contain .half-and-half-image {
    display: flex;
    align-items: center;
    height: auto;
    justify-content: center
}

.image-contain .half-and-half-image img {
    height: auto;
    position: relative
}