﻿/* definizione delle costanti di colore
----------------------------------------------------------*/
/*colore base*/
/*colore a contrasto*/
/* testo e  titoli */
/*scuri per elementi layout*/
/*chiari per background*/
/* gradiente background */
/* bottoni ed ombre */
/* MIXINS
----------------------------------------------------------*/
._gradiented {
  background-color: #f9fefb;
  background: linear-gradient(to top, #f9fefb, #ffffff);
}
._gradientedLab {
  background-color: #edfed2;
  background: linear-gradient(to top, #edfed2, #ffffff);
}
._filled {
  background-color: #bdf2d3;
}
._bordered {
  border: 1px solid #3cda7e;
}
._enlighted {
  -webkit-box-shadow: 0px 0px 20px #ffff42;
  -moz-box-shadow: 0px 0px 20px #ffff42;
  box-shadow: 0px 0px 20px #ffff42;
}
/* classi scorciatoia usate nelle pagine
----------------------------------------------------------*/
.Hidden {
  display: none;
}
.Rounded {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
}
.Bordered {
  border: 1px solid #3cda7e;
}
.Shadowed {
  -webkit-box-shadow: 4px 4px 4px #d4dbd7;
  -moz-box-shadow: 4px 4px 4px #d4dbd7;
  -o-box-shadow: inset 4px 4px 4px #d4dbd7;
}
.Gradiented {
  background-color: #f9fefb;
  background: linear-gradient(to top, #f9fefb, #ffffff);
}
.TopRounded {
  -webkit-border-top-left-radius: 12px;
  -moz-border-top-left-radius: 12px;
  -ms-border-top-left-radius: 12px;
  -o-border-top-left-radius: 12px;
  border-top-left-radius: 12px;
  -webkit-border-top-right-radius: 12px;
  -moz-border-top-right-radius: 12px;
  -ms-border-top-right-radius: 12px;
  -o-border-top-right-radius: 12px;
  border-top-right-radius: 12px;
}
.Padded {
  padding: 10px;
}
.RedPara {
  color: #a00000;
  font-weight: bold;
}
/* 
    
    definizione del layout primario della applicazione
    
----------------------------------------------------------*/
body {
  font-family: "Segoe UI", "Trebuchet MS", Verdana, Tahoma, Arial, sans-serif;
  margin: 0;
  padding: 0;
  color: #0c505a;
  background-color: white;
}
/* 
    
    alcuine parti sono renderizzate in modo diverso 
    a video ed in stampa
    
----------------------------------------------------------*/
@media screen {
  body {
    font-size: 12pt;
    /*solo per init, cambia dinamicamente */
  }
  #page {
    width: 100%;
  }
  #main {
    padding: 5px;
    margin: 0 5px 0 200px;
  }
}
@media print {
  body {
    font-size: 3pt;
  }
  #page {
    width: 20cm;
    margin-left: 0cm;
    margin-right: 0cm;
  }
  #main {
    padding: 0px;
    margin: 0;
  }
  /* ci sono degli elementi della pagina che non stampiamo mai*/
  .ui-button,
  .HideInPrint,
  #ConfirmBar,
  #backmenu {
    display: none;
  }
}
/* 
    
    elementi della pagina
    
----------------------------------------------------------*/
.dataTables_wrapper {
  clear: none;
}
table.dataTable {
  clear: none;
}
/* 
    
ConfirmBar
    
----------------------------------------------------------*/
/* 
    
    intestazione pagina
    
----------------------------------------------------------*/
#header {
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  background-color: #ffffff;
  background: linear-gradient(to top, #ffffff, #e7fbef);
  height: 65px;
}
/* 
    
    piede pagina
    
----------------------------------------------------------*/
#footer {
  color: #1c944e;
  text-align: center;
  line-height: normal;
  margin: 20px 0 10px 0;
  font-size: 0.9em;
  clear: both;
}
/* jQUERYUI CUSTOMIZATION
----------------------------------------------------------*/
.ui-button,
.ui-widget-content .ui-state-default {
  -webkit-box-shadow: 4px 4px 4px #d4dbd7;
  -moz-box-shadow: 4px 4px 4px #d4dbd7;
  -o-box-shadow: inset 4px 4px 4px #d4dbd7;
  /*-webkit-transition: all @duration ease-in-out;
    -moz-transition: all @duration ease-in-out;
    -o-transition: all @duration ease-in-out;
    -ms-transition: all @duration ease-in-out;
    transition: all @duration ease-in-out;*/
  font-size: 11pt;
  background-color: #e8f764;
  background: radial-gradient(ellipse closest-side, #e8f764, #effa94, #e8f764);
  border: solid 1px #e8f764;
}
.ui-button:hover,
.ui-widget-content .ui-state-default:hover {
  background-color: #ffffff;
  background: white;
  /*radial-gradient(ellipse closest-side, lighten(@buttonColor,10%), lighten(@buttonColor,12%), lighten(@buttonColor,14%));*/
  -webkit-box-shadow: 0px 0px 20px #ffff42;
  -moz-box-shadow: 0px 0px 20px #ffff42;
  box-shadow: 0px 0px 20px #ffff42;
  /*-webkit-transform: translate3d(@x,@y,@z);
    -moz-transform: translate3d(@x,@y,@z);
    -o-transform: translate3d(@x,@y,@z);
    transform: translate3d(@x,@y,@z);*/
  border: solid 1px #e7fbef;
}
.ui-widget-content .ui-button-icon-only {
  background-color: #1c944e;
  background: #1c944e;
}
.ui-widget-content .ui-button-icon-only:hover {
  background-color: #0ba48c;
  background: #0ba48c;
  -webkit-box-shadow: 0px 0px 20px #ffff42;
  -moz-box-shadow: 0px 0px 20px #ffff42;
  box-shadow: 0px 0px 20px #ffff42;
  /*-webkit-transform: translate3d(@x,@y,@z);
    -moz-transform: translate3d(@x,@y,@z);
    -o-transform: translate3d(@x,@y,@z);
    transform: translate3d(@x,@y,@z);*/
  border: solid 1px #e7fbef;
}
/* definizione dei tag generici di HTML
----------------------------------------------------------*/
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #13869b;
  padding: 0px 0px 0px 0px;
  margin: 15px 0px 10px 0px;
  font-weight: normal;
}
h1 {
  font-size: 1.4em;
  font-weight: bold;
}
h2 {
  font-size: 1.2em;
  font-weight: bold;
}
h3 {
  font-size: 1.2em;
}
h4 {
  font-size: 1.1em;
  background-color: #f9fefb;
  background: linear-gradient(to top, #f9fefb, #ffffff);
}
h5,
h6 {
  font-size: 1em;
}
p {
  font-size: 1em;
}
td {
  vertical-align: top;
}
a.local {
  margin-left: 5px;
}
.tabella {
  font-size: 0.8em;
  color: #000;
  width: 100%;
}
.tabella thead {
  background-color: #d0d0d0;
}
.subhead {
  font-weight: bolder;
}
.code {
  font-family: 'Courier New', 'Lucida Console';
  margin-left: 30px;
  color: darkgreen;
}
/************************************************************************************* 

    MENU

*************************************************************************************/
#MainMenu ul {
  padding: 0;
  list-style-type: none;
  margin: 0;
}
/*header singolo blocco*/
#MainMenu > ul > li {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  border-radius: 6px;
  margin-bottom: 12px;
  font-size: 11pt;
  line-height: 32px;
  color: #505050;
  background-color: #e0e0e0;
  border: 1px solid white;
}
#MainMenu > ul > li:hover {
  background-color: #1c944e;
  color: #ffffff;
  border: 1px solid #e7fbef;
}
#MainMenu > ul > li > ul > li {
  font-size: 10.5pt;
  line-height: 14pt;
  background-color: rgba(255, 255, 255, 0.86);
  color: #6c6c6c;
  cursor: pointer;
  padding-left: 5px;
}
#MainMenu > ul > li > ul > li:hover {
  background-color: #e8f764;
  color: #000;
}
fieldset {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  background-color: #f9fefb;
  background: linear-gradient(to top, #f9fefb, #ffffff);
  margin-bottom: 8px;
  border: 1px solid #e8e8f8;
  padding-top: 18px;
}
fieldset legend {
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  -webkit-box-shadow: 4px 4px 4px #d4dbd7;
  -moz-box-shadow: 4px 4px 4px #d4dbd7;
  -o-box-shadow: inset 4px 4px 4px #d4dbd7;
  background-color: #edfed2;
  background: linear-gradient(to top, #edfed2, #ffffff);
  font-size: 1.3em;
  padding: 2px 14px 2px 14px;
  color: #13869b;
  text-shadow: 0 1px 0 #166c5d;
  border: 1px solid #ccc;
  vertical-align: baseline;
}
fieldset legend .big {
  font-size: 160%;
  font-weight: bold;
  font-family: Arial;
  margin-right: 10px;
  padding-left: 4px;
  padding-right: 4px;
  color: #13869b;
  border: 1px solid #3cda7e;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  border-radius: 8px;
  background-color: #bdf2d3;
}
fieldset legend img {
  margin-right: 6px;
  height: 30px;
  cursor: pointer;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  -ms-border-radius: 3px;
  -o-border-radius: 3px;
  border-radius: 3px;
}
fieldset legend img:hover {
  -webkit-box-shadow: 4px 4px 4px #d4dbd7;
  -moz-box-shadow: 4px 4px 4px #d4dbd7;
  -o-box-shadow: inset 4px 4px 4px #d4dbd7;
}
fieldset.level2 {
  background-color: #ffffff;
  background: linear-gradient(to top, #ffffff, #ffffff);
}
fieldset.level2 legend {
  background-color: #e7fbef;
  font-size: 1.1em;
  font-weight: normal;
  padding: 3px 10px 3px 10px;
  color: #13869b;
  text-shadow: 0 1px 0 #efffef;
  border: 1px solid #ccc;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  border-radius: 12px;
  -webkit-box-shadow: 4px 4px 4px #d4dbd7;
  -moz-box-shadow: 4px 4px 4px #d4dbd7;
  -o-box-shadow: inset 4px 4px 4px #d4dbd7;
  /*border-radius: 4px;
            -webkit-border-radius: 4px;
            -moz-border-radius: 4px;*/
  /*box-shadow: 2px 2px 5px #888;
            -webkit-box-shadow: 2px 2px 5px #888;
            -moz-box-shadow: 2px 2px 5px #888;*/
}
fieldset label {
  font-size: 1em;
}
/* default: 1 colonna */
fieldset .low {
  color: #844;
  font-size: 0.9em;
}
/* default: 1 colonna */
fieldset .col1 {
  float: left;
  clear: both;
  min-width: 45%;
  margin-right: 0.5em;
  padding-top: 0.2em;
  text-align: right;
  color: #386;
}
fieldset .seguito {
  margin-right: 0.5em;
  padding-top: 0.2em;
  color: #33f;
}
fieldset input {
  font-size: 1.2em;
  padding: 5px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border: 1px solid #c0c0e0;
}
fieldset select {
  font-size: 1.2em;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border: 1px solid #c0c0e0;
  padding: 5px;
}
fieldset textarea {
  font-size: 1em;
  padding: 5px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border: 1px solid #c0c0e0;
  width: 70%;
  height: 8em;
  font-family: 'Segoe UI', 'Lucida Grande', Verdana, Tahoma, "Trebuchet MS", Arial, Helvetica, sans-serif;
}
.viewCollction fieldset fieldset legend {
  font-size: 1.2em;
  font-weight: normal;
  padding: 2px 4px 8px 4px;
  color: #2020a0;
}
/* Information and errors  
----------------------------------------------------------*/
.message {
  clear: both;
  border: 1px solid;
  margin: 10px 0px;
  padding: 15px 15px;
  /*CSS3 properties*/
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  box-shadow: 2px 2px 5px #888;
  -webkit-box-shadow: 2px 2px 5px #888;
  -moz-box-shadow: 2px 2px 5px #888;
  background: #FFFfe0;
  text-align: justify;
}
.info {
  background: #bde5f8;
  color: #00529b;
}
.error {
  background: #ffccba;
  color: #d63301;
}
.success {
  background: #dff2bf;
  color: #4f8a10;
}
.low {
  color: #687;
  font-size: 80%;
  text-align: justify;
}
.evid {
  color: #10398e;
  font-weight: bold;
}
input[type="text"].error-field,
input[type="password"].error-field {
  border: solid 1px #d63301;
  background-color: #ffccba;
}
div.label {
  color: #000080;
}
div.value {
  padding-left: 10px;
}
.validation-error {
  display: inline;
  color: #d63301;
  font-weight: bold;
  font-size: 1.1em;
}
.validation-error:before {
  content: "»";
}
span.clear {
  display: block;
  clear: both;
  width: 1px;
  height: 0.001%;
  font-size: 0px;
  line-height: 0px;
}
/************************************************************************************* 

    MENU

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