html {
	overflow-y: scroll;
}

body {
	font-size: 12px;
	margin: 0px;
	background-image: url("../img/bg.png");
}

a img {
	border: none;
}

a {
	text-decoration: none;
	color: #323232;	
}

h1 {
	font-size: 1.6em;
	margin-top: 1.5em;
}

input[type=submit], input[type=button] {
	font-size: 11px;
	margin: 5px 5px 5px 0;
	cursor: pointer;
	/*
	border: 1px solid;
	border-color: #CCCCCC;
	padding: 1px 4px;
	border-radius: 2px;
	background: linear-gradient(white, #CCCCCC);
	*/
}

input[type=text], input[type=password], textarea {
	font-size: 12px;
	padding-left: 1px;
	/*border:solid 1px black;*/
}

select {
	font-size: 11px;
}

table.report{
	border-collapse: collapse;
	width: 100%;
	text-align: left;
}

table.report, th.report, tr.report, td.report, tbody.report {
	border: 1px solid black;
	padding: 10px;
}

.tableControl, .actionButtons {
	width: 100%;
}

.tableControl a {
	padding-left: 10px;
}

.tableControl {
	text-align: right;
}

.footer {
	text-align: center;
	font-size: 11px;
	margin-bottom: 10px;
	background: transparent;
}

.rich-table {
	width: 100%;
}

#ttsGestioneDettaglioDataTable .rich-table-firstrow {
/*.rich-table rich-table-firstrow {*/
	font-weight: bold;
	}
	
.body {
	padding: 0px;
}
.message {
	padding: 5px;
	list-style: none;
	border: solid 2px;
	background: #dddddd;
	padding: 5px;
	color: #000000;
	margin: 5px 0 8px 0;
	font-size: 12px;
}

.message li {
	background: no-repeat left center;
	padding-top: 1px;
	padding-left: 20px;
	margin-left: 3px;
}

.message li.infomsg {
	background-image: url(../img/msginfo.png);
}

.message li.errormsg {
	background-image: url(../img/msgerror.png);
}

.message li.warnmsg {
	background-image: url(../img/msgwarn.png);
}

.ok {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/true.png);	
}

.warn {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/msgwarn.png);	
}

.redRow {
	background-color: #FFF4F4;
}


.hiwarn {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/hiwarn.png);	
}

.pagato {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/money.png);	
}

.minus {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/minus.png);	
}

.wait {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/wait.png);	
}

.rejected {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/false.png);	
}

.ko {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/msgerror.png);	
}

.printed {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/printer.jpeg);	
}

.sent {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/sent.png);	
}

.infomsg {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/msginfo.png);
}

.errormsg {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/msgerror.png);
}

.warnmsg {
	background: no-repeat left center;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 20px;
	margin-left: 0px;
	background-image: url(../img/msgwarn.png);
}

.name {
	vertical-align: top;
	font-weight: bold;
	width: 115px;
	float: left;
	padding: 5px;
	margin-top: 3px;
	clear: left;
}

.value {
	float: left;
	padding: 5px;
}

.error {
	float: left;
	padding: 5px;
}

.errors {
	color: #FF0000;
	vertical-align: middle;
}

.noErrors  {
	border: 1px solid #008000 !important;
}

.tip {
	float: left;
	padding: 5px;
	margin-top: 3px;
}

.tipPreview {
	width: 10em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
	float:left;
}

img.errors {
	padding-right: 5px;
}

.errors input, .errors textarea, .errors select {
	/*border: 1px solid red !important;*/
	color: red;
	box-shadow: 0 0 5px red;
}

.required {
	color: #FF0000;
	padding-left: 2px;
}

.rich-stglpanel-body {
	overflow: auto;
}

.rich-pmenu-hovered-element {
	background-color: #cccccc;
}

/* the specificity here is necessary to override the defaults */
/*
.rich-panel .rich-panel-header,
.rich-stglpanel .rich-stglpanel-header {
	padding: 2px 3px;
}*/
.rich-panel {
	background-color: transparent;
}

.rich-tabpanel-content {
	background-color: transparent;
}

.rich-stglpanel-body {
	background-color: transparent;
}

.rich-table {
	background-color: transparent;
}

