/*************************************
 * TITLE: Bird Control Stylesheet    *
 *************************************/
.bordodx {
  color: black;
  background-color: white;
  padding-left: 4mm;
  border-bottom: 1px dotted gray;
}

.doppiobordo {
  color: black;
  background-color: white;
  padding-left: 4mm;
  border: solid double rgb(53,53,53);
  width: 98%;
}

.errors {
	background-image: url('../images/attention.jpg');
	background-repeat: no-repeat;
	padding-left: 17px;
}

tr.oddRow {
	background-color: rgb( 240,240,240 );
}

tr.evenRow {
	background-color: rgb( 255,255,255 );
}

img {
	border: 0px;
}

div.bordino {
    border: 1px solid #808080;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
    background: white;
}

div.bordo_sotto {
    border-bottom: 1px dashed #808080;
    border-collapse: collapse;
    margin-top: 10px;
    margin-bottom: 15px;
    width: 100%;
    background: white;
}

/* Display Tag Library styles */

span.pagebanner {
    display: block;
    margin: 0 0 0 0;
    padding: 2px 4px 2px 0;
    width: 79%;
}

span.pagelinks {
    display: block;
}

span.difforme {
	background-color: orange;
}

table.list {
    border: 1px solid #808080;
    border-collapse: collapse;
    margin-top: 10px;
    width: 98%;
    background: white;
    text-align: center;
}

table.list td {
    padding-left: 3px;
}

table.list th {
    background-color: silver;
    padding: 2px;
    padding-left: 3px;
    border-bottom: 1px solid black;
    text-align: center;
    color: black;
}

/* The following 3 rules are for Tapestry's contrib:Table */
table.list th table {
    width: 100%;
    margin: 0;
    padding: 0;
}

table.list th table td {
    text-align: left;
}

table.list th table td:hover, table.list th table td a:hover {
    background-color: #ffd;
}

table.list th table tr:hover {
    background-color: #ffd;
    border: 1px solid white;
}

table.list tr.even {
    background: #eee;
    border-top: 1px solid silver;
}

table.list tr.odd {
    background: white;
    border-top: 1px solid silver;
}

table.list th a, table.list th a:visited {
    background-color: transparent;
    color: #000000;
    text-decoration: none;
}

th.sorted a, th.sortable a {
    background-position: right;
    display: block;
    padding: 0 3px;
}

table.list th.order1 a {
	background-image: url(../images/arrow_down.png) !important;
}

table.list th.order2 a {
    background-image: url(../images/arrow_up.png) !important;
}

table.list th.sortable a {
    background-image: url(../images/arrow_off.png);
}

table.list th.sorted {
    background-color: #eee;
    color: #000000;
}

table.list th.sorted a, table.list th.sortable a {
    background-position: right;
    background-repeat: no-repeat;
    display: block;
}

table.list th.sortable:hover {
    background-color: #ffd;
}

table.list thead tr {
    background-color: #FFCC00;
}

table.list tr.even {
    background: #FFFFFF;
    border-top: 1px solid #C0C0C0;
    color: #000000;
}

table.list tr.odd {
    background: #FFFFFF;
    border-top: 1px solid #C0C0C0;
    color: #000000;
}

/* highlight table row onmouseover */
table.list tr:hover, table.list tr.over {
    background: rgb(240,240,240);
    border-bottom: 1px solid #C0C0C0;
    border-top: 1px solid #C0C0C0;
    color: #000000;
    cursor: pointer;
    cursor: hand; /* IE 5.5 non-compliant workaround */
}

/* Labels for validation and label tag */
label {
    font-weight: normal;
    cursor: pointer;
    cursor: hand;
}

label.required {
    font-weight: bold;
}

label.error {
    font-weight: bold;
    background: transparent;
    color: red;
}

/* These are the styles for detail screen tables */
table.detail {
    margin-left: 10px;
    padding: 5px;
    font-weight: normal;
}

table.detail th {
    text-align: right;
    padding: 0 3px 0 0;
}

tr.grassettoSottolienato {
	font-weight: bolder;
	background-color: lightGray;
	text-align: center;
}

table.trasparente {
	border: none;
	margin: 0px;
	padding: 0px;
}

input {
	background-color: transparent;
}

textarea.styled {
	border-bottom: thin solid black;
	border-left: none;
	border-right: none;
	border-top: none;
	background-color: rgb(230,230,230);
	width: 100px;
	height: 99%;
}

input.lowRowFullSpace {
	border-bottom: thin solid black;
	border-left: none;
	border-right: none;
	border-top: none;
	background-color: rgb(230,230,230);
	width: 99%;
}

input.lowRow {
	border-bottom: thin solid black;
	border-left: none;
	border-right: none;
	border-top: none;
	background-color: rgb(230,230,230);
}
select.lowRowFullSpace {
	border-bottom: thin solid black;
	border-left: none;
	border-right: none;
	border-top: none;
	background-color: rgb(230,230,230);
	width: 99%;
}

select.lowRow {
	border-bottom: thin solid black;
	border-left: none;
	border-right: none;
	border-top: none;
	background-color: rgb(230,230,230);
}

select:disabled {
	color: black;
}


.errorsBorder {
	border: 2px solid red;
	background-color: #FFEEEE;
}

.errorMessage {
	color: red;
	white-space: nowrap;
	font-weight: bolder;
}


/* BUTTONS */
/*
	From:
	http://particletree.com/features/rediscovering-the-button-element/
*/

.buttons a, .buttons button{
    display:block;
     float:left; 
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    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;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}
/* STANDARD */

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

/* POSITIVE */

button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}

.hand {
	cursor: pointer;
    cursor: hand; /* IE 5.5 non-compliant workaround */
}   

table.list tr.inScadenza {
	background-color: yellow;
}

table.list tr.scaduto {
	background-color: red;
}

table.list tr.changed {
    background-color: #ec6e21;
}
select.icon-menu option {
	 background-repeat:no-repeat;
	 background-position:bottom left;
	 padding-left:30px;
}

.upperRight {
	float: right;
	text-align: center;
	color: black;
	font-size: 2ex;
	font-weight: bold;
	font-family: arial, "lucida console", sans-serif;
	border: 1px solid black;
	background-color: lime;
	padding: 4px;
	margin-right: 4px;
	margin-top: 4px;
}

.upperRightHelp {
	float: right;
	text-align: center;
	padding-right: 6px;
	padding-top: 6px;
	cursor: pointer;
}

.upperRightAndroid {
	float: right;
	text-align: center;
	padding-right: 6px;
	padding-top: 6px;
	cursor: pointer;
}

[x-cloak] {
  display: none !important;
}