/*Header*/

.cw-c-header a:hover {
    color: #cdcdcd;
}

.cw-c-header {
    text-align: center;
    padding-bottom: 2em;
    z-index: 7;
    position: relative;
    /* background-color: #001a27; */
    background-color: var(--header-background);
    /* color: #fff; */
    color: var(--header-text);
  }

  @media (min-width: 992px) {
    .cw-c-header {
      text-align: left;
      padding-bottom: 0;
    }
  }

  .cw-c-header img {
    margin: 2em auto;
    display: block;
    width: 400px;
  }

  .cw-c-header h4 {
    margin-bottom: 0.5em;
    font-size: 2em;
  }

  .cw-c-header p {
    font-size: 110%;
    margin: 0.5em auto;
  }

  .cw-c-header a {
    color: inherit;
  }

  .cw-c-header i {
    font-size: 16px;
    color: #D90000;
    margin-right: 8px;
  }

  .cw-c-header .cw-phone a:hover {
    color: #D90000 !important;
  }


/*Home Page*/


.page-home .title {
  padding-top: 0.8em !important;
  padding-bottom: 0.8em !important;
}

.cw-hero-slideshow {
  position: relative;
  overflow: hidden;
  height: 500px;
}
.cw-hero-slideshow:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.cw-hero-slideshow .cw-hero-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: cw-slide-anim 12s infinite;
  --cw-anim-offset: 0s;
  animation-delay: var(--cw-anim-offset);
}

.cw-hero-slideshow .cw-hero-image:nth-of-type(1) {
  --cw-anim-offset: 0s;
}

.cw-hero-slideshow .cw-hero-image:nth-of-type(2) {
  --cw-anim-offset: 4s;
}

.cw-hero-slideshow .cw-hero-image:nth-of-type(3) {
  --cw-anim-offset: 8s;
}

.cw-hero-slideshow .cw-hero-image::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  /* background-image: linear-gradient(rgba(36, 36, 36, 0.80), rgba(0, 0, 0, 0.50)); */
  z-index: 1;
}

