/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.video-carousal .swiper-wrapper {
  touch-action: pan-y !important;
  cursor: grab;
}

.video-carousal .swiper-wrapper:active {
  cursor: grabbing;
}


  
  .slider-after-container {
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    position: relative;
	  margin: 0 auto;
	  direction: ltr;
  }

  .slider-after-wrapper {
    display: flex;
    transition: transform .4s ease-in-out;
  }

  .compare-img {
    position: relative;
    min-width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: grab;
  }

  .compare-img img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .img-before {
    clip-path: polygon(0 0,50% 0,50% 100%,0 100%);
  }

  .slider-handle {
    width: 4px;
    background: #fff;
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    cursor: ew-resize;
    border-radius: 2px;
    z-index: 99;
  }
  .slider-handle:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid #fff;
    z-index: 99;
    top: -30px;
    bottom: 0;
    margin: auto;
    left: -19px;
   }
    .slider-handle:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid #fff;
    z-index: 99;
    top: -30px;
    bottom: 0;
    margin: auto;
    right: -19px;
   }
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: none;
    font-size: 54px !important;
    width: 40px;
    height: 40px;
    border-radius: 4px !important;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px;
  }

  .prev-btn { 
	left: 10px;	
}
  .next-btn { 
   right: 10px;
}
.nav-btn:hover{
	background-color: #fff;
}
@media only screen and (max-width: 767px){
	.compare-img{
		height: 423px;
	}	
}
@media only screen and (max-width: 520px){
	.compare-img{
		height: 274px;
	}	
}
