.HeaderTop a:nth-child(2) {
    padding-right: 10px;
}

@media screen and (max-width:1399.99px) {
    .navbar-brand img {
        width: 150px;
    }
    .AbBottomTxt h3,
    .NonPicBox h3,
    .AbBottomTxt h3 span,
    .NonPicBox h3 span {
        font-size: 32px;
    }

    .PartsTxt h3 {
        font-size: 20px;
    }
    .NonPicBox p {
        font-size: 16px;
    }
    .HmAboutLeft figure:nth-child(2) {
        top: -20px;
    }
    .HmAboutLeft figure:nth-child(3) {
        bottom: -40px;
    }
    .DetailBtnBox .btn-primary {
        font-size: 16px;
    }
}

@media screen and (max-width:1199.99px) {
    .navbar-brand img {
        width: 190px;
        margin-top: 21px;
    }
    .HeaderTop a:first-child {
        padding-right: 5px;
    }
    .HeaderTop a {
        padding-left: 10px;
    }
    .NonPicBox p {
        display: none;
    }
    .PartsTxt {
        padding: 1px 15px;
    }
    .SlidePic {
        width: 90%;
        margin: 0 auto;
    }
    .InnerBanner .SlidePic {
        width: 100%;
        margin: 0 auto;
    }
    .HeaderTop a:nth-child(2) {
        padding-left: 5px;
        padding-right: 5px;
    }
    .ThumbsBox img {
        height: 250px;
    }
}

@media screen and (min-width:992px) and (max-width:1199px) {
    #carousel-thumbs img {
        height: 75px;
    }
    .ProductBox.Parts h4 {
        font-size: 18px;
    }
}

@media screen and (min-width:768px) and (max-width:991px) {
    .HeaderTop p,
    .HeaderTop a {
        font-size: 14px;
    }
    #carousel-thumbs img {
        height: 70px;
    }
}

@media screen and (max-width:991px) {
    .SocisForMob {
        display: block;
        padding-top: 22px !important;
    }
    .ShowOverlay {
        position: relative;
        height: 100vh;
        overflow: hidden;
    }
    .ShowOverlay::before {
        width: 100%;
        height: 100%;
        content: '';
        left: 0;
        top: 0;
        background: rgba(0, 0, 0, 0.7);
        position: fixed;
        z-index: 9;
        animation: fadeIn 0.8s;
        -webkit-animation: fadeIn 0.8s;
        -moz-animation: fadeIn 0.8s;
        -o-animation: fadeIn 0.8s;
        -ms-animation: fadeIn 0.8s;
    }
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: none;
    }
    .navbar-nav>.dropdown>a::after {
        position: absolute;
        right: 18px;
        top: 17px;
    }
    .nav-item.dropdown.open .dropdown-menu {
        display: block;
    }
    .main-nav .container,
    .navbar {
        position: inherit;
    }
    section,
    footer {
        padding: 30px 0;
    }
    .main-nav .navbar-toggler {
        padding: 0;
        position: absolute;
        right: 20px;
        top: 65px;
    }
    .main-nav .HeaderNav.fixedheader .navbar-toggler {
        top: 35px;
    }
    .navbar-toggler-icon {
        position: relative;
    }
    header .fixednav {
        padding: 10px !important;
    }
    .navbar-nav {
        text-align: left !important;
    }
    header .fixedheader {
        width: 100%;
        left: 0;
    }
    .navbar-toggler-icon .bi.bi-list {
        color: var(--theme-color);
        font-size: 35px;
    }
    .container,
    .container-md,
    .container-sm {
        max-width: 100%;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu li a {
        padding-left: 25px;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        border: none;
        border-radius: 0;
        margin-left: 2px;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu li a,
    .main-nav .navbar .nav-item .nav-link {
        border-bottom: 1px solid #ccc;
        border-radius: 0;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu li:first-child a,
    .navbar-expand-lg .navbar-nav .dropdown-menu li:last-child a {
        border-radius: 0;
        border-bottom: 1px solid #ccc;
    }
    #navbarTogglerDemo {
        height: 100vh;
        overflow: auto;
        width: 300px;
        position: absolute;
        top: -2px;
        right: -305px;
        background: var(--black-color);
        z-index: 99;
        transition: all 0.4s;
        padding: 20px;
    }
    #navbarTogglerDemo.shownav {
        right: 0px;
    }
    #navbarTogglerDemo .CloseIcon {
        position: relative;
        padding: 10px 0;
        left: 90%;
        top: 0;
    }
    #navbarTogglerDemo ul {
        width: 100%;
    }
    .navbar.navbar-expand-lg.navbar-dark .MobLogo {
        width: 150px;
        margin: 0 auto;
    }
    .HeaderNav {
        padding: 0;
    }
    .navbar-brand img {
        height: 60px;
    }
    .HeaderNav.fixedheader {
        padding: 15px;
    }
    #navbarTogglerDemo ul {
        margin-bottom: 0;
    }
    .main_slider .carousel-caption {
        top: 60%;
        padding: 0;
    }
    #ShowNav,
    #HideNav,
    #ShowNav:focus {
        outline: none;
        border: none;
        box-shadow: none;
    }
    #HideNav .bi {
        color: var(--red-color);
    }
    #slider .TxtBox .h1 {
        font-size: 35px;
        line-height: 40px;
    }
    .main_slider .carousel-arrow {
        bottom: 30px;
    }
    .main_slider .carousel-arrow {
        bottom: 30px;
        left: 30px;
    }
    .main_slider .carousel-arrow.carousel-control-next {
        left: 95px;
    }
    .main_slider .carousel-arrow {
        width: 40px;
        height: 40px;
    }
    .main_slider .carousel-arrow .bi {
        font-size: 20px;
    }
    .HideTitle {
        font-size: 70px;
    }
    #slider .TxtBox h6 {
        font-size: 20px;
    }
    header {
        padding: 10px 0;
    }
    #ShowNav .bi {
        color: var(--white-color);
        font-size: 35px;
    }
    #slider.innerBanner .TxtBox {
        max-width: 400px;
    }
    #slider .TxtBox {
        width: 90%;
        margin: 0 auto;
    }
    .InnerBanner .SlidePic img {
        min-height: 300px;
        object-fit: cover;
    }
    /* other css */
    .LogoBox {
        position: inherit;
        text-align: left;
    }
    .HeaderTop {
        margin-top: 0;
        padding: 5px 0;
    }
    .main-nav .navbar-nav:last-child .nav-item:last-child a {
        margin-top: 10px;
    }
    .main_slider {
        padding-top: 180px;
    }
    .SlidePic {
        margin: 50px auto 0;
        width: 90%;
    }
    .PicBox img {
        width: 100%;
    }
    .fixedheader .navbar-brand img {
        margin-top: 0;
    }
    .fixedheader .navbar-brand img {
        width: 160px;
        height: auto !important;
    }
    .HeaderNav.fixedheader #navbarTogglerDemo {
        margin-top: 30px;
        padding-bottom: 10px;
    }

    .row.DetailBtnBox .col-lg-5 {
        margin-bottom: 15px;
    }
    .row.DetailBtnBox .col-lg-5,
    .row.DetailBtnBox .col-lg-7 {
        width: 100%;
    }
    .ProductBox.Parts h4 {
        font-size: 18px;
    }
    #slider .TxtBox .h1{padding: 0;}
    .main_slider .carousel-caption{top: 0;}
    .ServicesList{width: 200px;}
}

