/* Form container */
form {
  padding: 0;
  margin: 0;
  border-radius: 0;
  background: #fff;
  color: #3d3d3d;
  line-height: 1.42857143;
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

/* Horizontal form */
form .form-group {
  margin: 0 0 22px;
}

form label {
  width: 100%;
}

form .form-group .form-control {
  width: 100% !important;
}

form .form-control.is-invalid ~ .invalid-feedback {
  width: 100%;
}

/* Labels styles */
form label {
  color: #000;
  font-size: 12px;
  font-family: 'Roboto', Arial;
  font-weight: 700;
  margin-bottom: 0;
  min-height: 1px;
  padding-top: 3px;
  text-align: left;
  text-transform: capitalize;
}

/* Hide label validation icons */
form label::after,
form label::before { display: none !important; }

/* Default input styles */
form .form-group .form-control {
  background: #f2f2f2 !important;
  border: 1px solid #e2e2e1 !important;
  border-radius: 5px !important;
  color: #555 !important;
  float: left !important;
  height: 34px !important;
  line-height: 1.42857143 !important;
  margin: 0 !important;
  padding: 6px 12px !important;
  font-size: 14px !important;
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
  -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
  -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
  -moz-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s !important;
}

/* Select lists initial appearance */
form select {
  appearance: menulist !important;
  -webkit-appearance: menulist !important;
  -moz-appearance: menulist !important;
  -ms-appearance: menulist !important;
  -o-appearance: menulist !important;
}

/* Hide chevron for select lists */
form .form-control-label.select::after,
form .form-control-label.country::after {
  display: none;
}

/* Checkbox/radio button padding fix */
form .form-check {
  padding: 0 15px;
}

/* Checkbox/radio button styles */
form .form-check input[type="checkbox"] {
  height: 20px;
  margin: 15px 5px 15px 0;
  opacity: 1;
  position: static;
  width: 20px;
}

/* Checkbox/radio button label styles */
form .form-group .form-check label.form-check-label {
  color: inherit !important;
  display: inline-block;
  text-align: left;
  vertical-align: top;
  width: calc(100% - 25px);
  font-weight: 400;
  font-size: 14px;
  text-transform: none;
}

/* Submit button styles */
form input[type="submit"] {
  background: #4f2582;
  border: 1px solid #4f2582;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  margin: 5px 0 15px 0;
  padding: 12px 30px;
  text-transform: uppercase;
  transition: all 200ms ease-in-out;
  -webkit-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  width: 100%;
}

/* Submit button hover/focus state */
form input[type="submit"]:hover,
form input[type="submit"]:focus {
  background: transparent;
  border: 1px solid #4f2582;
  color: #4f2582;
}

/* Submit button focus state */
form input[type="submit"]:focus {
  box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
  -webkit-box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
  -o-box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
  -moz-box-shadow: 0 0 0 .2rem rgba(0, 123, 255, .25);
  outline: 0;
}

/* Invalid input value message */
form .form-control.is-invalid ~ .invalid-feedback {
  color: red !important;
  font-weight: bold;
}

/* Required asterisks */
form abbr[title="required"]::after {
  content: '*';
  font-size: 16px;
  position: absolute;
}
