@media only screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {

    .m-site-header {

    }

    .m-car-maker-selector .m-cars-label svg {

    }

    .m-site-header .navbar-brand,
    .m-site-header .navbar-brand > img,
    .m-site-header .navbar-brand > svg {
        width: 120px;
    }

    body.home-page .m-car-selector h1,
    body.home-page .m-car-selector h2 {
        margin: 0 0 15px 0;
    }

    .m-car-maker-selector .m-cars-label {
        height: 100px;
    }

    .m-model-select ul.m-columnized-list > li {
        width: 140px;
    }

    .m-products-view > ul:not(.m-alphabet):not(.m-columnized-list) > li,
    .m-model-select > ul:not(.m-alphabet):not(.m-columnized-list) > li {
        flex: 0 0 19%;
        margin-right: 15px;

    }

    .m-car-selector li[class^="ln-"],
    .m-car-selector li a,
    .m-car-selector li a span {
        /* text-align: center; */
    }

    .m-car-selector li a span {
        /*max-width: 160px;*/
    }

    .m-car-selector .m-products-view ul.m-products li a,
    .m-car-selector .m-products-view ul.m-products li a > span {
        font-size: 12px;
    }

    .m-year-select li > a {
        height: 48px;
        width: 48px;
    }

    body.tablet .m-filter-info li {
        font-size: 13px;
    }

    .footer {
        padding-top: 60px;
    }

    .copyright {
        margin-top: 60px;
    }

    @media (orientation: portrait) {

        .m-filter, .m-filter-reset {
            max-height: 500px;
        }

        .m-results-content .m-sort-view {
            margin-top: 0;
            justify-content: flex-end;
        }

        html.mtr-layout body.tablet {
            padding-bottom: 32px;
        }

        body.tablet .m-home-elements .m-cta {
            height: 180px;
        }

        body.tablet .m-carbg {
            background-position: -450px 0;
        }

        body.tablet .m-car-list li > a,
        body.tablet .m-car-list li h2.m-car-maker-selector a span {
            font-size: 9px;
        }

        body.tablet .m-product-title {
            font-size: 12px;
        }

        body.tablet .m-product-list .m-product-item-img img {
            width: 100%;
        }

        body.tablet .asigurari-img {
            margin-bottom: 40px;
            margin-left: 10px;
            margin-top: -40px;
        }

        body.tablet .reprezentant-left {
            padding-left: 20px;
            padding-top: 100px;
            padding-right: 35px;

        }
    }

    @media (orientation: landscape) {

        .m-site-header .navbar-nav .nav-link {
            font-size: 13px;
        }

        html.mtr-layout body.tablet {
            padding-bottom: 380px;
        }

        body.tablet .m-mobile-breadcrumb-list {
            display: none;
        }

    }

    @media only screen and (min-device-width: 1024px) {

        .m-selected-elements {
            display: none;
            visibility: initial;
        }

    }

    .rabla-offercontent {
        padding: 0 55px 0 35px;
    }

    .rabla-image {
        background-size: 135%;
        background-color: white;
    }

    .m-offer{
        margin-top: 30px;
    }

    .asigurari-img {
        margin-bottom: 80px;
        margin-left: 5px;
        width: 250px;
        margin-top: 10px;
        height: 80px;
    }

    .reprezentant-middle-block {
        padding: 0 0 0 0;
        margin-top: 50px;
    }

    .asigurari-image{
        background-color: white;
        background-image: url(../img/dez2.jpg);
        background-repeat: no-repeat;
        background-size: 170%;
        background-position: left;
        z-index: -1;
    }
}

@media only screen and (min-device-width: 768px) and (-webkit-min-device-pixel-ratio: 3) {

    body.tablet .m-mobile-breadcrumb-list {
        display: none;
    }

}

.m-product-title > h1,
.m-product-title > h5 {
    text-align: center;
    margin: 0;
}

.m-product-title > h1,
.m-product-title > h5 {
    margin: 5px 0;
}

.m-product-title > h1 {
    padding: 0 0 6px;
}

.m-product-top > .container > .row > div {
    margin: 10px 0;
}

.m-prod-details .m-brand-info.m-product-details-btn-cont {
    min-height: auto;
    text-align: center;
    width: 100%;
}

.m-description-counselors .m-prod-details.card {
    padding: 0;
}


.m-prod-slider-nav > .card-body > div#m-product-img-thumbnails {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (orientation: portrait) {

    .m-prod-slider-nav > .card-body > div {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 10%;
        flex: 0 0 10%;
        max-width: 10%;
    }

    .m-alphabet-switcher {
        display: none !important;
    }

    @media (max-device-width: 1023px) {

        .m-product-top {
            padding-top: 50px;
        }

        #m-search-form .m-search-form-list,
        .m-search-btn {
            display: none !important;
        }

        .m-model-select > ul:not(.m-alphabet):not(.m-columnized-list) > li:nth-child(2n+1),
        .m-model-select ul.m-columnized-list > li:not(:last-child),
        .m-products-view > ul:not(.m-alphabet):not(.m-columnized-list) > li:nth-child(2n+1),
        .m-products-view ul.m-columnized-list > li:not(:last-child) {
            margin-right: 20px;
            width: 22%;
        }

        .m-products li ul li {
            border-top: 1px solid #E6EBF1;
        }

    }

}

@media (orientation: landscape) {

    .m-prod-slider-nav > .card-body > div {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 7%;
        flex: 0 0 7%;
        max-width: 7%;
    }

}

@media all and (device-width: 768px) and (device-height: 1024px) and (orientation:portrait) {
    .reprezentant-middle-block{
        padding: 0 0 0 50px;
        margin-top: 50px;
    }

    body.tablet .m-carbg{
        background-position: -220px 0;
    }
}