:root {
	--anthracite-red: #a63538;
	--anthracite-red-mid: #8d1c1f;
	--anthracite-red-dark: #740306;
	--anthracite-red-hover: #88171a;
	--anthracite-red-sep: #b03f42;
	--anthracite-ink: #151719;
	--anthracite-text: #666;
	--anthracite-line: #d2d2d2;
	--anthracite-paper: #fff;
}

html {
	background: #737373 url("/images/back1.png") repeat;
}

body.site,
body.site h1,
body.site h2,
body.site h3,
body.site h4,
body.site .navbar-brand,
body.site .mod-menu,
body.site .com-content-article,
body.site button,
body.site input,
body.site textarea {
	font-family: Arial, Helvetica, sans-serif !important;
}

body.site {
	color: var(--anthracite-text);
	background: transparent;
	font-size: 12pt; /* как corpway template_default на J3 */
	font-weight: 400;
	line-height: 1.6;
}

/* J3 corpway template.css — лёгкие заголовки, не Bootstrap 700 */
body.site h1 {
	font-weight: 100;
}

body.site h2 {
	font-weight: 300;
}

body.site h3 {
	font-weight: 100;
}

body.site h4 {
	font-weight: 100;
}

/* Cassiopeia задаёт b { font-weight: bolder } — на уже жирном родителе получается 900 */
body.site b,
body.site strong {
	font-weight: bold;
}

/* Never show Cassiopeia wordmark / empty title next to logo */
body.site .navbar-brand .site-title,
body.site .navbar-brand .site-description {
	display: none !important;
}

body.site a {
	color: var(--anthracite-red);
	text-decoration: none;
}

/* J3 template.css: underline при наведении (кроме меню, кнопок, «наверх») */
body.site .com-content-article a:not(.anthracite-button):not(.btn):not(.back-to-top-link):hover,
body.site .com-content-article a:not(.anthracite-button):not(.btn):not(.back-to-top-link):focus,
body.site .container-component .mod-custom a:not(.anthracite-button):hover,
body.site .container-component .mod-custom a:not(.anthracite-button):focus,
body.site .anthracite-contact a:not(.anthracite-button):hover,
body.site .anthracite-contact a:not(.anthracite-button):focus {
	text-decoration: underline;
}

body.site #mod-custom113 a:hover,
body.site #mod-custom113 a:focus {
	text-decoration: underline;
}

body.site .container-header {
	width: min(1240px, calc(100% - 32px));
	max-width: 1240px;
	margin: 55px auto 0;
	color: #fff;
	background: #090b0d url("/images/design/site_bg.jpg") repeat-x top center !important;
	box-shadow: 0 0 10px rgb(0 0 0 / 18%);
}

.container-header > .grid-child:not(.container-nav) {
	width: 100%;
	max-width: none;
	min-height: 270px;
	padding: 35px 34px;
	/* J3: #s5_header_area_inner { margin-bottom: 1px } — белая полоска */
	border-bottom: 1px solid #fff;
}

