/*
/* ----------------------------------------------*/
/* ------------- TABLE OF CONTENTS --------------*/
/* ----------------------------------------------*/
/* 
| 1 IMPORTS & VARIABLES
| 2 CTAS
| 3 CAR SLIDER
| 4 DEALER SPECIALS
| 5 DIRECTIONS
| 6 DEALER COPY
| 7 SEARCH
| 8 RESPONSIVE STYLES
/*

/* -----------------------------------*/
/* ------- IMPORTS & VARIABLES -------*/
/* -----------------------------------*/
/* -----------------------------------*/
/* -------------- CTAS ---------------*/
/* -----------------------------------*/
.hero-ctas {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  margin: 0 12.5px;
  text-transform: uppercase;
}
.hero-ctas > a {
  width: 25%;
  background-size: cover;
  background-position: center;
  height: 150px;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  align-items: flex-end;
  margin: 0 12.5px 25px 12.5px;
  position: relative;
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  -o-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
}
.hero-ctas > a:hover > div > p:after {
  max-width: 170px;
}
.hero-ctas > a:hover > div > div > i {
  padding-left: 10px;
}
.hero-ctas > a:hover > div:after {
  background: rgba(0,0,0,0.65);
}
.hero-ctas > a:nth-of-type(1) {
  background-image: url("//bucket.dealeralchemist.com/2020/01/cdjr-shop-inventory-ctav2.jpg?auto=compress%2Cformat&ixlib=php-1.2.1");
  background-position: center 65%;
}
.hero-ctas > a:nth-of-type(2) {
  background-image: url("//bucket.dealeralchemist.com/2021/06/DV-JeepFreedom.png?auto=compress%2Cformat&ixlib=php-1.2.1");
  background-position: center 65%;
}
.hero-ctas > a:nth-of-type(3) {
  background-image: url("//bucket.dealeralchemist.com/2020/01/cdjr-current-offers-ctav2.jpg?auto=compress%2Cformat&ixlib=php-1.2.1");
  background-position: center 75%;
}
.hero-ctas > a:nth-of-type(4) {
  background-image: url("//bucket.dealeralchemist.com/2020/01/cdjr-value-trade-cta.jpg.jpg?auto=compress%2Cformat&ixlib=php-1.2.1");
}
.hero-ctas > a:nth-of-type(5) {
  background-image: url("//bucket.dealeralchemist.com/2020/01/cdjr-service-cta.jpg.jpg?auto=compress%2Cformat&ixlib=php-1.2.1");
  background-position: center 20%;
}
.hero-ctas > a > div {
  margin-bottom: 20px;
  margin-left: 20px;
}
.hero-ctas > a > div:after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.35);
  content: '';
  z-index: 0;
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  -o-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
}
.hero-ctas > a > div > p {
  color: #fff;
  z-index: 1;
  position: relative;
  margin-bottom: 20px;
  font-size: 1.1rem;
}
.hero-ctas > a > div > p:after {
  position: relative;
  content: '';
  border-bottom: 2px solid #d50000;
  width: 100%;
  display: block;
  margin-top: 10px;
  max-width: 150px;
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  -o-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
}
.hero-ctas > a > div > div {
  color: #fff;
  font-weight: 500;
  z-index: 1;
  position: relative;
  font-size: 1.4rem;
  letter-spacing: 2;
}
.hero-ctas > a > div > div i {
  font-size: 0.825rem;
  padding-left: 2px;
  position: relative;
  top: -1px;
  color: #d50000;
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  -o-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
}
/* -----------------------------------*/
/* ----------- CAR SLIDER ------------*/
/* -----------------------------------*/
.cdjr-car-slider {
  padding: 2em;
}
.cdjr-car-slider h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1em;
  letter-spacing: 0.2em;
}
.car-name {
  font-family: 'Rajdhani', sans-serif;
  font-weight: 300;
}
/* Start Car Slider Overrides */
.car-slider-headers > h3:nth-of-type(2),
.car-slider-headers > h3:nth-of-type(3),
.car-slider-headers > h3:nth-of-type(4) {
  border-left: none !important;
}
/* End Car Slider Overrides */
/* -----------------------------------*/
/* ---------- CAR SPECIALS -----------*/
/* -----------------------------------*/
.cdjr-performance {
  background-image: url("//bucket.dealeralchemist.com/2020/01/diehl-cdjr-jeep-bg.png?auto=compress%2Cformat&ixlib=php-1.2.1");
  background-position: right;
  background-size: cover;
  position: relative;
  padding: 2em;
}
.cdjr-performance:after {
  background-image: linear-gradient(to right, #111 -5%, transparent 60%);
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.cdjr-performance > div {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-flow: column;
  align-items: flex-start;
  max-width: 50%;
  color: #fff;
  position: relative;
  z-index: 1;
  padding: 2em;
}
.cdjr-performance > div h2 {
  color: #d50000;
  font-size: 2.1rem;
  margin-bottom: 0.5em;
}
.cdjr-performance > div p {
  font-size: 1.1rem;
  line-height: 1.1em;
}
.cdjr-performance > div img {
  margin: 2.5em 0 2.5em 0;
}
.cdjr-performance > div h3 {
  color: #d50000;
  margin-bottom: 0.5em;
}
.cdjr-performance > div li {
  font-size: 1rem;
  font-weight: 300;
}
.cdjr-performance > div li span:first-of-type {
  font-family: 'Rajdhani SemiBold', sans-serif;
  text-transform: uppercase;
}
.cdjr-performance > div li span:last-of-type {
  font-weight: 500;
  margin: 0 3px;
  color: #d50000;
}
.cdjr-performance > div li a {
  background: transparent;
  padding: 0;
  color: #fff;
}
.cdjr-performance > div li a:hover {
  background: inherit;
  color: #d50000;
}
.cdjr-performance > div li i {
  color: #d50000;
}
.cdjr-performance > div > ul > li > span > a:hover {
  background: inherit;
  color: #d50000;
}
.cdjr-performance > div a {
  font-weight: 600;
  background: #d50000;
  padding: 1em;
  margin-top: 1em;
  text-transform: uppercase;
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  -o-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
}
.cdjr-performance > div a:hover {
  background: #fff;
  color: #d50000;
}
.cdjr-performance > div a:hover i {
  margin-left: 0.5em;
  color: #d50000;
}
.cdjr-performance > div a i {
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  -o-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
  margin-left: 5px;
  font-size: 0.7rem;
  position: relative;
  top: -1px;
}
/* -----------------------------------*/
/* ----------- DEALER COPY -----------*/
/* -----------------------------------*/
.cdjr-copy {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  margin: 1%;
}
.cdjr-copy > div {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  flex-flow: column;
  justify-content: center;
  width: 50%;
}
.cdjr-copy > div:last-of-type {
  padding: 4em;
}
.cdjr-copy > div img {
  margin: 0;
  height: auto;
  width: 100%;
}
.cdjr-copy > div h2 {
  color: #d50000;
  font-size: 2rem;
  margin-bottom: 0.5em;
}
.cdjr-copy > div p {
  font-size: 1.1rem;
  line-height: 1.1em;
  margin-bottom: 1.25em;
}
.cdjr-copy > div > div {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
}
.cdjr-copy > div a {
  font-family: 'Rajdhani Medium', sans-serif;
  font-weight: 400;
  background: #d50000;
  border: 1px solid #d50000;
  padding: 5px 15px;
  width: 225px;
  -webkit-transition: 300ms ease-in-out;
  -moz-transition: 300ms ease-in-out;
  -o-transition: 300ms ease-in-out;
  transition: 300ms ease-in-out;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  justify-content: center;
  align-items: center;
  color: #fff;
  height: 50px;
  text-transform: uppercase;
  margin-right: 1em;
  text-align: center;
}
.cdjr-copy > div a:last-of-type {
  background: #fff;
  border: 1px solid #d50000;
  color: #000;
}
.cdjr-copy > div a:last-of-type:hover {
  background: #d50000;
  color: #fff;
}
.cdjr-copy > div a:hover {
  background: #fff;
  color: #d50000;
  border: 1px solid #d50000;
}
/* -----------------------------------*/
/* ----------- DIRECTIONS ------------*/
/* -----------------------------------*/
.input-group {
  margin-top: 20px;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  justify-content: center;
}
.input-group input {
  color: #a6a6a6;
  font-size: 0.825rem;
  padding-top: 7px;
  padding-left: 30px;
  border-right: 0;
  border-left: 1px solid #c8c8c8;
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  height: 40px;
  float: left;
  width: 482px;
  text-transform: uppercase;
}
.input-group form {
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  justify-content: center;
  width: 85%;
  position: relative;
}
.input-group form .form-control {
  text-indent: 20px;
  height: 38px;
  max-height: 38px;
}
.input-group form .form-control::placeholder {
  color: #c8c8c8;
}
.input-group form .form-control::-webkit-input-placeholder,
.input-group form .form-control::-moz-placeholder,
.input-group form .form-control:-moz-placeholder,
.input-group form .form-control::-ms-input-placeholder {
  color: #c8c8c8;
}
.input-group form:after {
  content: '\f3c5';
  font-family: "Font Awesome 5 Pro";
  font-weight: 600;
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 10;
  color: #c8c8c8;
}
.input-group form label {
  display: none;
  visibility: hidden;
}
.input-group-append button {
  padding: 5px;
  color: #c8c8c8;
  font-size: 1.4rem;
  border-radius: 0;
  outline: none;
  background: #fff;
  border-top: 1px solid #c8c8c8;
  border-right: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
  border-left: 0;
  height: 38px;
  max-height: 38px;
}
.input-group-append button:hover {
  cursor: pointer;
}
.input-group-append button i {
  font-size: 1rem;
}
#map {
  position: absolute;
  overflow: hidden;
  height: 100%;
  width: 100%;
  top: 0;
  z-index: -1;
}
.directions-container {
  background-image: url("//bucket.dealeralchemist.com/2020/01/diehl-cdjr-directions.png?auto=compress%2Cformat&ixlib=php-1.2.1");
  height: 500px;
  display: flex;
  display: -webkit-flex;
  display: -ms-flexbox;
  justify-content: center;
  align-items: center;
  margin: 1%;
}
.directions {
  line-height: normal;
  background-color: #fff;
  text-align: center;
  padding: 2em 3.5em;
  width: 100%;
  max-width: 500px;
  position: relative;
  z-index: 2;
}
.directions-title-top {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: #4b4b4b;
  font-family: 'Rajdhani Medium', sans-serif;
}
.directions-title-bottom h1 {
  color: #d50000;
}
.directions-title-bottom h2 {
  font-size: 2rem;
  letter-spacing: 1px;
  color: #d50000;
}
.directions-location {
  margin-bottom: 1em;
  color: #c8c8c8;
  font-size: 0.7rem;
  text-transform: uppercase;
}
/* -----------------------------------*/
/* -------- RESPONSIVE STYLES --------*/
/* -----------------------------------*/
/*---- CUSTOM SITE DESKTOP BREAKPOINT ----*/
#searchbar {
  background: transparent;
  margin: 25px;
}
@media screen and (max-width: 1480px) {
  .cdjr-performance {
    background-position: center;
  }
}
/*---- LAPTOP STYLES ----*/
@media screen and (max-width: 1200px) {
  .hero-ctas > a > div > div {
    font-size: 1.1rem;
  }
  .hero-ctas > a > div > div i {
    font-size: 0.8rem;
  }
  .cdjr-copy > div:last-of-type {
    padding: 2em;
  }
  .cdjr-copy > div h2 {
    font-size: 1.5rem;
  }
}
/*---- TABLET STYLES ----*/
@media screen and (max-width: 992px) {
  .hero-ctas {
    flex-flow: row wrap;
    margin: 0 25px;
  }
  .hero-ctas > a {
    width: 50%;
    flex: 1 1 50%;
    box-sizing: border-box;
    height: 150px;
    border-top: 1px solid #fff;
    margin: 0;
  }
  .cdjr-copy > div p {
    font-size: 0.9rem;
    line-height: 1em;
  }
}
@media screen and (max-width: 768px) {
  .car-slider-headers {
    margin-bottom: 2.5em !important;
  }
  .car-slider-headers > h3 {
    padding-top: 0.25em !important;
  }
  .car-slider-headers > h3:nth-of-type(2),
  .car-slider-headers > h3:nth-of-type(3),
  .car-slider-headers > h3:nth-of-type(4) {
    border-top: none;
    border-left: 1px solid #d50000 !important;
  }
  .cdjr-copy > div:first-of-type {
    display: none;
  }
  .cdjr-copy > div:last-of-type {
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 1em;
  }
  .cdjr-copy > div h2 {
    font-size: 2rem;
  }
  .cdjr-copy > div p {
    font-size: 1.1rem;
    line-height: 1.3em;
  }
  .cdjr-copy > div > div {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-flow: column wrap;
    justify-content: center;
  }
  .cdjr-copy > div a {
    margin-right: 0;
  }
  .cdjr-copy > div a:last-of-type {
    margin-top: 1em;
  }
  .input-group form {
    width: 100%;
  }
  .directions {
    width: 70%;
  }
}
/*---- PHONE STYLES ----*/
@media screen and (max-width: 544px) {
  .hero-ctas {
    flex-flow: column;
  }
  .hero-ctas > a {
    width: 100%;
  }
  .hero-ctas > a > div {
    margin-top: 20px;
  }
  .hero-ctas > a:nth-of-type(1) {
    border-right: none;
  }
  .hero-ctas > a:nth-of-type(3) {
    border-right: none;
  }
  .cdjr-car-slider {
    padding: 2em 2em 3em 2em;
  }
  .cdjr-performance {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: center;
    align-items: center;
  }
  .cdjr-performance:after {
    background-image: linear-gradient(to right, rgba(17,17,17,0.7) -5%, rgba(17,17,17,0.7) 100%);
  }
  .cdjr-performance > div {
    padding: 0;
    max-width: 100%;
  }
  .cdjr-performance > div h2 {
    align-self: center;
    margin-bottom: 0.75em;
  }
  .cdjr-performance > div img {
    max-width: 100%;
    align-self: center;
  }
  .cdjr-performance > div h3 {
    align-self: center;
  }
  .cdjr-performance > div > ul {
    font-size: 1rem;
    align-self: center;
  }
  .cdjr-performance > div a {
    align-self: center;
    margin-top: 1.75em;
  }
  .directions {
    width: 80%;
  }
}
