/* -------------------- Header ---------------------- */
.cw-header-contact .fa {
  display: inline-block;
  vertical-align: middle;
  padding-right: 0.25rem;
  color: var(--color-theme-secondary);
}

.cw-header-contact {
  padding: 6px 2px;
  color: var(--color-theme-text-btn);
}

.cw-header-info {
  background-color: var(--header-primary);
}

:root {
  --cw-logo-width: 150px;
}

.cw-header-info .header-info-logo-img img {
  width: 200px;
  width: var(--cw-logo-width);
}

.header .navbar-nav {
  text-transform: uppercase;
}

@media (min-width: 992px) {
  .cw-header-info .container,
  nav.navbar > .container {
    position: relative;
  }
  .cw-header-info .header-info-logo-img {
    position: absolute;
    z-index: 1040;
    padding: .25em ;
  }
  nav.navbar .container {
    min-height: 99px;
  }
  .header.has-cart .collapse.justify-content-center,
  .header .navbar-collapse.justify-content-center {
    justify-content: flex-end !important;
  }
  .header .navbar-nav:not(.navbar-cart) {
    max-width: calc(100% - var(--cw-logo-width) - 10px);
    justify-content: center;
  }
  .sitemap-container.container {
    margin-top: 50px;
  }
  section.termsandconditions.tcpp {
    margin-top: 50px;
  }
  .page-inventory-details #builderCanvas {
    margin-top: 100px;
  }
}

/* -------------------- other/global ---------------------- */
.cw-highlight {
  font-size: clamp(1.02rem, 1vw + 1rem, 2.3rem);
  line-height: 1;
  font-weight: 700;
  color: #eb872c;
  text-transform: uppercase;
}

.btn-secondary,
.btn-secondary:focus {
  background-color: var(--color-theme-primary) !important;
  color: var(--color-theme-text-btn);
  border-color: var(--color-theme-secondary);
}

.btn {
  font-weight: 400 !important;
}

.title + .text {
  margin-top: 0;
}

.card-title {
  font-size: 1.5em;
  line-height: normal;
}

/* -------------------- custom Buttons ---------------------- */
.cw-primary-button,
.cw-secondary-button {
  font-family: montserrat, sans-serif;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05rem;
  padding: 0.8rem 2.1rem;
  background-image: linear-gradient(
    135deg,
    var(--color-theme-primary) 0%,
    var(--color-theme-primary) 50%,
    transparent 51%,
    transparent 100%
  );
  background-size: 230%;
  background-position: 130%;
  background-repeat: no-repeat;
  transition: 0.3s ease-in-out;
  transition-property: background-position, border, color;
  position: relative;
  z-index: 1;
  text-align: center;
}

.cw-primary-button {
  color: var(--color-theme-text-btn);
  border: 1px solid var(--color-theme-primary);
  background-color: var(--color-theme-primary);
}

.cw-secondary-button {
  color: var(--color-theme-primary);
  border: 1px solid var(--color-theme-text-btn);
  background-color: var(--color-theme-text-btn);
}

.cw-primary-button:hover,
.cw-secondary-button:hover {
  border: 1px solid var(--color-theme-primary);
  color: var(--color-theme-text-btn);
  background-position: 0%;
}

.cw-primary-button:hover:before {
  background-color: #fff;
}

.cw-primary-button:hover:after {
  background-color: #fff;
}

