﻿body {
    background-color:#f0f0f0;
    margin-top:0;
    font-family: Helvetica, sans-serif;
}
table a {
    color:black;
    text-decoration-style:dotted;
}
h1 {
    font-size:1.5em;
    width:95%;
    margin:0;
    margin-left:1.5%;
    color:whitesmoke;
}
.zonaElementi {
    padding:0;
    overflow:auto;
    position:relative;
    height:calc(100% - 4em - 2px);
}
.searchBox{
    width:100%;
    height:1.5em;
}
#divDropZone {
    border:solid 1px gray;
    padding:0;
    background-color:lightgray;
}

.contBase {
    border:solid 1px gray;
    float:right;
    padding:0;
    background-color:#D7FEFB;
    overflow:hidden;
}
.zonaFiltri {
    padding:0;
    overflow-y:auto;
    overflow-x:hidden;
    height:calc(100% - 4em - 2px);
}
.pnlLblFiltro {
    height:20px;
}
.dragElement{
    color:white;
    text-align:center;
    min-height:1.5em;
    line-height:1.5em;
    cursor:grab;
    background-color:#DEB887;
    border:solid 1px rgba(0,0,0,.2);
}
.outlined{
    text-shadow: -1px 0 #808080,0 1px #808080,1px 0 #808080,0 -1px #808080;
}
.lblHeadDiv {
    display:inline-block;
    width:100%;
    text-align:center;
    color:white;
    cursor:move;
    height:1.5em;
    line-height:1.5em;
    background-color:#707070;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    font-weight:bold;
    z-index:100;
}
.lblTrascinamento {
    display:inline-block;
    width:100%;
    text-align:center;
    color:gray;
    pointer-events:none;
    height:1.5em;
    line-height:1.5em;
}
.zonaDrop {
    background-color:#E3F6CE;
    background-color:#A0F0A0;
    display:inline-block;
    border:solid 1px gray;
    min-height:4.5em;
}
#dropZoneContainer{
    width:100%;
    height:calc(100% - 1.5em - 1px);
}
.zonaFiller{
    width:50%;
    height:3em;
    float:left;
    min-height:3em;
    border-top:none;
    border-bottom:none;
    border-right:none;
}
.dropColonne {
    width:calc(50% - 1px);
    height:3em;
    float:right;
    #max-height:3em;
    min-height:3em;
    border-top:none;
    border-bottom:none;
    border-right:none;
}
.dropRighe {
    width:50%;
    height:calc(100% - 3em - 1px);
    vertical-align:top;
    float:left;
    border-bottom-left-radius:5px;
    border-right:none;
    border-left:none;
    border-bottom:none;
    min-height:5em;
}
.dropValori {
    width:calc(50% - 1px);
    height:calc(100% - 3em - 1px);
    vertical-align:top;
    float:right;
    position:relative;
    border-bottom-right-radius:5px;
    border-bottom:none;
    border-right:none;
    min-height:5em;
}
.dropFiltri {
    width:300px;
    height:300px;
    margin-left:100px;
}
.dropFiltri div{
    width:99%!important;
}
.dragPossible{
    background-color:aqua!important;
}
.dragOver{
    background-color:lightskyblue!important;
}
.pnlFiltri {
    height:auto!important;
    background-color:lightblue!important;
    overflow:auto;
    #max-height:100px;
    color:white;
    text-align:center;
}
.chkFiltri {
    display:block;
    text-align:left;
    margin-left:10px;
    position:relative;
}
.txtFiltri {
    width:90%;
    margin-left:5%;
}

