/* Ауто Крис - "modern" theme: services (/services) and prices (/prices) pages.
   Loaded after the template CSS via @push('styles'). */

/* --- intro (text + photo) --- */
.services-intro img {
	display: block;
	width: 100%;
	height: auto;
}
.services-intro .more {
	display: inline-block;
	margin-top: 30px;
	margin-right: 10px;
}

/* --- in-page category navigation (left column) --- */
.services-nav li a {
	padding-top: 12px;
	padding-bottom: 13px;
}
.services-nav li a span {
	margin-top: 6px;
}
.services-sidebar .buttons li a {
	padding-top: 12px;
	padding-bottom: 13px;
}
.services-sidebar .buttons li:before {
	margin-top: 12px;
}

/* --- category sections --- */
.service-category {
	scroll-margin-top: 110px;
}
.service-category + .service-category {
	margin-top: 50px;
	padding-top: 50px;
	border-top: 1px solid #E2E6E7;
}
.service-category-header {
	display: flex;
	align-items: center;
}
.service-category-header .hexagon.small {
	flex: 0 0 90px;
	margin: 32px 24px 32px 0;
}
.service-category-header h3.box-header {
	margin: 0;
}
.service-category-image {
	display: block;
	max-width: 100%;
	height: auto;
	margin-top: 20px;
}
.service-category .list li small {
	display: block;
	color: #999;
	font-size: 13px;
	line-height: 20px;
}
.service-category-prices {
	display: inline-block;
	margin-top: 20px;
	color: #1E69B8;
	font-weight: 600;
}
.service-category-prices span {
	font-size: 11px;
	margin-left: 8px;
}

/* --- price tables --- */
.price-table td,
.price-table th {
	padding: 12px 20px;
}
.price-table th {
	font-weight: 600;
	color: #333;
}
.price-table td.price,
.price-table th.price {
	width: 1%;
	text-align: right;
	white-space: nowrap;
	font-weight: 600;
	color: #1E69B8;
}
.price-table .price-note {
	display: block;
	color: #999;
	font-size: 13px;
	line-height: 20px;
}

/* --- empty state --- */
.services-empty {
	padding: 40px 0 20px;
}
.services-empty .more {
	display: inline-block;
	margin-top: 30px;
}

/* --- closing call-to-action band --- */
.services-cta-buttons .more {
	display: inline-block;
	margin: 0 8px;
}

@media only screen and (max-width: 767px) {
	.services-nav {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}
	.services-nav li {
		flex: 1 1 auto;
	}
	.services-nav li a {
		border: 1px solid #E2E6E7;
		padding: 8px 12px;
		font-size: 13px;
		text-align: center;
	}
	.services-nav li a span {
		display: none;
	}
	.service-category-header .hexagon.small {
		margin-right: 16px;
	}
	.price-table td,
	.price-table th {
		padding: 10px 12px;
	}
	.price-table td.price,
	.price-table th.price {
		white-space: normal;
	}
	.services-cta-buttons .more {
		display: block;
		margin: 10px 0 0;
	}
}
