/* ----------------------------------------------------------------------------------------------------
CSS reset - start
---------------------------------------------------------------------------------------------------- */

img {
    border-style: none;
    vertical-align: middle;
}

/* ----------------------------------------------------------------------------------------------------
CSS reset - end
---------------------------------------------------------------------------------------------------- */


.mandatory {
	font-weight: bolder;
}

table.grid thead th.mandatory {
	font-weight: bolder;
	color: white;
}

.destaque {
	color: blue;
}

.validation_message {
	background-image:url("img/nuvola/16x16/actions/messagebox_warning.png");
	background-repeat: no-repeat;
    color: red;
	margin-left: .5em;
	padding-bottom: 1px;
	padding-left: 20px;
	padding-top: 1px;
}

.validation_message ul {
	color: red;
	margin-left: default;
	margin-top: 0.5em
}

.invalid_field {
	background-color: rgb(255, 200, 200);
}

table.grid {
	border-collapse: collapse;
	border: 1px solid rgb(204, 204, 204);
	table-layout: fixed;
	width: 100%;
}

table.grid caption {
	text-align: left;
	font-weight: bolder;
	padding: 2px;
}

table.grid thead th,
table.grid tfoot th {
	border: 1px solid rgb(204, 204, 204);
	margin: 0px;
	padding: 0px 3px;
	color: rgb(255, 255, 255);
	background-color: darkgray;
	font-weight: normal;
	text-align: left;
}

table.grid thead tr th.handle {
	width: 20px;
}

table.grid td, table.grid th {
    overflow: hidden;
    white-space: nowrap;
}

table.grid tbody td {
	border: 1px solid rgb(204, 204, 204);
	margin: 0px;
	margin-right: 0px;
	margin-left: 0px;
	padding-top: 1px;
	padding-bottom: 1px;
	padding-left: 2px;
	padding-right: 2px;
	vertical-align: top;
}

table.grid button {
	border: none;
	margin: 0px;
	padding: 0px;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	width: 16px;
	height: 16px;
}

table.grid button img {
	padding: 0px;
	margin: 0px;
}

table.grid tbody td.handle {
	width: 1em;
	text-align: center;
}

table.grid a {
	text-decoration: none;
    color:blue;
}

table.fixed th,
table.fixed td {
    white-space: nowrap;
    overflow: hidden;
    height: 1em;
    max-height: 1em;
}

table.form {
	margin: 0px;
    width: auto;
}

table.form td,table.form th {
	padding: 3px;
	text-align: left;
}

table.form th {
	vertical-align: top;
	padding-top: 5px;
	padding-left: 0px;
	text-align: left;
}

table.form label {
	font-weight: normal;
}

table.form th label.mandatory {
    font-weight: bolder;
}

table.form th.bigField,table.form td.bigField {
	padding-top: 5px;
	vertical-align: top;
}

table.form tbody.associations th label {
	color: darkblue;
}

table.form tfoot td {
	/* garante que os botoes nao vao mudar de posicao se a tabela se agrandar ao aparecer uma mensagem de validacao */
	text-align: left;
}

/*
table.form td ul {
	list-style: none;
	margin-left: 0px;
}

table.form td ul label input {
	margin-right: 0.5em;
}
*/

tr.disabled th, tr.disabled td {
	color: gray;
}

fieldset {
	padding: 5px;
	border: 1px solid lightgray;
}

div.mensagem {
	margin-bottom: 15px;
}

.help {
	background-image: url("img/nuvola/16x16/actions/help.png");
	padding-left: 20px;
	background-repeat: no-repeat;
	margin-bottom: 1em;
}

.info {
	background-image: url("img/nuvola/16x16/actions/messagebox_info.png")
		;
	padding-left: 20px;
	background-repeat: no-repeat;
	margin-bottom: 1em;
}

.warning {
	background-image:
		url("img/nuvola/16x16/actions/messagebox_warning.png");
	padding-left: 20px;
	background-repeat: no-repeat;
	margin-bottom: 1em;
}

input.numeric {
	width: 4em !important;
}

input.datetime {
	width: 8em !important;
}

/* Tipos de Campos de Atributos Modelo */
input.CPF {
	width: 8em !important;
}