.container-header .navbar-brand,
.container-header .brand-logo {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.container-header .brand-logo img {
	display: block;
	width: 100%;
	max-width: 1170px;
	height: auto;
	margin: 0 auto;
}

.container-header .container-nav {
	width: 100%;
	max-width: none;
	min-height: 59px;
	margin: 0;
	padding: 0;
	/* J3 gradient menu */
	background: #a63538;
	background: linear-gradient(to bottom, #a63538 0%, #8d1c1f 100%);
}

.container-header .container-nav > .mod-menu {
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	width: 100%;
	margin: 0;
	padding: 0;
}

.container-header .mod-menu > .nav-item {
	display: flex;
	align-items: stretch;
	min-height: 59px;
	margin: 0;
	padding: 0;
	border-right: 0;
	box-shadow: 1px 0 0 var(--anthracite-red-sep);
	position: relative;
}

.container-header .mod-menu > .nav-item > a {
	display: flex;
	align-items: center;
	gap: 6px;
	min-height: 59px;
	padding: 0 18px 0 15px;
	box-sizing: border-box;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 0.85em;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-font-smoothing: antialiased;
}

.container-header .mod-menu > .nav-item > a .image-title {
	display: inline-block;
	font: inherit;
	font-size: 1em;
	color: inherit;
	line-height: 1;
}

.container-header .mod-menu > .nav-item > a img {
	display: block;
	width: 17px !important;
	height: 19px !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	flex: 0 0 17px;
	align-self: center;
	object-fit: contain;
	object-position: center;
	/* треугольник в PNG начинается ниже — поднимаем к оптическому центру текста */
	transform: translateY(-2px);
}

/* Скрыть шеврон Cassiopeia — на J3 стрелка только слева */
.container-header .mod-menu__toggle-sub {
	display: none !important;
}

.container-header .mod-menu > .nav-item.active,
.container-header .mod-menu > .nav-item.current {
	background: var(--anthracite-red-dark);
}

.container-header .mod-menu > .nav-item:hover,
.container-header .mod-menu > .nav-item:focus-within {
	background: var(--anthracite-red-hover);
	box-shadow: inset 0 5px var(--anthracite-red-dark), 1px 0 0 var(--anthracite-red-sep);
}

.container-header .mod-menu__sub {
	display: none;
	width: 260px;
	margin: 0;
	padding: 8px 0;
	background: var(--anthracite-red-hover);
	border: 0;
	box-shadow: 0 6px 14px rgb(0 0 0 / 24%);
	position: absolute;
	z-index: 1000;
	top: 100%;
	left: 0;
}

.container-header .nav-item:hover > .mod-menu__sub,
.container-header .nav-item:focus-within > .mod-menu__sub {
	display: block;
}

.container-header .mod-menu__sub a {
	display: block;
	padding: 10px 18px;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 12px;
	font-weight: 400;
	line-height: 1.35;
	text-decoration: none;
}

.container-header .mod-menu__sub a:hover,
.container-header .mod-menu__sub a:focus {
	background: var(--anthracite-red-dark);
}

/* flex вместо CSS Grid — Cassiopeia full-width/areas ломали ширину баннера */
body.site .site-grid {
	display: flex !important;
	flex-wrap: wrap;
	align-items: flex-start;
	width: min(1240px, calc(100% - 32px));
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 0 45px;
	background: var(--anthracite-paper);
	box-shadow: 0 8px 10px rgb(0 0 0 / 10%);
	overflow: visible;
	column-gap: 0 !important;
	row-gap: 0 !important;
	grid-template-columns: none !important;
	grid-template-areas: none !important;
}

body.site .site-grid > [class^="container-"],
body.site .site-grid > [class*=" container-"],
body.site .site-grid > .full-width {
	grid-column: auto !important;
	grid-row: auto !important;
	grid-area: auto !important;
	max-width: none !important;
}

body.site .site-grid > .container-banner,
body.site .site-grid > .container-banner.full-width {
	display: block !important;
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: #111;
	line-height: 0;
	overflow: hidden;
}

body.site .site-grid > .container-sidebar-left {
	display: block !important;
	flex: 0 0 296px;
	width: 296px;
	margin: 25px 0 0 30px;
	padding: 0;
	box-sizing: border-box;
}

body.site .site-grid > .container-component {
	display: block !important;
	flex: 1 1 0;
	min-width: 0;
	margin: 25px 30px 0 25px;
	padding: 0;
	box-sizing: border-box;
}

body.site .site-grid > .container-bottom-a,
body.site .site-grid > .container-bottom-b {
	flex: 0 0 100%;
	width: 100%;
	margin: 20px 30px 0;
	box-sizing: border-box;
}

.site-grid .container-banner .mod-custom,
.site-grid .container-banner .custom,
.site-grid .container-banner .design-hero {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 0;
	overflow: hidden;
}

/* Слайдер через background-size:cover — без борьбы с img max-width */
.anthracite-hero {
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 320px !important;
	margin: 0 !important;
	padding: 0 !important;
	background-color: #111;
	background-image: url("/images/slider1/01.jpg");
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover !important;
	animation: anthracite-bg-slides 24s infinite;
	position: relative;
	overflow: hidden;
	line-height: normal;
}

body.site .container-banner .anthracite-hero > img,
body.site .anthracite-hero > img {
	display: none !important;
}

@keyframes anthracite-bg-slides {
	0%,
	22% {
		background-image: url("/images/slider1/01.jpg");
	}

	25%,
	47% {
		background-image: url("/images/slider1/02.jpg");
	}

	50%,
	72% {
		background-image: url("/images/slider1/03.jpg");
	}

	75%,
	97% {
		background-image: url("/images/slider1/04.jpg");
	}

	100% {
		background-image: url("/images/slider1/01.jpg");
	}
}

/* Как .nivo-caption на J3: opacity 0.8 на всём блоке (текст тоже сероватый) */
.anthracite-hero__caption {
	box-sizing: border-box;
	width: 100%;
	padding: 5px 10px;
	color: #fff;
	text-align: center;
	background: #000;
	opacity: 0.8;
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	bottom: 0;
	line-height: normal;
}

.anthracite-hero__title,
.anthracite-hero__phones,
.anthracite-hero__caption h3 {
	margin: 5px 0 !important;
	padding: 5px 0 !important;
	color: #fff !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1.3em !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	opacity: 1;
}

.anthracite-hero__title,
.anthracite-hero__caption h3:first-child {
	margin-top: 10px !important;
	font-weight: 700 !important;
}

.anthracite-hero__phones {
	margin-bottom: 15px !important;
}

.anthracite-hero__phones strong,
.anthracite-hero__title strong,
.anthracite-hero__caption h3 b,
.anthracite-hero__caption h3 strong {
	color: #fff !important;
	font-weight: 700 !important;
}

.anthracite-hero__caption h3:last-child {
	margin-bottom: 0px !important;
}

@media (prefers-reduced-motion: reduce) {
	.anthracite-hero {
		animation: none !important;
		background-image: url("/images/slider1/01.jpg") !important;
	}
}

.site-grid .container-sidebar-left {
	padding: 0;
}

.site-grid .container-component {
	min-width: 0;
	padding: 20px 0 0;
	border-top: 0;
}

.container-sidebar-left .card {
	margin: 0 0 30px;
	color: var(--anthracite-text);
	background: #fff;
	border: 1px solid #878787;
	border-radius: 0;
	box-shadow: none;
	font-size: 0.8em;
	line-height: 1.71;
}

.container-sidebar-left .card-header {
	margin: -1px -1px 0;
	padding: 19px 22px;
	color: #fff;
	background: #a63538;
	border: 0;
	border-bottom: 1px solid #878787;
	border-radius: 0;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1.1em;
	font-weight: 400;
	line-height: 1.3;
	text-transform: uppercase;
}

.container-sidebar-left .card-body {
	padding: 22px;
}

.container-sidebar-left .mod-menu {
	display: block;
	margin: 0;
	padding: 0;
}

.container-sidebar-left .mod-menu .nav-item {
	display: block;
	margin: 0;
	padding: 0;
}

.container-sidebar-left .mod-menu a {
	display: block;
	padding: 0;
	margin-bottom: 6px;
	color: #464646 !important;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1em;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.71;
	text-decoration: none;
	text-transform: uppercase;
}

.container-sidebar-left .mod-menu a:hover,
.container-sidebar-left .mod-menu a:focus,
.container-sidebar-left .mod-menu .active > a {
	color: var(--anthracite-red);
	text-decoration: underline;
}

.container-sidebar-left .mod-menu a img {
	width: auto;
	max-width: 8px;
	height: auto;
	margin-right: 5px;
}

#mod-custom112 table {
	display: table;
	width: 100%;
	margin: 0;
	color: #666;
	font-size: 12px;
}

/* J3: иконки 82→88 px при hover; scale вместо width/height — без сдвига таблицы */
#mod-custom112 tr:nth-child(2) td {
	height: 90px;
	vertical-align: middle;
}

