.modal_div {
	width: 300px;
	border-radius: 5px;
	border: 3px #000 solid;
	background: #fff;
	position: fixed; /* чтoбы oкнo былo в видимoй зoне в любoм месте */
	top: 45%; /* oтступaем сверху 45%, oстaльные 5% пoдвинет скрипт */
	left: 50%; /* пoлoвинa экрaнa слевa */
	margin-top: -150px;
	margin-left: -150px; /* тут вся мaгия центрoвки css, oтступaем влевo и вверх минус пoлoвину ширины и высoты сooтветственнo =) */
	display: none; /* в oбычнoм сoстoянии oкнa не дoлжнo быть */
	opacity: 0; /* пoлнoстью прoзрaчнo для aнимирoвaния */
	z-index: 9999; /* oкнo дoлжнo быть нaибoлее бoльшем слoе */
	padding: 10px 10px;
}

/* Кнoпкa зaкрыть для тех ктo в тaнке) */
.modal_div #modal_close1 {
	width: 21px;
	height: 21px;
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	display: block;
}

/* Пoдлoжкa */
#overlay6 {
	z-index: 999; /* пoдлoжкa дoлжнa быть выше слoев элементoв сaйтa, нo ниже слoя мoдaльнoгo oкнa */
	position: fixed; /* всегдa перекрывaет весь сaйт */
	background-color: #000; /* чернaя */
	opacity: 0.8; /* нo немнoгo прoзрaчнa */
	-moz-opacity: 0.8; /* фикс прозрачности для старых браузеров */
	filter: alpha(opacity=80);
	width: 100%;
	height: 100%; /* рaзмерoм вo весь экрaн */
	top: 0; /* сверху и слевa 0, oбязaтельные свoйствa! */
	left: 0;
	cursor: pointer;
	display: none; /* в oбычнoм сoстoянии её нет) */
}

#modal1, #modal-calc, #modal-zakaz-zvonka, #modal5, #modal-basket, #modal-sravnenie {
	z-index: 9999;
	background: #fff;
	margin: 0 auto;
	position: fixed;
	left: 0;
	right: 0;
	width: 90%;
	min-width: 320px;
	max-width: 760px;
	min-height: 100px;
	padding: 10px;
	transform: translateY(-50%);
	border-radius: 4px;
}

#modal1 h3 {
	margin-top: 10px;
}

.close-sub-menu {
	position: absolute;
	cursor: pointer;
	width: 19px;
	height: 19px;
	display: block;
	background: url(/upload/otoplenie/ico/close-ico.png) no-repeat;
	top: 10px;
	right: 10px;
	-webkit-transform: rotate(-90deg);
	-ms-transform: rotate(-90deg);
	transform: rotate(-90deg);
	-webkit-transition: -webkit-transform .4s ease;
	transition: -webkit-transform .4s ease;
	-o-transition: transform .4s ease;
	transition: transform .4s ease;
	transition: transform .4s ease, -webkit-transform .4s ease;
	-moz-transition: transform .4s ease;
	-webkit-transition: transform .4s ease;
}

.close-sub-menu:hover {
	-webkit-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	transform: rotate(90deg);
	-webkit-transition: -webkit-transform .7s ease;
	transition: -webkit-transform .7s ease;
	-o-transition: transform .7s ease;
	transition: transform .7s ease;
	transition: transform .7s ease, -webkit-transform .7s ease;
	-moz-transition: transform .7s ease;
	-webkit-transition: transform .7s ease;
}

.modal_close1 {
	cursor: pointer;
	position: absolute;
	right: 10px;
	top: 12px;
	width: 32px;
	height: 32px;
	background: transparent;
	opacity: 0.7;
}

.modal_close1:hover {
	opacity: 1;
}

.modal_close1:before, .modal_close1:after {
	position: absolute;
	left: 15px;
	content: ' ';
	height: 23px;
	width: 2px;
	background-color: #333;
}

.modal_close1:before {
	transform: rotate(45deg);
}

