/* $Id: html-reset.css,v 1.6.2.2 2010/06/26 15:36:03 johnalbin Exp $ */

/*
 * Forms
 */
form {
  margin: 0;
  padding: 0;
}

fieldset {
  margin: 1em 0;
  padding: 0.5em 0.8em;
}
fieldset legend {
  border: 2px solid #AAAAAA;
  font-weight: bold;
  padding: 0 0.5em;
}
fieldset legend a {
  text-decoration: none;
}

/* Override system.css */
html.js fieldset.collapsible legend a {
  background:url("../../d7baseengg/images/menu-expanded.gif") no-repeat scroll 5px 75% transparent;
  padding-left:20px;
}
html.js fieldset.collapsed legend a {
  background-image:url("../../d7baseengg/images/menu-collapsed.gif");
  background-position:5px 50%;
}

/* Webforms defaults */
div.webform-component {
  clear: both;
  margin-top: .5em;
}

div.webform-component-date label,
div.webform-component-select label,
div.webform-component-radios label,
div.webform-component-checkboxes label {
  margin-bottom: .5em;
}

/*
.webform-component-checkboxes .form-checkboxes label {
  text-align: left;
  width: auto;
  margin-right: 10px;
}
*/

.webform-client-form .form-required {
}

/**
 * @file
 * Form Styling
 */


.form-item,
.form-checkboxes,
.form-radios /* Wrapper for a form element (or group of form elements) and its label */ {
  margin: 1em 0;
}

.form-item input.error,
.form-item textarea.error,
.form-item select.error /* Highlight the form elements that caused a form submission error */ {
  border: 2px solid #c00;
}

.form-item label /* The label for a form element */ {
  display: block;
  font-weight: bold;
}

.form-item label.option /* The label for a radio button or checkbox */ {
  display: inline;
  font-weight: normal;
}

.form-required /* The part of the label that indicates a required field */ {
  color: #c00;
}

.form-item .description /* The descriptive help text (separate from the label) */ {
  font-size: 0.85em;
}

.form-checkboxes .form-item,
.form-radios .form-item /* Pack groups of checkboxes and radio buttons closer together */ {
  margin: 0.4em 0;
}

.form-submit /* The submit button */ {
}

.container-inline div,
.container-inline label /* Inline labels and form divs */ {
  display: inline;
}

/*
 * Drupal admin tables
 *
 * We overrode these styles in html-elements.css, but restore them for the admin
 * section of the site.
 */

form tbody {
  border-top: 1px solid #ccc;
}

form th,
form thead th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */
  border-bottom: 3px solid #ccc;
}

form tbody th {
  border-bottom: 1px solid #ccc;
}
