/*video modal*/


/**
 * Simple fade transition,
 */
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}

.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out;
	transition: all 0.15s ease-out;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

/* END video modal*/


/*-------------------*/

.white-popup {
	position: relative;
	background: #fff;
	padding: 25px;
	width: auto;
	max-width: 1200px;
	margin: 0 auto;
}

.mfp-zoom-in .mfp-with-anim {
	opacity: 0;
	-webkit-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
}

.mfp-zoom-in.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}

.mfp-zoom-in.mfp-ready .mfp-with-anim {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}

.mfp-zoom-in.mfp-ready.mfp-bg {
	opacity: 0.8;
}

.mfp-zoom-in.mfp-removing .mfp-with-anim {
	-webkit-transform: scale(0.8);
	transform: scale(0.8);
	opacity: 0;
}

.mfp-zoom-in.mfp-removing.mfp-bg {
	opacity: 0;
}


/*---------стили для модального окна-----*/

.modal_forms {
	max-width: 465px;
	background: #fff;
	border-radius: 5px;
	padding: 50px 30px;


	form {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column;
		flex-flow: column;
	}


	.modal_form_head {
		font-weight: 600;
		font-size: 16px;
		line-height: 20px;
		text-align: center;
		letter-spacing: 0.02em;
		color: #212121;
		display: block;
		margin: 0 0 40px;
	}

	label {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-flow: column;
		flex-flow: column;
		margin: 0 0 30px;

		input,
		textarea {
			background: #FFFFFF;
			border: 1px solid #BDBDBD;
			border-radius: 4px;
			height: 44px;
			padding: 0 20px;
		}

		textarea {
			width: 100% !important;
			padding-top: 15px;
			min-height: 75px;
			resize: vertical;
			outline: none;
		}

	}

	.label_name {
		font-weight: 400;
		font-size: 16px;
		line-height: 20px;
		letter-spacing: 0.02em;
		color: #212121;
		display: block;
		margin: 0 0 10px;
	}

	.btn_form {
		min-width: 300px;
		height: 50px;
		margin: 0 auto 25px;
	}

	.checkbox_label {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-orient: horizontal;
		-webkit-box-direction: normal;
		-ms-flex-flow: row;
		flex-flow: row;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
		margin: 0;

		font-weight: 400;
		font-size: 12px;
		line-height: 150%;
		-webkit-font-feature-settings: 'pnum'on, 'lnum'on;
		font-feature-settings: 'pnum'on, 'lnum'on;
		color: #212121;

		input {
			height: 20px;
		}

		a {
			color: #A316D5;
			text-decoration: underline;
		}
	}

	/*---чекбокс---*/

	.control {
		font-family: arial;
		display: block;
		position: relative;
		padding-left: 30px;
		margin-bottom: 5px;
		padding-top: 3px;
		cursor: pointer;
	}

	.control input {
		position: absolute;
		z-index: -1;
		opacity: 0;
	}

	.control_indicator {
		position: absolute;
		top: 2px;
		left: 0;
		height: 20px;
		width: 20px;
		background: #ffffff;
		border: 1.5px solid #747474;
		border-radius: 5px;
	}

	.control:hover input ~ .control_indicator,
	.control input:focus ~ .control_indicator {
		background: #ffffff;
	}

	.control input:checked ~ .control_indicator {
		background: #ffffff;
	}

	.control:hover input:not([disabled]):checked ~ .control_indicator,
	.control input:checked:focus ~ .control_indicator {
		background: #ffffff;
	}

	.control input:disabled ~ .control_indicator {
		background: #e6e6e6;
		opacity: 0.6;
		pointer-events: none;
	}

	.control_indicator:after {
		-webkit-box-sizing: unset;
		box-sizing: unset;
		content: '';
		position: absolute;
		display: none;
	}

	.control input:checked ~ .control_indicator:after {
		display: block;
	}

	.control-checkbox .control_indicator:after {
		left: 7px;
		top: 3px;
		width: 3px;
		height: 8px;
		border: solid #A316D5;
		border-width: 0 2px 2px 0;
		-webkit-transform: rotate(45deg);
		transform: rotate(45deg);
	}

	.control-checkbox input:disabled ~ .control_indicator:after {
		border-color: #7b7b7b;
	}

}


