html,
body {
  margin: 0;
  padding: 0;
  /* font-family: 'Forum', cursive; */
  font-variant: small-caps;
  /* font-family: "Fondamento", cursive !important; */
  font-family: "Lato", sans-serif !important;
  /* overflow-x: hidden; */
  background-color: #5f9ea0 !important;
  height: 100%;
}
#map {
  position: fixed;
  top: 56;
  left: 20vw;
  bottom: 0;
  right: 0;
}
#info {
  position: fixed;
  /* min-width: 450px; */
  top: 57;
  left: 0;
  bottom: 0;
  width: 20vw;
  min-width: 300px;
  height: 95%;
  border: 1px;
  border-color: #5f9ea0;
  z-index: 100;
  padding: 0.5em;
  padding-top: 0;
  overflow-y: auto;
  overflow-x: hidden;
  color: rgba(255, 255, 255, 0.7);
  background: #343a40 !important;
  fill: rgba(255, 255, 255, 0.7);
}
#info2 {
  position: fixed;
  /* min-width: 450px; */
  top: 57;
  right: 0;
  bottom: 0;
  width: 20vw;
  height: 95%;
  border: 1px;
  border-color: aquamarine;
  padding: 0.5em;
  overflow-y: auto;
  color: rgba(255, 255, 255, 0.7);
  background: #343a40 !important;
}
#info3 {
  position: fixed;
  color: cadetblue;
  text-shadow: 2px 2px 5px rgba(252, 252, 252, 0.884);
  background: #c7c7c725 !important;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  font-family: "Cinzel", serif;
  position: absolute;
  top: 102px;
  right: 13.5%;
  /* padding-left: 15px;
  padding-right: 15px;
  border-radius: 30px; */
}
#name-legend3 {
  padding-top: 2em;
  height: 170px;
}
.legend {
  line-height: 14px;
  width: 100%;
  /* color: #333333; */
  padding: 6px 8px;
  color: rgba(218, 218, 218, 0.87);
  background-color: rgba(0, 0, 0, 0.6);
  /* box-shadow: 0 0 15px rgba(0,0,0,0.7); */
  border-radius: 5px;
  /* font-family: "Cinzel", serif; */
  font-family: "Lato", sans-serif !important;
  font-variant: small-caps;
}
.legend b {
  font-size: 15px;
}

.navbar-brand img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}
.legend i,
img {
  /* width: 15px;
  height: 15px; */
  float: left;
  margin-right: 8px;
}
.legend p {
  font-size: 13px;
  /* line-height: 18px; */
  margin: 5px;
}

.prev,
.play,
.pause,
.next {
  background-color: rgba(156, 17, 17, 0);
  border: none;
}
.time-text {
  color: rgb(156, 17, 17);
  font-family: "Cinzel", serif;
  font-size: 17px;
  font-weight: bold;
}
.time-slider {
  padding-top: 5px;
  color: rgb(156, 17, 17);
  cursor: e-resize;
}

.leaflet-bottom.leaflet-left {
  width: 100%;
}
/* .leaflet-control-container .leaflet-timeline-controls{
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  margin-bottom: 15px;
  background-color:rgba(255, 0, 0, 0.1) !important;

} */
.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: 0.5px solid rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
}
.leaflet-tooltip.major-label {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 13px;
  /* font-family: 'Forum', cursive; */
  /* font-family: 'Cinzel', serif;*/
  font-variant: small-caps;
  /* font-family: "Fondamento", cursive; */
  font-family: "Lato", sans-serif !important;
  text-shadow: 2px 2px rgba(194, 194, 194, 0.3);
  color: rgb(124, 11, 11);
}
.leaflet-tooltip.region-label {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: lighter;
  font-size: 16px;
  font-variant: small-caps;

  /* font-family: "Cinzel", serif; */
  /* font-family: "Lato", sans-serif !important; */
  font-family: "Fondamento", cursive;
  /* text-shadow: 2px 2px rgba(194, 194, 194, 0.3); */
  color: rgb(141, 110, 69);
}

