@media(min-width: 1200px) {
    body .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1280px !important;
    }
}

@media(max-width: 1600px) {
    /*.vehicles-item .vehicle-image-wrapper img {*/
    /*    max-width: 400px;*/
    /*}*/
}

@media(max-width: 991px) {
    body .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 750px !important;
    }
    h1 {
        font-size: 32px;
    }
    header #main-navbar .container {
        max-width: 750px !important;
        /* display: block; */
        padding: 0 15px;
    }
    .navbar-brand {
      display: flex;
      align-items: center;
    }
    .logo {
        max-width: 75px !important;
        max-height: 75px !important;
        width: 75px;
    }
    header #main-navbar .navbar-toggler {
        display: flex;
        align-items: center;
        float: right;
        padding: 16px;
        top: auto;
        right: 0;
    }
    header #main-navbar .navbar-toggler .icon-bar {
        background: #fff;
    }
    header #main-navbar .navbar-toggler .sr-only {
        position: relative;
        width: auto;
        height: auto;
        color: #fff;
        margin-left: 5px;
    }
    header #main-navbar #main-navbar-collapse {
        margin-top: 55px !important;
    }
    header #main-navbar #main-navbar-collapse .navbar-nav {
        width: 100%;
        margin-left: auto !important;
        text-align: center !important;
    }
    header .main-nav .main-nav-item,
    .right-menu nav li {
        margin-right: 0 !important;
        border-bottom: 1px solid #fff;
    }
    header .main-nav .main-nav-item .nav-link,
    .right-menu .nav-link {
        padding: 10px 0 !important;
    }
    .right-menu {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .right-menu nav,
    .right-menu nav li {
        width: 100%;
        text-align: center;
    }
    .right-menu nav li:last-child {
        border-bottom: none;
    }
    .right-menu .has-submenu > a {
        display: none;
    }
    .right-menu .dropdown-menu {
        position: relative;
        display: block;
        top: auto;
        width: 100%;
        background: transparent;
        margin-top: 0;
        border: none;
        padding: 0;
    }
    .right-menu .dropdown-menu li:last-child {
        border-bottom: none;
    }
    .right-menu .dropdown-menu li a {
        color: #fff !important;
    }
    .language-select {
        display: inline-block;
        float: right;
    }

    /* HOMEPAGE */
    .hp-accordion {
        flex-wrap: wrap;
    }
    .full-slider {
        overflow: hidden;
    }
    .hp-accordion .col-lg-4 {
        margin-bottom: 1em;
        min-height: auto;
    }
    .hp-accordion .col-lg-4:hover {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .hp-accordion .col-lg-4:last-child {
        margin-bottom: 0;
    }
    .hp-segway-row {
        padding: 50px 0;
    }
    .hp-segway-row .module.module-text {
        max-width: 750px;
    }
    .hp-video-row {
        max-width: 750px;
    }
    .hp-video-row .col-lg-4 {
        padding: 0;
        margin-bottom: 1em;
    }
    .hp-video-row .col-lg-4:last-child {
        margin-bottom: 0;
    }

    /* FOOTER */
    .footer-row {
        max-width: 750px;
        justify-content: space-between;
    }
    .footer-row .col-lg-4 {
        width: auto;
    }
    .footer-row .col-lg-4:first-child {
        order: 3;
        width: 100%;
    }
    .footer-row .col-lg-4:nth-child(2) {
        order: 1;
    }
    .footer-row .col-lg-4:nth-child(3) {
        order: 2;
    }

    .language-select {
        display: flex;
        align-items: center;
        float: right;
        padding: 16px;
        top: auto;
        right: 0;
        line-height: 1.2em;
    }
    .language-select a {
        padding: 0 !important;
        text-transform: uppercase;
        font-size: 20px;
        color: #fff;
    }
    .language-select .dropdown-menu {
        top: 51px !important;
        border-radius: 0;
        padding: 5px !important;
        min-width: 70px;
    }
    .language-select:hover .dropdown-menu {
        display: block !important;
    }
    header .main-nav .main-nav-item > .nav-link:hover:after,
    .right-menu .secondary-menu > ul > li > a:hover:after {
        display: none;
    }
    header .dropdown:hover .dropdown-menu {
        display: none;
    }
    /*.vehicles-item .vehicle-image-wrapper img {*/
    /*    max-width: 400px;*/
    /*}*/
    /*.slim-slider-row {*/
    /*    flex-direction: column-reverse;*/
    /*}*/
    .slim-slider {
        height: 100%;
        min-height: 300px;
    }
    .slim-slider .slick-slide {
        background-position: center !important;
        background-size: contain !important;
        background-repeat: no-repeat;
    }
    .slim-slider-row .module-image {
        /*max-width: 200px;*/
        margin: auto;
        margin-bottom: 20px;
    }

    /* PRODUCT PAGE ORDER COLS*/
    .order1 {
        order: 1;
    }
    .order2 {
        order: 2;
    }
    .order3 {
        order: 3;
    }
    .order4 {
        order: 4;
    }
    .order5 {
        order: 5;
    }
    .order6 {
        order: 6;
    }
    .order7 {
        order: 7;
    }
    .order8 {
        order: 8;
    }
    .order9 {
        order: 9;
    }
    .order10 {
        order: 10;
    }
    .order11 {
        order: 11;
    }
    .order12 {
        order: 12;
    }
    .order13 {
        order: 13;
    }
    .order14 {
        order: 14;
    }
    .order15 {
        order: 15;
    }
    .order16 {
        order: 16;
    }
    .order17 {
        order: 17;
    }
    .order18 {
        order: 18;
    }
    .order19 {
        order: 19;
    }
    .order20 {
        order: 20;
    }
    .order21 {
        order: 21;
    }
    .order22 {
        order: 22;
    }
    .order23 {
        order: 23;
    }
    .order24 {
        order: 24;
    }
    .prod-specs-row .col-lg-8,
    .prod-specs-row .col-lg-6,
    .prod-specs-row .col-lg-4 {
        margin-bottom: 30px;
    }
    .prod-specs-row .col-lg-4 .title,
    .prod-specs-row .col-lg-4 h3,
    .prod-specs-row .col-lg-6 .title {
        font-size: 24px;
    }
    .prod-specs-row .col-lg-8,
    .prod-specs-row .col-lg-6,
    .prod-specs-row .col-lg-6 .module-text {
        padding: 0;
    }
    .section-title {
        font-size: 35px;
    }
    .product-color-gallery .module-gallery figure a h3 {
        font-size: 22px;
    }
    .mb-5 {
        margin-bottom: 2em !important;
    }
    .mt-5 {
        margin-top: 2em !important;
    }

    /* ABOUT US */
    .about-title h2 {
        text-align: left !important;
    }
    .about-title h2 span {
        padding-left: 0;
    }
    .history {
        margin-left: 25px;
        padding: 40px 0 0 40px;
    }
    .history:before {
        left: 0;
    }
    .history .history-item:nth-child(odd) .history-label h3:before {
        left: auto;
        border-left: 10px solid #ce352d;
        border-right: initial;
    }
    .history .history-label {
        left: 0;
    }
    .history-item {
        flex: 0 0 calc(100% - 15px);
        max-width: calc(100% - 15px);
        margin-left: 0;
    }
    .history-item p {
        font-size: 14px;
    }
    .history-item:not(:first-child) {
        margin-top: 50px;
    }
    .history .history-item:nth-child(even) {
        margin-left: 0;
    }
    body.header-overlay p {
        font-size: 14px;
    }

    /* CONTACT PAGE */
    .contact-form .form-group[class^="form-group item"] {
        flex-direction: column;
        align-items: flex-start;
    }
    .contact-form .form-group[class^="form-group item"] label {
        text-align: left;
    }
    .contact-form .item-acceptance {
        padding-left: 0px;
    }
    .contact-form .container {
        padding: 0 !important;
    }
    .gallery-page figure {
        flex: 0 0 50%;
        max-width: 50%;
        height: 150px;
    }

    .become-dealer-row .container {
        padding: 0 !important;
    }
}

@media only screen and (max-width: 768px) {
  .language-select {display:none;}
  .full-slider {
        margin-top: 52px;
    }
    .TreiSlides {
        min-height: 250px;
    }
    .TreiSlides .col-lg-8 {
        height: 180px;
        padding-right: 15px;
    }
    .TreiSlides .col-lg-8::after {
        display:none;
    }
    .TreiSlides .slick-next.slick-arrow {
        right: 0;
    }
    .col-lg-4.TwoSlides {
        position:relative;
        flex: 0 0 100%;
        max-width: 100%;
        display: flex;
        padding-left: 15px;
        clip-path: none;
    }
    .TwoSlides .module-image {
        padding: 5px 5px 0 0;
    }
    .TwoSlides .module-image:last-of-type {
        padding: 5px 0 0 0;
    }
    .hp-segway-row {
        padding: 20px 0;
    }
    .hp-segway-row .module.module-text h1 {
        font-size: 35px;
        margin-bottom: 15px;
    }
    .HomeIcons .icons .module-image {
        padding: 10px 5px;
    }
    .branduri .module-text h2 {
        font-size: 30px;
    }
        .contact-logo img {
        max-width: 150px;
        margin-bottom: 0;
    }
    .contact-form input, .contact-form textarea {
        width: 100%;
    }
    .contact-form .btn-section {
        text-align: center;
    }
    .contactZ1 .tab2 .module-text {
        border-bottom: 1px solid #ccc;
        border-right:0;
    }
    .ctntab {
        max-width: 100%;
    }
    .despre_z1 .z1txt {
        padding: 20px 0;
    }
    .despre_z1 h2 {
        font-size: 30px;
    }
    .despre_z1 .module.module-video {
        position: relative;
        top: 0;
    }
    .row.builder-row.despre_z2 {
        margin-bottom: 0;
    }
    .row.builder-row.despre_z3 {
        margin-bottom: 0;
    }
    .despreTxt {
        max-width: 100%;
        margin: auto;
    }
    .despreFlex {
        position: relative;
        bottom: inherit;
        flex-direction: column;
    }
    .despre_z4 h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .despre_z4 p {
        margin-bottom: 0;
    }
    .row.builder-row.despre_z5 {
        margin-bottom: 0;
        margin-top: 20px;
    }
    .despreFlex.FloatTop {
        top: 0;
    }
    .despre_z6 .module.module-image {
        margin-bottom: 0;
    }
    .despre_z6 h2 {
        font-size: 30px;
        margin-bottom: 15px;
    }
    .despre_z6 {
        margin-bottom: 20px;
    }
    .MainPadTop {
        padding-top: 60px;
    }
    .MainPadTop.CategoryTop {
        padding-top: 20px;
        margin-top: 0;
    }
    h1 {
        font-size: 30px;
    }
    .vehicles-item .vehicle-image-wrapper img {
        max-width: 100%;
    }
    #accordion.specs table tr td {
        padding: 12px 5px;
        font-size: 15px;
    }
    .branduri .brandsLogo {
        flex-wrap: wrap;
    }
    .branduri .brandsLogo .module-image {
        max-width: 48%;
        flex: 48%;
    }
    .MainPadTop.AccesoriiPage {
        padding-top: 60px;
    }




}

