/* set last update timestamp */
.dwh-last-update {
    text-align: right;
    color: #c23052;
}
.dwh-last-update span{
    visibility: hidden;
}
.dwh-last-update span::after{
    content: "31.12.2025";
    display: inline;
    visibility: visible;
}
.ui-tabs .ui-tabs-panel {
	padding:0;
}
.ui-tabs .ui-tabs-nav .ui-tabs-anchor,
.ui-button .ui-button-text {
	padding: .3em 0.3em;
	font-size: 14px;
}
.ribbons {
	fill-opacity: 0.67;
}
/*
#movPop,
#movPop_arrivals,
#movPop_departures{
	pointer-events: all;
}
*/
#movPop circle ,
#movPop_arrivals circle ,
#movPop_departures circle {
	fill: none;
	pointer-events: all;
}
/* dummy fix for ie */
#container_5:hover, #container_6:hover { background-color:white; }
#container_5:hover path.gfade, #container_6:hover path.gfade { display: none; }

#movPop:hover path.gfade, #movPop path.gfade.forcefade,
#movPop_arrivals:hover path.gfade, #movPop_arrivals path.gfade.forcefade,
#movPop_departures:hover path.gfade, #movPop_departures  path.gfade.forcefade{
	display: none;
}
#movPop path.arcOuter ,
#movPop_arrivals path.arcOuter ,
#movPop_departures path.arcOuter {
	display: none;
}
#movPop path.arcOuter.hover ,
#movPop_arrivals path.arcOuter.hover ,
#movPop_departures path.arcOuter.hover {
	display: block;
}
.svgtooltip rect,
.svgtooltip text {
	pointer-events: none;
}
path.state {
	stroke: #666;
	stroke-width: .5;
}
path.hide {
	display: block;
	opacity: 0.2;
}
.col1 {
	float:left;
	width:68%;
	padding:2px;
	margin:6px; 
	height:auto; 
	border:1px solid #e1e1e1;
}
.col2 {
	float:left;
	width:48%;
	padding:2px;
	margin:6px; 
	height:auto; 
	border:1px solid #e1e1e1;
}
.col3 {
	float:left;
	width:31%;
	padding:5px;
	margin:4px; 
	height:auto; 
	border:1px solid #e1e1e1;
}
.ogd .vc_tta-panel-body {
    padding:6px!important;
}
.ogd .x-accordion-group {
    border:0;
    box-shadow:none;
}
.ogd .x-accordion-heading .x-accordion-toggle {
    padding: 1px 15px 9px;
}
.ogd .x-accordion-inner {
    padding: 8px 0px;
}
.ogd .x-block-grid {
    margin:0;
    padding-top: 1px;
    border-bottom: 1px solid #e1e1e1;
}
.ogd ul:first-of-type {
    border-top: 1px solid #e1e1e1;
}
.ogd .x-block-grid.four-up>li:nth-child(n+2) {
    width: 30%!important;
}
.ogd .x-block-grid.four-up>li:nth-child(1) {
    width: 4%!important;
}
.ogd .x-block-grid.four-up>li:nth-child(4) {
    margin-right: 0%!important;
}
.ogd .x-block-grid>li {
    margin: 0% 2% 0 0!important;
}
.ogd .cp-trigger-shortcode:hover{
    color: #f00;
}
.ogd .cp-trigger-shortcode{
    margin-right: 6px;
}
.ogd .x-icon{
    color: #d6373b;
    background-color: #ffffff;
    font-size: 1.2em;
}
.ogd code {
    border: 0!important;
    padding: 0!important;
}

