@media (min-width: 768px){
ul.nav.navbar-nav {
    position: absolute;
    bottom: 0;
    left: 45%;
}
}
a.navbar-brand {
    display: none;
}
a.vehicle-panel {
    background: #212121 !important;
}


.palette-bg2.inventory-header.vehicles-found-header {
    display: none;
}

.element-container.element-type-vehicledetails {
    margin-top: -8em!important;
}

div.footer-container {
    border-top: 2px solid #212121;
    border-bottom: 2px solid #212121;
}

div.footer-container, div.page-bottom, div.pagetitle-container .container, .pagetitle-container .container-fluid, .page-content .container, .page-content .container-fluid {
    background-color: #212121;
}


.element-heading h4:after {
   display:none;
}


.element-heading h4:after {
display:none;

}


.element-heading h4 {

    color: #fff;
    border-bottom: none;
}


div#navbar {
    position: relative;
    margin-top: 2em;
}


nav.navbar.navbar-default {
    padding: 2% 0 1%;
}


.vehicle-panel-headline, .vehicle-panel-label {
    font-size: 15px;
    padding-top: 8px;
    padding-bottom: 20px;
    color: white;
display:none;
}

nav.navbar.navbar-default {
    padding: 2% 0 1%;
    display: none;
}

.palette-bg2 {
    background-color: #212121;
}


.thumbnail-overlay-car-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 80px 8px 15px;
    font-size: 14px;
    text-wrap: nowrap;
    line-height: .5;
    color: white;
    background-image:none;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    font-family: 'Roboto', Arial;
}

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    transition-timing-function: var(--swiper-wrapper-transition-timing-function, initial);
    box-sizing: content-box;
    gap: 30px;
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    .swiper-wrapper {
        gap: 0; /* Remove gap on mobile devices */
    }
}

.inventory-panel img:hover {
    transform:none;
}

.borderhome {
  border-top: 7px solid #C6C6C6;
  width: 66%;
  margin: 0 auto;
}

h1.pagetitle {
    background: none;
    margin-top: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    text-align: center; /* Center the text */
    display: flex;
    justify-content: center; /* Center the h1 element horizontally if needed */
padding-bottom:20px;
}

.btn {
    display: inline-block; /* Ensures the width fits the content */
    margin: 0 auto; /* Centers the button horizontally */
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.center {
    text-align: center; /* Add this class to the parent element to center the button */
}

.btn-primary {
    color: #000000;
    background-color: #C6C6C6;
    border-color: #ffffff !important;
    /* font-weight: 900; */
}

.btn-primary:hover {
    color: #fff;
    background-color: #ed1d23;
    border-color: #204d74;
}

.inv-badge {
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    display: none;
}