.vehicle-page-inner {}

#vehicle-page .section-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

#vehicle-page .cover {
  overflow: hidden;
  border-radius: 7px;
  width: 50%;
  padding-right: 3rem;
}

#vehicle-page .main-features {
  padding-left: 3rem;
}


#vehicle-page .vehicle-info {
  line-height: 1;
  max-width: 300px;
  font-size: 0.9rem;

}



#vehicle-page .vehicle-info th {
  font-weight: normal;
  min-width: 160px;
  padding: 10px 0 10px 0px;
}

#vehicle-page .vehicle-info td {
  padding: 10px 0 10px 10px;

}

#vehicle-page .vehicle-info .key {
  position: relative;
  display: block;
  overflow: hidden;
}

#vehicle-page .vehicle-info .key::after {
  content: " ";
  flex-grow: 1;
  border-bottom: 1px dotted #fafafa;
  margin: 0 5px;
  width: 1000px;
  position: absolute;
  bottom: 0;
}

#vehicle-page .section-pictures {
  background-color: #fafafa;
  padding: 5px;
}




#vehicle-page .pictures-grid {
  font-size: 0;
  line-height: 0;
  overflow: hidden;


}

#vehicle-page .grid-sizer,
#vehicle-page .grid-item {
  float: left;
  width: 16.6666666667%;
  overflow: hidden;
  position: relative;
  overflow: hidden;
  padding: 5px;

}

#vehicle-page .grid-item-double {
  width: 33.3333333333%;
}

#vehicle-page .grid-item-inner {
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}

#vehicle-page .grid-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#vehicle-page .grid-item .legend {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  font-size: 0.7rem;
  text-align: center;
}

#vehicle-page .section-features {}

#vehicle-page .section-features .text {
  padding-left: 20px;
  border-left: 3px solid var(--red);
  width: 50%;
}




#vehicle-page .section-features .text p {
  margin: 7px 0 !important;
  text-align: justify;
}


#vehicle-page .section-features .features {
  margin-left: 0rem;
}


#vehicle-page .section-pictures.banner {
  background-color: #333;
  padding: 0px;
}


#vehicle-page .pictures-banner {
  display: flex
}


#vehicle-page .pictures-banner {
  display: flex;
  overflow: hidden;
  position: relative;
  width: 100%;
}

#vehicle-page .banner-item {
  width: 100vw;
  max-height: 80vh;
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: margin-left 0.5s ease;
}

#vehicle-page .pictures-banner img {
  max-height: 80vh;
  width: 100%;
  object-fit: cover;
}





#vehicle-page .prev,
#vehicle-page .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 1;
}

#vehicle-page .prev {
  left: 0;
}

#vehicle-page .next {
  right: 0;
}


#vehicle-page .section-pictures .thumbnails {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  flex-wrap: wrap;
}

#vehicle-page .section-pictures .thumbnail-item {
  cursor: pointer;
  margin: 5px 5px;
  border-bottom: 2px solid transparent;
  height: 82px;
}

#vehicle-page .section-pictures .thumbnail-item img {
  height: 80px !important;
}

#vehicle-page .section-pictures .thumbnail-item.active {
  border-bottom: 2px solid var(--red);
}


#inquireModal .d-flex {}

#inquireModal .modal-body .vehicle-image {
  flex: 0 0 50%;
  padding-right: 3rem;
}

#inquireModal .submit-wrapper {
  display: flex;
  justify-content: end;
}

#inquireModal .submit {
  flex: 0 0 50%;
  text-align: center;

}


@media screen and (min-width:992px) and (max-width: 1200px) {

  #vehicle-page .section-top .cover {
    padding-right: 2rem;
  }

  #vehicle-page .main-features {
    padding-left: 2rem;
  }

  #inquireModal .modal-body .vehicle-image {

    padding-right: 1rem;
  }

  #inquireModal .modal-dialog {
    width: 96% !important;
  }

}


@media screen and (min-width:576px) and (max-width: 991px) {

  #vehicle-page .section-top .cover {
    padding-right: 1rem;
  }

  #vehicle-page .main-features {
    padding-left: 1rem;
  }

  #vehicle-page .section-features .text {
    flex: 0 0 100%;
    margin-bottom: 3rem;
  }

  #vehicle-page .section-features .features {
    margin-left: 0rem;
  }

  #inquireModal .modal-body .vehicle-image {

    padding-right: 1rem;
  }



}


@media screen and (max-width: 767px) {

  #inquireModal .modal-dialog {
    width: 96% !important;
    max-width: 100%;
  }
}


@media screen and (max-width: 575px) {
  #vehicle-page .section-top {
    flex-direction: column;
  }

  #vehicle-page .vehicle-cta {
    text-align: center;
  }




  #vehicle-page .section-top .cover {
    width: 100%;
    margin-bottom: 3rem;
    padding-right: 0rem;
  }

  #vehicle-page .main-features {
    padding-left: 0rem;
    max-width: 400px;
    margin: 0 auto;
  }

  #vehicle-page .section-features .text {
    flex: 0 0 100%;
    margin-bottom: 3rem;
  }

  #vehicle-page .section-features .features {
    margin-left: 0rem;
  }


  #inquireModal .modal-body form {
    flex-direction: column;
  }

  #inquireModal .d-flex {
    flex-direction: column;
  }

  #inquireModal .modal-body .vehicle-image {
    flex: 0 0 100%;
    padding-right: 0;
  }

  #inquireModal .modal-dialog {
    width: 96% !important;
  }

  #inquireModal .submit {
    flex: 0 0 100%;
    text-align: center;

  }

}