body,
header,
.main-content,
footer {
  width: 100%;
  position: relative;
  background-color: #fff;
  font: normal normal 14px "Asimov";
  display: block;
}

html {
  font-size: 62.5%;
}

body {
  font-family: "BMWTypeNextTT";
  font-size: 1.4rem;
}

ul {
  list-style-type: none;
}

.txt ul {
  margin-left: 20px;
  list-style-type: disc;
}

h2 {
  text-align: center;
  font-size: 30px;
  font-weight: normal;
  color: #1d232b;
}

.main-content {
  padding-bottom: 100px;
  background: #fff;
}

.container {
  position: relative;
}

.menu-icon,
.close {
  display: none;
}

/* Меню */
.nav-menu {
  position: relative;
}

.nav-menu li,
.nav-models li {
  display: inline-block;
  line-height: normal;
  font-size: 14px;
}

.nav-menu li {
  margin-left: 30px;
  margin-top: 18px;
}

/*Авто в наличие*/
#add_link li {
  margin-left: 25px;
}

#add_link .have {
  display: inline-block;
}

.nav-menu .have {
  display: none;
}

.have a {
  color: #1d6d9e !important;
}

#add_link li:first-child,
.nav-menu li:first-child,
.nav-models li:first-child {
  margin-left: 0;
  padding-left: 0;
}

.nav-menu a,
.nav-models a,
.lineup_item a {
  color: #fff;
  display: block;
}

.lineup_item a:hover,
.nav-menu li a:hover,
.nav-models a:hover,
.nav-models li a.current_page {
  color: #9e9e9e;
  transition: color 0.1s linear;
}

.logo {
  position: absolute;
  top: 10px;
  right: 0px;
  z-index: 999;
}

/* Модельный ряд. Навигация*/
.open-model,
.menu-arrow {
  display: none;
}

/* показать модельный ряд в меню */

.open-models {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  box-shadow: 0 10px 20px -10px #666;
  z-index: 999;
  background-color: #fff;
  display: none;
}

.open-models .item {
  border: 1px solid #efefef;
  border-top: none;
}

.open-models .item:after {
  display: none;
}

/**/

.nav-models ul {
  display: inline-block;
}

.nav-models li {
  border-right: 1px solid #ccc;
}

.nav-models li a {
  padding: 17px 22px;
}

.nav-models li:first-child a {
  padding-left: 0;
}

/* MINI/MOTO/ROLLS */
header .lineup {
  margin-left: -5px;
}

.lineup {
  display: inline-block;
  line-height: 0;
  font-size: 0;
  vertical-align: top;
}

.lineup_item {
  display: inline-block;
  line-height: normal;
  font-size: 14px;
  text-align: center;
  border-right: 1px solid #ccc;
  height: 50px;
  width: 88px;
}

.lineup_item a {
  padding-top: 30px;
  padding-bottom: 7px;
  font-size: 12px;
}

.lineup_item.bmw {
  background: url(../../img/moto/ico_bmw.png) no-repeat center 28%;
}

.lineup_item.mini {
  background: url(../../img/moto/ico_mini.png) no-repeat center 28%;
}

.lineup_item.moto {
  background: url(../../img/moto/ico_moto.png) no-repeat center 28%;
}

.lineup_item.rols {
  background: url(../../img/moto/roll_royce.png) no-repeat center 29%;
}

/* Кнопка */
.btn {
  position: relative;
  width: 150px;
  background-color: rgba(29, 109, 158, 0.95);
  display: block;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: #1c69d4;
  border: 1px solid #1c69d4;
}

.btn a {
  padding: 15px 20px;
  display: block;
  color: white;
  text-align: center;
}

/* Слайдер */
.header-slider {
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  /*height: 550px;*/
  position: relative;
}

.swiper-slide {
  overflow: hidden;
}

.header-slider img {
  display: block;
  /*max-width:none;*/
  min-width: 100%;
  /*height: 100%;*/
  margin: 0 auto;
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px !important;
  height: 40px !important;
  background-color: rgba(29, 109, 158, 0.75);
  background-image: none !important;
  bottom: 50px;
  top: auto !important;
}

.swiper-button-prev {
  right: 50px !important;
  left: auto !important;
}

.swiper-button-prev:before {
  content: "";
  display: block;
  position: absolute;
  top: 35%;
  left: 40%;
  right: auto;
  border-top: 6px solid transparent;
  border-right: 8px solid white;
  border-bottom: 6px solid transparent;
}

.swiper-button-next:before {
  content: "";
  display: block;
  position: absolute;
  top: 35%;
  right: 35%;
  left: auto;
  border-top: 6px solid transparent;
  border-left: 8px solid white;
  border-bottom: 6px solid transparent;
}

.swiper-pagination {
  right: 105px !important;
  bottom: 61px !important;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  margin-left: 15px;
  background-color: transparent !important;
  border: 2px solid #fff;
  opacity: 1 !important;
}

.swiper-pagination-bullet-active {
  background-color: rgba(29, 109, 158, 0.8) !important;
  border: 0;
  width: 14px !important;
  height: 14px !important;
  vertical-align: -4%;
}

.swiper-scrollbar {
  height: 7px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border-radius: 0 !important;
  bottom: 0px !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1;
}

.swiper-scrollbar-drag {
  background-color: rgba(29, 109, 158, 0.75) !important;
  border-radius: 0 !important;
}

/* Слайдер текст*/
.text-slider {
  position: absolute;
  color: white;
  left: 0px;
  right: 0;
  width: 1200px;
  margin: 0 auto;
  text-shadow: 0 0 5px #333;
  top: 20%;
}

.text-slider .title {
  text-transform: uppercase;
  font-size: 40px;
  font-weight: normal;
  line-height: 1;
  margin-top: 50px;
  text-align: left;
  color: #fff;
}

.text-slider p {
  font-size: 20px;
  margin: 25px 0 20px;
}

/*===============================МОДЕЛЬНЫЙ РЯД=======================*/
.car-content {
  padding-top: 70px;
}

/* Пагинация. Модельный ряд*/
.pagination {
  /*width: 410px;*/
  /*height: 40px;*/
  text-align: center;
  margin: 20px auto 30px;
  overflow: hidden;
}

ul.tabs {
  line-height: normal;
  font-size: 14px;
  list-style: none;
}

ul.tabs li {
  display: inline-block;
  margin-left: -4px;
  color: #222;
  cursor: pointer;
  border-top: 1px solid #eee !important;
  border-bottom: 1px solid #eee !important;
  border-right: 1px solid #eee !important;
  padding: 10px 20px;
}

ul.tabs li:first-child {
  border-left: 1px solid #eee !important;
}

ul.tabs li.current {
  background: #ededed;
  color: #222;
}

/* Слайдер модельный ряд */
.lineup-slider {
  width: 100%;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  display: none;
}

.lineup-slider.current {
  display: block;
}

.lineup-slider .swiper-button-prev,
.lineup-slider .swiper-button-next {
  background-color: #f2f2f2;
  bottom: auto;
  top: 0% !important;
  z-index: 1 !important;
}

.lineup-slider .swiper-button-prev {
  right: auto;
  left: 0 !important;
}

.lineup-slider .swiper-button-next {
  left: auto;
  right: 0 !important;
}