#mod-custom112 a {
	display: inline-block;
	width: 82px;
	height: 82px;
	line-height: 0;
}

#mod-custom112 img {
	display: block;
	width: 82px;
	height: 82px;
	transition: transform 0.15s ease;
	transform-origin: center center;
}

#mod-custom112 a:hover img,
#mod-custom112 a:focus img {
	transform: scale(1.0732); /* 88 / 82 — как на J3 */
}

.anthracite-contact p {
	margin: 0 0 15px;
}

.anthracite-contact a:not(.anthracite-button) {
	color: #555;
}

/* Sidebar feedback form (RSForm look on J3) */
.container-sidebar-left .anthracite-sidebar-feedback .rsform {
	margin: 0;
}

.container-sidebar-left .anthracite-sidebar-feedback .formResponsive {
	margin: 0;
}

.container-sidebar-left .anthracite-sidebar-feedback fieldset {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.container-sidebar-left .anthracite-sidebar-feedback .rsform-block {
	display: block;
	margin: 0 0 10px;
	overflow: visible;
}

.container-sidebar-left .anthracite-sidebar-feedback .rsform-block:hover {
	background: #fff2eb;
}

.container-sidebar-left .anthracite-sidebar-feedback .formControlLabel {
	display: block;
	width: 100%;
	margin: 0 0 4px;
	padding: 5px 0 0;
	color: #464646;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.4;
	text-align: left;
}

.container-sidebar-left .anthracite-sidebar-feedback .formRequired {
	color: #464646;
	font-weight: 700;
}

.container-sidebar-left .anthracite-sidebar-feedback .formControls,
.container-sidebar-left .anthracite-sidebar-feedback .formBody {
	display: block;
	width: 100%;
	margin: 0;
}

.container-sidebar-left .anthracite-sidebar-feedback .formDescription,
.container-sidebar-left .anthracite-sidebar-feedback .formValidation {
	display: none !important;
}

.container-sidebar-left .anthracite-sidebar-feedback .rsform-input-box,
.container-sidebar-left .anthracite-sidebar-feedback .rsform-text-box {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 3px;
	color: #464646;
	background: #fff;
	border: 1px solid #b3b3b3;
	border-radius: 0;
	font: inherit;
	font-size: 1em;
	line-height: 1.4;
}

.container-sidebar-left .anthracite-sidebar-feedback .rsform-text-box {
	min-height: 90px;
	resize: vertical;
}

.container-sidebar-left .anthracite-sidebar-feedback .rsform-input-box:focus,
.container-sidebar-left .anthracite-sidebar-feedback .rsform-text-box:focus {
	background: #f6f6f6;
	border-color: #666;
	outline: 0;
}

.container-sidebar-left .anthracite-sidebar-feedback .rsform-submit-button {
	display: inline-block;
	margin: 4px 0 0;
	padding: 6px 12px;
	color: #fff !important;
	background: #0879cf;
	border: 0;
	border-radius: 3px;
	font: inherit;
	font-size: 1em;
	line-height: 1.4;
	cursor: pointer;
}

.container-sidebar-left .anthracite-sidebar-feedback .rsform-submit-button:hover,
.container-sidebar-left .anthracite-sidebar-feedback .rsform-submit-button:focus {
	background: #075f9f;
}

.container-sidebar-left .anthracite-sidebar-feedback .anthracite-feedback__status {
	margin: 0 0 12px;
}

.anthracite-button {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 13px;
	color: #fff !important;
	background: #0879cf;
	border: 0;
	border-radius: 3px;
	font-size: 12px;
	text-decoration: none;
}

.anthracite-button:hover,
.anthracite-button:focus {
	background: #075f9f;
	text-decoration: none;
}

.com-content-article {
	min-width: 0;
	color: var(--anthracite-text);
	overflow-wrap: anywhere;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1em;
	font-weight: 400;
}

/* J3 #s5_component_wrap_inner h1, h2 — две полоски вокруг первого заголовка */
.com-content-article .page-header h1,
.com-content-article .page-header h2,
body.site .category-desc h1 {
	margin: -13px 0 20px;
	padding: 20px 0;
	color: #878787;
	border-top: 1px solid #878787;
	border-bottom: 1px solid #878787;
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1.8em;
	font-weight: 300;
	line-height: 1.3;
	text-transform: none;
}

body.site .category-desc h1 {
	margin: -27px 0 10px;
	font-size: 1.9em;
}

.com-content-article h2,
.com-content-article h3 {
	color: #666;
	font-family: Arial, Helvetica, sans-serif !important;
	font-weight: 300;
}

/* /specials — red price (legacy <font color="a63538"> without #) */
.com-content-article font[color="a63538"],
.com-content-article font[color="#a63538"] {
	color: var(--anthracite-red) !important;
}

/* /specials — «ВАС ТАКЖЕ МОЖЕТ ЗАИНТЕРЕСОВАТЬ» (J3 mod_bt_contentslider) */
.anthracite-related {
	margin: 40px 0 10px;
	text-align: center;
}

.anthracite-related__head {
	margin: 40px 0 10px;
	padding: 19px 22px;
	background: var(--anthracite-red);
}

.anthracite-related__head h3 {
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 1.1em;
	font-weight: 100;
	text-transform: uppercase;
}

.anthracite-related__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px 0;
}

