@font-face {
  font-family: "Nissan Brand";
  src: url("../fonts/NissanBrand-Bold.woff2") format("woff2"),
    url("../fonts/NissanBrand-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Nissan Brand";
  src: url("../fonts/NissanBrand-Regular.woff2") format("woff2"),
    url("../fonts/NissanBrand-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: NissanBrand, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji,
    Segoe UI Symbol !important;
  max-width: 100% !important;
}

.navbar {
  margin-bottom: 20px;
}

.navbar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  margin: 6px 0 0 0;
}

.navbar-header__item,
.navbar-black-menu-item {
  color: #000 !important;
}

.navbar-header__item:nth-child(2) {
  padding-left: 70px;
}

.navbar__body-cars {
  display: none;
}

._wrapper {
  width: 100%;
}

.cars_items .info_block .car_profit:hover span {
  background: #c3002f;
  color: #fff;
}

.cars_items_title,
.cars_items .info_block .title {
  font-size: 26px;
}

.cars_items .info_block .car_profit {
  font-size: 20px;
}

.cars_items .car_item {
  margin-top: 20px;
}

.cars_items .info_block .car_count {
  background: url("/nissan-mariel/assets/img/dot.png") 0 50% no-repeat;
}

.cars_items .info_block .car_profit span {
  font-size: 26px;
}

.car_slider_block {
  width: 51%;
}

.car_slider {
  max-width: 650px;
}

.cars_items .info_block .title {
  font-weight: 700;
}

.car_slider .slick-dots li.slick-active {
  border-top: 6px solid #c3002f;
}

.map-map {
  background-color: #fff;
}

.swal2-styled.swal2-confirm {
  background-color: #c3002f !important;
}

/* Форма */

.dn {
  display: none;
}

.hidden {
  display: none;

  div.red {
    background: red;
  }
}

.fancybox-button svg path {
  fill: #000 !important;
}

/* .fancybox-close-small {
  background: #858a93 !important;
}

.fancybox-content {
  background: none !important;
} */

.requestForm {
  width: 750px;
}

.requestForm input[type="text"] {
  color: #000;
  display: block;
  height: 60px;
  line-height: 100%;
  text-decoration: none;
  text-align: left;
  margin-bottom: 10px;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  background: white;
  border: 1px solid #000;
  padding: 10px;
  border-radius: 0;
}

.personal {
  text-decoration: underline;
}

.form__agree {
  position: relative;
  text-align: center;
}

.form__checklabel {
  color: #858a93;
  font-size: 14px;
  line-height: 22px;
  display: inline-flex;
  align-items: center;
  position: relative;
}

.form__checklabel span a {
  color: inherit;
}

.ya-frame .title {
  font-size: 24px;
  font-weight: 700;
  padding: 0px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin: 0px;
  padding-bottom: 29px;
  text-align: center;
  padding-top: 25px;
}

.btn {
  background: #c3002f;
  border: 2px solid #c3002f;
  color: #fff;
  width: 100%;
  margin-top: 20px;
}

.btn__span {
  font-family: NissanBrand, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto,
    Helvetica Neue, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji,
    Segoe UI Symbol;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.43;
  text-transform: uppercase;
}

.btn:hover {
  background: #af0006;
  border: 2px solid #af0006;
  color: #fff;
  cursor: pointer;
}

.btn span {
  display: inline-block;
  width: 100%;
}
.ya-form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.secgray {
  background: #f8f8f8;
}

.service_block {
  padding: 10px 0;
  margin: 0 0 20px 0;
}

.service_block .open_service {
  text-align: center;
  margin: o auto;
  display: flex;
  justify-content: center;
}

.tal {
  text-align: left !important;
}

/*! CSS Used from: Embedded */
input {
  vertical-align: middle;
}
:focus {
  outline: 0;
}
input[type="text"] {
  -webkit-appearance: none;
}

.pt120 {
  padding-top: 120px;
}

.pb90 {
  padding-bottom: 90px;
}

.pb120 {
  padding-bottom: 120px;
}

.pt240 {
  padding-top: 240px;
}

.service_block .open_service .form__agree {
  text-align: left;
}

.service_block .open_service h2 {
  font-size: 30px;
}

.wrapper-content__header {
  justify-content: space-between;
  display: flex;
  align-items: center;
}

.time__wrapper {
  padding: 4px 0;
}

.time-item__link {
  color: #000;
}

.time-item__link:hover {
  opacity: 0.7;
}

.header_navbar {
  background-color: #f8f8f8;
}

.title_container {
  padding: 44px 0 0 14px;
  text-align: center;
}

.title_wrap2 {
  margin-top: 40px;
  margin-bottom: 160px;
  background: #00000085;
  max-width: 60%;
  padding: 24px 14px 44px 14px;
  text-align: left;
}

.title1 {
  color: #000;
  font-size: 32px;
  font-weight: 500;
  padding: 10px 30px 15px 30px;
  display: inline-block;
}

.title_container .title_wrap2 .title1 {
  font-size: 37px;
  margin-bottom: 24px;
  line-height: 36px;
}

.title_container .title_wrap2 .title2 {
  font-size: 26px;
  line-height: 36px;
}

.title1.title-white,
.title2.title-white {
  color: #fff !important;
}

.mainbg {
  background-image: url("../img/mainbg.jpg");
  height: 50em;
  background-position: center;
  background-size: cover;
  position: relative !important;
}

.mainbg2 {
  background-image: url("../img/mainbg2.jpg");
  height: 50em;
  background-position: center;
  background-size: cover;
  position: relative !important;
}

.mainbg_title1,
.mainbg_title2 {
  padding: 0 10px;
}

.mainbg_btn {
  width: 50%;
  padding: 0 10px;
}

.mainbg_btn a {
  display: flex;
  align-items: center;
  text-decoration: none;
  text-align: center;
}

.map-meta__phone,
.map-meta__address,
.map-meta__time,
.map-meta__email {
  display: flex;
  align-items: center;
}

.map-meta__name {
  margin-left: 2px;
}

.map-meta__phone::before {
  display: block;
  content: " ";
  background-image: url("/nissan-mariel/assets/img/phone.svg");
  background-size: 20px 20px;
  height: 20px;
  width: 20px;
  margin-right: 8px;
}

.map-meta__address::before {
  display: block;
  content: " ";
  background-image: url("/nissan-mariel/assets/img/location.svg");
  background-size: 20px 20px;
  height: 20px;
  width: 20px;
  margin-right: 8px;
  margin-bottom: 20px;
}

.map-meta__time::before {
  display: block;
  content: " ";
  background-image: url("/nissan-mariel/assets/img/clock.svg");
  background-size: 20px 20px;
  height: 20px;
  width: 20px;
  margin-right: 8px;
  margin-bottom: 50px;
}

.map-meta__email::before {
  display: block;
  content: " ";
  background-image: url("/nissan-mariel/assets/img/mail.svg");
  background-size: 20px 20px;
  height: 20px;
  width: 20px;
  margin-right: 8px;
}

.footer {
  background: #222;
  display: flex;
  flex-direction: column;
}

.footer .wrapper-content:nth-child(1) {
  color: #fff;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.footer__copyrights {
  margin: 0 auto;
}

.footer .wrapper-content .footer__item:nth-child(2) {
  padding: 0 15px;
}

.footer .wrapper-content:nth-child(1) .footer__item {
  display: flex;
  flex-direction: column;
}

.footer__item-title {
  font-size: 20px;
  padding-bottom: 10px;
  font-weight: 700;
}

.footer__item a {
  color: #fff;
}

/* .footer__item a:hover {
  color: #c3002f;
} */

.footer__item-btn a {
  font-size: 14px;
  min-width: 300px;
  max-width: 450px;
  display: inline-block;
  height: 60px;
  align-items: center;
  display: flex;
  min-width: 360px;
  text-decoration: none;
}

.footer__item-btn a:nth-child(1) {
  margin: 0;
}

.footer__item-btn a:nth-child(2) {
  background-color: #eee;
  color: #000;
  border: transparent;
}

.footer__item-btn a span {
  margin: 0 auto;
  width: 90%;
}

.footer-socials__item-link {
  background: none;
}

.footer-socials__item-link svg {
  width: 30px;
  fill: #777777;
}

.footer__copyrights {
  margin-top: 40px;
}

@media only screen and (max-width: 1200px) {
  .navbar-header__item:nth-child(2) {
    padding-left: 20px;
  }
  .navbar-black-menu {
    flex-wrap: wrap;
  }
  .navbar-black-menu-item {
    padding: 2px 0;
  }
  .footer {
    padding-bottom: 40px;
  }
}

@media only screen and (max-width: 1024px) {
  .regform {
    padding: 0;
    margin-top: 30px;
  }
  .service_block .open_service {
    width: 100%;
  }

  .tal {
    text-align: center !important;
  }

  .navbar-header__item:nth-child(2),
  .navbar-header__item:nth-child(3) {
    display: none;
  }
  .navbar-header {
    justify-content: space-between;
  }

  .navbar-black-menu {
    flex-wrap: wrap;
  }

  .navbar-black-menu-item {
    padding: 0;
  }

  .map-meta {
    display: none;
  }
  .title_wrap2 {
    max-width: 100%;
    margin: 40px 15% 160px 15%;
  }
}

@media only screen and (max-width: 820px) {
  .mainbg {
    height: 500px;
  }
  .mainbg_btn {
    width: 100%;
  }
  .title_container {
    padding: 14px 0 0 14px;
  }
  .title_container .title_wrap2 .title1 {
    font-size: 28px;
  }
  .title_container .title_wrap2 .title2 {
    font-size: 24px;
  }
  .footer__item-btn a {
    min-width: 200px;
  }
}

@media only screen and (max-width: 600px) {
  .footer__item-btn a {
    min-width: 150px;
  }
  .footer .wrapper-content:nth-child(1) {
    margin: 0;
  }
  .footer .wrapper-content .footer__item:nth-child(2) {
    padding: 0 10px;
  }
}

@media only screen and (max-width: 530px) {
  .title_container .title_wrap2 .title1 {
    font-size: 25px;
  }
  .title_container .title_wrap2 .title2 {
    font-size: 22px;
  }
  .footer .wrapper-content .footer__item:nth-child(1),
  .footer .wrapper-content .footer__item:nth-child(2) {
    display: none;
  }
  /* .footer__item-btn a {
    min-width: 200%;
  } */
}

@media only screen and (max-width: 500px) {
  .time-item {
    padding: 0 4px;
  }
  .time-item span {
    font-size: 14px;
  }
  .title_wrap2 {
    max-width: 100%;
    margin: 40px 0 160px 0;
  }
}

@media only screen and (max-width: 460px) {
  .form__checklabel {
    display: contents;
  }
}

@media only screen and (max-width: 420px) {
  .title_container .title_wrap2 .title1 {
    font-size: 18px;
  }
  .title_container .title_wrap2 .title2 {
    font-size: 16px;
  }
  .mainbg_btn a span {
    font-size: 14px;
  }
  .mainbg {
    height: 350px;
  }
  .title_wrap2 {
    margin: 10px 0 160px 0;
  }
}

@media only screen and (max-width: 380px) {
  /* .footer__item-btn a {
    min-width: 150%;
  } */
}

@media only screen and (max-width: 360px) {
  .title_container .title_wrap2 .title1,
  .title_container .title_wrap2 .title2 {
    line-height: 22px;
  }
  .mainbg {
    height: 350px;
  }
}

@media only screen and (max-width: 300px) {
  .cars_items_title,
  .cars_items .info_block .title {
    font-size: 18px;
  }
  .wrapper-content__header-custom {
    padding: 0;
    margin: 0;
  }
  .footer .wrapper-content:nth-child(1) .footer__item {
    margin: 0 auto;
  }
  .footer__item-btn a {
    min-width: 100%;
  }
  .btn,
  .requestForm input[type="text"] {
    width: 95%;
  }
}

@media only screen and (max-width: 250px) {
  .time-item span {
    font-size: 10px;
  }
}

@media (min-width: 1024px) {
  .map-wrapper {
    align-items: flex-start;
  }
  .map-meta {
    margin: 30px 0 0 24px;
  }
}
