/*
Theme Name: Dongfeng
Version: 1.0
Author: Digital Noise
Author URI: https://digitalnoise.pl/
*/


@font-face {
	font-family: "SS3";
	src: url("/wp-content/themes/Dongfeng/fonts/SourceSans3-VariableFont_wght.ttf");
}


body#maintenance main {
	height: 100vh;
	display: grid;
	align-items: center;
}

body#maintenance video {
	display: block;
	max-height: 90vh;
	margin: 0 auto;
	max-width: 100%;
}

body#maintenance {
	background: black;
	overflow: hidden;
}


*,
*::after,
*::before {
	box-sizing: border-box;
	position: relative;
}

:root {
	--black: #080808;
	--red: #E60122;
	--white: #ffffff;
	--grey: #EBEBEB;
	--dark-grey: #5A5657;
}

html {
	overflow-x: hidden;
}

body {
	font-family: "SS3", sans-serif;
	font-weight: 300;
	font-style: normal;
	font-size: 16px;
	margin: 0;
	padding: 0;
	overflow-x: hidden !important;
}

a, a:active, a:visited {
	text-decoration: none;
	color: var(--black);
}

img, video {
	max-width: 100%;
	height: auto;
	display: block;
}

a.button {
	display: block;
	width: fit-content;
	font-weight: 400;
	background: var(--red);
	color: var(--white);
	padding: 10px 20px;
	border-radius: 30px;
}

a.outline {
	display: block;
	width: fit-content;
	font-weight: 400;
	border: 2px solid var(--red);
	padding: 10px 20px;
	border-radius: 30px;
}

h1 {
	font-size: 80px;
	font-weight: 800;
	line-height: .9;
	margin: 0 0 40px 0;
	text-transform: uppercase;
}

h2 {
	font-size: 48px;
	font-weight: 700;
	line-height: 1.1;
	margin: 0 0 40px 0;
	text-transform: uppercase;
}

h2 span {
	display: block;
}

span {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
}

label {
	font-weight: 400;
	text-transform: uppercase;
	font-size: 14px;
	margin: 40px 0 -10px 0;
	display: block;
}

p {
	margin: 15px 0;
}

.title {
	font-size: 60px;
	font-weight: 900;
	font-style: italic;
}

section {
	padding: 80px 0;
}

section.grey {
	padding: 150px 0;
}

section.grey:before {
	content: "";
	position: absolute;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	background: var(--grey);
	transform: skew(0deg, -2deg);
	z-index: -1;
}

.hero, .car-hero {
	background-size: cover !important;
	background-position: top center !important;
	padding: 0;
}

.hero::after {
	content: '';
	position: absolute;
	right: 0px;
	left: 0px;
	bottom: -50px;
	height: 100px;
	background: var(--white);
	transform: skew(0deg, -2deg);
}

.hero .title {
	font-size: 120px;
	text-align: center;
	color: var(--white);
	text-transform: uppercase;
	font-weight: 900;
	font-style: normal;
	padding: 60vh 0 20vh 0;
}

.hero .title span {
	font-size: 320px;
	display: block;
	font-weight: 900;
	line-height: 160px;
}

.main_menu {
	background: rgba(216,216,216,.7);
	position: fixed;
	width: 1600px;
	top: 20px;
	left: 50%;
	transform: translatex(-50%);
	z-index: 99999;
	border-radius: 30px;
	padding: 20px 30px;
	backdrop-filter: blur(10px);
}

.main_menu ul {
	padding: 0;
	margin: 0;
	text-align: center;
}

