.callback-bt-wrap * {box-sizing: inherit;}
.callback-bt-wrap{
	height: 70px;
    width: 70px;
    position: fixed;
    right: 40px;
    bottom: 40px;
    z-index: 999;
    background: #fb9578;
    box-sizing: border-box;
    border-radius: 40px;
    color: #fff;
	max-width: 350px;
	padding-left: 70px;
	font-family: sans-serif;
	opacity: 1;
}


.callback-bt-wrap.openned {
    width: 90%;
    box-shadow: 5px 5px 20px rgba(119, 57, 59, 0.33);
}

.callback-bt-wrap.openned .callback-bt,
.callback-bt-wrap.openned .callback-bt svg{
	animation: none;
	box-shadow: none;
}

.callback-bt-wrap .callback-inpnut-wrap{
	width: 0px;	
}

.callback-bt-wrap.openned .callback-inpnut-wrap{
	width:100%;
}


.callback-input-wrap{
	overflow: hidden;	
	position: relative;
}

.callback-bt-wrap.openned .callback-input-wrap{
	overflow: hidden;	
	padding: 13px;
	height:100%;
}

.callback-input-wrap form{
    display: flex;
}

.callback-input-wrap input{
	border: none;
    height: 35px;
    border-radius: 15px;
    outline: none !important;
    font-size: 16px;
    padding: 0 10px;
    margin-top: 6px;
    flex: 1;
    color: #333;
    min-width: 40px;
}


.callback-input-wrap button{
    width: 45px;
    height: 45px;
    background: #fff;
    display: block;
    border: none;
    border-radius: 50%;
    margin-left: 10px;
    outline: none !important;
	cursor: pointer;
	opacity: 0.5;
	position: relative;
}

.callback-input-wrap button svg{
    width: 50%;
    height: 50%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
	opacity: 0.8;
}

.callback-input-wrap button.ready{
	opacity: 1;		
}


.callback-input-wrap button.ready:hover svg{
	opacity: 1;			
}


.callback-bt{
	background: #fb9578;
	border: 2px solid #fb9578;
	border-radius:50%;
	box-shadow:0 8px 10px rgba(236,110,113,0.3);
	cursor:pointer;
	text-align:center;
	height:70px;
	width:70px;
	position: absolute;
	top:0;
	left:0;

}

.animWare{
	transition: hoverWave .3s;
	-webkit-animation:hoverWave linear 4s infinite;
	animation:hoverWave linear 4s infinite;	
}

.callback-bt .text-call{
	width: 100%;
	height: 100%;
	border-radius:50%;
	position:relative;
	overflow:hidden;
    opacity: 0;	
	text-align: center;
	color:#fb9578;
	font-size: 10px;
	line-height: 14px;
	font-weight: 600;
	text-transform: uppercase;
	transition: opacity .3s linear;
	font-family: 'montserrat', Arial, Helvetica, sans-serif;
}

.callback-bt .text-call span{
	position: absolute;
    top: 55%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
	user-select: none;
}

.callback-bt.hover .text-call{
	opacity: 1;
}

.callback-bt .text-call {

}

.callback-bt.hover .text-call span {
    opacity: 1;
}
.callback-bt.hover svg {
    z-index: -1;
	opacity:0;
	color:#38a3fd;
	font-size:40px;
	transition:.3s;
}

.callback-bt.hover {
	z-index:1;
	background:#fff;
	transition:.3s;
}


.callback-bt svg {
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    top: 19px;
    left: 19px;
    transition: .5s ease-in-out;
}

.callback-bt svg.animated {
    animation: 2000ms ease 0s normal none 1 running shake;
        animation-iteration-count: infinite;
        -webkit-animation: 2000ms ease 0s normal none 1 running shake;
        -webkit-animation-iteration-count: infinite;
}

.callback-res{
    opacity: 1;
    position: absolute;
    top: 0px;
    height: 100%;
    width: 100%;
}

.callback-res span{
	position: absolute;
	top:50%;
	left:-5px;
    transform: translateY(-50%);	
    width: 90%;
	text-align:center;
}

