

/*Match By Body Types */

.section-vehicle-blocks {
  margin-bottom: 20px;
}
.home_BodyTypes {
  margin-left: -1.5px;
  margin-right: -1.5px;
}
.home_BodyType {
  width: 25%;
  float: left;
  border-left: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
  background-color: #f4f4f4;
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.search-widget h1 {
  color: #fff;
  font-weight: 900;
  text-shadow: 2px 2px 12px #000000;
  font-size: 6rem;
  text-transform: uppercase;
  margin-bottom: 0;
}
.search-widget h2 {
  color: #fff;
  font-weight: 900;
  text-shadow: 2px 2px 12px #000000;
  font-size: 2.7rem;
  margin-top: 0;
}
.search-widget .search-well {
  padding: 2rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  margin: 4rem 18rem;
}
.search-widget .search-well .nav-tabs {
  border-bottom: none;
}
.search-widget .search-well .mainParentsTabs {
  margin-bottom: 2rem;
}
.search-widget .search-well .mainParentsTabs > li {
  text-align: center;
  width: 246px;
}
.search-widget .search-well .mainParentsTabs > li a {
  background: #4fc6d9;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 0px;
  margin-right: 10px;
}
.mainParentsTabs.nav-tabs > li:last-child {
  margin-right: 0;
  width: 248px;
}
.mainParentsTabs.nav-tabs > li:last-child a {
  margin-right: 0;
}

.mainParentsTabs.nav-tabs > li.active > a,
.mainParentsTabs.nav-tabs > li.active > a:focus,
.mainParentsTabs.nav-tabs > li.active > a:hover {
  background: #006895 !important;
}
.firstParents {
  border-bottom: 1px solid #9e9e9e !important;
  margin-bottom: 10px;
  color: #fff;
}
.firstParents > li a {
  color: #fff;
  font-weight: 700;
  border: none !important;
  border-radius: 0px !important;
}
.firstParents.nav-tabs > li > a:hover {
  background: transparent !important;
}
.firstParents.nav-tabs > li.active > a,
.firstParents.mainParentsTabs.nav-tabs > li.active > a:focus,
.firstParents.mainParentsTabs.nav-tabs > li.active > a:hover {
  background: transparent !important;
  color: #4fc6d9;
}
.search-well select {
  /* styling */
  font-weight: 700;
  background-color: transparent;
  border: none;
  border-radius: 4px;
  display: inline-block;
  font: inherit;
  line-height: 1.5em;
  padding: 0.5em 3.5em 0.5em 1em;

  /* reset */

  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
}
.search-well select option {
  color: #000;
  font-weight: 700;
  width: 300px;
  background: #f4f4f4;
}

.search-well select {
  background-image: linear-gradient(45deg, transparent 50%, #ffffff 50%),
    linear-gradient(135deg, #ffffff 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 20px) calc(1em + 2px),
    calc(100% - 15px) calc(1em + 2px), 100% 0;
  background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
  background-repeat: no-repeat;
  border-right: 1px solid #fff;
  border-radius: 0;
}

.search-well select:focus {
  background-image: linear-gradient(45deg, white 50%, transparent 50%),
    linear-gradient(135deg, transparent 50%, white 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 15px) 1em, calc(100% - 20px) 1em, 100% 0;
  background-size: 5px 5px, 5px 5px, 2.5em 2.5em;
  background-repeat: no-repeat;
  border-color: grey;
  outline: 0;
}

.search-well select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #000;
}
.search-well .form-control {
  background: none;
  border: none;
  color: #fff;
}
.search-well .nav-search-new {
  margin-top: 20px;
}

.home_BodyType-1 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-trucks.png');
}
.home_BodyType-2 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-suvs.png');
}
.home_BodyType-3 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-minivans.png');
}
.home_BodyType-4 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-sedans.png');
}
.home_BodyType-5 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-coupes.png');
}
.home_BodyType-6 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-covertibles.png');
}
.home_BodyType-7 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-hatchbacks.png');
}
.home_BodyType-8 {
  background-image: url('http://web17.hostwebb.net/websites/2380/images/body-types-luxuries.png');
}

.home_BodyType-1,
.home_BodyType-2,
.home_BodyType-3,
.home_BodyType-4 {
  border-bottom: 3px solid #fff;
}

/* This code makes the Flipping effect */
/* entire container, keeps perspective */
.flip-container {
  perspective: 1000px;
  -webkit-perspective: 1000px;

  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
}
/*  UPDATED! flip the pane when hovered */
.flip-container:hover .back {
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
}
.flip-container:hover .front {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}
.flip-container,
.front,
.back {
  width: 100%;
  height: 163px;
}
/* flip speed goes here */
.flipper {
  transition: 0.35s;
  -webkit-transition: 0.35s;

  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;

  position: relative;
}
/* hide back of pane during swap */
.front,
.back {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;

  transition: 0.35s;
  -webkit-transition: 0.35s;

  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;

  position: absolute;
  top: 0;
  left: 0;
}
/*  UPDATED! front pane, placed above back */
.front {
  z-index: 2;
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
}
/* back, initially hidden pane */
.back {
  transform: rotateY(-180deg);
  -webkit-transform: rotateY(-180deg);
}
/* This code makes the Flipping effect */

