/* -------------------- Header & Navbar ---------------------- */
:root {
    /* variables for the height of the navbar */
    --cw-nav-height: 110px;
    /* Width of the logo. Adjust the total size of the logo with this one. */
    --cw-logo-width: 247px;
    /* logo height is re-calculated with JS and used to help with offset between header and content */
    --cw-logo-height: 154px;
    /* --cw-logo-overlap: max(0px, calc(var(--cw-logo-height) - var(--cw-nav-height))); */
    --cw-header-info-height: 44px;
}

.header .badge {
    color: inherit;
}

.header .cw-header-logo {
    text-align: center;
}

.header .cw-header-logo img {
    width: 247px;
    width: var(--cw-logo-width);
}

.header .navbar-dark .navbar-nav .nav-item .nav-link:before {
    border-width: 0 !important;
}

.header .navbar-dark .navbar-nav a.nav-link:hover {
    box-shadow: 0 0 0 0.05rem var(--header-highlight);
}

.cw-header-info {
    padding: 0.5rem;
}

.header .cw-header-info a,
.header span {
    vertical-align: middle;
}

.header .cw-header-info a {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.header .cw-header-info a:hover {
    color: #000;
}

@media (min-width: 992px) {
    .header .navbar-dark .navbar-nav .nav-link {
        line-height: 28px;
        border-radius: 50px;
    }

    .header .header-container {
        /* margin-bottom: var(--cw-logo-overlap); */
        margin-bottom: max(0px, calc(var(--cw-logo-height) - var(--cw-nav-height)));
    }

    .header .cw-header-logo {
        position: absolute;
        /* top: 43px; */
        top: unset;
        z-index: 1030;
        padding: 0;
    }

    :root {
        --cw-logo-width: 280px;
        /* height is technically re-calculated by JS but setting a good value so it doesn't jump on load */
        --cw-logo-height: 174px;
    }

    /* .header .cw-header-logo img {
		width: 280px;
	} */
    nav.navbar .container {
        min-height: var(--cw-nav-height);
    }


    .header.has-cart .collapse.justify-content-center,
    .header .navbar-collapse.justify-content-center {
        justify-content: flex-end !important;
    }

    .header .navbar-nav {
        background: rgba(0, 0, 0, 0.5);
        border-radius: 2em;
        padding: 5px;
    }

    .header .navbar-nav:not(.navbar-cart) {
        max-width: calc(100% - var(--cw-logo-width));
        justify-content: center;
    }

    section:not(.page-home) .title {
        margin-bottom: 2.5em;
        padding: calc(max(var(--cw-logo-height), var(--cw-nav-height)) + 10px) 0 1.5em !important;
        margin-top: calc(-1 * (var(--cw-logo-height)));
    }

    section:not(.page-home) .title .title-heading {
        font-size: 2rem;
    }

    section:not(.page-inventory-details) .header .navbar-nav:not(.navbar-cart) {
        position: relative;
        z-index: 10;
    }

    section:not(.page-inventory-details) .cw-header-info {
        position: fixed;
        z-index: 1031;
        top: 0;
        left: 0;
        width: 100%;
    }

    section:not(.page-inventory-details) nav.navbar .container {
        /* margin-top: 43px; */
    }

    /** Adds top margin to all pages to account for fixed header**/
    section[class*="page-"]:not(.page-inventory-details) {
        margin-top: var(--cw-header-info-height);
        /* margin-top: 43px; */
    }

    .header .header-container {
        display: flex;
        flex-flow: column-reverse;
    }
}

section:not(.page-home) .title {
    position: relative;
    padding: 2em 0;
    background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/6ACF9044A263822368724D9FAF22FD51.jpg) no-repeat center center;
    background-size: cover;
    text-align: center;
}

section:not(.page-home) .title:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, 0.65);
}

section:not(.page-home) .title .title-heading {
    position: relative;
    z-index: 2;
    text-shadow: 5px 2px #000;
    color: #fff;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    h1.title-heading {
        font-size: 1em;
    }
}

