datebody {
    background-color: #E8ECDE;
    border-top: none;
    font-size: 10px;
    color: #000000;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: bold;
}

form { display: inline; }
.history { display: inline-block; margin-left: 3px; margin-top: 3px; }

.report.filter { display: table; }
.report.filter .field { display: table-row; }
.report.filter .field .label, .report.filter .field .input { display: table-cell; padding: 3px; }

/*h2#page-heading { font-weight:normal; font-size: 1.6em; }*/
h3 { font-weight: normal; font-size: 1.2em; }

ul.validation-summary-errors { color:#FF0000; font-weight:bold; }
.input-validation-error { background-color:#FFEEEE; border:1px solid #FF0000; }
span.field-validation-error { color:#FF0000; }

#ajax-loader { position: absolute; padding: 10px; }
#ajax-loader span { background-image: url("../images/ajax-loader.gif"); width: 32px; height: 32px; display: block; }

/* forms inline */
form.inline .actions { white-space: nowrap; }
form.inline .actions .ui-icon { display: inline-block; margin-right: 5px; }
form.inline tbody label.error { color: red; font-style: italic }
form.inline tfoot tr.mode-edit { display: none; }

table.detail { width: 100%; }
table.detail tbody td { border-bottom: solid 1px #E8ECDE; vertical-align: top; }
table.detail tbody td.label { width: 18%; font-weight: bold; text-align: right; }
table.detail tbody td.field { width: 32%; font-weight: normal; }

table.search { margin-bottom: 5px; margin-top: 5px; }

table.detail-child { width: 100% }
table.detail-child th { text-align: left; }
table.detail-child td, table.detail-child th, table.detail-child tr { border-top: solid 1px #E8ECDE; vertical-align: top; empty-cells: show; }
table.detail-child tbody td { font-weight: normal; }
table.detail-child tfoot td { border-bottom-style: none; }
table.detail-child th { font-weight: bold; }
table.detail-child tr.template { display: none; }

/* caso particular das actividades nas vistorias */
table.detail-child-Actividades { width: 100% }
table.detail-child-Actividades th { text-align: left; }
table.detail-child-Actividades td, table.detail-child th, table.detail-child tr { border-top: solid 1px #E8ECDE; vertical-align: top; empty-cells: show; }
table.detail-child-Actividades tbody td { font-weight: normal; }
table.detail-child-Actividades tfoot td { border-bottom-style: none; }
table.detail-child-Actividades th { font-weight: bold; }
table.detail-child-Actividades tr.template { display: none; }

div.section { background-color: #E8ECDE; padding: 3px; text-align: center; }

.field.attachment { vertical-align: middle; }
.field.attachment a.action-upload { display: inline-block; }
.field.attachment span.status { margin: 0px 5px 0px 5px; }

/* pager */
ul.pagination-clean { list-style-type:none;  }
ul.pagination-clean li { display: inline; margin: 0px 3px; }

ul#icons {margin: 0; padding: 0;}
ul#icons li {margin: 2px; position: relative; padding: 4px 0; cursor: pointer; float: left;  list-style: none;}
ul#icons span.ui-icon {float: left; margin: 0 4px;}

.icon-text {padding: .4em 1em .4em 20px;text-decoration: none;position: relative;}
.icon-text span.ui-icon {margin: 0 5px 0 0;position: absolute;left: .2em;top: 50%;margin-top: -8px;}

.background { background-color: #E8ECDE;}
.main { background-color: White; background: #9BBB59 url(../images/menu.png) repeat-y;}
.logo { height: 80px; vertical-align: bottom; }

table.data a { color: #485D2E; }
table.header, table.footer { width: 100%; }
.header, .header td, .header tr, .header th,
.footer, .footer td, .footer tr, .footer th
{
	border: 0px;
	padding: 0px;
	vertical-align: top;
	height: 25px;
	margin-bottom: 0px;
}

.data thead th.center,tbody th.center,td.center
{
	text-align:center;
}

.data tbody th.centervertical,td.centervertical
{
	text-align:center;
	vertical-align:middle;
}

.data tbody th.invalid a ,td.invalid a
{
	color:Red;
}
		
.header { padding-top: 10px; }
.header .title
{  
	font-size: 12px;
	font-family: Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	vertical-align: middle;
	background-image: url(../images/barra_back.png);
}

.footer .title
{
	background-image: url(../images/footer_back.png);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #FFFFFF;
	padding-left: 150px;
	background-color: #55683a;
	vertical-align: middle;
}

/* hyperlinks */
a:link { color: #9BBB59; }
a:visited { color: #9BBB59 /*#999999*/; }
a:hover { color: #FFB907; }
a:active { color: #999999; }
	
/* input */
/*input[type=text],input[type=password]
{
	background: #ffffff;
	border: 1px solid #55683A;
	width: 150px;
	height: 15px;
	color: #91908d;
	font-size: 10px;
}*/

input[type=button], input[type=submit]
{
	color: #485D2E; /*#9BBB59;*/
	border: 1px solid #9BBB59;
	font-size: 10px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	margin-top: 10px;
	margin-bottom: 10px;
}
input[type=button]:hover /*.input2:hover*/
{
	color: #485D2E;
	border: 1px solid #9BBB59;
	font-size: 10px;
	font-family: Arial, Helvetica, sans-serif;
}

/* menu */
.menu, .menu table, .menu td, .menu a
{
	background-color: #9BBB59; /* 155 187 89 */
	color: #485D2E;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 0px;
	/*padding-right: 10px; padding-left: 10px; text-align: left; vertical-align: middle;*/
}
.menu a { text-decoration: none; }
.menu a:hover { text-decoration: underline; color: white; }
.menu a.current { color: White; }
.menu ul { margin-bottom: 5px; margin-top: 5px; }
.menu li { list-style-type: none; margin-left: 10px; }
.menu>ul>li a { font-weight: bold; }
.menu>ul>ul>li { padding-left: 15px; }

.quicklinks { background-color: #485d2e; }
.quicklinks_ div, .quicklinks_ img { height: 35px; padding-top: 0px; }
.quicklinks .tab, .quicklinks a  
{
	text-decoration: none; 
	color: White;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
	border: 0px;
}

.Actividades thead tr th, .Actividades tbody tr td
{
	text-align:left;
}

.data tbody .mode-edit td select
{
	width:150px;
}

.data tbody .mode-edit td input[type=text]
{
	width:50px;
}
/* jQuery.Rating Plugin CSS - http://www.fyneworks.com/jquery/star-rating/ */
div.rating-cancel,div.star-rating{float:left;width:17px;height:15px;text-indent:-999em;cursor:pointer;display:block;background:transparent;overflow:hidden}
div.rating-cancel,div.rating-cancel a{background:url(../images/delete.gif) no-repeat 0 -16px}
div.star-rating,div.star-rating a{background:url(../images/star.gif) no-repeat 0 0px}
div.rating-cancel a,div.star-rating a{display:block;width:16px;height:100%;background-position:0 0px;border:0}
div.star-rating-on a{background-position:0 -16px!important}
div.star-rating-hover a{background-position:0 -32px}
/* Read Only CSS */
div.star-rating-readonly a{cursor:default !important}
/* Partial Star CSS */
div.star-rating{background:transparent!important;overflow:hidden!important}
/* END jQuery.Rating Plugin CSS */


.box1to4 input
{
	width:20px;	
}

/* AVISOS PRÉVIOS*/
.tableContainerWithHorizontalScroll {
  
   width: 760px;
   overflow-x: scroll;
}

.tableContainerWithHorizontalScroll td,.tableContainerWithHorizontalScroll th {
  
   text-align: left;
   padding-left: 1px;
   padding-right: 1px;
}

table.detail-child tbody td.destaque  
	{
		margin-top: 3px;
		font-weight: bold; 
		background-color: #E8ECCD;
	}
	
 table tbody tr td.alignRight,table tfoot tr td.alignRight
 {
	text-align: right;
	width: 200px;
	font-weight: bold; 
 }
	
table.detail-child tbody td.width150
{
	width:150px;
}

.cleanTable, .cleanTable tbody tr, .cleanTable tbody tr td
{
	border-style:none;
	border-width:0px;
	padding:0px;
	margin:0px;
}

.search-field {
    width: 32%;
    font-weight: normal;
}


/* FIM AVISOS PRÉVIOS*/