@import 'base.css';

@import 'ui.css';

@import 'layouts.css';

@import 'main.css';
.video-section video {
  max-width: 100%;
}
.noscroll {
  overflow: hidden;
}

.page-design .banner .banner-content .text-group {
  position: absolute;
  top: 35%;
  left: 0;
  right: 0;
  max-width: 100%;
  color: #fff;
  z-index: 2;
}

@media screen and (max-width:768px) {

  .top__header,
  .top__header .brand__text,
  .top__header .v-sep,
  .header__nav,
  .footer__nav {
    display: none;
  }

  .logo_image {
    display: none;
  }

  .header .logo_text {
    display: block;
    width: 100%;
    height: auto;
    filter: brightness(0);
  }

  .header__menu {
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    background: transparent;
  }

  .header__menu * {
    filter: invert(1);
  }

  .header__menu.is-active {
    background: rgba(0, 0, 0, 0.95);
  }

  .header__menu .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .header.transparent {
    background: rgba(0, 0, 0, 0.95);
  }

  .header .logo_text {
    bottom: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    left: 50%;
  }

  .header.is-hide .header__menu {
    padding: 1.5rem 0;
  }

  .header__menu.is-active .header__nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    order: 3;
    position: fixed;
    top: 3.92rem;
    left: 0;
    right: 0;
    width: 100%;
    height: calc(100dvh - var(--headerHeight));
    background-color: #fff;
    padding: 3rem 2rem;
    font-size: 18px;
    color: #000;
    border-top: 1px solid rgba(0, 0, 0, 0.95);
    background: rgba(0, 0, 0, 0.95);
  }

  .header__menu.is-active .lang-icon {
    filter: none;
  }

  .header__menu.is-active .top__header {
    display: block;
    background: none;
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.25);
    margin: auto -2rem 0;
    width: calc(100% + 4rem);
    filter: brightness(0) invert(1)
  }

  .header__nav .nav__item {
    margin-bottom: 2rem;
  }

  .header__nav .menu__items {
    max-width: 100%;
    display: block;
    flex: 0;
  }

  .header .logo {
    display: block;
    height: auto;
    margin: 0;
    transform: translate(-50%, -50%);
    left: 50%;
    top: 50%;
    order: 1;
    filter: invert(1);
  }

  .header.is-hide {
    transform: translateY(0);
  }

  .header.is-hide .logo_text {
    height: auto;
    width: 100%;
  }

  .header.transparent .logo {
    filter: none;
    height: 0.9rem;
    width: 9rem;
  }

  .header__nav .nav__item:not(:last-child) {
    margin-right: 0;
  }

  .langs.mobile {
    color: #000;
    display: flex !important;
    align-items: stretch;
    gap: 1rem;
    line-height: 1;
  }

  .top__header .container {
    padding: 0;
    width: 100%;
  }

  .top__header .brand__logos {
    width: 100%;
    justify-content: space-between;
    filter: brightness(.4);
  }

  .banner .title-lg img {
    max-width: 20rem;
  }

  .banner .banner-content,
  .p-section {
    height: auto
  }

  .p-section {
    min-height: auto;
    height: 80vh;
    background-attachment: unset;
    min-height: 61.5rem;
    align-items: start;
  }



  .designer {
    align-items: flex-start;
  }

  .table-grid h4 {
    font-size: 1.2rem;
  }

  #tech h2 {
    font-size: 1.8rem;
  }

  #tech .mt-5 {
    margin-top: 2.4rem;
  }

  #tech h4:first-child {
    margin-bottom: 0.9rem;
  }

  .banner h4 {
    font-size: 1.6rem;
  }

  .banner .banner-content {
    min-height: auto;
    height: calc(100vh - var(--headerHeight));
    max-height: 48rem;
  }

  .banner .title-lg {
    max-width: 75%;
    margin: 0 auto 2rem;
  }

  .banner-sm {
    height: 18rem;
    padding-top: 0;
    align-items: center;
  }

  .banner .banner-content.top .text-group .btn {
    min-width: revert;
    font-size: 1.2rem;
    flex: 1;
    padding: 1rem 2rem;
  }

  .v-sep {
    width: 1px;
    display: inline-block;
  }

  .langs .v-sep {
    background: #000;
  }

  .banner .btn-group {
    flex-direction: row;
  }

  .banner-sm .breadcrumbs {
    margin-top: 0;
  }

  .breadcrumbs {
    font-size: 1.2rem;
  }

  .agreement_text .title-sm {
    font-size: 1.6rem;
    font-weight: 500;
  }

  .btn {

    min-width: revert;
    flex: 1;
    font-size: 1.2rem;
  }

  .btn-group {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }


  .section {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  #main-news .section__header {
    margin-bottom: 3rem;
  }

  .posts {
    grid-gap: 4rem;
  }

  .footer .container {
    flex-direction: column;
    justify-content: flex-start;
  }

  .footer__text {
    margin-right: 0;
  }

  #to-top {
    right: 2rem;
    bottom: 4rem;
    width: 3.8rem;
    height: 3.8rem;
    background-size: 2rem 1rem;
  }

  .share {
    margin-bottom: 1rem;
    flex-direction: column;
  }

  .share p {
    margin-bottom: 1.6rem;
    margin-right: 0;
  }

  .ya-share2__container_shape_round.ya-share2__container_size_l .ya-share2__badge .ya-share2__icon:not(.ya-share2__icon_messenger-contact):not(.ya-share2__icon_more):not(.ya-share2__icon_copy) {
    background-size: 24px 24px !important;
  }

  .ya-share2__container_mobile.ya-share2__container_size_l .ya-share2__icon {
    width: 3.6rem !important;
    height: 3.6rem !important;
  }

  .section__header {
    margin-bottom: 4rem;
    text-wrap: balance;
  }

  .section-md {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .contacts {
    width: 100%;
    padding: 4rem 2rem;
    max-height: 100%;
  }

  .contact-info {
    display: block;
    height: revert;
    min-height: revert;
  }

  .contact-info .map-container {
    height: 32rem;
  }

  .map-container {
    height: 32rem;
  }

  .dealers {
    font-size: 1.2rem;
    grid-gap: 2rem;
  }

  .dealers .btn-group {
    flex-flow: row nowrap;
  }

  .headerText {
    background: linear-gradient(190deg, #18368E, #2F4CA0 40%, #BEDAF2 150%);
  }

  .headerText .col:first-child {
    max-width: 100%;
    margin-bottom: 3rem;
  }

  .headerText .col:last-child {
    max-width: 100%;
  }

  .slider-panel {
    flex-wrap: wrap;
    align-items: center;
  }

  .slider-panel .container-sm {
    order: 3;
    padding: 0;
    margin-top: 3rem;
    margin-bottom: 5rem;
  }

  .carousel .slider-controls {
    order: 2;
  }

  .carousel .swiper-pagination-fraction {
    order: 1;
    font-size: 2rem;
  }

  .tab-content picture {
    min-height: auto;
    height: 100vw;
  }

  .tab-buttons {
    padding: 2rem 0;
  }

  .tab-btn {
    font-size: 1.2rem;
    padding: 1rem 0;
  }

  .icon-items {
    gap: 1rem;
    display: flex;
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .icon-items .icon {
    height: 2.5rem;
    width: auto;
  }

  .icon-items.center .icon {
    margin: 0 auto 1rem;
  }

  .icon-items .col:nth-child(2) {
    border-left: 1px solid #ffffff1f;
    padding-left: 1rem;
    padding-right: 1rem;
    border-right: 1px solid #ffffff1f;
  }

  .icon-items.center .col:not(:last-child)::after,
  .icon-items .grid::after {
    content: none;
  }

  .icon-items .item {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .banner::after {
    height: 12%;
  }

  .banner .swiper-button-prev,
  .banner .swiper-button-next {
    display: none;
  }

  .banner .banner-content.top .text-group {
    padding-top: 8rem;
  }

  .features .flex {
    flex-direction: column;
  }


  .features .col.image {
    margin-bottom: -3rem;
  }

  .features .col:last-child {
    padding: 3rem 2rem;
  }

  .features .flex:not(:first-child) {
    margin-top: 0;
  }

  .features .col .text-group,
  .table-grid td:first-child,
  .table-grid td:last-child {
    max-width: 100%;
  }

  .munich h3,
  .munich .text h3:not(:last-child) {
    font-size: 1.2rem;
    margin-bottom: 0.7rem;
  }
  .munich .btn {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .munich .text h2:not(:last-child) {
    margin-bottom: 1rem;
  }

  #about.page h3 {
    font-size: 1.6rem;
  }

  #about-info {
    background-size: 100% auto;
  }

  #about-info .bg-fade {
    background-attachment: unset;
    background-size: 100% auto;
  }

  #about-info .tabs-container {
    height: 20rem;
    overflow-x: hidden;
    overflow-y: auto;
  }

  #about-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 70%, rgba(255, 255, 255, 0) 100%);
  }

  #about-info::after {
    content: '';
    position: absolute;
    bottom: 0;
    top: auto;
    left: 0;
    width: 100%;
    height: 35%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 70%, rgba(255, 255, 255, 0) 100%);
  }

  #about-info .container-sm {
    padding: 3.7rem 2rem 1rem;
  }

  #about-info .text-md {
    font-size: 1.2rem;
  }

  .footer {
    padding: 4rem 0;
  }

  .footer-logo {
    display: none;
  }

  .table-grid tr {
    flex-direction: column;
    gap: 2rem;
  }

  .table-grid td:first-child {
    padding-right: 0;
  }

  .table-grid td:first-child::after {
    content: none;
  }

  .mb-6 {
    margin-bottom: 3rem;
  }

  .text {
    font-size: 1.2rem;
  }

  .text-center {
    /* text-wrap: pretty; */
  }

  .slideshow .swiper-pagination {
    margin: 3rem auto;
    margin-bottom: 1.7rem;
  }

  .slideshow .swiper-button-next,
  .slideshow .swiper-button-prev {
    top: auto;
    transform: none;
    bottom: 9.6rem;
  }

  .slideshow .swiper-pagination-bullet {
    font-size: 1.2rem;
    margin: 0 1rem !important;
  }

  .munich {
    height: 52rem;
    min-height: revert;
  }


  .swiper-button-prev {
    left: 0
  }

  .swiper-button-next {
    right: 0;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 2.4rem;
  }

  .carousel-half .slider-panel,
  .carousel-half .swiper-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .carousel-half .swiper {
    flex-direction: column;
  }

  .carousel-half .slider-panel {
    padding: 0 2rem;
    order: 2;
  }

  .carousel-half picture {
    width: 100%;
    height: auto;
  }

  .page {
    padding-top: 0;
  }

  #about.page {
    padding-top: 0;
  }

  .carousel-half .slider-panel-content {
    padding-top: 0;
  }

  .slider-panel {
    padding: 2rem;
  }

  .single_news {
    margin-top: 0;
  }

  .single_news .section-sm {
    padding-top: 4rem;
  }

  .popup {
    padding: 3rem 2rem;
  }

  form {
    gap: 2.4rem;
    font-size: 1.4rem;
  }

  .agreement__content {
    max-height: 39rem;
  }

  .checkbox,
  .form-btn {
    font-size: 1.4rem;
  }

  .form-btn,
  .popup .back_link {
    height: 5rem;
  }

  .posts .post__img {
    position: relative;
    overflow: hidden;
    height: 16rem;
    margin-bottom: 3rem;
  }

  .dealer__name {
    font-size: 1.6rem;
  }

  .carousel-half .text-md {
    font-size: 1.2rem;
  }

  #promo.p-section {
    height: auto;
    min-height: auto;
    padding: 6rem 0;
  }

  #promo.p-section .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .tab_container .text-md.announce {
    font-size: 1.2rem;
  }

  .page-design .banner .banner-content {
    max-height: 100vh;

  }

  .page-design .banner .banner-content::after {
    content: none;
  }

  .page-design .banner .banner-content .text-group.text-dark {
    color: #000;
  }

  .page-design .banner .banner-content .text-group {
    top: 15rem;
  }
   .video-section {
    padding-top: 0;
   }
  .video-section .m-full {
    margin-left: -2rem;
    margin-right: -2rem;
    width: calc(100% + 4rem);
    max-width: 100vw;
  }
  #home .banner .banner-content {
    max-height: 80vh;
  }
  #home .banner .title-lg {
    margin-bottom: 1rem;
  }
  #home .banner .text-group {
    text-align: center;
  }
}