/*
	Impostazioni per permettere alle tabelle di espandersi fino al 100% in altezza
	
	01/02/2006 17:10 - AMAR
	  - Release 2.0
	  
	Colori utilizzati
	#FFFFFF - Background generale (bgcolor2)
	        - 
	#AAA89B - Header tabelle
	#DEDBCB - Celle per i field (bgcolor1)
	#FAFAD2 - Sfondo input selezionato
	          Colore selezionato
	
	#60A8DE - Selezionato
	
	#F1EFE2 - Colore tab selezionato (bgcolor3)
	#DEDBCB - Colore tab normale
	
	#DEDBCB - Row 0
	#FAF8EA - Row 1
	#B0B0B7 - Row 2
}
	
*/
/* ------------------------------------------------ LEGACY ------------------------------------------ */
HTML { height: 98% }

BODY { 
	font-family: Verdana, sans-serif;
	font-size: 0.8em;
	/* font-size: 10px;*/
	background: rgb(245,255,235);
}

TH {
	font-family : Verdana, sans-serif;
	font-weight : bold;
	background : #AAA89B;
	color : white;	
}

/*
	Per evitare lo "spazio" dopo la chiusura del TAG form!!!!!
*/
FORM {margin-bottom : 0; }

A {
	text-decoration : none;
}

A:link {
	font-family : Verdana, sans-serif;
	color : #000000;
	text-decoration : none;
	background: transparent;
}

A:visited {
	font-family : Verdana, sans-serif;
	color : #000000;
	background: transparent;
}

A:active {
	font-family : Verdana, sans-serif;
	
}

A:hover {
	font-family : Verdana, sans-serif;
	
	/* color : Yellow; */
}

A:focus {
	font-family : Verdana, sans-serif;
	
}

/* -----------------------------------------------------
   tabelle.css
   ----------------------------------------------------- */

TABLE.row {
	border : 1px solid Black;
}

TABLE.row TD {
	border-right-width : 1px;
	border-right-style : solid;
	border-right-color : #AAA89B;
	
	border-bottom-width : 1px;
	border-bottom-style : solid;
	border-bottom-color : #AAA89B;
	padding-left : 2px;
	padding-right : 2px;
}

/*
	NEW
*/
TABLE.stdm-table-data tr:nth-child(odd) {
	color : black;
	background : #DEDBCB;
}

TABLE.stdm-table-data tr:nth-child(even) {
	color : black;
	background : #FAF8EA;
}

.row0 {
	color : black;
	background : #DEDBCB;
}

.row1 {
	color: Black;
	background : #FAF8EA;
}

.row2 {
	color: Black;
	background : #B0B0B7;
}

.rowsel {
	color : black;
	background: yellow;
	vertical-align: top;
}

.row0:hover, .row1:hover, .row2:hover {
	color : black;
	background: yellow;
}

.errorheader {
	color: red;
	background: black;
	font-weight: bold;
}

.header1 {
	font-weight: bold;
}

.header2 {
	font-weight: bold;
} 

.header3 {
	font-weight: bold;
}

.headertable {
	background:#AAA89B; 
	color: white;
}



/*
	Classi semplici solo per il colore
*/
.bgcolor1 {
	background-color: #DEDBCB;
}

.bgcolor2 {
	background-color: #FFFFFF;
}

.bgcolor3 {
	background-color: #F1EFE2;
}

/* -------------------------------------------------- NEW -----------------------------------------------*/
.stdm-button-image {
	cursor:pointer;
}

.stdm-legend {
	font-weight: bold;
	height: 15px;
}

a.stdm-link, .stdm-link {
	cursor:pointer;
	color: blue;
	font-weight: bold;
	text-decoration:underline
}

fieldset {
	border: none;
	margin-top: 5px;
	/*border-top: none;
	border-left: none;
	border-right: none;*/
}

legend {
  padding: 0.2em 0.5em;
  color:black;
  font-weight: bold;
  font-size: 1.2em;
  /* text-align:right;*/

}


input, textarea, select {
	font-family: Verdana, sans-serif;
}

.stdm-div-clear {
	clear:both;
}

.stdm-div-block {
	clear:both;
	background-color: #E0E0E0;
}

.stdm-div-block-row {
	clear:both;
}


.stdm-label {
	background-color: #E0E0E0;
}

.stdm-field {
	width: 100px;
	background-color: #E0E0E0;
	vertical-align: top;
}

.stdm-field-150px {
	width: 150px;
	background-color: #E0E0E0;
	vertical-align: top;
}

.stdm-mga-edit {
	padding-top: 2px;
}

.stdm-button-like-link {
	border: none;
	background: transparent;
}

.stdm-hide-block {
	display: none;
}

.r0 {
	background-color: #DEDBCB;
}
.r2 {
	background-color: #FAF8EA;
}
.r1 {
	background-color: #F9F5DB;
}