.cw-hero-slideshow .cw-hero-image img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.cw-hero-slideshow .cw-hero-title {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.cw-hero-slideshow .cw-hero-title h1 {
  display: block;
  margin: 1rem 0 0.75rem;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 3rem;
}

.cw-hero-slideshow .cw-hero-title h1 span {
  display: block;
  font-size: 2rem;
}

@keyframes cw-slide-anim {
  0% {
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  13%,
  25% {
    opacity: 1;
    transform: scale(1.06);
  }

  38% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Big Buttons */
.cw-main-background {
  background-color: #666666;
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 0;
}

.cw-main-background * {
  transition: 200ms;
}

.cw-main-buttons .cw-btn {
  box-sizing: border-box;
  padding: 0.4em 0;
  position: relative;
}

.cw-main-buttons .cw-btn .cw-text {
  background-color: #303030;
  color: #ffffff;
  padding: 1em 1em;
  border-radius: 0.2em;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease-in-out;
  box-shadow: 0 0.2em 0.25em rgba(0, 0, 0, 0.3);
  border-bottom: 4px solid #D90000;
}

.cw-main-buttons .cw-btn .cw-btnText {
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  position: relative;
  z-index: 1;
}

.cw-main-buttons .cw-btn .cw-btnText h5 {
  font-size: 1.2em;
  font-weight: 500;
  color: #999999;
  margin-bottom: 0;
}

.cw-main-buttons .cw-btn .cw-btnText h6 {
  color: #ffffff;
  font-size: 1.5em;
  margin-top: 4px;
}

.cw-main-buttons .cw-btn .cw-text i {
  font-size: 4em;
  position: absolute;
  right: 0.25em;
  transform: translateY(-90%);
  color: #999999;
}

.cw-main-buttons .cw-btn:hover i,
.cw-main-buttons .cw-btn:hover .cw-btnText h6 {
  color: #DF0000;
}

.cw-main-buttons .cw-btn:hover .cw-text {
  border-color: #ffffff;
}

/* Search Buttons */
.cw-search {
  padding: 2em 0; 
}

.cw-search-buttons h5 {
  color: #ffffff;
  padding: 0 1em;
  font-size: 1.2em;
}

.cw-search-buttons a {
  display: block;
  padding: 0.5em;
  margin-top: 0.2em;
  font-size: 1.1em;
  font-weight: 600;
  background-color: #897247;
  border: transparent;
  border-radius: 3px;
  color: #ffffff !important;
}

.cw-search-buttons a:hover {
  color: #ffffff !important;
  background: #333333;
}

/* Responsive Design Adjustments */

/* SM: 768px & Up */
@media (min-width: 768px) {
  .cw-main-buttons .cw-btn .cw-text i {
    font-size: 4em;
  }

  .cw-main-buttons .cw-btn .cw-text {
    padding: 2em 1em;
  }
}

/* LG: 1200px & Up */
@media (min-width: 1200px) {
  .cw-main-buttons .cw-btn .cw-btnText h5 {
    font-size: 1.2em;
  }

  .cw-main-buttons .cw-btn .cw-btnText h6 {
    font-size: 1.7em;
  }
}

/* XL: 1400px & Up */
@media (min-width: 1400px) {
  .cw-main-buttons .cw-btn .cw-btnText h5 {
    font-size: 1.4em;
  }

  .cw-main-buttons .cw-btn .cw-btnText h6 {
    font-size: 1.8em;
  }
}

/* Custom Search Section */
.cw-search {
  padding: 2em 0;
}

/* Search Buttons */
.cw-search-buttons h5 {
  color: #ffffff;
  padding: 0 1em;
  font-size: 1.2em;
}

/* Button Styles */
.cw-search-buttons .btn-link {
  display: block;
  padding: 0.5em;
  margin-top: 0.2em;
  font-size: 1.1em;
  font-weight: 600;
  background-color: #DF0000;
  border-radius: 3px;
  text-decoration: none;
  color: #ffffff !important;
}

.cw-search-buttons .btn-link:hover {
  color: #ffffff !important;
  background: #333333;
}

/* Dealership Hours */
.cw-dealership-hours {
  width: 90%;
  margin: 1.5em auto;
  color: #ffffff;
}

.cw-dealership-hours h6 {
  font-size: 1.5em;
  text-transform: uppercase;
  padding-bottom: 0.2em;
  border-bottom: 2px solid #DF0000;
}

.cw-dealership-hours .c-table .row {
  font-size: 1.2em;
  line-height: 1.7em;
  border-bottom: 1px solid #333333;
}

.cw-dealership-hours .c-table .row:last-child {
  border-bottom: none;
}

/* Mobile Responsive Design */
/* @media (min-width: 440px) {
  .cw-search-buttons h5::after {
    content: "";
    position: absolute;
    height: 1px;
    width: 47%;
    background: #be9e63;
    top: 7%;
    right: 5%;
  }
} */

@media (min-width: 768px) {
  .cw-search-buttons h5 {
    font-size: 1.5em;
  }
}

@media (min-width: 992px) {
  .cw-search-buttons h5 {
    margin-top: 1.5em;
    font-size: 1.7em;
  }
  .cw-search-buttons .btn-link {
    font-size: 1em;
  }
}

@media (min-width: 1200px) {
  .cw-search-buttons h5::after {
    display: block;
    height: 3px;
    width: 20%;
    top: 26%;
  }
  .cw-search-buttons .btn-link {
    font-size: 1.1em;
  }
}

@media (min-width: 1400px) {
  .cw-search-buttons h5::after {
    width: 28%;
  }
}

/* CTA */
.cw-cta {
  background-image: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/C805F2AA95C69014DC6902C9A73069F1.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.cw-cta-info {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 4rem;
}

.page-home .inventory-search-module {
  background-color: #666666 !important;
  padding: 5rem 0;
}

.page-home section.inventory-search-module .form__wrapper {
  border: 0px solid white !important;
}

/* This fix is mostly for dark background sites, but could be useful when you want to change the hard-coded colors on the Vehicle Details Page  */

.inventorydetails .vdp-module-canvas-razor-wrapper a {
  color: var(--color-theme-text);
}

.inventorydetails .vdp-module-canvas-razor-wrapper a:hover {
  color: var(--color-theme-highlight);
}

.inventorydetails .section__title,
.inventorydetails .section__subtitle,
.inventorydetails .section__callout__title {
  color: var(--color-theme-text);
}

.inventorydetails p {
  color: #8b8b8b;
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-primary {
  color: var(--color-theme-text-btn) !important;
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-outline-secondary {
  border-color: var(--color-theme-primary);
  color: rgb(0, 0, 0);
}

.inventorydetails
  [LoanCalculatorWidgetCssScope]
  .loan__calc__content
  .calc__totals__wrapper {
  background-color: transparent;
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-outline-secondary:hover,
.inventorydetails
  .vdp-module-canvas-razor-wrapper
  .btn-outline-secondary:before {
  background-color: var(--color-theme-primary);
  border-color: #000;
}

.inventorydetails
  .vdp-module-canvas-razor-wrapper
  .btn-check:checked
  + .btn-outline-secondary {
  color: var(--color-theme-text-btn);
  background-color: var(--color-theme-primary);
  border-color: var(--color-theme-primary);
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-secondary,
.inventorydetails .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);
}

.inventorydetails .vdp-module-canvas-razor-wrapper .btn-secondary:before {
  background: var(--color-theme-highlight);
}

.inventorydetails label {
  color: #000000;
}

.inventorydetails .disclaimerText {
  color: var(--color-theme-text);
  opacity: 0.9;
}

/* this is normally hard-coded as a white background. If you want to keep that, you'll probably need to customize all the colors inside the .vdp__message__wrapper so it works on the light background*/
.inventorydetails .vdp__message__mod.module .vdp__message__wrapper {
  background-color: transparent;
}

.vdp__veh__info__mod
  .veh__info__item:nth-child(even)[VehicleInfoWidgetCssScope] {
  background-color: #666666 !important;
}
