/*Button*/
 
.les-callback-pulse{
	background-color: #d94067;
	border-radius: 50%;
	width: 98px;
	height: 98px;
	color: white;
	text-align: center;
	position: fixed;
	right: 50px;
	bottom: 50px;
	cursor: pointer;
	z-index: 100;
}
.les-callback-pulse:hover::before,
.les-callback-pulse:hover::after{
	content: '';
	position: absolute;
	border: 1px solid #ac3351;
	left: -20px;
	right: -20px;
	top: -20px;
	bottom: -20px;
	border-radius: 50%;
	animation: ring-anim 1.2s linear infinite;
	opacity: 0;
}
.les-callback-pulse:hover::after{
	animation-delay: .6s; 
}
.les-callback-pulse_icon{
	position: relative;
	text-align: center;
}

.les-callback-pulse_icon:hover i{
	transition: transform 0.3s ease;
	transform: scale(0);
}
.les-callback-pulse_icon .phone-icon{
	background:  url(../img/les-phone-icon.svg) 0 0 no-repeat;
	width: 50px;
	height: 50px;
	position: absolute;
	top: 23px;
	left:23px;
	transform: translate(-50%);
	vertical-align: middle;
	opacity: 1;
	animation: phone-anim .9s ease-in-out infinite;
}



.les-callback-pulse:hover .les-callback-pulse_icon{
	transform: scale(0);
	transition: 0.3s ease-out;
}
.les-callback-pulse .les-callback-pulse_icon{
	transition: 0.3s ease-out;
	transform: scale(1);
	}
.les-callback-pulse .les-callback-pulse_text{
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	position: absolute;
	font-size: 15px;
	top: 28px;
	transform: scaleX(-1);
	transition: all 0.5s ease-in-out;
	opacity: 0;
}
.les-callback-pulse:hover .les-callback-pulse_text{
	transform: scaleX(1);
	transition: all 0.5s ease-in-out;
	opacity: 1;
}

@keyframes phone-anim{
	0%, 100%{
		transform: rotate(-20deg);
	}
	50%{
		transform: rotate(21deg);
	}
}

@keyframes ring-anim{
	0%{
		transform: scale(0.5);
		opacity: 0;

	}
	50%{
		opacity: 1;
	}
	100%{
		transform: scale(1.2);
		opacity: 0.2;
	}
}

/*modal window*/
.les-callback__bg{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 50;
	overflow: auto;
}

.les-callback__content{
	box-sizing: border-box;
	background-color: white;
	position: fixed;
	left:50%;
	top: 50%;
	transform: translateX(-50%) translateY(-50%);
	width: 100%;
	max-width: 400px;
	padding: 50px 50px 30px;	
	text-align: center;
	border-radius: 10px;
	-webkit-box-shadow: 0 0 8px 0 rgba(0, 0, 0, .5);
	box-shadow: 0 0 8px 0 rgba(0, 0, 0, .5);
	z-index: 51;
}
.les-callback__close{
	width: 35px;
	height: 35px;
	border-radius: 50%;
	background-color:#d94067;
	position: absolute;
	right: 15px;
	top:15px;
	cursor: pointer;
	-webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0,0.3);
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.3);
}
.les-callback__close:before{
	  content: "";
    display: block;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTguMzc2IDkuNzI0TDUgNi4zNDggMS42MjQgOS43MjRhLjk0Ni45NDYgMCAwIDEtMS4zNDItLjAwNi45NTMuOTUzIDAgMCAxLS4wMDYtMS4zNDJMMy42NTIgNSAuMjc2IDEuNjI0QS45NDYuOTQ2IDAgMCAxIC4yODIuMjgyLjk1My45NTMgMCAwIDEgMS42MjQuMjc2TDUgMy42NTIgOC4zNzYuMjc2YS45NDYuOTQ2IDAgMCAxIDEuMzQyLjAwNmMuMzcyLjM3Mi4zNy45NzguMDA2IDEuMzQyTDYuMzQ4IDVsMy4zNzYgMy4zNzZhLjk0Ni45NDYgMCAwIDEtLjAwNiAxLjM0Mi45NTMuOTUzIDAgMCAxLTEuMzQyLjAwNnoiIGZpbGw9IiNGRkYiLz48L3N2Zz4=') no-repeat 50%;
    width: 15px;
    height: 15px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 5;
}
.les-callback__title,
.les-callback__success{
	margin-bottom: 10px;
	font-weight: 600;
	font-size: 20px;
}
.callbak-phone_input{
	background-color: #fff;
	-webkit-box-shadow: 0 1px 4px 0 rgba(0,0,0, .2);
	box-shadow: 0 1px 4px 0 rgba(0,0,0, .2);
	border-radius: 5px;
	width: 100%;
	height: 40px;
	text-align: center;
	margin-top: 15px;
	box-sizing: border-box;
}
.les-callback__form  input,
.les-callback__form  select{
	border: 0;
	margin: 0;
	padding: 0;
	line-height: normal;
	outline: none;
	font-size: 18px;
}

.les-callback__form  input:focus,
.les-callback__form  select:focus{
	border: 2px solid #d94067;
}
.les-callback__form label{
	font-size: 15px;
	text-align: left;
	margin-top: 15px;
	margin-bottom: 5px;
	display: block;
}
.callback-form__submit{
		margin-top: 20px;
		display: block;
		border-radius: 5px;
		font-size: 16px;
		cursor: pointer;
		color: #fff;
		background-color: #d94067;
		border: 1px solid #fff;
		transition: all 0.3s ease-in-out;
		box-shadow: 0 0 5px #85253d;
		text-decoration: none;
		width: 100%;
		height: 50px;
}
.callback-form__submit:hover{
		color: #831833;
		border: 1px #006398 solid;
		box-shadow: 2px 2px 20px #afe9ff;
}
.les-callback__success{
	display: none;
	text-align: center;
}

.les-callback__errormsg{
	font-weight: bold;
	color: red;
	text-align: left;
	margin-top: 15px;
}

/*media descktop first*/

@media screen and (min-width: 300px) and (max-width: 639px) {
	.les-callback-pulse{
		width: 50px;
		height: 50px;
		font-size: 9px;
	}
	.les-callback-pulse_icon .phone-icon{
		width: 25px;
		height: 25px;
		top: 10px;
		left: 10px;
	}
	.les-callback-pulse .les-callback-pulse_text{
		top: 10px;
		font-size: 8px;
	}
}/*
@media screen and (min-width: 320px) and (max-width: 479px) {}
@media screen and (min-width: 640px) and (max-width: 767px) {}
@media screen and (min-width: 768px) and (max-width: 779px) {}
@media screen and (min-width: 800px) and (max-width: 1023px) {}
@media screen and (min-width: 1200px) and (max-width: 1681px) {}


@media screen and (max-width: 500px) and (orientation: landscape) { 
	
 }*/