/*
	Страницы из футера: о компании, сертификаты, драйвера, гарантия, контроль качества, контакты,
	доставка, оптовым клиентам, персональные данные. Подключён на всех экранах.
	Разметка: information.tpl, contact.tpl, info_nav.tpl и метод decorate в контроллере information.php.
*/
.info-layout {
	margin-bottom: 30px;
}
.info-page {
	min-width: 0;
	color: #2b2f33;
	font-size: 15px;
	line-height: 1.65;
}
.info-page p {
	margin: 0 0 14px;
}
.info-page h2 {
	margin: 32px 0 12px;
	color: #1f2a37;
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
}
.info-page h3 {
	margin: 24px 0 10px;
	color: #1f2a37;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.35;
}
.info-page h2:first-child,
.info-page h3:first-child {
	margin-top: 0;
}
.info-page a {
	color: #286090;
	text-decoration: underline;
	text-decoration-color: rgba(40, 96, 144, .35);
	text-underline-offset: 2px;
}
.info-page a:hover,
.info-page a:focus {
	color: #e4003a;
	text-decoration-color: currentColor;
}
.info-page img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}
.info-page ul,
.info-page ol {
	margin: 0 0 16px;
	padding: 0;
}
.info-page ul {
	list-style: none;
}
.info-page ul > li {
	position: relative;
	margin-bottom: 8px;
	padding-left: 20px;
}
.info-page ul > li:before {
	content: "";
	position: absolute;
	top: .68em;
	left: 4px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #337ab7;
}
.info-page ol {
	padding-left: 24px;
}
.info-page ol > li {
	margin-bottom: 6px;
	padding-left: 4px;
}
.info-page ol > li::marker {
	color: #337ab7;
	font-weight: 600;
}

/* Текст не растягивается на всю ширину */
.info-page > p,
.info-page > h2,
.info-page > h3,
.info-page > ul,
.info-page > ol,
.info-page > div > p,
.info-page > div > h2,
.info-page > div > h3 {
	max-width: 820px;
}

/* Меню раздела */
.info-nav a {
	display: flex;
	align-items: center;
	color: #2b2f33;
	text-decoration: none;
}
.info-nav a .fa {
	flex: 0 0 22px;
	color: #7b8794;
	text-align: center;
}
.info-nav a:hover,
.info-nav a:focus {
	color: #286090;
	text-decoration: none;
}
.info-nav a.active {
	background: #337ab7;
	color: #fff;
}
.info-nav a.active .fa {
	color: #fff;
}

/* Общие блоки */
.info-note {
	padding: 12px 16px;
	border-left: 3px solid #337ab7;
	border-radius: 0 8px 8px 0;
	background: #f2f7fb;
}
.info-note-warn {
	border-left-color: #e0a100;
	background: #fdf8ea;
}
.info-sub {
	color: #6b7280;
}
.info-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin: 0 0 22px;
}
.info-card {
	padding: 16px 18px;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	background: #fff;
}
.info-card .fa {
	display: block;
	margin-bottom: 8px;
	color: #337ab7;
	font-size: 22px;
}
.info-card h3 {
	margin: 0 0 6px;
	font-size: 16px;
}
.info-card p {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
}
.info-requisites {
	display: inline-block;
	margin-top: 4px;
	padding: 10px 16px;
	border-radius: 8px;
	background: #f4f6f8;
	color: #4a5159;
	font-size: 14px;
}

/* О компании */
.info-page-4 {
	max-width: 981px;
}
.info-page-4 > p:first-child {
	margin-bottom: 20px;
	max-width: none;
}
.info-page-4 > p:first-child img {
	width: 100% !important;
	height: auto !important;
	border-radius: 10px;
}