.lineup-slider .swiper-button-prev:before {
  border-right: 8px solid #000;
}

.lineup-slider .swiper-button-next:before {
  border-left: 8px solid #000;
}

.lineup-slider .container {
  width: 900px;
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 155px;
}

/* Слайд. Авто*/
.lineup-slider .swiper-slide,
.car-item {
  width: 770px !important;
  margin: 0 auto;
  color: #1d232b;
  height: 360px;
  position: relative;
  opacity: 0.5;
}

.lineup-slider .swiper-slide-active {
  opacity: 1;
}

.lineup-slider .swiper-slide-active .item-block {
  display: block;
}

.lineup-slider .swiper-slide-prev .item-block,
.lineup-slider .swiper-slide-next .item-block {
  display: none;
}

/* Карточка авто. Инфо */
.car-item span {
  position: relative;
  z-index: 2;
  display: inline-block;
  vertical-align: top;
  font-size: 25px;
}

.item-block {
  padding: 30px 80px 0;
  display: none;
}

.right-block {
  float: right;
  position: relative;
  z-index: 10;
}

.right-block p {
  font-size: 22px;
}

.right-block .ico {
  width: 85px;
  height: 85px;
  position: relative;
  z-index: -1;
  background-color: #ffcb2c;
  border-radius: 100%;
  margin-top: 20px;
  overflow: hidden;
  float: right;
}

.right-block .ico-text {
  font: normal 12px "Arial", sans-serif;
  position: absolute;
  top: 14%;
  left: 20%;
}

.right-block .ico-text strong {
  font-size: 16px;
  margin-left: -2px;
}

.big-num {
  position: absolute;
  left: 0;
  top: 0;
  width: 250px;
  z-index: -1;
  font-size: 490px;
  font-family: Asimov;
  color: #efefef;
  text-align: center;
  width: 100%;
  line-height: 0.75;
}

.car-item .btn {
  position: absolute;
  left: 50%;
  margin-left: -75px;
  bottom: 0;
  z-index: 2;
}

/* Авто картинка */
.model-car {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  margin: 0 auto;
  display: block;
  width: 443px;
  padding: 0;
}

.model-car img {
  width: 443px;
}

/*===============================КОНЕЦ=======================*/

/*===============================УСЛУГИ======================*/
.services {
  margin-top: 100px;
}

.services h2,
.last_news h2 {
  margin-bottom: 40px;
}

/*
.service_item {
    position: relative;
}
.service_item img {
	width: 100%;
}
.service_item p{
    font: normal 14px 'Arial', sans-serif;
}
.service_item:nth-child(2) .md-3{
    border-top: 1px solid #efefef;
    border-right: 1px solid #efefef;
}
.service_item:last-child .md-3{
    border-left: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
}

.service_item .md-6:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(29,109,158,.5);
    z-index: 0;
}
*/
.service_item {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.service_item .simple {
  border: 1px solid #e6e6e6;
  padding: 15px;
  margin-right: 20px;
  width: 25%;
  text-align: center;
}

.service_item .simple a {
  display: block;
  color: #262626;
}

.service_item .simple img {
  max-width: 100%;
  display: block;
  margin-bottom: 15px;
  margin: 0 auto;
}

.service_item .simple h3 {
  font-size: 28px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1;
}

.service_item .simple p {
  font-size: 14px;
  font-family: Arial;
}

.service_item .simple:last-child {
  margin-right: 0;
}

.img-caption {
  padding: 25px;
  position: absolute;
  width: 100%;
  text-align: center;
}

.img-caption h3,
.img-caption p {
  color: white;
  font-weight: normal;
}

.img-caption h3 {
  font-size: 35px;
  text-transform: uppercase;
}

.img-caption p {
  margin-top: 10px;
}

.service_item .md-3 {
  padding: 50px 35px;
  height: 311px;
  text-align: center;
}

.service_item .md-3 a {
  color: #1d6d9e;
}

.service_ico {
  width: 100px;
  height: 101px;
  margin: 0 auto;
}

.s_ico_1 {
  background: url(../../img/moto/services/ico_1.png) no-repeat center;
}

.s_ico_2 {
  background: url(../../img/moto/services/ico_2.png) no-repeat center;
}

.s_ico_3 {
  background: url(../../img/moto/services/ico_3.png) no-repeat center;
}

.s_ico_4 {
  background: url(../../img/moto/services/ico_4.png) no-repeat center;
}

.service_text {
  font-size: 20px;
  font-weight: normal;
  margin: 20px auto;
}

/*===============================КОНЕЦ=======================*/

/*==============================НОВОСТИ======================*/
.last_news {
  margin-top: 100px;
}

.last_news .btn {
  width: 200px;
  margin: 40px auto 0;
}

.news_item {
  display: flex;
  justify-content: space-between;
}

.news_item .md-4 {
  max-width: 370px;
}

.news_item .md-4:nth-child(2),
.news_item .md-4:nth-child(3) {
  margin-left: 40px;
}

.news_item h3 {
  text-align: left;
  font-size: 20px;
  font-weight: normal;
  color: #1d232b;
  margin: 20px 0 10px;
}

.news_item img {
  width: 100%;
  display: block;
}

.news_item p {
  font: normal 14px "Arial", sans-serif;
  color: #a6a6a6;
  margin-top: 20px;
}

.news_date {
  font: bold 14px "Arial", sans-serif;
  color: #1d6d9e;
}

/*===============================КОНЕЦ=======================*/

/*===============================ФУТЕР=======================*/
footer {
  background: #e6e6e6;
  padding: 40px 0;
  font-family: Arial;
  color: #8e8e8e;
  clear: both;
}

footer .nav-menu {
  background-color: #e8e8e8;
}

footer .nav-menu a {
  color: #8e8e8e;
}

.flex {
  display: flex;
  justify-content: space-between;
}

.width50 {
  width: 50%;
}

footer h5 {
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 20px;
  white-space: nowrap;
  color: #333;
}

footer .col {
  margin-right: 50px;
}

footer .col:last-child {
  margin-right: 0px;
  text-align: right;
}

footer .col:last-child img {
  margin: 0 0 15px auto;
  height: 32px;
}

footer .col div {
  margin-bottom: 8px;
}

footer a {
  color: #8e8e8e;
  white-space: nowrap;
}

footer a:hover {
  color: rgba(29, 109, 158, 0.95);
}

footer .col .copyright {
  margin-bottom: 35px;
}

footer .col .copyright + p {
  font-size: 12px;
}

#footer_block .nav-menu li {
  margin-left: 12px;
}

#footer_block .nav-menu li:first-child {
  margin-left: 0;
}

#footer_block .lineup_item {
  display: inline-block;
  line-height: normal;
  font-size: 14px;
  text-align: center;
  border-right: 1px solid #ccc;
  height: 50px;
  width: 75px;
}

footer .nav-menu li {
  margin-left: 1rem;
}

footer .lineup_item:nth-child(1) {
  border-left: 1px solid #ccc;
}

footer .text {
  margin: 30px 0 10px;
  font-size: 11px;
}

.footer {
  background-color: #f7f7f7;
  height: 135px;
  font-family: "Arial", sans-serif;
  color: #1d232b;
  padding-top: 30px;
}

/*=============================СТРАНИЦА. О НАС=========================*/