.main_menu ul li {
	list-style-type: none;
	display: inline-block;
	padding: 10px;
	font-size: 18px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.main_menu .button {
	margin: 0 0 0 auto;
}

.block {
	max-width: 1600px;
	margin: 0 auto;
}

.mini-block {
	max-width: 880px;
	margin: 0 auto;
}

.medium-block {
	max-width: 1200px;
	margin: 0 auto;
}

.grid {
	display: grid;
	grid-gap: 80px;
	column-gap: 80px;
}

.grid-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-1-2 {
	grid-template-columns: 1fr 2fr;
}

.grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.menu-grid {
	grid-template-columns: 270px 1fr 270px;
	align-items: center;
}

a.more {
	font-weight: 400;
	display: block;
	width: fit-content;
	margin: 0 0 0 auto;
}

.brands {
	margin-top: 80px;
	text-align: center;
}

.brands .grid {
	align-items: center;
	margin: 40px auto;
	max-width: 1200px;
}

.brands .grid img {
	margin: 0 auto;
}

.cars .car {
	max-width: calc(50% + 600px);
	margin: 0 0 0 auto;
}

.car_slider_1 .slick-list {
	overflow: unset;
}

.cars .car .right img {
	max-width: 120%;
	margin-top: -40px;
	margin-bottom: 40px;
}

.cars .car .left {
	padding: 40px 0 0 0;
}

.cars .car .left h2 {
	font-size: 70px;
	text-transform: uppercase;
}

.cars .car .item-footer {
	margin: 40px 0;
}

.item-footer a.button, .item-footer a.outline, .item-footer a.more {
	display: inline-block;
	margin: 0;
}

.cars .car .item-footer .more {
	margin-left: 20px;
}

.slick-nav svg {
	height: 20px;
}

.slick-nav .slick-prev, .slick-nav .slick-next {
	padding: 8px 9px 2px 7px;
	width: fit-content;
	margin: 0 5px;
	border-radius: 50%;
	display: inline-block;
}

.slick-nav .slick-next {
	background: var(--red);
	fill: var(--white);
}

.cars .slick-nav {
	position: absolute;
	top: 40px;
	right: 50%;
}

.car-hero-image img, .hero img {
	width: 100%;
}

.page-template-home section.test-drives {
	margin-top: -250px;
}

section.test-drives .mini-block, section.test-drives a.button {
	z-index: 999;
}

section.service .item-footer {
	margin-top: 40px;
	text-align: right;
}

section.service .item-footer a.outline {
	margin-left: 20px;
}

section.grey {
	margin-bottom: 80px;
}

img.footer_hero {
	width: 100%;
	margin-top: -200px;
	z-index: -1;
}

.footer {
	background: var(--white);
}

.footer h3 {
	font-weight: 400;
	margin: 0;
}

.footer p {
	max-width: 300px;
}

.footer .so_me {
	margin-top: 40px;
}

.footer .so_me svg {
	height: 20px;
}

.footer .so_me a {
	margin-right: 10px;
}

.footer .right {
	text-align: right;
}

.footer .right p {
	margin-right: 0px;
	margin-left: auto;
}

.footer .right a.outline {
	margin: 0 0 0 auto;
}

.footer .part-2 {
	padding-top: 50px;
	margin-top: 50px;
	border-top: 1px solid var(--grey);
}

.footer .part-2 .right {
	display: grid;
}

.footer .part-2 .right .bottom {
	align-self: end;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.footer .part-2 .right .bottom span {
	font-weight: 200;
	letter-spacing: 1px;
	font-size: 12px;
}

.swatch {
	width: 30px !important;
	height: 30px !important;
	margin: 10px;
	border: 2px solid var(--white);
	box-shadow: 0 0 5px rgba(0,0,0,0.2);
	border-radius: 50%;
}

.swatch:not(.slick-current):hover {
	cursor: pointer;
}

.swatch.slick-current:before {
	content: '';
	position: absolute;
	top: -10px;
	bottom: -10px;
	right: -10px;
	left: -10px;
	border: 2px solid var(--black);
	opacity: .5;
	border-radius: 50%;
}

.swatch:after {
	content: '';
	position: absolute;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	background: linear-gradient(rgba(255,255,255,.5), transparent);
	border-radius: 50%;
}

.equipment ul {
	padding: 0;
	margin: 0;
	columns: 2;
	column-gap: 80px;
}

.equipment ul li {
	list-style-type: none;
	display: block;
	padding: 10px 0;
}


.gallery ul.slick {
	margin: 0;
	padding: 0;
}

.gallery .slick-slide {
	margin: 0 20px;
	height: 500px !important;
}

.gallery .slick-slide {
	height: 400px;
}

.gallery .slick-slide img {
	max-width: unset;
	height: 100%;
	width: auto;
	border-radius: 30px;
}

.gallery .slick-dots li button {
    width: 10px;
    height: 10px;
    background: none;
    border: 1px solid var(--dark-grey);
    padding: 0 !important;
    margin: 0 5px;
    font-size: 0px;
    border-radius: 50%;
}

.gallery .slick-dots .slick-active button {
    background: var(--dark-grey);
}

.gallery ul.slick-dots {
    text-align: center;
    margin-top: 40px;
    padding: 0;
}

.gallery .slick-dots li {
    display: inline-block;
}

.page-template-car video {
	border-radius: 30px;
}

.page-template-car .main_info {
	margin-top: -100px;
	margin-bottom: 80px;
}

.page-template-car .main_info .grid {
	display: flex;
	justify-content: center;
}

.page-template-car .main_info .grid .item span, .size span {
	display: block;
	text-transform: unset;
	text-align: center;
	letter-spacing: 0px;
}

.page-template-car .main_info .grid .item span.name, .size span.name {
	letter-spacing: 0px;
	text-transform: uppercase;
}

.page-template-car .main_info .grid .item span.value, .size span.value {
	font-weight: 800;
	font-size: 40px;
	line-height: 1;
	margin: 20px 0;
}

.page-template-car .main_info .grid .item span.desc, .size span.desc {
	font-size: 16px;
	font-weight: 200;
}

.image_gradient {
	height: 40vh;
	position: absolute;
	bottom: 0px;
	right: 0px;
	left: 0px;
}

.car-hero-name {
	font-size: 25vw;
	line-height: 1;
	font-weight: 900;
	text-transform: uppercase;
	position: absolute;
	bottom: -50px;
	right: 0px;
	left: 0px;
	text-align: center;
	font-style: italic;
	color: transparent;
	-webkit-text-stroke: 5px var(--white);
	mask: linear-gradient(0deg, transparent 40%, white 70%);
}

.page-template-car .video-block {
	z-index: 9;
}

.page-template-car .about {
	background: var(--white);
	margin-top: -200px;
	padding-top: 300px;
}

.page-template-car .about .left img {
	transform: scaleX(-1);
	max-width: 60vw;
	margin-left: -35vw;
}

.page-template-car h1 {
	font-size: 120px;
}

.colors-nav {
	margin-left: -10px;
}

.colors-nav .slick-track {
	width: 100% !important;
}

.car_background {
	position: absolute;
	bottom: 0px;
	top: -30px;
	right: 20%;
	width: 30%;
	border-radius: 30px;
}

.colors {
	overflow: hidden;
}

.colors-for {
	margin-top: 10px;
}

.colors-for .slick-list {
	overflow: unset;
}

.page-template-car .inside {
	margin-top: -100px;
}

.page-template-car .inside:before {
	content: '';
	position: absolute;
	top: 80px;
	height: 400px;
	right: 0px;
	left: 0px;
	background: linear-gradient(#fff,transparent);
	z-index: 1;
}

.page-template-car .inside:after {
	content: '';
	position: absolute;
	bottom: 80px;
	height: 400px;
	right: 0px;
	left: 0px;
	background: linear-gradient(transparent,#000);
	z-index: 1;
}

.inside .mini-block {
	position: absolute;
	top: 170px;
	width: 880px;
	left: calc(50% - 440px);
	z-index: 99;
}

.inside-colors-nav .slick-track {
	width: 200px !important;
    margin: 0 auto 0 0;
	text-align: center;
}

.inside-color-name {
	position: absolute;
	top: 150px;
	width: 300px;
	left: calc(50% - 40px);
	z-index: 99;
	font-weight: 400;
	text-align: center;
}

.features {
	overflow: hidden;
}

.features-nav .slick-slide {
	display: block;
	width: 100% !important;
	padding: 20px 0;
}

.features-nav .slick-list {
	overflow: unset;
}

.features-nav .slick-slide:before {
	content: '';
	width: 10px;
	height: 10px;
	background: var(--red);
	position: absolute;
	top: 25px;
	left: -45px;
	border-radius: 50%;
}

.features-nav .slick-slide.slick-current:before {
	width: 16px;
	height: 16px;
	left: -48px;
}

.features-nav .slick-slide .name {
	font-weight: 500;
}

.features-nav .slick-slide .desc {
	display: none;
}

.features-nav .slick-slide.slick-current .desc {
	display: block;
}

.features {
	padding-top: 0px;
	margin-top: -250px;
}

.features h2 {
	color: var(--white);
	margin-top: 50px;
	z-index: 99;
}

.features .features-image {
	z-index: 99;
}

.features .features-image img {
	border-radius: 30px;
}

.features-nav .slick-track {
	width: 100% !important;
	margin-top: 50px;
}

.features-nav:before {
	content: '';
	position: absolute;
	top: -150px;
	bottom: -100px;
	left: -40px;
	width: 1px;
	background: var(--red);
	z-index: 99;
}

.size:before {
	content: '';
	background: linear-gradient(var(--grey),transparent);
	position: absolute;
	right: 0px;
	left: 0px;
	top: 50%;
	bottom: -300px;
}

.cta:before {
	content: '';
	background: linear-gradient(var(--grey),transparent);
	position: absolute;
	right: 0px;
	left: 0px;
	top: 70%;
	bottom: -300px;
	z-index: -2;
}

.cta img {
	margin-left: 400px;
	margin-top: 0px;
	max-width: 60%;
	margin: 0 auto;
	z-index: -1;
}

.cta a.button {
	margin-top: 40px;
}

.offer {
	padding: 150px 0;
	transform: skew(0deg, -2deg);
}

.offer:before {
	content: '';
	position: absolute;
	top: 0px;
	bottom: 0px;
	right: 0px;
	left: 0px;
	background: var(--white);
	opacity: .9;
}

.offer .mini-block {
	transform: skew(0deg, 2deg);
}

.dn_form form input, .dn_form form select {
	border: 0px;
	background: var(--white);
	padding: 15px;
	display: block;
	width: 100%;
	border-radius: 10px;
	margin: 5px 0;
}

.dn_form form input[type=submit] {
	background: var(--red);
	color: var(--white);
	width: fit-content;
	margin: 10px 0 0 auto;
	padding: 15px 60px;
}

.dn_form form label {
	font-weight: 200;
	letter-spacing: 1px;
	margin: 0;
	padding: 0;
}

.dn_form .wpcf7-list-item {
	margin: 0;
}

.dn_form .wpcf7-list-item label {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: start;
	margin-top: 10px;
}

.dn_form .wpcf7-acceptance input {
	display: inline-block;
	width: fit-content;
	padding: 0px;
	margin: 5px 10px 0 0;
}

.dn_form .wpcf7-acceptance span {
	font-size: 16px;
	letter-spacing: 0px;
	font-weight: 200;
	text-transform: none;
	display: inline-block;
	width: fit-content;
}

.page-template-brand .hero:before {
	content: '';
	position: absolute;
	bottom: 50px;
	height: 50%;
	left: 0px;
	right: 0px;
	background: linear-gradient(transparent, var(--dark-grey));
	z-index: 1;
	transform: skew(0deg, -2deg);
}

.page-template-brand .hero .block {
	position: absolute;
	bottom: 100px;
	width: 1200px;
	left: calc(50% - 600px);
	color: var(--white);
	z-index: 9;
}

.page-template-brand .hero h1 {
	margin: 0 0 20px 0;
}

.page-template-brand .hero h1 span {
	display: block;
}

.page-template-brand .hero .short-desc {
	max-width: 600px;
}

.page-template-brand .cars .grid {
	margin: 0 0 50px 0;
}

.page-template-brand .cars .grid:nth-child(even) .text {
	order: 1;
}

.page-template-brand .cars .grid:nth-child(even) .image {
	order: 2;
}


.page-template-brand .cars .grid .image img {
	max-width: calc(100% + 200px);
	margin: -50px 0 0 -150px;
	z-index: 9;
}

.page-template-brand .cars .grid:nth-child(even) .image img {
	margin: -50px 150px 0 0;
}

.page-template-brand .cars .grid:nth-child(odd) .image img {
	transform: scaleX(-1);
}

.page-template-brand .cars .grid:nth-child(odd) h2 {
	text-align: right;
	margin: 0 0 0 auto;
	padding: 0 0 0 40px;
}

.page-template-brand .cars .grid p {
	text-align: justify;
}

.page-template-brand .cars .grid h2 {
	background: var(--white);
	width: fit-content;
	padding: 0 40px 0 0;
}

.page-template-brand .cars .grid .text:before {
	content: '';
	position: absolute;
	top: 45px;
	right: 0px;
	left: -80%;
	height: 1px;
	background: var(--black);
}

.page-template-brand .cars .grid:nth-child(even) .text:before {
	left: 0px;
	right: -80%;
}

.car_slider_2 .slick-nav {
	position: relative;
	top: 0;
	right: 0;
	margin-bottom: 20px;
}

.car_slider_2 .car h2 {
	margin-bottom: 20px;
	padding: 50px 50px 0 50px;
	z-index: 9;
}

.car_slider_2 .car .more {
	text-align: left;
	margin: 0 0 0 50px;
	z-index: 9;
}

.car_slider_2 .car:before {
	content: '';
	top: 0px;
	left: 0px;
	width: 50%;
	bottom: 0px;
	position: absolute;
	background: var(--grey);
	border-radius: 30px;
}

.car_slider_2 .car img {
	margin-top: -50px;
}

.page-template-showroom, .page-template-service, .page-template-contact, .page-template-test_drives, .page-id-84 {
	padding-top: 100px;
}

.page-template-showroom h1, .page-template-service h1, .page-template-contact h1, .page-template-test_drives h1, .page-id-84 h1 {
	font-size: 60px;
}

.services {
	padding: 50px 0 0 0;
}

.services h3 {
	font-weight: 400;
	margin: 30px 0;
	font-size: 20px;
	letter-spacing: 1px;
	background: var(--white);
	width: fit-content;
}

.services .grid {
	row-gap: 20px;
}

.services .item {
	letter-spacing: 1px;
	font-weight: 400;
	text-transform: uppercase;
	display: grid;
	grid-template-columns: auto 1fr;
	align-content: center;
}

.services .item svg {
	height: 25px;
	margin: 0 10px 0 0;
}

.grey_form {
	padding: 100px;
	background: var(--grey);
	margin: 0 -50px;
	border-radius: 30px;
}

.data h3 {
	margin: 40px 0 10px 0;
}

.data .right {
	text-align: right;
}

.price {
    margin-top: -100px;
    margin-bottom: 180px;
    display: block;
    text-align: center;
	font-size: 50px;
	font-weight: 800;
}

.price span {
	display: block;
}


@media screen and (max-width: 1880px) {
	.block {
		max-width: calc(100% - 200px);
	}
	
	.cars .car {
		max-width: calc(100% - 100px);
		margin: 0 0 0 auto;
	}
	
	.main_menu {
		max-width: calc(100% - 200px);
		margin: 0 auto;
	}
	
	.page-template-brand .cars .grid:nth-child(even) .image img {
		margin: -50px 0px 0 0;
	}
	
	.page-template-brand .cars .grid .image img {
		margin: -50px 0 0 -50px;
	}
	
	.page-template-brand .cars .grid .image img {
		max-width: 100%;
	}
}




@media screen and (max-width: 1580px) {
	.page-template-home section.test-drives {
		margin-top: -160px;
	}
	
	.cars .grid-2 {
		grid-template-columns: 1fr 2fr;
	}
	
	.page-template-brand .cars .grid:nth-child(odd) {
		grid-template-columns: 2fr 1fr
	}
	
	.page-template-brand .cars .grid:nth-child(even) .text:before {
		right: -110%;
	}
	
	.page-template-brand .cars .grid .text:before {
		left: -120%;
	}
	
	.menu-grid {
		grid-template-columns: 270px 1fr 270px;
		align-items: center;
		column-gap: 0px;
	}
	
	
}

@media screen and (max-width: 1400px) {
	.page-template-home section.test-drives {
		margin-top: 0px;
	}
	
	.menu-grid {
		grid-template-columns: 200px 1fr 200px;
	}
	
	.medium-block, .page-template-brand .hero .block {
		max-width: calc(100% - 200px);
		margin: 0 auto;
	}
	
	.page-template-brand .hero .block {
		max-width: calc(100% - 200px);
		left: 100px;
		margin: 0 auto;
	}
	
	.page-template-car .about .left img {
		margin-left: -25vw;
	}
	
	.gallery .slick-slide {
		height: 400px !important;
	}
}

@media screen and (max-width: 1270px) {
	
	.page-template-brand .cars .grid, .page-template-brand .cars .grid:nth-child(odd) {
		grid-template-columns: 1fr;
	}
	
	.page-template-brand .cars .grid .image {
		order: 2;
	}
	
	.page-template-brand .cars .grid .text {
		order: 1;
	}
	
	.page-template-brand .cars .grid .text:before {
		display: none;
	}
	
	.page-template-brand .cars .grid:nth-child(odd) h2 {
		text-align: left;
		margin: unset;
		padding: unset;
	}
	
	.page-template-brand .cars .grid .image img, .page-template-brand .cars .grid:nth-child(even) .image img {
		margin: -50px auto 0 auto;
		max-width: 80%;
	}
	
	.page-template-car h1 {
		font-size: 80px;
	}
	
	.hamburger {
		display: block !important;
		position: fixed;
		top: 0px;
		right: 0px;
		width: 100%;
		padding: 10px 30px;
		background: var(--white);
		z-index: 999999;
	}
	
	.hamburger .grid {
		display: grid;
		grid-template-columns: 1fr auto;
		align-items: center;
	}
	
	.hamburger svg {
		height: 20px;
		display: inline-block;
	}
	
	.hamburger img {
		max-width: 50vw;

	}
	
	.main_menu {
		display: block;
		left: 20px;
		top: 60px;
		width: calc(100% - 40px);
		bottom: 30px;
		width: unset;
		max-width: unset;
		transform: unset;
		transform: translatex(-150%);
		transition: .5s;
	}
	
	body {
		padding-top: 50px;
	}
	
	.main_menu.open {
		transform: translatex(0%);
	}
	
	.main_menu img {
		max-width: 50%;
	}
	
	.page-template-showroom, .page-template-service, .page-template-contact, .page-template-test_drives {
		padding-top: 0px;
	}
	
	.menu-grid {
        grid-template-columns: 1fr;
		row-gap: 20px;
    }
	
	.main_menu ul li {
		display: block;
		text-align: left;
	}
	
	.main_menu .button {
		margin: 0 auto 0 0;
	}
	
	
}

@media screen and (max-width: 1200px) {
	.grid-1-2 {
		grid-template-columns: 1fr;
		grid-gap: 0px;
	}
	
	.grid-1-2 .grid-item.right {
		margin-top: -70px;
	}
	
	.grid-1-2 .grid-item.right img {
		max-width: 70%;
		margin: 0 0 0 auto;
	}
	
	.cars .car {
		max-width: calc(100% - 200px);
		margin: 0 auto;
	}
	
	.cars .slick-nav {
		right: 100px;
	}
	
	.hero .title span {
		font-size: 27vw;
		line-height: 17vw;
	}
	
	.hero .title {
		font-size: 10vw;
	}
	
	.mini-block, .block {
		max-width: calc(100% - 200px);
		margin: 0 auto;
	}
	
	.block.brands {
		margin-top: 80px;
	}
	
	.about .grid-2 {
		grid-template-columns: 1fr;
	}
	
	.about .grid-2 .left {
		display: none;
	}
	
	.features .grid-2 {
		grid-template-columns: 1fr;
	}
	
	.features .features-image {
		display: none;
	}
	
	.features {
		margin-top: 0px;
	}
	
	.features .grid-2 {
		row-gap: 0px;
	}
	
	.features h2 {
		color: var(--black);
	}
	
	.features-nav .slick-slide:before, .features-nav:before {
		display: none;
	}
	
	.features-nav .slick-slide .desc {
		display: block;
	}
	
	.car_background {
		top: 0px;
	}
	
	.inside .mini-block {
		position: absolute;
		top: 100px;
		width: calc(100% - 200px);
		left: 100px;
		z-index: 99;
	}
	
	.image_gradient {
		height: 310px;
	}
	
	.car-hero-name {
		bottom: 0px;
	}
	
	.mini-block.brands {
		margin-top: 50px;
	}
	
	.mini-block.brands .grid {
		grid-template-columns: 1fr;
		row-gap: 20px;
	}
	
	.page-template-showroom .cars {
		display: none;
	}
	
	.page-template-showroom, .page-template-service, .page-template-contact, .page-template-test_drives {
		padding-top: 50px;
	}
	
}

@media screen and (max-width: 1000px) {
	
	.grid-3 {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}
	
	.footer .grid-2 {
		grid-template-columns: 1fr;
	}
	
	.footer .right {
		text-align: left;
	}
	
	.footer .right p {
		margin-right: auto;
		margin-left: 0px;
	}
	
	.footer .right a.outline {
		margin: 0 auto 0 0;
	}
	
	.footer .part-2 .right .bottom {
		margin-top: 40px;
		text-align: right;
	}
	
	img.footer_hero {
		margin-top: -100px;
	}
	
	.page-template-brand .hero .short-desc {
		max-width: 100%;
	}
	
	.page-template-brand .hero .block {
		position: relative;
		left: unset;
	}
	
	.page-template-brand .hero {
		background: var(--dark-grey);
	}
	
	.page-template-brand .hero:before {
		bottom: 150px;
	}
	
	.page-template-car .main_info .grid {
		display: grid;
		grid-template-columns: 1fr 1fr;
		row-gap: 40px;
	}
	
	.grid-2 {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}
	
	.data .right {
		text-align: left;
	}
	
	.gallery .slick-slide {
		height: 300px !important;
	}
	
}

@media screen and (max-width: 900px) {
	
	.page-template-car .main_info .grid {
		grid-template-columns: 1fr;
	}
	
	.page-template-car .main_info {
		margin-top: -30px;
	}
	
	.colors {
		margin-bottom: 100px;
	}
	
	.page-template-car .inside:after {
		display: none;
	}
	
	.grid-4 {
		grid-template-columns: 1fr 1fr;
	}
	
	.size:before {
		top: 40%;
	}
	
	.grey_form {
		padding: 50px;
		margin: 0;
	}
	
	.grid-1-2 .grid-item.right img {
        max-width: 100%;
        margin: 50px 0 0 auto;
    }
	
}

@media screen and (max-width: 700px) {
	h1 {
		font-size: 40px;
	}
	
	h2 {
		font-size: 30px;
	}
	
	.block, .mini-block, .medium-block, .page-template-brand .hero .block {
		max-width: calc(100% - 100px);
	}
	
	   .page-template-car h1 {
        font-size: 40px;
    }
	
	.page-template-car .inside:before {
		height: 250px;
	}
	
	.grid-4 {
		grid-template-columns: 1fr;
		row-gap: 40px;
	}
	
	.size:before {
		top: 25%;
	}
	
	.wpcf7 .grid-2 {
		grid-template-columns: 1fr;
		row-gap: 20px;
	}
	
	.cta img {
		margin: 0 0 0 auto;
		max-width: 75%;
	}
	
	.car-hero-name {
		font-size: 30vw;
	}
	
	.page-template-car .about {
		margin-top: -100px;
		padding-top: 150px;
	}
	
	.color-name {
		display: none;
	}
	
	.inside .grid-2 {
		grid-template-columns: 1fr;
		row-gap: 10px;
	}
	
	.inside h2 {
		margin: 0;
	}
	
	.inside .mini-block {
		top: 20px;
		max-width: calc(100% - 100px);
		left: 50px;
	}
	
	.page-template-showroom h1, .page-template-service h1, .page-template-contact h1, .page-template-test_drives h1 {
		font-size: 40px;
	}
	
	.page-template-brand .cars .grid .image img, .page-template-brand .cars .grid:nth-child(even) .image img {
        margin: 0 auto;
        max-width: 100%;
    }
	
	.cars .car {
        max-width: calc(100% - 100px);
        margin: 0 auto;
    }
	
	.cars .slick-nav {
        right: 50px;
    }
	
	.item-footer a.button, .item-footer a.outline, .item-footer a.more {
		margin-bottom: 20px;
	}
	
	section {
		padding: 40px 0;
	}
	
	.item-footer a.button, .item-footer a.outline, .item-footer a.more {
		display: block;
		margin: 10px 0;
	}
	
	section.service .item-footer a.outline {
		margin-left: 0px;
	}
	
	img.footer_hero {
        margin-top: 0px;
    }
	
	section.grey {
		padding: 80px 0;
		margin-bottom: 0px;
	}
	
	.page-template-car .inside:before {
		top: 40px;
	}
	
	.gallery .slick-slide {
		height: 200px !important;
	}
	
	.hero .title {
		padding: 40vh 0 10vh 0;
	}

}

@media screen and (max-width: 600px) {
	.equipment ul {
		columns: 1;
	}
	
	.services .grid {
		grid-template-columns: 1fr;
	}
	
	.gallery .slick-slide {
		height: 150px !important;
	}
	
	.gallery .slick-slide {
		margin: 0 10px;
	}
	
	.image_gradient {
        height: 150px;
    }
	
	.page-template-car .main_info .grid .item span.value, .size span.value {
		margin: 10px 0;
	}
	
	
}


@media screen and (max-width: 500px) {
	
	.size:before {
        top: 20%;
    }
	
	.cta:before {
		top: 75%;
	}
	
	.hero .title {
		padding: 20vh 0 10vh 0;
	}
	
	.dn_form form input[type=submit] {
		padding: 15px 30px;
		margin: 0 auto;
	}
	
}