.order_modal {
	max-width: 465px;
	background: #fff;
	border-radius: 5px;
	padding: 50px 30px;

	.order_modal_title {
		display: block;
		font-weight: 600;
		font-size: 16px;
		line-height: 22px;
		text-align: center;
		letter-spacing: 0.02em;
		color: #A316D5;
		margin: 0 0 25px;

		.name_products {
			font-size: 18px;
			line-height: 22px;
			color: #212121;
		}
	}

	.order_modal_subtitle {
		display: block;
		font-weight: 400;
		font-size: 16px;
		line-height: 150%;
		text-align: center;
		-webkit-font-feature-settings: 'pnum'on, 'lnum'on;
		font-feature-settings: 'pnum'on, 'lnum'on;
		color: #212121;
		padding: 0 0 30px;
		border-bottom: 1px solid #E0E0E0;
		margin: 0 0 25px;
	}




}


/*----css модального окна-------*/

.alModal {
	width: 96%;
	max-width: 350px;
	height: auto;
	display: none;
	position: fixed;
	z-index: 99999999;
	font-family: sans-serif;
	opacity: 0;
	top: 100%;
	left: 50%;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}

span.alModalClose:before {
	display: block;
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: #fff;
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	top: 42%;
}

.alModalClose {
	cursor: pointer;
	width: 20px;
	display: block;
	text-align: center;
	float: right;
	position: absolute;
	top: -25px;
	right: -25px;
	z-index: 101;
	color: #ffffff;
	font-size: 12px;
	height: 20px;
	line-height: 26px;
	font-family: sans-serif;
}

span.alModalClose:after {
	display: block;
	content: '';
	position: absolute;
	width: 100%;
	height: 1px;
	background: #fff;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	top: 42%;
	left: 0%;
}

.alModalClose:hover {
	color: #ffffff;
}

.alModal p {
	position: relative;
	display: block;
	text-align: left;
	color: #000;
	margin: 0px;
	font-size: 16px;
	line-height: 1.4;
	padding: 0px 5px;
}

.alModalThank {
	max-width: 385px;

	.thank_icon {
		width: -webkit-max-content;
		width: -moz-max-content;
		width: max-content;
		height: auto;
		max-width: 100%;
		margin: 0 auto 25px;

		img {
			-o-object-fit: scale-down;
			object-fit: scale-down;
			-o-object-position: center;
			object-position: center;
			height: auto;
		}
	}

	.thank_text,
	.thank_title {
		text-align: center;
		margin: 0 0 15px;
	}

}

.alModal .thank_ico {
	color: #2F42A9;
	padding: 10px 10px 0;
	font-size: 50px;
	display: inline-block;
	line-height: 1;
	border-radius: 50%;
	width: 65px;
	text-align: center;
	height: 65px;
	font-weight: bold;
	vertical-align: middle;
}

.alModal .thank_words {
	display: inline-block;
	color: #333;
	padding-left: 20px;
	line-height: 1.4;
	font-size: 17px;
	width: 73%;
	vertical-align: middle;
}

.overlay {
	z-index: 999999;
	position: fixed;
	background-color: #000;
	opacity: 0.8;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	cursor: pointer;
	display: none;
}

.alModalContent {
	padding: 15px 22px;
	background: #fff;
	border-radius: 25px;
}

.alModalContent .alModalInput {
	position: relative;
	display: block;
	margin: 0 auto;
	margin-top: 10px;
	padding: 12px;
	height: auto;
	width: 100%;
	line-height: 1;
	border-radius: 0px;
	border: 1px solid #ccc;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 15px;
	color: #333;
}

.alModal .alModalButton {
	font-weight: bold;
	position: relative;
	display: block;
	margin: 0 auto;
	width: 100%;
	line-height: 1.4;
	font-size: 16px;
	color: #fff;
	cursor: pointer;
	margin-top: 10px;
	padding: 9px;
	-webkit-transition: 0.5s ease;
	transition: 0.5s ease;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	border: 1px solid #00f;
	background: #00f;
}

