/**
 * CSS styles for form and input fields.
 *
 * These styles are used with form and input fields generated via yiic script.
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2009 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

div.yiiForm
{
	border: 1px solid #ccc;
	background: #fff;
	margin: 25px;
	padding: 5px 15px;
	width: 680px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

div.yiiForm label.required
{
}

div.yiiForm span.required
{
	color: red;
}

div.yiiForm.linkType
{
	border: 1px solid #c6e1e3;
	background: #e1eff7;
	margin: 0 0 10px 0;
	overflow: hidden;
}

div.errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

div.errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.errorSummary ul li
{
	list-style: square;
}

div.yiiForm p.hint
{
	color: gray;
	font-size: 90%;
	margin: 0 0 0 110px;
}

div.yiiForm fieldset
{
	border: #DDD 1px solid;
	margin: 10px 0;
	padding: 10px;
}

div.yiiForm legend
{
	font-weight: bold;
}

div.yiiForm label
{
}

div.yiiForm div.action
{
	clear: left;
	/*margin-left: 110px;*/
	width: 100%;
	padding: 0.25em 0;
	text-align: center;
}

div.yiiForm div.simple,
div.yiiForm div.complex
{
	clear: left;
	padding: 0.45em 0;
	line-height: 20px;
	margin-bottom:5px;
}

div.yiiForm div.simple label,
div.yiiForm div.complex span
{
	display: block;
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 150px;
}

div.yiiForm div.simple > input,
div.yiiForm div.simple > textarea,
div.yiiForm div.simple > div.textbox
{
	width: 320px;
}

div.yiiForm div.simple input[type="radio"]
{
	clear: left;
	float: left;
}

div.yiiForm div.simple input,
div.yiiForm div.simple textarea,
div.yiiForm div.simple select,
div.yiiForm div.action input[type="submit"]
{
	
}

div.yiiForm div.action input[type="submit"],
div.yiiForm div.simple input[type="submit"]
{
	padding:3px 7px;
}

div.yiiForm div.simple input:focus,
div.yiiForm div.simple textarea:focus,
div.yiiForm div.simple select:focus
{
	border:#55f solid 1px;
}

div.yiiForm div.simple input[type="radio"] + label
{
	text-align: left;
	width: auto;
}

div.yiiForm div.simple input[type="checkbox"]
{
	width:10px;
	margin:0px;
}

div.yiiForm div.simple input[type="image"]
{
	border:none;
}


div.yiiForm label.error,
div.yiiForm span.error
{
	color: #C00;
}

div.yiiForm input.error,
div.yiiForm textarea.error,
div.yiiForm select.error
{
	background: #FEE;
	border-color: #C00 !important;
}

div.yiiForm div.simple div,
div.yiiForm div.complex div
{
	margin-left: 110px;
}

div.yiiForm.linkType div.simple div
{
	margin: 0px;
	padding-left: 110px;
	line-height: 18px;
	overflow: hidden;
}

div.curFocus {
	background: #fdecb2;
}
/*Test simple form*/

