/*~~~~~ Styles for FormBundle app ~~~~~ */

#formbundle .form-field {
  display: block;
  margin: .8em 0;
}
#formbundle form table td,
#formbundle form table th {
  padding: .8em .4em;
  vertical-align: top;  
}
#formbundle form table th {
  text-align: right;
}
#formbundle .error-field label {
  color: #a00;
}
#formbundle form legend {
  padding: 0 2px;
  font-weight: bold;
}
#form-content-before,
#form-content-after {
  margin: 20px 0;
}
#formbundle span.required {
  color: #a00;
  line-height: .8em;
}

/*~~~~~INPUT FIELDS~~~~~*/
#formbundle form input, #formbundle form select, #formbundle form textarea {
  overflow: hidden;
  max-width: 100%;
  padding: 2px 4px;
}

/*~~~~~INPUT LIST~~~~~~~~~~~~~~~~~~~ 
(SUCH AS A CHOICE OF MULTIPLE FIELDS) */
#formbundle ul input {
  display: inline;
}
#formbundle form label {
  font-weight: bold;   
}
#formbundle form li {
  list-style: none;
  padding: 0;
  margin: 0;
}
#formbundle form fieldset {
  border: none;
  margin: 0;
}
#formbundle form fieldset label {
  width: auto;
}
#formbundle form ul {
  padding: 0;
  margin: 0;
}
#formbundle form ul label {
  display: inline;
  font-weight: normal;
}
/*~~~~~HELP TEXT~~~~~*/
#formbundle .help-text {
  display: block;
  color: #606060;
  font-size: .9em;
  font-style: italic;
}

/*~~~~~ERRORS~~~~~~~*/
#formbundle #errorbox {
  background: #feeeee url("../img/warning.png") no-repeat 10px 10px;
  border: 2px solid #a00;
  min-height: 70px;
  padding:5px 5px 10px 90px;
  margin: 2px 0;
}
#formbundle .errorlist a {
  color: #333;
}
#formbundle #errorbox h2 {
  font-family: Georgia,"Times New Roman",Times,serif;
  font-weight: normal;
  font-size: 18px;
  color: #a00;
  background: #feeeee;
  margin: 0 0 4px;
}
#formbundle #errorbox ul {
  font-size: .9em;
  font-weight: normal;
  margin-bottom: 0;
  border:none;
}
#formbundle .errorlist,
#formbundle .error {
  color: #a00;
  font-size: .9em;
}
#formbundle .form-field .errorlist, #formbundle label.error {
  color: #a00;
  font-size: .85em;
  border: none;
}
#formbundle .errorlist + input, #formbundle .errorlist + select, #formbundle .errorlist + textarea,
#formbundle input.error, #formbundle select.error, #formbundle textarea.error {
  background: #feeeee;
  border: 1px solid #a00;
}
