body {
  color            : #000;
  background-color : #EEE;
  margin           : 0;
  outline          : 0 none;
  padding          : 0;
  font-family      : "Trebuchet MS", Arial, Helvetica, sans-serif;
}

div.ui-menu-item-wrapper {
  margin: -1px !important;
}
/*
div#container:not(.jqplot-target) * {
  font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
}
*/
#dialog_graf:not(#fontFamily_imposto) * {
  font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
}

#dialog_json * {
  font-family : "Trebuchet MS", Arial, Helvetica, sans-serif !important;
}
.ui-widget {
  font-family : "Trebuchet MS", Arial, Helvetica, sans-serif !important;
}

.light {
  color       : #C00;
  font-weight : bold;
}

.medium {
  color       : #444;
  font-weight : normal;
}

.dark {
  color       : #00C;
  font-weight : bold;
}

*.verdechiaro {
  margin           : 10px;
  clear            : both;
  background-color : #EFD;
  border-style     : dotted;
  border-width     : 1px;
  border-radius    : 5px;
}

h2 {
  color        : #00C;
  font-size    : 20px;
  font-weight  : bold;
  font-variant : small-caps;
  line-height  : 1.5;
  text-align   : center;
}

h3 {
  color          : #00C;
  font-size      : 14px;
  font-weight    : bold;
  text-transform : uppercase;
}

h3.sottotitolo {
  text-align : center;
}

h3 span.small {
  text-transform : lowercase;
}

h4 {
  font-size   : 14px;
  font-weight : bold;
}

div.scrollabile {
  /*
  width      : 100%;
  height     : 100%;
  */
  margin     : 0;
  padding    : 0;
  overflow   : auto;
  max-width  : 550px;
  max-height : 550px;
}

div#tabs {
  min-height : 280px;
}

.centrato {
  clear      : both;
  float      : none;
  text-align : center;
}

.nobr {
  white-space : nowrap;
}

div.maximized {
  border                   : 0 none;
  height                   : 100%;
  left                     : 0px;
  position                 : fixed;
  top                      : 0px;
  width                    : 100%;
  -webkit-transform        : scale(4);
  -webkit-transform-origin : 0 0;
  z-index                  : 9;
}

div.file_input_div {
  height   : 30px;
  overflow : hidden;
  position : relative;
  width    : 90px;
}
/*
div#hdr_mid > div {
  margin : 0 auto;
}
*/
div#copia_ris_per_pagina {
  display : none;
}

div#query_error {
  background : #DEF;
  margin     : auto;
  padding    : 5px;
  width      : 600px;
}

span.select2 {/* select2 select2-container select2-container--default select2-container--above */
  float      : right;
  margin     : 3px;
  text-align : left;
  font-size  : 12px;
}

div.select2-left span.select2 {/* select2 select2-container select2-container--default select2-container--above */
  float : left;
}

div.select2-mis span.select2 {/* select2 select2-container select2-container--default select2-container--above */
  float : none;
}

/*
Definizioni relative al contenitore comune esterno.
*/
#container /* Contiene "main" e "footer" */
{
  width      : 100%;
  min-width  : 1010px; /* Rapporto 16:9 */
  min-height : 700px; /* era 540px per rapporto 16:9 */
  padding    : 0 0 40px 0;
  overflow   : hidden; 
  position   : relative; /* Per consentire a #footer un posizionamento assoluto */
  top        : 0; 
  left       : 0;
}

#main /* Contiene "header", "subheader", "navbar" e "content" */
{
  min-height : 665px; /* Uguale a min-height di "container" meno height di "footer" */
  margin     : 5px;
}

#header
{
  width            : 100%;
  min-width        : 1000px;
  height           : 80px; /* Altezza dei loghi */
  margin           : 0;
  padding          : 0;
  background-color : #FFF;
  float            : left;
  border-top       : 8px solid #EEE;
  border-bottom    : 8px solid #EEE;
}

#header img {
  height : 80px;
}

#hdr_lft {
  float : left;
}

#hdr_mid {
  text-align: center;
}

