@charset "UTF-8";
/* --------------------- 
  Group 1 - Dealership SEO Pages 
---------------------- */

/* --------------------- 
  Open Today / Dealer Info Box
---------------------- */
.af-open-today-box {
  width: 100%;
  padding: 15px 50px;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  right: 45px;
  flex-direction: row;
  top: 0;
  color: #FFF;
  z-index: 3;
}

.af-open-today-box table {
  margin: 8px 0;
}

.af-open-today-box table td {
  line-height: 1.7;
  font-size: 1.0rem;
  padding: 0 10px 0 0;
}

.af-open-today-box table td:first-of-type {
  text-align: left;
}

.af-open-today-box tabletd:last-of-type {
  text-align: right;
}

.af-dealer-make-logo {
  max-width: 125px;
}

.af-dealer-info {
  text-align: center;
  font-size: 18px;
  line-height: 30px;
}

.af-dealer-name,
.af-dealer-phone {
  font-weight: 700;
  font-size: 20px;
}

.af-dealer-col-buttons {
  display: flex;
  align-content: space-around;
}

.af-dealer-col-buttons .af-dealer-btn {
  background: #FFF;
  border: 2px solid #000;
  text-transform: uppercase;
  display: block;
  padding: 10px 25px;
  margin: 10px;
  text-align: center;
  font-size: 15px;
  flex-grow: 1;
}

.af-dealer-btn .af-svg-rightarrow {
  fill: #0B1057;
  position: relative;
  top: 7px;
}
.af-dealer-col-buttons .af-white-btn {
  margin: 10px auto 10px 0;
}
.af-logo-fix {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .af-service-col-mobile table {
    margin: 0;
  }

  .af-service-col-mobile table tr {
    text-align: left;
    line-height: 1;
  }

  .af-service-col-mobile tableth:last-child,
  .af-service-col-mobile table td:last-child {
    text-align: right;
  }

  .af-service-col-mobile table th {
    font-weight: 700;
    font-size: 1.0rem;
  }

  .af-service-col-mobile table td {
    font-weight: 400;
    font-size: 0.9rem;
  }

  .af-open-today-box {
    flex-direction: column;
    right: 0;
    justify-content: center;
    text-align: center;
    top: 68px;
    margin-bottom: 68px;
  }

  .af-open-today-box table {
    margin: 8px auto;
  }

  .af-dealer-content {
    text-align: center;
    margin: 10px auto;
  }

  .af-dealer-col-buttons {
    flex-direction: column;
  }

  .af-dealer-col-buttons .af-dealer-btn {
    width: 100%;
    margin: 10px 0;
  }
}

@media (min-width: 768px) {
  #af-hero .af-open-today-box {
    flex-direction: column;
    position: absolute;
    right: 15px;
    padding: 5px 15px;
    max-width: 235px;
    top: 111px;
  }

  .af-dealer-info {
    width: 600px;
  }

  .af-dealer-info-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    max-width: 600px;
  }

  .af-dealer-info {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .af-dealer-name,
  .af-dealer-phone {
    font-weight: 700;
    font-size: 20px;
  }

  .af-dealer-spacer {
    height: 1px;
    background-color: #A0A0A0;
    width: 100%;
    margin: 10px auto;
  }

  .af-col-2 .af-dealer-btn {
    margin-top: 0;
  }
}

@media (min-width: 576px) and (max-width: 767px) {

  .col-sm-5,
  .col-sm-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .af-dealer-info {
    margin-top: 70px;
  }
}

@media (min-width: 992px) {
  .af-open-today-box {
    flex-direction: column;
    position: absolute;
    right: 0;
    top: 111px;
    padding: 5px 15px;
    max-width: 220px;
  }

  .af-dealer-content {
    text-align: left;
  }

  .af-dealer-col-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1200px) {
  .af-open-today-box {
    padding: 10px 15px;
    right: 45px;
  }

  .af-dealer-col-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* --------------------- 
  Search Inventory 
---------------------- */
#af-homepage-search {
  background-color: #F8F9FC;
  padding-bottom: 40px;
}

#af-homepage-search .af-subtext {
  font-size: 34px;
  font-weight: 400;
  line-height: 38px;
  padding: 50px 0 10px 0;
}

#af-search-inv {
  margin: 10px 0 0 20px;
}

.af-search-select-wrapper,
.af-search-btn-wrapper {
  display: inline-block;
  width: 16%;
  padding: 0 5px;
  vertical-align: top;
}

.af-search-select-wrapper {
  min-height: 30px;
  font-size: 13px;
}

.af-search-select-wrapper select {
  width: 100%;
  float: none;
  min-height: 50px;
  height: 36px;
  background: none;
  border: 2px solid #0B1057;
  color: #0B1057;
  line-height: 36px;
  font-size: 13px;
  padding: 0 5px;
  border-radius: 0;
}

