/**
 * Global Form Styles
 * To be added to the main stylesheet later
 */

 @font-face {
  font-family: 'IBMPRegular';
  src: url(../assets/fonts/IBMPRegular.ttf);
}


html{
  font-family: 'IBMPRegular','Open Sans', sans-serif;
}

body{
  background:transparent;
}

select{
  height: 40px;
}

input[type="date"] {
  font-family: 'IBMPRegular','Open Sans', sans-serif;
  padding: .70rem 1rem;
}

 .title-bar {
  background: white;
  color: black;
  padding: 1rem;
}

.title-bar h1 {
  color: black;
  font-size: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.form-page {
  background: rgb(240,240,240);
  color: black;
  padding: 1rem;
}

.panel-container {
  background: white;
  border: 1px solid rgb(200,200,200);
  border-radius: 1rem;
  margin: 1rem auto;
  width: 100%;
  max-width: 65rem;
  padding: 1rem 2rem;
}

.form-intro {
  font-size: 1.5rem;
  text-align: left;
  color: #212529;
  max-width: 50rem;
  margin: 1rem auto 2rem;
}

.form-intro::after {
  content: "";
  display: block;
  margin-top: 10px;
  width: 30px;
  margin-bottom: 20px;
  height: 2px;
  background: #000;
}

.form-intro p {
  margin-bottom: 1rem;
}

.form-title {
  padding: 1rem 0;
}

h1.eyebrow {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0;
  text-align: center;
}

p.subtitle {
  font-size: 3.2rem;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 2rem;
  line-height: 1;
}

a.quote-vehicle-back, a.quote-vehicle-back:visited {
  text-transform: uppercase;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  padding: .25rem 1rem;
  background-color: #feb902;
  color: black;
  border-radius: 2rem;
  text-decoration: none;
}



.global-form {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  padding: 1rem 1rem;
}

.form-fieldset {
  border: none;
  padding: 1rem 0;
}

.global-form h3, .form-fieldset legend {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: bold;
  color: rgb(40,40,40);
  margin-top: 4rem;
  margin-bottom: 1rem;
}



.form-line {
width: 100%;
display: flex;
flex-direction: column;
margin-bottom: 1.0rem;
}

.form-line label{
  font-size: 14px;
}

.form-line a, .form-line a:visited {
  color: black;
  font-weight: bold;
}

.form-line input[type="text"], .form-line input[type="email"], .form-line input[type="tel"], .form-line input[type="date"] {
  background: #ffffff;
  border: 1px solid #424b5a;
  resize: vertical;
  margin-bottom: 0px !important;
  -webkit-transition: all 0.5s ease-in-out 0s;
  -moz-transition: all 0.5s ease-in-out 0s;
  transition: all 0.5s ease-in-out 0s;
  padding: 12px 4px;
  color: #626262;
  border-radius: 5px;
}

select{
  background: #ffffff;
  color: #626262;
  border: 1px solid #424b5a;
  width: 100%;
  border-radius: 5px;
}

.form-line label.error {
  color: red;
  font-size:12px;
}

.form-line input[type="submit"] {
  color: #ffffff;
  text-transform: uppercase;
  background-color: #00598c;
  border-radius: 0;
  padding: .7rem;
  font-weight: bold;
  font-size: 1rem; 
  cursor: pointer;
}

.form-line input[type="button"] {
  color: #ffffff;
  text-transform: uppercase;
  background-color: #424b5a;
  border-radius: 0;
  padding: .7rem;
  font-weight: bold;
  font-size: 1rem; 
  cursor: pointer;
  border: none;
}

.form-line input[type="button"]:hover {
  background-color: #597086;
}

.form#page-cotizar {
padding-top: 3rem;
margin-top: 1rem;
}

.form .container {
padding-top: 2rem;
}

.quote-vehicle-presentation {
  margin-top: 2rem;
display: grid;
grid-row-gap: 1rem;
grid-column-gap: 1rem;
}

.quote-vehicle-presentation .vehicle-photo {
position: relative;
height: 15rem;
}

.quote-vehicle-presentation .vehicle-photo img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: contain;
object-position: center center;
}

.vehicle-details-price {
  font-size: .8rem;
  font-weight: bold;
}

.vehicle-details-price span {
  font-size: 1.5rem;
}

