:root {
  --font-family: "Lato", sans-serif;
  --research-blue: #0c2c41;
  --border-radius: 7px;
  --box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  overflow: hidden;
}
button:focus {
  outline: none;
}

#map {
  width: 100%;
  height: calc(100vh - 67px);
  margin-top: 0px;
}

a,
a:hover {
  color: var(--research-blue);
}

.left-sidebar {
  display: flex;
  position: absolute;
  top: 75px;
  left: 61px;
  width: 450px;
  height: 80%;
  border-radius: var(--border-radius);
  background: #fff0;
  color: var(--research-blue);
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: flex-start;
  overflow-y: scroll;
  z-index: 5000;
  padding-inline: 14px;
  /* box-shadow: var(--box-shadow); */
}

.left-sidebar-container {
  display: none;
}

.navbar {
  height: 66px;
  background-color: var(--research-blue);
  color: #fff;
}

#logo-img {
  height: 50px;
  padding-right: 5px;
  border-radius: 10%;
}
#site-title {
  position: relative;
  top: 20px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}
#site-description {
  padding-left: 1px;
  color: #fff;
  font-size: 15px;
}

.pr-0 {
  width: 220px;
}

.layer-title {
  width: 60%;
  margin-top: 2px;
  margin-bottom: 3px;
  color: var(--research-blue);
  font-size: 16px;
  font-weight: bold;
  line-height: 20px;
}
.img-fluid {
  max-width: 100%;
  height: 65px;
  border-radius: var(--border-radius);
}

.text-right,
.text-center {
  display: flex !important;
  align-items: center !important;
}
.description {
  width: 97%;
  max-height: 50px;
  padding: 6px;
  font-size: 13px;
  overflow-y: scroll;
}

.text-center {
  margin-left: 6px;
  font-size: 14px;
}

.justify-content-center {
  margin-top: 2px;
  margin-left: -35px;
}

.probabilities-tab {
  margin-top: 10px;
  margin-bottom: -15px;
  margin-left: 20px;
  font-size: 14px;
  font-weight: bold;
}

.probability-tab-cb {
  margin-left: 10px;
}

.chart-open-btn {
  visibility: hidden;
  margin-left: 14px;
  padding: 3px;
  border-radius: var(--border-radius);
  font-size: 17px;
}

.chart-open-btn:hover {
  background: var(--research-blue);
  cursor: pointer;
}

.group-card {
  display: flex;
  height: 55px;
  margin-top: 7px;
  border-radius: var(--border-radius);
  background: #fff;
  flex-direction: row;
  align-items: center;
  transition: 0.2s;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
}

.group-card:hover,
.layer-card:hover {
  margin-left: 15px;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 40%);
}

.group-card-content {
  display: flex;
  width: 100%;
}
.mt-3 {
  margin-top: 0px !important;
}

.inner-group-container {
  display: none;
  margin-left: 20px;
}

.group-title {
  display: flex;
  width: 85%;
  margin-left: 15px;
  font-size: 18px;
  font-weight: bold;
  align-items: center;
}

.group-btns-container {
  display: flex;
  position: relative;
  width: 15%;
  margin-right: 15px;
  justify-content: flex-end;
}

.group-btns {
  display: flex;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 11px;
  background: #0c2c4117;
  color: var(--research-blue);
  font-size: 17px;
  flex-wrap: nowrap;
  align-content: center;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.76, 0.48, 0.03, 1.2) 0s;
  outline: none;
}

.layer-card {
  position: relative;
  margin: 8px 5px 8px 25px;
  padding: 10px;
  border-radius: 5px;
  background-color: #fff;
  transition: 0.2s;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
}

.thumbnails {
  width: 18px;
  margin-top: 3px;
  margin-right: -30px;
  align-self: center;
}

#switcher {
  margin-top: -10px;
  margin-left: 55px;
}

.leaflet-control-legend {
  display: none;
}

.legend-container {
  position: absolute;
  right: 10px;
  bottom: 55px;
  min-width: 100px;
  max-width: 45%;
  height: 250px;
  border-radius: 5px;
  background-color: #fff;
  z-index: 500;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
}

.legend-cards-wrapper {
  display: flex;
  height: 100%;
  padding: 15px 10px;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  overflow: scroll;
}

#legend-btn {
  display: block;
  display: flex;
  position: absolute;
  right: 10px;
  bottom: 55px;
  height: 40px;
  font-size: 15;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.layer-legend {
  display: flex;
  min-width: 100px;
  padding: 5px 20px;
  flex-direction: column;
  align-items: center;
}
#close-legend {
  position: absolute;
  top: 0px;
  right: 0px;
  border: none;
  background: none;
  color: var(--pearls-color);
  font-size: 22px;
}

