/* Header */
.cw-header {
  padding: 1em 0;
  background: #f7f7f7;
  background: var(--header-background);
  color: var(--header-text);
}

.cw-header .container {
  max-width: 1500px;
}

.cw-header a {
  color: inherit;
}

.cw-header a:hover {
  color: var(--color-theme-primary);
}

.cw-header i {
  font-size: 1.5rem;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.cw-header h2 {
  font-size: 1rem;
  font-weight: 600;
}

.cw-header img {
  width: 375px;
}

@media (min-width: 576px) {
}

@media (min-width: 768px) {
  .cw-header h2 {
    font-size: 1.2rem;
  }
}

@media (min-width: 992px) {
  .cw-header h2 {
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) {
  .cw-header h2 {
    font-size: 1.2rem;
  }
}

/*-- Hero --*/

.cw-hero .carousel-item {
  height: 300px;
  background-size: cover;
  background-position: center center;
}

.cw-hero .carousel-control-prev,
.cw-hero .carousel-control-next {
  width: 10%;
  text-align: center;
  opacity: 0.7;
}

.cw-hero .carousel-control-prev:hover,
.cw-hero .carousel-control-next:hover {
  opacity: 1;
}

@media (min-width: 768px) {
  .cw-hero .carousel-item {
    height: 500px;
  }
}

/*-- Hero Buttons --*/

/*-- FOLLOWING CSS IS NEEDED TO APPLY OPACITY TO BUTTONS WHILE USING TEMPLATE COLORS VARIABLES --*/

.cw-button {
  height: 60px;
  margin: auto;
  border: 1px solid black;
  line-height: 60px;
  opacity: 0;
  transform: translateY(50%);
  animation: slide-up 1s ease-out forwards;
}

.cw-button > div {
  position: absolute;
  width: 100%;
}

.cw-buttons a {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  padding-left: 45px;
  font-weight: bold;
  text-shadow: 0 0 2px black;
}

.cw-button1 a {
  background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/9BD97201017639D65ED37670AF7DB828.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.cw-button2 a {
  background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/E9953CBDCEF5219BAD43DEA816C7681B.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

.cw-button3 a {
  background: url(https://cdn.powersports.com/cdn-cgi/image/h=1440,w=1920/CF093D421D068CA44AB8112F0217CB32.png);
  background-position: left center;
  background-repeat: no-repeat;
  background-size: auto 100%;
}

@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(50%);
  }

  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}

@media (min-width: 768px) {
  .cw-buttons {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    font-size: 0.95rem;
    overflow: hidden;
  }

  .cw-button {
    width: 33%;
    margin: 0 0.25rem;
    height: 75px;
    line-height: 75px;
  }

  .cw-button > div {
    opacity: 0.5;
  }

  .cw-button:hover > div {
    background: var(--color-theme-highlight);
  }
}

@media (min-width: 992px) {
  .cw-buttons {
    font-size: 1.15rem;
  }

  .cw-button {
    margin: 0 0.75rem;
  }
}

@media (min-width: 1200px) {
  .cw-buttons {
    max-width: 1100px;
    left: calc(50% - 550px);
  }
}

/* Search Module */
section.inventory-search-module > .container {
  max-width: 1320px !important;
}

/*H1 - Title*/
.page-home .title-heading {
  font-size: 36px;
  text-align: center;
}

/* Accordion FAQ  */
.cw-faq .collapse-header {
  position: relative;
  padding: 1.1rem 4rem 1.1rem 1em;
  margin-bottom: 2px;
  background: #2a3c46;
  color: #fff;
  display: block;
  overflow: hidden;
  font-size: 1.1em;
  font-weight: 700;
}

.cw-faq .collapse-header:hover,
.cw-faq .collapse-header:not(.collapsed) {
  background: var(--color-theme-primary);
  color: var(--color-theme-text-btn);
}

.cw-faq .collapse-header::after {
  content: "+";
  position: absolute;
  z-index: 3;
  right: 1em;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
  -ms-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
  font-size: 1.5em;
  line-height: 1em;
  transition: 0.2s;
}

.cw-faq .collapse-header.collapsed::after {
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
}

.cw-faq .collaspe-content {
  padding: 2rem 1em;
}

/* Custom form styling on faq page */
.page-faq .form {
  padding-top: 0;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  margin: 0 1rem 1rem 1rem;
}
