@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;
    }
    .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;
    }
    .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: 100%;
        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(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;
    }


    .full-slider {
        height: 40vh;
        min-height: 15rem;
    }
    .main-content.type-vehicles .full-slider {
        height: 25vh;
        min-height: 13rem;
    }
    .full-slider .slick-list {
        height: 100% !important;
    }
    .full-slider > div {
        height: 100% !important;
    }
    .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;
    }
}

@media(max-width: 400px) {
    .product-menu a {
        font-size: 12px;
    }
    .product-menu a:before {
        margin-right: 5px;
    }
    
    .vehicles-item .vehicle-image-wrapper img {
        width: 100%;
        transform: translate3d(10px, 0px, 0px);
    }
    .vehicles-item:hover .vehicle-image-wrapper img {
        transform: translate3d(-10px, 5px, 5px);
    }
}