div.modal {
	display: none;
	position: fixed;
	z-index: 550;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.55);
	padding: 30px;
	box-sizing: border-box;
}

div.modal.modal--open {
	display: block!important;
}

div.modal p {
	font-size: 15px;
	line-height: 18px;
	margin-bottom: 20px;
}

div.modal h1 {
	height: auto;
	line-height: 15px;
	color: #1e1e1e;
}

div.modal .modal-dialog {
	margin: 1.75rem auto;
	min-height: calc(100% - (1.75rem * 2));
	transform: translate(0,0);
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	position: relative;
	pointer-events: none;
	width: 599px;
}

div.modal .modal-dialog .modal-content  {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	pointer-events: auto;
	background-clip: padding-box;
	outline: 0;
	width: 100%;
	top: 0;
	left: 0;
	transform: translate(0, 0);
}

div.modal .modal-content {
	background-color: #fefefe;
	display: table;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid #888;
	width: 599px;
	height: max-content;
	padding: 44px 50px 50px;
	position: relative;
	border-radius: 4px;
	box-sizing: border-box;
}

div.modal .modal-content.modal-content-offer_subscribe {
	background-color: #fefefe;
	margin: auto;
	border: 1px solid #888;
	width: 599px;
	padding: 37px 40px 50px;
	position: relative;
	border-radius: 4px;
	box-sizing: border-box;
}

.modal-content .form .form-group--submit {
	margin-bottom: 0;
}

div.modal-file_getters .modal-heading {
	margin-bottom: 0;
}

div.modal-file_getters .modal-content,
div.modal-product_demo .modal-content,
div.modal-individual_research .modal-content,
div.modal-file_getters .modal-dialog,
div.modal-product_demo .modal-dialog,
div.modal.modal-individual_research .modal-dialog {
	width: 450px;
}

div.modal-auth .modal-content,
div.modal-change_pass .modal-content,
div.modal-auth .modal-dialog,
div.modal-change_pass .modal-dialog {
	width: 450px;
}

div.modal-auth .modal-auth-reg-container .form,
div.modal-auth .modal-auth-auth-container .form {
	margin-bottom: 50px;
}

div.modal-auth .modal-auth-auth-container .form-group--submit {
	margin-bottom: 15px;
}

div.modal-auth .modal-auth-reg-container a.modal-auth_reg {
	margin-top: 40px;
}

div.modal-auth .modal-auth-forgot-container .modal-heading {
	margin: 0 0 17px 0;
}

div.modal-auth .modal-auth-reg-container .modal-heading {
	margin: 0 0 18px 0;
}

div.modal-auth .modal-auth-reg-container input[type=checkbox] + label:before {
	width: 18px;
	height: 18px;
}

.modal-content .form {
	width: 100%;
	box-sizing: border-box;
}

.modal-heading {
	color: black;
	text-transform: uppercase;
	font-family: Trebuchet MS, Arial, Tahoma;
	font-size: 24px;
	text-align: center;
	font-weight: bold;
	margin-bottom: 16px;
}

.modal .modal-title {
	font-size: 16px;
	text-align: center;
	margin-bottom: 20px;
}

.modal .modal-footer--text_center {
	text-align: center;
}

.modal-get_file-top{
	margin-bottom: 50px;
}

.modal-get_file-top p ,
.modal-get_file-form-top p {
	text-align: center;
	font-size: 16px;
	margin-bottom: 20px;
}

div.modal-auth .auth-social svg {
	width: 35px;
	height: 35px;
}

div.modal-auth .auth-social svg#Auth-social-link-vk:hover path {
	fill: #5379a6;
}

div.modal-auth .auth-social svg#Auth-social-link-fb:hover path {
	fill: #4d67a4;
}

div.modal-auth .auth-social {
	text-align: center;
	margin-bottom: 34px;
}

div.modal-auth .auth-social a {
	text-decoration: none;
}

div.modal-auth .auth-social > p {
	font-size: 14px;
	margin: 0 0 14px;
	color: #8c8c8c;
}

div.modal-auth .auth-social svg#Auth-social-link-vk {
	margin-right: 16px;
	margin-left: -6px;
}

div.modal-auth form a.forgot:hover {
	color: #3fc1fe;
}

div.modal-auth form a.forgot {
	font-size: 14px;
	float: right;
	color: #0055a1;
	text-decoration: none;
	cursor: pointer;
}

div.modal-auth a.modal-auth_reg {
	font-size: 14px;
	display: block;
	text-align: center;
	background: #ebebeb;
	text-decoration: none;
	padding: 17px 10px;
	color: #0055a1;
	border-radius: 0 0 4px 4px;
	border-top: 1px solid #d3d8dc;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	box-sizing: border-box;
}

div.modal-auth a.modal-auth_reg:hover {
	color: #3fa6fe;
}

div.modal-auth input[type="checkbox"] {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 9;
}

div.modal-auth .remember label {
	font-size: 14px;
	color: black;
}

