.beforeAfters_wrapper{
	width: 90%;
	margin: auto;
	display: flex;
	justify-content: center;
	background-color: #EFECEC;
	padding: 25px 0;
	color: #2C332F;
}
@media (max-width:850px){
    .beforeAfters_wrapper{
		width: 95%;
		align-items: flex-end;
    }
}
@media (max-width:450px){
    .beforeAfters_wrapper{
		width: 100%;
        flex-direction: column;
		align-items: center;
		
    }
}
div.container {
	height: 70vh;
	position: relative;
	margin: 20px;
	margin:0;
	/* min-width: 50%; */
}


@media (max-width:850px){
    div.container {
		height: 50vh;
	}
}
div.image {
	height: 100%;
	background-repeat: no-repeat;
	background-position: top left;
	background-size: cover;
	position: absolute;
	top: 0px;
	left: 0px;
}


.before {
	width: 50%;
	z-index: 2;
  overflow: hidden;
}

.after {
	width: 100%;
	z-index: 1;
  overflow: hidden;
}
.ba_imgs{
  height:100%;
}

input.slider {
	width: 100%;
	height: 100%;
	outline: none;
	background-color: transparent;
	position: absolute;
	margin: 0px;
	z-index: 3;
	cursor: pointer;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	transition: 0.25s all ease-in-out;
	-moz-transition: 0.25s all ease-in-out;
	-webkit-transition: 0.25s all ease-in-out;
	z-index: 4;
}

input.slider::-moz-range-thumb {
	width: 6px;
	height: 600px;
	background-color: white;
	cursor: pointer;
}

input.slider::-webkit-slider-thumb {
	width: 6px;
	height: 100%;
	background-color: #BA9B7C;
	cursor: pointer;
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
}
input.slider::-webkit-slider-runnable-track {
  height: 100%;
}

@keyframes wiggle {
    0% { transform: rotate(0deg); }
   80% { transform: rotate(0deg); }
   85% { transform: rotate(5deg); }
   95% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.slider_button_wrapper{
	position: absolute;
	top: calc(50% - 18px);
	left: calc(50% - 18px);
	cursor: pointer;
	z-index: 3;
	animation: wiggle 2.5s infinite
}

.slider-button {
	width: 30px;
	height: 30px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}


.arrow-right {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #2C332F;
}

.arrow-left {
  width: 0; 
  height: 0; 
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent; 
  border-right:10px solid #2C332F; 
  margin-right: 100%;
}
.sliderDesc_wrapper{
	position: absolute;
	z-index: 4;
	bottom:0;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #2C332F61;
	width: 100%;
	height: 50px;
}
.sliderDesc{
	text-align: center;
	color: #EFECEC;
}