.ogd h4.vc_tta-panel-title {
    text-align: left;
}
.ogd .vc_tta-controls-icon-position-left.vc_tta-panel-title>a {
    padding-left: 54px!important;
}
.map-controls {
    display:inline-block;
}
.map-controls > div,
.map-controls > button{
    float:left;
}
.toggle-on {
    color: #000000;
    text-decoration: underline;
}
.toggle-off {
    color: #708090 ;
    text-decoration: none;
}
.highcharts-root text {
    font-family: Lato,sans-serif,Arial;
}
.highcharts-title{
    font-size: 1.2em!important;
}
.highcharts-exporting-group{
    opacity:0.4!important;
}
/* Wordpress-Demografia elements*/
/* defined body class: .dwh-container */
.dwh-ar { text-align: right; }
.dwh-ac { text-align: center; }
.dwh-bold {
    font-weight: bold;
}
.dwh-container h4{
    margin-top: 0.75em;
    margin-bottom: 0.5em;
}
.dwh-container .x-content-band{
    margin: 0 0 0.313em!important;
    padding: 0!important;
}
.dwh-container .filters .x-column.x-1-2{
    width:auto!important;
}
.dwh-container.x-navbar-fixed-left-active {
    padding-left: 20px!important;
}
.dwh-container .filters label{
    float: left;
    margin-right: 8px;
    margin-top: 8px;
}
.dwh-container .vc_tta-panel-body {
    padding:2px!important;
    background-color: #fff!important;
}
.dwh-container .vc_tta-panels {
    box-shadow: 0 0.125em 0.275em 0 rgba(0,0,0,0.125)!important;
    margin-bottom: 0em!important;
    border: 0px solid rgba(0,0,0,0.15)!important;
    border-top: 0!important;
    background-color: #fff!important;
}
.dwh-container .vc_tta-container {
    margin-bottom:0!important;
}
.dwh-container .vc_tta-tab>a  {
    padding: 6px 20px!important;
}
.dwh-container .vc_active>a {
    box-shadow: inset 0 0px 0 0 #ff2a13!important;
}
.dwh-container .vc_active .vc_tta-panel-heading {
    box-shadow: inset 0 0 0 0 #ff2a13!important;
}
.dwh-container .vc_active>a,
.dwh-container .vc_active .vc_tta-panel-heading {
    color: #272727!important;
    background-color: #fff!important;
    cursor: default!important;
}
.dwh-container .x-container.width {
    /* width:100%!important; */
}
.dwh-container .x-container.max {
    max-width: none!important;
}
.dwh-container .x-sidebar.right{
    display:none!important;
}
.dwh-container .x-main.left{
    width:100%!important;
}
.dwh-container .x-navbar-wrap{
    /* display: none!important; */
}
.dwh-container .x-btn, .dwh-container .button, .dwh-container [type="submit"] {
    padding: 0.2em 0.4em!important;
}
.dwh-container  h4.vc_tta-panel-title {
    font-size: 100%;
}
.dwh-container .vc_active .vc_tta-title-text{
    border-bottom: 1px solid red;
    padding-bottom: 4px;
}
.dwh-container .vc_tta.vc_tta-shape-rounded .vc_tta-tab>a {
    border-radius: 0px!important;
}
.dwh-container .highcharts-credits{
    display:none!important;
}
.dwh-container #dwh-section-dati-generali .vc_tta-panel-body{
    position:relative;
    height: auto;
    padding: 2px!important;
}
/* parent */
.dwh-container.demografia .dwh-app-right .vc_tta-panel-body,
.dwh-container.demografia #x-content-band-6 .x-column{ /* section movimenti */
    position: relative;
    height: 0;
    padding-bottom: 80%!important;
}
/* child */
.dwh-container.demografia .dwh-app-right .dwh-hc{
    position: absolute!important;
    top: 0;
    left: 0;
    width: 100%!important;
    height: 100%!important;
    padding: 10px 10px 5px 0;
    background-color: white;
}
.dwh-container .dwh-gauges-3 .x-block-grid>li {
    margin: 0!important;
    width: 33%;
}
.dwh-container .dwh-gauges-4 .x-block-grid>li {
    margin: 0!important;
    width: 25%;
}
.dwh-container .dwh-chart-title{
    margin: 0.6em 0;
    font-size: 1.1em!important;
    color: rgb(51,51,51);
}
@media (max-width: 480px){
    .demografia .dwh-gauges .x-block-grid.three-up>li {
        width: 33%;
    }
    .dwh-container .dwh-gauges-4 .x-block-grid>li {
        width: 25%;
    }
}
@media (max-width: 979px){
    .demografia .dwh-gauges .x-block-grid.three-up>li {
        width: 49%;
    }
    .dwh-container .dwh-gauges-4 .x-block-grid>li {
        width: 49%;
    }
}
/* panel-specific w/h contstrain ratio */
.demografia #dwh-section-nazionalita .vc_tta-panel-body{
    padding-bottom: 120%!important;
}
.demografia #dwh-section-movimenti .vc_tta-panel-body{
    padding-bottom: 160%!important;
    background-color: #fff;
}
.demografia #dwh-section-movimenti .dwh-hc {
    position: relative;
}

/*
.dwh-container .dwh-app-panel .x-column.x-1-2{
}
.dwh-container .dwh-app-panel .dwh-app-left{
    width:48%!important;
}
.dwh-container .dwh-app-panel .dwh-app-right{
    width:48%!important;
    max-width:500px!important;
}
*/