.bg-header {
  background: url(../../img/moto/bg/about.png) no-repeat center;
  background-size: cover;
  height: 300px;
  position: relative;
  margin-bottom: 40px;
}

.bg-header:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.1);
}

h1 {
  color: white;
  font-size: 40px;
  position: absolute;
  bottom: 40px;
  top: auto;
  left: 0;
  right: 0;
  margin: auto;
  width: auto;
  text-align: center;
  font-weight: normal;
}

/* Пагинация */
#about ul.tabs {
  display: grid;
  grid-template-columns: repeat(3, 170px);
  grid-template-rows: auto;
  width: 510px;
  height: 50px;
  margin: 0 auto;
  text-align: center;
  margin: 40px auto 50px;
  overflow: hidden;
  line-height: normal;
  font-size: 14px;
  list-style: none;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

#about ul.tabs li {
  color: #1d6d9e;
  cursor: pointer;
  border-top: 1px solid #eee !important;
  border-bottom: 1px solid #eee !important;
  border-right: 1px solid #eee !important;
  padding: 15px 0;
}

#about ul.tabs li:first-child {
  border-left: 1px solid #eee !important;
}

.about-content {
  width: 850px;
  margin: 0 auto;
  position: relative;
  display: none;
}

#about .about-content.current {
  display: block;
}

.header-text,
.h3,
h3 {
  font: normal 20px "Asimov";
  text-align: center;
  margin: 40px auto 30px;
}

.h3 {
  margin-top: 0;
}

#about .header-text:first-child {
  margin: 0px auto 30px;
}

.txt {
  font-family: Arial, sans-serif;
  font-size: 14px;
  margin-top: 20px;
  color: #2b2a28;
  line-height: 1.6;
}

.txt p {
  margin-bottom: 20px;
}

.about-content span {
  font: bold 13px "Arial", sans-serif;
  margin-right: 15px;
  color: #1d6d9e;
}

.about-content .br {
  margin-bottom: 15px;
  display: block;
}

/*=============================КОНЕЦ=========================*/

/*=============================СТРАНИЦА.СЕРВИС=========================*/
#service .main-content {
  margin-bottom: 0 !important;
}

#service .bg-header {
  background: url(../../img/moto/bg/service.png) no-repeat center;
  background-size: cover;
}

#service .bg-header:before {
  background-color: rgba(0, 0, 0, 0);
}

.service-content,
.content,
._form {
  width: 850px;
  margin: 0 auto;
}

.form-container {
  position: relative;
  margin-top: 50px;
  padding-bottom: 60px;
  height: auto;
  background-image: -moz-linear-gradient(
    135deg,
    rgb(29, 109, 158) 0%,
    rgb(0, 132, 192) 100%
  );
  background-image: -webkit-linear-gradient(
    135deg,
    rgb(29, 109, 158) 0%,
    rgb(0, 132, 192) 100%
  );
  background-image: -ms-linear-gradient(
    135deg,
    rgb(29, 109, 158) 0%,
    rgb(0, 132, 192) 100%
  );
}

.form-container p {
  color: white;
  font-size: 20px;
  text-align: center;
  padding-top: 30px;
  margin-bottom: 25px;
}

.form-container p {
  color: #fff;
  font-size: 20px;
  text-align: center;
  padding-top: 30px;
  margin-bottom: 25px;
  overflow: hidden;
  white-space: nowrap;
}

.form-container p span {
  opacity: 0.5;
  cursor: pointer;
  transition: 0.35s;
}

.form-container p span.active {
  opacity: 1;
}

.form-container p span:nth-child(2) {
  border-left: 1px solid #fff;
  margin-left: 20px;
  padding-left: 20px;
}

._form {
  position: relative;
}

._form .form_row {
  margin-bottom: 20px;
}

._form .form_row.error input,
._form .form_row.error textarea {
  border-color: red;
}

._form .md-6 input {
  width: 96%;
  margin: 0;
}

._form .md-6.fright input {
  float: right;
}

._form .md-6 input,
select,
textarea {
  border: 1px solid rgba(255, 255, 255, 0.75);
  outline: none;
  display: block;
  background-color: rgba(22, 142, 195, 0.5);
  color: #fff;
  padding: 11px 20px;
}

select {
  height: 40px;
  width: 100%;
  padding: 0 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url(../../img/moto/triangle.png);
  background-repeat: no-repeat;
  background-position: 95%;
  cursor: pointer;
}

select option {
  background-color: rgba(22, 142, 195, 1);
}

textarea {
  resize: none;
  width: 100%;
  padding: 10px 15px;
}

textarea::-webkit-scrollbar {
  width: 0px;
}

._form textarea {
  height: 100px;
}

._form .btn {
  background-color: #d4e5ef;
  color: #1d6d9e;
  transition: all 0.2s ease;
  margin: 20px auto 0;
  width: 200px;
  padding: 13px 20px;
}

.form-container .message {
  color: #d4e5ef;
  margin-bottom: 30px;
  text-align: center;
  font-size: 22px;
  background-image: -webkit-linear-gradient(
    135deg,
    rgb(29, 109, 158) 0%,
    rgb(0, 132, 192) 100%
  );
  position: absolute;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  display: none;
  flex-direction: column;
  justify-content: center;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99;
}

.form-container .message.shown {
  display: flex;
}

/*Стилизация placeholder */
#accessories ::-webkit-input-placeholder,
#service ::-webkit-input-placeholder {
  color: #fff;
  font-size: 14px;
}

#accessories ::-moz-placeholder,
#service ::-moz-placeholder {
  color: #fff;
  font-size: 14px;
}

/* Firefox 19+ */
#accessories :-moz-placeholder,
#service :-moz-placeholder {
  color: #fff;
  font-size: 14px;
}

/* Firefox 18- */
#accessories :-ms-input-placeholder,
#service :-ms-input-placeholder {
  color: #fff;
  font-size: 14px;
}

input::-webkit-input-placeholder {
  color: #fff !important;
}

input:-moz-placeholder {
  color: #fff !important;
}

/* FF 4-18 */
input::-moz-placeholder {
  color: #fff !important;
}

/* FF 19+ */
input:-ms-input-placeholder {
  color: #fff !important;
}

input:focus::-webkit-input-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

input:focus:-moz-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

/* FF 4-18 */
input:focus::-moz-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

/* FF 19+ */
input:focus:-ms-input-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

/* IE 10+ */

textarea::-webkit-input-placeholder {
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding-top: 3.7%;
}

textarea::-moz-placeholder {
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding-top: 3.7%;
}

/* Firefox 19+ */
textarea:-moz-placeholder {
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding-top: 3.7%;
}

/* Firefox 18- */
textarea:-ms-input-placeholder {
  color: #fff;
  font-size: 14px;
  text-align: center;
  padding-top: 3.7%;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

textarea:focus:-moz-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

/* FF 4-18 */
textarea:focus::-moz-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

/* FF 19+ */
textarea:focus:-ms-input-placeholder {
  color: transparent !important;
  transition: all 0.2s ease;
}

/* IE 10+ */
/*=============================КОНЕЦ=========================*/

/*=============================СТРАНИЦА.АКСЕССУАРЫ=========================*/
#accessories .bg-header {
  background: url(../../img/moto/bg/accessories.png) no-repeat center;
  background-size: cover;
}

