:root {
  --scale: 0.834;
}

.modal-backdrop {
	z-index: -1;
}

.header_white {
	border-radius: 0px 0px calc(48px * var(--scale)) calc(48px * var(--scale));
}

body {
	min-height: 100vh;
	background: url('/images/index1.png') no-repeat center top / 100%;
}

.n-main {
	color: #fff;
	margin-top: -50px;
	position: relative;
	border-radius: 0px 0px calc(48px * var(--scale)) calc(48px * var(--scale));
	overflow: hidden;
	z-index: 0;
}

.n-main__item {
	padding: 160px 0px;
	padding-bottom: 200px;
	height: calc(800px * var(--scale));
}

.n-main-item__caption {
	font-size: calc(32px * var(--scale));
}

.n-main-item__name {
	font-weight: 700;
	font-size: calc(140px * var(--scale));
}

.n-main-item__text {
	font-size: calc(16px * var(--scale));
	line-height: 1.4;
	text-shadow: 0.1px 0.4px #000;
}

.n-btn-primary {
	background: #846BF0;
	border-color: #846BF0;
	font-weight: 600;
	display: block;
	position: relative;
}

.n-btn-secondary {
	background: #000;
	border-color: #000;
	font-weight: 600;
	display: block;
	position: relative;
	z-index: 0;
}

.n-btn-secondary::before {
	position: absolute;
	content: "";
	width: calc(100% + 2px);
	height: calc(100% + 2px);
	top: -1px;
	left: -1px;
	border-radius: 4px;
	z-index: -1;
	background: #000;
}

.n-btn-secondary::after {
	position: absolute;
	content: "";
	width: calc(100%);
	height: calc(100%);
	top: 0px;
	left: 0px;
	border-radius: 4px;
	background: #000;
	z-index: 1;
}

.n-btn-secondary div {
	position: relative;
	z-index: 2;
}

.owl-dots {
	position: absolute;
	z-index: 1;
	bottom: 140px;
	height: 20px;
	width: 100%;
	counter-reset: section;
	margin: 0 auto;
	left: 0;
	right: 0;
}

.owl-dot {
	position: relative;
	width: 20px;
	height: 20px;
	margin-right: 8px;
}

.owl-dot::before {
	counter-increment: section; 
	content: counter(section);
	color: #fff;
	font-weight: 700;
	font-size: calc(16px * var(--scale));
}

.owl-dot.active::before {
	color: #846BF0;
}

.owl-dot.active span {
	position: absolute;
	border: 3px solid #846BF0;
	width: calc(100% + 6px);
	height: calc(100% + 6px);
	border-radius: 50%;
	left: -3px;
	top: -3px;
}

.owl-nav {
	display: none;
}

.n-vehicles {
	margin-top: -80px;
}

.owl-carousel_posts {
	height: calc(540px * var(--scale));
	position: relative;
}

.owl-carousel_posts .owl-item {
	display: inline-block;
	vertical-align: top;
}

.owl-carousel_posts .owl-dots {
	display: none;
}

@media (min-width: 576px) {
	.n-search .col-sm-2 {
		-ms-flex: 0 0 20%;
		flex: 0 0 20%;
		max-width: 20%;
	}
}

.n-search .form-control {
	height: calc(80px * var(--scale));
	border: 1px solid #DBE6EB;
	border-radius: 8px;
	padding: 16px;
}

.n-search .btn {
	height: calc(80px * var(--scale));
	border-radius: 8px;
	font-weight: 700;
	font-size: calc(20px * var(--scale));
}

select {
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M441.9 167.3l-19.8-19.8c-4.7-4.7-12.3-4.7-17 0L224 328.2 42.9 147.5c-4.7-4.7-12.3-4.7-17 0L6.1 167.3c-4.7 4.7-4.7 12.3 0 17l209.4 209.4c4.7 4.7 12.3 4.7 17 0l209.4-209.4c4.7-4.7 4.7-12.3 0-17z'/%3E%3C/svg%3E") no-repeat calc(100% - 16px) 50% / 12px;
	-moz-appearance: none;
	-webkit-appearance: none;
	-webkit-border-radius: 0px;
	appearance: none;
	padding-right: 30px !important;
	cursor: pointer;
}

.n-vehicles .vehicle {
	box-shadow: none;
	padding: 16px 24px;
}

.n-vehicles .vehicle:hover {
	box-shadow: 0px 6px 13px rgba(24,53,88,.1);
}

.vehicle__image img {
	border-radius: 0;
}