/* Flipping Items Styling */
.back {
  background-color: rgba(0, 0, 0, 0.6);
}
.inner-front h4 {
  font-size: 24.82px;
  font-weight: normal;
  color: #131f62;
  text-transform: uppercase;
}
.inner-back h4 {
  color: #fff;
  /*font-size: 24.82px;*/
  font-weight: normal;
  text-transform: uppercase;
}
.inner-back-btns {
  margin-left: 10%;
  margin-right: 10%;
  margin-top: 15%;
}
.inner-back-btns a {
  border: 1px solid #eee;
  color: #eee;
  text-transform: uppercase;
}
.inner-back-btns a:hover {
  background: #eee;
  color: #000;
}
.inner-back,
.inner-front {
  margin-top: 5px;
  margin-left: 5px;
}
.inner-back-btns a:first-child {
  margin-bottom: 13.5px;
}
/* The below classes are for mobile and work with a script */
.flipHover-Back {
  transform: rotateY(0deg);
  -webkit-transform: rotateY(0deg);
}
.flipHover-Front {
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
}
@media (max-width: 767px) {
  .home_BodyType {
    width: 50% !important;
  }
  .inner-front h4 {
    font-size: 17px !important;
  }
  .inner-back-btns {
    margin-top: 25%;
  }
}

/* Seacrh Buttons */
.homeSearchButton {
  text-align: right;
}
.homeSearchButton button {
  border-radius: 0px;
  background: #fff;
  color: #000;
  border-color: transparent;
  font-weight: 600;
  padding: 6px 35px;
}

/*Zip Code Location */

#zipCodeLocation .search_make_zip {
  display: inline-flex;
  margin-left: 30px;
}
#zipCodeLocation .search_make_zip .zip_input {
  border-bottom: 1px solid #fff;
  border-radius: 0;
  margin-left: 15px;
}
.zip_overlay {
  display: inline-flex;
  margin-left: 30px;
}
.zip_overlay .search_make_zip .zip_input {
  border-bottom: 1px solid #fff;
  border-radius: 0;
  margin-left: 15px;
}
/*Vehcile Price */

.vehiclePrice {
  margin-top: 20px;
}

.vehiclePrice select {
  border-right: none;
  border: 1px solid #fff;
  max-width: 175px;
}
.vehiclePrice .priceSecondCol {
  display: inline-flex;
}
.vehiclePrice .priceSecondCol label,
.priceInitcol h6 {
  text-transform: uppercase;
  margin-top: 10px;
  margin-right: 15px;
  font-weight: bold;
  font-size: 16px;
}
.vehiclePrice .priceThirdCol {
  padding-left: 30px;
}
.vehiclePrice button {
  padding: 6px 15px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .search-widget h1 {
    font-size: 4rem;
  }
  .search-widget h2 {
    font-size: 2rem;
  }
  .search-widget .search-well {
    margin: 4rem 15px 4rem -15px;
  }
  .search-widget .search-well .mainParentsTabs > li {
    width: 226px;
  }
  .search-widget .search-well .mainParentsTabs > li a {
    font-size: 15px;
  }
  .vehiclePrice .priceSecondCol label {
    margin-left: 10px;
  }
  .vehiclePrice select {
    font-size: 14px;
    width: 160px;
  }
  .search-well select {
    width: 180px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .search-widget .search-well {
   margin: 4rem 15px 4rem -15px;
  }
  .search-widget .search-well .mainParentsTabs > li {
    width: 300px;
  }

  .vehiclePrice .priceSecondCol label {
    margin-left: -15px;
  }
  .vehiclePrice select {
    max-width: unset;
  }
}

@media (max-width: 767px) {
    .site-header{padding: 0;}
  .search-widget .search-well {
    margin: 3rem 0;
  }
  .search-widget .search-well .mainParentsTabs > li {
    width: 100%;
    margin-bottom: 10px;
  }
  .search-widget .search-well .mainParentsTabs > li a {
    margin-right: 0 !important;
  }
  .search-well select {
    width: 100%;
    border-right: none;
  }
  #zipCodeLocation .search_make_zip {
    display: block;
    margin-left: 15px;
  }
  #zipCodeLocation .search_make_zip .zip_input {
    margin-left: 0;
    border: 1px solid #fff;
  }
  .homeSearchButton {
    text-align: left;
    margin-left: 15px;
  }
  .vehiclePrice select {
    border: 1px solid #fff;
    max-width: unset;
    margin-bottom: 10px;
  }
  .vehiclePrice #zipCodeLocation .search_make_zip {
    margin-left: 0;
  }
  .vehiclePrice .priceThirdCol {
    padding-left: 15px;
  }
  .vehiclePrice .priceSecondCol {
    display: block;
    margin-bottom: 10px;
  }
  .vehiclePrice .homeSearchButton {
    margin-left: 0;
  }
  .search-well .nav-search-new {
    margin-top: -15px;
  }
  .homeSearchButton button{width: 100%;}
  .search-widget{padding: 0rem 0 2rem;}
}
@media (max-width: 480px) {
  .search-well .firstParents li:first-child {
    width: unset;
  }
  .search-widget h2 {
    margin-top: 5px;
    font-size: 13px;
    display: none;
  }
  .search-widget h1 {
    font-size: 23px;
    display: none;
  }
  .firstParents > li a{
      padding: 10px 10px;
    font-size: 14px;}
  
}
@media(max-width: 374px){
    .search-widget .search-well .mainParentsTabs > li a{font-size: 14px;}
     .firstParents > li a{
      padding: 10px 5px;
    font-size: 13px;}
}

@media (min-width: 481px) and (max-width: 767px) {
  .search-widget h2 {
    margin-top: 5px;
    font-size: 16px;
  }
  .search-widget h1 {
    font-size: 30px;
  }
}
@media(min-width: 768px){
    .search-widget{padding: 6rem 0 8rem;}
}
@media(min-width: 1200px){
    .vehCountRow,.searchBrandsHome{margin: auto 18rem !important;} 
    .search-widget .search-well{min-height: 217px;}
}
@media(max-width: 767px){
    #searchUsed #zipCodeLocation{
        margin-top: 90px;
    }
}