.af-search-select-wrapper select option {
  background: #FFF;
  color: #000;
}

.af-search-icon svg {
  height: 15px;
  position: relative;
  top: 3px;
  right: 5px;
  fill: #0B1057;
  padding-right: 5px;
}

.af-search-btn-wrapper .af-btn {
  background: none;
  border: 0;
  border: 2px solid #0B1057;
  color: #0B1057;
  cursor: pointer;
  font-size: 13px;
  font-weight: 300;
  line-height: 25.7143px;
  margin: 0;
  padding: 6px 9px 8px;
  text-align: center;
  text-transform: uppercase;
  transition-delay: 0s;
  transition-duration: 0.2s;
  transition-property: #FFF;
  transition-timing-function: ease;
  vertical-align: middle;
  width: auto;
  height: 50px;
  display: inline-block;
  min-width: 150px;
}

.af-search-btn-wrapper .af-btn .af-search-icon {
  display: inline-block;
  padding-top: 5px;
  width: 20px;
}
.af-search-btn-wrapper .af-btn:hover .af-search-icon svg {
  fill: #fff;
  transition: all .5s ease;
}
#af-homepage-search>.container #af-search-inv .af-search-select-wrapper select.form-control {
  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position-x: 100%;
  background-position-y: 50%;
  /*filter: grayscale(0) brightness(0);*/
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  padding: 7px 12px 8px;
  line-height: 1;
  text-transform: uppercase;
}

#af-homepage-search .form-control:focus {
  border-color: #333;
}

/* IE Styles */
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
  #af-search-section-light #af-search-inv .af-search-btn-wrapper .af-btn {
    display: inline-block;
    width: 100%;
    padding-top: 8px;
  }

  #af-search-section-light #af-search-inv .af-search-btn-wrapper .af-search-icon {
    display: inline-block;
    width: 20%;
    margin-left: -30px;
    vertical-align: middle;
    position: relative;
    top: -2px;
  }
}

@media (max-width: 767px) {
  #af-homepage-search {
    padding-bottom: 10px;
  }

  #af-homepage-search .container {
    padding: 20px 0;
  }

  #af-homepage-search .container.form {
    margin: 10px 0 0;
  }

  #af-homepage-search .af-subtext {
    padding: 10px 0;
  }

  .af-search-select-wrapper,
  .af-search-btn-wrapper {
    width: 95%;
    margin: 0 auto;
    font-size: 16px;
    padding: 5px 0;
  }

  .af-search-btn-wrapper select {
    padding: 0;
  }

  #af-search-inv {
    margin: 0;
  }

  #af-search-inv #af-search-inv-inner {
    text-align: center;
  }

  #af-homepage-search-inner p.af-subtext {
    margin: 10px auto;
    max-width: 375px;
  }

  #af-search-inv-inner {
    display: block;
  }

  .af-search-header .af-search-icon svg {
    margin-left: -135px;
    margin-top: 9px;
  }

  .af-search-btn-wrapper .af-btn {
    width: 100%;
  }
}

@media (min-width: 768px) {
  p.af-subtext.af-search-icon {
    margin-bottom: 10px;
  }

  #af-search-section-light {
    display: block;
    background: #24282B;
    width: 100%;
    clear: both;
  }

  #af-search-inv #af-search-inv-inner {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  #af-search-inv #af-search-inv-inner select {
    min-width: 80px;
    width: 100%;
    margin: 0 0 10px 0;
    padding-left: 5px;
    font-size: 13px;
  }

  #af-search-inv #af-search-inv-inner .af-search-select-wrapper {
    display: inline-block;
    padding: 0 5px 0 0;
    width: 15%;
  }

  #af-search-inv #af-search-inv-inner .af-search-btn-wrapper.af-btn-container {
    display: inherit;
    width: 17%;
  }
}

@media (min-width: 768px) and (max-width:991px) {
  #af-search-inv .af-search-select-wrapper select {
    font-size: 13px;
  }
}

@media (min-width: 992px) {
  #af-search-section-light #af-search-inv .af-search-select-wrapper {
    width: 16%;
  }

  #af-search-section-light #af-search-inv .af-search-select-wrapperselect {
    max-width: 100%;
    width: 100%;
    margin: 0 0 10px 0;
  }
}

/* --------------------- 
  Welcome/Dealer Text 
---------------------- */

#af-welcome {
  margin: 50px 0;
}

#af-welcome .top-row {
  margin: 0 -15px 30px;
}

.af-welcome-content {
  padding: 40px;
}

.af-welcome-content p {
  font-size: 16px;
  line-height: 22px;
}
.af-welcome-content h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.77px;
  line-height: 27px;
  margin-bottom: 10px;
}
h1.af-title {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 20px;
  line-height: 22px;
  margin-bottom: 10px;
  text-align: center;
  display: none;
}