@media(max-width: 640px) {
    .hp-segway-row .module.module-image img {
        width: 100%;
    }
    header #main-navbar .container {
        padding: 0;
    }

    .product-menu .col-lg-3 {
        margin-right: 20px;
    }
    .product-menu a {
        padding: 10px 0 !important;
        font-size: 15px;
    }
    .product-menu a:before {
        font-size: 15px;
    }
    .prod-specs-row .col-lg-4 {
        padding: 0;
    }



    .product-gallery figure {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .footer-row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    .footer-row .col-lg-4:first-child {
        order: 3;
        /* width: 100%; */
    }
    .footer-row .col-lg-4:nth-child(2) {
        order: 2;
    }
    .footer-row .col-lg-4:nth-child(3) {
        order: 1;
        margin-bottom: 1em;
    }
   .product-color-gallery .module-gallery {
        flex-direction: column;
    }

   .blog-header {
     height: 30vh;
     min-height: 200px;
     padding-top: 52px;
   }
   .blog-header-inner {
     column-gap: 20px;
     justify-content: space-between;
   }
   .blog-header-inner .atv img {
     width: 150%;
   }
   .blog-header-inner .atv.left {
     display: none;
   }

   .blog-category-item-wrapper {
     margin-bottom: 50px;
   }
   .blog-category-item-wrapper:last-child {
     margin-bottom: 0;
   }

   [data-pagetype="posts"] main {
     padding-top: 70px;
   }
   .single-post-header-inner {
     height: 45vh;
   }
   .single-post-header {
     margin-bottom: 30px;
   }


}

@media(max-width: 400px) {
    .product-menu a {
        font-size: 12px;
    }
    .product-menu a:before {
        margin-right: 5px;
    }
}
