/******************************************************************
  Template Name: X8-Сервис
  Description: Сайт сервиса BMW
  Version: 2.0
  Created: Optimized
******************************************************************/

/*------------------------------------------------------------------
[Table of contents]

1.  Template default CSS
2.  Helper Css
3.  Header Section
4.  Hero Section
5.  Service Section
6.  Car Section
7.  Feature Section
8.  Latest Blog Section
9.  Footer Style
-------------------------------------------------------------------*/

/*----------------------------------------*/
/* Template default CSS
/*----------------------------------------*/

html,
body {
	height: 100%;
	font-family: "Lato", sans-serif;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0;
	color: #111111;
	font-weight: 400;
	font-family: "Lato", sans-serif;
}

h1 {
	font-size: 70px;
}

h2 {
	font-size: 36px;
}

h3 {
	font-size: 30px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

p {
	font-size: 15px;
	font-family: "Lato", sans-serif;
	color: #727171;
	font-weight: 400;
	line-height: 25px;
	margin: 0 0 15px 0;
}

img {
	max-width: 100%;
}

input:focus,
select:focus,
button:focus,
textarea:focus {
	outline: none;
}

a:hover,
a:focus {
	text-decoration: none;
	outline: none;
	color: #ffffff;
}

ul,
ol {
	padding: 0;
	margin: 0;
}

/*---------------------
  Helper CSS
-----------------------*/

.section-title {
	margin-bottom: 75px;
	text-align: center;
}

.section-title span {
	font-size: 15px;
	color: #db2d2e;
	font-weight: 700;
}

.section-title h2 {
	color: #353535;
	font-size: 40px;
	font-weight: 700;
	margin-top: 5px;
	margin-bottom: 16px;
}

.section-title P {
	margin-bottom: 0;
	font-size: 17px;
	color: #727171;
}

.set-bg {
	background-repeat: no-repeat;
	background-size: cover;
	background-position: top center;
}

.spad {
	padding-top: 100px;
	padding-bottom: 100px;
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6,
.text-white p,
.text-white span,
.text-white li,
.text-white a {
	color: #fff;
}

/* buttons */

.primary-btn {
	display: inline-block;
	font-size: 15px;
	padding: 12px 24px;
	color: #ffffff;
	font-weight: 700;
	background: #db2d2e;
	border-radius: 2px;
	transition: all 0.3s;
}

.primary-btn:hover {
	background: #c52728;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(219, 45, 46, 0.3);
}

.site-btn {
	font-size: 15px;
	color: #ffffff;
	font-weight: 700;
	display: inline-block;
	padding: 15px 35px 12px 38px;
	background: #db2d2e;
	border: none;
	border-radius: 2px;
}

/*---------------------
  Header
-----------------------*/

.header__top {
	background: #323232;
}

.header__top__widget {
	padding: 12px 0 14px;
}

.header__top__widget li {
	font-size: 15px;
	color: #ffffff;
	display: inline-block;
	margin-right: 35px;
	list-style: none;
}

.header__top__widget li:last-child {
	margin-right: 0;
}

.header__top__widget li i {
	font-size: 18px;
	color: #8d8d8d;
	margin-right: 6px;
}

.header__top__right {
	text-align: right;
}

.header__top__phone {
	display: inline-block;
	margin-right: 20px;
	padding: 14px 0 12px;
}

.header__top__phone i {
	color: #8d8d8d;
	margin-right: 6px;
	font-size: 15px;
}

.header__top__phone span {
	font-size: 15px;
	color: #ffffff;
}

.header__logo {
	padding: 35px 0;
}

.header__logo a {
	display: inline-block;
}

.header__menu {
	display: inline-block;
}

.header__menu ul li {
	list-style: none;
	display: inline-block;
	margin-right: 40px;
	position: relative;
}

.header__menu ul li.active a:after {
	width: 100%;
	opacity: 1;
}

.header__menu ul li:hover a:after {
	width: 100%;
	opacity: 1;
}

.header__menu ul li a {
	font-size: 15px;
	color: #353535;
	font-weight: 700;
	display: block;
	padding: 5px 0;
	text-transform: uppercase;
	position: relative;
	transition: color 0.3s;
}

.header__menu ul li a:hover {
	color: #db2d2e;
}

.header__menu ul li a:after {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 2px;
	width: 0%;
	background: #db2d2e;
	content: "";
	opacity: 0;
	transition: all 0.5s;
}

.offcanvas-menu-wrapper {
	display: none;
}

.canvas__open {
	display: none;
}

/*---------------------
  Hero
-----------------------*/

.hero {
	padding: 140px 0;
	position: relative;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.5);
}

.hero .container {
	position: relative;
	z-index: 2;
}

.hero__text {
	padding-top: 110px;
}

.hero__text__title {
	margin-bottom: 28px;
}

.hero__text__title span {
	font-size: 20px;
	color: #ffffff;
	font-weight: 700;
	text-transform: uppercase;
	display: block;
	margin-bottom: 15px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero__text__title h2 {
	font-size: 60px;
	color: #ffffff;
	font-weight: 700;
	margin-top: 10px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/*---------------------
  Feature
-----------------------*/

.feature {
	background: #f7f7f7;
	position: relative;
	z-index: 1;
	padding-bottom: 55px;
}

.feature__text .section-title {
	text-align: left;
	margin-bottom: 34px;
}

.feature__text .section-title h2 {
	margin-bottom: 0;
}

.feature__text__desc {
	margin-bottom: 35px;
}

.feature__text__desc p {
	margin-bottom: 30px;
}

.feature__text__btn .primary-btn {
	margin-right: 16px;
}

.feature__item {
	text-align: center;
	margin-bottom: 45px;
}

.feature__item .feature__item__icon {
	height: 100px;
	width: 100px;
	background: #ffffff;
	border-radius: 50%;
	line-height: 100px;
	text-align: center;
	margin-bottom: 20px !important;
	margin: 0 auto;
	transition: transform 0.3s;
}

.feature__item .feature__item__icon:hover {
	transform: scale(1.1);
}

.feature__item h6 {
	font-size: 15px;
	color: #353535;
	font-weight: 700;
}

/*---------------------
  Choose Us
-----------------------*/

.chooseus {
	background: #f7f7f7;
	position: relative;
	height: auto;
	padding-bottom: 85px;
}

.chooseus .row {
	position: relative;
	z-index: 1;
}

.chooseus__text {
	position: relative;
	z-index: 1;
}

.chooseus__text .section-title {
	margin-bottom: 10px;
	text-align: left;
}

.chooseus__text .section-title h2 {
	margin-top: 0;
}

.chooseus__text ul {
	margin-bottom: 28px;
}

.chooseus__text ul li {
	list-style: none;
	font-size: 15px;
	color: #727171;
	line-height: 36px;
}

.chooseus__text ul li i {
	color: #db2d2e;
}

.chooseus__video {
	height: 530px;
	width: 100%;
	position: relative;
}

/*---------------------
  Car
-----------------------*/

.car {
	padding-bottom: 120px;
}

.car .section-title {
	margin-bottom: 20px;
}

.car .section-title h2 {
	margin-bottom: 0;
}

.car__item {
	margin-bottom: 30px;
	transition: transform 0.3s;
}

.car__item:hover {
	transform: translateY(-5px);
}

.car__item__pic__slider img {
	border-radius: 2px 2px 0 0;
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.car__item__pic__slider.owl-carousel .owl-dots {
	text-align: center;
	position: absolute;
	width: 100%;
	left: 0;
	bottom: 15px;
}

.car__item__pic__slider.owl-carousel .owl-dots button {
	height: 8px;
	width: 8px;
	background: #8d8d8d;
	border-radius: 50%;
	margin-right: 8px;
	display: inline-block;
}

.car__item__pic__slider.owl-carousel .owl-dots button.active {
	background: #ffffff;
}

.car__item__pic__slider.owl-carousel .owl-dots button:last-child {
	margin-right: 0;
}

/*---------------------
  Services
-----------------------*/

.services__item {
	text-align: center;
	padding: 36px 20px 40px;
	border: 1px solid #ebebeb;
	border-radius: 2px;
	transition: all 0.4s;
	margin-bottom: 40px;
	height: 100%;
}

.services__item:hover {
	box-shadow: 0px 6px 50px rgba(50, 15, 15, 0.05);
	border: 1px solid transparent;
	transform: translateY(-5px);
}

.services__item h5 {
	font-size: 18px;
	color: #323232;
	font-weight: 700;
	margin-bottom: 12px;
	margin-top: 20px;
	min-height: 60px;
}

.services__item img {
	height: 60px;
	width: auto;
}

/*---------------------
  Latest Blog
-----------------------*/

.latest {
	padding-bottom: 70px;
	padding-top: 100px;
}

.latest .section-title {
	margin-bottom: 45px;
}

.latest__blog__item {
	margin-bottom: 30px;
	transition: transform 0.3s;
}

.latest__blog__item:hover {
	transform: translateY(-5px);
}

.latest__blog__item__pic {
	height: 220px;
	position: relative;
	border-radius: 2px;
}

.latest__blog__item__pic ul {
	background: rgba(0, 0, 0, 0.5);
	padding: 8px 20px 10px;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	border-radius: 0 0 2px 2px;
}

.latest__blog__item__pic ul li {
	list-style: none;
	display: inline-block;
	font-size: 13px;
	color: #ffffff;
	margin-right: 22px;
	position: relative;
}

.latest__blog__item__pic ul li:after {
	position: absolute;
	right: -14px;
	top: 1px;
	height: 17px;
	width: 1px;
	background: #ffffff;
	content: "";
}

.latest__blog__item__pic ul li:last-child {
	margin-right: 0;
}

.latest__blog__item__pic ul li:last-child:after {
	display: none;
}

.latest__blog__item__text {
	padding-top: 25px;
}

.latest__blog__item__text h5 {
	font-size: 18px;
	color: #323232;
	font-weight: 700;
	line-height: 28px;
	margin-bottom: 14px;
	min-height: 56px;
}

.latest__blog__item__text p {
	color: #8d8d8d;
	margin-bottom: 20px;
	line-height: 1.6;
}

.latest__blog__item__text a {
	font-size: 15px;
	color: #8d8d8d;
	font-weight: 700;
	display: inline-block;
	transition: color 0.3s;
}

.latest__blog__item__text a:hover {
	color: #db2d2e;
}

.latest__blog__item__text a i {
	color: #db2d2e;
	margin-left: 6px;
	transition: transform 0.3s;
}

.latest__blog__item__text a:hover i {
	transform: translateX(5px);
}

/*---------------------
  Footer
-----------------------*/

.footer {
	padding-top: 60px;
	padding-bottom: 30px;
}

.footer__contact {
	padding-bottom: 60px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	margin-bottom: 65px;
}

.footer__contact__title h2 {
	font-size: 40px;
	color: #ffffff;
	font-weight: 700;
}

.footer__contact__option {
	text-align: right;
}

.footer__contact__option .option__item {
	font-size: 15px;
	color: #ffffff;
	background: #db2d2e;
	display: inline-block;
	font-weight: 700;
	padding: 14px 18px 14px 24px;
	margin-right: 16px;
	border-radius: 2px;
	transition: background 0.3s;
}

.footer__contact__option .option__item:hover {
	background: #c52728;
}

.footer__contact__option .option__item:last-child {
	margin-right: 0;
}

.footer__contact__option .option__item.email {
	color: #323232;
	background: #ffffff;
}

.footer__contact__option .option__item.email:hover {
	background: #f0f0f0;
}

.footer__contact__option .option__item.email i {
	color: #db2d2e;
}

.footer__contact__option .option__item i {
	margin-right: 5px;
}

.footer__about {
	margin-bottom: 30px;
}

.footer__about p {
	color: #8d8d8d;
	margin-bottom: 25px;
	line-height: 1.8;
}

.footer__copyright__text {
	margin-bottom: 0 !important;
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__copyright__text p {
	color: #8d8d8d;
	font-size: 14px;
}

/*--------------------------------- Responsive Media Quaries -----------------------------*/

@media only screen and (min-width: 1200px) {
	.container {
		max-width: 1170px;
	}
}

/* Medium Device = 1200px */

@media only screen and (min-width: 992px) and (max-width: 1199px) {
	.header__menu ul li {
		margin-right: 30px;
	}
	
	.chooseus__video {
		height: 450px;
	}
	
	.services__item h5 {
		font-size: 16px;
		min-height: 70px;
	}
}

/* Tablet Device = 768px */

@media only screen and (min-width: 768px) and (max-width: 991px) {
	.hero__text {
		padding-top: 50px;
		margin-bottom: 40px;
	}
	
	.hero__text__title h2 {
		font-size: 40px;
	}
	
	.hero__text__title span {
		font-size: 18px;
	}
	
	.feature__text {
		margin-bottom: 40px;
	}
	
	.chooseus {
		padding-bottom: 40px;
	}
	
	.chooseus__video {
		height: 400px;
	}
	
	.chooseus__text {
		margin-bottom: 40px;
	}
	
	.services__item {
		padding: 25px 15px;
	}
	
	.services__item h5 {
		min-height: auto;
	}
	
	.canvas__open {
		display: block;
		font-size: 22px;
		color: #323232;
		height: 35px;
		width: 35px;
		line-height: 35px;
		text-align: center;
		border: 1px solid #323232;
		border-radius: 2px;
		cursor: pointer;
		position: absolute;
		right: 15px;
		top: 35px;
	}
	
	.header__nav {
		display: none;
	}
	
	.offcanvas-menu-wrapper {
		display: block;
	}
}

/* Wide Mobile = 480px */

@media only screen and (max-width: 767px) {
	.hero {
		padding: 80px 0;
	}
	
	.hero__text {
		padding-top: 30px;
		margin-bottom: 40px;
		text-align: center;
	}
	
	.hero__text__title h2 {
		font-size: 32px;
	}
	
	.hero__text__title span {
		font-size: 16px;
	}
	
	.section-title h2 {
		font-size: 28px;
	}
	
	.section-title {
		margin-bottom: 40px;
	}
	
	.spad {
		padding-top: 60px;
		padding-bottom: 60px;
	}
	
	.chooseus__video {
		height: 300px;
	}
	
	.footer__contact__option {
		text-align: left;
		margin-top: 20px;
	}
	
	.footer__contact__option .option__item {
		margin-bottom: 10px;
		display: block;
		width: 100%;
	}
	
	.footer__contact__title {
		margin-bottom: 20px;
	}
	
	.car {
		padding-bottom: 60px;
	}
	
	.latest {
		padding-top: 60px;
	}
	
	.latest__blog__item__text h5 {
		min-height: auto;
	}
	
	.header__top__widget li {
		display: block;
		margin-right: 0;
		margin-bottom: 5px;
	}
	
	.header__top__right {
		text-align: left;
	}
	
	.canvas__open {
		display: block;
		font-size: 22px;
		color: #323232;
		height: 35px;
		width: 35px;
		line-height: 35px;
		text-align: center;
		border: 1px solid #323232;
		border-radius: 2px;
		cursor: pointer;
		position: absolute;
		right: 15px;
		top: 25px;
	}
	
	.header__logo {
		padding: 25px 0;
	}
	
	.header__nav {
		display: none;
	}
	
	.offcanvas-menu-wrapper {
		display: block;
	}
}

/* Small Device = 320px */

@media only screen and (max-width: 479px) {
	.hero__text__title h2 {
		font-size: 24px;
	}
	
	.hero__text__title span {
		font-size: 14px;
	}
	
	.section-title h2 {
		font-size: 24px;
	}
	
	.primary-btn {
		padding: 10px 20px;
		font-size: 14px;
		display: block;
		text-align: center;
		margin: 10px 0;
	}
	
	.feature__item {
		margin-bottom: 25px;
	}
	
	.chooseus__video {
		height: 250px;
	}
	
	.services__item {
		margin-bottom: 20px;
	}
	
	.latest__blog__item__pic {
		height: 180px;
	}
	
	.latest__blog__item__text h5 {
		font-size: 16px;
	}
}