/* .after-before-section{
  padding: 100px 0;
} */
.after-before-comparison {
    width: 1024px;
    height: 429px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    position: relative;
  }
.after-before-comparison figure {
    
    background-size: cover;
    position: relative;
    font-size: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }
.after-before-comparison figure > img {
    position: relative;
    width: 100%;
  }
.after-before-comparison figure div {
    background-size: cover;
    position: absolute;
    width: 50%;
    box-shadow: 0 5px 10px -2px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    bottom: 0;
    height: 100%;
  }
  
.after-before-comparison input[type="range"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*background-color: rgba(255, 255, 255, 0.1);*/
    background: transparent;
    width: calc(100% + 30px);
  }
.after-before-comparison input[type="range"]:focus {
    outline: none;
  }
.after-before-comparison input[type="range"]:active {
    outline: none;
  }
  
.after-before-comparison input[type="range"]::-moz-range-track {
    -moz-appearance: none;
    height: 30px;
    width: 100%;
   /* background-color: rgba(255, 255, 255, 0.1);*/
    background: transparent;
    position: relative;
    outline: none;
  }
.after-before-comparison input[type="range"]::active {
    border: none;
    outline: none;
  }
.after-before-comparison input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 31px;
    height: 31px;
    background: #fff;
    border-radius: 100%;
    border:  2px solid #e65240;
    background: transparent url(../images/left_right_arrow_icon.svg) no-repeat center;
    background-size: 68%;
    cursor: pointer;
  }
.after-before-comparison input[type="range"]::-moz-range-thumb {
    -moz-appearance: none;
    width: 31px;
    height: 31px;
    background: transparent url(../images/left_right_arrow_icon.svg) no-repeat center;
    background-size: 68%;
    border-radius: 0;
  }
.after-before-comparison input[type="range"]:focus::-webkit-slider-thumb {
    /*background: rgba(255, 255, 255, 0.5);*/
    background: transparent url(../images/left_right_arrow_icon.svg) no-repeat center;
    background-size: 68%;
  }
.after-before-comparison input[type="range"]:focus::-moz-range-thumb {
    /*background: rgba(255, 255, 255, 0.5);*/
    background: transparent url(../images/left_right_arrow_icon.svg) no-repeat center;
    background-size: 68%;
  }

@media (max-width: 1199px){
    .block-before_after_image {
      padding-left: 0;
      padding-right: 0;
    }
    .after-before-comparison {
      width: 690px;
      height: 289px;
    }
  }
  @media (max-width: 767px){
    .after-before-section{
      padding: 60px 0;
    }
    .after-before-comparison{
      width: 540px;
      height: 226px;
    }
  }
  @media (max-width: 599px){
    .after-before-comparison{
      width: 350px;
      height: 146px;
    }
  }
  @media (max-width: 370px){
    .after-before-comparison{
      width: 290px;
      height: 121px;
    }
  }