.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    text-transform: uppercase;
}

/*translate*/

.cw-translate-section {
    overflow: hidden;
    background-color: #CF1B1A;
    padding: 0px 5px 0px 0;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    border-radius: 0 0 10px 0;
}

.cw-translate-section .cw-google-wrap {
    background: #eee;
    padding: 3px 6px;
}

.cw-translate-section .cw-pointer {
    font-size: 1.4rem;
    text-transform: uppercase;
    color: #FADB3F;
    font-weight: 800;
    padding: 5px 8px;
}

@media (min-width: 576px) {
    .cw-translate-section {
        flex-flow: row wrap;
        justify-content: flex-start;
        align-items: center;
    }
    .cw-translate-section .cw-pointer {
        font-size: 1.6rem;
    }
}

@media (min-width: 1400px) {
    /* Only want this if the widget can fit in decently with the header elements */
    .cw-translate-section {
        /* position: absolute; */
        /* z-index: 2; */
        /* left: 0; */
    }
}

/*header*/

.header .navbar, .header .navbar.bg-primary {
    border-top: 4px solid var(--color-theme-secondary);
}

.cw-header .cw-logo {
    max-width: 300px;
    margin: 1em auto;
  }

  .cw-header p {
    margin: 0;
  }

  .cw-header .cw-social a {
    width: 45px;
    height: 45px;
    text-align: center;
    line-height: 45px;
    background-color: var(--color-theme-secondary);
    margin: 5px;
    font-size: 25px;
    color: #fff;
  }

  /* MD: 992px & Up */
  @media (min-width: 992px) {
    .cw-header .cw-logo {
      margin: 1em;
    }
  }

/*hero*/

.cw-pink {
    background-color: var(--color-theme-secondary) !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border-radius: 2px;
    text-shadow: 0px 0px !important;
    text-transform: capitalize;
    /* box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5); */
  }

  .cw-pink-title {
    background-color: var(--color-theme-secondary) !important;
    color: #fff !important;
    padding: 5px 10px !important;
    border-radius: 2px;
    text-shadow: 0px 0px !important;
    text-transform: capitalize;
    /* box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5); */
  }

  .cw-slider {
    width: 100%;
    height: 500px;
  }

  .slide-overlay h3 {
    position: relative;
    z-index: 1;
    max-width: 95%;
    margin: 0 auto 1rem;
    color: #fff;
    /* font-size: 1.25rem; */
    /* text-shadow: 0 0 2px #000; */
    text-transform: uppercase;
  }

  .slide-title span {
    white-space: pre-wrap;
    display: inline-block;
    opacity: 0;
  }

  .cw-slider .slideshow {
    position: relative;
  }

  .cw-slider .slideshow-pagination {
    position: absolute;
    bottom: 4rem;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: 0.2s opacity;
    z-index: 10;
  }

  .slideshow-pagination-item {
    display: flex;
    align-items: center;
  }

  .slideshow-pagination-item .pagination-number {
    opacity: 0.5;
  }

  .slideshow-pagination-item:hover,
  .slideshow-pagination-item:focus {
    cursor: pointer;
  }

  .slideshow-pagination-item:last-of-type .pagination-separator {
    width: 0;
  }

  .slideshow-pagination-item.active .pagination-number {
    opacity: 1;
  }

  .slideshow-pagination-item.active .pagination-separator {
    width: 10vw;
  }

  .slideshow-navigation-button {
    position: absolute;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 5rem;
    z-index: 1000;
    transition: all 0.2s ease;
    color: #fff;
  }

  .slideshow-navigation-button:hover,
  .slideshow-navigation-button:focus {
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
  }

  .slideshow-navigation-button.prev {
    left: 0;
  }

  .slideshow-navigation-button.next {
    right: 0;
  }

  .pagination-number {
    font-size: 1.8rem;
    color: #fff;
    padding: 0 0.5rem;
  }

  .pagination-separator {
    display: none;
    position: relative;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.25);
    transition: all 0.2s ease;
  }

  @media (min-width: 720px) {
    .pagination-separator {
      display: block;
    }
  }

  .pagination-separator-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    transform-origin: 0 0;
  }

  .cw-slider .swiper-container {
    width: 100%;
    height: 100%;
  }

  .cw-slider .slide {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    font-size: 18px;
    background: #000;
    overflow: hidden;
  }

  .slide-image {
    position: absolute;
    top: -100px;
    left: -100px;
    opacity: 0.7;
    width: calc(100% + 200px);
    height: calc(100% + 200px);
    background-position: 50% 50%;
    background-size: contain;
  }

  .slide-overlay {
    position: relative;
    z-index: 50;
    opacity: 1;
    max-width: 100%;
    text-align: start;
    padding: 0rem 1rem;
  }

  .slide-title {
    display: block;
    margin: 0 auto 1rem;
    font-size: clamp(1.02rem, 4vw + 1rem, 3.2rem) !important;
    line-height: 1;
    white-space: normal;
    word-break: break-word;
    color: #fff;
    z-index: 100;
    text-transform: uppercase;
    font-weight: 700;
  }

  @media (min-width: 1400px) {
    .cw-slider {
      height: 36vw;
    }

    .slide-overlay h3 {
      /* font-size: 1rem; */
    }
  }

  @media (max-width: 992px) {
    .search__section {
      padding: 1rem !important;
    }
  }

  .cw-button-borders.cw-invert:before {
    border-color: var(--color-theme-primary);
  }

  .cw-button-borders.cw-invert:after {
    border-color: var(--color-theme-primary);
  }