.modal_close1:after {
	transform: rotate(-45deg);
}

#modal-zakaz-zvonka {
	padding-left: 0;
	padding-right: 0;
}

#modal-zakaz-zvonka .form-top {
	padding-left: 20px;
	padding-right: 10px;
	font-size: 22px;
	font-weight: 700;
}

#modal-zakaz-zvonka .boc_title {
	text-align: left;
	background-color: #fff;
	font-size: 23px;
	padding: 0;
	font-weight: 700;
	line-height: 1.1;
}

.h3modal {
    line-height: 1.60;
    font-family: Noto sans;
    font-size: 21px;
    margin-top: 20px;
    margin-bottom: 15px;
    color: inherit;
}

#modal-zakaz-zvonka .boc_subtitle {
	font-size: 13px;
	text-align: left;
	background-color: #fff;
	padding: 0;
}

.h4modal {
	font-weight: 500;
	line-height: 1.60;
	font-family: Braleway;
	font-size: 18px;
	margin-top: 10px;
	margin-bottom: 10px;
	color: inherit;
}

.mainpage__flex {
	border: solid 1px #9fb8cc;
	background-color: #fff;
	border-radius: 5px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	height: 40px;
}

.mainpage__label-phone {
	display: block;
	background-image: url(/include/landing/img/icon/phone_black.png);
	background-position: center;
	background-size: 20px auto;
	background-repeat: no-repeat;
	border-radius: 5px 0 0 5px;
	width: 39px;
	height: 39px;
	cursor: pointer;
}

.mainpage__flex input {
	height: 38px;
	display: block;
	border: none;
	border-radius: 0 5px 5px 0;
	border-left: solid 1px #9fb8cc;
	font-size: 16px;
	padding: 0px 15px;
	-webkit-box-flex: 1;
	-webkit-flex-grow: 1;
	-ms-flex-positive: 1;
	flex-grow: 1;
	width: -webkit-calc(100% - 40px);
	width: calc(100% - 40px);
}

.modal_div .modal-form {
	padding: 20px;
	background-color: #f5f6f8;
}

.modal_div .modal-form form {
	display: flex;
	align-items: flex-start;
	flex-wrap: wrap;
	justify-content: space-between;
}

.modal_div .modal-form_left .mainpage__button {
	margin-bottom: 0;
}

.modal_div .modal-form_left {
	width: 65%;
}

.modal_div .modal-form_right {
	width: 30%;
}

.modal_div .modal-form_right input {
	margin: 0;
}

.modal_div .form-btn {
	width: -webkit-calc(100% - 15px);
	width: calc(100% - 15px);
	position: relative;
	margin-right: 15px;
	display: inline-block;
	border: none;
	background-color: #f33030;
	padding-left: 1rem;
	font-size: 18px;
	line-height: 18px;
	letter-spacing: 0.2px;
	height: 40px;
	font-weight: 600;
	text-align: center;
	color: #fff;
	border-radius: 5px;
	-webkit-transition: background-color 300ms, color 300ms, -webkit-transform 200ms;
	transition: background-color 300ms, color 300ms, -webkit-transform 200ms;
	-o-transition: background-color 300ms, transform 200ms, color 300ms;
	transition: background-color 300ms, transform 200ms, color 300ms;
	transition: background-color 300ms, transform 200ms, color 300ms, -webkit-transform 200ms;
	white-space: nowrap;
	cursor: pointer;
	text-decoration: none;
	margin-bottom: 1rem;
	z-index: 1;
}

.modal_div .form-btn::after {
	z-index: -1;
	content: '';
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	right: -12px;
	width: 30px;
	height: 30px;
	background-color: #f33030;
	border-radius: 5px;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transition: background-color 300ms;
	-o-transition: background-color 300ms;
	transition: background-color 300ms;
}

.modal_div .form-btn:hover {
	background-color: #be2c2c;
}

.modal_div .form-btn:hover::after {
	background-color: #be2c2c;
}

.modal_div input:checked + span {
	color: #333;
}