#accessories .bg-header:before {
  background-color: rgba(0, 0, 0, 0);
}

#accessories .bg-header:after {
  content: "Аксессуары";
  width: 220px;
}

#accessories .content {
  margin-top: 40px;
}

#accessories .content .txt {
  margin-top: 30px;
}

#accessories .header-text {
  margin-bottom: 30px;
}

.catalog {
  display: grid;
  width: 1100px;
  grid-template-columns: repeat(5, 220px);
  grid-template-rows: auto;
  padding-bottom: 30px;
}

.item-catalog {
  border: 1px solid #efefef !important;
  border-left: 0;
  padding: 20px;
  text-align: center;
  color: #1d232b;
}

.item-catalog:hover {
  background-color: #fff;
  transition: all 0.3s;
}

.item-catalog p {
  margin-top: 10px;
  padding: 0 30px;
}

/*=============================КОНЕЦ=========================*/

/*=============================TRADE-IN=========================*/
#trade-in .bg-header {
  background: url(../../img/moto/bg/trade-in.png) no-repeat center;
  background-size: cover;
}

#trade-in .bg-header:before {
  background-color: rgba(0, 0, 0, 0.25);
}

#trade-in .bg-header:after {
  content: "BMW с пробегом";
  width: 320px;
}

#trade-in .content {
  margin: 40px auto;
}

#trade-in .content .txt strong {
  color: #1d232b;
}

/* Trade-in пагинация / фильтр*/
.categories-grid {
  margin: 0 auto 50px;
}

.categories ul {
  line-height: normal;
  display: inline-grid;
  grid-template-columns: repeat(4, 170px);
  grid-template-rows: auto;
}

.categories ul li {
  float: left;
  border: 1px solid #efefef;
  border-right: 0;
  height: 50px;
}

.categories ul li:last-child {
  border-right: 1px solid #efefef;
}

.categories ul li a {
  display: block;
  color: #1d6d9e;
  padding: 15px 0;
  font-size: 15px;
}

.categories ul li a:hover {
  color: #a6a6a6;
}

.categories ul li a.active {
  margin-left: 0;
  color: #1d232b;
  margin: 0;
}

.item_filter {
  padding-left: 0;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

.trade-in-container {
  position: relative;
  padding: 0px !important;
}

.padding {
  border: 1px solid #efefef;
  padding: 20px 0;
}

.trade-in-item {
  position: relative;
  display: block;
  border: 1px solid transparent;
  /*    padding: 20px;*/
  text-align: center;
  height: 300px;
}

.trade-in-item:after {
  content: "";
  position: absolute;
  display: block;
  border: 1px solid #efefef;
  text-align: center;
  height: 100%;
  z-index: 0;
  width: 100%;
  padding: 20px;
  top: -20px;
}

.trade-in-item p,
.car-price,
.car-city {
  font-family: "Arial", sans-serif;
}

.car-name {
  font-size: 16px;
  color: #1d232b;
  margin: 15px auto 10px;
}

.car-price {
  color: #1d232b;
  margin-bottom: 10px;
  font-weight: 600;
}

.trade-in-item p,
.car-city {
  color: #9e9e9e;
}

.car-city {
  margin: 10px auto 15px;
}

.trade-in-item img {
  margin: 0 auto;
  z-index: 2;
  position: relative;
}

.no-padding [class^="md-"] {
  padding-left: 0;
  padding-right: 0;
}

.no-padding [class^="sm-"] {
  padding-left: 0;
  padding-right: 0;
}

/*==============================================================================*/

/*=================================НОВОСТИ СТРАНИЦА=============================*/
#news_block .bg-header {
  background: url(../../img/moto/bg/news.png) no-repeat center;
  background-size: cover;
  position: relative;
}

#news_block .bg-header .container {
  height: 100%;
}

#news_block .follow {
  z-index: 1;
  color: #fff;
  z-index: 1;
  display: block;
  position: absolute;
  bottom: 40px;
  right: 0;
  width: auto;
}

#news_block .bg-header h1 {
  text-align: left !important;
  width: 1100px;
}

#follow_news {
  display: flex;
  flex-wrap: wrap;
  width: 360px;
  justify-content: space-between;
}

#follow_news label {
  outline: none;
  width: 100%;
  font-family: Arial;
  font-size: 14px;
  display: block;
  margin-bottom: 10px;
}

#follow_news input:focus {
  outline: none;
}

#follow_news input {
  margin-right: 15px;
  background: none;
  border: 1px solid #fff;
  font-family: Arial;
  font-size: 14px;
  width: calc(100% - 165px);
  color: #fff;
  padding: 10px;
}

#follow_news ::placeholder {
  color: #fff;
  font-family: Arial;
}

.news_single {
  position: relative;
  border: 1px solid #efefef;
}

.news_single h3 {
  font-size: 25px;
  font-weight: normal;
  text-align: left;
}

.news_single .md-12 {
  padding: 40px;
}

.news_single .news_date {
  margin: 25px 0;
}

.news_single p {
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: normal;
  color: #a6a6a6;
  line-height: 1.4;
}

.news_single .btn {
  margin: 30px 0 0;
}

.news_single img {
  width: 100%;
}

#news_block .news_item {
  margin-top: 40px;
}

.last_news .pagination {
  display: grid;
  grid-template-columns: repeat(7, 40px);
  grid-template-columns: repeat(7, 40px);
  grid-column-gap: auto;
  width: 290px;
  margin: 0 auto;
  margin-top: 50px;
}

.last_news .pagination a {
  display: block;
  padding-top: 10px;
  border: 1px solid #efefef;
  color: #1d232b;
}

.last_news .pagination a:hover,
.last_news .pagination a.active {
  background-color: #efefef;
}

/*==============================================================================*/

/*====================================НОВОСТЬ===================================*/
.header_news {
  display: block;
  text-align: center;
  margin: 0px auto 30px;
  padding-top: 40px;
}

.header_news .news_date {
  display: inline-block;
  margin-right: 25px;
  color: #a6a6a6;
}

.header_news span,
.pager {
  font: 14px Arial;
  font-weight: bold;
  color: #1d6d9e;
}

.pager:hover {
  color: #4a8ab1;
}

.single_news {
  margin: 150px auto 0;
  display: block;
  width: 850px;
  position: relative;
}

.single_news .news_item .md-4 {
  max-width: 258px;
}

.single_news .news_item .md-4:nth-child(2) {
  margin-left: 35px;
}

.single_news h1 {
  font-size: 40px;
  text-align: center;
  padding: 0 10%;
  margin: 0 auto;
  font-weight: normal;
  color: #1d232b;
  margin-bottom: 34px;
  position: static;
}

.single_news:first-child .text-center {
  font: 16px Arial;
  font-weight: normal;
  color: #a6a6a6;
}

.single_news img {
  margin: 30px auto;
}

.social-color {
  display: block;
  margin: 60px auto 76px;
  padding: 15px 20px;
  width: 205px;
}

.social-color p {
  font: 14px Arial;
  text-align: center;
  color: #a6a6a6;
}

.social-color a {
  background-color: transparent;
  box-shadow: none;
  width: 42px;
  height: 45px;
  padding: 0;
  margin: 12px 5px 0;
  color: #fff;
  display: inline-block;
}

.social-color i {
  font-size: 24px;
}