.leaflet-tooltip.nation-label {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 20px;

  font-family: "Cinzel", serif;
  /* font-family: "Lato", sans-serif !important; */
  /* font-family: "Fondamento", cursive; */
  text-shadow: 2px 2px rgba(194, 194, 194, 0.3);
  color: rgb(145, 92, 43);
}
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
  position: absolute;
  pointer-events: none;
  border: 0px solid transparent;
  background: transparent;
  content: "";
}
.leaflet-tooltip.origin-label {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 12px;
  font-family: "Forum", cursive;
  /* font-family: 'Cinzel', serif; */
  font-variant: small-caps;
  /* text-shadow: 2px 2px rgba(194, 194, 194, 0.3); */
  color: rgb(69, 33, 117);
}
.leaflet-tooltip.destination-label {
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 12px;
  font-family: "Forum", cursive;
  /* font-family: 'Cinzel', serif; */
  font-variant: small-caps;
  /* text-shadow: 2px 2px rgba(194, 194, 194, 0.3); */
  color: rgb(119, 118, 218);
}
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  /* background: rgba(255, 255, 255, 0);
  font-family: "Forum", cursive;
  font-size: 18px;
  font-weight: normal;
  color: rgb(161, 10, 10);
  border-radius: 0;
  box-shadow: none; */
  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 20px;
  font-family: "Cinzel", serif;
  text-shadow: 2px 2px rgba(194, 194, 194, 0.3);
  color: rgb(145, 92, 43);
}
.leaflet-popup-close-button {
  display: none;
}

.leaflet-popup-tip {
  width: 0px;
  height: 0px;
}
.leaflet-marker-icon,
.leaflet-marker-shadow {
  -webkit-animation: fadein 3s; /* Safari, Chrome and Opera > 12.1 */
  -moz-animation: fadein 3s; /* Firefox < 16 */
  -ms-animation: fadein 3s; /* Internet Explorer */
  -o-animation: fadein 3s; /* Opera < 12.1 */
  animation: fadein 3s;
}

@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.7) !important;
}
a {
  color: cadetblue !important;
  /* font-size: 14!important; */
}
#displayed-list2 p {
  font-size: 12;
}
.leaflet-bar a {
  color: black !important;
}

.basebar {
  position: fixed;
  left: 21%;
  right: 13%;
  max-height: 20%;
  bottom: 0;
  /* cursor: pointer; */
  z-index: 1000;
  color: rgba(218, 218, 218, 0.87);
  /* background-color: rgba(0, 0, 0, 0.7); */
  background-color: #343a40 !important;
  border-radius: 5px;
  /* text-shadow: 0 0 1px rgba(197, 197, 197, 0.95); */
  border-color: rgba(0, 0, 0, 0);
  overflow-y: auto;
}
/* .downBar {
  position: fixed;
  left: 91%;
  right: 1%;
  height: 20%;
  max-height: 20%;
  bottom: 0;
  cursor: pointer;
  z-index: 1000;
  color: rgba(218, 218, 218, 0.87);
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 5px;
  border-color: rgba(0, 0, 0, 0);
} */
@media (min-width: 0px) and (max-width: 992px) {
  .rightbar {
    opacity: 0;
  }
  .basebar {
    position: fixed;
    left: 1%;
    right: 1%;
    max-height: 20%;
    bottom: 0;
    cursor: pointer;
    z-index: 1000;
    color: rgba(218, 218, 218, 0.87);
    /* background-color: rgba(0, 0, 0, 0.7); */
    background-color: #343a40 !important;
    border-radius: 5px;
    /* text-shadow: 0 0 1px rgba(197, 197, 197, 0.95); */
    border-color: rgba(0, 0, 0, 0);
    overflow-y: auto;
  }
  #map {
    position: fixed;
    top: 56;
    left: 0;
    bottom: 0;
    right: 0;
  }
}

