@media (min-width: 1200px) {
    .bg-red {
        background: none;
    }
}

@media (max-width: 1199px) {
    header nav .nav-item .nav-link {
        font-size: 14px;
        line-height: 20px;
    }

    h1 {
        font-size: 38px;
        line-height: 44px;
    }

    h2 {
        font-size: 26px;
        line-height: 32px;
    }

    .header_mid a.cta,
    .banner aside a.cta {
        max-width: 150px;
    }

    .reg_sec .main .main_inner .main_input input {
        font-size: 20px;
        line-height: 26px;
    }

    .services .card-body.d-flex,
    .services .card-body.d-flex a {
        display: block !important;
    }

    .post-date {
        right: 10px;
    }

    .latest-news .card-body h5 {
        max-width: 85%;
    }

    .pointer {
        width: auto;
    }

    .pointer:before,
    .pointer:after {
        display: none;
    }

    .bg-red {
        background: none;
    }

    .signup .btn-primary {
        font-size: 24px;
        line-height: 30px;
    }

    #mixedSlider .MS-content .item p {
        font-size: 14px;
        line-height: 20px;
    }

    .m-auto {
        margin-left: 0px !important;
    }

    .makes .col-xl-3 {
        -ms-flex: 0 0 25% !important;
        flex: 0 0 25% !important;
        max-width: 25% !important;
    }
}

@media (max-width: 991px) {
    header .navbar-nav .nav-link {
        border-bottom: 1px solid #ee761c;
    }

    header .logo {
        position: static !important;
    }

    header nav .navbar-nav .nav-item:nth-child(6),
    header nav .navbar-nav .nav-item:nth-child(7) {
        display: none !important;
    }

    header a.active:before {
        display: none;
    }

    header nav picture img {
        width: 125px;
    }

    .banner span {
        font-size: 22px;
        line-height: 28px;
    }

    .reg_input input {
        font-size: 30px;
        line-height: 36px;
    }

    .banner .bullets p {
        font-size: 15px;
        line-height: 22px;
    }

    .banner .bullets p.active:before {
        height: 70px;
    }

    h1 {
        font-size: 30px;
        line-height: 36px;
    }

    h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .makes .col-xl-3 {

        -ms-flex: 0 0 33.333333% !important;
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }

    .content-detail h2:not(:first-child) {
        font-size: 22px;
        line-height: 28px;
    }

    .header_top {
        background: #2e3967;
    }

    .header_bottom {
        background: #ef3131;
    }

    .why-choose-us .col-xl-4 {
        position: static;
    }

    nav .navbar-nav .nav-item .nav-link:after {
        bottom: 1px;
    }

    .review-deail .card .customer:after,
    .review-deail .card blockquote:before,
    .review-deail .card blockquote:after {
        display: none;
    }

    .bg-red {
        background: #ef3131;
    }

    .signup .btn-primary,
    .signup form h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .reviews_sec {
        min-height: 225px;
    }

    .reg_sec {
        margin-top: 0px;
        min-height: 322px;
        margin-bottom: 10px;
    }

    .banner {
        min-height: 442px;
    }

    .banner .row.mh {
        min-height: 372px;
    }

    .signup .card-bullets .list-group-flush .list-group-item {
        font-size: 16px;
        line-height: 22px;
        text-indent: -27px;
    }

    .signup:before {
        width: 56%;
    }

    .signup .list-inline-item:not(:last-child) {
        margin-right: 0 !important;
    }

    .signup .list-inline-item picture img {
        max-width: 75%;
    }

    .signup button:before {
        display: none;
    }
}