.social-color .fa-facebook,
.social-color .fa-google-plus,
.social-color .fa-twitter,
.social-color .fa-whatsapp,
.social-color .fa-vk {
  width: 45px;
  height: 45px;
  border-radius: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.social-color .fa-facebook {
  background-color: #48649f;
}

.social-color .fa-twitter {
  background-color: #55acee;
}

.social-color .fa-vk {
  background: #4c75a3;
}

.social-color .fa-whatsapp {
  background: #2cc538;
}

.fa-google-plus:before {
  content: "" !important;
}

#single-page .text-center {
  font-size: 20px;
}

/*==============================================================================*/

/*============================ДИЛЕРСКАЯ СЕТЬ====================================*/
#dealers {
  overflow: hidden;
}

/* Пагинация */
#dealers ul.tabs {
  display: block;
  height: 50px;
  margin: 0 auto;
  text-align: center;
  margin: 40px auto 50px;
  line-height: 50px;
  font-size: 14px;
  list-style: none;
}

#dealers ul.tabs li {
  color: #1d6d9e;
  cursor: pointer;
  border-top: 1px solid #eee !important;
  border-bottom: 1px solid #eee !important;
  border-right: 1px solid #eee !important;
  padding: 15px 35px;
  position: relative;
  height: 50px;
  margin-left: -4px;
  display: inline;
}

#dealers ul.tabs li a {
  color: #1d6d9e;
}

#dealers ul.tabs li:first-child {
  border-left: 1px solid #eee !important;
}

#dealers ul.tabs li.current,
#about ul.tabs li.current,
#car-info ul.tabs li.current {
  color: #222;
  background-color: transparent;
}

/* caret */
#car-info.main-content {
  padding-bottom: 0;
}

#car-info .tabs a,
#dealers .tabs a {
  padding-right: 10px !important;
}

#car-info .tabs a:after,
#dealers .tabs a:after {
  content: "";
  margin-top: 23px;
  margin-left: 10px;
  position: absolute;
  border: 3px solid transparent;
  border-top: 6px solid #1d6d9e;
}

#dealers .content {
  width: 1100px;
  margin: 0 auto;
  position: relative;
  display: none;
}

#dealers .about-content {
  max-width: 850px;
}

#dealers .content.current {
  display: block;
}

.map .md-6:last-child {
  padding-left: 40px;
}

.map .header-text {
  text-align: left;
  margin: 20px 0;
}

#dealers .txt {
  margin: 20px 0;
}

.time_schedule a,
#dealers .txt a {
  color: #0280ba;
}

.time_schedule {
  margin: 20px 0;
  font-family: "Arial", sans-serif;
  font-size: 14px;
}

.time_schedule p:first-child {
  color: #a6a6a6;
}

.line {
  width: 200%;
  height: 1px;
  background-color: #efefef;
  margin-top: 30px;
  margin-bottom: 40px;
  margin-left: -50%;
}

#map_1,
#map_2,
#map_3,
#map_4,
#map_5,
#map_6 {
  width: 100%;
  height: 380px;
}

/*==============================================================================*/

/*========================СТРАНИЦА МОДЕЛЬНЫЙ РЯД================================*/
#models {
  overflow: hidden;
}

#models .h3 {
  text-align: left;
}

#models .bg-header {
  background: url(../../img/moto/bg/models.jpg) no-repeat center;
  background-size: cover;
  margin-bottom: 0;
}

#models .item {
  height: 260px;
}

#models .item:hover .model-name {
  text-decoration: underline;
}

#models .item-container {
  margin-bottom: 40px;
}

/* Фильтр контейнер */
.item-container {
  position: relative;
}

.item {
  height: 220px;
  position: relative;
  border: 1px solid transparent;
}

.item:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border: 1px solid #efefef;
}

.item img {
  position: absolute;
  top: 0px;
  left: 0px;
  display: block;
}

.item .model-name {
  font: 18px Asimov;
  color: #1d232b;
  position: absolute;
  bottom: 25px;
  right: 20px;
}

.item.is-filtered {
  border-style: dotted;
}

.isotope-item {
  z-index: 2;
}

.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

#models .model {
  margin: 30px auto;
}

#models label,
#models label p {
  color: #1d232b;
  font: 15px Asimov;
}

/* Стилизация checkbox */
.option {
  position: relative;
  display: inline-block;
  margin-left: 36px;
  margin-bottom: 10px;
  vertical-align: top;
}

.option:nth-child(5),
.option:nth-child(6),
.option:nth-child(7) {
  width: 125px;
}

.option:nth-child(7) {
  width: 120px;
}

.option:nth-child(7) p {
  width: 95px;
}

.option:nth-child(1) {
  margin-left: 0;
}

.option input[type="checkbox"] {
  display: none;
}

.option p {
  float: right;
  width: 100px;
  vertical-align: top;
  margin-top: 0px;
  cursor: pointer;
}

.option label {
  color: #666;
  cursor: pointer;
}

.option input[type="checkbox"] + label span {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #5b616a;
  margin: -3px 10px 0 0;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
}

/* Неактивный*/
.option input[type="checkbox"] + label span {
  background-color: transparent;
}

/* Активный */
.option input[type="checkbox"]:checked + label span {
  background-color: #fff;
  border: 2px solid #1d6d9e;
}

.option input[type="checkbox"]:checked + label span:before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: #1d6d9e;
  position: absolute;
  top: 3px;
  left: 3px;
}

#models .line {
  margin-top: 0;
  margin-bottom: 50px;
}

/*==============================================================================*/

/*===============================ИНФО О МАШИНЕ ================================*/
.header-slider .right-block {
  left: 0;
  right: auto;
  position: absolute;
  z-index: 1;
}

.header-slider .ico {
  margin-top: 10px;
}

.header-slider .ico-text {
  color: #1d232b;
  left: 18px;
}

p.get-offer {
  font-size: 20px;
}

p.forminfo {
  font-size: 14px;
}

#car-info ul.tabs {
  display: block;
  text-align: center;
  width: 850px;
  height: 50px;
  margin: 0 auto;
  margin: 40px auto 50px;
  line-height: 50px;
  font-size: 14px;
  list-style: none;
}

#car-info ul.tabs li {
  color: #1d6d9e;
  cursor: pointer;
  border-top: 1px solid #eee !important;
  border-bottom: 1px solid #eee !important;
  border-right: 1px solid #eee !important;
  padding: 0 35px;
  position: relative;
  display: inline-block;
  margin-left: -4px;
}

#car-info a {
  color: #fff;
}

#car-info ul.tabs li:first-child {
  border-left: 1px solid #eee !important;
}

#car-info .content {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: none;
}

#car-info .content.current {
  display: block;
}

#car-info .content.current {
  display: block;
}

#car-info .txt,
#car-info .txt p {
  font: 16px/1.8 Arial;
}

.tech-table {
  width: 100%;
  padding: 0;
  margin: 0 0 35px;
  background: none;
  border-collapse: collapse;
  color: #333;
  table-layout: fixed;
}

.overrides table.tech-table td {
  background: none;
  width: auto;
  padding: 10px;
  height: auto;
  color: #333;
  font-size: 12px;
  border: 1px solid #333;
  word-wrap: break-word;
  vertical-align: top;
}

