/*---------------------------------------------------
GENERAL
---------------------------------------------------*/

body, html {
	color: #000000;
   background : #ffffff;
   cursor: default;
   overflow: hidden;
   width: 100%;
   border: none;
	font-family: 'PT Sans', sans-serif;
	font-size : 11px;
}

img { border: none; }
select {}

.ui-layout-pane {
	border:none !important;
}

#mapToolArea {
	height: 25px;
	text-align: left;
}
.pm-searchcont {
	position: relative;
}
     
th, td {
    text-align: left;
    color: #000000;
}

/* PRELOADER
===============================================================*/

.preloader {
	display:inline-block;
	margin-left:20px;
	padding-left:20px;
	background:url(../loading.gif) no-repeat;
	font-size:11px;
	line-height:20px;
}

/* LINKS AND BUTTONS
===============================================================*/

a { text-decoration: none;}
a:hover { text-decoration: underline; }

.hvr_trns {
   background:#808080;
	outline:0;
   
   transition-property:background;
   transition-duration: 0.5s;
   -moz-transition-property: background; 
   -moz-transition-duration: 0.5s;
   -webkit-transition-property:background; 
   -webkit-transition-duration: 0.5s;
   -o-transition-property:background;
   -o-transition-duration: 0.5s;
}

.hvr_trns:hover {
   background:#333;
}

.hvr_trns:active {
	opacity:0.8;
}

/* PANES
===============================================================*/

.ui-layout-pane { /* all 'panes' */ 
    background: #fff; 
    border: 1px solid #808080; 
    padding:0px; 
} 

/*=== TOC ===*/

#toc, #toclegend, #toc_test {
    position:absolute;
    top:0px;
    left:0px;
    width:100%;
    overflow:auto;
    z-index:2;
}

#tocContainer {
    border-left: 1px solid #E6E6E6;
    position:absolute;
    top:40px;
    left:0px; 
    width:100%; 
    height:100%;
    overflow:hidden;
}


/*--------------------------------------------------
SEARCH TOOL
---------------------------------------------------*/
#mapToolArea {
	height: 25px;
	text-align: left;
}
.pm-searchcont {
	position: relative;
}
/*--------------------------------------------------
SLIDE TABS RESIZER
---------------------------------------------------*/

.ui-layout-resizer { 
   /* all 'resizer-bars' */ 
	/*z-index:99999 !important;*/
   background: #fff;
	width:20px !important;
	
	transition-property:background;
   transition-duration: 0.5s;
   -moz-transition-property: background; 
   -moz-transition-duration: 0.5s;
   -webkit-transition-property:background; 
   -webkit-transition-duration: 0.5s;
   -o-transition-property:background;
   -o-transition-duration: 0.5s;
} 

.ui-layout-resizer:hover {
	background: #ccc;
}

.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }

.ui-layout-toggler { /* all 'toggler-buttons' */ 
	background: url("images/slide_btn.png") no-repeat scroll center center transparent;
   float: left;
	width:20px !important;
	/*top:0 !important;
	height:100% !important;*/
} 

.ui-layout-resizer-west {
	border-right:1px solid #bbb;
	border-left:1px solid #bbb;
}

.ui-layout-resizer-east {
	display:none !important;
}

/*--------------------------------------------------
UI LAYOUT CENTER
---------------------------------------------------*/

.ui-layout-center {
   overflow:hidden;
   padding:0px;
	margin-left:16px !important;
   border:none !important;
   border-right:1px solid #bbb !important;
}

.celldiv {float:none;}

.baselayout {
	position: absolute; 
   border: none;
}

#map {
    position:absolute; 
    overflow:hidden; 
    z-index:15;
}

.map-top-bar {
	position:absolute;
   top:0px; 
   left:0px;
   height:30px;
   width:100%; 
   z-index: 80;
	background:#f2f2f2;
	border-bottom:1px solid #bbb;
}

.pm-selectbox {
	display:inline;
	position: absolute;
	overflow: hidden;
   top:0;
   right:0;
	width:auto;
   height:21px;
   padding:6px 5px 2px 5px;
   background:#f2f2f2;
   border:1px solid #bbb;
   border-right:none;
	text-align: right;
	z-index : 95;
}

