/* ############################## */
/*         "Car Info" page        */
/* ############################## */

html {
  background-color: rgba(236, 240, 241, 0.4);
}

#car-info {
  height: auto;
  padding: 100px 0 40px 0;
}

#car-info-offer-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  padding-top: 30px;
}

#car-info-contact-container {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  margin-top: 30px;
}

/* ----- IMAGE SLIDER ----- */

.slider {
  position: relative;
  overflow: hidden;
  height: 550px;
  width: auto;
}

.slide {
  background-position: center;
  background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}
.background-bottom {
  background-position: bottom;
}

.slide.current {
  opacity: 1;
}

.buttons button#next {
  position: absolute;
  top: 50%;
  right: 10px;
  color: black;
}

.buttons button#prev {
  position: absolute;
  top: 50%;
  left: 10px;
  color: black;
}

.buttons button {
  border: none;
  background-color: transparent;
  color: #fff;
  cursor: pointer;
  padding: 13px 15px;
  outline: none;
}

/* ----- CAR INFO ----- */

.car-info-text h4 {
  font-size: 135%;
  padding-bottom: 10px;
  border-bottom: 2px solid #d0a134;
}

.car-info-text p {
  padding-top: 20px;
  font-size: 90%;
  line-height: 150%;
  text-align: left;
}

.car-info-text {
  margin-bottom: 35px;
}

.car-info-tech h5 {
  font-size: 100%;
  color: #d0a134;
}

.car-info-tech ul {
  margin: 10px 0 0 20px;
  font-size: 80%;
}

.car-info-tech li {
  padding: 1px;
}

/* ----- FORM ----- */

#contact-form {
  width: 90%;
}

input[type="text"],
input[type="email"],
select,
textarea {
  background-color: rgba(236, 240, 241, 0.4);
}

/* ----- PRICING ----- */

.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.pricing-table td {
  padding: 12px 0;
  text-align: center;
  background-color: #fff;
  border-right: 1px solid #252525;
  border-bottom: 1px solid #252525;
  font-size: 80%;
}

.pricing-table th {
  padding: 15px 0;
  color: #ddd;
  font-size: 90%;
  border-top: 1px solid #252525;
  border-right: 1px solid #252525;
  border-bottom: 1px solid #252525;
  background-color: #d0a134;
}

.pricing-table tr th:first-child,
.pricing-table tr td:first-child {
  border-left: 1px solid #252525;
}

.pricing-table tr:first-child th:first-child {
  border-top-left-radius: 10px;
}

.pricing-table tr:first-child th:last-child {
  border-top-right-radius: 10px;
}

.pricing-table tr:last-child td:first-child {
  border-bottom-left-radius: 10px;
}

.pricing-table tr:last-child td:last-child {
  border-bottom-right-radius: 10px;
}

/* ----- PRICING AND PHONE SECTION ----- */

#section-pricing-and-phone {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ----- PHONE ----- */

.phone-box {
  width: 100%;
  flex-grow: 1;
  margin-top: 30px;
}