.dwh-table-quartieri.x-container {
    width:100%!important;
}
.dwh-table-quartieri .x-content-band {
    margin:0!important;
}
.dwh-table-quartieri .dwh-table-head .x-column {
    text-align: center!important;
    font-weight: 800!important;
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
    background-color: ghostwhite;
    color: darkslategray;
}
.dwh-table-quartieri .x-column {
    margin:0;
    border-bottom: 1px solid #e1e1e1;
    text-align: right;
    font-size: 0.8em;
}
.dwh-table-quartieri .x-column.dwh-ipc,
.dwh-table-quartieri .x-column.dwh-if0,
.dwh-table-quartieri .x-column.dwh-if1,
.dwh-table-quartieri .x-column.dwh-if2,
.dwh-table-quartieri .x-column.dwh-if3{
    border-right: 1px solid #e1e1e1;
}
.dwh-table-quartieri .x-column p {
    margin: 0.3em 0.5em;
}
.dwh-table-quartieri .x-column.dwh-qname {
    width: 9.5em!important;
    border-left: 1px solid #e1e1e1;
}
.dwh-table-quartieri .x-column.dwh-c,
.dwh-table-quartieri .x-column.dwh-cf0,
.dwh-table-quartieri .x-column.dwh-cf1,
.dwh-table-quartieri .x-column.dwh-cf2,
.dwh-table-quartieri .x-column.dwh-cf3 {
    width: 4.5em!important;
}
.dwh-table-quartieri .x-column.dwh-rpc,
.dwh-table-quartieri .x-column.dwh-spc,
.dwh-table-quartieri .x-column.dwh-ipc,
.dwh-table-quartieri .x-column.dwh-if0,
.dwh-table-quartieri .x-column.dwh-if1,
.dwh-table-quartieri .x-column.dwh-if2,
.dwh-table-quartieri .x-column.dwh-if3 {
    width: 6em!important;
}
@media (max-width: 1080px){
    .dwh-table-quartieri .x-column {
        font-size: 0.8em;
    }
}
@media (max-width: 768px){
    .dwh-table-quartieri .x-column {
        font-size: 0.9em;
    }
    .dwh-table-quartieri .x-column.dwh-col-group-1 {
        display:none;
    }
}
.dwh-nomargin p {
    margin:0;
    background-color: ghostwhite;
    padding: 6px;
    color: black;
    font-size: 90%;
}
.dwh-q-filter {
    color: red;
}

/* Spinner */
.spinner {
  display: block;
  width: 80px;
  height: 80px;

  border: 2px solid #f3f3f3;
  border-top:3px solid #f25a41;
  border-radius: 100%;

  position: absolute;
  top: calc(50% - 2.5em);
  left: calc(50% - 2.5em);

  animation: spin 1s infinite linear;
}


.loader-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .5);
  display: table;
  transition: opacity .3s ease;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* End Spinner*/

.dwh-map * {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: -moz-none;
    -o-user-select: none;
    user-select: none;
}

.dwh-aec-table-1 { font-size:0.75rem;margin-bottom:4px;border: 1px solid #d1d1d1; padding: 5px; }
.dwh-aec-table-1 div { float:left; }
.dwh-aec-table-1-col-1 { width:26em; }
.dwh-aec-table-1-col-2 { width:5em; }

div.blueTable {
  border: 1px solid #1C6EA4;
  background-color: #EEEEEE;
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}
.divTable.blueTable .divTableCell, .divTable.blueTable .divTableHead {
  border: 1px solid #AAAAAA;
  padding: 3px 2px;
}
.divTable.blueTable .divTableBody .divTableCell {
  font-size: 0.75rem;
}
.divTable.blueTable .divTableRow:nth-child(even) {
  /* background: #D0E4F5; */
}
.divTable.blueTable .divTableHeading {
  font-size: 0.75rem;
  background: #1C6EA4;
  background: -moz-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: -webkit-linear-gradient(top, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  background: linear-gradient(to bottom, #5592bb 0%, #327cad 66%, #1C6EA4 100%);
  border-bottom: 2px solid #444444;
}
.divTable.blueTable .divTableHeading .divTableHead {
  font-size: 0.75rem;
  /* font-weight: bold; */
  color: #FFFFFF;
  border-left: 2px solid #D0E4F5;
}
.divTable.blueTable .divTableHeading .divTableHead:first-child {
  border-left: none;
}

/* DivTable.com */
.divTable{ display: table; }
.divTableRow { display: table-row; }
.divTableHeading { display: table-header-group;}
.divTableCell, .divTableHead { display: table-cell;}
.divTableCell > span { padding-left: 1em; }
.divTableHeading { display: table-header-group;}
.divTableFoot { display: table-footer-group;}
.divTableBody { display: table-row-group;}
.divTableRow.maincat:hover { background-color: yellow!important; }
.rowhidden { display: none; }
.subcat { background-color: ivory; }
.subcat div.divTableCell:nth-child(1) { padding-left: 15px!important; }

.dwh-evoluzione-resize.x-content-band { width:60%; margin:auto!important; }
