/**
 * 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,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
}

div.form input[type=text],
div.form input[type=password],
div.form textarea,
div.form select
{
        border:1px solid #595959;
}

.cke_skin_kama .cke_browser_gecko textarea {
        border:none;
}

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

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

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

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

div.form .note
{
	font-size:11px;
        font-weight: normal;
        line-height:15px;
}

div.form span.required
{
	color: #009fee;
}

div.form div.error label,
div.form label.error,
div.form span.error
{
	
}

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
{
	border:1px solid #CC0000;
        background-color: #FFEEEE;
}

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: 1px 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;
	position: relative;
	text-align: right;
	width: 100px;
}

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

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

div.row span.required {
        float:left;
        margin-right:2px;
}

.margin-right-40 {
    margin-right: 40px;
}

div.form .radio-list {
    display:inline-block;
}
div.form .radio-list label {
    display:inline;
    font-weight: normal;
    margin-right:30px;
}

div.form .radio-list-small {
    display:inline-block;
}
div.form .radio-list-small label {
    display:inline;
    font-weight: normal;
    margin-right:20px;
}

.form-back-container {
    padding-top:20px;
    padding-bottom:5px;
}
.form-back-blog {
    font-size: 11px;
    font-weight: normal;
    text-decoration: none;
    color:#555555;
}

.form-text-wide {
    width:100%;
}

.width-50 { width:50px; }
.width-100 { width:100px; }
.width-150 { width:150px; }
.width-200 { width:200px; }
.width-400 { width:400px; }
.width-650 { width:650px; }

.margin-bottom-10 { margin-bottom:10px; }

.margin-right-20 { padding-right:20px; }

div.form .display-inline {
    display:inline;
}

.category-container {
    border:1px solid #595959;
    padding:5px;
    height:100px;
    width:370px;
    overflow: auto;
}
div.form .category-container label {
    display:inline;
    font-weight:normal;
}
div.form .category-container input {
    margin:0px;
}

.margin-top-5 { margin-top:5px; }
.margin-bottom-5 { margin-bottom:5px; }

.addTag, .removeTag {
    width:16px;
    height:16px;
    overflow: hidden;
    text-indent: -9999px;
    outline: none;
    display:inline-block;
    background-repeat: no-repeat;
    background-position: bottom right;
    padding: 4px 0 0 4px;
}
.addTag { background-image: url(../images/add.gif); }
.removeTag { background-image: url(../images/remove.gif); }
.current-tags-container .tag-box {
    background-color: #EEEEEE;
    border: 1px solid #666666;
    padding: 0 6px 4px;
    margin-right:5px;
    bottom-right:5px;
}
.current-tags-container .tag-text {
    padding-top: 4px;
    float:left;
}

div.form .buttons {
    margin-top:20px;
}