.anthracite-related__item {
	flex: 0 0 33.333%;
	max-width: 33.333%;
	padding: 0 10px;
	box-sizing: border-box;
}

.anthracite-related__title {
	display: inline-block;
	margin: 0 0 8px;
	color: var(--anthracite-red);
	font-size: 12pt;
	line-height: 1.35;
}

.anthracite-related__image {
	display: inline-block;
}

.anthracite-related__image img {
	display: block;
	width: 200px;
	max-width: 100%;
	height: auto;
	margin: 0 auto;
	border: 1px solid var(--anthracite-line);
	padding: 2px;
	transition: opacity 0.2s ease;
}

.anthracite-related__image:hover img,
.anthracite-related__image:focus img {
	opacity: 0.85;
}

/* Каталог (view=category) — список категорий под заголовком */

body.site .category-desc ul a {
	font-weight: 400;
}

body.site .category-desc i,
body.site .category-desc em {
	font-weight: 400;
}

body.site .com-content-category-blog .page-header {
	margin: 0 0 10px;
	padding: 0;
	border: 0;
}

body.site .com-content-category-blog .page-header h2 {
	margin: 0 0 20px;
	padding: 20px 0;
	color: #878787;
	border-top: 1px solid #878787;
	border-bottom: 1px solid #878787;
	font-size: 1.8em;
	font-weight: 300;
	line-height: 1.3;
}