@media (min-width: 993px) and (max-width: 3000px) {
  #map {
    position: fixed;
    top: 56;
    left: 20vw;
    bottom: 0;
    right: 0;
  }
}
div.fullsize {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.clickable {
  cursor: pointer;
  margin-top: -20px;
  font-size: 15px;
}
.no-margin {
  margin: auto;
}
table {
  color: inherit;
  overflow-y: scroll;
  width: 100%;
}
.extra-bottom {
  padding-bottom: 15px;
}

#chart-count {
  position: fixed;
  top: 60;
  width: 280px;
  left: 50%;
  margin-left: -150px;
  z-index: 3000;
  color: rgba(218, 218, 218, 0.87);
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  text-align: center;
}

#cadetto {
  font-variant: small-caps;
  color: cadetblue;
  font-weight: normal;
}
#logglob {
  padding: 0px 15px 15px 15px;
  width: 100%;
}
#rightbar {
  padding-left: 5px;
  width: 100%;
  overflow: auto;
}
#rightbar2 {
  padding-left: 5px;
  width: 100%;
  overflow: auto;
}
#rightbar3 {
  padding-left: 5px;
  width: 100%;
  overflow: auto;
}
#download-type {
  bottom: 0px;
}
.rightbar {
  position: absolute;
  left: auto;
  right: 0px;
  /* height: 20%; */
  top: 56px;
  bottom: 0px;

  width: 12%;
  height: auto;
  border: 1px;
  /* border-radius: 5px; */
  overflow-y: auto;
  overflow-x: hidden;
  color: rgba(218, 218, 218, 0.87);
  background-color: rgba(0, 0, 0, 0.6);
}

.dc-select-menu {
  background-color: rgba(245, 245, 245, 0);
  border: 0;
  width: 100% !important;
  overflow: auto;
  color: rgba(255, 255, 255, 0.7);
}
.myCSSClass {
  /* background: rgba(0, 128, 0, 0);
  border: 0;
  box-shadow: none;
  font-variant: small-caps;
  font-family: "Lato", sans-serif !important;
  font-size: 13;
  color: rgb(95, 50, 8);
  font-weight: bolder; */

  background-color: transparent;
  border: transparent;
  box-shadow: none;
  font-weight: bold;
  font-size: 13px;
  /* font-family: 'Forum', cursive; */
  /* font-family: 'Cinzel', serif;*/
  font-variant: small-caps;
  /* font-family: "Fondamento", cursive; */
  font-family: "Lato", sans-serif !important;
  text-shadow: 2px 2px rgba(194, 194, 194, 0.3);
  color: rgb(124, 11, 11);
}
.dc-chart .grid-line,
.dc-chart .axis .grid-line,
.dc-chart .grid-line line,
.dc-chart .axis .grid-line line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7) !important;
  shape-rendering: geometricPrecision !important;
  stroke-width: 1 !important;
}
.dc-chart .axis path,
.dc-chart .axis line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.7) !important;
  shape-rendering: geometricPrecision !important;
}

.dc-table-column {
  padding: 4px;
  max-width: 90px;
}
.leaflet-control-layers-toggle {
  width: 28px;
  height: 28px;
  background-image: url("../assets/arrow.png");
}
.leaflet-control-layers-expanded {
  padding: 3px 9px 2px 6px;
}
.btn-dwn {
  color: rgb(95, 158, 160);
  background-color: rgb(245, 245, 245, 0);
  border-color: rgb(245, 245, 245, 0.3);
}
#tipologiaChart .axis.x .tick text {
  text-anchor: end;
  transform: rotate(-60deg) translate(-10px, -12px);
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  background-color: #495057 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}
.nav-tabs {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}
/*Scrollbar*/
/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #dad8d8;
  border-radius: 40px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 40px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