.modal_div .modal-img {
	background-position: center;
	background-size: contain;
}

#modal-zakaz-zvonka .modal_bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 20px 40px;
}

#modal-zakaz-zvonka .modal_bottom span:first-child {
	width: auto;
	height: 35px;
	display: flex;
	align-items: flex-end;
}

#modal-zakaz-zvonka .modal_bottom span {
	width: 47%;
	padding-right: 50px;
	background-image: url(/bitrix/templates/otoplenie/images/smiley.png);
	background-repeat: no-repeat;
	background-position: right;
	background-size: 35px;
	font-size: 20px;
	font-weight: 700;
}

#modal-zakaz-zvonka .modal_contacts {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 10px 0;
}

#modal-zakaz-zvonka .modal_contacts a {
	width: 48%;
	color: #333;
	font-weight: 700;
	font-size: 25px;
	background-size: 25px;
	padding-left: 35px;
}

#modal-zakaz-zvonka .modal_bottom .social-contacts {
	width: 50%;
	margin-left: 3%;
	border-bottom: 0 !important;
}

#modal-basket .basket_title {
	font-weight: 700;
	text-align: center;
	font-size: 24px;
}

#modal-basket .modal_middle {
	margin-top: 15px;
	display: flex;
	justify-content: space-between;
}

#modal-basket .modal_middle_left {
	width: 48%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#modal-basket .modal_middle_left img {
	max-width: 85%;
	height: 250px;
	max-height: 250px;
}

#modal-basket .modal_middle_right {
	width: 48%;
}

#modal-basket .modal_middle_right span {
	font-weight: 700;
	font-size: 18px;
	display: block;
	margin-bottom: 15px;
}

#modal-basket .modal_middle_right .modal_contacts {
	display: flex;
	flex-wrap: wrap;
}

#modal-basket .modal_middle_right .modal_contacts a {
	background-size: 25px;
	padding-left: 35px;
	width: 100%;
	font-size: 25px;
	margin-bottom: 10px;
	color: #333;
}

#modal-basket .modal-buttons {
	display: flex;
	margin: 15px 65px;
}

#modal-basket .modal-buttons a {
	width: 50%;
	height: 45px;
	line-height: 45px;
	background-position: 25px center;
	background-repeat: no-repeat;
	font-size: 18px;
	font-weight: 700;
}

#modal-basket .modal-buttons .modal-in-basket {
	color: #fff;
	background-color: #f33030;
	background-image: url(/upload/bask.png);
	background-size: 30px;
	padding-left: 70px;
}

#modal-basket .modal-buttons .modal-in-basket:hover {
	background-color: #be2c2c;
}

#modal-basket .modal-buttons .close-modal-btn {
	color: #fff;
	background-color: #333;
	background-image: url(/upload/my/icons/arrow-next.png);
	background-size: 20px;
	padding-left: 60px;
}

#modal-basket .modal-buttons .close-modal-btn {
	background-color: #444;
}

#modal-sravnenie .sravn_title {
	font-weight: 700;
	text-align: center;
	font-size: 24px;
}

#modal-sravnenie .modal_middle {
	padding: 15px 80px;
	padding-bottom: 0;
}

#modal-sravnenie .modal_middle_contacts span {
	font-size: 20px;
	font-weight: 700;
}

#modal-sravnenie .modal_contacts {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 10px 0;
}

#modal-sravnenie .modal_contacts a {
	width: 48%;
	color: #333;
	font-weight: 700;
	font-size: 25px;
	background-size: 25px;
	padding-left: 35px;
}

#modal-sravnenie .modal-buttons {
	display: flex;
	margin: 15px 65px;
}

#modal-sravnenie .modal-buttons a {
	width: 50%;
	height: 58px;
	line-height: 58px;
	background-position: 30px center;
	background-repeat: no-repeat;
	font-size: 18px;
	font-weight: 700;
}

#modal-sravnenie .modal-buttons .modal-in-compare {
	color: #fff;
	background-color: #f33030;
	background-image: url(/upload/my/icons/compare.png);
	background-size: 30px;
	padding-left: 75px;
	display: flex;
	align-items: center;
	line-height: 20px;
}