body.site .com-content-category-blog .item-content,
body.site .com-content-category-blog .item-content p {
	font-weight: 400;
}

/* «Подробнее» — как p.readmore a на J3 corpway (#922124 → #740306 при hover) */
body.site p.readmore {
	margin: 5px 0 36px;
	padding: 0;
}

body.site p.readmore .btn,
body.site p.readmore a.btn {
	display: inline-block;
	margin: 0;
	padding: 7px 12px;
	color: #fff !important;
	background: #922124 !important;
	border: none !important;
	border-radius: 0;
	box-shadow: none;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.4;
	text-decoration: none;
	text-transform: none;
}

body.site p.readmore .btn:hover,
body.site p.readmore .btn:focus,
body.site p.readmore a.btn:hover,
body.site p.readmore a.btn:focus {
	color: #fff !important;
	background: #740306 !important;
	border: none !important;
	text-decoration: none;
}

body.site p.readmore .btn .icon-chevron-right,
body.site p.readmore .btn [class*="icon-"] {
	display: none;
}

/* Таблицы в блоге категории — border="1", как на J3 */
body.site .com-content-category-blog table[border="1"],
body.site .com-content-category-blog .item-content table[border="1"] {
	display: table;
	width: 100% !important;
	border-collapse: collapse;
	border: 1px solid #ccc;
}

