/* Purchase Price and Special Price section */
.availableinventory .inventory-price-container {
    min-height: auto !important;
    padding: 15px;
    box-sizing: border-box;
}

/* Purchase Price and Special Price labels */
.availableinventory .inventory-price-container .internetpricelabel,
.availableinventory .inventory-price-container .specialpricelabel {
    display: inline-block;
    width: 50%;
    text-align: left;
    font-size: 16px;
    vertical-align: middle;
}

/* Purchase Price and Special Price amounts */
.availableinventory .inventory-price-container .internetpricelabel + .pricevalue1,
.availableinventory .inventory-price-container .specialpricelabel + .pricevalue1 {
    display: inline-block;
    width: 49%;
    text-align: right;
    font-size: 26px !important;
    vertical-align: middle;
}

/* CarGurus badge - centered below the price */
.availableinventory .inventory-price-container .carguru {
    display: block;
    width: 100%;
    margin: 15px auto 0 !important;
    text-align: center;
}

/* Keep the CarGurus badge image centered */
.availableinventory .inventory-price-container .carguru img {
    display: block;
    height: 40px !important;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

/* Mobile adjustments */
@media screen and (max-width: 480px) {
    .availableinventory .inventory-price-container .internetpricelabel,
    .availableinventory .inventory-price-container .specialpricelabel {
        width: 45%;
        font-size: 14px;
    }

    .availableinventory .inventory-price-container .internetpricelabel + .pricevalue1,
    .availableinventory .inventory-price-container .specialpricelabel + .pricevalue1 {
        width: 54%;
        font-size: 22px !important;
    }
}




/* @@@ SPECIAL DEALS PAGE @@@@ */

.maininventory .inventory-price-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: auto !important;
}

/* Price labels */
.maininventory .inventory-price-container .pricelabel {
    width: 50%;
    text-align: left;
    font-size: 16px;
}

/* Price values */
.maininventory .inventory-price-container .pricevalue1 {
    width: 50%;
    text-align: right;
    font-size: 20px !important;
}

/* Initial Price */
.maininventory .inventory-price-container .beforeprice,
.maininventory .inventory-price-container .beforevalue {
    order: 1;
}

/* Discount */
.maininventory .inventory-price-container .yousave,
.maininventory .inventory-price-container .yousavevalue {
    order: 2;
}

/* Special Price */
.maininventory .inventory-price-container .specialpricelabel,
.maininventory .inventory-price-container .pricevalue1.accent-color1 {
    order: 3;
}


/* @@@ LINKS @@@@ */


.bottom-links li, .bottom-links a, .bottom-links span {
    font-size: 14px !important;
    display: none;
}

.pricevalue1.accent-color1 {
    font-size: 25px !important;
    font-weight: bold !important;
}

.pricevalue1.accent-color1 b {
    font-size: inherit !important;
    font-weight: bold !important;
}

.inventory-price-container {
    -ms-border-radius: 8px;
    border-radius: 0px;
    padding: 8px;
    text-align: center;
}

.inv-grid .pricelabel.internetpricelabel {
    color: #000000 !important;
}

.vdp-cus-price .carguru img {
    margin-bottom: 10px;
}

.vdp-cus-price .beforelabel,
.vdp-cus-price .speciallabel,
.vdp-cus-price .savingsLabel {
    font-size: 16px!important;
}


.vdp-cus-price .carguru::before {
  content: "+ Fees & Taxes ";
    display: block;
    padding-top: 10px;
}

.vdp-cus-price div:has(.savings.savingsValue):first-of-type::after {
  content: "+ Fees & Taxes ";
    display: block;
    padding-top: 10px;
    margin-bottom: 10px;
}

.vdp-cus-dis.element-outer-container {
    padding-top: 0px;
}

.vdp-cus-dis .element-heading-customhtml {
    display: none;
}

.vdp-cus-price .element-type-price,
.vdp-cus-price div:has(.beforelabel) {
    display: flex;
    flex-direction: column;
}

