/* Popup shell: overlay, lang, ok, consult, guarantee */

.asic-popups-root {
	display: contents;
}

.popup-link {
	text-decoration: none;
	cursor: pointer
}

.popup {
	position: fixed;
	pointer-events: none;
	z-index: 150;
	width: 100%;
	height: 100%;
	background-color: rgba(41, 48, 61, .2);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	top: 0;
	left: 0;
	opacity: 0;
	visibility: hidden;
	overflow-y: auto;
	transition: .8s;
	-webkit-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0)
}

.popup.open {
	opacity: 1;
	visibility: visible;
	pointer-events: all
}

.popup.open .popup__content {
	-webkit-transform: scale(1);
	-ms-transform: scale(1);
	transform: scale(1);
	opacity: 1
}

.popup__body {
	min-height: 100%;
	display: flex;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding: 30px 10px;
	transition: .8s
}

.popup__content {
	padding: 50px;
	background: #fff;
	-webkit-box-shadow: 0 10px 30px rgba(101, 101, 101, .1);
	box-shadow: 0 10px 30px rgba(101, 101, 101, .1);
	max-width: 900px;
	width: 100%;
	position: relative;
	-webkit-transition: .8s;
	-o-transition: .8s;
	transition: .8s;
	opacity: 0;
	-webkit-transform: scale(.7);
	-ms-transform: scale(.7);
	transform: scale(.7);
	border-radius: 20px
}

.popup .popup__close {
	display: block;
	position: absolute;
	z-index: 6;
	right: 23px;
	top: 23px;
	width: 20px;
	height: 20px;
	background: #c7ced4;
	border-radius: 50%;
	font-size: 0;
	text-decoration: none
}

.popup .popup__close::after,
.popup .popup__close::before {
	position: absolute;
	content: "";
	left: 50%;
	top: 50%;
	-webkit-transform: translate(-50%, -50%) rotate(-45deg);
	-ms-transform: translate(-50%, -50%) rotate(-45deg);
	transform: translate(-50%, -50%) rotate(-45deg);
	width: 11px;
	height: 1px;
	background: #fff
}

.popup .popup__close::after {
	-webkit-transform: translate(-50%, -50%) rotate(45deg);
	-ms-transform: translate(-50%, -50%) rotate(45deg);
	transform: translate(-50%, -50%) rotate(45deg)
}

.popup-lang .popup__content {
	max-width: 640px;
	padding: 50px 20px 30px
}

.popup-lang .lang {
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	grid-gap: 10px;
	margin: 50px 0 75px
}

.popup-lang .lang-item a {
	min-width: 80px;
	padding: 9px;
	font-weight: 700;
	font-size: 14px;
	line-height: 20px;
	text-transform: uppercase;
	text-align: center;
	letter-spacing: .04em;
	color: #c7ced5;
	border: 1px solid #c7ced5;
	border-radius: 8px;
	-webkit-transition: .4s ease-in-out;
	-o-transition: .4s ease-in-out;
	transition: .4s ease-in-out
}

.popup-lang .lang-item.current-lang a,
.popup-lang .lang-item:hover a {
	color: var(--orange);
	border: 1px solid var(--orange)
}

.popup-lang-close {
	position: relative;
	color: #c7ced5
}

.popup-lang-close i {
	background-image: -webkit-gradient(linear, left top, right top, color-stop(40%, #c7ced5), color-stop(20%, rgba(255, 255, 255, 0)));
	background-image: -o-linear-gradient(left, #c7ced5 40%, rgba(255, 255, 255, 0) 20%);
	background-image: linear-gradient(to right, #c7ced5 40%, rgba(255, 255, 255, 0) 20%)
}

.popup-ok .popup__content {
	padding: 105px 30px;
	max-width: 640px;
	background: -o-linear-gradient(344.14deg, #ff6a16 -14.72%, #ffa216 111.57%);
	background: linear-gradient(105.86deg, #ff6a16 -14.72%, #ffa216 111.57%)
}

.popup-ok-check {
	position: relative;
	display: block;
	width: 80px;
	height: 80px;
	margin: 0 auto 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .25)
}

.popup-ok-check::before {
	position: absolute;
	content: "";
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 30px;
	height: 30px;
	background: url(../img/icons/check_white.svg) center/contain no-repeat
}

.popup-consult .popup__content {
	overflow: hidden;
	padding: 70px 30px;
	max-width: 640px;
	background: -o-linear-gradient(344.14deg, #ff6a16 -14.72%, #ffa216 111.57%);
	background: linear-gradient(105.86deg, #ff6a16 -14.72%, #ffa216 111.57%)
}

.popup-consult .popup__content-items {
	position: relative;
	z-index: 5
}

.popup-consult .banner-cf7-coin-1 {
	top: 0;
	bottom: auto;
	-webkit-transform: translate(-30%, 5px) scale(.9);
	-ms-transform: translate(-30%, 5px) scale(.9);
	transform: translate(-30%, 5px) scale(.9)
}

.popup-consult .banner-cf7-coin-2 {
	-webkit-transform: translate(80%, -47px) scale(.65);
	-ms-transform: translate(80%, -47px) scale(.65);
	transform: translate(80%, -47px) scale(.65)
}

.popup-consult .banner-cf7-coin-3 {
	-webkit-transform: translate(10%, 25px) scale(.65);
	-ms-transform: translate(10%, 25px) scale(.65);
	transform: translate(10%, 25px) scale(.65);
	bottom: 0;
	top: auto
}

.popup-quarantee .popup__content {
	max-width: 540px
}

.popup-quarantee .wpcf7-form .form-row {
	margin-bottom: 15px
}

.popup-quarantee .wpcf7-form .form-row input[type=email],
.popup-quarantee .wpcf7-form .form-row input[type=tel],
.popup-quarantee .wpcf7-form .form-row input[type=text],
.popup-quarantee .wpcf7-form .form-row textarea {
	border: 2px solid var(--grayl);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 400
}

.popup-quarantee .wpcf7-form .form-row textarea {
	height: 115px;
	resize: none
}


/* === Responsive === */



@media all and (max-width:480px) {

	.popup-ok .popup__body {
			padding: 0;
			height: calc(100% - var(--head-height));
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center
		}

	.popup-ok .popup__content {
			display: -webkit-box;
			display: -ms-flexbox;
			display: flex;
			-webkit-box-orient: vertical;
			-webkit-box-direction: normal;
			-ms-flex-direction: column;
			flex-direction: column;
			-webkit-box-align: center;
			-ms-flex-align: center;
			align-items: center;
			-webkit-box-pack: center;
			-ms-flex-pack: center;
			justify-content: center;
			padding: 40px 20px 80px;
			border-radius: 20px
		}

	.popup-consult .banner-cf7-coin-2 {
			-webkit-transform: translate(30%, -47px) scale(.65);
			-ms-transform: translate(30%, -47px) scale(.65);
			transform: translate(30%, -47px) scale(.65)
		}

}