.cw-button-borders {
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.cw-button-borders:before {
  content: "";
  position: absolute;
  width: calc(100% + 0.5em);
  height: 50%;
  left: -0.3em;
  top: -0.3em;
  border: 1px solid #fff;
  border-bottom: 0;
}

.cw-button-borders:after {
  content: "";
  position: absolute;
  width: calc(100% + 0.5em);
  height: 50%;
  left: -0.3em;
  bottom: -0.3em;
  border: 1px solid #fff;
  border-top: 0;
  z-index: 0;
}

.cw-button-borders.cw-invert:before {
  border-color: var(--color-theme-primary);
}

.cw-button-borders.cw-invert:after {
  border-color: var(--color-theme-primary);
}

/* -------------------- Homepage ---------------------- */
/* --------------- Title above hero --------------- */
.cw-home-title {
  background-color: var(--color-theme-primary);
  color: var(--color-theme-text-btn);
  padding: 0.5rem 0;
}

.cw-home-title h1 {
  margin-bottom: 0;
  font-size: 1.7rem;
  text-align: center;
}

/* -------------------- Hero ---------------------- */
.cw-hero-collage {
  background: #000;
  color: #fff;
}

.cw-hero-collage .cw-hero-box {
  padding: 2rem 0 1.5rem;
  text-align: center;
}
@media (max-width: 300px) {
  .cw-hero-collage {
    display: none;
  }
  .cw-hero-collage {
    background: #000;
    background-image: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/73F52E87CB0513503BE7274F5DDD4F0F.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    color: #fff;
    min-height: 26vw;
    display: flex;
    flex-flow: column;
    justify-content: flex-start;
    align-items: center;
  }
  .cw-hero-collage .cw-hero-box {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto;
    background: rgba(0, 0, 0, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 15px;
    text-shadow: 1px 1px 3px #000;
  }
  .cw-hero-collage .cw-button-borders {
    text-shadow: none;
  }
}

/* making cq blend in better */
.page-home .creditQualifyBanner {
  margin: 0 !important;
  padding: 1rem 0;
  background: #000;
}

/* -------------------- text and image section ---------------------- */
.cw-textImage {
  padding: 3.5em 0;
  background: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/4217503CF93A0E85E82F2BB95E67B081.jpg")
    center;
  background-size: cover;
  color: #fff;
}

.cw-textImage img {
  margin-bottom: 2rem;
}

.cw-textImage h3 {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .cw-textImage h3 {
    margin-bottom: 1rem;
    font-size: 2rem;
  }
  .cw-textImage img {
    margin-bottom: 0;
  }
}

@media (min-width: 1440px) {
  .cw-textImage {
    background-attachment: fixed;
  }
}

/* -------------------- What we offer ---------------------- */
.cw-section-weAreTheBest {
  background-image: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/5DFFA1BCFEF4DA3E69B154CF7E7CC977.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  color: #fff;
}

.cw-section-weAreTheBest h3 {
  font-size: clamp(1.02rem, 1vw + 1rem, 2.3rem);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.cw-section-weAreTheBest h3 span {
  font-size: clamp(1.02rem, 1vw + 1rem, 2.3rem);
  line-height: 1;
  font-weight: 700;
  color: #eb872c;
  text-transform: uppercase;
}

.card__multi__style3 .title__style__content {
  color: #fff !important;
}

.card__multi__style3 .item__card .title__style__content .item__title h3 {
  color: #fff !important;
}

.card__multi__style3 .line__clamp1 {
  color: #fff !important;
}

.cw-section-weAreTheBest .cw-icon-info {
  position: relative;
  z-index: 2;
}

.cw-section-weAreTheBest .cw-copy {
  position: relative;
  z-index: 2;
}

.cw-section-weAreTheBest .cw-copy p {
  font-size: 14px;
}

.cw-section-weAreTheBest .cw-quality-icon {
  width: 70px;
  height: 70px;
  display: flex;
  border-radius: 50%;
  color: #fff;
  margin-bottom: 20px;
  background-color: var(--color-theme-primary);
  align-items: center;
  justify-content: center;
}

.cw-section-weAreTheBest .cw-quality-icon i {
  font-size: 1.5em;
}

.cw-section-weAreTheBest .cw-icon {
  height: 25px;
  width: 100%;
}

.cw-section-weAreTheBest .cw-card {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  background-color: #fff;
  padding: 2em 1.2em;
  text-decoration: none;
  z-index: 0;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.5);
  border: 1px solid #fff;
}

/* -------------------- Search section ---------------------- */
.cw-search-section {
  padding: 1.5rem 0;
  margin-top: 0;
  margin-bottom: 2rem;
  z-index: 5;
  position: relative;
  background: var(--color-theme-text);
  color: var(--color-theme-background);
}

.cw-search-section::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 20%;
  -o-object-fit: cover;
  object-fit: cover;
  background-image: url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/6228FF8433BA1B4E5EED2F317EC5E6BC.png");
}

.page-home .inventory-search-module .container {
  position: relative;
}

.page-home .inventory-search-module .container .form__wrapper {
  padding: 0 !important;
  border: none;
}

.page-home .inventory-search-module .container .form__wrapper label {
  display: none;
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .cw-search-section {
    padding: 6rem 1rem;
    margin-bottom: 3rem;
  }
  /*  making the search module containers at bootstrap sizes
	(another at 1400px) */
  .page-home .inventory-search-module .container {
    max-width: 1140px;
  }
  .page-home .inventory-search-module .container .form__wrapper {
    position: absolute;
    z-index: 10;
    left: 0;
    top: -340px;
    width: 700px;
    max-width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: unset;
    border: none;
    gap: 10px;
  }
  .page-home .inventory-search-module {
    margin: 0 !important;
    padding: 0;
    background-color: transparent;
  }
  .page-home .inventory-search-module .search__input {
    min-width: 40%;
    flex-basis: 45%;
    flex-grow: 1;
  }
  .page-home
    .inventory-search-module
    .container
    .form__wrapper
    .search__input--min-year,
  .page-home
    .inventory-search-module
    .container
    .form__wrapper
    .search__input--max-year {
    min-width: 45%;
    flex-basis: 45%;
  }
  .cw-search-hero .cw-heroContent {
    max-width: clamp(200px, 50%, 600px);
    margin-left: 5px;
    margin-right: auto;
  }

  .page-home
    .inventory-search-module
    .search__input.search__input--classification {
    order: 0;
  }
  .page-home .inventory-search-module .search__input.search__input-make {
    order: 1;
  }
  .page-home .inventory-search-module .search__input.search__input--model {
    order: 3;
  }
  .page-home .inventory-search-module .search__input.search__input--min-year {
    order: 5;
  }
  .page-home .inventory-search-module .search__input.search__input--max-year {
    order: 6;
  }
  .page-home .inventory-search-module .search__input.search__input--max-price {
    order: 2;
  }
  .page-home
    .inventory-search-module
    .search__input.search__input--max-mileage {
    order: 4;
  }
  .page-home .inventory-search-module .search__input:last-of-type {
    order: 7;
  }
  .page-home .inventory-search-module .search__input {
    min-width: 40%;
    flex-basis: 45%;
    flex-grow: 1;
  }
  .page-home
    .inventory-search-module
    .container
    .form__wrapper
    .search__input--min-year,
  .page-home
    .inventory-search-module
    .container
    .form__wrapper
    .search__input--max-year {
    min-width: 20%;
    flex-basis: 20%;
  }
}

@media (min-width: 1400px) {
  .page-home .inventory-search-module .container {
    max-width: 1320px;
  }
}

/* Inventory slideshow/featured vehicles */
.page-home .inventoryslideshow {
  padding-top: 2rem;
  padding-bottom: 0;
}

.card__multi__style3 a.item__title {
  color: rgb(0, 0, 0) !important;
}

.card__multi__style3 .title__style__content {
  color: rgba(0, 0, 0, 0.8) !important;
}

/* -------------------- Footer ---------------------- */
.cw-footer {
  padding: 4rem 0;
  background-color: #000;
  background-size: cover;
  color: #fff;
}

.cw-footer iframe {
  width: 100%;
}

.cw-footer a {
  color: #fff;
}

.cw-footer .cw-address,
.cw-header-contact .cw-phone,
.cw-footer .cw-phone {
  position: relative;
  line-height: 1.35;
  padding-left: 1.5rem;
  font-size: 1.1rem;
  color: white;
}

.cw-footer .cw-address:before {
  font-family: FontAwesome;
  content: "\f3c5";
  position: absolute;
  left: 0;
  padding-right: 0.5rem;
  color: #fff;
}

.cw-header-contact .cw-phone:before,
.cw-footer .cw-phone:before {
  font-family: FontAwesome;
  content: "\f2a0";
  position: absolute;
  left: 0;
  top: 2px;
  padding-right: 0.5rem;
  color: #fff;
}

.cw-footerMenu a {
  display: block;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.cw-footerMenu a:hover,
.cw-footer .cw-social a:hover,
.cw-header-contact .cw-phone:hover,
.cw-footer .cw-phone:hover {
  color: #eb872c;
}

.cw-footer h5,
.business-hours .bh-title {
  margin-bottom: 1rem;
  color: #fff;
  padding-left: 0;
  border: none;
  font-size: 1.25rem;
}

.business-hours .today {
  color: #eb872c;
}

.business-hours li {
  font-size: 0.85rem;
}

.cw-social a {
  display: inline-block;
  margin: 0 0.5rem 0 0;
}

.cw-social i {
  font-size: 25px;
}

.footer {
  padding-top: 0;
}

footer > .container {
  display: none;
}

/* -------------------- internal titles ---------------------- */
section:not(.page-home) .title {
  position: relative;
  margin-bottom: 2.5rem;
  background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.58),
      rgba(0, 0, 0, 0.58)
    ),
    url("https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/2D8C1330EED2D8013C4403B59D5BD0F2.jpg")
      no-repeat center;
  background-size: cover;
  text-align: center;
}