.pm-selectbox select {
   margin-left:10px;
   background:#666;
   border: 1px solid #ccc;
   outline:none;
   color:white;
   cursor:pointer;
	width: auto;
}

.zoombox {
	position: relative;
   visibility: visible;
   width: 1px;
   height: 1px;
   border-color : #FF0000;
   border-width : 1px;
	border-style : solid;
   z-index:90;
   background:#eeeeee;
   layer-background-color:#eeeeee;
   filter: alpha(opacity=40); 
   -moz-opacity:0.4;
   opacity:0.4;
}

/* style for zoombox for opera and konqueror */
.zoombox-nontransp {
	position: absolute;
   visibility: hidden;
   overflow: hidden;
   left : 0;
   top : 0;
   border-color: #FF0000;
   border-width: 1px;
   border-style: solid;
} 

/*--------------------------------------------------
UI LAYOUT NORTH
---------------------------------------------------*/

/* ======= HEADER ==========*/

.ui-layout-north {
   height:41px !important;
	padding:0;
   box-shadow:         0px 1px 3px 0px rgba(0,0,0,0.5);
   -webkit-box-shadow: 0px 1px 3px     rgba(0,0,0,0.5);
   -moz-box-shadow:    0px 1px 3px 0px rgba(0,0,0,0.5);	
   z-index:80 !important;
}

#header {
   position:fixed;
   z-index:10;
   height:40px;
   width:100%;
   /*background: white;*/
   border-bottom:1px solid white;
   color:black;
   text-transform:uppercase;
   font-size:16px;
}

#header #logo {
   display:block;
}

#header #logo img {
   padding-left:20px;
   float:left;
}

#header #logo #testo {
   display:inline-block;
   /*padding:0 0 0 10px;
   line-height:40px;*/
   padding:20px 0 10px 10px;
   color:#000;
font-size: 85%;
}

#header #logo,
#header #title {
   float:left;
}

#header #title {
   height:11px;
   line-height:11px;
   margin:15px 0 0 8px;
   padding-left:8px;
   border-left:3px solid #FFCC00;
}

/* Firefox fix*/
@-moz-document url-prefix() {
    #header #title {
        height:11px;
		  line-height:10px;
		  margin-top:16px;
    }
}


#header #uspace {
   float:right;
 padding-top:8px;
}

#header #uspace a {
   outline:none;
   border:none;
}

/*--------------------------------------------------
UI LAYOUT SUD
---------------------------------------------------*/


.ui-layout-south {
	/*il pannello west ha una larghezza minima impostata via js che influenza anche la dimensione del pannello south che per questo devo vincolare d altezza 0 via css*/
	height:0 !important;
	padding:0px;
	background-color:#fff;
}


/*--------------------------------------------------
UI LAYOUT EAST
---------------------------------------------------*/

.ui-layout-east {
	max-width:50px !important;
	padding:0px;
   overflow: hidden;
}

/*---- TOOLBAR -----*/

#toolBar {
    position: absolute;
    right : 0px;
    top : 0px;
    width:40px; 
    height:100% !important;
    z-index : 5;
    overflow: hidden;
    z-index:90;
    border-left:1px solid #bbb;
    /*-moz-border-radius: 0px 12px 12px 0px ;*/
}

/*** TOOL FRAME around map and TOC ***/

.pm-toolframe, .infoZone {
    background:#fff;
    color: #000000;
}


.pm-toolframe input {
	background-color : #EBEBEB;
	border: 1px solid #003366;
}

/* Input Button colors on/off */
.pm-toolframe input.button_on {
    background-color : #003366;
    color: #FFFFFF;
    border-color: #FFFFFF;
    border-style: outset;
}

