@font-face {
  font-family: "Ando-Custom";
  src: url("../font/Montserrat-VariableFont_wght.ttf") format("truetype");
}
* {
  margin: 0;
  padding: 0;
  font-family: "Ando-Custom", sans-serif;
  transition: 0.5s;
}

form {
  width: calc(20vw - 2rem);
  height: calc(100vh - 6.5rem);
  border: 1px solid rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 5.5rem;
  left: calc(10vw + 1rem);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 1rem;
  background-color: white;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
  border-radius: 5px;
  overflow-y: auto;
}
form .container {
  margin: 0.5rem 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
form .container label {
  width: 33%;
  font-size: 0.9rem;
}
form .container .subContainer {
  width: 67%;
  display: flex;
  flex-wrap: wrap;
}
form .container .subContainer * {
  flex-grow: 1;
  padding: 0.5rem;
  background-color: transparent;
  min-width: 50%;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  text-transform: capitalize;
}
form .container .subContainer * option {
  text-transform: capitalize;
}
form .container #formReset {
  margin: 0.5rem 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
  width: 100%;
  text-align: center;
  padding: 0.5rem 0;
  cursor: pointer;
  border-radius: 5px;
}
form input[type=submit] {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding: 0.5rem 0;
  border: 0;
  background-color: rgba(17, 30, 107, 0.9);
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.mainArea {
  margin-left: 30vw;
  width: 60vw;
  min-height: 100vh;
}

.srcRefine {
  box-sizing: border-box;
  margin: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  background-color: white;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
}
.srcRefine .container {
  display: flex;
  align-items: center;
}
.srcRefine .container label {
  font-weight: bold;
  color: rgba(17, 30, 107, 0.9);
}
.srcRefine .container * {
  margin: 0 0.5rem;
}
.srcRefine .container img {
  height: 1.5rem;
  width: 1.5rem;
  cursor: pointer;
  filter: grayscale(1);
  opacity: 0.5;
}
.srcRefine .container img.active {
  opacity: 1;
  transform: scale(1.1);
  filter: grayscale(0);
}
.srcRefine #order {
  padding: 0.5rem;
  background-color: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
}
.srcRefine .mobileFilter {
  display: none;
}
.srcRefine.active {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

#latestCars {
  min-height: 200px;
  display: flex;
}
#latestCars.grid {
  flex-wrap: wrap;
  justify-content: flex-start;
}
#latestCars.grid .car {
  overflow: hidden;
  width: calc(33.3333333333% - 2rem);
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: white;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
  box-sizing: border-box;
  margin: 1rem;
  max-height: 478px;
}
#latestCars.grid .car .carImage {
  width: 100%;
  height: 50%;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}
#latestCars.grid .car .carImage img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#latestCars.grid .car .carText {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 50%;
  box-sizing: border-box;
  padding-top: 1rem;
}
#latestCars.grid .car p {
  display: flex;
  align-items: center;
}
#latestCars.grid .car p img {
  height: auto;
  width: 1rem;
  margin-right: 0.5rem;
}
#latestCars.grid .car .carName {
  margin: 0.5rem;
  font-size: 1.1rem;
  font-weight: bold;
}
#latestCars.grid .car .carPrice {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgba(17, 30, 107, 0.9);
  margin-left: 1rem;
}
#latestCars.grid .car .carPrice span {
  text-decoration: line-through;
  color: rgba(255, 0, 0, 0.5);
}
#latestCars.grid .car .carDetails {
  display: flex;
  justify-content: space-between;
  background-color: white;
  z-index: 10;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
}
#latestCars.grid .car .carDetails .carFuel {
  text-transform: capitalize;
}
#latestCars.grid .car .schedBtn {
  margin: 0.5rem;
  padding: 0.5rem 0;
  display: block;
  text-align: center;
  color: rgba(17, 30, 107, 0.9);
  cursor: pointer;
  border-radius: 5px;
}
#latestCars.grid .car .schedBtn:hover {
  background-color: rgb(235, 235, 235);
}
#latestCars.grid .car .schedBtn.dis {
  color: rgba(0, 0, 0, 0.2);
}
#latestCars.grid .car .schedBtn.dis:hover {
  background-color: white;
}
#latestCars.grid .car .detBtn {
  margin: 0.5rem;
  background-color: rgba(17, 30, 107, 0.9);
  display: block;
  text-align: center;
  padding: 0.5rem 0;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}