input.CEP {
	width: 6em !important;
}

/* Fim - Tipos de Campos de Atributos Modelo */

/* used to show numbers */
.numeric,table.grid tfoot th.numeric {
	text-align: right;
	white-space: nowrap;
}

tr.registrationCode th,tr.registrationCode td {
	font-weight: bolder;
	color: blue;
}

.abstract-outcome {
	font-weight: bolder;
}

label {
	white-space: nowrap;
}


/* Avoids hightlighting tab titles when hovering them */
.ui-tabs-nav-item a:hover {
	text-decoration: none;
}

/* ----------------------------------------------------------------------------------------------------
Public pages layout - start
---------------------------------------------------------------------------------------------------- */


div#footer {
    font-size: 8pt;
	padding-top:1em;
    text-align: center;
}

div.exception {
	padding: 0 0 0 100px;
	margin: 1em 1em 1em 0;
	color: red;
	background-image: url("img/nuvola/64x64/apps/error.png");
	background-repeat: no-repeat;
	background-position: top left;
	min-height: 70px;
}

div.big-message {
    padding: 0 0 0 76px;
    margin: 1em 1em 1em 0;
    background-repeat: no-repeat;
    background-position: top left;
    min-height: 70px;
}

/* ----------------------------------------------------------------------------------------------------
Public pages layout - end
---------------------------------------------------------------------------------------------------- */

.toolbar {
    clear: both;
    display: block; /* resets display for IE/Win */
    overflow: auto; /* stretches the container to accomodate the inside floats */
    zoom: 1; /* triggers hasLayout */
}

/* Button icons */

.activity {
    background-image: url(img/nuvola/16x16/apps/kpresenter.png);
}

.add {
    background-image: url(img/nuvola/16x16/actions/edit_add.png);
}

.back {
    background-image: url(img/nuvola/16x16/actions/back.png);
}

.badge {
    background-image: url(img/nuvola/16x16/actions/identity.png);
}

.configure {
    background-image: url(img/nuvola/16x16/actions/configure.png);
}

.confirm {
    background-image: url(img/nuvola/16x16/actions/button_ok.png);
}

.cancel {
    background-image: url(img/nuvola/16x16/actions/button_cancel.png);
}

.delete {
    background-image: url(img/nuvola/16x16/actions/editdelete.png);
}

.disconnect {
    background-image: url(img/nuvola/16x16/actions/connect_no.png);
}

.down {
    background-image: url(img/nuvola/16x16/actions/down.png);
}

.edit {
    background-image: url(img/nuvola/16x16/actions/pencil.png);
}

.excel {
    background-image: url(img/nuvola/16x16/mimetypes/spreadsheet.png);
}

.find {
    background-image: url(img/nuvola/16x16/actions/find.png);
}

.new {
    background-image: url(img/nuvola/16x16/actions/filenew.png);
}

.next {
    background-image: url(img/nuvola/16x16/actions/forward.png);
}

.no {
    background-image: url(img/nuvola/16x16/actions/no.png);
}

.pay {
    background-image: url(img/nuvola/16x16/actions/encrypted.png);
}

.preview {
    background-image: url(img/nuvola/16x16/actions/viewmag.png);
}

.password2 {
    background-image: url(img/nuvola/16x16/actions/kgpg_gen.png);
}

.print {
    background-image: url(img/nuvola/16x16/actions/fileprint.png);
}

.remove {
    background-image: url(img/nuvola/16x16/actions/edit_remove.png);
}

.revert {
    background-image: url(img/nuvola/16x16/actions/undo.png);
}

.run {
    background-image: url(img/nuvola/16x16/actions/run.png);
}

.save, .save_ooui {
    background-image: url(img/nuvola/16x16/actions/filesave.png);
}

.send {
    background-image: url(img/nuvola/16x16/actions/mail_send.png);
}

.undo {
    background-image: url(img/nuvola/16x16/actions/undo.png);
}

.up {
    background-image: url(img/nuvola/16x16/actions/up.png);
}

.validate {
    background-image: url(img/nuvola/16x16/actions/button_ok.png);
}

.view {
    background-image: url(img/nuvola/16x16/actions/viewmag.png);
}