.media-content {
  max-width: 1100px;
  margin: 60px auto 0;
}

/* gallery thumbs*/
#slideshow {
  position: relative;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.15);
}

.gallery-slider,
.thumbs {
  position: relative;
  overflow: hidden;
}

.gallery-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 450px;
}

.thumbs .img-container {
  cursor: grab;
}

.thumbs .img-container img {
  display: block;
}

.thumbs .img-container::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.15);
  position: absolute;
  left: 0;
  top: 0;
}

.thumbs .img-container:hover::before,
.thumbs .swiper-slide-thumb-active .img-container::before {
  background: rgba(0, 0, 0, 0);
}

.media-tab {
  display: flex;
}

.media-tab .tab-link {
  cursor: pointer;
}

.media-tab .tab-link {
  opacity: 0.5;
}

.media-tab .tab-link.active {
  opacity: 1;
}

.media-tab .sep {
  width: 2px;
  height: 35px;
  background: #333;
  display: inline-block;
  margin: 0 20px;
}

#video-youtube iframe {
  width: 100%;
  height: 565px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.items_images {
  position: relative;
  margin: 60px auto;
  overflow: hidden;
}

#car-info h2 {
  text-align: left;
  text-transform: uppercase;
  margin-bottom: 40px;
}

#car-info h2.title {
  margin-bottom: 0;
  text-align: inherit;
}

.slides-item {
  position: relative;
}

.slides-item .swiper-slide {
  width: 28%;
  margin-right: 30px;
}

.slides-item .swiper-slide:last-child {
  margin-right: 0px;
}

.slides-item .swiper-slide span {
  display: block;
  overflow: hidden;
  /*width:309px;height:173px;*/
}

.slides-item .swiper-slide span img {
  object-fit: cover;
  transition: 0.35s;
}

.slides-item .swiper-slide:hover img {
  transform: scale(1.1);
}

.slides-item .swiper-button-next,
.slides-item .swiper-button-prev {
  top: calc(50% - 20px) !important;
  bottom: auto !important;
  background-repeat: no-repeat;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.slides-item .swiper-button-next {
  right: 0 !important;
  background-image: url(/static/img/bmw/svg/right.png) !important;
}

.slides-item .swiper-button-next:before,
.slides-item .swiper-button-prev:before {
  content: none;
}

.slides-item .swiper-button-prev {
  right: auto !important;
  left: 0 !important;
  background-image: url(/static/img/bmw/svg/left.png) !important;
}

.slides-item .swiper-button-next.swiper-button-disabled,
.slides-item .swiper-button-prev.swiper-button-disabled {
  opacity: 0;
  display: none;
}

.slides-item h5 {
  font-size: 20px;
  margin: 25px 0 20px;
  text-transform: uppercase;
  font-weight: normal;
}

.slides-item p {
  font-family: "Arial";
  line-height: 1.6;
}

.slides-item:hover .swiper-button-next,
.slides-item:hover .swiper-button-prev {
  opacity: 1;
}

#car-info .text-slider .btn {
  width: auto;
  max-width: 220px;
  padding: 15px 20px;
  margin-bottom: 10px;
  color: #fff;
  text-shadow: none;
  display: inline-block;
  background: rgba(29, 109, 158, 0.95);
}

.items_images .swiper-pagination-bullet-active:before {
  content: none;
}

.items_images .swiper-pagination {
  display: none;
}

/* ТАБЛИЦА */
.table-container .table-scrollbar {
  display: none;
}

.table-container .table-scrollbar {
  display: none;
}

.table,
#car-info table {
  display: table;
  width: 100% !important;
  text-align: center;
  margin: 0 auto 35px;
  /*
	color: #fff;
  border: 1px solid #e5eef3
	*/
  color: #222;
  border: 0;
}

.table tr,
#car-info table tr {
  display: table-row;
  color: #484c51;
  font: 14px Arial;
  border-bottom: 1px solid #e6e6e6;
}

.table tr:first-child,
#car-info table tr:first-child {
  /*color: #fff*/
}

.table th,
#car-info table th {
  vertical-align: middle;
  padding: 15px 0;
  display: table-cell;
  width: 140px;
  border: 0;
  color: #222;
  font-weight: bold;
}

.table td,
#car-info table td {
  vertical-align: middle;
  padding: 15px;
  display: table-cell;
  width: 140px;
  border: 0;
  color: #222;
}

.table td p,
#car-info table td p {
  margin-bottom: 0;
  line-height: 1.4 !important;
  color: #222;
}

.table tr:first-child td:nth-child(odd),
#car-info table tr:first-child td:nth-child(odd) {
  /*background-color: #4a8ab1*/
  color: #222;
}

.table tr:first-child td:nth-child(even),
#car-info table tr:first-child td:nth-child(even) {
  /*background-color: #427c9f*/
  color: #222;
}

.table tr:nth-child(2) td:nth-child(odd),
#car-info table tr:nth-child(2) td:nth-child(odd) {
  background-color: transparent;
}

.table tr:nth-child(2) td:nth-child(even),
#car-info table tr:nth-child(2) td:nth-child(even) {
  /*background-color: #f6f9fb*/
}

.table tr:nth-child(3) td:nth-child(1),
#car-info table tr:nth-child(3) td:nth-child(1) {
  background-color: transparent !important;
}

.table tr:nth-child(3) td:nth-child(odd),
#car-info table tr:nth-child(3) td:nth-child(odd) {
  /*background-color: #edf3f7*/
}

.table tr:nth-child(3) td:nth-child(even),
#car-info table tr:nth-child(3) td:nth-child(even) {
  /*background-color: #e5eef3*/
}

.table tr:nth-child(4) td:nth-child(odd),
#car-info table tr:nth-child(4) td:nth-child(odd) {
  background-color: transparent;
}

.table tr:nth-child(4) td:nth-child(even),
#car-info table tr:nth-child(4) td:nth-child(even) {
  /*background-color: #f6f9fb*/
}

.none {
  display: none;
}

/*==============================================================================*/

#popup {
  display: none;
}

.open-form {
  height: 100%;
  width: 100%;
  position: fixed;
  display: flex;
  background: rgba(0, 0, 0, 0.55);
  align-items: center;
  align-self: center;
  top: 0;
  left: 0;
  z-index: 9999;
  overflow: hidden;
}

#open_form input,
#open_form select {
  display: block;

  background-color: rgba(22, 142, 195, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.75);
  width: 100%;
  height: 40px;
}

#open_form .form-row {
  max-width: 300px;
  margin: 0 auto 20px;
}

#open_form input {
  text-align: center;
  padding: 0 15px;
}

#open_form select {
  max-width: 300px;
}

#open_form input:nth-of-type(3) {
  margin-bottom: 40px;
}

#open_form .form-container {
  margin: 0 auto;
  padding: 80px 0;
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 570px;
}

#open_form ._form {
  width: 100%;
}

#open_form .form-container p {
  padding: 0;
  margin-bottom: 40px;
}

#open_form button {
  cursor: pointer;
}

#open_form select {
  background: url(../../img/moto/triangle.png) no-repeat 95%;
}

#open_form input {
  color: white !important;
}

#open_form ::-webkit-input-placeholder {
  color: #fff;
  font-size: 14px;
  text-align: center;
}

