/* Forms
------------------------------------------------------------------*/

form.styled br {
	clear: left;
}

form.styled fieldset {
	border: 1px solid #CCC;
	margin: 10px 0px 10px 0px;
  padding: 0px 10px 10px 10px;
}

form.styled fieldset.noLegend {
    padding: 10px 10px 10px 10px;
}

form.styled fieldset.action {
	border: none;
  clear: both;
	margin: 10px 0px 0px 0px;
  padding: 0px;
}

form.styled fieldset div {
  clear: left;
	display: block;
}

form.styled fieldset div.form_error {
  display: inline;
  margin-left: 10px;
}

form.styled input {
	font-size: 12px;
	float: left;
  height: 17px;
	margin-bottom: 6px;
  padding: 2px 0px 0px 4px;
  width: 128px;
}

form.styled input[type=password] {
	border: 1px solid #CCC;
}

form.styled input[type=text] {
	border: 1px solid #CCC;
}

form.styled .input {
	border: 1px solid #CCC;
}

form.styled input.checkbox, form.styled input[type=checkbox] {
    border: 0px !important;
    height: 12px !important;
    width: auto !important;
}

form.styled input.hidden {
    display: none;
    visible: hidden;
}

input[type=image] {
  width: auto !important;
  height: auto !important;
}

form.styled label {
  display: block;
	width: 100px;
	float: left;
	margin-bottom: 6px;
	text-align: left;
	padding-right: 20px;
}

form.styled label:hover {
    color: #FF0000;
}

form.styled legend {
	/*background-image: url('../images/bg_legend.gif');*/
	background-repeat: repeat-x;
	background-position: top left;
  border: #CCC 1px solid;
  color: #000;
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 20px;
  margin-left: -11px;
  padding: 2px 10px 4px 10px;
  width: auto;
}

form.styled select {
	margin-bottom: 6px;
}

form.styled textarea  {
  font-family : Arial, Helvetica, "Times New Roman",  Sans-serif;
  width: 98%;
  height: 80px;
  padding: 2px 4px 2px 2px;
}

/* Fake textarea with scrollable div */

form.styled .textarea {
    border: 1px solid #CCC;
    height: 64px;
    margin-bottom: 10px;
    overflow:auto;
    padding: 8px;
    width: 98%;
}

form.styled .submit {
	background-color: #FFFFFF;
	/*background-image : url('../images/bg_input_submit.gif');*/
	background-repeat: repeat-x;
  border: 3px double #888;
	border-top-color: #CCC;
	border-left-color: #CCC;
	color: #000;
  font-size: 12px;
  font-weight: bold;
	height: 22px !important;
  margin-right: 5px;
	padding: 1px 4px 2px 4px;
  text-align: center;
  text-transform: uppercase;
  width: auto;
}

form.styled a.submit {
  position:relative;
  top: 5px !important;
  padding: 2px 4px 0px 4px;
}

form.styled .submit:active {
    color: #00FF00;
}

form.styled .submit:hover {
    color: #FF0000;
    text-decoration: none;
}

form.styled .radio {
	border: 0px;
}

/* optional form row */
form.styled .optional {
    font-weight: normal;
    margin-bottom: 6px;
    /*width: 270px;*/
}

/* required form row */
form.styled .required {
    font-weight: bold;
    margin-bottom: 6px;
    /*width: 320px;*/
}