.pm-toolframe input.button_off { background-color : #EBEBEB; }

/*** TOOL buttons in toolbar * Used for mouseDown/Up and mouseOver/Out actions ***/
.pm-toolbar {
    color: #000000; 
    margin-left:0px;
}

.pm-toolbar-td{
   transition-property:background;
   transition-duration: 0.3s;
   -moz-transition-property: background; 
   -moz-transition-duration: 0.3s;
   -webkit-transition-property:background; 
   -webkit-transition-duration: 0.3s;
   -o-transition-property:background;
   -o-transition-duration: 0.3s;
}

.pm-toolbar-td-off{
    /*padding: 1px 1px 1px 1px;*/
    text-align:center;
    vertical-align:middle;
    width: 40px;
    height: 40px;
}

.pm-toolbar-td-on{
    /*padding: 1px 1px 1px 1px;*/
    width: 40px;
    height: 40px;
    overflow: hidden;
    text-align:center;
    vertical-align:middle;
    background-color: #CCCCCC;
    /*border: 1px inset;*/
}                

.pm-toolbar-td-over{
   /* padding: 1px 1px 1px 1px;*/
    width: 40px;
    height: 40px;
    overflow: hidden;
    text-align:center;
    vertical-align:middle;
    background-color: #e5e5e5;
    /*border: 1px outset;*/
}

.pm-toolbar-td img, .pm-toolbar-td-on img, .pm-toolbar-td-over img {
	border: 0px;
	vertical-align:middle;
}

/* Crop trick */
tr {
	position:relative;
	overflow:hidden;
}

.pm-toolbar-td{overflow:hidden;}

.pm-toolbar-td img {
	position:relative;
	right:0px;
	/*margin-bottom:-85px;*/
	/*margin-top:-5px;*/
	top:0;
}

.pm-toolbar-td-over img {/*top:-40px;*/}
.pm-toolbar-td-on img {/*top:-80px;*/}

/*** separators ***/
.pm-tsepv {
	position:relative;
	/*right:10px;*/
	height: 1px;
	padding: 0;
	vertical-align:middle;
	border-top: 1px solid #bbb;
	empty-cells: show;
}
.pm-tseph {
	height: 1px;
	padding: 1px;
	border-left: 2px groove #F0F0F0;
} 
.pm-tsepspace {
	height: 1px;
	padding: 2px;
	border: none;
} 
/* for IE */
.pm-tsepv td, .pm-tsepv img {
    border: 0px;
    height:0px;
}


/*--------------------------------------------------
UI LAYOUT WEST
---------------------------------------------------*/



#uiLayoutWest, .ui-layout-west {
   margin-top: 20px;
   font-family: 'PT Sans', sans-serif !important;
   border-right:none !important;
   padding:0px;
}

.ui-layout-west {
	 overflow:hidden;
}

.ui-layout-west, .ui-layout-pane, .ui-layout-pane-west, .closed {}

/*main text-color*/
.ui-widget-content {
	color:#333;
}

#legend {
    height:100%;
}

/* ======= LAYER ==========*/

#tocContainer {
   background:#f2f2f2;
}

#layerform {}

#toc {
   padding:20px 0 20px 0;
   top:73px;
   margin-top:-74px;
   overflow-x:hidden;
   border-top:1px solid #bbb;
   background:#fff;
color:#fff;
}

#toc ul {
	padding-left:20px;
text-transform: uppercase;
}

#toc ul ul {
	padding-left:0px !important;
}

/* ======= LAYER CONTEXT MENU ==========*/

#jqContextMenu ul {
   background:black !important;
   border:none !important;  
}

#jqContextMenu ul li {
   color:#ccc !important;
   border:none !important;
   padding:10px !important;
}

#jqContextMenu ul li img {
   padding-right:7px !important;
   padding-bottom:3px;
}

#jqContextMenu ul li:hover {
   background:#666666 !important;
   color:white !important;
   cursor:pointer !important;
}

/* ======= TRANSPARENCY TOOL ==========*/

#layerSliderContTab {
   background:black !important;
   /*border:1px solid #ccc !important;*/
   padding:5px 5px;
}

#layerSliderContTab #layerSliderCont {
   margin-left:5px !important;
}

#layerSliderContTab #layerSliderCont div div {
   background:transparent !important;
}

#layerSliderContTab #layerSliderCont div div div {
   background:grey !important;
}

#layerSliderContTab #layerSliderCont div div div div {
   border:1px solid #bbb !important;
   cursor:pointer !important;
}

#layerSliderContTab #layerSliderCont div div div div div {
   border:none !important;
}


/*============ TREE ITEMS ===============*/

