/**
 * TYPOlight webCMS
 * Copyright (C) 2005-2009 Leo Feyer
 *
 * This program is free software: you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation, either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this program. If not, please visit the Free
 * Software Foundation website at http://www.gnu.org/licenses/.
 *
 * PHP version 5
 * @copyright  Leo Feyer 2005-2009
 * @author     Leo Feyer <leo@typolight.org>
 * @license    LGPL
 * @version    1.0
 */
/* Fieldset */
fieldset {
  width: 390px;
  display: block;
  margin: 12px 0 12px 0;
  padding: 12px 12px 5px 12px;
}
* html fieldset {
  margin-top: 12px;
}
*:first-child+html fieldset {
  margin-top: 12px;
}
legend {
  color: #790000;
}
* html legend {
  margin-top: -24px;
  padding: 12px 0;
}
*:first-child+html legend {
  margin-top: -24px;
  padding: 12px 0;
}

/* Text fields */
input.text, input.password {
  width: 200px;
  margin: 1px 0 1px 5px;
}
* html input.text, * html input.password {
  margin: 0;
}
*:first-child+html input.text, *:first-child+html input.password {
  margin: 0;
}
label{
  width:150px;
}

/* Textarea */
textarea {
  width: 330px;
  height: 140px;
}
* html textarea {
  width: 328px;
}

/* Drop-down menu */
select {
  width: 204px;
  margin: 1px 0 1px 0;
}
* html select {
  width: 206px;
}

/* Radio buttons */
div.radio_container {
  margin: 0 0 1px 0;
}
* html div.radio_container {
  margin: 2px 0 -1px 0;
}
*:first-child+html div.radio_container {
  margin: 2px 0 -1px 0;
}
div.radio_container span {
  padding-right: 6px;
  display: block;
}
input.radio {
  margin: 1px 2px 0 1px;
  padding: 0;
  position: relative;
  top: 2px;
}
* html input.radio {
  margin: -4px -1px 0 -3px;
  position: relative;
  top: 1px;
}
*:first-child+html input.radio {
  margin: -4px 0 0 -3px;
  position: relative;
  top: 1px;
}

/* Checkboxes */
div.checkbox_container {
  margin: 0 0 1px 0;
}
* html div.checkbox_container {
  margin: 2px 0 -1px 0;
}
*:first-child+html div.checkbox_container {
  margin: 2px 0 -1px 0;
}
div.checkbox_container span {
  padding-right: 6px;
  display: block;
}
input.checkbox {
  margin: 3px 3px 0 1px;
  padding: 0;
}
* html input.checkbox {
  margin: -4px 0 0 -3px;
  position: relative;
  top: 1px;
}
*:first-child+html input.checkbox {
  margin: -4px 0 0 -3px;
  position: relative;
  top: 1px;
}

/* File upload */
input.file {
  margin: 1px 0 1px 0;
}
* html input.file {
  margin: 0;
}
*:first-child+html input.file {
  margin: 0;
}

/* Error message */
div.error {
  color: #ff0000;
}