.cw-hero {
    background: #151f26;
    background-image: linear-gradient(45deg,
    rgba(0, 0, 0),
    transparent,
    transparent),
    url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/0C5CDA771F22CC1059CA5F0C8F4879F9.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    color: #fff;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}


.cw-hero .cw-carfaxhome {
    width: 135px;
    height: auto;
}

.cw-hero .hero-text {
    position: relative;
    z-index: 5;
    text-shadow: 1px 1px 2px #000;
}

.cw-hero .hero-text p {
    text-shadow: 1px 1px 5px #000;
}

.cw-hero img.cw-divider {
    display: none;
}

.cw-hero img.cw-divider {
    position: absolute;
    bottom: 0;
    left: 0;
}

.cw-hero .hero-text .btn {
    text-shadow: none;
}

@media (min-width: 576px) {}

@media (min-width: 768px) {
    .cw-hero {
        padding: 3rem 0 0;
    }
    .cw-hero .cw-carfaxhome {
        position: absolute;
        right: 50px;
        top: 20px;
    }
}

@media (min-width: 992px) {
    .cw-hero {
        margin-top: -160px;
        margin-top: calc(-1 * max(var(--cw-logo-height), var(--cw-nav-height)));
        padding-top: 15rem;
        padding-top: calc(max(var(--cw-logo-height), var(--cw-nav-height)));
        min-height: 650px;
    }

    .cw-hero h1 {
        font-size: 3rem;
    }

    .cw-hero img.cw-divider {
        position: relative;
        width: 800px;
        z-index: 1;
        display: block;
    }
    .cw-hero .cw-carfaxhome {
        right: 50px;
        top: 120px;
    }
}



.form-check-inline {
    margin-right: 1.5rem;
}

section.inventory-search-module > .container {
    max-width: 1320px !important;
}

.form-select:disabled {}

section.inventory-search-module .form__wrapper {
    border: none !important;
    padding: 0 !important;
}

.inventory-search-module {
    background: #000 !important;
    margin: 0 !important;
    padding: 2em;
}

section.inventory-search-module .form__wrapper {
    background-color: #000 !important;
    border: 1px solid #000 !important;
    color: #fff;
}

.textwithimage-in-container {
    padding-top: 3.5em;
    padding-bottom: 5.5em;
    background-image: linear-gradient(0deg, transparent, #000);
}

.textwithimage-img .lazy-image.loaded img {
    border-bottom: 6px solid var(--color-theme-primary);
    padding-bottom: 1em;
}

@media (min-width: 992px) {
    /*.textwithimage-text h2::before {
		content: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/720ABDE0E8FB2F442936468B00111873.png);
		position: absolute;
		top: 2%;
		left: 27%;
		transform: translate(-50%, -50%);
	}*/
    .textwithimage-text-container {
        position: relative;
        left: -2em;
        background: #333;
        z-index: 10;
        padding: 3em;
        background-image: linear-gradient(45deg, #222, transparent);
    }
}

.page-home .text-typed .h2 {
    position: relative;
}

.page-home .text-typed .h2::before {
    content: "";
    width: 150px;
    height: 10px;
    border-bottom: 4px solid var(--color-theme-primary);
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translate(-50%, -50%);
}

.pg-title::after {
    content: "";
    display: block;
    height: 3px;
    width: 80px;
    margin: 0.5rem 0 1.5rem;
    background-color: var(--color-theme-highlight);
}

.am-title-carfinder {
    background-image: linear-gradient(45deg,
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.7)),
    url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/95F9F9C16C006013F89E83DBF4BE2D63.jpg);
    background-attachment: fixed;
    background-size: cover;
}

.am-title .pg-title {
    font-size: 2.5rem;
    margin-top: 15px;
}

.am-title .pg-title::after {
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
}

.crate-cta {
    padding-top: 4em;
    padding-bottom: 5em;
    color: #fff;
    margin-bottom: 7rem;
}

.crate-cta-carfinder {
    background-position: center center;
}

@media (max-width: 768px) {
    .crate-cta {
        padding-top: 4em;
        padding-bottom: 3em;
    }

    .crate-cta.am-title::after {
        background: rgba(0, 0, 0, 0.7);
    }
}

.inventoryslideshow {
    text-align: center;
    padding-top: 0 !important;
    padding-bottom: 5em;
}

.cw_searchPrice {
    color: #fff;
    padding: 0 0 5em;
    background-color: #040707;
}

.cw_searchPrice h1 {
    font-weight: 900;
    line-height: 1em;
    font-size: 2em;
    text-transform: uppercase;
}

.cw_searchPrice p {
    color: #aaa;
    line-height: 1.6em;
}

.cw_searchPrice .cw_shopUnder {
    color: #ccc;
    margin-bottom: -7px;
    font-size: 12px;
}

.cw_searchPrice .cw_priceRange {
    font-size: 2.1em;
    font-weight: 900;
}

.cw_searchPrice .cw_priceRange sup {
    top: -12px;
    font-size: 0.6em;
}

@media (min-width: 1200px) {
    .cw_searchPrice .cw_priceRange {
        font-size: 3em;
    }
}

.cw-parallax {
    margin-bottom: 0.5rem;
    padding: 28rem 0 0;
    background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/6924331923962EBF6FA75FC547C11FA6.jpg) center;
    background-size: cover;
    overflow: hidden;
}

