.popup_layer {display:none;position:fixed;width:100%;height:100%;background:rgba(0, 0, 0, .45);left: 0;top: 0;z-index: 98;}
.popup_layer.block {display:block;}
.popup{display:none;visibility:hidden;position: fixed;top:50%;left: 50%;padding:30px 20px;background:#fff;z-index: 99;color:#000000; margin-left: -148px;}
.popup.shown, .popup.role_container {display:grid;visibility:visible;    max-height: 100%;
    overflow-y: scroll; z-index: 9999999;}
.popup.main_popup {width:430px;margin-left:-215px;margin-top:-200px;}

.model_credit_popup {max-width:720px;padding:20px 50px;margin-left:-360px;margin-top:-300px;}
.model_credit_popup_title{font-size: 34px;line-height: 40px;text-align: center;margin-bottom:15px;}
.model_credit_popup_title span {color:#18537e;}
.model_credit_popup_title b {display:block;}
.model_credit_popup form {max-width:520px;margin:0 auto;}
.model_credit_popup .form_control, .model_credit_popup .btn {margin-bottom:15px;height:70px;line-height:70px;font-size:20px;}
.model_credit_popup .form_control {padding-left:20px;}
.model_credit_popup .btn {text-transform:uppercase;width:260px;margin:0 auto 15px;}
.model_credit_popup .infographic {font-size: 23px; line-height: 26px;text-align: center;}

.success {text-align: center;font-size:18px;}
.success.shown {box-shadow: 0 0 14px 3px rgba(0, 0, 0, .35);margin-left:-180px;    width: 360px;}

.success img{margin:10px 5px;}
.success h2 {text-transform:uppercase;}

.popup .comment {text-align:center;padding:15px 0;font-size:12px;border-top:1px solid;}
a.close {position:absolute;right:5px;top:5px;display: inline-block;  width: 20px;height: 20px;z-index: 1;}
a.close:after {content:'\f00d';font-family:FontAwesome;}


.popup.drum_popup a.close {right: -20px;top: 20px;}

@media (max-width: 740px){	
	.popup {z-index:101;}
	.popup.shown {top:80px;margin-top:0px;}
	.model_credit_popup {width:auto;}
	.popup{margin-left: 0 !important;left: 10px ;right: 10px ;width: auto;}	
	.model_credit_popup .infographic {font-size: 16px;line-height: 18px;}
}
@media (max-width: 520px){

	.model_credit_popup {padding:20px;}
	.model_credit_popup_title {font-size: 26px; line-height: 30px;}
	.model_credit_popup .infographic {font-size: 14px;}
	.model_credit_popup .infographic img {height:60px;}
}
@media (max-width: 420px){
	.model_credit_popup .infographic {font-size: 10px;line-height: 14px;}
}
#popup_toggle{bottom:25px;right:10px;position:fixed;z-index: 97;cursor:pointer;}
.img-circle{background-color:#18537e;box-sizing:content-box;-webkit-box-sizing:content-box;}
.circlephone{
	box-sizing:content-box;
	-webkit-box-sizing:content-box;
	border: 2px solid #18537e;
	width:150px;height:150px;
	bottom:-25px;right:10px;
	position:absolute;
	-webkit-border-radius:100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	opacity: .5;
	-webkit-animation: circle-anim 2.4s infinite ease-in-out !important;-moz-animation: circle-anim 2.4s infinite ease-in-out !important;
	-ms-animation: circle-anim 2.4s infinite ease-in-out !important;-o-animation: circle-anim 2.4s infinite ease-in-out !important;
	animation: circle-anim 2.4s infinite ease-in-out !important;
	-webkit-transition: all .5s;-moz-transition: all .5s;
	-o-transition: all .5s;
	transition: all 0.5s;
}
.circle-fill{
	box-sizing:content-box;
	-webkit-box-sizing:content-box;
	background-color:#18537e;
	width:100px;height:100px;
	bottom:0px;right:35px;
	position:absolute;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 2px solid transparent;
	-webkit-animation: circle-fill-anim 2.3s infinite ease-in-out;
	-moz-animation: circle-fill-anim 2.3s infinite ease-in-out;
	-ms-animation: circle-fill-anim 2.3s infinite ease-in-out;
	-o-animation: circle-fill-anim 2.3s infinite ease-in-out;
	animation: circle-fill-anim 2.3s infinite ease-in-out;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;-o-transition: all .5s;
	transition: all 0.5s;
}
.img-circle{
	box-sizing:content-box;
	-webkit-box-sizing:content-box;
	width:72px;
	height:72px;
	bottom: 14px;
	right: 49px;
	position:absolute;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	border-radius: 100%;
	border: 2px solid transparent;
	opacity: .7;}
	
.img-circleblock{
	box-sizing:content-box;
	-webkit-box-sizing:content-box;
	width:72px;height:72px;
	background-image:url(../images/popup_ico.png);
	background-position: center center;
	background-size: 83%;
	background-repeat:no-repeat;
	animation-name: tossing;
	-webkit-animation-name: tossing;animation-duration: 1.5s;
	-webkit-animation-duration: 1.5s;animation-iteration-count: infinite;
	-webkit-animation-iteration-count: infinite;}
.img-circle:hover{opacity: 1;}
@keyframes pulse {0% {transform: scale(0.9);opacity: 1;}
  50% {transform: scale(1); opacity: 1; }   
  100% {transform: scale(0.9);opacity: 1;}}
 @-webkit-keyframes pulse {0% {-webkit-transform: scale(0.95);opacity: 1;}
  50% {-webkit-transform: scale(1);opacity: 1;}   
  100% {-webkit-transform: scale(0.95);opacity: 1;}}
@keyframes tossing {
  0% {transform: rotate(-8deg);}
  50% {transform: rotate(8deg);}
  100% {transform: rotate(-8deg);}}
@-webkit-keyframes tossing {
  0% {-webkit-transform: rotate(-8deg);}
  50% {-webkit-transform: rotate(8deg);}
  100% {-webkit-transform: rotate(-8deg);}}
@-moz-keyframes circle-anim {
  0% {-moz-transform: rotate(0deg) scale(0.5) skew(1deg);opacity: .1;-moz-opacity: .1;-webkit-opacity: .1;-o-opacity: .1;}
  30% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .5;-moz-opacity: .5;-webkit-opacity: .5;-o-opacity: .5;}
  100% {-moz-transform: rotate(0deg) scale(1) skew(1deg);opacity: .6;-moz-opacity: .6;-webkit-opacity: .6;-o-opacity: .1;}}
@-webkit-keyframes circle-anim {
  0% {-webkit-transform: rotate(0deg) scale(0.5) skew(1deg);-webkit-opacity: .1;}
  30% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);-webkit-opacity: .5;}
  100% {-webkit-transform: rotate(0deg) scale(1) skew(1deg);-webkit-opacity: .1;}}
@-o-keyframes circle-anim {
  0% {-o-transform: rotate(0deg) kscale(0.5) skew(1deg);-o-opacity: .1;}
  30% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);-o-opacity: .5;}
  100% {-o-transform: rotate(0deg) scale(1) skew(1deg);-o-opacity: .1;}}
@keyframes circle-anim {
  0% {transform: rotate(0deg) scale(0.5) skew(1deg);opacity: .1;}
  30% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .5;}
  100% {transform: rotate(0deg) scale(1) skew(1deg);
opacity: .1;}}
@-moz-keyframes circle-fill-anim {
  0% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
  50% {-moz-transform: rotate(0deg) -moz-scale(1) skew(1deg);opacity: .2;}
  100% {-moz-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
}
@-webkit-keyframes circle-fill-anim {
  0% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;  }
  50% {-webkit-transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;  }
  100% {-webkit-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
}
@-o-keyframes circle-fill-anim {
  0% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
  50% {-o-transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;}
  100% {-o-transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
}
@keyframes circle-fill-anim {
  0% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
  50% {transform: rotate(0deg) scale(1) skew(1deg);opacity: .2;}
  100% {transform: rotate(0deg) scale(0.7) skew(1deg);opacity: .2;}
}