@media (max-width: 767px) {
    header .logo img {
        width: inherit !important;
        box-shadow: none !important;
    }

    .banner span {
        font-size: 16px;
        line-height: 22px;
    }

    .banner .bullets p.active:before {
        height: 76px;
        margin-top: -27px;
    }

    .banner {
        min-height: inherit;
    }

    .banner .row.mh {
        min-height: inherit;
    }

    .banner .hvr-radial-out:before {
        display: none;
    }

    .reg_input input {
        font-size: 22px;
        line-height: 28px;
        min-height: 63px;
    }

    .widget form .form-control,
    .widget form .select2-container .select2-selection--single,
    .widget form .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 35px !important;
    }

    .widget form .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 35px !important;
    }

    h1 {
        font-size: 26px;
        line-height: 32px;
    }

    h2 {
        font-size: 24px;
        line-height: 30px;
    }

    h3,
    .banner h2 {
        font-size: 20px;
        line-height: 26px;
    }

    h4,
    .h4,
    h5,
    h6,
    .why-choose .card .card-body .card-title,
    .services h3 {
        font-size: 18px;
        line-height: 24px;
    }

    .content-detail h2:not(:first-child) {
        font-size: 18px;
        line-height: 24px;
    }

    .reg_sec {
        margin-top: 0px;
    }

    .reviews_sec {
        min-height: 200px;
    }

    .content-detail p:first-child img {
        float: none !important;
        display: block;
        margin: 20px auto !important;
    }

    .widget_sec {
        margin-bottom: 10px;
    }

    .header_mid .col-xl-3:nth-child(3),
    .header_mid .col-xl-3:nth-child(4) {
        display: none;
    }

    .banner .bullets {
        position: static !important;
    }

    .makes .col-xl-3 {

        -ms-flex: 0 0 50% !important;
        flex: 0 0 50% !important;
        max-width: 50% !important;
    }

    .content-detail h2 span:before {
        top: 30px;
    }

    .contact-box .desc p {
        font-size: 14px;
        line-height: 20px;
    }

    .about picture:before,
    .about picture img {
        width: 75%;
    }

    .about picture:before {
        left: 60px;
    }

    .thanks picture img {
        width: 40%;
    }

    .signup:before {
        width: 100%;
        /* -webkit-transform: skewX(0deg); */
        transform: skewX(0deg);
        -ms-transform: skewX(0deg);
        -webkit-transform: skewX(0deg);
    }

    .signup .card-bullets:before {
        display: none;
    }

    .signup .list-inline-item picture img {
        max-width: 100%;
    }

    .signup form button {
        max-width: 300px;
        margin: auto;
    }

    .signup .card-bullets .list-group-flush .list-group-item {
        text-indent: 0;
    }

    .signup .card-bullets .ssl-secure picture {
        top: 0;
        position: static !important;
    }

    .signup .bmw-logo picture img {
        max-width: 70px;
    }
}

