/**
 * 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 #fce190;
	background: #fff8e5;*/
	border: 1px solid #ccc;
	background: rgb(240,240,240);
	clear:both;
	margin: 0 0 5px 0;
	padding: 8px 10px 10px 10px;
	width: 550px;	
}

div.yiiForm label.required
{
}

div.yiiForm span.required
{
	color: red;
}

div.errorSummary
{
	border: 2px solid #705a22;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #f8c121;
	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 span.hint
{
color:gray;
font-size:90%;
margin:0 0 0 10px;
}

div.yiiForm fieldset
{
	border: #DDD 1px solid;
	margin: 10px 0;
	padding: 10px;
}

div.form fieldset
{
	border: 1px solid #DDD;
	padding: 10px;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
}

div.yiiForm legend
{
	font-weight: bold;
}

div.yiiForm label
{
}

div.yiiForm div.action, div.yiiForm div.acao
{
	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: #705a22;
}

div.yiiForm input.error,
div.yiiForm textarea.error,
div.yiiForm select.error
{
	background: #f8c121;
	border-color: #705a22;
}

div.yiiForm div.simple div,
div.yiiForm div.complex div
{
	margin-left: 110px;
}

div.yiiForm div.simple blocktext
{
	height: 25px;
}

div.loading
{
	background-color: #eee;
    background-image: url(../images/loading.gif);
    background-position:  center right;
    background-repeat: no-repeat;
    opacity: 1;
}

div.loading * {
    opacity: .8;
}

#btNovo, .btNovo{
	background-image: url(../images/botoes/novo.gif);
	background-repeat: no-repeat;
	float:right;
	width:70px;
	height:24px;
	margin: 5px 0;
	
}

.btSalvar{
	background-image: url(../images/botoes/salvar.gif);
	background-repeat: no-repeat;
	/*float:left;*/
	width:70px;
	height:24px;
	margin: 5px 0;
	border:none;
	cursor:pointer;	
	clear: left;
}

/*div.yiiForm div.acao input{
	background-image: url(../images/botoes/pesquisar.gif);
	background-repeat: no-repeat;		
	width:90px;
	height:24px;				 	
}*/


#pesquisa{
	margin-bottom: 10px;
}

#tituloManage, #tituloEdit, #tituloCreate, #tituloShow, #tituloKey, #tituloPrint,
	#tituloDelete,
	#msgFail,  #msgSuccess, #msgWarning{
	font-size: 14pt;
	margin:3px 0 8px 0;
	padding:0 0 0 50px;	
	font-family: Arial;
	width:85%;	
	background-image: url(../images/icon-manage.png);
	background-repeat: no-repeat;
	line-height:40px;	
	text-shadow: 0 1px 0 activeborder;	
}

#tituloManage{
	float: left;
}

 #tituloEdit{
 	background-image: url(../images/icon-edit.png); 	
 }
 
 #tituloCreate{
 	background-image: url(../images/icon-create.png); 	
 }
 
 #tituloShow{
 	background-image: url(../images/icon-show.png); 	
 }
 
 #tituloKey{
 	background-image: url(../images/icon-key.png); 	
 }
 
 #tituloPrint{
 	background-image: url(../images/printer.jpeg); 	
 }
 
 #tituloDelete{
 	background-image: url(../images/icon-fail.png); 	
 }
  
 #msgFail,  #msgSuccess, #msgWarning{
 	background-image: url(../images/icon-fail.png);
 	background-repeat: no-repeat;
 	border: solid 1px #000; 
 	padding-top: 5px;	 	
 	padding-bottom: 5px;
 	background-position: 5px 5px;
 	background-color: #FCF9EA; 	
 	clear:left; 
 }
 
 #msgSuccess{
 	background-image: url(../images/icon-success.png); 	
 }
 
 #msgWarning{
 	background-image: url(../images/icon-warning.png); 	
 }
 
 
 div.yiiForm div.simple div.lista{
  float:left; 
  margin-left:0;
 }

 div.lista input{
  float:left;
  clear:none;
  width: 20px;
  margin: 0;	  
 }

 div.yiiForm div.simple div.lista label{
  /*width: 330px;*/
  text-align:left;
  width: auto;
  margin-right: 15px;
 } 
 
.imgAlterar{
	background: url(../images/gridview/update.png);
	width: 16px;
	height: 16px;
	margin: 0;
	padding: 0;
	display: block;	
	float: left;	
} 
 
 
/*********/

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;
}

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;
}

.ui-state-default{	
	background: rgb(245,245,245); 
}
 
 .ui-button-save{
 	background: url(../images/botoes/save16.png) no-repeat !important; 	
 }
 
 .ui-button-find{
 	background: url(../images/botoes/find16.png) no-repeat !important;
 }
 
 .ui-button-text{
 	text-shadow: 0 1px 0 #FFF;
 }