#itlcb-wrapper button, #itlcb-wrapper button:hover, #itlcb-wrapper div, #itlcb-wrapper a,
#itlcb-wrapper button:before, #itlcb-wrapper button:after {
	padding: 0;
	margin: 0;
	border: 0;
	outline: 0;
	vertical-align: baseline;
	background: initial;
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}

#itlcb-wrapper a {
	text-decoration: underline;
	font-family: Arial;
}

#itlcb-wrapper.itlcb-opened input {
	outline-width: 0;
	outline: none;
}

#itlcb-wrapper.itlcb-opened .itlcb-call-btn {
	width: 55px;
	right: 20px;
	bottom: 50%;
	z-index: 99;
	height: 55px;
	cursor:pointer;
	position: fixed;
	border-radius: 10px;
	box-shadow: 0 0 0 0 rgba(255, 94, 94, 0.06);
	animation: glow_shadow 3s linear infinite;
	background: rgba(255, 94, 94, 0.85) url(https://ooo-medicinskij-centr-lekar-starij.megapbx.ru/media/callback/css/images/phone.svg) no-repeat center center;
}
#itlcb-wrapper.itlcb-opened .itlcb-call-btn:hover {
	animation: hover_bounce 0.4s linear 1;
}

#itlcb-wrapper.itlcb-opened .itlcb-call-btn:after, #itlcb-wrapper.itlcb-opened .itlcb-call-btn:before {
	transition: all 0.4s ease-out 0s;
	display: block;
	content: "";
	position: absolute;
	border-radius: 50%;
	width: 100%;
	height: 100%;
	opacity: 1;
	transform: translate(-50%, -50%);
	left: 50%;
	top: 50%;
	background-color: transparent;
	border: solid 3px rgba(255, 94, 94, 0.15);
}

#itlcb-wrapper.itlcb-opened .itlcb-call-btn:after {animation: round_glow 1.5s linear infinite;}
#itlcb-wrapper.itlcb-opened .itlcb-call-btn:before {animation: round_glow_second 1.5s linear infinite;}

@keyframes glow_shadow {
  0% {box-shadow: 0 0 0 0 rgba(255, 94, 94, 0.06); transform: rotate(0deg);}
  5% {transform: rotate(10deg);}
  10% {transform: rotate(-10deg);}
  15% {transform: rotate(10deg);}
  17% {transform: rotate(0deg);}
  50% {box-shadow: 0 0 0 20px rgba(255, 94, 94, 0.06);}
  100% {box-shadow: 0 0 0 0 rgba(255, 94, 94, 0.06);}
}

@keyframes round_glow {
  0% {width:100%; height:100%; opacity:1;}
  40% {width:160%; height:160%; opacity:0;}
  100% {width:100%; height:100%; opacity:0;}
}

@keyframes round_glow_second {
  0% {width:100%; height:100%; opacity:1;}
  40% {width:100%; height:100%; opacity:1;}
  80% {width:160%; height:160%; opacity:0;}
  100% {width:100%; height:100%; opacity:0;}
}

#itlcb-wrapper.itlcb-opened .itlcb-widget-body, #itlcb-wrapper.itlcb-opened .itlcb-call-info-block {
	position: fixed;
	top: 50%;
	left: 50%;
	width: 380px;
	transform: translate(-50%, -50%);
	background-color: var(--clr-white);
	border-radius: 15px;
	padding: 15px 30px 30px;
	z-index: 101;
	box-sizing: border-box;
}
.itlcb-widget-body:before {
    content: '';
    width: 100%;
    height: 90px;
    display: block;
    background: url(../images/logo.png) no-repeat center / contain;
    margin: 10px auto;
}

#itlcb-wrapper.itlcb-opened .itlcb-close-cross {
	position: absolute;
	border: none;
	right: 15px;
	top: 15px;
	bottom: auto;
	cursor: pointer;
	left: auto;
	width: 24px;
	height: 24px;
	padding: 0;
	box-sizing: border-box;
	z-index: 5;
	background: url(https://ooo-medicinskij-centr-lekar-starij.megapbx.ru/media/callback/css/images/close_cross.png) no-repeat center / 12px;
	background-color: #ff5e5e;
	border-radius: 50%;
	transition: transform .2s ease;
}
#itlcb-wrapper.itlcb-opened .itlcb-close-cross:hover {
	/* background: url(https://ooo-medicinskij-centr-lekar-starij.megapbx.ru/media/callback/css/images/close_cross_hover.png) no-repeat center center; */
	transform: scale(1.05);
}

