

/*************************************************************************


                           P   O   P   U   P


*************************************************************************/


/*************************************************************************

                              B A S I C S

*************************************************************************/


.popup{
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0;
	background: #000;
	color: rgba(255,255,255,.5);
	overflow: auto;
	-webkit-transition: opacity 200ms ease;
	-moz-transition: opacity 200ms ease;
	-ms-transition: opacity 200ms ease;
	transition: opacity 200ms ease;
	will-change: opacity;
}

.popup.active{
	pointer-events: initial;
	opacity: 1;
}

.popup .content{
	position: relative;
	max-width: 320px;
	padding: 50px 20px 0;
	box-sizing: border-box;
	margin: 80px auto 50px;
}

.popup .content .close{
	position: absolute;
	width: 22px;
	height: 22px;
	right: 20px;
	top: 0;
	background: url(/assets/img/popup-close.svg) no-repeat center center;
	cursor: pointer;
	opacity: 1;
	-webkit-transition: opacity 200ms ease;
	-moz-transition: opacity 200ms ease;
	-ms-transition: opacity 200ms ease;
	transition: opacity 200ms ease;
	will-change: opacity;
}

.popup .content .close:hover{
	opacity: .75;
}

.popup .content .success{
	position: absolute;
	right: 0;
	top: 0;
	min-width: 100%;
	height: 100%;
	font-size: 16px;
	line-height: 1.5em;
	letter-spacing: 2px;
	padding: 50px 20px 0;
	box-sizing: border-box;
	-webkit-transition: opacity 200ms ease;
	-moz-transition: opacity 200ms ease;
	-ms-transition: opacity 200ms ease;
	transition: opacity 200ms ease;
	pointer-events: none;
}

@media (max-width: 800px){

.popup .content .success{
	width: 100%;
}

}


.popup .content .success.hidden{
	opacity: 0;
}

	.popup .content .success .line{
		white-space: nowrap;
		text-align: center;
	}

@media (max-width: 800px){

	.popup .content .success .line.mobile-wrap{
		white-space: initial;
	}

}

.popup .content .form{
	-webkit-transition: opacity 200ms ease;
	-moz-transition: opacity 200ms ease;
	-ms-transition: opacity 200ms ease;
	transition: opacity 200ms ease;
	will-change: opacity;
}

.popup .content .form.hidden{
	opacity: 0;
	pointer-events: none;
}

	.popup .content .form .field{}

	.popup .content .form .field+.field{
		margin-top: 20px;
	}

		.popup .content .form .field:before{
			display: inline-block;
			font-size: 16px;
			line-height: 20px;
			padding-bottom: 5px;
			letter-spacing: 2px;
		}

		.popup .content .form .field.file:before{
			display: none;
		}

	.popup .content .form .send{
		margin-top: 40px;
		opacity: 1;
		-webkit-transition: opacity 200ms ease;
		-moz-transition: opacity 200ms ease;
		-ms-transition: opacity 200ms ease;
		transition: opacity 200ms ease;
		will-change: opacity;
	}

/*	.popup .content .form .send.disabled{
		opacity: .7;
		pointer-events: none;
	}
*/
		.popup .content .form .send>*{
			width: 150px;
		}

			.lang-ru .popup .content .form .send>*:before{
				content: 'ЗАПИСАТЬСЯ';
			}

			.lang-en .popup .content .form .send>*:before{
				content: 'SEND';
			}

	.popup .content .form .attention{
		font-size: 16px;
		line-height: 24px;
		color: rgba(255,255,255,.3);
		margin-top: 40px;
	}

	.popup .content .form .conditions{
		font-size: 18px;
		line-height: 20px;
		color: rgba(255,255,255,.3);
		margin-top: 40px;
	}

		.popup .content .form .conditions a{}

			.popup .content .form .conditions a{
				border-color: rgba(255,255,255,.3);
			}

			.popup .content .form .conditions a:hover{
				border-color: rgba(255,255,255,0);
			}