body.site .com-content-category-blog table[border="1"] td,
body.site .com-content-category-blog table[border="1"] th {
	border: 1px solid #ccc !important;
	padding: 5px 0;
	color: var(--anthracite-text);
	font-weight: 400;
	text-align: center;
	vertical-align: top;
}

body.site .com-content-category-blog table[border="1"] th {
	font-weight: bold;
}

.com-content-article p {
	margin-bottom: 15px;
	color: var(--anthracite-text);
	font-family: Arial, Helvetica, sans-serif !important;
	font-size: 1em;
	font-weight: 400;
	line-height: 1.6;
}

.com-content-article img {
	max-width: 100%;
	height: auto;
}

.com-content-article table {
	max-width: 100%;
}

/* J3: border="1" на таблицах каталога; Cassiopeia/Bootstrap сбрасывает border-width у td/th в 0 */
.com-content-article table[border="1"],
.anthracite-accordion__body table {
	border-collapse: collapse;
	border: 1px solid #ccc;
}

body.site .com-content-article table[border="1"] td,
body.site .com-content-article table[border="1"] th,
body.site .anthracite-accordion__body table td,
body.site .anthracite-accordion__body table th {
	border: 1px solid #ccc !important;
}

.com-content-article table[border="1"] a,
.anthracite-accordion__body table a {
	color: var(--anthracite-red);
	text-decoration: underline;
}

.com-content-article table[border="1"] i,
.anthracite-accordion__body table i {
	font-style: italic;
}

.com-content-article nobr,
.mod-custom nobr {
	white-space: normal;
}

.mod-custom {
	max-width: 100%;
	overflow-wrap: anywhere;
}

.migrated-gallery {
	display: block;
	margin: 24px 0;
}

.migrated-gallery__featured {
	display: block;
	width: 100%;
	aspect-ratio: 825 / 464;
	padding: 3px;
	background: #fff;
	border: 1px solid #c5c5c5;
	overflow: hidden;
}

.migrated-gallery__featured img,
.migrated-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.migrated-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	margin-top: 8px;
}

.migrated-gallery__item {
	display: block;
	aspect-ratio: 16 / 9;
	padding: 3px;
	background: #fff;
	border: 1px solid #c5c5c5;
	overflow: hidden;
}

.migrated-video {
	display: block;
	width: 100%;
	max-width: 760px;
	margin: 24px auto;
}

.anthracite-accordion {
	width: 100%;
	margin: 22px 0;
	border: 1px solid #ccc;
}

.anthracite-accordion__item {
	margin: 0;
	border-bottom: 1px solid #ccc;
}

.anthracite-accordion__item:last-child {
	border-bottom: 0;
}

.anthracite-accordion__item summary {
	display: block;
	height: 30px;
	padding: 0 16px;
	color: #666;
	background: #f4f4f4 url("/images/design/accordion-style1.png") repeat-x 0 0;
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	line-height: 30px;
	text-align: center;
	list-style: none;
}

.anthracite-accordion__item summary:hover,
.anthracite-accordion__item[open] > summary {
	background-position: 0 -30px;
}

.anthracite-accordion__item summary::-webkit-details-marker,
.anthracite-accordion__item summary::marker {
	display: none;
	content: none;
}

.anthracite-accordion__body {
	padding: 17px;
	background: #fff;
	overflow-x: auto;
}

.anthracite-accordion__body table {
	display: table;
	width: 100% !important;
	min-width: 620px;
	border-collapse: collapse;
	border: 1px solid #ccc;
}

#mod-custom113 {
	margin-top: 28px;
}

#mod-custom113 hr {
	border-color: var(--anthracite-red);
}

#mod-custom113 h4 {
	color: #666 !important;
	font-size: 1.1em;
	font-weight: 100;
	line-height: 170%;
}