/*.treeview .hitarea {
	background: url('images/treeview-default.gif') -64px -25px no-repeat;
}

.treeview li.lastCollapsable, .treeview li.lastExpandable { 
	background-image: url(images/treeview-default.gif); 
} 

.treeview li.lastCollapsable { background-position: 0 -111px }
.treeview li.lastExpandable { background-position: -32px -67px }*/

li:not(#foo)  > input[type='checkbox'] {
    
    /* Hide the input, but have it still be clickable */
    opacity: 0;
    margin-left:-3px;
    cursor: pointer;
    
    /*float: left;*/
    /*width: 18px;*/
}


li:not(#foo)  > input[type='checkbox'] + span {
    margin: 0;
    clear: none;
    
    /* Left padding makes room for image */
    padding: 5px 0 4px 24px;
	
    margin-left:-16px;
    margin-top:0px;

    /* Make look clickable because they are */
    cursor: pointer;
    
    background: url('images/chekb_unsel.png') left center no-repeat;
}

li:not(#foo)  > input[type='checkbox']:checked + span {
    background-image: url('images/chekb_sel.png');
}


/* 1 livello */
#toc .cat-label {
	/*line-height:20px;
	height:20px;*/
	font-size:14px !important;
	/*color:#333 !important;*/
}


.grp-title {
    vertical-align:top !important;
    padding-bottom:0 !important;
    /*color:red !important;*/
}

/* 2 livello */

#toc ul ul {
	margin-top:10px;
}

#toc ul ul .vis {
	/*background-color:white !important;*/
		
}

/* 3 livello */

#toc ul ul ul li {
	/*border-bottom:1px solid #bbb;*/
}

#toc ul ul ul .vis {
	/*background-color:red !important;*/
	font-size:13px !important;
text-transform: none;
 	
}



/*========= TABS ===========*/

.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: ""; display: table; }
.ui-helper-clearfix:after { clear: both; }


.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }

/****************************/

#tabs {
   border:none !important;
   padding:0 !important;
   font-family: 'PT Sans', sans-serif; !important;
}

#tabs-1 { }

/*---tabs buttons background---*/
.ui-tabs-nav, .ui-helper-reset, .ui-helper-clearfix, .ui-widget-header, .ui-corner-all {
   background:#f2f2f2;
   padding:6px 6px 0 6px !important;
   border:none !important;

   -webkit-border-radius: 0px !important;
   -moz-border-radius: 0px !important;
   border-radius: 0px !important;
}

.ui-tabs .ui-tabs-nav {
    background:#ccc url('images/tab_gradient.png') repeat-x !important; 
 
}

/*========= TABS BUTTONS ===========*/

.ui-state-default {
   height:33px;
   width:80px;
   background:#6699CC !important;
   border:1px solid #4d4d4d !important;
   padding:0 0 0 0 !important;
   margin-right:5px !important;
   border:none !important;
   font-size:13px;
   font-weight:normal !important;
   text-transform:uppercase;

	-webkit-border-top-left-radius: 0px !important;
	-webkit-border-top-right-radius: 0px !important;
	-moz-border-radius-topleft: 0px !important;
	-moz-border-radius-topright:0px !important;
	border-top-left-radius: 0px !important;
	border-top-right-radius: 0px !important;

   box-shadow:         0px 0px 5px 0px rgba(0,0,0,0.5); 	
   -webkit-box-shadow: 0px 0px 5px     rgba(0,0,0,0.5); 	
   -moz-box-shadow:    0px 0px 5px 0px rgba(0,0,0,0.5);		
}

.ui-state-default:hover{
	background:#6699CC !important;
}

.ui-tabs-selected,
.ui-state-active,
.ui-tabs-selected:hover,
.ui-state-active:hover
 {
   position:relative !important;
   background:#FFCC00 !important;
   border:none !important;
}

.ui-state-active a {
   cursor:default !important;
}

.ui-tabs-selected:before,
.ui-state-active:before
 {
   content:'';
   position: absolute;
   border-top: 7px solid #FFCC00;
   border-right: 7px solid transparent;
   border-left: 7px solid transparent;
   height: 0;
   margin: 33px 0 0 0;
   right:33px;
   width: 0;
   z-index:40;
}