div.modal-auth .modal-auth_reg {
	cursor: pointer;
}

div.modal-auth .is-privacy-policy-approved {
	opacity: 1 !important;
	position: relative !important;
}

.modal-close:hover {
	background-image: url(/application/includes/images/cross_hover.svg);
}

.modal-content .preloader:before {
	top: 40%;
}

.add_to_basket-modal-button-order {
	position: absolute;
	right: 0;
	bottom: 21px;
	width: 186px;
	text-align: center;
	font-size: 18px;
	padding: 9px 15px;
}

.modal-close.add_to_basket-modal-button-continue {
	left: -2px;
	position: absolute;
	bottom: 35px;
	color: #2F7ABA;
	text-decoration: none;
	font-size: 15px;
}

a.file_getters-price_list-modal-link {
	color: #fff;
	padding: 8px 35px;
}

div.modal .modal-content.modal-content-offer_subscribe {
	width: 700px;
	background: url('/application/includes/images/modal_offer_subscribe.png');
	background-repeat: no-repeat;
	height: 250px;
	background-size: cover;
	border: none;
}

.modal-offer_subscribe-container {
	position: relative;
	width: 100%;
	height: 100%;
}

div.modal-offer_subscribe-container p {
	position: absolute;
	color: white;
	font-size: 20px;
	line-height: 23px;
	font-weight: bold;
	width: 236px;
	height: 60px;
}

div.modal-offer_subscribe-button-group {
	position: absolute;
	top: 100px;
}

.modal-offer_subscribe-button-group a {
	display: block;
	margin-bottom: 22px;
}

a.modal-offer_subscribe-subscribe-button.button:hover {
	background: linear-gradient(to top, #cfd2d3, #f4f5f6);
}

a.modal-offer_subscribe-subscribe-button.button {
	background: linear-gradient(to top, #e2e4e6, #fff);
	box-shadow: inset 0 -2px 0 0 #cbced2;
	width: 224px;
	height: 16px;
	border: solid 1px #cbced2;
	position: relative;
	padding-left: 0;
	padding-right: 0;
}

a.modal-offer_subscribe-subscribe-button.button span {
	color: black;
	font-size: 18px;
	position: absolute;
	display: block;
	width: 100%;
	text-align: center;
	top: 10px;
	font-family: Trebuchet MS;
}

a.modal-offer_subscribe-subscribe-button.button span:before {
	content: '';
	display: inline-block;
	width: 20px;
	height: 15px;
	background: url(/application/includes/images/icon_mail.svg) no-repeat;
	background-size: contain;
	margin-right: 9px
}

a.modal-offer_subscribe-already-button {
	text-align: center;
	color: white;
	text-decoration: none;
	font-size: 15px;
}

.modal-auth-forgot-container p {
	font-size: 16px;
	text-align: center;
	margin-bottom: 17px;
}

#modal_basket_confirm {
	position: fixed;
	width: 315px;
	top: 50%;
	left: 50%;
	padding: 10px 12px 20px 12px;
	margin: -75px 0 0 -170px;
	background-color: white;
	border: 1px solid #3d3a3b;
	z-index: 50;
}

#modal_basket_confirm h1 {
	height: auto;
	line-height: normal;
	font-weight: normal;
	text-transform: none;
}

#modal_basket_confirm a {
	color: #4c4c4c;
}

#modal_basket_confirm p + p {
	margin: 10px 0 0 0;
}

#modal_basket_confirm .right_col {
	display: block;
	float: right;
	width: 50%;
}

#modal_basket_confirm .right_col a {
	color: #004b0a !important;
}

#modal_basket_confirm #okButton {
	display: block;
	width: 85px;
	height: 18px;
	line-height: 18px;
	color: #004b0a !important;
	padding: 0 12px;
	margin-top: 3px;
	background: white !important;
	border: 2px solid #005f26;
	border-radius: 18px;
}

#modal_basket_confirm #okButton:hover {
	color: white !important;
	background: #0ba14b !important;
}

/* Описание стилей для модального окна подписки */
div#modal-subscribe .modal-content {
	width: 673px;
	padding: 0;
}

div#modal-subscribe .Block-subscribe {
	margin-bottom: 0;
	border-radius: 4px;
	padding: 40px 35px 23px 35px;
}

div#modal-subscribe .Block-subscribe-title {
	line-height: 28px;
	margin-bottom: 14px;
}

div#modal-subscribe .Block-subscribe-text {
	margin-bottom: 20px;
}

div#modal-subscribe .Block-subscribe-text__gray {
	font-size: 16px;
	margin-bottom: 10px;
}

div#modal-subscribe .Block-subscribe-rectangle {
	background: url('/application/includes/images/phone_subscribe_modal.png') no-repeat center / cover;
}

div#modal-auth .final-success,
#subscribeOuterBlock .final-success {
	display: none;
}

.button-link {
	border: 0;
	padding: 0;
	background: none;
	cursor: pointer;
	color: #0a8eff;
}

.button-link:hover {
	text-decoration: underline;
}