p.af-title-dealer {
  font-size: 44px;
  line-height: 38px;
  margin-bottom: 15px;
  text-transform: none;
}
.img-responsive {
  margin: 0 auto;
}
.bottom-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.row.bottom-row::before,
.row.bottom-row::after {
  display: none;
}
.af-service-img,
.af-dealer-img {
  width: calc(50% - 5px);
  height: 200px;
}
.af-exterior-img {
  width: 100%;
  height: 200px;
}

@media (max-width: 991px) {
  #af-welcome {
    margin: 0 0 40px 0;
  }

  #af-welcome .top-row {
    margin-bottom: 10px;
    /* chen - instead of -30px */
  }
}

@media (min-width: 992px) {
  #af-welcome .top-row {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .af-service-img,
  .af-dealer-img,
  .af-exterior-img {
    height: 300px;
  }
  .af-service-img,
  .af-dealer-img {
    width: calc(25% - 7.5px);
  }
  .af-exterior-img {
    width: calc(50% - 5px);
  }
}

/* --------------------- 
  Models / Featured Models 
---------------------- */

#af-model-featured .af-our-models {
  color: #FFF;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 40px;
  background-color: #010101;
}

.af-models {
  margin-bottom: 30px;
}
.af-models .af-featured-model-img {
  padding: 0;
}
.af-models img {
  display: block;
  height: auto;
  margin: 0 auto;
  width: 100%;
}
.af-models .af-models-content {
  background-color: #F8F9FC;
  padding-top: 100px;
}

.af-models .af-models-content p {
  font-size: 14px;
  line-height: 22px;
}

@media (max-width: 991px) {
  .af-models .af-models-content {
    padding-top: 0;
  }

  .af-models .af-models-content h2 {
    margin-top: 9px;
    font-size: 1.5rem;
  }

  .af-models .af-models-content p {
    margin-bottom: 10px;
  }
}

@media (max-width: 767px) {
  #af-model-featured .af-our-models span {
    display: block;
    padding: 62px 0;
    position: relative;
    /* top: 54px; */
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
  }
  .af-model-reverse {
    display: flex;
    flex-direction: column-reverse;
  }
  .af-hero-mobile {
    margin-top: -65px;
  }
}

@media (min-width: 768px) {
  #af-model-featured .af-our-models span {
    display: block;
    padding: 80px 45px;
  }
  #af-model-featured .af-our-models-large {
    background-color: #4477D4;
    margin-bottom: 40px;
  }
  #af-model-featured .af-our-models-text {
    color: #fff;
    font-size: 44px;
    line-height: 53px;
    padding: 40px 30px;
    width: 45%;
  }
  #af-model-featured .af-our-models-image {
    border-top-left-radius: 16px;
    border-bottom-left-radius: 16px;
    width: 55%;
  }
}

@media (min-width: 992px) {
  #af-model-featured .af-our-models span {
    display: block;
    padding: 150px 45px;
  }
  #af-model-featured .af-our-models-text {
    padding: 65px 30px 65px 45px;
  }
  .af-models .row {
    display: flex;
    align-items: stretch;
  }
  .af-models .af-models-content {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .af-models .af-models-content h2 {
    font-size: 1.5rem;
  }
}


@media (min-width: 1200px) {
  #af-model-featured .af-our-models span {
    display: block;
    padding: 200px 45px;
  }
  #af-model-featured .af-our-models-text {
    padding: 95px 50px 95px 90px;
  }
}

@media (min-width: 1440px) {
  #af-model-featured .af-our-models-text {
    padding: 150px 50px 150px 90px;
    width: 40%;
  }
  #af-model-featured .af-our-models-image {
    width: 60%;
  }
}

@media (min-width: 1600px) {
  #af-model-featured .af-our-models-text {
    padding: 170px 50px 170px 120px;
  }
}

/* --------------------- 
  Service
---------------------- */

#af-service h2 {
  line-height: 38px;
  margin-bottom: 15px;
}
#af-service h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 27px;
  margin-bottom: 15px;
}
#af-service .af-dealer-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.af-service-content {
  background: rgba(248, 249, 252, 0.9);
  padding: 30px;
  position: relative;
}

.af-service-content p {
  font-size: 18px;
}

@media (max-width: 767px) {
  .af-service-content {
    display: block;
  }

  .af-service-content h2 {
    font-size: 1.8rem;
  }

  .af-service-content p {
    font-size: 16px;
  }
}

@media (min-width: 768px) {
  #af-service h2 {
    font-size: 44px;
  }
}

@media (min-width: 992px) {
  #af-service {
    background: url("/images/dealership/service-bg-desktop.jpg") center center;
    min-height: 769px;
    background-size: cover;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: center;
    align-items: center;
  }

  .af-service-content {
    border-top-right-radius: 52px;
    border-bottom-right-radius: 52px;
    flex: 0 0 65%;
    padding: 30px 40px 30px 45px;
  }
}

