.modal {
	display: none;
	position: relative;

	width: 100%;
	margin: auto;
	border-radius: 8px;
}

.modal.send {
	width: 880px;
}

.modal.request {
	width: 520px;
}

.modal.request .contacts_form {
	width: 100%;
}

.modal_bone {
	background-color: var(--white);
	border-radius: 20px;
}

.modal_wrapper {
	padding: 40px;
}

.modal_bone iframe {
	width: 100%;
	min-height: 660px;
	border: 0 none;
}

.modal_bar {
	position: absolute;
	top: 0;
	bottom: 0;

	width: 59px;
}

.modal_image {

}

.modal_image img {
	border-radius: 8px;
}

.modal_title {
	color: var(--black);
	font-size: var(--h1);
	font-family: 'Cavas', sans-serif;
	line-height: 140%;
}

.modal_descr {
	margin-top: 20px;
	color: var(--corp);
	font-size: 16px;
	line-height: 160%;
}

.modal_input {
	margin-top: 8px;
}

.modal_button {
	margin-top: 8px;
}

.modal_button .button {
	padding: 23px 28px;
	border-radius: 20px 20px 40px 40px;
}

.modal_note {
	padding-top: 20px;
	color: var(--accent);
	font-size: var(--text);
	text-align: center;
	line-height: 160%;
}

.modal_note a {
	color: var(--white);
	text-decoration: underline;
}

.modal_note a:hover {
	text-decoration: none;
}

.modal_bar.left {
	left: -59px;
}

.modal_bar.right {
	right: -59px;
}

.modal_close {
	position: fixed;
	top: 85px;

	width: 28px;
	height: 28px;
	margin-top: 0;
	margin-left: 12px;
	border-radius: 50%;
	cursor: pointer;

	transition: background-color .23s ease-out;
}

.modal_close img {
	width: 100%;
	height: auto;
	opacity: 1;

	transition: opacity .23s ease-out;
}

.modal_close.absolute {
	position: sticky;
	top: 0;
}

.modal_block {
	margin-top: 24px;
	padding: 20px;
	background-color: #FAFAFA;
	border: 1px solid #EEE;
	border-radius: 16px;
}

.modal_block.white {
	background-color: var(--white);
	box-shadow: 0 4px 20px 0 rgba(0, 0, 0, .04);
}

.modal_director {
	color: var(--blue);
	font-size: 12px;
	line-height: 160%;
}

.modal_address {
	margin-top: 16px;
	color: var(--blue);
	font-size: 21px;
	font-weight: 700;
}

.modal_region {
	margin-top: 16px;
	color: var(--blue);
	font-size: 12px;
	line-height: 160%;
}

.modal_region span {
	text-decoration: underline;
}

.modal_subtitle {
	margin-top: 24px;
	color: var(--blue);
	font-size: 18px;
	font-weight: 700;
}

.modal_p {
	margin-top: 24px;
	color: var(--blue);
	font-size: 18px;
	font-weight: 500;
	line-height: 180%;
}

.modal_p span {
	color: var(--red);
}

.modal_licens {
	margin-top: 24px;
	color: var(--red);
	font-size: 21px;
}

.modal_hover {
	position: absolute;
	bottom: 0;

	width: 59px;
	cursor: pointer;
}

.modal_hover.left {
	top: 0;
}

.modal_hover.right {
	top: 49px;
}

.modal_arrow {
	position: fixed;
	top: 50%;

	width: 59px;
	height: 59px;
	background: url('/images/arrow.svg') center center no-repeat;
	background-size: 30px auto;
	opacity: .5;

	transition: opacity .25s ease-out;
}

.modal_arrow.left {
	transform: translateY(-50%);
}

.modal_arrow.right {
	transform: translateY(-50%) rotate(180deg);
}

.modal_hover:hover .modal_arrow {
	opacity: 1;
}

.modal_lock {
	overflow: hidden;
	position: fixed;

	width: 100%;
	height: 100%;
}

.modal_overlay {
	overflow: auto;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;

	background: var(--black);
	z-index: 99000;
	zoom: 1;

	-webkit-backdrop-filter: blur(40px);
			backdrop-filter: blur(40px);

	-webkit-overflow-scrolling: touch;
}

.modal_overlay > *:not(.modal_arrow.right),
.modal_overlay > *:not(.modal_arrow.left) {
	-webkit-transform: translateZ(0px);
}

@media only screen and (max-width: 990px) {
	.modal_portfolio_view_bone {
		padding: 100px 30px 30px;
	}
}

@media only screen and (max-width: 940px) {
	.modal_bar {
		position: absolute;
		top: -59px;
		right: 0;
		bottom: auto;

		height: 59px;
	}

	.modal_bar.left {
		left: 0;
	}

	.modal_bar.right {
		top: 0;
		right: 0;
	}

	.modal_close,
	.modal_close.absolute {
		position: absolute;
		top: 12px;
		right: 12px;

		margin: 0;
		background-color: rgba(0, 0, 0, .12);
	}

	.modal_close:hover {
		background-color: rgba(0, 0, 0, .24);
	}

	.modal_close img {
		opacity: 1;
	}

	.modal_hover {
		bottom: auto;

		height: 59px;
	}

	.modal_hover.right {
		top: 0;
	}

	.modal_arrow {
		position: absolute;
		top: 0;

		background: url('../images/arrow_m.svg') center center no-repeat;
		background-size: 19px auto;
	}

	.modal_arrow.left {
		transform: translateY(0);
	}

	.modal_arrow.right {
		transform: translateY(0) rotate(180deg);
	}

	.modal_bone {
/*		padding: 60px 0 0;*/
	}
}

@media only screen and (max-width: 480px) {
	.modal.send {
		width: calc(100% - 24px);
	}
}