.accFiltri{
    margin:0!important;
}
.menuStyle{
    margin:0;
    padding:0;
    margin-top:0.5em;
}
.menuStyle li{
    list-style-type:none;
    display:inline-block;
    padding:5px;
    background-color:cadetblue;
    margin-right:2px;
    margin-bottom:1px;
    color:whitesmoke;

}
.menuStyle li a {
    color:whitesmoke;
    text-decoration:none;
}
.menuStyle li a:link {
    color:whitesmoke;
    text-decoration:none;
}
.menuStyle li a:visited {
    color:whitesmoke;
    text-decoration:none;
}
.divFileUpload{
    display:inline-block;width:30%;border:solid 1px gray;padding:5px;
}
.divFileUpload input[type=text] {
    width:98%;
}
.divCampiAddSurvey{
    display:inline-block;width:33%;vertical-align:top;
}
.divCampiAddSurvey input,.divCampiAddSurvey select{
    width:300px;
}
.divCampiAddSurvey textarea{
    width:350px;
}
#ckCicloAuto,#ckOpzionale{width:auto;}
.notifica{
    color:green;
    font-weight:bold;
}
.warning{
    color:blue;
    font-weight:bold;
}
.errore{
    color:red;
    font-weight:bold;
}

.rigaSel{
    #color:#207020!important;
    color:#f0ff00!important;
    font-weight:bold;
    border:solid 1px red;
}
.cellaSel{
    #color:#006000!important;
    color:#D0DF00!important;
    font-weight:bold;
    border:solid 1px red;
}
.mnuButton{
    max-width:32px;
    position:relative;
    cursor:pointer;
    width:32px;
}
.insert{
    margin-top:20px!important;
}

.trovato {
    color:yellow!important;
    background-color:red!important;
}
.divFiltro{
    
}
.clear{
    clear:both;
}
.spostabile{
    box-shadow: rgba(0,0,0,.4) 2px 3px 2px;
    border-radius: 5px;
    border-width:1px;
    position:absolute!important;
    overflow:hidden;
}
#divAggregazione{
    position:absolute;
    bottom:0px;
    width:100%;
    color:gray;
    text-align:center;
    border-bottom-right-radius:5px;
}
.tabellaPivot{
    height:calc(100% - 2.5em);
    overflow:auto;
}
.tabellaPivot table{
    border:none;
    margin-left:auto;
    margin-right:auto;
}
.tabellaPivot th{
    border:none;
    color:#50A050;
    border:1px solid lightgray;
}
.tabellaPivot td{
    border:solid 1px white;
    #background-color:#50A050;
    color:white;
}
#divPivot, #divDettagli{
    overflow:hidden;
    border:solid 1px black;
    background-color:white;
}
#divGrafico{
    overflow:hidden;
    border:solid 1px black;
    background-color:white;
}
.btnGestione{
    background:none;
    border:none!important;
    box-shadow:none!important;
}
.btnMenu {
    float:right;
    margin-right:20px;
}
.menu{
    position:absolute;
    right:22px;
    border:solid 1px black;
    background-color:white;
    border-radius:5px;
    width:230px;
    z-index:9999;
}
.menu ul{
    list-style:none;
    padding-left:5px;
    padding-right:5px;
}
.lnkMenu{
    text-decoration:none!important;
    color:black;
    font-size:1em!important;
    font-family:inherit!important;
}
#btnReset.lnkMenu,#btnEsportaTabellaFoto.lnkMenu{
    padding: 0 0.5em;
}
#divMappa{
    background-color:wheat;
}
#contMappa{
    position:relative;
    background-color:wheat;
    height:calc(100% - 1.5em);
    width:100%;
    overflow-y:auto;
    overflow-x:hidden;
    overflow:hidden;
}
#imgMappa{
    width:100%;
}
.txtLogin{
    width:90%;
    border-radius:5px;
    padding-left:5px;
    box-shadow:none;
    border:solid 1px gray;
}
input[type=button],input[type=submit]{
    border-radius:2px;
    border:solid 1px gray;
    line-height:1.5em;
    box-shadow:rgba(0,0,0,0.2) 2px 2px 1px;
}
input[type=button]:hover,input[type=submit]:hover{
    background-color:white;
    cursor:pointer;
}
input[type=button]:active, input[type=submit]:active {
    box-shadow:rgba(0,0,0,0.2) 2px 2px 2px inset;
}
.tabella{
    width:90%;
    margin-left:auto;
    margin-right:auto;
    max-width:75em;
    border-spacing:0;
}
.campagne{
    width:95%;
    max-width:none;
    border-top:none;
    border-left:none;
    border:none;
}
.questionario{
    max-width:none;
    width:100%;
    margin-bottom:40px;
}
.tabella th{
    background-color:gray;
    color:whitesmoke;
    padding-left:4px;
    padding-right:4px;
    border:solid 1px black;
}
.tabella th a{
    color:whitesmoke;
    text-decoration:none;
}
.campagne th{
    background-color:transparent;
    border:none;
    color:black;
    width:12%;
}
.campagne td{
    padding-top:6px;
    padding-bottom:6px;
    border:none;
    border-bottom:4px solid whitesmoke;
    width:12%;
}
.campagne td:first-child{
    font-weight:bold;
    color:#655d5d;
}
.campagne th a{
    color:black;
    text-decoration:none;
    font-size:1.0em;
    font-weight:normal;
}
.oddRow{
    background-color:lightgray;
    text-align:center;
    margin-bottom:5px;
}
.evenRow{
    background-color:lightgray;
    text-align:center;
}
.oddRowPivot{
    background-color:#40A080;
    text-align:center;
    margin-bottom:5px;
}
.evenRowPivot{
    background-color:#309070;
    text-align:center;
}
.tabella td{
    padding-left:10px;
    padding-right:10px;
}
.hidden{
    display:none;
}
.inblock{
    display:inline-block;
}
.separatore{
    border-bottom:none;
    border-right:none;
    border-top:none;
    border-left:none;
    width:4em;
    display:inline-block;
}