.rich-stglpanel {
	background-color: transparent;
}

.rich-spinner-input-container {
	border-style: solid	
}

.rich-panel-header, .rich-stglpanel-header {
    font-size: 1.2em;
    padding-bottom: 1em;
    padding-left: 15px;
    padding-top: 1em;
}

.rich-panel input[type=submit], .rich-panel input[type=button],
.rich-tabpanel input[type=submit], .rich-tabpanel input[type=button] {
	margin-bottom: 0;
}

.tableControl input[type=submit], .tableControl input[type=button], .tableControl select {
	margin: 5px 0 5px 5px;
}

/* I don't know why this is necessary, but the select is off by a pixel on the top and is padding too much on the left */
.tableControl select {
	margin-left: 2px;
	position: relative;
	top: 1px;
}

.actionButtons {
	padding-left: 1px;
	padding-bottom:5px;
}

.actionButtons select {
	margin: 5px 5px 5px 0;
	vertical-align: bottom;
}

.rich-toolbar-item a {
	text-decoration: none;
}

.rich-toolbar-item a:hover, .rich-ddmenu-label-select {
	text-decoration: underline;
}

.rich-toolbar-item .rich-menu-item a:hover {
	text-decoration: none;
}

.rich-datalist {
	list-style: square;
	margin: 6px 0 1px 0;
	padding-left: 18px;
}

.rich-list-item {
	padding-bottom: 4px;
}

div.info {
	font-size: 1.2em;
}

ul.bullets {
	list-style: square;
}

ul.bullets li {
	padding-bottom: 2px;
}

td.action {
	text-align: center;
	width: 8em;
	white-space: nowrap;
}

td.action a {
	padding-left: 1px;
	padding-right: 1px;
}

table.radio {
   border: 0;
}

table.radio td {
   padding: 0 2px;
}

table.radio input[type=radio] {
   vertical-align: bottom;
}

.col1 {
	width:210px;
	vertical-align:top;	
}
.col2 {
	width:100%;
	vertical-align:top;	
}
.mainpanels {
	border-style:none;
	background: transparent;
}
.head {
	border-style:none;
	height:200px;
	width:100%;
	background-image: url(../img/head.jpeg) right;
}
.header_panel {
	font-size:1.2em;
}

.rich-table-subheader {
	background-color:#BBBBBB;	
}

.rich-tree-h-ic-img {  
    width: 32px;  
    height: 32px;  
}  

.rich-tree-node-handleicon-collapsed {
    width: 32px;  
    height: 32px; 
}

.rich-tree-node-handleicon-expanded {
    width: 32px;  
    height: 32px;
}

.rich-tree-node-children {
	margin-left: 16px;
	padding-left: 18px;
}

.bold {
	font-weight: bold;
}

.italic {
	font-style: italic;
}

.prepaid {
	background-image: url("../img/icon-pp.png");
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 20px;
}

.sqlDialogText {
    display: block;
    width: 100%; /* Optional, depends otherwise on parent. */
    height: 10em;
    overflow: auto;
}

.gray {
	opacity: 0.4;
}

.autocomplete {
	background-image: url("../img/icon-autocmplete.png");
	background-repeat: no-repeat;
	background-position: right;
	padding-right: 32px;
}

.rich-mpnl-header {
	padding: 10px;
}

.rich-mpnl-panel {
    position: inherit;
}

.actionGraphicalButtons {
	padding-left: 1px;
	padding-bottom:5px;
	margin-top:15px;
}

.graphicButton {
	width:150px;
	background: no-repeat 50% 30%;
	padding: 50px 20px 2px 20px;
	margin: 10px 0px 0px 0px;
	border: 1px solid #999999;
	border-radius: 10px;
	background-color: #EEEEEE;
	background-size: 32px;
	font-weight: bold;		
}

.save {
	background-image: url(../img/icon-save.png);
}

.cancel {
	background-image: url(../img/cancel-icon.png);
}

.email {
	background-image: url(../img/email-icon.png);	
}

.rowCassa {
	border-top-style: solid;
	border-top-width: 2px;
	border-top-color: black;
}

.tableCassa {
	border-bottom-style: solid;
	border-bottom-width: 2px;
	border-bottom-color: black;
}