.alModal .alModalButton:hover {
	background: #fff;
	color: #00f;
}


/*-------модалка всплывашка---------*/

.modal_form_box {
	//  background: #1A1A19;
	background: url(../images/frame_back.png) no-repeat;
	//  background-size: cover;
	border-radius: 5px;
	padding: 45px 40px 35px !important;
	max-width: 790px !important;
	margin: 0 auto !important;
	-webkit-box-shadow: 0 11px 8px -5px rgba(47, 66, 169, 0.6);
	box-shadow: 0 11px 8px -5px rgba(47, 66, 169, 0.6);
}


.modal_form_wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.modal_form {
	width: calc(50% - 11px);
}

.modal_form_tile {
	font-weight: 900;
	font-size: 25px;
	line-height: 31px;
	text-transform: uppercase;
	color: #FFFFFF;
	text-align: center;
	display: block;
	margin: 0 0 15px;
}

.modal_form_subtitle {
	font-weight: 400;
	font-size: 16px;
	line-height: 19px;
	color: #FFFFFF;
	display: block;
	margin: 0 0 30px;
}

.modal_form_label {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-flow: column;
	flex-flow: column;
	-webkit-box-align: start;
	-ms-flex-align: start;
	align-items: flex-start;
	margin: 0 0 15px;

	.form_label_name {
		font-weight: 400;
		font-size: 14px;
		line-height: 16px;
		text-align: center;
		color: #111111;
		display: block;
		margin: 0 0 7px;
	}

	input {
		background: #FFFFFF;
		border: none;
		border-radius: 5px;

		font-weight: 400;
		font-size: 15px;
		line-height: 17px;
		letter-spacing: 0.15em;
		color: #000;
		width: 100%;
		height: 40px;
		padding: 0 15px;
	}

	input::-webkit-input-placeholder {
		color: #98A1AA;
	}

	input:-ms-input-placeholder {
		color: #98A1AA;
	}

	input::placeholder {
		color: #98A1AA;
	}

}

.form_btn {
	margin-top: 40px;
	min-width: 100%;
	margin-bottom: 25px;
	border: none;
	outline: none;
}

.modal_form_policy .control {
	font-weight: 400;
	font-size: 12px;
	line-height: 14px;
	color: #FFFFFF;

	a {
		color: #fff;
		-webkit-transition: all .3s ease-out;
		transition: all .3s ease-out;

		&:hover {
			color: #e6e6e6;
		}
	}

}

.modal_form_img {
	width: calc(50% - 11px);

	img {
		border-radius: 10px;
	}
}



.modal_price {
	max-width: 450px;
	border-radius: 10px;
	background: #fff;
	padding: 35px 25px
}


.modal_price_wrappper .modal-right {
	width: 100%;
}

.modal_price_wrappper .modal-privacy{
	margin-bottom: 15px;
}

.modal_price_wrappper .modal_form_img {
	margin: 0 auto 25px;
	width: -webkit-fit-content;
	width: -moz-fit-content;
	width: fit-content
}

.modal_price_wrappper .modal_form_img img {
	width: auto
}

.modal_price_wrappper .modal_price_head {
	display: block;
	font-weight: 700;
	font-size: 18px;
	line-height: 122%;
	color: #1d1f20;
	text-align: center;
	margin: 0 auto 25px;
	max-width: 380px
}

.modal_price_wrappper .form_modal {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-flow: column;
	flex-flow: column
}

.modal_price_wrappper textarea,
.modal_price_wrappper input {
	border: 1px solid #cacfdc;
	border-radius: 5px;
	width: 100%;
	height: 45px;
	outline: none;
	padding: 0 20px;
	font-size: 15px;
	color: #3b3132;
	margin: 0 auto 15px;
}

.modal_price_wrappper textarea {
	height: 100px;
	padding: 10px 20px;
	resize: vertical
}

.modal_price_wrappper input[type="file"] {
	border: none
}

.modal_price_wrappper button {
	border: none;
	outline: none;
	width: 100%;
}