#errorContainer {
    display: none;
    overflow: auto;
    background-color: #FFDDDD;
    border: 1px solid #FF2323;
    padding-top: 0;
	position: absolute;
	width: 600px;
	bottom: 0px;
	left: 100px;
	z-index: 1000;
}

#errorContainer label {
    float: none;
    width: auto;
}

#errorContainer2 {
    display: none;
    overflow: auto;
    background-color: #FFDDDD;
    border: 1px solid #FF2323;
    padding-top: 0;
	position: absolute;
	width: 400px;
	bottom: 0px;
	left: 100px;
	z-index: 1000;
}

#errorContainer2 label {
    float: none;
    width: auto;
}

textarea.error, input.error {
    border: 1px solid #FF2323;
}

/* --------------------- TABLE LIST -------------------- */
.stdm-tl TH {
	height: 20px;
}

.stdm-tl TD {
	padding: 0 0.3em 0 ;
}

.stdm-tl-sort {
	color: #FFFFFF;
	cursor: pointer;
	background-image:url('/common/images/16x16/order_both.png');
	background-repeat:no-repeat;
	background-position:right center;
}

.stdm-tl-sort-direction-ASC {
	background-image:url('/common/images/16x16/order_up.png');
	background-repeat:no-repeat;
	background-position:right top;
}

.stdm-tl-sort-direction-DESC {
	background-image:url('/common/images/16x16/order_down.png');
	background-repeat:no-repeat;
	background-position:right bottom;
}

.stdm-tl-row-click {
	cursor: pointer;
}

.no-close .ui-dialog-titlebar-close {
display: none;
}

.stdm-table-header {
	font-family : Verdana, sans-serif;
	font-weight : bold;
	background : #AAA89B;
	color : white;	
}

.stdm-span-delete {
	border:1px solid; 
	padding: 3px 18px 3px 2px;
	margin-left: 2px;
	border-radius: 4px 4px 4px 4px;
	background-image: url('/common/images/16x16/delete_mini.png'); 
	background-repeat:no-repeat; 
	background-position: right; 
	background-color: #E0E0E0;
	display: block;
	float: left;
	cursor: pointer;
}

.stdm-span-block {
	border:1px solid; 
	padding: 3px 2px 3px 2px;
	margin-left: 2px;
	border-radius: 4px 4px 4px 4px; 
	background-repeat:no-repeat; 
	background-position: right; 
	background-color: #E0E0E0;
	display: block;
	float: left;
	cursor: pointer;
}

.stdm-select-column-head {
	background-color : yellow;
	color: black;
}

.stdm-select-column-cell {
	background-color : yellow;
	color: black;
}

.stdm-formlabel{
    clear:left;
    display:block;
    float:left;
    margin:0 0 1em 0;
    padding:0 0.5em 0 0;
    text-align:right;
    width:8em;
}

.stdm-label-text {
    width:120px;
    display: inline-block;
    /* font-size:12px;*/
    line-height:24px;
    /* font-weight:bold;*/
    text-align: right;
    vertical-align: middle;
    margin-right:5px;
}

.stdm-label-text-nosize {
    display: inline-block;
    line-height:24px;
    text-align: right;
    vertical-align: middle;
    margin-right:5px;
}

.stdm-label-text-size50 {
    width:50px;
    display: inline-block;
    line-height:24px;
    text-align: right;
    margin-right:5px;
}

.stdm-label-text-size80 {
    width:80px;
    display: inline-block;
    line-height:24px;
    text-align: right;
    margin-right:5px;
}

.stdm-label-text-size100 {
    width:100px;
    display: inline-block;
    line-height:24px;
    text-align: right;
    vertical-align: middle;
    margin-right:5px;
}

.stdm-label-text-size150 {
    width:150px;
    display: inline-block;
    line-height:24px;
    text-align: right;
    vertical-align: middle;
    margin-right:5px;
}

.stdm-label-text-size200 {
    width:200px;
    display: inline-block;
    line-height:24px;
    text-align: right;
    vertical-align: middle;
    margin-right:5px;
}

.stdm-label-text-size250 {
    width:250px;
    display: inline-block;
    line-height:24px;
    text-align: right;
    vertical-align: middle;
    margin-right:5px;
}


.stdm-form-input {
    margin-bottom:5px;
    line-height:18px;
    padding:2px 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border:1px solid #CCC;
    display: inline-block;
}

/*
.stdm-forminput{
  margin:0 0 1em 0;
}
*/
.stdm-menu ul
{
    margin: 0px;
    padding: 1px;
    list-style-type: none;
}

.stdm-menu a
{
    display: block;
    font-size: 1.2em;
    text-decoration: underline;
    text-align: center;
}