@-webkit-keyframes hoverWave {
        0% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 0 rgba(236,110,113,0.2),0 0 0 0 rgba(236,110,113,0.2)
}
40% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 15px rgba(236,110,113,0.2),0 0 0 0 rgba(236,110,113,0.2)
}
80% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 30px rgba(236,110,113,0),0 0 0 26.7px rgba(236,110,113,0.067)
}
100% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 30px rgba(236,110,113,0),0 0 0 40px rgba(236,110,113,0.0)
}
}@keyframes hoverWave {
        0% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 0 rgba(236,110,113,0.2),0 0 0 0 rgba(236,110,113,0.2)
}
40% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 15px rgba(236,110,113,0.2),0 0 0 0 rgba(236,110,113,0.2)
}
80% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 30px rgba(236,110,113,0),0 0 0 26.7px rgba(236,110,113,0.067)
}
100% {
        box-shadow:0 8px 10px rgba(236,110,113,0.3),0 0 0 30px rgba(236,110,113,0),0 0 0 40px rgba(236,110,113,0.0)
}
}

/* animations icon */

@keyframes shake {
0% {
    transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
}

50% {
    transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
}

55% {
    transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
}
60% {
    transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
}
65% {
    transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
}
70% {
    transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
}
75% {
    transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
}
80% {
    transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
}
85% {
    transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
}
90% {
    transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
}
95% {
    transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
}
100% {
    transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
}
}

@-webkit-keyframes shake {
0% {
    transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
}
10% {
    transform: rotateZ(-30deg);
        -ms-transform: rotateZ(-30deg);
        -webkit-transform: rotateZ(-30deg);
}
20% {
    transform: rotateZ(15deg);
        -ms-transform: rotateZ(15deg);
        -webkit-transform: rotateZ(15deg);
}
30% {
    transform: rotateZ(-10deg);
        -ms-transform: rotateZ(-10deg);
        -webkit-transform: rotateZ(-10deg);
}
40% {
    transform: rotateZ(7.5deg);
        -ms-transform: rotateZ(7.5deg);
        -webkit-transform: rotateZ(7.5deg);
}
50% {
    transform: rotateZ(-6deg);
        -ms-transform: rotateZ(-6deg);
        -webkit-transform: rotateZ(-6deg);
}
60% {
    transform: rotateZ(5deg);
        -ms-transform: rotateZ(5deg);
        -webkit-transform: rotateZ(5deg);
}
70% {
    transform: rotateZ(-4.28571deg);
        -ms-transform: rotateZ(-4.28571deg);
        -webkit-transform: rotateZ(-4.28571deg);
}
80% {
    transform: rotateZ(3.75deg);
        -ms-transform: rotateZ(3.75deg);
        -webkit-transform: rotateZ(3.75deg);
}
90% {
    transform: rotateZ(-3.33333deg);
        -ms-transform: rotateZ(-3.33333deg);
        -webkit-transform: rotateZ(-3.33333deg);
}
100% {
    transform: rotateZ(0deg);
        -ms-transform: rotateZ(0deg);
        -webkit-transform: rotateZ(0deg);
}
}


@media(max-width: 768px){
	.callback-bt-wrap{
		width:50px;
		height:50px;
		right: 20px;
		bottom: 20px;
		padding-left: 50px;
	}
	
	.callback-bt{
		width: 50px;
		height: 50px;
	}	
	
	.callback-bt svg {
		width: 17px;
		height: 17px;
		top: 14px;
		left: 14px;
	}
	
	.callback-input-wrap input{ margin-top: 4px;}
	
	.callback-bt-wrap.openned .callback-input-wrap{
		padding-top: 3px;
		padding-right: 0px;	
	}
	
	.callback-input-wrap button{
		width: 40px;
		height: 40px;
		margin-top: 2px;
		margin-right: 5px;
	}
	
	.callback-bt .text-call{
	font-size: 7px;
    line-height: 1.3em;
	}
	
	.callback-res span{
		font-size: 13px;	
	}
}