#latestCars.grid .car .detBtn:hover {
  opacity: 0.9;
}
#latestCars.grid .car .carAttr {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
#latestCars.grid .car .carAttr p {
  padding: 0.2rem 1rem;
  border-radius: 5px;
  color: white;
  font-size: 0.9rem;
  opacity: 0.8;
  display: block;
  text-align: center;
  margin: 0;
}
#latestCars.grid .car .carAttr p.promo {
  background-color: green;
}
#latestCars.grid .car .carAttr p.rez {
  background-color: red;
}
#latestCars.grid .car .carAttr p.new {
  background-color: orange;
  opacity: 1;
}
#latestCars.grid .car .carAttr p.order {
  background-color: rgba(17, 30, 107, 0.9);
}
#latestCars.list {
  flex-direction: column;
}
#latestCars.list .car {
  height: 200px;
  position: relative;
  display: flex;
  align-items: center;
  background-color: white;
  box-sizing: border-box;
  margin: 0.5rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.2));
}
#latestCars.list .car .carImage {
  overflow: hidden;
  height: 100%;
  width: 40%;
  border-radius: 5px;
}
#latestCars.list .car .carImage img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#latestCars.list .car:hover .carImage img {
  transform: scale(1.05);
}
#latestCars.list .car p {
  display: flex;
  align-items: center;
}
#latestCars.list .car p img {
  height: auto;
  width: 1rem;
  margin-right: 0.5rem;
}
#latestCars.list .car .carAttr {
  position: absolute;
  top: 0rem;
  left: 0rem;
}
#latestCars.list .car .carAttr p {
  padding: 0.1rem 0.5rem;
  border-radius: 5px;
  color: white;
  font-size: 0.9rem;
  opacity: 0.8;
  display: block;
  text-align: center;
  margin: 0;
}
#latestCars.list .car .carAttr p.promo {
  background-color: green;
}
#latestCars.list .car .carAttr p.rez {
  background-color: red;
}
#latestCars.list .car .carAttr p.new {
  background-color: orange;
  opacity: 1;
}
#latestCars.list .car .carAttr p.order {
  background-color: rgba(17, 30, 107, 0.9);
}
#latestCars.list .car .carText {
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
#latestCars.list .car .carText .carNamePrice {
  display: flex;
  justify-content: space-between;
}
#latestCars.list .car .carText .carNamePrice p.carName {
  font-size: 1.1rem;
  font-weight: bold;
}
#latestCars.list .car .carText .carNamePrice p.carPrice {
  font-size: 1.1rem;
  font-weight: bold;
  color: rgba(17, 30, 107, 0.9);
}
#latestCars.list .car .carText .carNamePrice p.carPrice span {
  text-decoration: line-through;
  color: rgba(255, 0, 0, 0.5);
}
#latestCars.list .car .carText .carDetails {
  display: flex;
  flex-wrap: wrap;
}
#latestCars.list .car .carText .carDetails .carMilage {
  margin: 0 2rem;
}
#latestCars.list .car .carText .carBtns {
  display: flex;
  justify-content: flex-end;
}
#latestCars.list .car .carText .carBtns .schedBtn {
  padding: 0.5rem;
  color: rgba(17, 30, 107, 0.9);
  cursor: pointer;
  border-radius: 5px;
  margin-right: 1rem;
}
#latestCars.list .car .carText .carBtns .schedBtn:hover {
  background-color: rgb(235, 235, 235);
}
#latestCars.list .car .carText .carBtns .schedBtn.dis {
  color: rgba(0, 0, 0, 0.2);
  display: none;
}
#latestCars.list .car .carText .carBtns .schedBtn.dis:hover {
  background-color: white;
}
#latestCars.list .car .carText .carBtns .detBtn {
  background-color: rgba(17, 30, 107, 0.9);
  display: block;
  text-align: center;
  padding: 0.5rem 5rem;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}