#itlcb-wrapper.itlcb-opened .itlcb-message-image {
	margin: 15px auto;
	border: none;
	width: 42px;
	height: 40px;
	background: #ffffff url(https://ooo-medicinskij-centr-lekar-starij.megapbx.ru/media/callback/css/images/cb_ok.png) no-repeat center center;
}
#itlcb-wrapper.itlcb-opened #itlcb-msg-wrap.itlcb-error .itlcb-message-image {
	width: 46px;
	height: 40px;
	background: #ffffff url(https://ooo-medicinskij-centr-lekar-starij.megapbx.ru/media/callback/css/images/cb_error.png) no-repeat center center;
}
#itlcb-wrapper.itlcb-opened #itlcb-msg-wrap.itlcb-not-working .itlcb-message-image {
	width: 55px;
	height: 41px;
	background: #49565c url(https://ooo-medicinskij-centr-lekar-starij.megapbx.ru/media/callback/css/images/cb_not_working.png) no-repeat center center;
}

#itlcb-wrapper.itlcb-opened .itlcb-top-panel {
	font-size: 18px;
	line-height: 24px;
	font-family: Arial;
	margin-bottom: 20px;
	color: var(--clr-black);
	text-align: center;
} 
#itlcb-wrapper.itlcb-opened .itlcb-top-panel span {
	color: var(--clr-white);
	font-weight: bold;
}

#itlcb-wrapper.itlcb-opened .itlcb-main-call-panell {
	background-color: transparent;
	padding: 0;
}

#itlcb-wrapper.itlcb-opened .itlcb-panell-text {display: none;}

#itlcb-wrapper.itlcb-opened .itlcb-panell-text {
	height: 40px;
	width: 200px;
	float: left;
	position: relative;
	display: none;
} 
#itlcb-wrapper.itlcb-opened .itlcb-panell-text span {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	padding-left: 22px;
	padding-right: 14px;
	font-size: 12px;
	line-height: 14px;
	font-family: Arial;
	color: rgba(255, 255, 255, 0.8);
}

#itlcb-wrapper.itlcb-opened .itlcb-panell-body {
	margin: 0;
	background-color: transparent;
	border-radius: 0;
	text-align: left;
}

#itlcb-wrapper.itlcb-opened .itlcb-form-call-btn {
	width: 100%;
	background-color: var(--clr-green);
	padding: 11px;
	cursor: pointer;
	color: white;
	font-size: 16px;
	line-height: 18px;
	font-weight: bold;
	border: none;
	border-radius: 3px;
	box-sizing: border-box;
	box-shadow: 0 4px 0 0 #023821;
	transition-property: background-color, box-shadow;
}
#itlcb-wrapper.itlcb-opened .itlcb-form-call-btn:not(.itlcb-btn-disabled):hover  {
	/* background-color: #1aad66; */
	/* -webkit-box-shadow: 0 4px 0 0 #057b42; */
	-moz-box-shadow: 0 4px 0 0 #057b42;
	/* box-shadow: 0 4px 0 0 #057b42; */
}
#itlcb-wrapper.itlcb-opened .itlcb-form-call-btn.itlcb-btn-disabled {
	background-color: #ccc;
    -webkit-box-shadow: 0 4px 0 0 #bbb;
    -moz-box-shadow: 0 4px 0 0 #0d5f38;
    box-shadow: 0 4px 0 0 #bbb;
    cursor: no-drop;
}

#itlcb-wrapper.itlcb-opened .itlcb-input-block {
    max-width: 280px;
    margin: 0 auto;
}
#itlcb-wrapper.itlcb-opened .itlcb-button-block {width: 180px;margin: 20px auto 0;}

