/**
 * 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: 2px solid #B7DDF2;
	background: #EBF4FB;
	margin: 0;
	padding: 5px;
	width: 550px;
}

div.yiiForm label.required
{
}

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

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

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;
	padding: 0.25em 0;
}

div.yiiForm div.simple,
div.yiiForm div.complex
{
	clear: left;
	padding: 0.25em 0;
}

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

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;
}

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


/*--- Sste forms ---*/

table.form-table-site, table.form-table {
  width: 100%;
}

table.form-table-site th {
  width: 130px;
  text-align: left;
}

table.form-table-site td input, table.form-table-site td textarea {
  width: 458px;
  margin: 2px 0;
  padding: 2px 5px;
  border: 1px solid #ccc;
}

table.form-table-site td textarea {
  height: 150px;
}

table.form-table-site td input.no-resize {
  width: auto;
}

table.form-table-site tr.submit-buttom td {
  width: 468px;
  text-align: right;
}

table.form-table-site tr.submit-buttom td input {
  width: auto;
  height: auto;
  border: none;
}

/*--- admin form ---*/
table.form-table {
  font: normal normal normal 10px Lucida Grande,Arial,Verdana,sans-serif;
  width: 700px;
}

table.form-table tr th {
  width: 120px;
  background: #e6f2ff;
  text-align: right;
  padding: 5px 10px;
}

table.form-table tr th label {
  font: normal normal normal 10px Lucida Grande,Arial,Verdana,sans-serif;
  color: #666;
}

table.form-table tr td {
  padding: 0 5px;
  text-align: left;
}

table.form-table tr td input[type=text], table.form-table tr td textarea {
  width: 100%;
  border: 1px solid #ddd;
}

table.form-table tr.submit-buttom-row td, 
table.form-table tr.submit-buttom-row th {
  background: #fff;
  border-top: 1px solid #ddd;
}
table.form-table tr.submit-buttom-row td input {
  margin: 5px 0;
  text-align: right;
}
table.form-table tr td input.width-auto {
  width: auto;
}