.legend-title {
  max-width: 140px;
  margin-top: 10px;
  color: var(--pearls-color);
  font-size: 14px;
  font-weight: bold;
  text-align: center;
}

.map-coordinate {
  position: absolute;
  bottom: 0px;
  left: 50%;
  margin: 0px;
  padding: 10px 20px;
  padding: 0px 5px;
  background-color: rgba(255, 255, 255, 0.8);
  color: rgba(0, 0, 0, 0.8);
  font-size: 13px;
  transform: translate(-50%, 0);
}

.cities-btns {
  display: flex;
  position: absolute;
  top: 16px;
  right: 50%;
  width: 320px;
  margin-right: -160px;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
}

#Strovolos {
  right: 80px;
}
#Rieti {
  right: 244px;
}
#Nafplion {
  right: 162px;
}

.btn,
#close-about-btn,
.case-study-nav-btn,
.case-study-map-btn {
  top: 13px;
  width: 89px;
  height: 33px;
  margin-left: 14px;
  padding: 6px;
  border: none;
  border-radius: 7px;
  background-color: var(--research-blue);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  z-index: 1000;
  background-clip: padding-box;
  box-shadow: 2px 3px 5px rgb(157 15 162 / 14%);
  outline: none !important;
}

.case-study-dropdown,
.case-study-map-dropdown {
  display: flex;
  visibility: hidden;
  position: absolute;
  width: 160px;
  width: 160px;
  margin-top: 15px;
  margin-left: -25px;
  margin-left: -25px;
  padding: 10px 0px;
  border-radius: var(--border-radius);
  background: #fff;
  color: var(--research-blue);
  color: var(--research-blue);
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}
.case-study-map-dropdown {
  margin-top: 8px;
}

.case-study-nav-btn {
  width: 125px;
  margin-top: 7px;
  margin-right: 70px;
  margin-right: 70px;
}

.case-study-map-btn {
  visibility: hidden;
  position: relative;
  top: 16px;
  left: 50%;
  width: 130px;
  margin-left: -65px;
  z-index: 1000;
}

.dropdown-option {
  line-height: 30px;
}
.dropdown-option:hover {
  width: 100%;
  border-radius: 2px;
  background-color: var(--research-blue);
  color: #fff;
}
.btn-outline-dark:focus,
.btn:focus {
  border: none !important;
  border-color: rgba(255, 255, 255, 0) !important;
  outline: none !important;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
}

.btn:hover {
  /* background-color: rgba(171, 183, 183, 0.8);
  color: rgba(255, 255, 255);
  border-color: rgba(255, 255, 255); */
  background-color: var(--research-blue);
}

.basic-functions {
  position: absolute;
  bottom: 55px;
  left: 10px;
}

.basic-functions .btns,
.btns,
.leaflet-touch .leaflet-bar a:first-child,
.leaflet-touch .leaflet-bar a:last-child,
.legend-btn {
  position: relative;
  width: 39px;
  height: 38px;
  margin: auto;
  margin-top: 4px;
  padding: 5px;
  border-radius: 50%;
  background-color: #f3d3be;
  cursor: pointer;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
  filter: invert(1);
}

.basic-functions .btns:hover,
.leaflet-touch .leaflet-bar a:first-child:hover,
.leaflet-touch .leaflet-bar a:last-child:hover {
  background-color: #fff;
  filter: invert(0);
}

.leaflet-control-layers.leaflet-control {
  position: relative;
  width: 53px;
  height: 53px;
  margin: auto;
  margin-top: 13px;
  margin-right: 10px;
  padding: 5px;
  border-radius: 50%;
  background-color: var(--research-blue);
  color: #fff;
  font-family: var(--font-family);
  cursor: pointer;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
}

.leaflet-control-layers.leaflet-control.leaflet-control-layers-expanded {
  display: flex;
  width: 160px;
  height: 185px;
  border-radius: 7px;
  justify-content: space-around;
  padding-inline: 20px;
}

.leaflet-control-layers-expanded .leaflet-control-layers-list {
  display: block;
  position: relative;
  margin-top: 10px;
  cursor: default;
}

.leaflet-control-layers label:hover {
  font-weight: 600;
  cursor: pointer;
}
#basemapTitle {
  margin-bottom: -10px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.basic-functions .fas {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 19px;
  transform: translate(-50%, -50%);
}

.fas.fa-sliders {
  display: none;
}

.leaflet-touch .leaflet-control-layers,
.leaflet-touch .leaflet-bar {
  border: none;
}
.leaflet-touch .leaflet-bar a:first-child > span,
.leaflet-touch .leaflet-bar a:last-child > span {
  margin-left: -1px;
  color: rgb(0, 0, 0);
  font-size: 23px;
}

.popup-td {
  width: 100px;
}