#mod-custom113 h4 b,
#mod-custom113 h4 strong {
	color: #666;
	font-weight: 700;
}

#mod-custom113 a,
#mod-custom113 h4 a,
#mod-custom113 h4 b a,
#mod-custom113 h4 strong a {
	color: var(--anthracite-red) !important;
	font-weight: 700;
}

body.site .container-footer {
	width: min(1240px, calc(100% - 32px));
	max-width: 1240px;
	margin: 0 auto 90px;
	color: #666;
	background: #fff;
	border-top: 4px double var(--anthracite-line);
	box-shadow: 0 8px 10px rgb(0 0 0 / 10%);
	position: relative;
}

.container-footer .grid-child {
	display: grid;
	grid-template-columns: 125px minmax(0, 1fr) 220px;
	gap: 20px 40px;
	align-items: start;
	width: 100%;
	max-width: none;
	padding: 20px 60px 30px;
}

.anthracite-footer-counters {
	grid-column: 1;
	padding-top: 4px;
}

.anthracite-footer-counters img {
	display: block;
	width: 88px;
	height: 31px;
	border: 0;
}

#mod-custom117,
.container-footer .anthracite-footer-info {
	grid-column: 2;
}

.container-footer .mod-menu {
	display: block;
	grid-column: 3;
	margin: 0;
	padding: 0;
}

#mod-custom118 {
	display: none;
}

.anthracite-footer-info {
	font-size: 11px;
	line-height: 1.45;
}

.anthracite-footer-info strong {
	display: block;
	margin-bottom: 12px;
	color: #555;
}

.anthracite-footer-info address {
	margin: 0 0 18px;
}

.anthracite-footer-info p {
	margin: 0;
}

.container-footer .mod-menu li {
	display: block;
	margin: 0;
	padding: 0;
}

.container-footer .mod-menu a,
.container-footer .mod-menu a:hover,
.container-footer .mod-menu a:focus,
.container-footer .mod-menu .active > a,
.container-footer .mod-menu li a:hover {
	display: block;
	padding: 5px 0;
	color: var(--anthracite-red) !important;
	font-size: 12px;
	font-weight: 400;
	text-decoration: none;
	text-transform: uppercase;
}

.container-footer .mod-menu a:hover,
.container-footer .mod-menu a:focus {
	color: var(--anthracite-red) !important;
	text-decoration: underline;
}

/* Как s5_scrolltotop на J3: красный квадрат справа в подвале */
body.site .back-to-top-link,
body.site .back-to-top-link.visible {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 30px;
	padding: 0;
	color: #fff !important;
	background: #922124 !important;
	border: 0;
	border-radius: 0;
	opacity: 1 !important;
	position: absolute;
	z-index: 5;
	inset: auto 12px 28px auto;
	pointer-events: all;
	text-decoration: none;
	box-shadow: none;
}

body.site .back-to-top-link:hover,
body.site .back-to-top-link:focus {
	color: #fff !important;
	background: #740306 !important;
	border: 0;
	text-decoration: none;
}

@media (max-width: 1199px) {
	.container-header .mod-menu > .nav-item > a {
		padding: 0 14px;
		font-size: 11px;
	}
}

