/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

div.form
{
}

div.form input[type="text"],
div.form input[type="password"],
div.form textarea,
div.form select
{
  box-sizing:content-box;
  -ms-box-sizing:content-box;
  -moz-box-sizing:content-box;
  -webkit-box-sizing:content-box;
  padding: 1px 0;
  width: 416px;
}
div.form select {
  width: 418px;
}

div.form input[type="text"].half_width,
div.form input[type="password"].half_width,
div.form textarea.half_width,
div.form select.half_width
{
  width: 208px;
}
div.form select.half_width {
  width: 210px;
}

div.form input[type="text"].quarter_width,
div.form input[type="password"].quarter_width,
div.form textarea.quarter_width,
div.form select.quarter_width
{
  width: 104px;
}
div.form select.quarter_width {
  width: 106px;
}

div.form .combobox {
  width: 386px;
  height: 16px;
}

div.form input[readonly="readonly"],
div.form input[disabled="disabled"],
div.form select[disabled="disabled"]
{
  background: #A6A6A6;
  color: #F7F7F7;
}

div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.form label
{
	font-weight: bold;
	font-size: 0.9em;
	display: block;
}

div.form .row_horizontal label
{
  font-size: 0.9em;
	display: inline;
	padding-right: 15px;
	font-weight: normal;
}

div.form .row_horizontal>label
{
  font-size: 0.9em;
	font-weight: bold;
	display: block;
	padding-right: 0;
}

div.form input[type="checkbox"]
{
	vertical-align: middle;
}


div.form .row_horizontal
{
	padding: 5px 0;
}

div.form .row
{
	padding: 5px 0;
}

div.form .row-2column
{
  border: 1px dotted #BABABA;
  float: left;
  margin: 5px;
  padding: 4px;
  width: 47%;
}

div.form .row.left {
  margin-right: 10px;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
	padding: 5px 0 0 0;
}

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

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

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

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}


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

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

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

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

div.wide.form label
{
	float: left;
	margin-right: 10px;
  margin-top: 0.6em;
	position: relative;
	text-align: right;
	width: 140px;
}

div.wide.form .row
{
	clear: left;
}

div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 148px;
}

/*
 * Saját kiegészítések
 */

div.form #rights
{
	margin: 0.2em 0 0 0;
	display: block;
}

div.form .buttons
{
	padding-top: 1em;
}

div.form .checkboxlist span label,
div.form .checkboxlist span input,
div.form .radiobuttonlist span label,
div.form .radiobuttonlist span input,
div.form .checkboxrow label,
div.form .checkboxrow input
{
  float: left;
  text-align: left;
  width: auto;
}
div.form .checkboxlist span
{
  display: inline-block;
}
div.form .checkboxlist span label,
div.form .radiobuttonlist span label,
div.checkboxrow label
{
  margin: 0.3em;
}
.checkboxrow input
{
  margin-left: 0;
}
div.form .checkboxlist br,
div.form .radiobuttonlist br
{
  clear: left;
}

div.form .radiobuttonlist-vertical br
{
  display: none;
}

div.form .filter
{
  margin: 1.6em 0 0.2em 0;
}
div.form .filter,
div.form .newline
{
  float: left;
}

div.form .newline
{
  clear: left;
}


.expand
{
  clear: both;
  margin: 0;
  padding: 0;
}
h4.expand
{
  font-size: 1em;
  font-weight: 700;
}
.expand a
{
  border-color: #A6C9E2;
  border-style: dotted;
  padding: 0.5em 1.5em;
  text-decoration: none;
}
.expand a:active,
.expand a:focus
{
  background-color: transparent;
}
.expand a:hover,
.expand a:active,
.expand a:focus
{
  outline-color: #DEDEDE;
}
.expand a:hover
{
  background-color: #E1EFFB;
}
.expand a:link,
.expand a:visited
{
  background-image: url("../images/jquery.expand/arrow-down.gif");
  background-position: 98% 50%;
  background-repeat: no-repeat;
  border-width: 1px;
}
.expand a.open:link,
.expand a.open:visited
{
  background: url("../images/jquery.expand/arrow-up.gif") no-repeat scroll 98% 50% #EEEEEE;
  border-style: solid;
}
.expand a.open:hover
{
  border-color: #C0D8EA;
}
.collapse
{
  border-left: 1px solid #A6C9E2;
  border-right: 1px solid #A6C9E2;
  border-bottom: 1px solid #A6C9E2;
  padding: 10px 20px;
}

.ui-multiselect
{
  margin: 0 auto;
}
.ui-multiselect .ui-widget-header a
{
  color: #FFFFFF;
}
div.form .ui-multiselect .search
{
  width: 50%;
}