.ui-state-default a {
   width:80px;
	height:33px;
   padding:10px 0 0 0 !important;
   text-align:center;
   color:#c6c6c6  !important;
   outline:none;
	background:none;
}

.ui-state-default a:hover {
	color:white !important;
}

.ui-state-default #a_cdu:hover {
	 
}

.ui-tabs-selected a, .ui-state-active a {
   color:#000 !important;
   outline:none;
}

.ui-state-default #a_cdu {
	 
}

.ui-tabs-selected #a_cdu,
.ui-state-active #a_cdu
 {
	 
}

/*--------------------------------------------------
REFMAP
---------------------------------------------------*/



#refmap:before, .refmap:before {
    /*content:"";
    position:absolute;
    width:100%;
    margin-top:-2px;
    border-bottom:1px solid #bbb;*/
}

.refmap {
	position:absolute;
   width:100% !important;
   height:169px !important;
   left:0;
   bottom:0;
   padding-top:0px;
   padding-left:0px;
   border-top:1px solid #bbb;
	background:#f2f2f2;
	z-index:99;
 
}

.ref { position: absolute; }

#refMapImg {/*border:1px solid grey;*/
 
}

.refbox {
   visibility: visible;
   overflow: hidden;
   position: absolute;
	border:3px solid #FFCC00;	
   cursor: move;
}

.sliderbox {
    visibility: hidden;
    overflow: hidden;
    position: absolute;
    border-color:#99042f;
    border-width : 1px;
    border-style : solid;
    background:#eeeeee;
    layer-background-color:#eeeeee;
    filter: alpha(opacity=60); 
    -moz-opacity:0.6;
    opacity:0.6;
}

#refcross, .refcrossimg  {
    visibility: hidden;
    position: absolute;
    z-index:90;
}


/*--------------------------------------------------
SEARCH
---------------------------------------------------*/

#tabs-2 {
    padding:0 !important;
}

#tabs-2 #searchContainer {
    top:0;
}


.pm-searchcont tbody, .pm-toolframe tbody {
    vertical-align:top;
}

/*========= SELECT ===========*/ 

#searchoptions {
    padding:0 !important;
}

#pmsfld_findlist {
    width:243px;
    /*height:40px;*/
    margin:0;
    padding:5px;
    background:#666666;
    border: 1px solid #ccc;
    outline:none;
    font-family: 'PT Sans', sans-serif;
    font-size:14px;
    color:white;
    cursor:pointer;
}

/*========= SEARCH FORMS ===========*/ 

#searchitems_container1 {
    border-collapse: separate;
    border-spacing: 0px 8px;
}

#searchitems_container1 tr {
    height:40px;
    vertical-align: middle;
}

#searchitems_container1 tr td {
    padding:0;
    margin:0;
    font-family: 'PT Sans', sans-serif;
    font-size:12px;
}

#searchitems_container1 tr td img {
    padding:0;
    margin:0 0 0 5px;
    cursor:pointer;
    height:30px !important;
    width:30px !important;
}

#searchitems_container1 .pm-searchdesc {
    width:100px;
    height:28px;
    /*line-height:30px;*/
    padding:0 10px 0 10px;
    margin:0;
    background:white;
    border:1px solid #bbb;
    font-size:14px;
    color:#333;
}

#searchitems_container1 input[type='text'] {  
    width:100px;
    height:41px;
    margin:0;
    padding:0 10px 0 10px;
    background:#666666;
    color:white;
    border: 1px solid #bbb;
    border-left:none;
    font-family: 'PT Sans', sans-serif;
    font-size:16px;
}

#searchitems_container1 input[type='button'] {
    width:67px;
    height:30px;
    margin:0;
    padding:0 10px 0 10px;
    background:#FFCC00;
    border:none;
	 outline:none;
    color: white;
    font-family: 'PT Sans', sans-serif;
    font-size:12px;
    text-transform:uppercase;
    cursor:pointer;
	 
	transition-property:background;
   transition-duration: 0.5s;
   -moz-transition-property: background; 
   -moz-transition-duration: 0.5s;
   -webkit-transition-property:background; 
   -webkit-transition-duration: 0.5s;
   -o-transition-property:background;
   -o-transition-duration: 0.5s;
}

