/* Ауто Крис - overrides for the "modern" theme (loaded after the template CSS). */

/* ---------------------------------------------------------------- logo --- */
/* Text wordmark, like the classic design: company name + small tagline underneath. */
.header .logo {
	width: auto;
	max-width: 370px;
	padding-right: 20px;
	white-space: nowrap;
}
.header .logo h1.logo-name {
	margin: 0;
	font-size: 30px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #1E69B8;
}
.header .logo h1.logo-name a {
	color: #1E69B8;
	text-decoration: none;
}
.header .logo .logo-tagline {
	display: block;
	margin-top: 5px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #777;
	line-height: 1;
}
.header-container.sticky.move .logo h1.logo-name {
	font-size: 24px;
}
.header-container.sticky.move .logo .logo-tagline {
	display: none;
}
@media only screen and (max-width: 1189px) {
	.header .logo h1.logo-name {
		font-size: 24px;
	}
}
@media only screen and (max-width: 767px) {
	/* Phones: the logo and the hamburger are the two cells of one (anonymous) table row.
	   The template gives the logo a fixed 432px / 270px so the hamburger lands on the right
	   edge; our `width: auto` above undid that and left the button glued to the wordmark.
	   A 100% cell stretches the row to the full header width whatever that width is. */
	.header .logo {
		width: 100%;
		max-width: none;
		padding-right: 12px;
		box-sizing: border-box;
	}
	.header .mobile-menu-switch {
		width: 30px;
	}
	.header .logo h1.logo-name {
		font-size: 24px;
	}
	.header .logo .logo-tagline {
		display: block;
		margin-top: 4px;
		font-size: 10px;
		letter-spacing: 2px;
	}
	/* Top bar: phones / e-mail / hours stacked and centred instead of floated boxes
	   with borders that wrap onto two ragged lines. */
	.header-top-bar .contact-details {
		display: block;
		float: none;
		width: 100%;
	}
	.header-top-bar .contact-details li,
	.header-top-bar .contact-details li:first-child {
		float: none;
		display: block;
		text-align: center;
		border: 0;
		padding: 6px 0;
		line-height: 20px;
	}
	.header-top-bar .contact-details li:first-child {
		padding-top: 10px;
	}
	.header-top-bar .contact-details li:last-child {
		padding-bottom: 10px;
	}
	.header-top-bar .contact-details li a {
		white-space: nowrap;
	}
	/* Mobile menu: full-width rows, a little breathing room under the header. */
	.mobile-menu-divider {
		margin-top: 18px;
	}
	.mobile-menu li a {
		padding: 13px 18px;
		font-size: 15px;
	}
}
@media only screen and (max-width: 479px) {
	.header .logo h1.logo-name {
		font-size: 22px;
	}
	.header-container,
	.header-container.sticky.move {
		padding: 18px 0;
	}
}

/* ---------------------------------------------------- appointment band --- */
.home-appointment .announcement h3 {
	margin: 0;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}
@media only screen and (max-width: 767px) {
	.home-appointment .announcement h3 {
		font-size: 18px;
		margin-bottom: 14px;
		text-align: center;
	}
	.home-appointment .announcement .column-1-3 {
		text-align: center;
	}
}

/* --------------------------------------------------------- page header --- */
/* The template's band is a fixed 100px; ours also carries a subtitle and Cyrillic
   headings, so it grows with its content and keeps generous, even spacing. */
.page-header {
	height: auto;
	min-height: 100px;
}
.page-header > .row.full-width {
	padding-top: 32px;
	padding-bottom: 32px;
}
.page-header-left {
	width: 55%;
}
.page-header-left h1 {
	margin: 0;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #222;
}
.page-header-left .description {
	margin: 8px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: #777;
}
.page-header-right {
	width: 45%;
	padding-top: 8px;
}
.page-header-right .bread-crumb-container {
	padding: 0;
}
.page-header-right label,
.page-header-right .bread-crumb li,
.page-header-right .bread-crumb a {
	font-size: 13px;
	line-height: 1.6;
	text-transform: none;
}
@media only screen and (max-width: 959px) {
	.page-header-left,
	.page-header-right {
		float: none;
		width: 100%;
	}
	.page-header-right {
		padding-top: 12px;
	}
	.page-header-right .bread-crumb-container {
		float: none;
	}
	.page-header-left h1 {
		font-size: 24px;
	}
}

/* --------------------------------------------------------- brand logos --- */
/* Car logos come in different aspect ratios: centre each one in a fixed box. */
.our-clients-list li {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px;
	box-sizing: border-box;
}
.our-clients-list li img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 90px;
	display: block;
	margin: 0 auto;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter .3s, opacity .3s;
}
.our-clients-list li:hover img {
	filter: none;
	opacity: 1;
}

/* -------------------------------------------------------------- footer --- */
.footer-row .contact-details-list li p,
.footer-row .list.simple li {
	word-break: break-word;
}