.leaflet-popup-content {
  /* width: 100%!important; */
}

/* width */
::-webkit-scrollbar {
  width: 6px;
  cursor: pointer;
}
::-webkit-scrollbar:horizontal {
  height: 6px;
  cursor: pointer;
}
/* Track */
::-webkit-scrollbar-track {
  /* box-shadow: inset 0 0 2px 1px rgba(255, 255, 255, 0.2); */
  border-radius: 5px;
  cursor: pointer;
}
/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #103e5c;
  cursor: pointer;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #103e5c;
  cursor: pointer;
}

.form-control-file,
.form-control-range,
.custom-control-label {
  height: 5px;
  cursor: pointer;
  outline: none;
}

/* About modal */
.about-tab {
  visibility: hidden;
  position: fixed;
  left: 50%;
  width: 40%;
  height: 520px;
  margin-left: calc(-20%);
  padding: 20px;
  border-radius: 13px;
  background: #fff;
  opacity: 0;
  color: rgb(0, 0, 0);
  font-family: var(--font-family);
  font-size: 17px;
  flex-wrap: wrap;
  align-content: space-around;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  transition: all 0.3s linear;
  box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
}
.about-background {
  visibility: hidden;
  position: fixed;
  top: 65px;
  width: 100%;
  height: 100%;
  background: #00000014;
  z-index: 5999;
}

h1#about-header {
  margin-top: 10px;
  padding-bottom: 0px;
  font-family: var(--font-family);
  font-size: 30px;
}
h2#about-header {
  font-size: 22px;
}
.about-header {
  position: relative;
  height: 120px;
}

.about-content {
  position: relative;
  height: 320px;
  overflow-x: hidden;
  overflow-y: scroll;
  word-wrap: normal;
}

.about-footer {
  display: flex;
  position: relative;
  height: auto;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

#close-about-btn:hover {
  background-color: #ff6a6a;
  color: #fff;
}

.form-control-file,
.form-control-range,
.custom-control-label {
  accent-color: #103e5c;
}

.custom-control-input:checked ~ .custom-control-label::before {
  background: #103e5c;
  border-color: #103e5c;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: #103e5c;
}

/*********************************************************/
@keyframes ldio-q2tide24wqq {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.ldio-q2tide24wqq div {
  box-sizing: border-box !important;
}
.ldio-q2tide24wqq > div {
  position: absolute;
  top: 8.8px;
  left: 8.8px;
  width: 92.4px;
  height: 92.4px;
  border: 4.4px solid #000;
  border-radius: 50%;
  border-color: var(--research-blue) transparent var(--research-blue)
    transparent;
  animation: ldio-q2tide24wqq 1.1627906976744184s linear infinite;
}

.ldio-q2tide24wqq > div:nth-child(2),
.ldio-q2tide24wqq > div:nth-child(4) {
  top: 14.3px;
  left: 14.3px;
  width: 81.4px;
  height: 81.4px;
  animation: ldio-q2tide24wqq 1.1627906976744184s linear infinite reverse;
}
.ldio-q2tide24wqq > div:nth-child(2) {
  border-color: transparent var(--research-blue) transparent
    var(--research-blue);
}
.ldio-q2tide24wqq > div:nth-child(3) {
  border-color: transparent;
}
.ldio-q2tide24wqq > div:nth-child(3) div {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
}
.ldio-q2tide24wqq > div:nth-child(3) div:before,
.ldio-q2tide24wqq > div:nth-child(3) div:after {
  display: block;
  position: absolute;
  top: -4.4px;
  left: 39.6px;
  width: 4.4px;
  height: 4.4px;
  border-radius: 50%;
  background: var(--research-blue);
  content: "";
  box-shadow: 0 88px 0 0 var(--research-blue);
}
.ldio-q2tide24wqq > div:nth-child(3) div:after {
  top: 39.6px;
  left: -4.4px;
  box-shadow: 88px 0 0 0 var(--research-blue);
}

.ldio-q2tide24wqq > div:nth-child(4) {
  border-color: transparent;
}
.ldio-q2tide24wqq > div:nth-child(4) div {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: rotate(45deg);
}
.ldio-q2tide24wqq > div:nth-child(4) div:before,
.ldio-q2tide24wqq > div:nth-child(4) div:after {
  display: block;
  position: absolute;
  top: -4.4px;
  left: 34.1px;
  width: 4.4px;
  height: 4.4px;
  border-radius: 50%;
  background: var(--research-blue);
  content: "";
  box-shadow: 0 77px 0 0 var(--research-blue);
}
.ldio-q2tide24wqq > div:nth-child(4) div:after {
  top: 34.1px;
  left: -4.4px;
  box-shadow: 77px 0 0 0 var(--research-blue);
}
.loadingio-spinner-double-ring-rejpe0iqir {
  display: inline-block;
  width: 110px;
  height: 110px;
  background: rgba(255, 255, 255, 0);
  overflow: hidden;
}
.ldio-q2tide24wqq {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  margin-left: -60px;
  transform: translateZ(0) scale(1);
  backface-visibility: hidden;
  transform-origin: 0 0; /* see note above */
}
.ldio-q2tide24wqq div {
  box-sizing: content-box;
}

.load {
  position: fixed;
  top: 46%;
  left: 50%;
  margin-top: -30px;
  margin-left: -90px;
  color: var(--research-blue);
  font-size: 20px;
  font-weight: 600;
  z-index: 2000;
}
.loading-background {
  position: fixed;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: #ffffffed;
  z-index: 20000;
}
#loading {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 220px;
  height: 19px;
  margin: -10px 0 0 -110px;
  z-index: 20001;
}