/* Сертификаты */
.info-page-8 > br {
	display: none;
}
.info-page-8 .table,
.info-page-8 .table > tbody > tr {
	display: contents;
}
.info-page-8 .table > tbody {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 14px;
}
.info-page-8 .table > tbody > tr > td {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	padding: 16px 12px 12px;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	background: #fff;
	color: #1f2a37;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}
.info-page-8 .table img {
	flex: 1 1 auto;
	width: auto;
	max-width: 100px;
	max-height: 76px;
	margin-bottom: 10px;
	border-radius: 0;
	object-fit: contain;
}
.info-page-8 .table br {
	display: none;
}

/* Оплата и доставка */
.info-page-6 > ul > li {
	margin-bottom: 12px;
	padding: 14px 18px;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	background: #fff;
}
.info-page-6 > ul > li:before {
	display: none;
}
.info-page-6 > ul {
	max-width: 900px;
}
.info-page-6 > ul > li > strong:first-child {
	display: block;
	margin-bottom: 4px;
	color: #1f2a37;
	font-size: 16px;
	font-weight: 600;
}
.info-page-6 > ul > li > p:last-child {
	margin-bottom: 0;
}

/* Оптовым клиентам */
.info-page-7 .article_style > br {
	display: none;
}
.info-page-7 .info-checks {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 8px 20px;
	max-width: 900px;
}
.info-page-7 .info-checks > li {
	margin: 0;
	padding-left: 26px;
}
.info-page-7 .info-checks > li:before {
	content: "\f00c";
	top: 0;
	left: 0;
	width: auto;
	height: auto;
	background: none;
	color: #337ab7;
	font-family: FontAwesome;
}
.info-page-7 .info-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	max-width: 900px;
}
.info-page-7 .info-tags > li {
	margin: 0;
	padding: 5px 12px;
	border-radius: 16px;
	background: #eef3f8;
	color: #2b4a66;
	font-size: 14px;
	line-height: 1.4;
}
.info-page-7 .info-tags > li:before {
	display: none;
}
.info-page-7 .info-line {
	margin-bottom: 4px;
}

/* Контроль качества */
.info-page-11 {
	max-width: 1000px;
}
.info-page-11 #control {
	width: auto;
	margin: 0;
}
.info-page-11 #control > img {
	margin: 0 0 12px 20px;
	border-radius: 0;
}
.info-page-11 #manage {
	margin-bottom: 24px;
	padding: 16px 20px;
	border: 0;
	border-left: 3px solid #337ab7;
	border-radius: 0 10px 10px 0;
	background: #f2f7fb;
	line-height: 1.65;
}
.info-page-11 #manage h3 {
	margin: 0 0 6px;
	color: #1f2a37;
	font-size: 17px;
	text-align: left;
}
.info-page-11 #manage p,
.info-page-11 #control p {
	margin-bottom: 14px;
	width: auto;
	color: #2b2f33;
	line-height: 1.65;
}
.info-page-11 #manage p {
	margin: 0;
}
.info-page-11 #control h3 {
	font-size: 17px;
}
.info-page-11 #control h3 span {
	display: none;
}
.info-page-11 #tests {
	display: grid;
	grid-template-columns: repeat(11, minmax(0, 1fr));
	gap: 8px;
	clear: both;
	width: auto;
	max-width: none;
	margin: 22px 0;
}
.info-page-11 #tests p {
	display: block;
	width: auto;
	max-width: none;
	margin: 0;
}
.info-page-11 #tests a {
	display: block;
}
.info-page-11 #tests p img {
	display: block;
	width: 100%;
	margin: 0 !important;
	border-radius: 6px;
	transition: opacity .15s ease;
}
.info-page-11 #tests a:hover img {
	opacity: .85;
}
.info-page-11 #all,
.info-page-11 ol#test_ul {
	grid-column: 1 / -1;
}
.info-page-11 #all {
	margin: 18px 0 8px;
	font-size: 18px;
	font-weight: 600;
}
.info-page-11 #all h3 {
	margin: 0;
	color: #1f2a37;
	font-size: 18px;
}
.info-page-11 ol#test_ul {
	columns: 2;
	column-gap: 32px;
	margin: 0;
	max-width: 820px;
}
.info-page-11 ol#test_ul li {
	break-inside: avoid;
	color: #337ab7;
}
.info-page-11 ol#test_ul li span {
	color: #2b2f33;
	line-height: 1.5;
}