/* CUSTOM FOOTER
******************************/
.carget-footer-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 40px;
        background-color: #f4f4f4;
        max-width: 1400px;
        margin: 0 auto;
    }

    .carget-footer-column {
        flex: 1;
        min-width: 280px;
        padding: 15px;
    }

    .carget-footer-title {
        font-size: 18px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #111111;
    }

    .carget-contact-group {
        margin-bottom: 20px;
    }

    .carget-contact-heading {
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 8px;
        margin-bottom: 8px;
        font-size: 15px;
        color: #222222;
    }

    .carget-contact-row {
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        margin-bottom: 5px;
        max-width: 250px;
        color: #333333;
    }

    .carget-email-link {
        display: flex;
        align-items: center;
        gap: 8px;
        font-weight: 700;
        color: #222222;
        text-decoration: none;
        margin: 20px 0;
        font-size: 15px;
    }

    .carget-email-link:hover {
        text-decoration: none;
    }

    .carget-connect-section {
        margin-top: 30px;
    }

    .carget-social-row {
        display: flex;
        gap: 15px;
        margin: 10px 0 20px 0;
    }

    .carget-social-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        background-color: transparent;
        color: #c82333;
        text-decoration: none;
        font-size: 20px;
    }

    .carget-social-btn:hover {
        text-decoration: none;
    }

    .carget-hours-table {
        list-style: none;
        font-size: 14px;
        margin-top: 20px;
        margin-bottom: 30px;
        max-width: 280px;
        padding: 0;
    }

    .carget-hours-table li {
        display: flex;
        justify-content: space-between;
        margin-bottom: 6px;
    }

    .carget-status-indicator {
        height: 8px;
        width: 8px;
        background-color: #4CAF50;
        border-radius: 50%;
        display: inline-block;
        margin-right: 6px;
    }

    .carget-address-text {
        font-size: 14px;
        line-height: 22px;
        margin-bottom: 15px;
        max-width: 280px;
        color: #333333;
    }

    .carget-action-button {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        background-color: #c82333;
        color: #ffffff;
        padding: 12px 20px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 700;
        font-size: 14px;
        border: none;
        cursor: pointer;
        width: 280px;
    }

    .carget-action-button:hover {
        text-decoration: none;
    }

    .carget-map-column {
        position: relative;
        background-color: #e5e3df;
        min-height: 400px;
        border-radius: 4px;
        overflow: hidden;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
        padding: 20px;
    }

    .carget-map-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carget-map-floating-pin {
        position: absolute;
        bottom: 160px;
        left: 200px;
        background-color: #c82333;
        color: #ffffff;
        padding: 8px 15px;
        border-radius: 4px;
        font-weight: 700;
        font-size: 13px;
        box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
        display: flex;
        align-items: center;
        gap: 8px;
        z-index: 2;
        text-decoration: none;
    }

    .carget-map-floating-pin:hover {
        text-decoration: none;
    }

/* FOOTER
******************************/
div.footer-container {
        background-color: #f4f4f4!important;
}
div.page-bottom {
        background-color: #f4f4f4!important;
}
.bottom-links li,
.bottom-links a,
.bottom-links span {
    font-size: 14px!important;
}

/* VDP
******************************/
.inventory-price-container {
    padding: 20px;
}

.btn-link,
.show-more {
    font-size: large;
    margin-inline: auto;
    text-align: center;
    display: block;
    margin: 20px;
    text-decoration: underline;
color: #337ab7;
}

.vehicle-panel-headline, .vehicle-panel-label {
    text-align: center;
    padding-bottom: 10px;
}

.pageid-ivd h4 {
    font-size: x-large!important;
}
.pageid-ivd h5 {
    font-size: large!important;
}

.pageid-ivd .sticky-column {
    border: 1px solid #d3d3d3;
    border-radius: 5px;
    padding: 40px 20px;
}

.vehicle-links-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.vehicle-link a.btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    width: 100%;

    font-size: 16px;
    font-weight: 600;
}

.pageid-ivd .internetvalue {
    font-size: 32px!important;
}
.pageid-ivd .internetlabel {
    font-size: 24px!important;
}

.vdp-25-1-header .creditapp {
    background-color: #e52024;
    border-color: #e52024;
    color: #fff;

    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    margin-top: 17px;
}
@media(max-width: 767.98px) {
.pageid-ivd h1.pagetitle {
    font-size: 32px!important;
}
}

/* HERO
******************************/
.hero-row {
    background-position: center;
}

.hero-row .browse-inventory-image a {
   color: #fff;
}
.hero-row h4 {
    color: #fff!important;
}
.hero-row a.quicklinkbutton.quicklinkbutton {
    background: rgb(165, 32, 32);
    background: linear-gradient(90deg, rgba(165, 32, 32, 1) 0%, rgba(135, 20, 20, 1) 100%);
    color: #fff;
}
.quicklinkbutton:hover.buttoncolor-white_red, 
.quicklinkbutton:focus.buttoncolor-white_red {
    background-color: #fff !important;
    border-color: #a52020;
}

@media(min-width: 768px) {
hero-row .container {
    padding: 60px 0px;
}
}

/* INVENTORY LIST
******************************/
/*.palette-bg2.inventory.clearfix .col-sm-3.col-lg-2.col-xl-2 {
    max-width: 1px;
}*/

.inv-badges {
    z-index: 3;
}

.inventory_menuoptions,
.btn-group:has(.inventory_menuoptions) {
    width: 100%!important;
}

.inventory-list-container .flex-item .inventory-panel.palette-bg2 {
    background-color: transparent;
}

.pageid-ivi .inventory-details {
    flex-direction: column;
    gap: 8px;
}

.pageid-ivi .inv-list .inventory-price-container .pricevalue1.accent-color1, 
.pageid-ivi .inv-list .inventory-price-container .phonenumber.accent-color1 {
    color: #333 !important;
font-size:30px !important;
}

.inv-grid .pricelabel.internetpricelabel {
    color: #fff;
}

/* NAVBAR
******************************/

.navbar-default .navbar-brand {
    margin: 5px 0px;
}

@media(min-width: 768px) {
.navbar-default .navbar-brand {
    padding-left: 0px;
}
}

/* BANNER
******************************/

/* HOMEPAGE
******************************/
.hero-row .container,
.americana-inventory-row .container,
.am-customhtml .container {
    background-color: transparent;
}
@media(min-width: 768px) {
.carousel-control {
    font-size: 32px;
}
}

.quicklinkbutton[href*="CARFAX"] .quicklinkbutton-label {
    font-size: 0;
    display: block;
    width: 65%;
    height: 0px;
    background-image: url(https://automanagerprodcdn.azureedge.net/wmclients/046829/images/carfaxcanada2.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: contain;
    padding: 25px 0;
    transform: translateX(70px);
}