thead tr:nth-child(1) th {
  background: #343a40 !important;
  color: cadetblue;
  position: sticky;
  top: 0;
  z-index: 10;
  text-align: inherit;
  border-bottom: 1px solid #888;
  padding-bottom: 8px;
  font-variant: small-caps;
  font-weight: normal;
}

/* DC RESIZE */
div.fullsize {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}
/* DC RESIZE END*/
.dc-html-legend-container {
  padding-top: 20px;
}
.dc-html-legend-container2 {
  padding-top: 20px;
}
svg {
  display: block;
  margin: 0 auto;
}
.dc-legend .dc-legend-item {
  display: flex;
  margin-left: 0;
  margin-right: auto;
}
#misuraChart .axis.x .tick text {
  text-anchor: end;
  transform: rotate(-60deg) translate(-10px, -12px);
}
#MIT {
  position: sticky;
  z-index: 100;
  top: 0px; /* adjust sentinel height/positioning based on this position. */
  background-color: #343a40;
  margin-bottom: 1em;
  padding-top: 1em;
}
/* SEARCH */
/* 
 * Leaflet Control Search v2.7.0 - 2016-09-13 
 * 
 * Copyright 2016 Stefano Cudini 
 * stefano.cudini@gmail.com 
 * http://labs.easyblog.it/ 
 * 
 * Licensed under the MIT license. 
 * 
 * Demo: 
 * http://labs.easyblog.it/maps/leaflet-search/ 
 * 
 * Source: 
 * git@github.com:stefanocudini/leaflet-search.git 
 * 
 */
.leaflet-container .leaflet-control-search {
  position: relative;
  float: left;
  background: #fff;
  color: #aecf19 !important;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.65);
  margin-left: 10px;
  margin-top: 10px;
}
.leaflet-control-search.search-exp {
  box-shadow: 0 1px 7px #999;
  background: #fff;
}
.leaflet-control-search .search-input {
  display: block;
  float: left;
  background: #fff;
  border: 1px solid #666;
  border-radius: 2px;
  height: 18px;
  padding: 0 18px 0 2px;
  margin: 3px 0 3px 3px;
}
.leaflet-control-search.search-load .search-input {
  background: url(../assets/img/loader.gif) no-repeat center right #fff;
}
.leaflet-control-search.search-load .search-cancel {
  visibility: hidden;
}
.leaflet-control-search .search-cancel {
  display: block;
  width: 22px;
  height: 18px;
  position: absolute;
  right: 22px;
  margin: 3px 0;
  background: url(../assets/img/search-icon.png) no-repeat 0 -46px;
  text-decoration: none;
  filter: alpha(opacity=80);
  opacity: 0.8;
}
.leaflet-control-search .search-cancel:hover {
  filter: alpha(opacity=100);
  opacity: 1;
}
.leaflet-control-search .search-cancel span {
  display: none;
  font-size: 18px;
  line-height: 20px;
  color: #ccc;
  font-weight: 700;
}
.leaflet-control-search .search-cancel:hover span {
  color: #aaa;
}
.leaflet-control-search .search-button {
  display: block;
  float: left;
  width: 30px;
  height: 30px;
  background: url(../assets/img/search-icon.png) no-repeat 5px 5px #fff;
  border-radius: 2px;
}
.leaflet-control-search .search-button:hover {
  background: url(../assets/img/search-icon.png) no-repeat 5px 5px #fafafa;
}
.leaflet-control-search .search-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  float: left;
  list-style: none;
  padding-left: 0;
  min-width: 120px;
  max-height: 122px;
  box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.4);
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 1010;
  overflow-y: auto;
  overflow-x: hidden;
  cursor: pointer;
}
.leaflet-control-search .search-tip {
  margin: 2px;
  padding: 2px 4px;
  display: block;
  color: #000;
  background: #eee;
  border-radius: 0.25em;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: center;
}
.leaflet-control-search .search-button:hover {
  background-color: #f4f4f4;
}
.leaflet-control-search .search-tip-select,
.leaflet-control-search .search-tip:hover {
  background-color: #fff;
}
.leaflet-control-search .search-alert {
  cursor: pointer;
  clear: both;
  font-size: 0.75em;
  margin-bottom: 5px;
  padding: 0 0.25em;
  color: #e00;
  font-weight: 700;
  border-radius: 0.25em;
}