#open_form .form_message {
  position: relative;
  top: -20px;
  color: #d4e5ef;
  text-align: center;
  width: 80%;
  margin: 0 auto;
  font-size: 24px;
}

.close-form {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.close-form:before,
.close-form:after {
  position: absolute;
  left: 15px;
  content: " ";
  height: 32px;
  width: 3px;
  background-color: #fff;
}

.close-form:before {
  transform: rotate(45deg);
}

.close-form:after {
  transform: rotate(-45deg);
}

.flex {
  display: flex;
}

.button {
  background: #0280ba;
  color: #fff;
}

#popup_form .errorMessage {
  text-align: center;
  color: red;
}

@media screen and (max-width: 480px) {
  #open_form .form-container {
    width: 80%;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
  }

  #open_form .form-container p {
    margin-bottom: 20px;
  }

  #open_form input {
    max-width: 80%;
    width: 70%;
  }

  #open_form select {
    width: 70%;
  }

  #open_form input:nth-of-type(3) {
    margin-bottom: 20px;
  }

  #car_gallery .rsSlide,
  #car_gallery.rsDefault img.rsImg,
  #car_gallery {
    width: 100% !important;
  }

  #car_gallery {
    height: 300px !important;
  }

  .items_images {
    margin-bottom: 30px;
  }

  #car-info h2 {
    margin-bottom: 20px;
  }

  .items_images .swiper-pagination-bullet {
    background: #000 !important;
  }

  .items_images
    .swiper-pagination-bullet:not(.swiper-pagination-bullet-active) {
    opacity: 0.65 !important;
  }

  .items_images .swiper-pagination-bullet,
  .items_images .swiper-pagination-bullet-active {
    width: 8px !important;
    height: 8px !important;
    border: none !important;
    padding: 0 !important;
    float: none;
  }

  .items_images .swiper-pagination {
    padding: 0;
    bottom: 0 !important;
  }

  .slides-item p {
    padding-bottom: 40px;
  }

  .media-content {
    margin: 40px auto 0;
  }

  .items_images .swiper-pagination {
    display: block;
  }
}

.forminfo {
  font-size: 11px !important;
  color: #fefefe !important;
  font-family: "Arial";
  font-weight: normal;
  margin-top: 10px;
}

header {
  transition: 0.5s;
  z-index: 999;
}

header .nav-menu ul {
  display: inline-flex;
  width: calc(100% - 320px);
}
header .nav-menu {
  border-bottom: 1px solid #e6e6e6;
}
header .nav-menu li {
  margin: 0;
}

header .nav-menu a {
  position: relative;
  line-height: 99px;
  display: inline-block;
  padding: 0 10px;
  font-size: 15px;
  margin-right: 1px;
}

header .nav-menu a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(29, 109, 158, 0.95);
  height: 4px;
  opacity: 0;
  transition: 0.3s;
}

header .nav-menu a:hover {
  color: #fff;
}

header .nav-menu a:hover:after,
header .nav-menu a.cars.current_page:after {
  opacity: 1;
}

header.fixed {
  background: #fff;
  border-bottom: 1px solid #e6e6e6;
  z-index: 9999;
}

header.fixed .nav-menu a {
  color: #8e8e8e;
  transition: 0.5s;
}

header.fixed .nav-menu a:hover,
header.fixed .nav-menu a.current_page {
  color: #262626;
}

.nav-models {
  position: relative;
  display: none;
  width: 1300px;
  margin: 0 auto;
}

.nav-models ul {
  display: flex;
}

.nav-models li {
  border: 0;
}

.nav-models li a {
  font-size: 16px;
  color: #8e8e8e;
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.nav-models li a:not(:first-child):hover,
.nav-models li.current a {
  color: #262626;
}

.nav-models li:first-child a {
  text-align: left;
  padding-left: 20px;
}

header .open-models {
  box-shadow: none;
  border-top: 1px solid #e6e6e6;
}

header .open-models .item-container {
  text-align: center;
  font-size: 0;
  max-width: 1200px;
  margin: 0 auto;
}

header .all-models-container {
  width: 100%;
  background: #fff;
}

header .open-models .item {
  border: 0;
  float: none;
  display: inline-block;
  width: 25%;
}

header .open-models .item img {
  margin: 0 auto;
  right: 0;
  max-width: 200px;
}

header .open-models .item .model-name {
  color: #8e8e8e;
  right: 0;
  left: 0;
}

header .open-models .item:hover .model-name {
  color: #333;
  transition: 0.3s;
  text-decoration: underline;
}

header .open-models .item:hover {
  background: none;
}

header .open-models.active {
  display: block;
}

header {
  position: fixed;
  top: 0;
  background: -webkit-gradient(
    linear,
    left bottom,
    left top,
    from(transparent),
    to(rgba(0, 0, 0, 0.4))
  );
  background: linear-gradient(0deg, transparent, rgba(0, 0, 0, 0.4));
  background-size: cover;
}

header .lineup {
  margin-left: -5px;
  display: none;
}

#langs {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}

#langs a::after {
  content: none;
}
#langs a {
  color: #a6a6a6;
}
#langs a.active {
  color: #fff;
}
header #langs {
  color: #fff;
}
header.fixed #langs,
header.bgWhite #langs {
  color: #262626;
}
header.fixed #langs a.active,
header.bgWhite #langs a.active {
  color: #0280ba;
}
.logo {
  top: 0px;
  display: flex;
  align-items: center;
}

.logo a {
  display: block;
  min-width: 40px;
  height: 98.8px;
  background-size: contain;
}

.logo a:not(:first-child) {
  margin-left: 20px;
}

.logo span {
  display: block;
  margin-top: 10px;
}

.logo img {
  max-height: 98px;
  display: block;
  margin: 0 auto;
}

.logo .bmw {
  background: url(../../img/preload/BMW_White_Logo.svg) center / contain
    no-repeat;
}

.logo .mini,
.lineup_item.mini {
  background: url(../../img/preload/new_mini.png) center / contain no-repeat;
}

.logo .moto,
.lineup_item.moto {
  background: url(../../img/preload/new_moto_text.png) center / contain
    no-repeat;
}

.logo .mini,
.logo .moto {
  filter: invert(1);
  min-width: 65px;
}

header.fixed .logo .bmw,
header.bg-white .logo .bmw,
header.bgWhite .logo .bmw,
.logo .bmw.logo_grey,
.lineup_item.bmw {
  background: url(../../img/preload/bmw_grey.svg) center / contain no-repeat;
}

header.fixed .logo .mini,
header.fixed .logo .moto,
header.bg-white .logo .mini,
header.bg-white .logo .moto,
header.bgWhite .logo .mini,
header.bgWhite .logo .moto {
  filter: none;
}

.mfp-bg,
.mfp-wrap {
  z-index: 99999 !important;
}

#popup_widget .popup-content {
  max-width: 800px;
}

.popup-content {
  background-color: #fff;
  margin: 3rem auto;
  -webkit-box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.1);
}

/*
.getoffer, .testdrive {
	display: none
}
.getoffer.active,.testdrive.active {
	display: block
}
*/
.popup-btn-close {
  position: absolute;
  right: 10px;
  top: 10px;
  background: url("../../img/moto/btn-layer-close.png") no-repeat center;
  display: inline-block;
  width: 1.6rem;
  height: 1.6rem;
  cursor: pointer;
}