#searchitems_container1 input[type='button']:hover {
   background:#ff3480;
}

#searchitems_container1 input[type='button']:active {
	outline:none;
}


/*--------------------------------------------------
SEARCH RESULTS
---------------------------------------------------*/

#tabs-2,
ui-tabs-panel,
ui-widget-content,
ui-corner-bottom {}
#tabs-3 #uiLayoutWest,
#tabs-3 .treeview {
    overflow:auto !important;
    border: none !important;
    font-size:13px;   
}

#tabs-3 #toc {
    /*background:rgba(255,0,0,0.5) !important;*/
    background:#fff;
    top:40px !important;
    margin-top:0 !important;
    margin:0 !important;
    padding-bottom:19px !important;
color:#000
    /*border-bottom: 1px solid #bbb !important;*/
}

#tabs-2 #uiLayoutWest,
#tabs-2 .treeview {
    overflow:auto !important;
    border: none !important;
    font-size:13px;   
color:#000
}

#tabs-2 #toc {
    /*background:rgba(255,0,0,0.5) !important;*/
    background:#fff;
    top:40px !important;
    margin-top:0 !important;
    margin:0 !important;
    padding-bottom:19px !important;
    /*border-bottom: 1px solid #bbb !important;*/
}

#tabs-2 .treeview .zoomlink,
#tabs-2 .restable td {
    padding-left:20px;
}

#tabs-2 .treeview table .TDAL,
#tabs-2 .restable td {
    font-family: 'PT Sans', sans-serif;
    font-size:13px;
	 color:inherit;
}

/*========= CDU BUTTON ===========*/

.cdu_gnr {
	display:block;
	width:60px;
	height:30px;
	line-height:30px;
	background:#ff6c00;
	text-align:center;
	color:white !important;
}

.cdu_gnr:hover {
	text-decoration:none;
	background:#ef4f00;
}


/*--------------------------------------------------
TAB SWITCH WEBGIS-CDU
---------------------------------------------------*/

#tabs-3 {
   padding:0;
   margin:0;
	font-size:13px;
}

#tabs-3 #toc {
	border-top: 1px solid #f2f2f2 !important;
}

#tabs-3 #wrapper {
	max-width:300px;
   margin:10px 30px 30px 30px;
	/*overflow:auto;*/
}

#tabs-3 img {
	margin-bottom:10px;
}

#tabs-3 p {
	text-align:left;
}

#tabs-3 a {
    display:block;
    height:38px;
    line-height:38px;
    margin:10px 20px;
    padding:0 10px;
    border:1px solid #bbb;
    background:white;
}

#tabs-3 a:hover {
    background:#fff;
    text-decoration:none;
}

#tabs-3 a:active {
    background:#999;
    color:#e6e6e6;
    border-right-color:#e6e6e6;
    border-bottom-color:#e6e6e6
}

#tabs-3 button {
   display:block;
   height:40px;
   line-height:20px;
   width:auto;
   margin:20px 0;
	padding:0 10px;
   color:white;
   background:#ffa800;
	border:1px solid #ccc;
   font-size:0.9em;
   text-align:center;
   text-transform:uppercase;
   cursor:pointer;
}

#tabs-3 button:hover {
   background:#ffbb33;
}

/*-------------------------------------------------------
DIALOG
-------------------------------------------------------*/
/*== dialog ==*/
div.jqmDialog {
   width: 300px;
   height: 94%;
   left:322px;
   top:41px;
	min-width:180px;
	min-height:300px;
   position: absolute;
   margin: 0;
   overflow: hidden;
   display: none;
	background: #f2f2f2;
   z-index:99;
   box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
   -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0, 0.3);
   -webkit-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

/*== header ==*/
.jqmdTC { 
   height: 21px;
	vertical-align: middle;
   padding: 5px 0px 0px 6px;	
   background-color: #333;
   color: #ffffff;
   font-size: 13px;
	/*zoom: 1;*/
}

/*== close ==*/
.jqmClose {
	position:absolute;
	top:0;
	right:0;
	width:26px;
	height:26px;
	margin:0;
	padding:0;
	background:transparent url('dialog/close.png') 2px 3px no-repeat;
	vertical-align:midle;
	color:#fff;
	border:none;
	outline: none;
	border-left:1px solid #ccc;
	text-align:center;
	font-size:14px;
	/*font-weight:bold;*/
	cursor:pointer;
}

