/*

CONTENTS

*/
html, body {
  overflow: hidden;/* per evitare il trascinamento elestico della pagina durante l'evento "wheel" */
}
body {
  background-color: #d9d9d9;/*15*/
}
main {
  position: relative;
  width: 100%;
  height: 50%;
  flex-grow: 2;
}
#map-container {
  /** nascosto all'inizio */
  display: none;
  position: relative;
  overflow: hidden;
  width: calc(100% - var(--mapMarginW) - var(--mapMarginW));
  height: calc(100% - var(--mapMarginH) - var(--mapMarginH));
  margin: var(--mapMarginH) auto;
  border-radius: 10px;
  background-color: #f2f2f2;/*5*/
  box-shadow: 0px 4px 6px 0px rgba(0,0,0,0.2);
  /* unselectable text */
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none; 
}
.ready #map-container {
  display: block;
}
#map-container.scrolling {
  pointer-events: none;
}

#top-bar {
  position: absolute;
  overflow: hidden;
  top: 0px;
  left: var(--sideW);
  width: calc(100% - var(--sideW) - var(--scrollWH));
  height: var(--topH);
}
.touch #top-bar {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-x: scroll;
  overflow-y: hidden; 
}
.touch #top-bar::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}

#side-bar {
  position: absolute;
  overflow: hidden;
  top: var(--topH);
  left: 0px;
  width: var(--sideW);
  height: calc(100% - var(--topH) - var(--scrollWH));
}
.touch #side-bar {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll; 
}
.touch #side-bar::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
#table-main-contents {
  position: absolute;
  overflow: hidden;
  top: var(--topH);
  left: var(--sideW);
  width: calc(100% - var(--sideW) - var(--scrollWH));
  height: calc(100% - var(--topH) - var(--scrollWH));
}
.touch #table-main-contents {
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow: scroll;
}
.touch #table-main-contents::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
.table {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  font-size: 12px;
  line-height: 13px;
}
.table .tr {
  display: flex;
  width: 100%;
  height: 100%
}
.table .th {
  font-weight: 400;
}
.table .th, .table .td {
  display: flex;
  width: 100%;
  height: 100%;
  color: #333;
  padding: 0px;
}
/*

TABLE HEAD (factors/outcomes label)

*/
#table-head {
  position: absolute;
  top: 0px;
  left: 0px;
  width: var(--sideW);
  height: var(--topH);
  z-index: 2;
  background-color: var(--mainColorDark);
}
#table-head .rows,
#table-head .cols {
  position: absolute;
  bottom: 0px;
  font-size: 10px;
  color: #ffffff;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
  padding-top: 6px;
  border-top: solid 1px rgba(0,0,0,.1);
  background-color: #05d2d2;/* turquoise */
  background-color: #9ef2f2;/* turquoise +2 */
  background-color: var(--mainColor);
}
#table-head .rows {
  left: 0px;
  width: 100%;
  height: 20px;
}
#table-head .cols {
  left: var(--sideW);
  width: 110px;
  height: 20px;
  transform-origin: -11px bottom;
  transform: rotate(-45deg);
  padding-right: 10px;
  margin-left: 11px;
  /*background-color: #f2f2f2;/**/
}
#table-head .cols:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: -11px;
  z-index: -1;
  width: 160px;
  height: 26px;
  background-color: #05d2d2;/* turquoise */
  background-color: #9ef2f2;/* turquoise +2 */
  background-color: var(--mainColor);
}
#table-head .table-name {
  display: flex;
  align-items: center;
  position: absolute;
  top: 0px;
  left: 10px;
  height: 83px;
}
#table-head .table-name h1 {
  font-family: 'Overpass';
  font-size: 22px;
  line-height: 22px;
  letter-spacing: -.6px;
  color: #333;
  color:#fff;
  font-weight: 900;
  margin: 0 0 2px;
  /*margin-bottom: 4px;/**/
}
html[lang="es"] #table-head .table-name h1,
html[lang="fr"] #table-head .table-name h1 {
  font-size: 17px;
  line-height: 17px;
}
#table-head .table-name h2 {
  font-size: 10px;
  line-height: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--mainColor);
  color: #05d2d2;
  margin: 0;
}
html[lang="es"] #table-head .table-name h2,
html[lang="fr"] #table-head .table-name h2 {
  font-size: 9px;
  line-height: 11px;
}
/*

SHADOWS

*/
#map-container .top-shadow {
  pointer-events: none;
  position: absolute;
  top: var(--topH);
  left: 0px;
  width: calc(100% - var(--scrollWH));
  height: 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.12) 100%);
  z-index: 2;
}
#map-container .left-shadow {
  pointer-events: none;
  position: absolute;
  top: 0px;
  left: var(--sideW);
  height: calc(100% - var(--scrollWH));
  z-index: 2;
}
#map-container .left-shadow .top-container {
  overflow: hidden;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 150px;
  height: var(--topH);
}
#map-container .left-shadow .bottom {
  position: absolute;
  top: 100px;
  left: 0px;
  width: 10px;
  height: calc(100% - var(--topH));
  background: linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 100%);
}
#map-container .left-shadow .top-container .top {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 10px;
  height: 200px;
  transform-origin: left bottom;
  transform: rotate(45deg);
  background: linear-gradient(90deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 100%);
}
#map-container .right-shadow {
  pointer-events: none;
  position: absolute;
  top: 0px;
  right: var(--scrollWH);
  width: 10px;
  height: calc(100% - var(--scrollWH));
  background: linear-gradient(90deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.12) 100%);
  z-index: 2;
}
#map-container .bottom-shadow {
  pointer-events: none;
  position: absolute;
  bottom: var(--scrollWH);
  left: 0px;
  width: calc(100% - var(--scrollWH));
  height: 10px;
  background: linear-gradient(0deg, rgba(0,0,0,0.12) 0%, rgba(0,0,0,0) 100%);
  z-index: 2;
}
/*

SIDE

*/
#side-bar .table {
  height: 100%;
}
#side-bar .th {
  position: relative;
  cursor: pointer;
  box-sizing: border-box;
  align-items: center;
  border-top: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
}
#side-bar .tr:last-child .th {
  border-bottom: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
}
#side-bar .tr.sep .th {
  cursor: auto;
  font-size: 10px;
  line-height: 13px;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  background-color: rgba(0,0,0,.05);
}
#side-bar .label {
  display: flex;
  align-items: center;
  justify-content: end;
  box-sizing: border-box;
  
  position: absolute;
  /*white-space: nowrap;*/
  overflow: hidden;
  /*text-overflow: ellipsis;*/
  text-align: right;
  width: 100%;
  height: 100%;
  /*max-height: 14px;*/
  padding: 0px 10px;
}
#side-bar .label span {
  position: relative;
}
#side-bar .tr .th.sel {
  color: #000;
  background-color: #fff;
  border-color: rgba(0,0,0,0.3);/*30*/
}
#side-bar .th.row-next-sel {
  border-color: rgba(0,0,0,0.3);/*30*/
}
/*#side-bar .label .words-container {
  position: relative;
}*/
#side-bar .label .words {
  pointer-events: none;
  position: relative;
  min-height: 13px;
  padding-bottom: 2px;
}
#side-bar .label .words span {
  display: inline-block;
}
/*

TOP

*/
#top-bar .cover {
  position: fixed;
  overflow: hidden;
  pointer-events: none;
  width: var(--topH);
  height: var(--topH);
  z-index: 1;
}
#top-bar .cover div {
  pointer-events: visible;
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 200px;
  height: 200px;
  transform-origin: left bottom;
  transform: rotate(-45deg);
  background-color: #f2f2f2;
  background-color: var(--mainColorDark);
}
#top-bar .table-container {
  display: flex;
  height: 100%;
  overflow: hidden;
}
#top-bar .table {
  width: calc(100% - 60px);
}
#top-bar .th {
  position: relative;
}
#top-bar .th:last-child {
  padding-right: 1px;
}
#top-bar .th.sel {
  color: #000;
}
#top-bar .label {
  cursor: pointer;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
  
  position: absolute;
  top: var(--topH);
  left: 0px;
  width: 160px;
  /*height: 34px;*/
  border-top: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
  text-align: left;
  padding-left: 15px;
  transform-origin: left top;
  transform: rotate(-45deg) skewX(45deg);
  
  z-index: 1;
}
#top-bar .sep .label {
  cursor: auto;
  font-size: 10px;
  line-height: 11px;
  letter-spacing: 0.03em;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  background-color: rgba(0,0,0,.05);
}
#top-bar .th:last-child .label {
  border-bottom: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
}
/*#top-bar .label .words-container {
  position: relative;
}*/
#top-bar .label .words {
  pointer-events: none;
  position: relative;
  width: 115px;
  min-height: 13px;/*importante altrimenti salta l'ellipsis */
  padding-bottom: 2px;
}
#top-bar .sep .label .words {
  padding-bottom: 0px;
}
#top-bar .label .words span {
  display: inline-block;
  transform: skewX(-45deg);
}
#top-bar .sep .label .words span {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#top-bar .th.sel .label {
  background-color: #fff;
}
#top-bar .th.sel .label,
#top-bar .th.sel + .th .label{
  border-top-color: rgba(0,0,0,0.3);/*30*/
}
#top-bar .th:last-child.sel .label {
  border-bottom-color: rgba(0,0,0,0.3);/*30*/
}
/*

SIMBOLI MIN E MAX

*/
#side-bar .label .icon-min,
#side-bar .label .icon-max,
#top-bar .label .icon-min,
#top-bar .label .icon-max {
  display: none;
}
.evidence-view #side-bar .label.max .icon-max,
.evidence-view #top-bar .label.max .icon-max,
.gap-view #side-bar .label.min .icon-min,
.gap-view #top-bar .label.min .icon-min {
  display: block;
}
.evidence-view #side-bar .label.max,
.evidence-view #top-bar .label.max,
.gap-view #side-bar .label.min,
.gap-view #top-bar .label.min {
  font-weight: 700;
}
.evidence-view #side-bar .label.max span:first-child,
.evidence-view #top-bar .label.max span:first-child,
.gap-view #side-bar .label.min span:first-child,
.gap-view #top-bar .label.min span:first-child {
  padding-left: 15px;
}
#side-bar .label .icon-min,
#top-bar .label .icon-min {
  position: absolute;
  top: 2px;
  left: 0px;
  width: 11px;
}
#side-bar .label .icon-max,
#top-bar .label .icon-max {
  position: absolute;
  top: 1px;
  left: 0px;
  width: 12px;
}
#top-bar .label .icon-min,
#top-bar .label .icon-max {
  top: 0px;
}
#side-bar .label .icon,
#top-bar .label .icon {
  fill: var(--secondaryColor);
}
/*

BODY

*/
#table-main-contents .table {
  width: calc(100% - 60px);
  height: 100%
}
#table-main-contents .table-container {
  overflow: hidden;
}
#table-main-contents .td {
  position: relative;
  display: block;
  cursor: pointer;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-top: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
  border-left: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
}
#table-main-contents .td.sep {
  cursor: auto;
  background-color: rgba(0,0,0,.05);/**/
}
#table-main-contents .td.sep.vert {
  border-top-color: transparent;
}
#table-main-contents .tr:not(:first-child) .td.sep.cross {
  border-top-color: transparent;
}
#table-main-contents .td.sep.cross:not(:first-child) {
  border-left-color: transparent;
}
#table-main-contents .td.sep.horiz:not(:first-child) {
  border-left-color: transparent;
}
#table-main-contents .tr .td:last-child {
  border-right: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
}
#table-main-contents .tr:last-child .td {
  min-height: 15px;
  border-bottom: solid 1px rgba(0,0,0,0.07);/*0.7+bg(f2)*/
}
#table-main-contents .circle-container {
  pointer-events: none;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  z-index: 1;
}
#table-main-contents .circle {
  position: absolute;
  border-radius: 50%;
  border: solid 1px transparent;
  background-clip: content-box;
  background-color: var(--mainColor-cirlce);
  transition: width 400ms, height 400ms;
}
#table-main-contents .circle.zero {
  border-width: 0px;
}
#table-main-contents .gap-container {
  position: absolute;
  pointer-events: none;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
}
#table-main-contents .gap {
  box-sizing: border-box;
  position: absolute;
  top: -1px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background-color: var(--mainColor);
  transition: opacity 400ms;
}
#table-main-contents .td.sel .circle-container,
#table-main-contents .td.col-sel .circle-container,
#table-main-contents .td.row-sel .circle-container {
  z-index: 2;
}
#table-main-contents .td.sel,
#table-main-contents .td.col-sel,
#table-main-contents .td.row-sel {
  background-color: #fff;
}
#table-main-contents .td.col-sel,
#table-main-contents .td.col-sel + .td,
#table-main-contents .td.sel + .td {
  border-left-color: rgba(0,0,0,0.3);/*30*/
}
#table-main-contents .td:last-child.sel,
#table-main-contents .td.col-sel:last-child,
#table-main-contents .td.row-sel:last-child {
  border-right-color: rgba(0,0,0,0.3);/*30*/
}
#table-main-contents .td.row-sel,
#table-main-contents .td.row-next-sel{
  border-top-color: rgba(0,0,0,0.3);/*30*/
}
#table-main-contents .tr:last-child .td.sel,
#table-main-contents .tr:last-child .td.col-sel,
#table-main-contents .tr:last-child .td.row-sel {
  border-bottom-color: rgba(0,0,0,0.3);/*30*/
}
#table-main-contents .circle.sel {
  border-color: #fff;
  background-color: var(--mainColor-cirlceSel);
}
#table-main-contents .td.max .circle {
  padding: 3px;
  border-width: 2px;
  border-color: var(--secondaryColor);
}
#table-main-contents .td.col-sel .gap {
  left: 1px;
  width: calc(100% - 2px);
}
#table-main-contents .td.row-sel .gap {
  top: 1px;
  height: calc(100% - 2px);
}
#table-main-contents .td .gap.sel {
  top: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
}
#table-main-contents .td.col-sel .gap.sel {
  top: -1px;
  left: 2px;
  width: calc(100% - 4px);
  height: calc(100% + 2px);
}
#table-main-contents .td.row-sel .gap.sel {
  top: 2px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% - 4px);
}
#table-main-contents .tr:first-child .td.col-sel .gap {
  top: 1px;
  height: calc(100% - 1px);
}
#table-main-contents .tr:first-child .td.col-sel .gap.sel {
  top: 2px;
  height: calc(100% - 2px);
}
#table-main-contents .tr:last-child .td.col-sel .gap {
  height: calc(100% - 1px);
}
#table-main-contents .td.row-sel:first-child .gap {
  left: 1px;
  width: calc(100% - 1px);
}
#table-main-contents .td.row-sel:first-child .gap.sel {
  left: 2px;
  width: calc(100% - 2px);
}
#table-main-contents .td.row-sel:last-child .gap {
  width: calc(100% - 1px);
}
/*

TOOLTIP

*/
#tooltip {
  overflow: hidden;
  position: absolute;
  top: -300px;
  left: -300px;
  pointer-events: none;
  white-space: nowrap;
  color: #fff;
  font-size: 14px;
  text-align: left;
  border-radius: 6px;
  box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.05), 0px 10px 15px -2px rgba(0,0,0,0.4);
  background-color: #4d4d4d;
  opacity: 0;
  z-index: 2;
}
#tooltip .caption {
  font-size: 10px;
  line-height: 11px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 6px;
  background-color: var(--secondaryColor);
  opacity: 1;
}
#tooltip .contents {
  display: flex;
  align-items: stretch;
}
#tooltip .sep {
  border-top: solid 1px rgba(255,255,255,0.3);
  height: 6px;
  margin-top: 6px;
}
#tooltip .value {
  display: flex;
  align-items: center;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  padding-right: 10px;
  padding-left: 10px;
  background-color: rgba(0,0,0,.3);
}
#tooltip.reverse .contents{
  flex-direction: row-reverse;
  text-align: right;
}
#tooltip .label {
  width: 100%;
  padding: 8px 10px;
}
#tooltip.simplified .value,
#tooltip.simplified .caption {
  display: none !important;
}
#tooltip.simplified .label {
  font-size: 11px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 6px 8px;
}
/*

CUSTOM SCROLLBAR

*/
#map-container .h-scrollbar-container {
  position: absolute;
  left: 0px;
  bottom: 0px;
  width: calc(100% - var(--scrollWH));
  height: var(--scrollWH);
  z-index: 1;
}
#map-container .h-scrollbar-container .contents {
  position: absolute;
  top: 5px;
  left: 5px;
  height: 11px;
  width: calc(100% - 5px);
}
#map-container .h-scrollbar-container .bg {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 11px;
  width: 100%;
  border-radius: 6px;
  background-color: rgba(0,0,0,0.05);/**/
}
#map-container .h-scrollbar-container .scrollbar {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 11px;
  border-radius: 6px;
  background-color: #727272;/*65*/
}

