/* 
 Theme Name:     Bare bones for Divi
 Author:         Divi theme examples
 Author URI:     http://www.divithemeexamples.com 
 Template:       Divi
 Version:        1.0 
*/

/* ----------- PUT YOUR CUSTOM CSS BELOW THIS LINE -- DO NOT EDIT ABOVE THIS LINE --------------------------- */

#ags_form .container {
  width: 100%;
  padding-top: 0px !important;
}

#tabs-1 #form h2 {
  color: #292b2c !important;
  font-size: 22px;
  padding: 10px 0px;
  text-align: left !important;
}

#tabs-1 #form .row .col-2 #first_name,
#tabs-1 #form .row .col-2 #last_name,
#tabs-1 #form .row .col-2 #email_address,
#tabs-1 #form .row .col-2 #tel_contact {
  width: 100%;
  max-width: 327px;
  font-size: 14px;
  color: #292b2c;
  padding: 8px;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  border-radius: 2.5px;
}

#tabs-1 #form .row .col-2 {
  padding-left: 0;
  position: relative;
  min-height: 1px;
  padding-right: 8px;
}

#tabs-1 #form .row .col-2 #departure_country,
#tabs-1 #form .row .col-2 #destination_country,
#tabs-1 #form .row .col-2 .addresstextarea {
  width: 100%;
  max-width: 327px;
  font-size: 14px;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  border-radius: 2.5px;
}

#tabs-1 #form .row #datepicker {
  margin: 0 0 5px 0;
  width: 48em;
}

#tabs-1 #form .row #datepicker,
#tabs-1 #form .row #company_name,
#tabs-1 #form .row #departure_city,
#tabs-1 #form .row #destination_city {
  width: 48.4em;
  max-width: 89%;
  font-size: 14px;
  max-height: 40px;
  height: 40px;
  padding: 8px;
  color: #111;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  border-radius: 2.5px;
}

#tabs-1 #form .row .row-2 {
  width: 100%;
  max-width: 100% !important;
  font-size: 15px;
  font-weight: 400;
  padding: 5px 0px;
}

.row-2 {
  width: 100%;
  max-width: 380px;
  display: block;
  margin: 2px;
  padding: 5px;
  padding-left: 0px;
  margin-left: 0px;
  margin-top: 6px;
  clear: both;
}

#tabs-1 #form .row #comments {
  width: 45em;
  max-width: 100%;
  height: 250px;
  max-height: 250px;
  color: #111;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  border-radius: 2.5px;
  margin: 36px 0 0 5px;
}

#tabs-1 #form h2 {
  text-align: left;
  text-transform: uppercase;
  margin: 30px 0 10px 0;
  font-size: 19px;
  font-weight: 600;
}
#tabs-1 #form .row button {
  background: #b00000;
  border: 1px solid #fff;
  color: #fff;
  padding: 7px 45px;
  border-radius: 3px;
  text-transform: uppercase;
  font-size: 14px;
  margin: 10px 0 50px 0;
}

/* .preference_option_class {
  width: 103%;
  max-width: 327px;
  margin-left: -7px;
  font-size: 14px;
  color: #757575;
  padding: 8px;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  border-radius: 2.5px;
}

.error-message {
  font-size: 15px;
  color: red;
} */

.modal {
  display: flex;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #ffffff;
  margin: auto;
  padding: 70px 40px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 650px;
  font-size: 28px;
  font-family: apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.modal-content p {
  font-size: 28px;
  font-weight: 600;
  line-height: 35px;
  text-align: center;
  font-family: apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.modal #acceptButton {
  background-color: #b00000;
  color: #ffffff;
}

.modal button {
  display: inline-block;
  padding: 8px 30px;
  font-size: 16px;
  margin: 20px 10px 0px 10px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid #b00000;
  border-radius: 8px;
  width: 30%;
}

.modal #declineButton {
  background-color: #ffffff;
  color: #b00000;
}

