/************************
   NAVBAR BACKGROUND
************************/
.navbar-default .navbar-nav > .open > a, 
.navbar-default .navbar-nav > .open > a:hover, 
.navbar-default .navbar-nav > .open > a:focus {
    background-color: var(--clr-primary-200) !important;
    background: var(--clr-primary-200) !important;
}

.dropdown-menu > li > a:hover, 
.dropdown-menu > li:hover > a, 
.dropdown-menu > li > a:hover, 
.dropdown-menu > li > a:focus, 
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > .active > a, 
.navbar-default .navbar-nav > .active > a:hover, 
.navbar-default .navbar-nav > .active > a:focus {
    background-color: var(--clr-primary-200) !important;
    background: var(--clr-primary-200) !important;
    color: #eee;
}

/************************
   Modal
************************/
.modal {
    z-index: 9999;
}
span#ctl00_cphScriptBottom_ctl00_phDisclaimer {
    font-size: 14px;
}

/************************
   VDP
************************/
.pageid-ivd .vehicle-description {
    font-size: 18px;
}
.pageid-ivd .internetlabel,
.pageid-ivd .downlabel {
    font-size: 18px!important;
}
.pageid-ivd .internetvalue,
.pageid-ivd .downvalue {
    font-size: 24px!important;
    color: #33d533 !important;
}

@media(min-width: 768px) {
.pageid-ivd .specifics-container .specifics-label {
    margin-right: 12px;
}
.pageid-ivd .internetlabel,
.pageid-ivd .downlabel {
    font-size: 24px!important;
}
.pageid-ivd .internetvalue,
.pageid-ivd .downvalue {
    font-size: 32px!important;
}
}

.pageid-dld .location::before {
    content: "LBSi Automotive ";  
    font-weight: bold; 
    margin-right: 4px;  
    display: block;
}

/************************
   FORM
************************/
.form-control.form-control {
    height: 50px;
}
.trade-in-form .selectedItem-active {
   color: black;
}

ul {
  list-style-type: disc; 
}


/************************
   NAVBAR LOGO
************************/
@media(min-width: 768px) {
.navbar-fixed-spacer {
    height: 68px;
}
}

/************************
   HOMEPAGE MISC
************************/
.learn-more-container {
  text-align: center;
}

.learn-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  text-decoration: none;
  color: #007bff; 
}

.learn-more:hover {
  text-decoration: none; 
}

.learn-more i {
  transition: transform 0.3s ease;
}

.learn-more:hover i {
  transform: translateX(6px); /* move chevron right */
}

/************************
   HERO HOMEPAGE
************************/
@media(min-width: 768px) {
.page-content-element:has(.hero-ql-bttns) {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)!important;
    width: max-content;
}
.carousel-fade .carousel-control {
    font-size: 34px;
}
}

/************************
   NAVBAR LOGO
************************/
@media(min-width: 768px) {
a.navbar-brand > img {
    max-width: 395px !important;
    padding: 0px;
}
}

@media (min-width: 768px) and (max-width: 1199.98px) {
a.navbar-brand > img {
    max-width: 300px !important;
}
}

@media (max-width: 767.98px) {
    .navbar-header a.navbar-brand img {
        padding: 8px 0px;
    }
}

.inv-badges {
    top: 3rem !important;
}


/************************
   INVENTORY LIST DESIGN
************************/
/* search form */
.inventory-search .search-form-submit {
    min-height: 50px;
    width: 100%;
    font-size: 16px;
}

/* down text */
.pricevalue1.price-sold b::after {
  content: " / Down";
  margin-left: 0.25rem;
  font-weight: 400;
  font-size: 0.95em;
  color: #fff;
  white-space: nowrap;
}

.inv-motorhaus:has(.grid-action-footer) {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.row.grid-action-footer {
    position: relative;
    margin-top: auto;
}

.inventory-price-column {
    margin: 0px!important;
    min-height: auto!important;
}

.price-note-cont .inventory-price-container {
    min-height: max-content!important;
    padding: 0px;
}
.price-note-cont .pricenote {
    margin-bottom: 0px!important;
    padding-top: 0px!important;
}

.inventory-price-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  min-height: 63px;
  padding: 10px;
  gap: 0;
}

/* INTERNET PRICE GROUP */
.inventory-price-container > div:nth-child(1),
.inventory-price-container > div:nth-child(2) {
  grid-column: 1;
}

.inventory-price-container > div:nth-child(1) {
  grid-row: 1;
  text-align: center;
  margin-bottom: 4px;
}

.inventory-price-container > div:nth-child(2) {
  grid-row: 2;
  text-align: center;
  font-size: 20px !important;
  font-weight: bold;
}

/* DOWN PAYMENT GROUP */
.inventory-price-container > div:nth-child(3),
.inventory-price-container > div:nth-child(4) {
  grid-column: 2;
}

.inventory-price-container > div:nth-child(3) {
  grid-row: 1;
  text-align: center;
  margin-bottom: 4px;
}

.inventory-price-container > div:nth-child(4) {
  grid-row: 2;
  text-align: center;
  font-size: 20px !important;
  font-weight: bold;
}

/* MOBILE FIXED */
@media (max-width: 600px) {
  .inventory-price-container {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .inventory-price-container > div {
    width: 100% !important;
    text-align: center !important;
    margin-bottom: 8px;
  }
}

/* HANDLE CASE: Only Internet Price, no Down Payment */
.inventory-price-container:not(:has(div:nth-child(3))) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inventory-price-container:not(:has(div:nth-child(3))) > div {
  text-align: center !important;
  margin-bottom: 6px;
}


.inventory-price-container > div:nth-child(2), .inventory-price-container > div:nth-child(4) {
    margin: 0 2rem;
}

.inventory-price-container > div:nth-child(2) > b, .inventory-price-container > div:nth-child(4) > b {
    color: #33d533 !important;
}

.inventory-price-container:not(:has(div:nth-child(3))) > div {
    padding: 0 2rem;
}