.searchbutton {
  color: rebeccapurple;
}
/* PACE */
.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;

  -webkit-perspective: 40rem;
  -moz-perspective: 40rem;
  -ms-perspective: 40rem;
  -o-perspective: 40rem;
  perspective: 40rem;

  z-index: 2000;
  position: fixed;
  height: 20rem;
  width: 20rem;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.pace.pace-inactive .pace-progress {
  display: none;
}

.pace .pace-progress {
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  height: 20rem;
  width: 20rem !important;
  line-height: 20rem;
  font-size: 7rem;
  border-radius: 50%;
  background: rgba(95, 158, 160, 0.8);
  color: #fff;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 100;
  text-align: center;

  -webkit-animation: pace-theme-center-circle-spin linear infinite 2s;
  -moz-animation: pace-theme-center-circle-spin linear infinite 2s;
  -ms-animation: pace-theme-center-circle-spin linear infinite 2s;
  -o-animation: pace-theme-center-circle-spin linear infinite 2s;
  animation: pace-theme-center-circle-spin linear infinite 2s;

  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.pace .pace-progress:after {
  content: attr(data-progress-text);
  display: block;
}

@-webkit-keyframes pace-theme-center-circle-spin {
  from {
    -webkit-transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(360deg);
  }
}

@-moz-keyframes pace-theme-center-circle-spin {
  from {
    -moz-transform: rotateY(0deg);
  }
  to {
    -moz-transform: rotateY(360deg);
  }
}

@-ms-keyframes pace-theme-center-circle-spin {
  from {
    -ms-transform: rotateY(0deg);
  }
  to {
    -ms-transform: rotateY(360deg);
  }
}

@-o-keyframes pace-theme-center-circle-spin {
  from {
    -o-transform: rotateY(0deg);
  }
  to {
    -o-transform: rotateY(360deg);
  }
}

@keyframes pace-theme-center-circle-spin {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}

#_1300 {
  cursor: pointer;
  height: 75px;
  width: 75px;
  font-weight: bold;
  font-size: 20px;
  font-family: "Cinzel", serif;
  position: absolute;
  top: 70px;
  right: 16.5%;
  color: rgb(163, 163, 163);
  padding: 5px;
  text-align: center;
  border-radius: 3px 3px 0 0;
}
#_1300:hover {
  color: cadetblue;
}

#_1300.active {
  color: cadetblue;
  text-shadow: 2px 2px 5px rgba(252, 252, 252, 0.884);
}
#_1450 {
  cursor: pointer;
  height: 75px;
  width: 75px;
  font-weight: bold;
  font-size: 20px;
  font-family: "Cinzel", serif;
  position: absolute;
  top: 70px;
  right: 13%;
  color: rgb(163, 163, 163);
  padding: 5px;
  text-align: center;
  border-radius: 3px 3px 0 0;
}
#_1450:hover {
  color: cadetblue;
}

#_1450.active {
  color: cadetblue;
  text-shadow: 2px 2px 5px rgba(252, 252, 252, 0.884);
}
#_1200 {
  cursor: pointer;
  height: 75px;
  width: 75px;
  font-weight: bold;
  font-size: 20px;
  font-family: "Cinzel", serif;
  position: absolute;
  top: 70px;
  right: 20%;
  color: rgb(163, 163, 163);

  background-color: rgba(243, 243, 243, 0);
  padding: 5px;
  text-align: center;
  border-radius: 3px 3px 0 0;
}
#_1200:hover {
  color: cadetblue;
}

#_1200.active {
  color: cadetblue;
  text-shadow: 2px 2px 5px rgba(252, 252, 252, 0.884);
}