.n-about {
	padding: 60px 0px;
	height: calc(740px * var(--scale));
}

.n-about_us {
	height: auto;
	min-height: 450px;
}

.n-about .container {
	position: relative;
}

.n-about__block {
	position: absolute;
	padding: 40px;
	padding-right: 80px;
	background: #fff;
	width: calc(50% - 40px);
	z-index: 1;
	left: 0;
	top: 20px;
}

.n-about__block_us {
	left: auto;
	right: 0;
	width: calc(50% + 80px);
	padding: 40px;
	padding-left: 80px;
	position: relative;
	float: right;
}

.n-about__block p {
	font-size: calc(16px * var(--scale));
	line-height: 1.4;
}


.n-car__underblock {
	position: absolute;
	border-radius: 8px;
	width: calc(50% + 80px);
	background: #846BF0;
	right: -8px;
	top: 8px;
	z-index: 0;
	height: calc(420px * var(--scale));
}

.n-car__underblock_us {
	right: auto;
	left: -8px;
	width: calc(50% - 40px);

}

.n-car__block {
	position: absolute;
	border-radius: 8px;
	background: #fff;
	width: calc(50% + 80px);
	right: 0;
	top: 0;
	z-index: 2;
	overflow: hidden;
}

.n-car__block_us {
	right: auto;
	left: 0;
	width: calc(50% - 40px);
}

.n-car__block img {
	object-fit: cover;
	width: 100%;
	height: auto;
}

.n-car__block::after {
	position: absolute;
	content: '';
	height: 100%;
	width: 100%;
	z-index: -1;
	right: -5px;
	bottom: -5px;
}

.n-address__image {
	object-fit: cover;
	width: 100%;
	height: calc(150px * var(--scale));
	margin-bottom: 12px;
}

.n-address__street {
	font-weight: 700;
	font-size: calc(18px * var(--scale));
	line-height: 1.4;
}

.n-address__city {
	font-size: calc(18px * var(--scale));
	line-height: 1.4;
	margin-bottom: 14px;
}

.n-contact__label {
	font-weight: 600;
	font-size: calc(16px * var(--scale));
	padding-top: 10px;
	margin-bottom: 6px;
}

.nw {
	white-space: nowrap;
}

.n-contact__value {
	font-size: calc(16px * var(--scale));
}

.n-day {
	font-weight: 600;
	font-size: calc(16px * var(--scale));
	line-height: 1.4;
}

.n-time {
	font-size: calc(17px * var(--scale));
	line-height: 1.4;
	padding-right: 0;
}

.n-post {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 24px;
}

.n-post__image {
	object-fit: cover;
	width: 100%;
	height: calc(220px * var(--scale));
}

.n-post__block {
	padding: 30px 24px;
}

.n-post__date {
	font-weight: 400;
	font-size: calc(13px * var(--scale));
	color: #8F7EFF;
	margin-bottom: 16px;
}

.n-post__title {
	font-weight: 600;
	font-size: calc(22px * var(--scale));
	line-height: 1.4;
	vertical-align: bottom;
	display: table-cell;
}

.n-post__text {
	font-size: calc(16px * var(--scale));
	line-height: 1.4;
	margin-top: 16px;
	margin-bottom: 16px;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;  
	overflow: hidden;
	min-height: 60px;
}

.n-post__link {
	font-size: calc(16px * var(--scale));
	line-height: 1.4;
	color: #846BF0;
}

footer {
	background: #fff;
	padding-top: 42px;
	padding-bottom: 64px;
	position: absolute;
	width: 100%;
	bottom: 0;
}

footer .btn-link {
	font-weight: 600;
	font-size: calc(16px * var(--scale));
}

.footer__link {
	display: block;
	color: #999999;
	font-size: calc(14px * var(--scale));
	margin-bottom: 12px;
}

.footer__link_inline {
	display: inline-block;
	line-height: calc(24px * var(--scale));
}

.footer__link_inline + .footer__link_inline {
	margin-left: 26px;
}

.footer__left {
	font-size: calc(14px * var(--scale));
	text-align: center;
	line-height: calc(24px * var(--scale));
	position: relative;
	top: 170px;
}

.footer__right {
	text-align: center;
	line-height: calc(24px * var(--scale));
}

footer .card-header button {
	padding-right: 40px;
	background-color: #fff;
	pointer-events: none;
}

footer .card-item {
	background: #fff;
	text-align: left;
}



.accordion .card-item:last-child .card-header {
	border-bottom: none;
}

