div.Form
{
	background: #eaeaea;
	padding: 1.4em;
}

div.HalfWidth
{
	width: 500px;
}

div.Form ul.FormElements
{
	width: 99%;
}

div.Form ul.FormElements li
{
	clear: both;
}

div.Form ul.FormElements li.CommentAfter
{
	margin-bottom: 0.5em!important;
}

div.Form ul.FormElements li.Last
{
	margin-bottom: 0!important;
}

div.Form ul.FormElements li.MinorComment
{
	font: normal 1.1em/130% Tahoma,Arial,Verdana,sans-serif;
	color: #666666;
	margin-bottom: 0.5em;
}

div.Form ul.FormElements li.MinorCommentAfter
{
	font: normal 1.1em/130% Tahoma,Arial,Verdana,sans-serif;
	color: #666666;
	margin-top: -0.5em;
	margin-bottom: 1.5em;
}

div.Form ul.FormElements li.Section
{
	font: normal 1.5em/130% Tahoma,Arial,Verdana,sans-serif;
	padding-bottom: 0.2em;
	margin-bottom: 0.7em;
	color: #666666;
	border-bottom: 1px dotted #666666;
}

div.Form ul.FormElements li.Section p
{
	font: normal 0.8em/150% Arial,Tahoma,Verdana,sans-serif;
	display: block;
	margin-top: 0.3em;
	padding-bottom: 0;
}

div.Form ul.FormElements li.Field
{
	margin-bottom: 1em;
}

div.Form ul.FormElements li.Text input,
div.Form ul.FormElements li.Text textarea
{
	font: normal 1.2em/130% Arial,Tahoma,Verdana,sans-serif;
	border: 1px solid #b9b9b9;
	background: white url('../images/input_bg.gif') repeat-x left top;
	padding: 0.4em 0.1em;
	color: #333333;
}

div.Form ul.FormElements li.Field label
{
	display: block;
	font: bold 1.2em/130% Arial,Tahoma,Verdana,sans-serif;
	margin-bottom: 0.4em;
	color: #888888;
}

div.Form ul.FormElements li.Buttons
{
	padding-top: 0.4em;
}

div.Form ul.FormElements li.Buttons input.Button
{
	font: normal 1.2em Arial,Verdana,sans-serif;
}

div.Form ul.FormElements li.Buttons a
{
	margin-right: 8px;
}

div.Form ul.FormElements li.Checkbox input
{
	float: left;
}

div.Form ul.FormElements li.Checkbox label
{
	float: left;
	font-weight: normal;
	margin: 2px 0 0 5px;
}

ul.SimpleList li .Form li
{
	border-bottom: none;
}

/*
 * Messages
 */

div.Form ul.FormElements li.Error,
div.CommonError
{
	font: normal 1.2em/150% Arial,Tahoma,Verdana,sans-serif;
	color: #666;
	background-color: #ffffcc;
	padding: 1em;
	margin-bottom: 1.5em;
	border: 1px solid #ccc;
}

/*
 * Size selectors
 */

div.Form ul.FormElements li.Left
{
	float: left;
	width: 48%;
	clear: left;
}

div.Form ul.FormElements li.Right
{
	float: right;
	width: 48%;
	clear: right;
}

div.Form ul.FormElements li.Left input,
div.Form ul.FormElements li.Right input
{
	width: 100%;
}

div.Form ul.FormElements li.Large input,
div.Form ul.FormElements li.Large textarea
{
	width: 100%;
}

div.Form ul.FormElements li.Large textarea
{
	height: 10em;
}

div.Form ul.FormElements li textarea.Middle
{
	height: 5em;
}

div.Form ul.FormElements li textarea.Huge
{
	height: 15em;
}

/*
 * Texts
 */

div.Form h3
{
	font: bold 1.5em/130% Arial,Tahoma,Verdana,sans-serif;
	padding-bottom: 0.8em;
	color: #777;
}

div.Form p
{
	line-height: 170%;
}

/*
 * Buttons
 */

.Buttons a.AlignRight
{
	float: right;
	margin-right: 0px!important;
	margin-left: 8px;
}

.NoBackground
{
	background: transparent!important;
}

div.Form li.Buttons a.FixRightMargin
{
	margin-right: -3px!important;
}

div.Form a.RoundButton
{
	background-image: url("../images/cnt_form_btn_left.gif");
}

div.Form a.RoundButton span
{
	background-image: url("../images/cnt_form_btn_right.gif");
}

div.Form a.RoundButton:hover
{
	background-image: url("../images/cnt_form_btn_left_a.gif");
}

div.Form a.RoundButton:hover span
{
	background-image: url("../images/cnt_form_btn_right_a.gif");
}

a.LightButton
{
	float: left;
	padding-left: 3px;
	background: transparent url("../images/btn_light_left.gif") no-repeat left top;
	text-decoration: none;
	margin-right: 1em;
	outline: none;
}

a.LightButton span
{
	font: normal 1em Arial,Helvetica,sans-serif;
	color: white;
	text-decoration: none;
	background: transparent url("../images/btn_light_right.gif") no-repeat right top;
	float: left;
	cursor: pointer;
	height: 18px;
	padding: 2px 6px 0 2px;
}

/*
 * Inline forms
 */

.InlineForm div.Form ul.FormElements li.Error
{
	margin-bottom: 0.5em;
}

.InlineForm div.Form
{
	padding: 0 0 0.1em 0;
}

ul.SimpleList div.Form li
{
	padding-bottom: 0;
	padding-top: 0;
}

div.OperaMarginFix
{
	padding-bottom: 0.1em;
}

.InlineForm a.RoundButton span
{
	font-weight: normal;
}

.InlineForm div.Form ul.FormElements li.Text input,
.InlineForm div.Form ul.FormElements li.Text textarea
{
	background-position: left -1px;
	padding: 0.3em 0.1em;
}

.InlineForm div.Form ul.FormElements li.Field label
{
	font-weight: normal;
	margin-bottom: 0.3em;
}

.InlineForm div.Form ul.FormElements li.MinorCommentAfter
{
	margin-bottom: 0.5em;
}

.InlineForm div.Form ul.FormElements li.Field
{
	margin-bottom: 0.5em;
}