.stdm-menu a:hover
{
    background-color: #D8D8D8;
    color: #000000;
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.stdm-menu-west {
	background-color: #EEEEEE;
}

.stdm-menu-west-selected {
	 background-color: #D8D8D8;
    color: #000000;
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.stdm-menu li
{
    float: left;
    margin-right: 0.7em;
}

.pane {
		display:	none; /* will appear when layout inits */
	}

/*
	classi per l'allineamento dei testi per tipo dati
*/
.stdm-datatype-int,
.stdm-datatype-real {
	text-align: right;
}

.stdm-datatype-varchar-left {
	text-align: left;
}

.stdm-datatype-command,
.stdm-datatype-varchar-center {
	text-align: center;
}

.stdm-datatype-varchar-right {
	text-align: right;
}

.stdm-datatype-bool {
	text-align: center;
}

.stdm-error-message {
	width: 360px;
	height: 70px;
	position: absolute;
	bottom: 0px;
	left: 50%;
	margin-right: auto;
	margin-bottom: 5px;
	z-index: 2000;
	border:2px solid red;
	background-color: #FF8787;
	margin-left: -180px;
	text-align: center;
	padding-top: 5px;
	-webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
	
}

.stdm-data-read {
	font-size: 1.2em;
	font-weight: bold;
}

.ui-tabs-nav .ui-icon { 
    display: inline-block; 
}
	
/*
.ui-tabs-vertical { width: 55em; }
*/
.ui-tabs-vertical .ui-tabs-nav { padding: .2em .1em .2em .2em; float: left; width: 22%}
.ui-tabs-vertical .ui-tabs-nav li { clear: left; width: 100%; border-bottom-width: 1px !important; border-right-width: 0 !important; margin: 0 -1px .2em 0; }
.ui-tabs-vertical .ui-tabs-nav li a { display:block; }
.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active { padding-bottom: 0; padding-right: .1em; border-right-width: 1px; border-right-width: 1px; }
.ui-tabs-vertical .ui-tabs-panel { padding: 0 1em 1em 1em; float: left; width: 73%}

/*
Progreessbar!!!
*/
.ui-progressbar {
	position: relative;
}
.progress-label {
	position: absolute;
	left: 50%;
	top: 4px;
	font-weight: bold;
	text-shadow: 1px 1px 0 #fff;
}

.ui-datepicker-trigger {
	vertical-align: middle;
	margin-left: 4px;
}

.tooltip {
    display:none;
    height:163px;
    padding:40px 30px 10px 30px;
    width:310px;
    font-size:11px;
    color:#fff;
}

.stdm-fieldset-no-border {
	border: none;
}

.stdm-fileuploader-button {
	-moz-user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857;
    margin-bottom: 0;
    padding: 6px 12px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    position: relative;
    background-color: #aaa;
}

.stdm-fileuploader-input-file {
	display: block;
    cursor: pointer;
    direction: ltr;
    font-size: 200px;
    margin: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
}

.stdm-workflow-state-tablelist {
	margin: 2px;
	border-radius: 8px;
	padding: 2px 4px 2px 4px;
	border: 1px solid black;
}


.ui-tooltip, .arrow:after {
	background: black;
	border: 2px solid white;
}

.ui-tooltip {
	padding: 10px 20px;
	border: 2px solid rgb(80,120,15);
	background: rgb(95,125,30);
	color: #fff;
	
	border-radius: 5px;
	font: bold 12px "Helvetica Neue", Sans-Serif;
	/*text-transform: uppercase;*/
	box-shadow: 0 0 7px black;
}

.stdm-warning-tooltip {
	padding: 10px 20px;
	border: 2px solid rgb(0,0,0);
	background: rgb(95,125,15);
	color: #fff;
	
	border-radius: 5px;
	font: bold 12px "Helvetica Neue", Sans-Serif;
	/*text-transform: uppercase;*/
	box-shadow: 0 0 7px black;
}

.arrow {
	width: 70px;
	height: 16px;
	overflow: hidden;
	position: absolute;
	left: 50%;
	margin-left: -35px;
	bottom: -16px;
}

.arrow.top {
	top: -16px;
	bottom: auto;
}
.arrow.left {
	left: 20%;
}
.arrow:after {
	content: "";
	position: absolute;
	left: 20px;
	top: -20px;
	width: 25px;
	height: 25px;
	box-shadow: 6px 5px 9px -9px black;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.arrow.top:after {
	bottom: -20px;
	top: auto;
}

.stdm-listbox2-select {
	cursor: pointer ;
}

.stdm-body-box {
	width:800px;
	margin: 0 auto;
}

.stdm-body-form-box {
	border-radius: 10px;
	-moz-border-radius: 10px; /* firefox */
	-webkit-border-radius: 10px;
	margin: 0 auto;
	border: 1px solid green;
}
