.image.medium img {
  width: auto;
}

 .image.large img{
  width: auto;
}
.custom-image .image-content {
  display: flex;
  flex-wrap: nowrap;
  align-items: end;
}
.custom-image .image-content .content-img-text >div {
  padding: 1rem 1.5rem;
  background: #F9F8F6;
  border-radius: 5px;
}
.custom-image .image-content .content-img-text .text-right {
  margin-right: -130px;
  margin-top: -300px;
  position: relative;
  z-index: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-items: center;
}
.custom-image .image-content .content-img-text .text-left {
  margin-left: -130px;
  margin-top: -300px;
  position: relative;
  z-index: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  justify-items: center;
}
.image-left .image img {
  border-radius: 0 35px 10px 0px;
}
.image-right .image img {
  border-radius: 35px 0 10px 0px;
}
.custom-image .content-counter {
  display: flex;
  align-items: center;
  justify-items: center;
  justify-content: center;
}
.custom-image span.counter {
  font-size: 90px !important;
  text-align: center !important;
  margin: 0;
  font-family: 'Molto' !important;
  line-height: 80px;
  color: #215B67 !important;
  display: flex;
  font-weight: 400;
}
.custom-image .details {
  font-family: 'Proxima Nova', sans-serif !important;
  font-weight: 300;
  font-size: 14.4px;
}
.custom-image span {
    font-size: 44px;
    color: #215B67;
    font-family: "molto",serif;
}
.custom-image .datails {
  font-family: 'Proxima Nova' !important;
  font-size: 14.4px !important;
  text-align: left;
  font-weight: 300;
}
.image-right .image,
.image-left .image {
  position: relative;
}
.image-left .image:before {
  content: '';
  background: url(/wp-content/plugins/elementor-image-custom/assets/img/Combined-Shape.svg);
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: auto;
  background-repeat: no-repeat;
  opacity: 0.5;
  background-position: bottom 22px left;
}
.image-right .image:before {
  content: '';
  background: url(/wp-content/plugins/elementor-image-custom/assets/img/Combined-Shape-2.svg);
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: auto;
  background-repeat: no-repeat;
  opacity: 0.5;
  background-position: bottom 22px right;
}
/* .image.large:before {
  background-size: 300px;
  background-position-y: 190px;
}
.image.medium:before {
  background-size: 250px;
  background-position-y: 160px;
} */
@media (max-width: 640px){
  .image.medium img {
    width: auto;
  }
  
   .image.large img{
    width: auto;
  }

  .custom-image .image-content .content-img-text .text-right {
    margin-right: -130px;
    margin-top: -230px;
    position: relative;
    z-index: 1;
    width: 190px;
  }
  .custom-image .image-content .content-img-text .text-left {
    margin-left: -130px;
    margin-top: -230px;
    position: relative;
    z-index: 1;
    width: 190px;
  }

}

@media (max-width: 450px){
  .custom-image .image-content .content-img-text .text-left {
    min-width: 180px !important;
  }
}

@media (max-width: 430px){
  .custom-image .image-content .content-img-text .text-left {
    min-width: 139px !important;
    max-width: 170px !important;
    padding: 10px;
    margin-top: -180px;
  }
  .custom-image span.counter {
    font-size: 45px !important;
    line-height: 50px;
  }
  .custom-image span {
    font-size: 25px;
  }

}