/**
 * 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 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
{
	margin: 5px 0;
	vertical-align: top;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

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;
	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;
}


.MultiFile-label {
	margin: 3px 0;
	background: #F8F8F8;
	padding: 3px;
	border: 1px solid #ddd;
}

.MultiFile-remove {
	padding: 0 5px;
	font-size: 12px;
	text-decoration: none;
	color: #ffffff;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
	background-color: #ee5f5b;
	background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
	background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
	background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
	background-repeat: repeat-x;
	border-color: #bd362f #bd362f #802420;
	border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
	filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
}

.MultiFile-remove:hover {
	color: #ffffff;
	background-color: #bd362f;
	*background-color: #a9302a;
	text-decoration: none;
	background-position: 0 -15px;
	-webkit-transition: background-position 0.1s linear;
	-moz-transition: background-position 0.1s linear;
	-o-transition: background-position 0.1s linear;
	transition: background-position 0.1s linear;
}

img.preimg {
	width: 36px;
	margin-right: 10px;
	max-height: 22px;
}

.row-imagem, .row-arquivo {
	background: #F3F3F3;
	padding: 8px;
	border: 1px solid #e8e8e8;
	margin-bottom: 10px;
}

.row-imagem .tamanho-img b, .row-arquivo .tamanho-img b{
	font-size: 13px;
	color: #3a5594;
	background: url('../imagens/template/icones/informacao.png') no-repeat center left;
	padding-left: 18px;
}

.row-inline { display: inline-block; margin-right: 10px !important;}
.row-clear {display: block !important;clear: both !important;}

.row-10 { width: 10%; display: inline-block; margin-right: 4px !important;}
.row-10 input[type='text'], .row-10 select, .row-10 textarea { width: 97%;}

.row-25 { width: 24%; display: inline-block; margin-right: 4px !important;}
.row-25 input[type='text'], .row-25 select, .row-25 textarea { width: 97%;}

.row-33 { width: 32%; display: inline-block; margin-right: 7px !important;}
.row-33 input[type='text'], .row-33 select, .row-33 textarea { width: 97%;}

.row-50 { width: 49%; display: inline-block}
.row-50 input[type='text'], .row-50 select, .row-50 textarea { width: 99%;}

.row-75 { width: 74%; display: inline-block; margin-right: 7px !important;}
.row-75 input[type='text'], .row-75 select, .row-75 textarea { width: 99%;}

.row-100 { width: 100%;}
.row-100 input[type='text'], .row-100 select, .row-100 textarea { width: 99%;}

.row-no-margin { margin-right: 0 !important; }

div.msg-erro, div.msg-info, div.msg-sucesso, div.msg-alerta {
     -webkit-border-radius: 4px;-moz-border-radius: 4px;-ms-border-radius: 4px;-o-border-radius: 4px;border-radius: 4px;overflow: hidden;padding: 15px 20px;text-align: left;margin: 3px 0 20px;
}
div.msg-erro {color: #b94a48;background-color: #f2dede;border-color: #eed3d7;}
div.msg-info {color: #3a87ad;background-color: #d9edf7;border-color: #bce8f1;}
div.msg-sucesso {color: #468847;background-color: #dff0d8;border-color: #d6e9c6;}
div.msg-alerta {background-color: #fcf8e3;border: 1px solid #fbeed5;color: #c09853;}
div.msg-erro a {color: #b94a48;}
div.msg-info a {color: #3a87ad;}
div.msg-sucesso a {color: #468847;}
div.msg-alerta a {color: #c09853;}