.columnCassa {
	padding: 10px;
}

.greenRow {
	background-color: #F5FFE0;
}

.redRow {
	background-color: #FFF4F4;
}

.blueRow {
	background-color: #CCE6FF;
}

.grayText {
	color: gray !important;
}

.redText {
	color: red !important;
	font-weight: bold !important;
}

.greenText {
	color: green !important;
	font-weight: bold !important;
}

.orangeText {
	color: orange !important;
	font-weight: bold !important;
}

.blackText {
	color: black !important;
	font-weight: bold !important;
}

.saldoRed {
	color: red !important;
	font-weight: bold !important;
}

.saldoYellow {
	color: orange !important;
	font-weight: bold !important;
}

.rich-table-firstrow {
	border-top-style: none !important;
}

.formcol {
	float: left;
	display: inline-block;
	min-width: 500px;
	margin-right: 5%;
}

.cmc-vtab-header {
	min-height: 0.3em;
	border-style: solid;
	border-color: gray;
	border-width: 1px;
	padding:0.7em;
	width: 8.5em;
	font-weight: bold;
	border-radius: 5px 0px 0px 5px;
	background-color: #CCCCCC;
}

.cmc-vtab-header-selected {
	border-right-style: none;
	background-color: white;
}

.vtab {
	vertical-align: top;
}

.vtab-header-divider {
	height: 1px;
	border-bottom-style: none;
	border-left-style: none;
	border-top-style: none;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: gray; 
}

.vtabCol1 {
	width: 8.5em;
}

.vtabMenu {
	height: 3.5em;
	background-color: #CCCCCC;
	font-weight: bold;
	text-align: right;
	line-height: 3.5em;
	font-size: 1.2em;
	padding-right: 0.5em;
	margin-bottom:3px;	
}

.sumDisplay {
	padding: 0px;
	border-style: solid;
	border-width: 2px;
	border-radius: 8px;
	font-size: 2em;
	font-weight: bold;
	margin: 0.5em;
	text-align: right;
	width: 7em;
	height: 4.5em;	
}

.sumDisplayTitleBackground {
	min-height:1.5em; 
}

.sumDisplayTitle {
	padding: 0px;
	border-style: none;
	font-size: 0.5em;
	font-weight: bold;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	width: 100%;
	text-align: left;
	top: -2.5em;
	left: 0.5em;
	position: relative;
	color: white;
}

.sumDisplayTextContainer {
	padding-right:1em;
}

.errorText {
	font-weight: bold;
}

.paleGreen {
	color: #5CB85C;
}

.paleGreenBackground {
	background-color: #5CB85C;
}

.paleBlue {
	color: #337AB7;
}

.paleBlueBackground {
	background-color: #337AB7;
}

.paleYellow {
	color: #F0AD4E;
}

.paleYellowBackground {
	background-color: #F0AD4E;
}

.paleRed {
	color: #D9534F;
}

.paleRedBackground {
	background-color: #D9534F;
}

.scrollable {
    overflow: scroll;
    width:100%;
    height:100%;
}

.leftImg32 {
	background-repeat: no-repeat !important;
	background-position: 5px center !important;
	padding-left: 40px !important;
	line-height: 32px; 
	background-size: 32px !important;
	min-height: 32px; 
}

.buttonImg {
	border: 1px solid;
	border-color: #CCCCCC;
	padding: 1px 4px;
	border-radius: 2px;
	background-color: linear-gradient(white, #CCCCCC);
}

.plusIcon {
	background-image: url(../img/plus.png);
}

.radiusIcon {
	background-image: url(../img/icon-radius.png);
}

.emptyIcon {
	background-image: url(../img/icon-empty-list.png);
}

.tickIcon {
	background-image: url(../img/tick.png);
}

.emptyListIcon {
	padding-top: 20px;
	padding-bottom: 15px;
	margin-left: 0px;
	background-image: url(../img/icon-empty-list.png);
	font-style: italic;
}

@media screen and (max-width: 1900px) {
	body {
	background-color: blue}
	.hideUnder1900 {
		display:none;
	}

}

.valueErrors {
 	border: solid 1px red;	
}