#map-container .v-scrollbar-container {
  position: absolute;
  top: 0px;
  right: 0px;
  width: var(--scrollWH);
  height: calc(100% - var(--scrollWH));
  z-index: 1;
}
#map-container .v-scrollbar-container .contents {
  position: absolute;
  top: 5px;
  left: 5px;
  height: calc(100% - 5px);
  width: 11px;
}
#map-container .v-scrollbar-container .bg {
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 11px;
  border-radius: 6px;
  background-color: rgba(0,0,0,0.05);/**/
}
#map-container .v-scrollbar-container .scrollbar {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 11px;
  border-radius: 6px;
  background-color: #727272;/*65*/
}
/*

FILTERS

*/
#tools-container {
  display: flex;
  opacity: 0;/** nascosto all'inizio */
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  height: 0px;/** nascosto all'inizio */
  margin: 0px auto;
  padding: 0px;
  background: var(--mainColorDark);/**/
}
.ready #tools-container {
  height: auto;/*50px;*/
  padding: 10px 5px;
  opacity: 1;
}
#filters {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 50%;
}
#display-tools {
  display: flex;
  align-items: center;
  width: 50%;
}
#display-results {
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  width: 50%;
  max-width: 400px;
}
#display-results .contents {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0px 5px;
  color: rgba(255,255,255,.8);
  height: 35px;
  border-radius: 3px;
  transition: color 300ms;
}
#display-results .contents:hover{
  color: rgba(255,255,255,1);
}
#display-results .contents:focus-visible {
  box-shadow: 0px 0px 0px 2px var(--mainColorDark), 0px 0px 0px 4px rgba(255,255,255,0.9);/**/
}
#display-results strong {
  font-family: 'Overpass';
  letter-spacing: -1.5px;
  /*font-weight: 900;/**/
  font-size: 45px;
  padding: 12px 5px 4px;
}
#tools-container .filter { 
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  
  cursor: pointer;
  display: inline-block;
  color: #fff;
  font-size: 13px;
  line-height: 16px;
  margin: 0px 5px;
  border-radius: 20px;
  white-space: nowrap;
  transition: background-color 300ms;
}
#tools-container .filter:focus-visible {
  box-shadow: 0px 0px 0px 2px var(--mainColor), 0px 0px 0px 4px rgba(0,0,0,0.5);/**/
  box-shadow: 0px 0px 0px 2px var(--mainColorDark), 0px 0px 0px 4px rgba(255,255,255,0.9);/**/
}
#tools-container .button {
  padding: 4.5px 10px;
  border: solid 1px var(--mainColorDark-70);
}
#tools-container .button:hover {
  background-color: rgba(255,255,255,.15);
}
#tools-container .switcher {
  position: relative;
  display: flex;
  z-index: 0;
}
#tools-container .switcher:hover {
  background-color: rgba(255,255,255,.15);
}
#tools-container .switcher:after {
  content: '';
  display: block;
  position: absolute;
  box-sizing: border-box;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  border-radius: 20px;
  border: solid 1px var(--mainColorDark-10);/**/
  transition: all 300ms;
}
#tools-container .switcher:hover:after {
  border-color: #fff;
}
#tools-container .switcher span {
  position: relative;
  overflow: hidden;
  padding: 5.5px 11px;
  transition: all 300ms;
}
#tools-container .switcher span:after {
  content: '';
  display: block;
  position: absolute;
  top: 0px;
  left: 0px;
  height: 100%;
  width: 100%;
  background-color: var(--mainColorDark-10);
  transition: all 300ms;
  z-index: -1;
}
#tools-container .switcher:hover span:after {
  background-color: #fff;
}
#tools-container .switcher span:first-child {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
#tools-container .switcher span:first-child:after {
  transform: translate3d(100%,0,0);
}
#tools-container .switcher span + span {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
#tools-container .switcher span + span:after {
  transform: translate3d(-100%,0,0);
}
#tools-container .switcher span:first-child.selected:after {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
}
#tools-container .switcher span + span.selected:after {
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
}
#tools-container .switcher span.selected {
  color: var(--mainColorDark);
  font-weight: 600;
}
#tools-container .switcher span.selected:after {
  transform: translate3d(0,0,0);
}
#tools-container .custom-select {
  position: relative;
  height: 27px;
}
#tools-container .custom-select .close-area {
  position: fixed;
  display: none;
  cursor: auto;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: -1;
}
#tools-container .custom-select .list-container {
  position: absolute;
  overflow: hidden;
  top: 0px;
  left: 0px;
  height: 25px;
  border: solid 1px var(--mainColorDark-70);
  border-radius: 14px;
  background-color: var(--mainColorDark);
  transition: left 300ms, background-color 300ms, border-radius 300ms, border-color 300ms, box-shadow 300ms;
}
#tools-container .custom-select.highlight .list-container {
  border-color: var(--mainColor-10);
  background-color: var(--mainColor-10);
}
#tools-container .custom-select ul {
  cursor: pointer;
  list-style-type: none;
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 5px);
  margin: 0px;
  padding: 0px;
  transition: left 300ms;
}
#tools-container .custom-select li {
  pointer-events: none;
  margin: 0px;
  padding: 0px;
  transition: all 300ms;
}
#tools-container .custom-select:hover .list-container {
  border-color: var(--mainColorDark-70);
  background-color: rgba(255,255,255,.15);
}
#tools-container .custom-select.highlight:hover .list-container {
  border-color: #fff;
  background-color: #fff;
}
#tools-container .custom-select .label {
  position: relative;
  display: inline-block;
  color: #fff;
  font-weight: 400;
  height: 17px;
  padding: 9px 11px 9px 16px;
  transition: color 300ms
}
#tools-container .custom-select .label:before {
  content:'';
  display: block;
  position: absolute;
  opacity: 0;
  top: 12px;
  left: 6px;
  border: solid var(--mainColor);
  border-width: 0 2px 2px 0;
  padding: 3.5px 1.5px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  transition: opacity 300ms;
}
#tools-container .custom-select.open .selected .label:before {
  opacity: 1;
}
#tools-container .custom-select.highlight .label {
  color: var(--mainColorDark);
  font-weight: 600;
}
/* la freccina rivolta verso il basso in basso */
#tools-container .custom-select .label:after {
  content: '';
  display: block;
  position: absolute;
  opacity: 0;
  top: 16px;
  right: 0px;
  width: 0; 
  height: 0; 
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid #fff;
  transition: all 300ms;
}
#tools-container .custom-select .selected .label:after {
  opacity: 1;
}
#tools-container .custom-select.highlight .label:after {
  border-top-color: var(--mainColorDark);
}
#tools-container .custom-select.open .label:after {
  opacity: 0;
}
/**/
/* open */
#tools-container .custom-select.open .close-area {
  display: block;
}
#tools-container .custom-select.open .list-container {
  left: -5px;
  border-radius: 5px;
  border-color: #fff !important;
  background-color: #fff !important;
  box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.05), 0px 10px 15px -2px rgba(0,0,0,0.4);
  box-shadow: 0px 0px 0px 1px rgba(0,0,0,0.05), 0px 10px 20px -8px rgba(0,0,0,0.3);
}
#tools-container .custom-select.open ul {
  left: 0px;
}
#tools-container .custom-select.open li {
  pointer-events: auto;
}
#tools-container .custom-select.open li.selected {
  background-color: var(--mainColorDark-5);
}
#tools-container .custom-select.open li:hover,
#tools-container .custom-select.open li:focus-visible {
  background-color: rgba(0,0,0,.08);
}
#tools-container .custom-select.open li.selected:hover,
#tools-container .custom-select.open li.selected:focus-visible {
  background-color: var(--mainColorDark-10);
}
#tools-container .custom-select.open .label {
  color: #333;
  font-weight: 600;
}
#tools-container .custom-select.open .selected .label {
  color: var(--mainColor);
}
/*

LOADING

*/
#loading {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  font-size: 18px;
  z-index: 10000;
}
#loading .contents {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.2);
}
#loading .icon-container {
  position: absolute;
  top: calc(50% - 25px);
  left: calc(50% - 25px);
}
#loading .icon-container .icon {
  width: 50px;
  height: 50px;
  background-image: url("../images/loading.svg");
  background-size: contain;
  animation: spinner 1.2s linear infinite;
}
@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}
/*

FOOTER

*/
footer {
  /* nascosto all'inizio */
  opacity: 0;
}
.fullscreen footer {
  display: none;
}
.ready footer {
  opacity: 1;
}
/*

GUIDED TOUR

*/
#guided-tour {
  display: none;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: rgba(0,0,0,0.25);/**/
  z-index: 20;
}
#guided-tour #pulsar {
  position: absolute;
  width: 0;
  height: 0;
}
#guided-tour #pulsar .core {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-top: -9px;
  margin-left: -9px;
  border-radius: 20px;
  border: solid 2px #fff;
  background-color: var(--secondaryColor);
}
#guided-tour #pulsar .halo {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: 12px;
  height: 12px;
  border-radius: 20px;
  border: solid 2px var(--secondaryColor);
  animation: pulse 1s ease-out infinite;
  z-index: -1;
}
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
#guided-tour-modal {
  cursor: grab;
  user-select: none;
  position: absolute;
  width: calc(100% - 30px);
  max-width: 520px;
  background-color: #fff;
  border-radius: 6px;
  border: solid 1px var(--mainColor);/**/
  box-shadow: 0 50px 100px -20px rgba(0,0,0,0.25),0 30px 60px -30px rgba(0,0,0,0.3);
}
#guided-tour-modal.dragging {
  cursor: grabbing;
}
#guided-tour-modal .contents {
  padding: 20px;
}
#guided-tour-modal .steps-container {
  position: relative;
  overflow: hidden;
}
#guided-tour-modal .step {
  position: absolute;
  top: 60px;
  left: 0px;
  display: none;
  opacity: 0;
}
#guided-tour-modal h3 {
  font-size: 20px;
  line-height: 26px;
  color: var(--mainColor);
  margin-top: 0;
  margin-bottom: 15px;
}
#guided-tour-modal p {
  font-size: 15px;
  line-height: 20px;
  margin: 0;
}
#guided-tour-modal p + p {
  margin-top: 20px;
}
#guided-tour-modal a {
  color: var(--mainColor);
}
#guided-tour-modal a:hover,
#guided-tour-modal a:focus-visible {
  text-decoration: underline;
}
#guided-tour-modal ul {
  margin: 20px 0 0;
  padding: 0;
  list-style-type: none;
}
#guided-tour-modal li {
  position: relative;
  margin: 0;
  padding: 0px 0px 0px 14px;
}
#guided-tour-modal li + li {
  margin-top: 10px;
}
#guided-tour-modal li:before {
  content: '';
  display: block;
  position: absolute;
  top: 10px;
  left: 0px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--mainColor);
}
#guided-tour-modal .counter {
  display: flex;
  justify-content: center;
  padding-top: 20px;
}
#guided-tour-modal .counter .item {
  width: 4px;
  height: 4px;
  margin: 0 2px;
  border-radius: 10px;
  background-color: rgba(0,0,0,0.2);
  transition: All 400ms;
}
#guided-tour-modal .counter .item.sel {
  width: 12px;
  background-color: var(--mainColor);
}
#guided-tour-modal .nav {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
}
#guided-tour-modal .nav .left {
  display: flex;
}
#guided-tour-modal .nav .right {
  display: flex;
  justify-content: flex-end;
}
#guided-tour-modal .btn {
  user-select: none;
  cursor: pointer;
  display: block;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #676767;
  text-decoration: none;
  padding: 4px 10px;
  border: solid 1px transparent;
  border-radius: 20px;
  background-color: #fff;
  transition: All 300ms;
}
#guided-tour-modal .btn + .btn {
  margin-left: 10px;
}
#guided-tour-modal .btn:hover {
  color: #333;
  text-decoration: none;
  background-color: rgba(0,0,0,0.1);
  transition-duration: 0ms;
}
#guided-tour-modal .btn:focus-visible {
  text-decoration: none;
  box-shadow: 0px 0px 0px 2px #fff, 0px 0px 0px 4px var(--mainColor);
}
#guided-tour-modal .btn.prev {
  color: #666;
  border-color: #666;
}
#guided-tour-modal .btn.prev.disabled {
  pointer-events: none;
  opacity: 0.5;
}
#guided-tour-modal .btn.prev:hover {
  color: #fff;
  background-color: #666;
}
#guided-tour-modal .btn.next {
  color: #fff;
  background-color: var(--mainColor);
}
#guided-tour-modal .btn.next:hover{
  background-color: var(--mainColorHover);
  transition-duration: 0ms;
}
#guided-tour-modal .btn .label-container {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  
}
#guided-tour-modal .btn .label-container .label {
  display: inline-block;
  height: 17px;
}
/*

MEDIA QUERY

*/
/* CONTENTS */
@media screen and (max-width:1280px) {
  :root {
    --sideW: 160px;
  }
  #tools-container .custom-select {
    max-width: 180px;
    overflow: hidden;
  }
  #tools-container .custom-select.open {
    /*max-width: none;*/
    overflow: visible;
  }
  #tools-container .custom-select li {
    height: 35px;
  }
  #tools-container .custom-select .label {
    max-width: 150px;
    overflow: hidden;
    text-wrap: nowrap;
    text-overflow: ellipsis;
  }
  #tools-container .custom-select.open .label {
    max-width: none;
    overflow: visible;
  }
  #tools-container .custom-select .list-container {
    max-width: 178px;
  }
  #tools-container .custom-select.open .list-container {
    max-width: none;
  }
  #display-results .contents span {
    display: none;
  }
}
@media screen and (max-width:768px) {
  :root {
    --sideW: 140px;
  }
  /*.ready #tools-container {
    height: 90px;
  }*/
  html[lang="es"] #table-head .table-name h1,
  html[lang="fr"] #table-head .table-name h1 {
    font-size: 15px;
    line-height: 15px;
  }
  #filters {
    align-items: flex-start;
    flex-direction: column;
  }
  #display-results .contents {
    flex-direction: column;
  }
  #display-results .contents span {
    display: inline;
  }
  #display-results strong {
    padding: 10px 5px 0px;
  }
  #display-tools {
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 240px;
  }
  #display-tools.no-fullscreen {
    align-items: flex-end;
    flex-direction: column;
    min-width: auto;
  }
  #tools-container .filter + .filter {
    margin-top: 10px;
  }
  #table-head .table-name h1 {
    font-size: 20px;
  }
}