@media (min-width: 1200px) {
  .af-service-content {
    background: rgba(248, 249, 252, 0.9);
    padding: 30px;
    flex: 0 0 55%;
    padding: 30px 80px 30px 90px;
  }
}

@media (min-width: 1600px) {
  .af-service-content {
    flex: 0 0 45%;
    padding: 30px 80px 30px 120px;
  }
}

/* --------------------- 
  Reviews
---------------------- */

#af-reviews {
  background: #F8F9FC;
  padding-bottom: 20px;
}

#af-reviews .af-section-header-container h3 {
  text-align: center;
  padding: 50px 0 20px 0;
  font-weight: 400;
}

.af-dealer-reviews {
  padding: 15px;
  background: #FFF;
  box-shadow: 0px 3px 6px #00000029;
  margin-right: 15px;
  display: grid;
  grid-template-rows: 60px auto auto;
  grid-template-columns: 100px auto;
  grid-template-areas: "site stars"
    "review review"
    "name name";
}
.af-dealer-site {
  grid-area: site;
  display: flex;
  align-items: center;
}
.af-dealer-reviews .af-dealer-site img {
  margin-left: -15px;
}
.af-dealer-stars {
  grid-area: stars;
  display: flex;
  align-items: center;
  margin-left: -25px;
}
.af-dealer-review {
  grid-area: review;
}
.af-dealer-reviews .af-dealer-review p {
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
  padding: 0 15px;
}
.af-dealer-customer-name {
  grid-area: name;
}
.af-dealer-reviews .af-dealer-customer-name {
  padding: 0 15px;
  line-height: 28px;
}

@media (max-width: 991px) {
  .af-dealer-reviews {
    margin: 20px;
  }
}

@media (min-width: 768px) {
  .af-section-header-container h3 {
    font-size: 38px;
    padding: 60px;
  }

  #af-reviews .container {
    display: flex;
    justify-content: center;
  }

  .af-dealer-reviews {
    flex: 0 0 50%;
    max-width: 45%;
    width: 50%;
  }
}

/* --------------------- 
  Disclaimer
---------------------- */

#af-disclaimer {
  padding: 30px 15px;
}

#af-disclaimer p {
  font-size: 12px;
  line-height: 20px;
}

@media (min-width: 992px) {
  #af-disclaimer {
    padding: 50px 20px;
  }
}

/* --------------------- 
  Map
---------------------- */
.af-map-section .nopadding,
.af-map {
  padding-left: 0;
  padding-right: 0;
}

.af-map-search h1 {
  font-size: 24px;
  margin-bottom: 0;
}

.af-map-search p.af-dealer-address {
  font-size: 16px;
  margin-bottom: 0;
  line-height: 1.7;
}

.af-map-search input:-webkit-autofill,
.af-map-search input:-webkit-autofill:hover,
.af-map-search input:-webkit-autofill:focus {
  border: 2px solid #000;
  -webkit-text-fill-color: #000;
  -webkit-box-shadow: none;
  transition: background-color 5000s ease-in-out 0s;
  outline: none;
}

.af-map-search input.form-control {
  border-radius: 0;
  color: #000;
  border: solid 1px #000;
  margin: 7px 0;
}

.af-map-search .af-directions-btn {
  text-align: center;
}

.af-map-search .af-directions-btn .af-btn {
  padding-right: 30px;
  background-color: #c51a47;
  color: #fff;
  border: 0;
}

.af-about-map-overlay .af-map-search #gdf {
  margin-top: 15px;
}

@media (max-width: 767px) {
  .af-map-search h1 {
    font-size: 24px;
    margin-top: 15px;
    margin-bottom: 5px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .af-about-map-overlay {
    width: 100%;
    background: #FFF;
  }

  .af-map-search {
    width: 100%;
    max-width: 700px;
    background: none;
    margin-bottom: 30px;
  }
}

@media (min-width: 992px) {
  .af-about-map-overlay {
    height: 598px;
    z-index: 1;
  }

  .af-about-map-title {
    position: absolute;
    left: 85px;
    top: 60px;
  }

  .af-map-search {
    left: 5px;
    margin-top: 170px;
    max-width: 375px;
    padding: 25px;
    background-color: #F4F4F4;
  }

  .af-map-search .af-dealer-address {
    line-height: 24px;
  }

  .af-map-search .af-dealer-address h1.af-map-text {
    font-size: 20px;
    margin-bottom: 0;
    margin-top: 20px;
    line-height: 28px;
  }

  .af-form-container {
    padding-bottom: 20px;
  }

  .af-map .af-map-container {
    height: 600px;
  }
}