#formwrapper {

}

#innerformwrapper  {
  padding: 3em 10%;
}

form  {
  line-height: 1.7em;         /* define line-height for aligning fonts to the middle of inputs  */
  margin-bottom: 50px;
}

.hidden  {
  display: none;
}

.contactform label  {

}

.contactform input  {
  width: 100%;
  max-width: 240px;
}

.contactform textarea  {
  width: 100%;
  max-width: 240px;
  resize: none;
}

.contactform input[type="radio"]  {
  margin-right: 15px;
  width: auto;
}

.contactform input[type="checkbox"]  {
  margin-right: 30px;
  width: auto;
}

.contactform input[type="submit"]  {
  font-family: Georgia, Times, "Times New Roman", serif;
  text-transform: uppercase;
  font-size: 1.1em;
  width: auto;
  border: none;
  background: none;
  margin: 30px 0;
  cursor: pointer;
}

.contactform input[type="submit"]:hover {
  color: #d1aa57;
}

#gender  {
  white-space: nowrap;
}

.mainlbl  {
  width: 125px;
  float: left;
}

.checkbox   {
  float: left;
  width: 35px;
}

.field  {
  margin-bottom: 5px;
}

.red_error {
color: red;
}

.smalltext {
  font-size: 0.7em;
}

/* Input and textareas in standard mode */

.filled_input, .filled_textarea {
  background-color: #ddd;
  padding: 4px 10px;
  border: 1px solid #8F8F8F;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -o-border-radius: 15px;
  -ms-border-radius: 15px;
}

.filled_textarea {
   padding: 4px 10px;
}

/* Input and textareas not filled - error */

.empty_input, .empty_textarea {
  background-color: #ffbcbc;
  padding: 4px 10px;
  border: 1px solid red;
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  -o-border-radius: 15px;
  -ms-border-radius: 15px;
}

.empty_textarea {
   padding: 4px 10px;
}

/* Gender radio-buttons empty - error */
#form_gender_empty {
   color: red;
}