.cw-parallax:after {
    overflow: hidden;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(-45deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0) 50%,
    rgba(0, 0, 0, 0.55) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
}

.cw-parallaxText {
    position: absolute;
    z-index: 2;
    left: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    padding: 1.5rem 1rem;
    background: rgba(0, 0, 0, 0.64);
}

.cw-parallaxText h3 {
    margin: 0;
    font-size: 1.5rem;
}

.cw-parallax h5 {
    position: absolute;
    z-index: 2;
    top: 4rem;
    left: 1.5rem;
    font-size: 1.5rem;
    text-shadow: 0 0 20px #000;
    font-style: normal;
}

.cw-parallax h5 span {
    display: block;
    font-size: 60%;
}

@media (min-width: 400px) {
    .cw-parallaxText {
        width: auto;
    }

    .cw-parallaxText:before {
        content: "";
        position: absolute;
        right: -63px;
        top: 0;
        border-top: 61px solid transparent;
        border-bottom: 0 solid transparent;
        border-left: 63px solid rgb(12 27 51/64%);
    }
}

@media (min-width: 768px) {
    .cw-parallaxText {
        max-width: 500px;
        padding: 2rem 3rem;
    }

    .cw-parallaxText h3 {
        font-size: 1.75rem;
    }

    .cw-parallaxText:before {
        right: -104px;
        border-top: 210px solid transparent;
        border-bottom: 0 solid transparent;
        border-left: 104px solid rgb(12 27 51/64%);
    }

    .cw-parallax .cw-btnSmall {
        position: absolute;
        z-index: 2;
        right: 0;
        bottom: 1.5rem;
        padding: 0.5rem 0.85rem;
        font-size: 1.25rem;
    }

    .cw-parallax h5 {
        top: 15%;
        left: 3.25rem;
        font-size: 2rem;
    }
}

@media (min-width: 992px) {
    .cw-parallax {
        padding: 27rem 0 0;
        background-attachment: fixed;
    }

    .cw-parallaxText {
        max-width: 600px;
    }

    .cw-parallaxText h3 {
        font-size: 2.25rem;
    }

    .cw-parallaxText:before {
        right: -137px;
        border-top: 192px solid transparent;
        border-bottom: 0 solid transparent;
        border-left: 137px solid rgba(0, 0, 0, 0.64);
    }

    .cw-parallax h5 {
        top: 20%;
        font-size: 2.75rem;
    }
}

.popular-vehicles-section {
    position: relative;
    z-index: 1;
}

.popular-vehicles-sections {
    text-align: center;
}