@media screen and (max-width:767px) {
    .MobAddress {
        display: none;
    }
    .PartsTxt h3 {
        font-size: 18px;
    }
    .HmAboutLeft {
        margin-top: 30px;
        padding-left: 0;
        text-align: center;
    }
    .h3 {
        font-size: 28px;
    }
    .HeaderTop .col-sm-12 {
        text-align: center !important;
    }
    .AbBottomTxt {
        padding-right: 0;
    }
    .navbar-brand img {
        width: 170px;
        margin-top: 10px;
    }
    .PartsTxt.NonPicBox a {
        position: relative;
        display: block;
        text-align: center;
        margin-top: 30px;
    }
    #HomeAbout {
        margin-top: 0;
    }
    .InnerBanner .SlidePic img {
        min-height: 250px;
    }
    .queckCont .col-sm-12 {
        margin-top: 30px;
    }
    .HmAboutLeft figure:nth-child(1) img {
        width: 75%;
    }
    .HmAboutLeft figure:nth-child(2) img,
    .HmAboutLeft figure:nth-child(3) img {
        width: 100%;
    }
    .ProductDetailRigt {
        margin-top: 20px;
    }
    .ProductBox.Parts h4 {
        font-size: 26px;
    }
    .main_slider {
        padding-top: 150px;
    }
    .ServicesList {
        width: 100%;margin-top: 0; margin-bottom: 30px;
    }
    .ServicesList.topSpace{position: inherit; top: 0;}
}

@media screen and (max-width:630px) {
    .ProductBox.Parts h4 {
        font-size: 23px;
    }
}

@media screen and (max-width:575px) {
    .PartsTxt.NonPicBox {
        position: relative;
        height: auto;
    }
    .NonPicBox p {
        display: block;
    }
    #slider .TxtBox .h1 {
        font-size: 25px;
    }
    .PartsTxt {
        padding: 10px 25px;
    }
    .queckCont .col-sm-6 {
        margin-top: 30px;
    }
    .queckCont .HalfBox .UpperBox {
        margin-top: 0;
        margin-bottom: 15px;
    }
    .queckCont .HalfBox .UpperBox .ContIconBox {
        margin-top: -40px;
    }
    .queckCont {
        margin-top: 0px;
    }
    .NewArrivedVehicles .ProductBox .ThumbsBox img {
        height: auto;
        width: 100%;
    }
    #carousel-thumbs img {
        height: 60px;
    }
    #myCarousel img {
        max-height: 100%;
        min-height: 100%;
    }
}

@media screen and (max-width:479px) {
    .HeaderTop a:nth-child(2) {
        font-size: 0;
    }
    .HeaderTop a:nth-child(2) .bi-telephone {
        font-size: 16px;
    }
    #carousel-thumbs img {
        height: 50px;
    }
    .GallerPage .thumb{height: 140px;}
}

@media screen and (max-width:375px) {
    #slider .TxtBox h6 {
        font-size: 18px;
    }
    #carousel-thumbs img {
        height: 40px;
    }
}