.minusSign{
    width:16px;
    height:16px;
    background: url(../js/jquery-ui/images/ui-icons_777777_256x240.png);
    background-position: 0px -16px;
    background-color:rgba(255, 255, 255, 0.8);
    position: absolute;
    right: 0px;
    top: 4px;
    cursor:pointer;
    transform:scale(1.5);
}
.plusSign{
    background-position: -66px -16px;
}
.leftSign{
    background-position: -96px -16px;
    right:20px;
    top:5px;
}
.rightSign{
    background-position: -32px -16px;
    top:5px;
}
.gvDettagli th{
    color:#7070a0;
}
.gvDettagli td{
    background-color:#7070a0;
}
.inDropZone{
    #background-color:#70C579;
    background: linear-gradient(to right, #70C579,#70C579 5%, #DEB887 5%, #DEB887);
}
.inFiltri{
    #background-color:#87CEDB;
    background: linear-gradient(to right, #DEB887, #DEB887 95%, #87CEDB 95%, #87CEDB);
}
.inDropZone.inFiltri{
    background: linear-gradient(to right, #70C579,#70C579 5%, #DEB887 5%, #DEB887 95%, #87CEDB 95%, #87CEDB);
}
.clone{
    background-color:#70C579!important;
}
.pnlLblFiltro{
    background-color:#87CEDB!important;
    position:relative;
}
#elemContainer > .lblHeadDiv{
    background-color:#DD8A0E;
}
#divDettagli > .lblHeadDiv,#divGrafico > .lblHeadDiv{
    background-color:#7070a0;
    font-weight:bold;
}

#divDropZone > .lblHeadDiv{
    background-color:#50A050;
}

#filtriContainer .lblHeadDiv{
    background-color:#87CEDB;
}
#divPivot > .lblHeadDiv{
    background-color:#50A050;
}

