html {
	height: 100%;
}

body {
    font-family: verdana, Arial, sans-serif;
    font-size: 13px;
	margin: 0;
	padding: 0;
	background: #CFD8E3;
	height: 100%;
}

img {
	border-style:none;
}

textarea {
	font-family: verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
}

tr.itm_a {
    background-color: #CAD3DE; /* #F0F0F0 */
}
tr.itm_b {
    background-color: #D4DDE8; /* #FFFFFF*/
}
tr.itm_a:hover, tr.itm_b:hover {
	background-color: #98B5D9; 
}

.alternate tbody tr:nth-child(even) { background-color:#CAD3DE; }
.alternate tbody tr:nth-child(odd) { background-color:#D4DDE8; }
.hoverselect tbody tr:hover { background-color: #98B5D9; }

th {
	text-align: left;
}

article, aside, figure,
footer, header, hgroup,
menu, nav, section { display: block; }

.gridsize {
    font-size: 12px;
	margin-left: auto;
	margin-right: auto;
}

.gridborder {
	 border: solid 1px #b9c4d2;
}

.gridheader {
	background-color: #b9c4d2;
}

.divblock {
	border: 1px solid black; 
	padding:10px 0;
	background-color: #B6C6D9;
}

.help {
	border: 1px dotted black;
	border-style: none none dotted none;
	cursor:help;
}

.login_background {
		background: #adb5be;
		/* For IE8+ and Opera */
		background:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9ImcyMDYiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj4KPHN0b3Agc3RvcC1jb2xvcj0iIzc1ODM5NCIgb2Zmc2V0PSIwIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0M0Q0RENyIgb2Zmc2V0PSIxIi8+CjwvbGluZWFyR3JhZGllbnQ+CjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzIwNikiIC8+Cjwvc3ZnPg==);
		/* For WebKit (Safari, Google Chrome etc) */
		background: -webkit-gradient(linear, left top, left bottom, from(#758394), to(#c4cdd7));
		/* For Mozilla/Gecko (Firefox etc) */
		background: -moz-linear-gradient(center top, #758394, #c4cdd7);
		/* For Internet Explorer 5.5 - 7 */
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF758394, endColorstr=#FFc4cdd7);
		/* For Internet Explorer < 8 */
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#FF758394, endColorstr=#FFc4cdd7)";
}

/* jquery.defaultvalue.js, placeholder fallback */
input.empty, textarea.empty {
	color: #919191;
}

/* jqueryUI fix */
body .ui-widget {
    font-family: Verdana,Arial,sans-serif;
    font-size: 1em;
}

/* TIME PICKER */
div.time-picker {
  position: absolute;
  height: 200px;
  width:80px; /* needed for IE */
  overflow: auto;
  background: #fff;
  border: 1px solid #000;
  z-index: 99;
}
div.time-picker-12hours {
  width:80px; /* needed for IE */
}

div.time-picker ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
div.time-picker li {
  padding: 1px;
  cursor: pointer;
}
div.time-picker li.selected {
  background: #316AC5;
  color: #fff;
}

/* FORMATO TABELLE */
.tablebg  {
	background:none repeat scroll 0 0 #FFFFFF;
	border:1px solid #486386;
	margin:0;
	padding:0;
}

.tableheader {
	background-color:#006699;
	background-image:url("images/cellpic3.gif");
	color:#516A88;
	font-size:12px;
	font-weight:bold;
	padding:7px 5px;
	white-space:nowrap;
}

.row2 {
background-color:#E1E9F2;
padding:4px;
}

.row1 {
background-color:#F4F6FB;
padding:4px;
}

/* LINKS TABELLE */

a.TableLinks:link    {
  text-decoration:  none;
  color:            #32475F;
} 
a.TableLinks:visited {
  text-decoration:  none;
  color:            #32475F; /*#496687;*/
} 
a.TableLinks:hover   {
  text-decoration:  underline;
  color:            #496687;
} 
a.TableLinks:active  {
  text-decoration:  underline;
  color: #496687;
} 

a.TableHeaderLinks:link    {
  text-decoration:  none;
  color:            #000000;
} 
a.TableHeaderLinks:visited {
  text-decoration:  none;
  color:            #000000;
} 
a.TableHeaderLinks:hover   {
  text-decoration:  underline;
  color:            #000000;
} 
a.TableHeaderLinks:active  {
  text-decoration:  underline;
  color: #000000;
} 

/* LINKS COMUNI */

a:link    {
  text-decoration:  none;
  color:            #122B99;
} 
a:visited {
  text-decoration:  none;
  color:            #122B99;
} 
a:hover   {
  text-decoration:  underline;
  color:            #091A63;
} 
a:active  {
  text-decoration:  underline;
  color: #091A63;
} 

/* SIDEBAR */
.right_sidebar {
	color:#333333; /* TODO: AA01 - Questo colore andrà rimosso da qui e messo generale nel body */
	float:right;
	width:21%/*260px*/;
	font-size:90%;
	text-align:left;
	margin-bottom: 10px;
	border: 1px solid #BDCADB;
	word-wrap: break-word;
	background:#CFD8E3;
	/* For IE8+ and Opera */
	background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc1NCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMTAwJSIgeTI9IjEwMCUiPgo8c3RvcCBzdG9wLWNvbG9yPSIjQ0ZEOEUzIiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjQkRDQURCIiBvZmZzZXQ9IjEiLz4KPC9saW5lYXJHcmFkaWVudD4KPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNnNTQpIiAvPgo8L3N2Zz4=);
	/* For WebKit (Safari, Google Chrome etc) */
	background: -webkit-gradient(linear, left top, left bottom, from(#CFD8E3), to(#BDCADB));
	/* For Mozilla/Gecko (Firefox etc) */
	background: -moz-linear-gradient(center top, #CFD8E3, #BDCADB);
}

.right_sidebar .group {
	width:100%;
	/*border: 1px solid #A5B7CC;*/
	/*border-radius: 5px 5px 5px 5px;*/
	margin-bottom: 10px;
	padding:2px;
}

.right_sidebar .group h3 {
	margin:0 0 3px 0;
	font-size:120%;
	font-weight:normal;
}

/* CONTENUTO PRINCIPALE */

.general_content {
	padding-left:20px;
	padding-right:20px;
	margin-top:17px;
	margin-bottom:15px;
}

.left_content {
	color:#333333; /* TODO: AA01 - Questo colore andrà rimosso da qui e messo generale nel body */
	text-align:left;
	max-width:1000px;
}

.margin_for_right_sidebar {
	margin-right:25%/*310px*/;
}

.left_content h1, .left_content h2, .left_content h3, .left_content h4, .left_content h5, .left_content h6 {
	font-family:Arial,Helvetica,sans-serif;
	margin-bottom:2px;
}

.left_content h1 {
	margin-bottom:6px;
}

.left_content hr {
	border-style: solid none none none;
	height: 0px;
	border-color:gray;
	color:gray;
	margin-top:15px;
	margin-bottom:15px;
}

/* VARIE */

.priority_1, .priority_1 * { color:#FF0000; }
.priority_2, .priority_2 * { color:#E86800; }
.priority_3, .priority_3 * { }
.priority_4, .priority_4 * { font-style:italic; }
.priority_5, .priority_5 * { font-style:italic; }

.blocking_message {
	margin-left:auto;
	margin-right:auto;
	margin-top:20px;
	text-align:center;
}

.informative_text {
	font-size:85%;
	max-width:500px;
}

.inline_print_link {
	font-size:80%;
}

.small_text {
	font-size:80%;
}

.showHideWorkNotes {
	font-size:85%;
	margin-top:-15px;
	margin-bottom:-10px;
}

.sprite {
    line-height: 18px;
    padding: 0 0 1px 20px;
}

.rightsprite {
    line-height: 18px;
    padding: 0 20px 1px 0;
    margin-left:2px;
}

.download-icon {
    background-image: url(images/download.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.user-icon {
    background-image: url(images/user.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.group-icon {
    background-image: url(images/group.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.bullet-icon {
    background-image: url(images/bullet.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.min-right-arrow-icon {
    background-image: url(images/min_right_arrow.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.add-icon {
    background-image: url(images/add.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.edit-icon {
    background-image: url(images/gear.png);
    background-position: 0 0;
    background-repeat: no-repeat;
}

.new_window-icon {
    background-image: url(images/new_window.png);
    background-position: 0 0;
    background-repeat: no-repeat;


}

.pre-wrap {
	white-space:pre-wrap;
}

.comment_box {
	margin:20px 0;
	page-break-inside:avoid;
}

.comment_box_header, .comment_box_content, .comment_box_footer {
	border:1px solid gray;
	padding:5px;
}

.comment_box_header {
	background-color:#B9C4D2;
}

.comment_box_content {
	border-style:none solid solid solid;
	word-wrap: break-word;
}

.comment_box_footer {
	background-color:#B9C4D2;
	border-style:none solid solid solid;
	font-size: 85%;
}

.comment_box_note .comment_box_content {
	/* padding-left: 30px; */
}

.comment_box_header_table {
	border-collapse:collapse;
	width:100%;
}
.comment_box_header_table td {
	padding:0;
}
.comment_box_header_table_id {
	text-align:right;
}

table.noborders {
	border-collapse:separate;
	margin:0;
	padding:0;
}
table.noborders td {
	margin:0;
	padding:0;
}

table.multiple_fields {

}

table.multiple_fields .rightlabel {
	padding-left: 60px;
}

#add_workentry {
	margin-top:60px;
	width:100%;
	max-width:700px;
}

.add_callNotesDescription {
	margin-top:10px;
	width:100%;
	max-width:700px;
}

#add_quickwork {
	margin-top:20px;
	width:100%;
	max-width:700px;
}

#add_workentry #txtMateriali, #add_quickwork #txtMateriali,
#add_workentry #txtNote, #add_quickwork #txtNote {
	width: 100%;
}

#add_workentry .materiali, #add_quickwork .materiali,
#add_workentry .note, #add_quickwork .note {
	margin-top: 10px;
	width: 48%;
}

#add_workentry .materiali, #add_quickwork .materiali {
	float: left;
}

#add_workentry .note, #add_quickwork .note {
	float: right;
}

.date_box {
	width:100px;
}

.time_box {
	width:70px;
}

label {
	font-weight:normal;
}

.error {
	color:#c00;
}


/* Paginazione */
.Paginator { padding-top: 10px; margin-left: auto; margin-right: auto; /* padding-bottom: 10px;  background-image: url(http://l.yimg.com/g/images/dotted.gif); background-repeat: repeat-x; background-position: left bottom; */ }
.Paginator a, .pageList .this-page { padding: 2px 6px; border: solid 1px #B9C4D2; background: #D4DDE8; text-decoration: none; }
.Paginator a:visited { padding: 2px 6px; border: solid 1px #B9C4D2; background: #D4DDE8; text-decoration: none; }
.Paginator .AtStart { margin-right: 20px; padding: 2px 6px; /* border: solid 1px #ddd; */ background: #D4DDE8; color: #aaa; }
.Paginator .Prev { margin-right: 20px; padding: 2px 6px; border: solid 1px #B9C4D2; background: #D4DDE8; }
.Paginator .break { padding: 2px 6px; border: none; background: #D4DDE8; text-decoration: none; }
.Paginator .Next { margin-left: 20px; padding: 2px 6px; border: solid 1px #B9C4D2; background: #D4DDE8;}
.Paginator .AtEnd { margin-left: 20px; padding: 2px 6px; /* border: solid 1px #ddd; */ background: #D4DDE8; color: #aaa; }
.Paginator .this-page {padding: 2px 6px; border: none; font-weight: bold; vertical-align: top; background: #D4DDE8; color: #FF0084; }
.Paginator a:hover {color: #fff; background: #0063DC; border-color: #B9C4D2; text-decoration: none;}
.Pages div.Results { text-align: center; font: 11px/15px Arial, Helvetica; color: #aaa; margin-top: 8px; }

div.dialogCommandLink {
	width:100%;
	padding:3px;
	border:1px solid #D1D1D1;
	border-style:none none solid none;
}

div.dialogCommandLink:hover {
	background-color:#DEDEDE;
}

a.dialogCommandLink {
	font-size: 1.1em;
}
a.dialogCommandLink:link    {
  text-decoration:  none;
  color:#333333;
} 
a.dialogCommandLink:visited {
  text-decoration:  none;
  color:#333333;
} 
a.dialogCommandLink:hover   {
  text-decoration:  none;
  color:#333333;
} 
a.dialogCommandLink:active  {
  text-decoration:  none;
  color:#333333;
} 

.footer {
	width:100%;
	border:0;
	text-align:center;
	margin:15px 0 4px 0;
	clear:both;
}

.hidden.footer {
	display:none;
	border:0;
	margin:0 0 0 0;
}

.footer hr {
	border-style: dotted none none none;
	height: 0px;
	border-color:#808080;
	color:#808080;
}

.footer .horizontaltext {
	margin-left:10px;
	margin-right:10px;
	font-size:85%;
}

.footer .semihiddentext {
	font-size:70%;
	color:#858585;
}

/* CSS PER IL MENU */

.paddingbar {
	visibility: hidden;
	height: 24px;
	margin: 0;
	padding: 0;
	width: 100%;
	clear: both;
}

.bar {
	border-style:none none none none;
    padding: 0;
    cursor: default;
	height: 24px;
	position:fixed;
	left:0;
	top:0;
	width:100%;
}

.bar.back {
	background-image: none;
	background-color: inherit;
}

.bar.front {
	background: url(images/topbar_bg.png) 0% 0% repeat-x;
	-moz-box-shadow: 0 1px 10px #888888;
	-webkit-box-shadow: 0 1px 10px #888888;
	box-shadow: 0 1px 10px #888888;
}

#search {
	position: absolute;
    top: 0;
    right: 5px;
}
#search input,
#search select {
    font-family: verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
    margin-top: 4px;
}

.MenuTextArea {
	margin: 5px 6px 4px;
}

a.MenuLinks:link    {
  text-decoration:  none;
  color:            #091A63;
} 
a.MenuLinks:visited {
  text-decoration:  none;
  color:            #091A63;
} 
a.MenuLinks:hover   {
  text-decoration:  underline;
  color:            #122B99;
} 
a.MenuLinks:active  {
  text-decoration:  underline;
  color: #122B99;
} 

.topbar_homeicon {
	width:20px;
	background:url("images/home.png") no-repeat scroll center center transparent;
}

.topbar_searchicon {
	width:20px;
	background:url("images/search.png") no-repeat scroll center center transparent;
}

.XulMenu {
    font-size: 11px;
    -moz-user-select: none;
	border-collapse:collapse;
	white-space: nowrap;
	margin: 0 0 0 5px;
}
.XulMenu td {
	padding:0;
}


.XulMenu .button,
.XulMenu .button:hover,
.XulMenu .button-active,
.XulMenu .button-active:hover {
    line-height: normal;
    padding: 5px 6px 4px 6px;
    border: 1px none;
    color: #000000;
    text-decoration: none;
    cursor: default;
    white-space: nowrap;
    display: block;
    position: relative;
	height:15px;
}
.XulMenu .button:hover {
    border-color: #717171 #717171 #717171 #717171;
	/*background: #f1f1f1;*/
	background: url(images/topbar_btnhover_bg.png) 0% 0% repeat-x;
}
.XulMenu .button-active,
.XulMenu .button-active:hover {
	background: url(images/barbutton_bg.gif) 0% 0% repeat-x;
	color: #ffffff;
}
.XulMenu .item,
.XulMenu .item:hover,
.XulMenu .item-active,
.XulMenu .item-active:hover {
    background: #f8f8f6;
    line-height: normal;
    padding: 3px 30px 3px 20px;
    color: #000000;
    text-decoration: none;
    cursor: default;
    white-space: nowrap;
    display: block;
    position: relative;
}
.XulMenu .item:hover,
.XulMenu .item-active,
.XulMenu .item-active:hover {
	background: url(images/baritem_bg.gif) 0% 0% repeat-x;
    color: #ffffff;
}
.XulMenu .item.plain:hover,
.XulMenu .item.plain-active,
.XulMenu .item.plain-active:hover {
	background: #f8f8f6;
    color: #000000;
}
.XulMenu .item.itemseparator:hover,
.XulMenu .item-active.itemseparator,
.XulMenu .item-active.itemseparator:hover {
	background: #f8f8f6;
    color: #000000;
}

.XulMenu .section {
    background: #f8f8f6;
	padding: 3px 0 3px 0;
    position: absolute;
    visibility: hidden;
    z-index: -1;
	border-collapse:separate;
	-moz-box-shadow: 0 1px 10px #888888;
	-webkit-box-shadow: 0 1px 10px #888888;
	box-shadow: 0 1px 10px #888888;
	/*
	-webkit-border-bottom-right-radius: 4px;
	-webkit-border-bottom-left-radius: 4px;
	-moz-border-radius-bottomright: 4px;
	-moz-border-radius-bottomleft: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	*/
}
.XulMenu .arrow {
    position: absolute;
    top: 7px;
    right: 8px;
    border: 0;
}

.XulMenu .separator {
	border-style: solid none none none;
	height: 0px;
	border-color:#dddddd #dddddd #dddddd #dddddd;
	color: #dddddd;
	border-width:1px;
	display:block;
}

* html .XulMenu td { position: relative; } /* ie 5.0 fix */
