#wrapper { margin-top: 10px; }
#foot_container { margin-bottom: 0; }
body { font-size: 14px; font-family: Arial, Helvetica, Sans-Serif; line-height: 1.3em; }
#leftcol { width: 16%; }
#rightcol { width: 16%; }
#content_outmiddle { width: 66%; }
#content_outright, #content_outleft { width: 83%; }
#leftcol h3.moduleh3 { border-top-right-radius: 10px; }
#rightcol h3.moduleh3 { border-top-left-radius: 10px; }
.module_menu ul.menu { list-style: none; margin: 0; padding: 0; }
.module_menu ul.menu li a { transition: padding-left .2s; }
.module_menu ul.menu li a:hover { padding-left: 30px; }
.module_menu ul.menu li a img { vertical-align: middle; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.page-header h1, .page-header h2, h2.item-title {
	background-image: url('../images/balloon.png'); background-repeat: no-repeat; min-height: 32px; line-height: 32px;
	padding-left: 40px; margin: 10px 0; border-bottom: 3px solid;
}
.page-header h1, .page-header h2, h2.item-title { font-size: 1.4em; color: #484848; line-height: 32px; }
h2.item-title a, .page-header h2 a { color: #484848; text-decoration: none; font-size: 1em; }
.blog-item, .com-content-category-blog__item, .com-content-article.item-page { background-color: #fff; border: 1px solid #E9E9E9; padding: 10px 15px; margin-bottom: 15px; }
dl.article-info { display: none; }
p.readmore, .readmore { background-image: url('../images/readmore.png'); background-repeat: no-repeat; padding-left: 19px; background-position: 0 1px; line-height: normal; clear: both; }
.readmore a.btn { font-weight: normal; padding: 0; border: 0; background: none; }
.readmore [class^="icon-"], .readmore [class*=" icon-"] { display: none; }
.icons, .article-tools { display: none; }
ol.mod-breadcrumbs, .breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; color: #888; font-size: 11px; }
.mod-breadcrumbs .divider { padding: 0 4px; }
.mod-breadcrumbs .icon-location { display: none; }
.mod-breadcrumbs .divider::before { content: "›"; }
div.cd_moduletitle_logo { background-image: url('../images/cdlogin_moduletitle.png') !important; background-repeat: no-repeat !important; height: 18px; line-height: 19px; text-align: left; }
.cd_moduletitle_logo a { margin-left: 22px; }
.mod-finder .awesomplete, .mod-finder input[type=search], .mod-finder input[type=text] { width: 100%; box-sizing: border-box; }
.mod-finder__search, .mod-finder .input-group { display: block; }
.mod-finder button { margin-top: 4px; }
.mod-whosonline ul { display: none; }
.nc-request { max-width: 560px; }
.nc-request-field { margin: 0 0 10px; }
.nc-request-field label { display: block; margin-bottom: 3px; }
.nc-request-field input[type=text], .nc-request-field input[type=email], .nc-request-field input[type=tel], .nc-request-field select, .nc-request-field textarea { width: 100%; box-sizing: border-box; padding: 4px; border: 1px solid #ccc; background: #fff; }
.nc-request-check label { display: inline; }
.nc-request-hp { position: absolute; left: -9999px; }
.nc-request-title { display: none; }
.nc-request-note { font-size: 11px; }
.nc-request-errors { color: #a52a2a; }
.nc-request-ok { font-weight: bold; }
.star { color: #a52a2a; }
.ias-downloads h3 { margin-top: 20px; }
.ias-downloads ul { list-style: none; margin: 0; padding: 0; }
.ias-downloads li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 16px; padding: 7px 0; border-top: 1px solid #e9e9e9; }
.ias-links a { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-weight: bold; line-height: 1.2; text-decoration: none; }
.ias-links img { flex: none; width: 36px; height: 36px; object-fit: contain; }
@media (max-width: 800px) {
	#leftcol, #rightcol, #content_outmiddle, #content_outleft, #content_outright, #advert4, #advert5 { float: none; width: auto; }
	#leftcol, #rightcol { margin: 0; }
	#logo a.logo { font-size: 28px !important; }
}

/* Вёрстка 2026-11-09 */
#maincontent { overflow-wrap: break-word; }
#maincontent img { max-width: 100%; height: auto; }
#maincontent table { max-width: 100%; }
#footer span#date { padding-left: 12px; font-size: 12px; color: #aaa; }
.copytext { color: #bbb; }
#afterhead6out { box-sizing: border-box; }

/* Шапка, подвал и заголовки блоков выступают за края, только если для этого хватает места */
@media (max-width: 1560px) {
	#header { margin-left: 0; margin-right: 0; padding-left: 0; }
	#footer { margin-left: 0; margin-right: 0; }
	.heckl, .heckr, .feckl, .feckr, .h3eckl, .h3eckr { display: none; }
	#wrapper #leftcol h3.moduleh3 { margin-left: -8px; padding-left: 18px; }
	#wrapper #rightcol h3.moduleh3 { margin-right: -8px; padding-right: 18px; }
}

/* Формы входа и восстановления */
.com-users-login__form, .com-users-remind__form, .com-users-reset__form,
.com-users-reset-confirm__form, .com-users-reset-complete__form { max-width: 360px; }
.com-users-login__form .control-group, .com-users-remind__form .control-group, .com-users-reset__form .control-group,
.com-users-reset-confirm__form .control-group, .com-users-reset-complete__form .control-group { margin-bottom: 10px; }
[class*="com-users-"] .controls input[type=text], [class*="com-users-"] .controls input[type=email],
[class*="com-users-"] .controls input[type=password] { width: 100%; box-sizing: border-box; padding: 4px 6px; }
[class*="com-users-"] .btn-primary { font-size: 13px; padding: 4px 14px; }
[class*="com-users-"] fieldset { border: 0; margin: 0; padding: 0; }
.com-users-login__remember { margin-bottom: 10px; }
.com-users-login__options { margin-top: 10px; }
.com-users-login__options a { display: inline-block; margin-right: 12px; }
.input-group { display: flex; align-items: stretch; width: 100%; }
.input-group > .form-control { flex: 1 1 auto; width: 1%; min-width: 0; }
.input-group > .input-password-toggle { flex: none; min-width: 34px; padding: 0 8px; line-height: 1; color: #555; }
.input-password-toggle [class*="icon-eye"] {
	display: inline-block; width: 18px; height: 18px; vertical-align: middle; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 11.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 11.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.input-password-toggle .icon-eye-slash { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 11.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3Cpath d='M3 3l18 18' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5C7 5 2.7 8.1 1 12c1.7 3.9 6 7 11 7s9.3-3.1 11-7c-1.7-3.9-6-7-11-7zm0 11.5a4.5 4.5 0 1 1 0-9 4.5 4.5 0 0 1 0 9zm0-7a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5z'/%3E%3Cpath d='M3 3l18 18' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E"); }

@media (max-width: 800px) {
	/* Шапка без пустого места */
	#header { min-height: 0; }
	#logo a.logo { padding: 14px 16px; }

	/* Порядок на телефоне: меню, содержимое, затем остальные блоки */
	#container { display: flex; flex-direction: column; }
	#leftcol { display: contents; }
	#leftcol > .module-outer_menu { order: 1; }
	#content_outleft, #content_outright, #content_outmiddle, #content_out { order: 2; margin-left: 0; margin-right: 0; }
	#leftcol > .module-outer { order: 3; }
	#rightcol { order: 4; }
	#container > .clr { order: 5; }

	/* Заголовки блоков одинаковые */
	#wrapper #rightcol h3.moduleh3 {
		margin-left: -8px; margin-right: 0; padding-left: 18px; padding-right: 10px;
		text-align: left; border-top-left-radius: 0; border-top-right-radius: 10px;
	}

	/* Элементы, которые удобно нажимать пальцем */
	.module_menu ul.menu li a { display: flex; align-items: center; gap: 4px; min-height: 40px; box-sizing: border-box; }
	p.readmore, .readmore { background-position: 0 50%; }
	.readmore a, .readmore a.btn { display: inline-block; padding: 11px 0; }
	.ias-downloads a.btn { display: inline-block; padding: 10px 4px; }
	.com-users-login__options a { padding: 11px 0; }
	.nc-request input[type=text], .nc-request input[type=email], .nc-request input[type=tel], .nc-request select { min-height: 40px; box-sizing: border-box; font-size: 16px; }
	.nc-request textarea { font-size: 16px; }
	.nc-request button, .nc-request input[type=submit] { min-height: 40px; padding: 6px 16px; font-size: 15px; }
	#maincontent input[type=text], #maincontent input[type=email], #maincontent input[type=password],
	#maincontent input[type=tel], #maincontent select, .mod-finder input { min-height: 40px; box-sizing: border-box; font-size: 16px; }
	#maincontent textarea { font-size: 16px; }
	#maincontent button, #maincontent input[type=submit], .mod-finder button { min-height: 40px; padding: 6px 16px; font-size: 15px; }
	#maincontent .input-group > .input-password-toggle { padding: 0 10px; min-width: 44px; }
	#gotop { min-height: 44px; }
	ol.mod-breadcrumbs, .breadcrumb { font-size: 13px; }
	.nc-request-note { font-size: 13px; }

	/* Контакты: без лишнего отступа слева */
	.com-contact dd, .contact-address dd, .contact-miscinfo dd { margin-left: 0; }
}

/* Как на старом ias (замеры 2026-11-09) */
/* Заголовки */
.page-header h1, .page-header h2, h2.item-title, h2.item-title a, .page-header h2 a { color: #353535; }
h2.item-title, .page-header h1, .page-header h2 { border-bottom-color: #353535; margin-top: 0; }

/* Карточки новостей и статей */
.blog-item, .com-content-category-blog__item { margin-bottom: 25px; padding: 29px 2% 33px; }
.blog-item::after, .com-content-category-blog__item::after { content: ""; display: block; margin-top: 15px; border-bottom: 3px solid #eee; }
.com-content-article.item-page { padding: 33px 2% 33px; }
.ias-icons { margin: 0 2px 22px; text-align: right; line-height: 0; }
.ias-icons a { display: inline-block; margin-left: 10px; }
.ias-icons img { display: block; width: 16px; height: 16px; }

/* Контакты */
#advert45 { margin-bottom: -4px; }
.com-contact { margin-top: 25px; }
.com-contact .page-header h1 {
	min-height: 0; margin: 0 0 25px; padding: 0; border: 0; background: none;
	color: #555; font-size: 19.6px; line-height: 18.2px;
}
.com-contact h2, .com-contact h3 { margin: 0 0 20px; color: #555; font-size: 18.2px; line-height: 18.2px; }
.com-contact dl { margin: 0 0 25px; }
.com-contact dd { margin-left: 0; }
.com-contact [class*="icon-"] { display: inline-block; width: 16px; height: 16px; vertical-align: top; background: center / contain no-repeat; }
.com-contact .icon-address { background-image: url("../images/con_address.png"); }
.com-contact .icon-envelope { background-image: url("../images/emailButton.png"); }
.com-contact .icon-phone { background-image: url("../images/con_tel.png"); }
.com-contact .icon-mobile { background-image: url("../images/con_mobile.png"); }
.com-contact .icon-fax { background-image: url("../images/con_fax.png"); }
.com-contact [class*="icon-info"] { background-image: url("../images/con_info.png"); }
.com-contact .contact-address > dt { float: left; clear: left; width: 20px; margin: 14px 0 0; }
.com-contact .contact-address > dt + dd { padding-top: 14px; }
.com-contact .contact-address > dt:first-child { float: none; width: auto; margin: 0 0 10px; }
.com-contact .contact-address > dt:first-child + dd { padding-top: 0; }
.com-contact dl:not(.contact-address) > dt { margin: 0 0 10px; }

/* Форма договора */
.nc-request { max-width: none; }
.nc-request-field { margin: 0 0 21px; }
.nc-request-field label { margin: 0 0 1px; font-size: 14px; line-height: 16px; }
.nc-request input[type=text], .nc-request input[type=email], .nc-request input[type=tel], .nc-request textarea {
	width: 97.24%; padding: 8px; border: 1px solid #c9b7a2; border-radius: 6px; background: #e0e5ed; color: #0d1216; font: 13.33px Arial, Helvetica, sans-serif;
}
.nc-request input[type=text], .nc-request input[type=email], .nc-request input[type=tel] { height: 33px; }
.nc-request select { width: 96%; height: 35px; padding: 8px; border: 1px solid #c9b7a2; border-radius: 6px; background: #e0e5ed; color: #0d1216; font: 13.33px Arial, Helvetica, sans-serif; }
.nc-request textarea { height: 98px; }
.nc-request-check label { display: flex; align-items: center; gap: 4px; }
.nc-request-check input { margin: 0; }
.nc-request-note { float: left; margin: 0; line-height: 36px; }
.nc-request button {
	float: right; padding: 8.5px 18px; border: 1px solid #e4eaee; border-radius: 4px; background: #475e76;
	color: #fff; font: 14px Arial, Helvetica, sans-serif; cursor: pointer;
}
.nc-request button:hover { background: #3a4d61; }
.nc-request form::after { content: ""; display: block; clear: both; }

/* Навигатор */
ol.mod-breadcrumbs, .breadcrumb { padding: 3px 0 3px 26px; }

@media (min-width: 1561px) {
	#afterhead6out { box-sizing: content-box; }
}

@media print {
	#header, #afterhead6out, #leftcol, #rightcol, #advert45, #foot_container, .ias-icons, .readmore { display: none !important; }
	body { background: #fff; }
	[id^=content_out] { float: none; width: auto; margin: 0; }
}

@media (max-width: 800px) {
	.blog-item, .com-content-category-blog__item, .com-content-article.item-page { padding: 20px 16px; }
	.nc-request input[type=text], .nc-request input[type=email], .nc-request input[type=tel], .nc-request select, .nc-request textarea { width: 100%; font-size: 16px; }
	.nc-request input[type=text], .nc-request input[type=email], .nc-request input[type=tel], .nc-request select { height: 40px; }
	.nc-request-note { float: none; margin: 0 0 10px; line-height: 1.3; }
	.nc-request button { float: none; display: block; width: 100%; min-height: 40px; }
	ol.mod-breadcrumbs, .breadcrumb { padding-left: 0; }
}

/* Формы и крошки в колонке содержимого */
#contenttop { margin: 10px 0 0; }
#contenttop .module { margin-bottom: 15px; }
#contenttop + #maincontent { margin-top: 0; }

/* Длинные подписи не выходят за узкую колонку */
#leftcol, #rightcol { overflow-wrap: anywhere; }
.ias-links a > span { min-width: 0; }

/* Компактная форма, размеры как на неоком21.укр */
.nc-request form { max-width: 989px; }
.nc-request-field { margin-bottom: 9px; }
.nc-request input[type=text], .nc-request input[type=email], .nc-request input[type=tel],
.nc-request select, .nc-request textarea { width: 100%; }
.nc-request textarea { height: 55px; }
.nc-request-check { margin-top: 12px; }
@media (max-width: 800px) {
	.nc-request-field { margin-bottom: 12px; }
	.nc-request textarea { height: 80px; }
}

/* Выпадающий список договора не шире окна (Chrome/Edge 135+, остальные браузеры показывают обычный список) */
.nc-request select { max-width: 100%; }
@supports (appearance: base-select) {
	.nc-request select, .nc-request select::picker(select) { appearance: base-select; }
	.nc-request select::picker(select) {
		box-sizing: border-box; width: anchor-size(width); max-width: calc(100vw - 16px); max-height: 50vh; overflow-y: auto;
		border: 1px solid #c9b7a2; border-radius: 6px; background: #e0e5ed;
	}
	.nc-request select option { white-space: normal; padding: 6px 8px; }
}