#latestCars.list .car .carText .carBtns .detBtn:hover {
  opacity: 0.9;
}

footer {
  background-color: rgba(17, 30, 107, 0.9);
  display: flex;
  z-index: 999;
  padding-left: calc(30vw - 2rem);
  justify-content: space-around;
}
footer .left, footer .center, footer .right {
  display: flex;
  flex-direction: column;
  margin: 0 5rem;
}
footer .left p, footer .left a, footer .center p, footer .center a, footer .right p, footer .right a {
  text-decoration: none;
  color: white;
  margin: 0.5rem 0;
  font-size: 1rem;
}
footer .left p.title, footer .left a.title, footer .center p.title, footer .center a.title, footer .right p.title, footer .right a.title {
  font-size: 1.2rem;
}
footer .left .social, footer .center .social, footer .right .social {
  display: flex;
  justify-content: space-between;
  width: 100%;
}
footer .left .social img, footer .center .social img, footer .right .social img {
  height: 35px;
  width: auto;
  cursor: pointer;
}

@media only screen and (max-width: 768px) {
  footer {
    flex-direction: column;
    padding-left: 0;
    max-width: 100%;
  }
  footer .left, footer .center, footer .right {
    max-width: 100%;
    align-items: center;
    margin: 1rem 0;
  }
  footer .left p, footer .left a, footer .center p, footer .center a, footer .right p, footer .right a {
    font-size: 1rem;
  }
  footer .left .social, footer .center .social, footer .right .social {
    margin-top: 1rem;
    width: 100%;
    justify-content: space-around;
  }
  nav {
    display: none;
  }
  form {
    display: block;
    z-index: 9998;
    position: fixed;
    top: calc(-100% - 10rem);
    left: 0;
    width: 100vw;
    height: auto;
  }
  form.active {
    top: 5rem;
  }
  .mainArea {
    margin-left: 0;
    width: 100%;
  }
  .srcRefine {
    margin: 0;
    padding: 0.5 0;
    z-index: 9999;
  }
  .srcRefine .container label {
    display: none;
  }
  .srcRefine #order {
    padding: 0.3rem;
  }
  .srcRefine .mobileFilter {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: rgba(17, 30, 107, 0.9);
    font-weight: bold;
    cursor: pointer;
  }
  #latestCars.grid .car {
    width: calc(100% - 2rem);
  }
  #latestCars.list .car {
    height: 120px;
  }
  #latestCars.list .car .carText {
    padding: 0 1rem;
    height: 100%;
  }
  #latestCars.list .car .carText .carNamePrice p.carName {
    font-size: 1rem;
    padding: 0;
  }
  #latestCars.list .car .carText .carNamePrice p.carPrice {
    font-size: 1rem;
  }
  #latestCars.list .car .carText .carDetails {
    justify-content: space-between;
    font-size: 1rem;
  }
  #latestCars.list .car .carText .carDetails .carMilage {
    margin: 0 0;
  }
  #latestCars.list .car .carText .carBtns {
    display: none;
    font-size: 1rem;
  }
  #latestCars.list .car .carText .carBtns .schedBtn {
    padding: 0;
  }
  #latestCars.list .car .carText .carBtns .detBtn {
    padding: 0.2rem 1rem;
  }
  #latestCars.list .car .carAttr {
    top: 0;
    left: 0;
  }
  #latestCars.list .car .carAttr p {
    font-size: 0.7rem;
  }
}
@media only screen and (min-width: 769px) and (max-width: 1600px) {
  form {
    left: 1rem;
  }
  .mainArea {
    margin-left: 20vw;
    width: 80vw;
  }
}/*# sourceMappingURL=search.css.map */