@media screen and (max-width: 800px) {
  .popup-btn-close {
    right: 0;
    top: 0;
  }
}

.popup-img {
  position: relative;
  overflow: hidden;
}

/* dropdown */

header {
  transition: 0.3s;
  z-index: 30;
}

header.bg-white,
header.bgWhite {
  transition: 0;
}

header.fixed,
header.bg-white,
header.bgWhite {
  background: #fff;
}

header.fixed,
header.bg-white {
  border-bottom: 1px solid #e6e6e6;
}

header.fixed .nav-menu a,
header.bg-white .nav-menu a,
header.bgWhite .nav-menu a {
  color: #8e8e8e;
  transition: 0.5s;
}

header.fixed .nav-menu a:hover,
header.bg-white .nav-menu a:hover,
header.bgWhite .nav-menu a:hover,
header.fixed .nav-menu a.current_page,
header.bg-white .nav-menu a.current_page,
header.bgWhite .nav-menu a.current_page {
  color: #262626;
}

.dropdown_item .dropdown {
  display: none;
  position: absolute;
  left: calc(-50vw + 50%);
  right: 0;
  width: 100vw;
  z-index: 999;
  background: #fff;
  transition: opacity 0.3s;
}

.dropdown_item .main__link {
  cursor: pointer;
}

.dropdown_item.active .dropdown {
  border-bottom: 1px solid #eaeaea;
}

.dropdown_item .dropdown-menu {
  width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  border-top: 1px solid #eaeaea;
}

.dropdown_item .dropdown a,
header.fixed .nav-menu a.main__link,
header.fixed .dropdown_item .dropdown-menu a {
  color: #8e8e8e;
}

.dropdown_item .dropdown-menu a:hover,
header.fixed .dropdown_item .dropdown-menu a:hover,
header.fixed .nav-menu .main__link.active,
header.bg-white .nav-menu .main__link.active,
header.bgWhite .nav-menu .main__link.active {
  color: #262626;
}

header .dropdown-menu a::after,
header.fixed .dropdown-menu a::after {
  content: none;
}

.dropdown_item .dropdown-menu a {
  line-height: 90px;
}

.dropdown_item .main__link.active:after {
  opacity: 1;
}

.dropdown_item.active .dropdown-menu .current_page:hover:after {
  opacity: 0;
}

@media screen and (max-width: 640px) {
  .dropdown_item .dropdown {
    position: relative;
    box-shadow: none;
    padding: 10px 15px;
    width: 100%;
    left: 0;
  }

  .dropdown_item .dropdown-menu {
    width: 100%;
    flex-wrap: wrap;
    border-top: 0;
  }

  .dropdown_item .dropdown-menu a {
    line-height: normal;
  }

  .dropdown_item .main__link.active:after {
    content: none;
  }

  .dropdown_item .dropdown-menu a:not(:last-child) {
    margin-bottom: 10px;
  }

  .dropdown_item .dropdown a,
  header.fixed .nav-menu a.main__link,
  header.fixed .dropdown_item .dropdown-menu a {
    color: #262626;
  }
}

/* dropdown end */

/* mc-finance*/

.mc-finance-wrapper .flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.mc-finance-wrapper .flex-container .row {
  width: calc(50% - 10px);
  padding: 0 15px;
}

.mc-finance-wrapper .text-center img {
  display: inline-block;
  margin: 40px auto;
}

.mc-finance-wrapper .h3 {
  margin-bottom: 0;
}

.mc-finance-wrapper .terms p:first-child {
  margin-bottom: 15px;
}

.mc-finance-wrapper .tb-content {
  position: relative;
  min-height: 400px;
}

.mc-finance-wrapper .info.active {
  display: block;
}

.mc-finance-wrapper .info {
  display: none;
}

ul.mc-finance-tabs {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: flex;
  justify-content: center;
}

ul.mc-finance-tabs li {
  margin: 0;
  padding: 15px 30px;
  border: 1px solid #eee;
  cursor: pointer;
  color: #1c69d4;
}

ul.mc-finance-tabs li.active {
  color: #222;
}

ul.mc-finance-tabs li:last-child {
  border-left: none;
}

.mc-finance-calc {
  background: #fff;
  padding: 20px;
  border: 1px solid #eee;
  max-width: 420px;
}

.mc-finance-calc .row_calc {
  margin: 0 0 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mc-finance-calc .row_calc:first-child {
  justify-content: flex-start;
}

.mc-finance-calc .row_calc:first-child div {
  width: 100%;
  margin-bottom: 10px;
  margin-right: 0;
  font-family: Asimov;
}

.mc-finance-calc .row_calc:first-child span:not(:last-child) {
  margin-right: 20px;
}

.mc-finance-calc .row_calc:first-child span {
  font-family: Asimov;
  font-weight: 300;
}

.mc-finance-calc .row_calc label {
  margin: 0;
}

.mc-finance-calc .TotSum {
  margin-right: 30px;
}

.mc-finance-calc .row_calc input {
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 5px;
  text-align: center;
}

.mc-finance-calc .row_calc input::placeholder {
  color: #2b2a28 !important;
}

.mc-finance-calc .row_calc input:read-only {
  background: #f3f3f3;
  cursor: default;
}

.mc-finance-calc .row_calc #TotalSumInput {
  max-width: 140px;
}

.mc-finance-calc .row_calc #amount {
  max-width: 100px;
}

.mc-finance-calc .row_calc #vznos {
  max-width: 50px;
}

.mc-finance-calc .row_calc #vznosSum {
  max-width: 140px;
}

.mc-finance-calc .row_buttons {
  text-align: right;
}

.mc-finance-calc .row_buttons input {
  cursor: pointer;
  padding: 3px 10px;
}

.mc-finance-calc .row_calc:first-child {
  flex-wrap: wrap;
}

.mc-finance-calc .row_calc:first-child div {
  margin-right: 30px;
}

.mc-finance-calc .row_calc:first-child span {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #da241e;
}

.mc-finance-calc .row_calc:first-child input {
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.mc-finance-calc .row_calc:first-child label {
  margin-left: 7px;
  cursor: pointer;
}

@media (max-width: 800px) {
  .mc-finance-calc .row_calc {
    flex-wrap: wrap;
  }

  .mc-finance-calc .row_calc label {
    width: 100%;
  }

  .mc-finance-calc .row_calc input {
    width: 100%;
    max-width: none !important;
  }

  .mc-finance-calc .row_calc #vznos {
    max-width: 50px !important;
  }

  .mc-finance-calc .row_calc #vznosSum {
    max-width: calc(100% - 65px) !important;
  }

  .mc-finance-calc .row_calc:first-child div {
    width: 100%;
    margin-bottom: 10px;
  }

  .mc-finance-wrapper .flex-container .row {
    width: 100%;
  }

  .mc-finance-calc .row_calc:first-child div br {
    display: none;
  }

  .mc-finance-wrapper .flex-container .row:before,
  .mc-finance-wrapper .flex-container .row:after {
    content: none;
  }
  #car-info .btn-group.content .btn {margin: 0 0 15px; padding: 0 15px;}
}
#car-info .btn-group.content {
  display: flex;
  flex-wrap: wrap;
}
#car-info .btn-group.content .btn {margin-right: 15px;}
/*-------------*/