.image-preview {
    object-fit: cover;
    width: 100%;
    height: calc(220px * var(--scale));
}


@media (max-width: 1499px)
{
	.n-about__block {
		padding-right: 64px;
	}
	.n-contact__label {
		font-size: calc(14px * var(--scale));
	}

	.n-contact__value {
		font-size: calc(14px * var(--scale));
	}

	.n-day {
		font-size: calc(14px * var(--scale));
	}

	.n-time {
		font-size: calc(14px * var(--scale));
	}

	.n-main__item {
		padding: 100px 0px;
		padding-bottom: 200px;
		height: calc(600px * var(--scale));
	}

	.n-main-item__name {
		font-size: calc(100px * var(--scale));
	}

	.n-main-item__caption {
  		font-size: calc(24px * var(--scale));
	}

	.n-main-item__text {
		font-size: calc(15px * var(--scale));
	}

	.owl-dots {
		bottom: 110px;
	}
}

@media (max-width: 765px)
{
	.header_white {
		border-radius: 0;
		background: transparent;
	}

	.n-main {
		border-radius: 0px;
		overflow: visible;
		height: calc(600px * var(--scale));
	}

	.n-main__item {
		padding-top: 64px;
		padding-bottom: 0px;
		height: calc(420px * var(--scale));
		background-position: center 50px !important;
  		background-size: auto 100% !important;
	}

	.n-main-item__caption {
		font-size: calc(24px * var(--scale));
		text-align: center;
		text-shadow: 0.1px 1px #85799a;
		font-weight: 600;
		margin-top: 12px;
	}

	.n-main-item__name {
		text-align: center;
		font-size: calc(80px * var(--scale));
		line-height: 1;
		text-shadow: 0.1px 1px #85799a;
	}

	.n-btn-secondary,
	.n-btn-secondary:hover {
		color: #222222;
	}

	.n-btn-secondary::after {
		background: #f4f8fa;
	}

	.n-main-item__text {
	    margin-top: 260px;
	    color: #333;
	    text-shadow: none;
	    text-align: center;
	}

	.n-main-item__col_left {
		padding-right: 4px;
	}

	.n-main-item__col_right {
		padding-left: 4px;
	}

	.owl-carousel .owl-stage-outer {
		overflow: visible;
	}

	.owl-dots {
		bottom: 24px;
		text-align: center;
	}

	.n-vehicles {
	  	margin-top: 66px;
	}

	.n-about {
		height: auto;
		padding-bottom: 300px;
	}

	.n-about__block {
		position: relative;
		width: 100%;
		padding: 24px;
		z-index: 4;
		top: 250px;
		border-radius: 8px;
	}

	.n-day {
		font-size: calc(16px * var(--scale));
		line-height: 1.4;
	}

	.n-time {
		font-size: calc(18px * var(--scale));
		line-height: 1.4;
	}

	.n-contact__label {
		font-size: calc(16px * var(--scale));
	}

	.n-contact__value {
		font-size: calc(18px * var(--scale));
		margin-bottom: 16px;
	}

	.n-car__underblock {
		height: calc(320px * var(--scale));
		width: 100%;
		right: 0;
		left: 0;
		border-radius: 0;
	}

	.n-car__block {
		width: 100%;
	}

	.n-car__block img {
		width: 102%;
		height: calc(320px * var(--scale));
		border-radius: 0;
	}

	.owl-carousel_posts {
		width: 94%;
	}

	.app {
		padding-bottom: 0px;
	}

	footer {
		position: relative;
		padding-bottom: 50px !important;
	}

	.footer__left {
		line-height: calc(10px * var(--scale));
	}

	footer .card-header button {
		pointer-events: auto;
	}
}

@media (min-width: 768px)
{
	footer {
		padding-bottom: 32px;
	}
	
	footer .collapse {
		display: block !important;
	}

	footer .accordion {
		display: -ms-flexbox !important;
		display: flex !important;
		-ms-flex-pack: justify !important;
		justify-content: space-between !important;
	}

	footer .card-item {
		display: inline-block;
		float: left;
		width: auto;
	}

	footer .card-header {
		border: none;
	}

	footer .card-body {
		padding: 0;
	}

	footer .btn-link {
		padding: 0;
	}

	footer .accordion {
		margin-bottom: 64px;
	}

	.footer__right {
		text-align: right;
	}

	.footer__left {
		text-align: left;
		top: 0;
	}

	[aria-expanded=false],
	[aria-expanded=true] {
		background-image: none !important;
	}
}








