/* Form styles */
.form-container {
  position: relative;
  padding-bottom: 50px;
}

form {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  border: 0px solid #ddd;
  border-radius: 5px;
}

label {
  display: block;
  margin-bottom: 10px;
}

input, 
select,
textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;  
}

/* Form button */
button {
  display: block;
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 5px;
background-color: rgb(34, 183, 163);
	color: #fff;
  cursor: pointer;
}

button:hover {
  background-color: #0062cc;
}

/* OTHER STYLES */

.form-control {
  border: 1px solid #ddd;
  width: 100%;
  background-color: #fff;
  color: #333;
 }

 .form-control:active, .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #3b82f6;
    background: #fff;
}

.custom-select:active, .custom-select:focus {
  outline: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  border-color: #000; }

.btn {
  border: none;
  border-radius: 4px !important; }
  .btn.btn-primary {
    background: #54B849;
    color: #fff;
    padding: 15px 20px; }
  .btn:hover {
    color: #fff; }
  .btn:active, .btn:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none; }

label.error {
  font-size: 10px;
  color: red;
  font-weight: normal;
  margin-top: 4px;
  display: block; }

#message {
  resize: vertical; }



#form-message-warning, 
#form-message-success {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
  border: 0px solid #ddd;
  border-radius: 5px;
  position: absolute;
  bottom: -25px;
  left: 0;
  width: 100%; 
}


#form-message-warning, #form-message-success {
  display: none; 
}

#form-message-warning {
    background: #fcc7c7;
    color: #B90B0B;
}

#form-message-success {
    background: #c0e0be;
    color: #55A44E;
}

input.form-control.error,
input.form-control.is-invalid {
  border: 1px solid red !important;
  background: #fff;
}
textarea.form-control.error,
textarea.form-control.is-invalid {
  border: 1px solid red !important;
  background: #fff;
}
select.form-control.error,
select.form-control.is-invalid {
  border: 1px solid red !important;
  background: #fff;
}

/* Style select dropdown */
select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 35px;
}

select.form-control option {
  padding: 8px 12px;
  color: #333;
  background: #fff;
}

textarea#comments {
  height: 150px;
  padding: 12px 20px;
}
.submitting {
  float: left;
  width: 100%;
  padding: 10px 0;
  display: none;
  font-weight: bold;
  font-size: 12px;
  color: #000; 
  }

/* hide google recaptcha icon*/
.grecaptcha-badge{
display:none !important;
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  form {
    max-width: 100%;
    padding: 15px;
  }

  #form-message-warning,
  #form-message-success {
    max-width: 100%;
    padding: 15px;
    font-size: 14px;
  }

  input,
  select,
  textarea {
    padding: 12px;
    font-size: 16px; /* Prevent zoom on iOS */
  }

  button {
    padding: 12px;
    font-size: 16px;
  }

  textarea#comments {
    height: 120px;
  }

  label.error {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  form {
    padding: 10px;
  }

  input,
  select,
  textarea {
    padding: 10px;
  }

  button {
    padding: 10px;
  }
}