#tabs-1 #form #moving_with_vehicle_div {
  padding: 0px 0px 0px 8px !important;
  width: 46em;
}

#tabs-1 #form #moving_with_vehicle_div .col-2 input[type="text"]:nth-child(1) {
  margin-right: 15px;
  color: #111;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  border-radius: 2.5px;
}

#tabs-1 #form #moving_with_vehicle_div .col-2 input[name="marques[]"] {
  width: 100%;
  max-width: 320px;
  margin-left: -7px;
}

#tabs-1 #form #moving_with_vehicle_div .col-2 input[name="modeles[]"] {
  width: 100%;
  max-width: 320px;
  margin-right: -7px;
}

#tabs-1 #form .row button {
  cursor: pointer;
}

.error-msg {
  font-weight: 400;
  font-size: 14px;
}

#row_9_col-2_1 input[name="marques[]"],
#row_9_col-2_2 input[name="modeles[]"] {
  width: 100%;
  max-width: 305px;
  padding: 7px;
  font-size: 14px;
  color: #292b2c;
  background-color: #f2f2f2;
  border-radius: 2.5px;
  border: 1px solid #e6e6e6;
}

input[type="text"] {
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  border: 1px solid #bebebe;
  padding: 7px;
  margin: 2px;
  margin-left: 0px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  /* outline: none; */
  display: block;
  width: 90%;
  max-width: 240px;
  max-height: 35px;
  color: #666666;
  margin-top: 0px;
  margin-bottom: 0px;
}

#departure_city_div_new #departure_city_new,
#destination_city_div_new #destination_city_new {
  max-width: 100%;
  font-size: 14px;
  max-height: 40px;
  height: 40px;
  padding: 8px;
  color: #111;
  width: 100%;
  border: 1px solid #e6e6e6;
  background-color: #f2f2f2;
  border-radius: 2.5px;
}

input,
button,
select,
textarea {
  line-height: inherit;
}

.vehicle-head {
  text-align: left;
  text-transform: uppercase;
  margin: 30px 0 10px 0;
  margin-left: -7px;
  font-size: 19px;
  font-weight: 600;
  color: #000000;
}

.addVehicles {
  font-size: 15px;
  font-weight: 400;
  color: #000;
  margin-top: 35px;
}

/* Tablets */
@media only screen and (max-width: 1024px) {
  #tabs-1 #form #moving_with_vehicle_div {
    padding: 0px 0px 0px 8px !important;
    width: 90%;
    max-width: 400px;
  }

  #tabs-1
    #form
    #moving_with_vehicle_div
    .col-2
    input[type="text"]:nth-child(1) {
    margin-right: 15px;
  }

  #tabs-1 #form #moving_with_vehicle_div .col-2 input[name="marques[]"],
  #tabs-1 #form #moving_with_vehicle_div .col-2 input[name="modeles[]"] {
    width: 100%;
    max-width: 320px;
    margin-left: -7px;
    margin-right: -7px;
  }
}

/* Laptops */
@media only screen and (max-width: 1366px) {
  input[type="text"],
  input[name="marques[]"],
  input[name="modeles[]"] {
    max-width: 300px;
  }
}

/* Tablets */
@media only screen and (max-width: 1024px) {
  .modal-content {
    padding: 60px 30px;
  }
}

/* Laptops */
@media only screen and (max-width: 1366px) {
  .modal-content {
    max-width: 500px;
    font-size: 24px;
  }

  .modal button {
    padding: 8px 25px;
    font-size: 14px;
  }
}

/* Smartphones */
@media only screen and (max-width: 768px) {
  .modal-content {
    padding: 50px 20px;
    max-width: 300px;
    font-size: 20px;
  }

  .modal button {
    padding: 8px 20px;
    font-size: 12px;
  }
}

@media only screen and (max-width: 768px) {
  .container,
  .col-2 {
    width: 100% !important;
  }
}