#modal-sravnenie .modal-buttons .close-modal-btn {
	color: #fff;
	background-color: #333;
	background-image: url(/upload/my/icons/arrow-next.png);
	background-size: 17px;
	padding-left: 65px;
}

.modal_div .bx_catalog-compare-list {
	padding: 0;
	margin-left: 0;
}

.modal_div .bx_catalog-compare-list a {
	color: #333 !important;
}

.modal_div a {
	text-decoration: none !important;
}

.modal_contacts .velcom {
	background-image: url(/upload/my/icons/vel.png);
}

.modal_contacts .mts {
	background-image: url(/upload/my/icons/mts.png);
}

.modal_contacts .life {
	background-image: url(/upload/my/icons/life.png);
}

.modal_contacts .gorod {
	background-image: url(/upload/my/icons/gorod.png);
}

@media (max-width: 767px) {
	#modal-zakaz-zvonka {
		max-width: 300px !important;
	}

	#modal-zakaz-zvonka .form-top {
		padding-left: 15px;
		padding-bottom: 5px;
	}

	#modal-zakaz-zvonka .boc_title {
		font-size: 16px;
	}

	#modal-zakaz-zvonka .boc_subtitle {
		display: none;
	}

	#modal-zakaz-zvonka .modal-form {
		padding: 10px;
	}

	#modal-zakaz-zvonka .modal-form_left {
		width: 100%;
	}

	#modal-zakaz-zvonka .modal-form_right {
		width: 100%;
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#modal-zakaz-zvonka .modal-form_right div {
		width: 48%;
		font-size: 11px;
	}

	#modal-zakaz-zvonka .modal_bottom {
		padding: 15px 15px 0;
	}

	#modal-zakaz-zvonka .modal_bottom span:first-child {
		height: auto;
		background-image: none;
		padding-right: 0;
		font-size: 16px;
	}

	#modal-zakaz-zvonka .modal_bottom span.m-hidden {
		display: none;
	}

	#modal-zakaz-zvonka .modal_contacts {
		margin-bottom: 0;
	}

	#modal-zakaz-zvonka .modal_contacts a {
		width: 100%;
		margin-bottom: 10px;
		font-size: 20px;
		background-size: 20px;
		padding-left: 30px;
	}

	#modal-zakaz-zvonka .modal_contacts .gorod {
		display: none;
	}

	#modal-zakaz-zvonka .modal_bottom .social-contacts {
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
	}

	#modal-zakaz-zvonka .modal_bottom .social-contacts a {
		padding: 0;
		height: 6rem;
	}


	#modal-basket {
		max-width: 300px !important;
	}

	#modal-basket .boc_title {
		font-size: 18px;
	}

	#modal-basket .modal_middle_left {
		width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	#modal-basket .modal_middle_left img {
		height: 230px;
		max-height: 230px;
	}

	#modal-basket .modal_middle_right {
		display: none
	}

	#modal-basket .modal-buttons {
		flex-wrap: wrap;
		margin: 20px 20px 0;
	}

	#modal-basket .modal-buttons a {
		width: 100%;
		font-size: 16px;
		margin-bottom: 10px;
	}

	#modal-basket .modal-buttons .modal-in-basket {
		background-size: 25px;
		padding-left: 65px;
	}

	#modal-basket .modal-buttons .close-modal-btn {
		background-size: 13px;
		padding-left: 57px;
	}

	#modal-basket .modal-form {
		display: none;
	}

	#modal-basket .modal_contacts_mobile {
		display: block !important;
		text-align: center;
	}

	#modal-basket .modal_contacts_mobile a {
		background-size: 25px;
		padding-left: 35px;
		width: 100%;
		font-size: 25px;
		font-weight: 700;
		color: #333;
	}
}

.proizv_video_comment_title {
	font-size: 33px;
	font-weight: bold;
	line-height: 33px;
}