@media (max-width: 575px) {
    header .navbar-nav .nav-link {
        font-size: 14px;
        line-height: 20px;
    }

    header nav picture img {
        width: 160px;
    }

    header .logo {
        top: -8px;
    }

    h1 {
        font-size: 22px;
        line-height: 28px;
    }

    h2 {
        font-size: 20px;
        line-height: 26px;
    }

    h3,
    .banner h2 {
        font-size: 18px;
        line-height: 24px;
    }

    /*    h4,h5,h6{
            font-size: 16px;
            line-height: 22px;
}*/
    .content-detail h2:not(:first-child) {
        font-size: 16px;
        line-height: 22px;
    }

    .header_top {
        height: auto;
    }

    .widget {
        top: 0px;
    }

    .content-detail .col-double-xs-12 img {
        display: block;
        margin: 20px auto !important;
    }

    .signup .btn-primary {
        font-size: 15px;
        line-height: 21px;
    }

    .reg {
        max-width: 350px;
    }

    .banner .bullets p {
        font-size: 16px;
        line-height: 30px;
    }

    .banner .bullets .padding-0 {
        padding: 0 !important;
    }

    .banner .bullets p.active:before {
        height: 35px;
        margin-top: -3px;
        transform: none;
    }

    .widget form button {
        max-width: 210px;
        margin: auto !important;
    }

    .pricing-table-box .pricing-table-box-item .pricing-table-box-item-price p {
        font-size: 22px;
        line-height: 28px;
    }

    .error picture img {
        max-width: 40%;
    }

    .about picture:before {
        left: 50px;
    }

    .signup form .form-control,
    .signup .select2-container--default .select2-selection--single .select2-selection__rendered {
        padding-left: 35px !important;
    }

    .signup form .form-group:before {
        top: 12px;
        font-size: 20px;
    }

    .signup .select2:before {
        top: 10px;
        left: 7px;
        width: 30px;
        height: 23px;
        background-size: contain !important;
    }

    .signup form button {
        font-size: 18px;
        line-height: 24px;
    }

    .signup button:before {
        width: 20px;
        background-size: contain;
    }

    .popular-repair a .btn-link,
    .series-repair-detail .btn-link {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (max-width: 479px) {
    header .logo img {
        width: 85px !important;
    }

    header a.active {
        font-size: 16px;
        line-height: 22px;

    }

    header a svg {
        width: 16px !important;
        height: 16px !important;
    }

    .header_mid .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .header_mid a.cta,
    .banner aside a.cta {
        margin: auto !important;
    }

    .banner h1 br {
        display: none;
    }

    header nav picture img {
        width: 140px;
    }

    .reg_input input {
        min-height: 54px;
    }

    .contact-box p {
        padding-left: 0 !important;
    }

    .contact-box .input-group {
        font-size: 14px;
        line-height: 20px;
    }

    .footer-signup ul li.last-child {
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .header_mid .col-xl-3:nth-child(2),
    .header_top {
        display: none;
    }

    .banner {
        padding-top: 1.5rem !important;
    }

    .widget .col-6,
    .services .col-6,
    .popular-repair .col-6,
    .why-choose .col-6,
    .contact form .col-6,
    footer .footer-top-area .col-6,
    .signup form .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    h2 {
        font-size: 18px;
        line-height: 24px;
    }

    .makes .col-xl-3,
    .gallery-home .col-6 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .gallery picture img {
        width: 225px;
    }

    .content-detail h2 span:before {
        top: 22px;
    }

    .about picture:before,
    .about picture img {
        width: 90%;
    }

    .pricing-table-box .pricing-table-box-item .pricing-table-box-item-head,
    .pricing-table-box .pricing-table-box-text {
        padding: 10px 65px;
    }

    .contact .card .icon picture img {
        width: 27px;
    }

    .about picture {
        text-align: left !important;
    }

    .about picture:before {
        left: 0;
    }

    .signup .list-inline-item picture img {
        max-width: 75%;
    }

    .signup .ssl-secure picture img {
        max-width: 130px;
    }

    .signup .bmw-logo picture img {
        width: 75px;
    }

    .signup h3 {
        font-size: 15px;
        line-height: 23px;
    }

    .signup form button {
        max-width: 100%;
    }

    .signup form .form-control {
        height: auto;
        font-size: 14px;
    }

    .signup form .form-group:before,
    .signup .select2:before {
        top: 8px;
    }

    .signup .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 36px !important;
        font-size: 14px;
    }

    .signup .card-bullets .list-group-flush .list-group-item {
        font-size: 15px;
        line-height: 21px;
    }

    .signup .card-bullets .list-group-flush .list-group-item svg {
        width: 20px;
        height: 20px;
    }

    .select2-container--default .select2-results__option .select2-results__option,
    .select2-container--default .select2-results__group {
        font-size: 14px;
    }

    .signup .select2-container--default .select2-selection--single .select2-selection__arrow,
    .signup .select2-container .select2-selection--single {
        height: 36px !important;
    }

    .privacy article ul,
    .privacy article ol {
        margin-left: 1rem;
    }

    .signup .card-bullets {
        border: 4px solid #13274b;
    }
}