/* Common */

.tooltip {
	position: relative;
	display: inline-block;
	border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 120px;
	background-color: #555;
	color: #fff;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	bottom: 125%;
	left: 50%;
	margin-left: -60px;
	opacity: 0;
	transition: opacity 1s;
}

.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
	border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1;
}

body .ui-widget {
    color: #333333;
    font-family: "OpenSans","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: normal;
    
	.ui-state-highlight {
		background:#EDEFF0;
		border-radius: 0;	
		text-shadow: unset;
	    box-shadow:none;
	    color: #333333;
	}
}

.aui .link-uderline{
	text-decoration:underline;
	
	
}
/* alert al centro della pag */
body .ui-growl{
top: 50%;
right: 50%;
}

.panelColumns td {
    vertical-align: top; 
}

.box-title-search-result {
	border-bottom: 1px solid #bababa;
	margin: 15px 0;
} 

body .ui-widget-content {
	border:0;
	
	.ui-panel-content {
		padding:0;
	}	
}

/* Button */

body .ui-button-text-only .ui-button-text {
    padding: 0.1em 0.5em;
}

/* Select */

body .ui-selectonemenu {
	border: 1px solid #ccc;
	border-radius: 0;
	
	&.ui-corner-all {
		border-radius: 0;
	}
	
	label {
		box-shadow:none;
		padding-left:10px;
	}
	
	&.ui-state-hover, .ui-state-hover,
	&.ui-state-focus, .ui-state-focus {
		text-shadow: 0;
	    box-shadow:none;
	}
	.ui-selectonemenu-trigger {
		background: #fff;
		 -moz-appearance: none;
	    color: #555555;
	    display: inline-block;
	    vertical-align: middle;
	    padding: 2px 6px 5px 7px;
	    height: auto;
	    border:0;
	    
	    .ui-icon {
	    	background: #fff url("/SardegnaAmbiente-theme/images/import/select-arrow.svg") no-repeat scroll center center;
		    margin: 5px 0 0 auto;
	    }
	}
}
.ui-selectonemenu-panel {
	.ui-selectonemenu-list-item {	
		&.ui-state-hover, .ui-state-hover,
		&.ui-state-focus, .ui-state-focus {
			text-shadow: 0;
		    box-shadow:none;
		    background: #fff;
		}		
	} 
}


/* Table */
body .ui-datatable {
	.ui-widget-header {
		background:transparent;
		border:0;
	}	
	.ui-widget-content {
		border:0;
	}
	.ui-state-default, .ui-widget-content .ui-state-default, 
	.ui-widget-header .ui-state-default, 
	.ui-state-hover {
	    background: transparent;
	    border: 0;
	    color: #666;
	    text-shadow: 0;
	    box-shadow:none;
	    border-radius:0;
	}	
	.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
		background: #545454;
		color:#fff;
	}	
			
	
	table {
		border-radius:0;
	}
	/* //impaginazione tabella */
	table > caption + thead > tr:first-child > th, table > caption + thead > tr:first-child > td, table > colgroup + thead > tr:first-child > th, table > colgroup + thead > tr:first-child > td, table > thead:first-child > tr:first-child > th, table > thead:first-child > tr:first-child > td {
	    background-color: #545454;
	    border-top: 0 none;
	    color: #fff;
	    font-weight: normal;
	    padding-bottom: 10px;
	    padding-top: 10px;
	    text-transform: uppercase;
	    text-align: left;
	}
	table > thead > tr > th, table > thead > tr > td, table > tbody > tr > th, table > tbody > tr > td, table > tfoot > tr > th, table > tfoot > tr > td {
	    border: medium none;
	    vertical-align: middle;
	    
	}
	table > thead > tr > td, table > tbody > tr > td, table > tbody > tr > th, table > tfoot > tr > td {
	    font-size: 12px;
	    text-align: left;
	}
	table > thead > tr > th {
	    background-image: url("/SardegnaAmbiente-theme/images/import/table-divider.png");
	    background-position: right center;
	    background-repeat: no-repeat;
	}
	table > thead > tr > th:last-child {
	    background-image: initial;
	}
	table > tbody > tr:nth-of-type(2n) td {
	    background-color: #d8d8d8;
	}
	tabled > tbody > tr:nth-of-type(2n+1) {
	    background-color: #fff;
	}	
}
.aui body .ui-datatable table > tbody > tr:nth-of-type(2n) td a {
    color: #ffffff;
}

.table-first-coll table td:fist-child{
		font-weight: bold;	
}

/* icona info */
.ui-state-default .ui-icon.ui-icon-info {
   	background-image: none;
   	text-indent: unset;
	width: 35px;
	height: 35px; 	
	position: relative;
	margin-top:0;
   	
	&:before {
	    content: "\f05a";
	    float: left;
	    font-family: FontAwesome;
	    font-size: 20px;
	    margin: 0.8px -3px 0 0;
	    color:#000000;
	}	    	
}

/* div .jqplot-table-legend-swatch { */
/* 	width: 8em !important; */
/*     height: 2em !important; */
/* } */