@media (min-width: 40rem){
.quote-vehicle-presentation {
  grid-template-columns: 2fr 1fr;
}
  .quote-vehicle-presentation .vehicle-photo {
    height: 25rem;
  }
}

/**
* Plugin Styles
*/

.shop-appointment-splash {
  display: block;
  height: 20rem;
  background-color: transparent;
  background-image: url(../img/bg-shop-appointment.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.shop-appointment {
display: block;
position: relative;
}

.appointment-welcome {
text-align: center;
padding: 2rem 1rem;
}

#appointment-form {
padding: 1rem;
}

.thanks {
background-image: url(../img/icon-check.png);
background-size: 4rem;
background-repeat: no-repeat;
background-position: top center;
background-color:purple;
text-align: center;
padding: 4rem 1rem;
margin: 1rem auto;
max-width: 20rem;
}

.spinner {
margin: 1rem auto 0;
width: 70px;
text-align: center;
}

.spinner > div {
width: 1rem;
height: 1rem;
background-color: #000;

border-radius: 100%;
display: inline-block;
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}

.spinner .bounce2 {
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
0%, 80%, 100% { -webkit-transform: scale(0) }
40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
0%, 80%, 100% { 
  -webkit-transform: scale(0);
  transform: scale(0);
} 40% { 
  -webkit-transform: scale(1.0);
  transform: scale(1.0);
}
}


/**
* Vehicles Grid Block
*/

.vehicles-grid-heading {
  font-size: 2rem;
  font-weight: bold;
  text-transform: uppercase;
  width: 100%;
  max-width: 80rem;
  margin: 2rem auto 4rem;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
  line-height: .85;
}

.vehicles-grid-heading span {
  padding-right: 1rem;
}

.vehicles-grid-heading:after {
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #feb902;
  flex-grow: 1;
  margin-bottom: .5rem;
}

.vehicles-grid {
  display: grid;
  grid-row-gap: 2rem;
  grid-column-gap: 2rem;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto 6rem;
}

.vehicle-card, .vehicle-card:visited {
  text-align: left;
  color: black;
  text-decoration: none;
  background: white;
  border: 1px solid #ccc;
  border-radius: 1rem;
  padding: 2rem;
}

.vehicle-grid-photo {
  display: block;
  margin: 1rem auto;
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 55%;
  overflow: hidden;
}

.vehicle-grid-photo img {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vehicle-card-name, .vehicle-card-version {
  font-size: 1.2rem;
  font-weight: bold;
  color: black;
}

.vehicle-card-name {
  text-transform: uppercase;
  font-size: 1.5rem;
  margin-bottom: 0;
  line-height: 1;
}

.vehicle-grid-final-price {
  font-size: 1.5rem;
  font-weight: bold;
}

.vehicle-grid-final-price span {
  font-size: .8rem;
}

.vehicle-grid-regular-price {
  font-size: .8rem;
}

.vehicle-grid-details {
  font-size: 1rem;
  line-height: 1;
  color: #888;
  margin-top: 2rem;
  margin-bottom: 2rem;
  display: flex;
}

.vehicle-grid-transmission {
  background-image: url(/wp-content/themes/jeep/images/icons/icon-transmission.svg);
  background-size: 1.5rem;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding-left: 2rem;
  padding-top: 1rem;
}

.vehicle-grid-fuel {
  background-image: url(/wp-content/themes/jeep/images/icons/icon-fuel.svg);
  background-size: 2rem;
  background-repeat: no-repeat;
  background-position: left bottom;
  padding-left: 2.5rem;
  margin-left: 1rem;
  padding-top: 1rem;
}

.vehicle-grid-cta {
  border: none;
  color: black;
  font-size: 1rem;
  font-weight: bold;
  background: #feb902;
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
  display: block;
  margin: 1rem auto 0;
  text-align: center;
  width: 100%;
  max-width: 20rem;
  border-radius: .25rem;
  padding: 1rem;
}

@media (min-width: 40rem) {
  .vehicles-grid {
      grid-template-columns: 1fr 1fr 1fr;
  }
}


@media (max-width: 420px) {
  .global-form {
    max-width: 90%!important;
  }


  .form-line input[type="text"], .form-line input[type="email"], .form-line input[type="tel"] {
    padding: 12px 0px!important;
    padding-left: 5px!important;
  }


}