#elemContainer.contBase{
    background-color:#FEF8C7;
}
.custom{
    position:relative;
}
.custom label{
  cursor: pointer;
}
.custom label:after {
  content: '';
  width: 9px;
  height: 5px;
  position: absolute;
  cursor: pointer;
  top: 5px;
  left: 4px;
  border: 2px solid #fcfff4;
  border-top: none;
  border-right: none;
  background: transparent;
  opacity: 0;
  -webkit-transform: rotate(-45deg);
          transform: rotate(-45deg);
}
.custom input[type=checkbox]:checked + label:after {
  opacity: 1;
}
.custom label:before {
  content: '';
  opacity: 0.7;
  width: 16px;
  height: 16px;
  cursor: pointer;
  position: absolute;
  top: 2px;
  left: 2px;
  background: -webkit-linear-gradient(top, #222222 0%, #45484d 100%);
  background: linear-gradient(to bottom, #222222 0%, #45484d 100%);
  border-radius: 4px;
  box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px rgba(255, 255, 255, 0.4);

}

.custom input[type=checkbox] {
  visibility: hidden;
}
.dragging{
    cursor:grabbing;
}
.ui-icon{
    transform:scale(2);
}

.panelBack{
    position:fixed;
    z-index:2000;
    width:100%;
    height:100%;
    background-color:gray;
    text-align:center;
    top:0;
    left:0;
    opacity:0.5;
}

.panelFront{
    position:fixed;
    border:2px solid gray;
    border-radius:5px;
    width:400px;
    background-color:whitesmoke;
    text-align:center;
    z-index:9999;
    opacity:1;
    box-shadow: rgba(0,0,0,.4) 2px 3px 2px;
    padding:10px;
}

#divAwaiter{
    border:none;
    box-shadow:none;
    background-color:transparent;
}
.awaiter{
    width:64px;
}

.panelFront input {
    margin: 5px;
}
.exportInput{
    width:280px!important;
    margin-left:10px;
    border-radius:5px;
    margin-bottom:10px;
    border: solid 1px gray;
}
.tippy-tooltip{
    text-align:left!important;
}

.topAnalisi{
    padding-top:0.9em;
    height:3em;
    margin-left:2em;
    line-height:1em;
}
.topAnalisi > div{
    display:inline-block;
    margin-right:20px;
}
.topAnalisi div span{
    color:whitesmoke;
}

.label{
    font-weight:bold;
    display:inline-block;
    min-width:150px;
}

.status{
    width:8em;
    height:20px;
    display:inline-block;
    overflow:hidden;
    margin-left:10px;
    vertical-align:text-bottom;
    border:solid 1px white;
}
.statoPV{
    display:inline-block;
    height:100%;
    margin:0;
}
.parziali{
    background-color:orange;
}
.completi{
    background-color:green;
}
.da_fare {
    background-color: red;
}
#footer{
    overflow:visible;
    border-top:1px solid gray;
    background-color:#4094e7;
    color:white;
    border-top-left-radius:5px;
    border-top-right-radius:5px;
    border-radius:10px;
    font-size:0.8em;
    margin-top:10px;
}
#footer p{
    width: 100%; 
    text-align: center; 
    margin: 0;
}
#sidebar {
    width: 80px;
    height: 100%;
    background-color: #2c84cb;
    position: fixed;
    top: 50px;
    left: 0;
    padding-top: 20px;
    z-index: 2000;
    overflow-y: auto;
    overflow-x:hidden;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: flex-start;
    align-items:center;
}