#itlcb-wrapper.itlcb-opened .itlcb-phone-input,
#itlcb-wrapper.itlcb-opened .itlcb-phone-input-clone {
	border-radius: 3px;
	background-color: var(--clr-3);
	font-size: 18px;
	width: 100%;
	height: 50px;
	line-height: 20px;
	border: none;
	padding: 14px 0 16px 0;
	text-align: center;
	box-sizing: border-box;
	margin: 0;
	display: block;
	color: var(--clr-black);
	border: 1px solid var(--clr-2);
}

#itlcb-wrapper.itlcb-opened .itlcb-bottom-txt {
	text-align: center;
	font-size: 10px;
	line-height: 16px;
	font-family: Arial;
	display: none;
} 
#itlcb-wrapper.itlcb-opened .itlcb-bottom-txt span {
	color: rgba(255, 255, 255, 0.5);
} 
#itlcb-wrapper.itlcb-opened .itlcb-bottom-txt a {
	color: rgba(255, 255, 255, 0.5);
} 
#itlcb-wrapper.itlcb-opened .itlcb-bottom-txt a:hover {
	text-decoration: none;
}

#itlcb-wrapper.itlcb-opened .itlcb-bottom-txt-block {
	display: none;
}

#itlcb-wrapper.itlcb-opened .itlcb-message-data {
	font-family: Arial;
	text-align: center;
	font-size: 18px;
	line-height: 24px;
	color: var(--clr-black);
	/* margin-bottom: 27px; */
}

#itlcb-wrapper.itlcb-opened .itlcb-background-fill {
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 10;
	background-color: rgba(0,0,0,0.3);
	cursor: pointer;
}

#itlcb-wrapper.itlcb-opened .itlcb-message-warn {
	font-size: 18px;
	line-height: 24px;
	margin-bottom: 15px;
	color: var(--clr-black);
	text-align: center;
	font-family: Arial;
}

#itlcb-wrapper.itlcb-opened .itlcb-message-timer {
	font-family: Arial;
	color: var(--clr-black);
	font-size: 42px;
	line-height: 42px;
	/* margin-bottom: 27px; */
	text-align: center;
}

#itlcb-wrapper.itlcb-opened .itlcb-message-block {
	background-color: transparent;
	padding-top: 15px;
	padding-bottom: 0;
}

#itlcb-wrapper.itlcb-opened .fix-contacts--head{
	display: none;
}

@media screen and (max-width: 1170px) {
	#itlcb-wrapper.itlcb-opened .itlcb-call-btn {
		right: 10px;
	}
}

@media screen and (max-width: 767px) {
	#itlcb-wrapper.itlcb-opened .itlcb-call-btn {
		width: 40px;
		height: 40px;
		right: 10px;
		bottom: 60px;
		border-radius: 50%;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-widget-body, #itlcb-wrapper.itlcb-opened .itlcb-call-info-block {
		transform: translate(0,0);
		left: 0;
		right: 0;
		top: 0;
		bottom: 0;
		width: auto;
		border-radius: 0;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-widget-align {
		max-width: 260px;
		margin: 30px auto 0;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-top-panel {
		text-align: center;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-panell-body {
		height: auto;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-input-block {
		margin-bottom: 10px;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-input-block, #itlcb-wrapper.itlcb-opened .itlcb-button-block {
		float: none;
		display: block;
		width: 100%;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-input-block .itlcb-phone-input, #itlcb-wrapper.itlcb-opened .itlcb-button-block .itlcb-form-call-btn {
		width: 100%;
	}
	.itlcb-widget-body:before{}
	#itlcb-wrapper.itlcb-opened .itlcb-close-cross{
		display: none;
	}
	#itlcb-wrapper.itlcb-opened .itlcb-widget-body, 
	#itlcb-wrapper.itlcb-opened .itlcb-call-info-block{
		transform: translateX(-100%);
		transition: transform .2s ease;
		padding: 0;
	}
	#itlcb-wrapper.itlcb-opened.show .itlcb-widget-body, 
	#itlcb-wrapper.itlcb-opened.show .itlcb-call-info-block{
		transform: translateX(0);
	}
	#itlcb-wrapper.itlcb-opened .itlcb-background-fill{
		display: none !important;
	}
	#itlcb-wrapper.itlcb-opened .fix-contacts--head{
		display: block;
		margin-bottom: -15px;
	}
}