.jqmClose:hover { background:#666666 url('dialog/close.png') 2px 3px no-repeat; }

/*== footer ==*/
div.jqmdBC { 
    height: 20px;
}

/*== drag and resize ==*/
.dragHandle { cursor: move; }
.resizeHandle { cursor: se-resize; position: absolute; bottom: 2px; right: 2px; z-index:99}

/*== ??? ==*/
div.jqmWrap { /*position: absolute;*/ }
div.jqmdQueryMSG {}
div.jqmdWin { /*height: 100%; background-color: #ff0000; overflow: hidden;*/ }

/*== content ==*/
div.jqmdMSG { 
	/*width: auto;
   height: 100%;*/
   overflow: auto;
   overflow-x: hidden; 
   border-bottom:1px solid #bbb;
	color:#000;
}

/*====== printing settings ======*/
.printdlg {
    padding: 0px 20px;   
}

.printdlg div, .dldlg div {
    border-top:1px solid #ccc;  
    height: 40px;
	 line-height:40px;
}

.printdlg input[type="text"] {
	padding:0 5px;
	height:20px;
	line-height:20px;
	background:#666;
	color:#fff;
	border:1px solid #808080;
}

/*== custom check box ==*/

.printdlg div:not(#foo)  > input[type='checkbox'] {
    
    /* Hide the input, but have it still be clickable */
    opacity: 0;
    margin-left:0px;
    cursor: pointer;
    
    /*float: left;*/
    /*width: 18px;*/
}


.printdlg div:not(#foo)  > input[type='checkbox'] + label{
    margin: 0;
    clear: none;
    
    /* Left padding makes room for image */
    padding: 7px 0 4px 24px;
	
    margin-left:-19px;
    margin-top:0px;

    /* Make look clickable because they are */
    /*cursor: pointer;*/
    
    background: url('images/chekb_unsel.png') left center no-repeat;
}

.printdlg div:not(#foo)  > input[type='checkbox']:checked + label {
    background-image: url('images/chekb_sel.png');
}

/*============ BUTTONS ===============*/

.printdlg input[type="button"] {
	height:25px;
	width: 140px;
	line-height:25px;
	background:#ccc;
	color:#000;
	border:none;
	cursor:pointer;
	border:1px solid #808080;
} 

.printdlg input[type="button"]:hover {
	background:#808080;
	color:#fff;
}

/*=====================================*/

.printdlg div.printdlg_main {
    background-color: #ffffff;
    border: none;
    display: inline;
    padding:0px;
}

.printdlg div.printdlg_main div{
   font-size: 13px;
	height: 32px;
	border: none;
}

.printdlg div.printdlg_advanced {
    display:none;
}

.pm-dlg-title {
    font-size: 14px;
	font-weight: bold;
}

.printdlg select {
	width: auto;
}

/*************************************************/
#_scheda {
	position:relative;
	z-index:5;
	width:100%;
	height:auto;
	margin-top:20px;
	/*margin:30px auto;*/
   /*height: 100%;*/
}

#_scheda #_scheda_content {
	font-size:13px;
	color:#333;
}

.border {
	margin:0px;	
}


#_scheda #_scheda_content ._scheda_item  {
	background-color:rgba(0,0,0,0.1);
}


._scheda_item  .row , ._scheda_item  .title  {
	padding:0 0 0 10px;
}

#_scheda_content  .title {
	min-height:25px;
	/*line-height:30px;*/
	padding-top:5px;
	color:white;
	background-color:#666;
	border-top:1px solid #999;
	border-bottom:1px solid grey;
}

._scheda_item  .row {
	padding-top:5px;
	padding-bottom:5px;
}

#_scheda #_scheda_content ._scheda_item  .row , ._scheda_item .picture {
	border-bottom:1px solid #808080;
}

._scheda_item  .cell_1 {
	font-weight:bold;
}

._scheda_item .picture {
	overflow:hidden;
        padding:5px;
}

.cell_p {
     
    font-weight: bold;
     
}


















	