#header{
    width:calc(100% - 81px);
    height:50px;
    background-color:#2c84cb;
    position:fixed;
    top:0;
    left:81px;
    line-height:50px;
    z-index:1000;
}
#container{
    position:relative;
    top:58px;
    left:84px;
    width:calc(100% - 80px);
}
.logo{
    position:fixed;
    top:0;
    left:0;
    width:80px;
    height:49px;
    border-bottom:1px solid white;
    border-right:1px solid white;
    background-color:#81D8D0;
    background-color:#081289;
    z-index:1000;
    text-align:center;
}
.logo img{
    height:42px;
    position:relative;
    top:4px;
}
.lblMenu{
    position:relative;
    font-size:0.75em;
    text-align:center;
    width:100%;
    display:inline-block;
    margin-bottom:15px;
    cursor:pointer;
    vertical-align:bottom;
    color:whitesmoke;
}
#divLogout{
    margin-top:auto;
    text-align:center;
}
#divLogout > .lblMenu{
    margin-bottom:0;
    top:-8px;
}
.tippy-tooltip.menu-theme .tippy-tooltip-content div{
    padding:5px;
}
.tippy-tooltip.menu-theme .tippy-tooltip-content div:first-child{
    border-bottom:1px solid gray;
}
.tippy-tooltip.menu-theme .tippy-tooltip-content div:last-child{
    border-top:1px solid gray;
}
.tippy-tooltip.menu-theme .tippy-tooltip-content div:hover{
    background-color:#006000;
}
.tippy-tooltip.menu-theme {
    background-color: white;
    border: 2px solid gray;
    color:black;
    padding:0;
}
.lnkMenu:hover{
    color:white;
    background-color:#006000;
}
input.lnkMenu:hover{
    background-color:#006000;
}
.selAggregato{
    float:right;
    margin-right:5px;
    height:100%;
}
.clsLogout{
    position:absolute;
    top:0.5em;
    right:10px;
}
#gvDettagliPV{
    margin-bottom:1em;
}
#gvDettagliPV td{
    border:1px solid whitesmoke;
    color:#655d5d;
    font-weight:bold;
}
td{
    font-size:0.95em;
}
#divDatiCampagna{
    position:relative;
    float:right;
}
td.campo{
    text-align:left;
}
.selTipoGrafico{
    margin:0;
}
#footer > p > a{
    color:white;
    text-decoration:none;
    cursor:pointer;
}

#divStatus1, #divStatus2 {
    display:inline-block;
}

.impila{
    display:block!important;
    text-align:right;
    position:relative;
    top:-11px;
}
#divStatus2.impila{
    top:-10px;
}
.spacer {
    flex-grow: 1;
}
.spacer2 {
    flex-grow: 2;
}
.spacer3 {
    flex-grow: 3;
}
.spacer4 {
    flex-grow: 4;
}
.spacer5 {
    flex-grow: 5;
}
.w100p {
    width: 100%;
}
.raise {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    margin: 1em;
}
.flexer {
    display: flex;
}
.p1 {
    padding: 1em;
}
.w90p {
    width: 90%;
}
.round {
    border-radius: .5em;
}
.b-solid {
    border-style: solid;
}
.b-red {
    border-color: #d32323;
}
#PannelloErroreFisso, .popupFull {
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #131313c4;
    z-index: 1000000;
}
.popper {
    width: 30%;
    min-height: 20%;
    max-height: 40%;
    background: white;
    display: flex;
    flex-flow: column;
}
.scroll-y {
    overflow-y: auto;
}
.mb1 {
    margin-bottom: 1em;
}
.padding1{
    padding:1em;
}
.flexer.columns {
    flex-direction: column;
}
.flexer.center {
    align-items:center;
}
.flexer.rows {
    flex-direction: row;
}
.flexer.wrap {
    flex-wrap: wrap;
}
.flexer.even {
    justify-content: space-evenly;
}
.ajax__combobox_itemlist {
    position: absolute !important;
    /*height: 100px !important;*/
    overflow-y: auto !important;
    top: auto !important;
    left: auto !important;
    max-height: 400px !important;
    width: fit-content !important;
}
.txt-center {
    text-align: center
}

input.pulsante {
    box-shadow: 0px 10px 14px -7px #276873;
    background: linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
    background-color: #599bb3;
    border-radius: 4px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    /*font-size:20px;*/
    font-weight: bold;
    padding: 2px 8px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #3d768a;
}

input.pulsante:hover {
    background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
    background-color: #408c99;
}

input.pulsante:active {
    position: relative;
    top: 1px;
}

.actions input {
    box-shadow: 0px 10px 14px -7px #276873;
    background: linear-gradient(to bottom, #599bb3 5%, #408c99 100%);
    background-color: #599bb3;
    border-radius: 8px;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    font-family: Arial;
    /*font-size:20px;*/
    font-weight: bold;
    padding: 5px 12px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #3d768a;
}

.actions input:hover {
    background: linear-gradient(to bottom, #408c99 5%, #599bb3 100%);
    background-color: #408c99;
}

.actions input:active {
    position: relative;
    top: 1px;
}

.wimpytitle {
    text-align: center;
    margin: 0;
}
