﻿.popup-wrapper {
	display: none;
	position: fixed;
	z-index: 1000;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
}

	.popup-wrapper .show {
		display: block;
	}

.popup-container {
	padding: 20px 40px;
	left: 0;
	top: 0;
	position: relative;
	display: block;
	background-color: rgba(0,0,0,0.8);
	height: 100%;
	width: 100%;
	z-index: 100;
}

@media (max-width: 480px) {
	.popup-container {
		padding: 0;
		overflow: auto;
	}
}

.popup-content {
	-webkit-transition: 0.2s linear;
	transition: 0.2s linear;
	background-color: #fff;
	max-width: 820px;
	width: 100%;
	padding: 136px 100px;
	opacity: 0;
	position: relative;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
/*@media (max-width: 1260px) {
	.popup-content {
		padding: 106px 56px;
	}
}*/
@media (max-width: 767px) {
	.popup-content {
		top: 0;
		left: 0;
		-webkit-transform: translate(0, 0);
		-ms-transform: translate(0, 0);
		transform: translate(0, 0);
		padding: 100px 45px 56px 45px;
	}
}

@media (max-width: 480px) {
	.popup-content {
		padding: 56px 20px 36px 20px;
	}
}

.popup-content.show {
	opacity: 1;
}

.popup-wrapper .close-wrap .close-txt {
	cursor: pointer;
	position: absolute;
	right: 55px;
	top: 34px;
	font-size: 21px;
	line-height: 22px;
	color: #005a73;
	padding: 10px 40px 10px 10px;
}

@media (max-width: 480px) {
	.popup-wrapper .close-wrap .close-txt {
		right: 18px;
		top: 6px;
	}
}

.popup-wrapper .close {
	cursor: pointer;
	position: absolute;
	right: 55px;
	top: 44px;
	width: 22px;
	height: 22px;
	border: 2px solid #f2a91d;
	border-radius: 50%;
	padding: 10px;
	opacity: unset;
}

@media (max-width: 480px) {
	.popup-wrapper .close {
		right: 20px;
		top: 15px;
	}
}

.popup-wrapper .close:before, .popup-wrapper .close:after {
	display: block;
	content: '';
	position: absolute;
	width: 16px;
	height: 2px;
	background: #f2a91d;
	border-radius: 2px;
	-webkit-transition: all .3s ease-in;
	transition: all .3s ease-in;
}

.popup-wrapper .close:before {
	top: 3px;
	left: 4px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transform-origin: bottom left;
	-ms-transform-origin: bottom left;
	transform-origin: bottom left;
}

.popup-wrapper .close:after {
	top: 1px;
	left: 15px;
	-webkit-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	transform: rotate(135deg);
	-webkit-transform-origin: bottom left;
	-ms-transform-origin: bottom left;
	transform-origin: bottom left;
}

.popup-wrapper .inner-text {
	float: left;
}

.popup-wrapper .item {
	width: 100%;
}

	.popup-wrapper .item p {
		font-size: 17px;
		line-height: 19px;
		color: #605f5f;
	}

.popup-wrapper .btn-wrapper {
	position: absolute;
	left: 50%;
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	transform: translateX(-50%);
	bottom: 44px;
}

@media (max-width: 767px) {
	.popup-wrapper .btn-wrapper {
		text-align: center;
		position: static;
		left: 0;
		transform: translateX(0);
	}
}

.popup-wrapper .btn {
	color: #444;
	border: 2px solid #fdb728;
	margin: 0 6px 10px;
	padding: 8px 18px;
	border-radius: 5px;
	line-height: unset;
	font-weight: 500;
	text-align: center;
	min-width: 130px;
}

@media (max-width: 1260px) {
	.popup-wrapper .btn {
		padding: 8px 44px;
	}
}

.popup-wrapper .btn:hover {
	color: #fff;
	background-color: #fdb728;
}
/************************************************************************************************* text break *******/
.info-box {
	word-wrap: break-word;
}

	.info-box ul li .phone {
		font-size: 20px;
	}

.pop-up-block.term-popup .popup-content {
	max-height: 90vh;
	overflow-y: scroll;
}

/************************************************************************************************* submenu *******/
.main-nav .submenu {
	z-index: 10;
}
/************************************************************************************************* centered text on banner *******/
@media (max-width: 639px) {
	.group .banner figure {
		height: 374px;
	}
}

.popup-content .inner-text .not-allowed {
	color: #ff0000;
}

.term-popup .popup-wrapper .btn-wrapper {
	text-align: center;
	position: static;
	left: 0;
	transform: translateX(0);
}

.term-popup .popup-wrapper .inner-text {
	float:none;
}

.right-popup-button {
	background: white;
	position: fixed;
	left: 100%;
	top: 50%;
	transform-origin: 0%;
	width: max-content;
	transform: rotate(-90deg) translateY(-50%);
	z-index: 100;
	margin: -3px;
	cursor: pointer;
}

@media (max-width: 639px) {

	.right-popup-button {
		left: 0;
		transform: rotate(-90deg) translateY(50%);
		margin: 3px;
		top: 80%;
	}
}

.right-popup-button:hover {
	background: #fdb728;
}
.contact .Form__MainBody .plain-submit {
	margin-left: 0;
}