/* Персональные данные */
.info-page-12 > div > ul {
	max-width: 860px;
}
.info-page-12 > div > ul > li {
	margin-bottom: 18px;
	padding-left: 0;
	color: #1f2a37;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
}
.info-page-12 > div > ul > li:before {
	display: none;
}
.info-page-12 ul ul {
	margin: 8px 0 0 !important;
	color: #2b2f33;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.6;
}
.info-page-12 ul ul > li {
	padding-left: 0;
}
.info-page-12 ul ul > li:before {
	display: none;
}
.info-page-12 ul ul ul {
	margin: 6px 0 6px 18px !important;
}
.info-page-12 h4 {
	margin: 0 0 6px;
	font-size: 16px;
}
.info-page-12 > div > div {
	display: inline-block;
	padding: 12px 18px;
	border-radius: 8px;
	background: #f4f6f8;
}
.info-page-12 > div > div p {
	margin: 0;
}

/* Контакты */
.info-contact {
	max-width: 860px;
}
.info-contact .info-cards {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.info-contact .info-card p {
	font-size: 15px;
}
.info-contact .info-card .contact-value {
	font-size: 17px;
	font-weight: 600;
}
.info-contact form {
	padding: 20px 22px 6px;
	border: 1px solid #e3e6ea;
	border-radius: 10px;
	background: #fff;
}
.info-contact legend {
	margin-bottom: 14px;
	padding: 0;
	border: 0;
	color: #1f2a37;
	font-size: 20px;
	font-weight: 600;
}
.info-contact .form-group {
	margin-right: 0;
	margin-left: 0;
}
.info-contact form > .buttons {
	margin-bottom: 14px;
	overflow: hidden;
}
.info-contact .form-group > .control-label,
.info-contact .form-group > .col-sm-10 {
	float: none;
	width: auto;
	padding: 0;
	text-align: left;
}
.info-contact .form-group > .control-label {
	margin-bottom: 4px;
	font-weight: 600;
}

/* Телефоны и планшеты: меню раздела лентой */
@media (max-width: 991px) {
	.info-page-11 #tests {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.info-nav {
		display: flex;
		gap: 6px;
		margin: 0 -10px 14px;
		padding: 2px 10px 6px;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}
	.info-nav::-webkit-scrollbar {
		display: none;
	}
	.info-nav a {
		flex: 0 0 auto;
		min-height: 40px;
		padding: 0 14px;
		border: 1px solid #e3e6ea;
		border-radius: 20px;
		background: #fff;
		font-size: 14px;
		white-space: nowrap;
	}
	.info-nav a .fa {
		display: none;
	}
	.info-nav a.active {
		border-color: #337ab7;
		background: #337ab7;
	}
}

/* Компьютер: меню раздела в колонке слева */
@media (min-width: 992px) {
	.info-layout {
		display: grid;
		grid-template-columns: 250px minmax(0, 1fr);
		column-gap: 32px;
		align-items: start;
	}
	.info-nav {
		position: -webkit-sticky;
		position: sticky;
		top: 16px;
		padding: 6px;
		border: 1px solid #e3e6ea;
		border-radius: 10px;
		background: #fff;
	}
	.info-nav a {
		padding: 8px 10px;
		border-radius: 6px;
		font-size: 14px;
		line-height: 1.35;
	}
	.info-nav a .fa {
		margin-right: 8px;
	}
	.info-nav a:hover {
		background: #f4f6f8;
	}
	.info-nav a.active:hover {
		background: #337ab7;
		color: #fff;
	}
}

@media (max-width: 767px) {
	.info-page h2 {
		margin-top: 26px;
		font-size: 20px;
	}
	.info-page-11 #control > img {
		width: 120px !important;
		height: auto !important;
		margin-left: 12px;
	}
	.info-page-11 #tests {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.info-page-11 ol#test_ul {
		columns: 1;
	}
	.info-page-8 .table > tbody {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}
	.info-contact .info-cards {
		grid-template-columns: minmax(0, 1fr);
	}
	.info-contact form {
		padding: 16px 14px 4px;
	}
}