@media (min-width: 440px) {
    h2.popular-vehicles-section-heading {
        padding: 1em;
        position: relative;
        z-index: 2;
        text-transform: uppercase;
    }

    h2.popular-vehicles-section-heading::before {
        content: "";
        background: var(--color-theme-background);
        position: absolute;
        width: 500px;
        max-width: 90%;
        height: 80px;
        z-index: -1;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    h2.popular-vehicles-section-heading::after {
        content: "";
        width: 100%;
        height: 1px;
        background: #fff;
        position: absolute;
        left: 0;
        top: 50%;
        z-index: -2;
    }
}

@media (min-width: 1200px) {
    .popular-vehicles-section::before {
        content: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/720ABDE0E8FB2F442936468B00111873.png);
        position: absolute;
        top: 7%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.footer {
    padding-top: 0.5em;
    padding-bottom: 0;
    /* margin-top: -2em; */
}

.cw-footer {
    background: var(--color-theme-background);
    color: var(--color-theme-text);
}

.cw-footer p {
    color: inherit;
}

/* @media (min-width: 992px) {
	.footer {
		position: relative;
		top: -2em;
		background: 0 0 !important;
	}

	.cw-footer {
		height: 400px;
	}
} */
.cw-footer .business-hours {
    margin-top: 15px;
    position: relative;
}

.cw-footer .business-hours .bh-title {
    font-size: 20px;
    color: #bbb;
    text-transform: uppercase;
    padding-left: 5px;
    border-left: 4px solid var(--color-theme-highlight);
}

.cw-footer .business-hours li {
    color: #fff;
    line-height: 30px;
    border-bottom: 1px solid #333;
}

.cw-footer .business-hours li:last-child {
    border-bottom: none;
}

.cw-footer .business-hours .opening-hours li.today {
    color: var(--color-theme-highlight);
}

.cw-footer .cw-foot-social {
    font-size: 1.5rem;
}

@media (max-width: 767px) {
    .cw-footer .business-hours p {
        /* font-size: 14px; */
    }

    .cw-footer .business-hours li {
        font-size: 14px;
    }
}

/* -------------------- Inventory and other fixes ---------------------- */
.inventory .carousel-indicators {
    bottom: 0;
    margin-bottom: 0;
    background: 0 0;
}


.p-veh-card .card-top-img a {
    display: block;
}


@media (max-width: 991px) {
    body .inventory .srp-sidebar {
        /* Should help keep search results page in front of navbar.*/
        /* likely also need to reduce highest navbar/other elements z-index to around 1030-1039 */
        z-index: 1040;
    }
}



/* Vehicle Details Page */
.page-inventory-details .inventorydetails {
    padding-top: 2rem;
}

/* -------------------- VDP colors ---------------------- */
.inventorydetails .vdp__veh__info__mod .veh__info__item:nth-child(even)[VehicleInfoWidgetCssScope] {
    background-color: rgba(170, 170, 170, 0.1);
    /* color: #000; */
}


.inventorydetails [LoanCalculatorWidgetCssScope] .loan__calc__content .calc__totals__wrapper {
    background-color: #222;
    color: #fff;
}

.inventorydetails .vdp__message__mod.module .vdp__message__wrapper {
    background-color: #222;
    color: #fff;
}

.inventorydetails .modal .vdp__message__mod.module .vdp__message__wrapper {
    background-color: #dddddd;
}

/* -------------------- Sticky nav fixes/changes ---------------------- */
/* Hide pre-header on mobile on VDP */
@media (max-width: 991px) {
    .page-inventory-details .cw-header-info {
        display: none;
    }
}


.inventorydetails .vdp-module-canvas-razor-wrapper .btn-primary,
.inventorydetails .vdp-module-canvas-razor-wrapper .btn-primary:focus {
    color: var(--color-theme-text-btn) !important;
}

.inventorydetails .sn_business_openclose.open[b-h85p0r54yf] {
    background-color: var(--color-theme-primary);
    color: var(--color-theme-text-btn);
}

body .vdp-module-canvas-razor-wrapper .btn-secondary,
body .vdp-module-canvas-razor-wrapper .btn-secondary:focus {
    background-color: var(--color-theme-primary);
    color: var(--color-theme-text-btn);
    border-color: var(--color-theme-primary)
}

body .vdp-module-canvas-razor-wrapper .btn-secondary:hover,
body .vdp-module-canvas-razor-wrapper .btn-secondary:hover:focus,
body .vdp-module-canvas-razor-wrapper .btn-secondary:not([disabled]):not(.disabled).active,
body .vdp-module-canvas-razor-wrapper .btn-secondary:not([disabled]):not(.disabled):active,
body .vdp-module-canvas-razor-wrapper .show > .btn-secondary.dropdown-toggle {
    background-color: var(--color-theme-secondary);
    color: var(--color-theme-text-btn);
    border-color: var(--color-theme-secondary)
}

body .vdp-module-canvas-razor-wrapper .btn-secondary:before {
    background: var(--color-theme-secondary)
}

body .vdp-module-canvas-razor-wrapper .btn-outline-secondary {
    border-color: var(--color-theme-primary);
    color: var(--color-theme-primary);
    background-color: var(--color-theme-text-btn)
}

body .vdp-module-canvas-razor-wrapper .btn-outline-secondary:hover,
body .vdp-module-canvas-razor-wrapper .btn-outline-secondary:hover:focus,
body .vdp-module-canvas-razor-wrapper .btn-outline-secondary:not([disabled]):not(.disabled).active,
body .vdp-module-canvas-razor-wrapper .btn-outline-secondary:not([disabled]):not(.disabled):active,
body .vdp-module-canvas-razor-wrapper .show > .btn-outline-secondary.dropdown-toggle {
    background-color: var(--color-theme-secondary);
    color: var(--color-theme-text-btn)
}

body .vdp-module-canvas-razor-wrapper .btn-outline-secondary:before {
    background: var(--color-theme-secondary)
}

body .vdp-module-canvas-razor-wrapper .btn-check:active + .btn-outline-secondary,
body .vdp-module-canvas-razor-wrapper .btn-check:checked + .btn-outline-secondary,
body .vdp-module-canvas-razor-wrapper .btn-outline-secondary.active,
body .vdp-module-canvas-razor-wrapper .btn-outline-secondary.dropdown-toggle.show,
body .vdp-module-canvas-razor-wrapper .btn-outline-secondary:active {
    color: var(--color-theme-text-btn);
    background-color: var(--color-theme-primary);
    border-color: var(--color-theme-primary)
}