@media (max-width: 991px) {
	body.site .container-header,
	body.site .site-grid,
	body.site .container-footer {
		width: min(100% - 24px, 760px);
	}

	body.site .container-header {
		margin-top: 20px;
	}

	.container-header > .grid-child:not(.container-nav) {
		min-height: 0;
		padding: 24px;
	}

	.container-header .container-nav,
	.container-header .container-nav > .mod-menu {
		display: block;
	}

	.container-header .mod-menu > .nav-item {
		display: flex;
		flex-wrap: wrap;
		min-height: 42px;
		border-right: 0;
		border-bottom: 1px solid rgb(255 255 255 / 14%);
	}

	.container-header .mod-menu > .nav-item > a {
		flex: 1 1 auto;
		min-height: 42px;
		padding: 0 16px;
		font-size: 12px;
	}

	.container-header .mod-menu__toggle-sub {
		width: 44px;
		min-height: 42px;
		margin: 0;
	}

	.container-header .mod-menu__sub {
		flex: 1 0 100%;
		width: 100%;
		position: static;
		box-shadow: inset 0 4px 8px rgb(0 0 0 / 15%);
	}

	body.site .site-grid {
		padding: 0 0 35px;
	}

	body.site .site-grid > .container-sidebar-left,
	body.site .site-grid > .container-component {
		flex: 0 0 calc(100% - 32px);
		width: calc(100% - 32px);
		max-width: none;
		margin: 25px 16px 0;
	}

	.site-grid .container-banner {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.anthracite-hero {
		height: 240px !important;
	}

	.anthracite-hero__caption h3,
	.anthracite-hero__title,
	.anthracite-hero__phones {
		font-size: 1em !important;
	}

	.site-grid .container-component {
		padding-top: 17px;
	}

	.site-grid .container-sidebar-left {
		margin-top: 30px;
	}

	.container-footer .grid-child {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding: 28px 52px 38px 32px;
	}

	.anthracite-footer-counters,
	#mod-custom117,
	.container-footer .anthracite-footer-info,
	.container-footer .mod-menu {
		grid-column: auto;
	}
}

@media (max-width: 640px) {
	body.site .container-header,
	body.site .site-grid,
	body.site .container-footer {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

	body.site .container-header {
		margin-top: 0;
	}

	.container-header > .grid-child:not(.container-nav) {
		padding: 20px 14px;
	}

	body.site .site-grid {
		padding: 0 0 35px;
	}

	body.site .site-grid > .container-sidebar-left,
	body.site .site-grid > .container-component {
		flex: 0 0 calc(100% - 24px);
		width: calc(100% - 24px);
		margin: 20px 12px 0;
	}

	.site-grid .container-banner {
		width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.anthracite-hero {
		height: 200px !important;
	}

	.anthracite-hero__caption h3,
	.anthracite-hero__title,
	.anthracite-hero__phones {
		font-size: 0.85em !important;
	}

	.com-content-article .page-header h1,
	.com-content-article .page-header h2,
	body.site .category-desc h1 {
		font-size: 1.35em;
	}

	.com-content-article p {
		text-align: left !important;
	}

	.com-content-article img[style*="float"] {
		display: block;
		float: none !important;
		margin: 0 auto 16px !important;
	}

	.com-content-article table {
		display: block;
		max-width: 100%;
		overflow-x: auto;
	}

	.migrated-gallery__thumbs {
		gap: 5px;
	}

	.anthracite-accordion__body {
		padding: 10px;
	}

	#mod-custom113 h4 {
		font-size: 15px;
	}

	.anthracite-related__item {
		flex: 0 0 100%;
		max-width: 100%;
	}

	.container-footer .grid-child {
		padding-right: 20px;
		padding-left: 20px;
	}
}

/* Contact feedback form (RSForm replacement) */
.anthracite-feedback {
	max-width: 480px;
	margin: 0 0 24px;
}

.anthracite-feedback label {
	display: block;
	margin: 0 0 12px;
	color: #555;
	font-size: 13px;
}

.anthracite-feedback input,
.anthracite-feedback textarea {
	display: block;
	width: 100%;
	max-width: 420px;
	margin-top: 4px;
	padding: 8px 10px;
	border: 1px solid var(--anthracite-line);
	border-radius: 3px;
	font: inherit;
}

.anthracite-feedback__hp {
	position: absolute;
	left: -10000px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.anthracite-feedback__status {
	margin: 0 0 16px;
	padding: 10px 12px;
	border-radius: 3px;
	font-size: 13px;
}

.anthracite-feedback__status.is-ok {
	color: #0a5c0a;
	background: #e8f6e8;
}

.anthracite-feedback__status.is-err {
	color: #8a1010;
	background: #fdecec;
}

.anthracite-feedback .anthracite-button {
	cursor: pointer;
}