.chart-tab {
  display: none;
  position: absolute;
  right: 170px;
  bottom: 30px;
  width: 46%;
  height: 370px;
  padding: 20px;
  border-radius: var(--border-radius);
  background: #fff;
  z-index: 1000;
  box-shadow: var(--box-shadow);
}

#chart-conteiner {
  height: 100%;
}

#close-chart-btn {
  display: flex;
  position: absolute;
  top: 10px;
  right: 15px;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 22px;
  align-items: center;
  justify-content: center;
}

#close-chart-btn:hover {
  color: var(--research-blue);
  font-size: 27px;
}

.funding-img-container {
  position: absolute;
  bottom: 0px;
  left: 0;
  border: none;
  z-index: 1000;
}

#funding-img {
  width: 215px;
  border-radius: 3px 0 0 0;
  opacity: 0.95;
}

.leaflet-control-scale {
  margin-bottom: 0px !important;
  margin-left: 115px !important;
}

/* generated by https://loading.io/ */
/*------------------------------------------*/

@media only screen and (max-width: 1184px) {
  .about-tab {
    width: 65%;
    margin-left: calc(-32.5%);
  }
}
/* @media only screen and (max-width: 850px) {
  .about-tab{
    margin-left: calc(-40.5%);
    width: 65%;
  }
} */

@media only screen and (max-width: 780px) {
  .left-sidebar {
    display: none;
  }
  #open {
    display: block;
  }
  #close {
    display: none;
  }

  .leaflet-control.map-coordinate {
    margin-bottom: 60px;
  }
}

@media only screen and (max-width: 700px) {
  .cities-btns-nav {
    visibility: hidden;
  }
  .btn {
    box-shadow: -1px 3px 8px 2px rgb(0 0 0 / 15%);
  }
}
@media only screen and (min-width: 700px) {
  .cities-btns {
    visibility: hidden;
  }
}

@media only screen and (max-width: 640px) {
  h1#about-header {
    font-size: 28px;
  }
  .about-tab {
    width: 60%;
    margin-left: calc(-30%);
  }
}
@media only screen and (max-width: 600px) {
  .cities-btns {
    margin-right: -150px;
  }
  .about-tab {
    width: 70%;
    margin-left: calc(-35%);
  }
}
@media only screen and (min-width: 655px) {
  .case-study-map-btn,
  .case-study-map-dropdown {
    visibility: hidden !important;
  }
}
@media only screen and (max-width: 655px) {
  .case-study-nav-btn,
  .case-study-dropdown {
    visibility: hidden !important;
  }
  .case-study-map-btn {
    visibility: visible;
  }
  .case-study-map-dropdown {
    visibility: hidden;
  }
}

@media only screen and (max-width: 525px) {
  .left-sidebar {
    left: 32px;
    width: 350px;
  }
  .layer-title{
    font-size: 12px;
  }
  .group-title{
    font-size: 16px;
  }
  .justify-content-center{
    margin-left: -30px;
  }
}

@media only screen and (max-width: 450px) {
  .about-tab {
    width: 65%;
    margin-left: calc(-42.5%);
  }
}

@media only screen and (max-height: 680px) {
  .basic-functios {
    bottom: 57px;
  }
  .legend {
    max-height: 190px;
  }
  .basic-functions {
    bottom: 28px;
  }
  .about-tab {
    top: 51px !important;
    height: 285px;
  }
  .about-header {
    height: 52px;
  }
  h1#about-header {
    font-size: 15px;
  }
  h2#about-header {
    font-size: 12px;
  }
  .about-content {
    height: 158px;
    font-size: 10px;
  }
}

@media only screen and (max-height: 300px) {
  h1#about-header {
    font-size: 23px;
  }
}

@media print {
  @page {
    size: landscape;
  }
  .left-sidebar {
    display: none;
  }
}