section:not(.page-home) .title .title-heading {
  position: relative;
  z-index: 1;
  margin: auto;
  padding: 4.5rem 0;
  color: #fff;
  text-shadow: 0 0 4px #000;
}

/* Homepage card extra css */
.cw-card {
  transition: all 0.5s;
}

.cw-card:hover {
  background-color: rgb(0, 0, 0);
  transition: all 0.5s;
  transform: translateY(-10px);
}

/* Fix Quick Connect module */
.page-inventory-details .module,
.vdp-module-canvas-razor-wrapper .module {
  margin-top: 10px !important;
}

/* Fix Mobile More Info button BG color */
.vdp-module-canvas-razor-wrapper .btn-secondary {
  background-color: var(--inventorydetails-primary) !important;
  color: var(--inventorydetails-text-btn);
  border-color: var(--inventorydetails-primary);
}

.vdp-module-canvas-razor-wrapper .sn_business_openclose.open {
  background-color: var(--inventorydetails-primary) !important;
}

/* Fix Loan Calc VDP Colors */
.vdp-module-canvas-razor-wrapper .btn-check:checked + .btn-outline-secondary {
  background-color: var(--inventorydetails-primary) !important;
  color: var(--inventorydetails-text-btn);
  border-color: var(--inventorydetails-primary);
}

.vdp-module-canvas-razor-wrapper
  .btn-check:checked
  + .btn-outline-secondary:hover {
  background-color: var(--inventorydetails-primary) !important;
}

@media (min-width: 992px) {
  .header .dropdown-menu[data-bs-popper] {
    /* make navbar dropdowns right aligned so they don't go off page when navbar is right aligned */
    left: unset;
    right: 0;
  }
}