#hdr_rgt {
  float  : right;
}
#subheader
{
  width            : 100%;
  min-width        : 1000px;
  height           : auto;
  margin           : 0 0 8px 0;
  padding          : 0;
  background-color : #55A;
  float            : left;
}
#subheader p
{
  margin     : 5px 10px;
  font-size  : 15px;
  text-align : left;
  color      : #FFF;
}
#navbar
{
  width            : 100%;
  height           : 35px;
  background-color : #FFF;
  float            : left;
  border-bottom    : 8px solid #EEE;
  font-size        : 12px;
  font-weight      : bold;
}

#navbar div.sx  {
  float : left;
}
#navbar div.dx  {
  margin     : 12px;
  float      : right;
  font-style : italic;
  color      : #00C;
}
#navbar ul li.nb_title
{
  display : inline;
  color   : #C00;
}
#navbar ul li.nb_items
{
  display             : inline;
  background          : url("/immagini/li_gt.gif") no-repeat;
  background-position : 2px 5px;
  padding             : 0 5px 0 10px;
  color               : #00C;
}
#navbar ul li a
{
  /*color           : #00C;*/
  text-decoration : none;
}
#navbar ul li a:hover {
  border-bottom : 2px solid #E40;
  /*color         : #00C;*/
}

#content 
{
  width            : 100%;
  min-height       : 500px; /* Uguale a min-height di "main" meno height di "header", "subheader" e "navbar" */
  margin           : 0px 0px 10px 0px;
  padding          : 0;
  background-color : #DDD;
  float            : left;
  display          : flex;
}

p.testo {
  font-size   : 12px;
  text-align  : justify;
  text-indent : 15px;
  margin      : 4px 0;
}

p.testo_cont {
  font-size   : 12px;
  text-align  : justify;
  text-indent : 0;
  margin      : 4px 0;
}

p#dialog_text {
  text-align : justify;
}

p#dialog_text li {
  text-align : justify;
}

p#dialog_text ul {
  padding-left : 15px;
}

div#gestmenu {
  padding          : 5px;
  background-color : #EEE;
}

div#gestspace {
  float            : left;
  margin           : 0;
  padding          : 5px;
  font-size        : 12px;
  text-align       : left;
  -webkit-flex     : 1; /* Safari 6.1+ */
  -ms-flex         : 1; /* IE 10 */
  flex             : 1;
}

#gestspace p, #gestspace li {
  text-align : justify;
}

span.select2-container li {
  text-align : left;
}

#footer {
  margin : 5px;
}

#footer p.sx  {
  float       : left;
  font-size   : 12px;
  font-style  : italic;
  margin      : 5px 15px 10px 10px;
  max-width   : 600px;
  text-align  : left;
}

#footer p.dx  {
  margin     : 5px 15px 10px 10px;
  float      : right;
  font-size  : 12px;
  font-style : italic;
  text-align : right;
}

#inside-footer {
  background-color : #DEE;
  color            : #00C;
  float            : left;
  line-height      : 1.5;
  min-width        : 1000px;
  width            : 100%;
}

pre {
  font-family   : monospace, monospace; /* 1 */
  line-height   : 10pt;
  margin-bottom : 2px;
  margin-top    : 2px;
}

span.testo_cella {
  font-size : 11px;
}

span.icona_sezione {
  position   : relative;
  margin-top : -4px;
}

span.titolo_sezione {
  margin-left : 5px;
}

span.jqplot_hidden {
  display : none;
}

span.jsparam_hidden {
  display : none;
}

span.norme {
  float       : left;
  font-weight : bold;
  line-height : 24px;
  margin      : 3px 0;
  text-align  : left;
  width       : 80px;
}

span.ris_norme {
  float       : left;
  line-height : 24px;
  margin      : 3px 0;
}

#menu li,
ul#menu > li > div,
ul#menu > li > div > span,
ul#menu > li > ul > li > div > span,
ul#menu > li > ul > li > ul > li > div > span {
  cursor : default;
}

.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
  padding : 5px;
}

hr {
  clear : both;
}

.subscript {
  display  : block;
  float    : right;
  position : relative;
  top      : 16px;
}

.superscript {
  display  : block;
  float    : right;
  position : relative;
  top      : 3px;
}

math, fmath, .fm-math, fmath mo, .fm-mo, .ma-sans-serif {
  font-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
  font-size   : 12px;
}

.ui-menu-icons .ui-menu-item-wrapper {
    border: 0 !important;
}