.wait {
    background-image: url(img/processing_small.gif) !important;
    background-repeat: no-repeat;
    padding-left: 22px;
}

.wait-dark {
    background-image: url(img/processing-small-dark.gif) !important;
    background-repeat: no-repeat;
    padding-left: 22px;
}

.yes {
    background-image: url(img/nuvola/16x16/actions/ok.png);
}

/* ----------------------------------------------------------------------------------------------------
Buttons - end
---------------------------------------------------------------------------------------------------- */

/* Negative numbers and values */
.negative, table.grid a.negative {
    color: red;
}
        
.disabled {
	color: #dddddd;
}


/* ----------------------------------------------------------------------------------------------------
Buttons - start
Adapted from blueprint/plugins/buttons/screen.css
---------------------------------------------------------------------------------------------------- */

a.button, input.button {
  display:block;
  float:left;
  margin: 0.7em 0.5em 0.7em 0;
  padding:5px 10px 5px 7px;   /* Links */
  
  border:1px solid #dedede;
  border-top:1px solid #eee;
  border-left:1px solid #eee;

  background-color:#f5f5f5;
  font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
  font-size:100%;
  line-height:130%;
  text-decoration:none;
  font-weight:bold;
  color:#565656;
  cursor:pointer;
}
input.button {
  width:auto;
  overflow:visible;
  padding:4px 10px 3px 7px;   /* IE6 */
}
input.button[type] {
  padding:4px 10px 4px 7px;   /* Firefox */
  line-height:17px;           /* Safari */
}
*:first-child+html input.button[type] {
  padding:4px 10px 3px 7px;   /* IE7 */
}
input.button img, a.button img{
  margin:0 3px -3px 0 !important;
  padding:0;
  border:none;
  width:16px;
  height:16px;
  float:none;
}


/* Button colors
-------------------------------------------------------------- */

/* Standard */
input.button:hover, a.button:hover{
  background-color:#dff4ff;
  border:1px solid #c2e1ef;
  color:#336699;
}
a.button:active{
  background-color:#6299c5;
  border:1px solid #6299c5;
  color:#fff;
}

/* Positive */
body .positive {
  color:#529214;
}
a.positive:hover, input.button.positive:hover {
  background-color:#E6EFC2;
  border:1px solid #C6D880;
  color:#529214;
}
a.positive:active {
  background-color:#529214;
  border:1px solid #529214;
  color:#fff;
}

/* Negative */
body .negative {
  color:#d12f19;
}
a.negative:hover, input.button.negative:hover {
  background-color:#fbe3e4;
  border:1px solid #fbc2c4;
  color:#d12f19;
}
a.negative:active {
  background-color:#d12f19;
  border:1px solid #d12f19;
  color:#fff;
}


/* botao com icone */
.icon {
    background-position: 3px 3px !important;
    background-repeat: no-repeat !important;
    padding-left: 22px;
    text-align: left;
    overflow: auto; /* do not use 'display' here: it makes the button 100% width on IE */
}

.toolbar select {
	display: block;
	float: left;
    height: 26px;
	margin-right: 0.5em;
    margin-top: 8px;
    outline: none;    
}

/* ----------------------------------------------------------------------------------------------------
Buttons - end
---------------------------------------------------------------------------------------------------- */

/* Tableless Forms - Start */

ul.form {
    margin:0;
    padding:0;
    list-style-type:none;
    width:100%;
}

ul.form > li{
    clear:both;
    display:block;
    margin:0 0 5px 0;
}

ul.form li > label.mandatory {
	color: darkred;
}

ul.form > li > div {
    min-height: 1em;
}

ul.form > li > div > label {
    font-weight: normal;
}

ul.form > li:after, ul.form > li > div:after{
    content:"."; 
    display:block;
    height:0; 
    clear:both; 
    visibility:hidden;
}

/* Tableless Forms - End */

/* overrides the default in screen.css */
input.text, input.title, textarea, select {
    margin: 0;
}

input.text, input.title, textarea {
    padding: 2px;
}

select {
	height: 21px;
	max-width: 500px;
}


/* makes updateyourbrowser.net message appear topmost */ 
div#asn-warning {
	z-index: 100;
}