/*search hp*/

section.inventory-search-module .form__wrapper {
    background-color: #F8F9FA!important;
    margin-top: .5em!important;
}

/*about hp*/

.cw-welcome-section {
    padding: 5rem 0;
    margin-top: 1rem;
    background-image: url(https://cdn05.carsforsale.com/279fa05c1fac2ae0ea54f43ad7f82d4a/279fa05c1fac2ae0ea54f43ad7f82d4a.jpg?format=original&sig=5baea3f667670c4a);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 2
}

.cw-welcome-section:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    z-index: -1
}

/* Button Section */
.cw-welcome-section .cw-button-section {
    padding: 2rem 0;
}

.cw-welcome-section .cw-button-section a {
    padding: 5px 5px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.01rem;
    font-size: 1.5em;
    margin: 0;
    -webkit-transition: All .25s ease-in;
    -moz-transition: All .25s ease-in;
    -o-transition: All .25s ease-in;
    transition: All .25s ease-in;
    text-shadow: 0 0 1px #000, 1px 1px 1px #000, -1px 1px 1px #000, 1px -1px 1px #000, -1px -1px 1px #000, 0 0 1vw #000
}


.cw-welcome-section .cw-button-section a i {
    color: #fff;
    font-size: 2em;
    padding: 10% 0;
    -webkit-transition: All .25s ease-in;
    -moz-transition: All .25s ease-in;
    -o-transition: All .25s ease-in;
    transition: All .25s ease-in;
}

.cw-welcome-section .cw-button-section a:hover {
    color: var(--color-theme-highlight)
}

.cw-welcome-section .cw-button-section a:hover i {
    color: var(--color-theme-highlight);
    transform: scale(1.125)
}

/*car finder*/

.pg-title::after {
    content: "";
    display: block;
    height: 3px;
    width: 80px;
    margin: .5rem 0 1.5rem;
    background-color: var(--color-theme-highlight)
}


.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;
}
  
     .am-title-carfinder {
    background-color: #F8F9FA;
       margin-bottom: 3em;
}

.crate-cta {
    padding-top: 6em;
    padding-bottom: 7em;
    color: #000
}

.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, .7)
    }
}






.form-grid-row>.form-forms-date {
    /* Hopefully fixes form popups being underneath other dropdowns/boxes */
    z-index: unset;
}