/*@import "../node_modules/bootstrap/less/mixins.less";
@import "../node_modules/bootstrap/less/variables.less";
@import "../node_modules/bootstrap/less/normalize.less";
@import "../node_modules/bootstrap/less/scaffolding.less";
@import "../node_modules/bootstrap/less/type.less";
@import "../node_modules/bootstrap/less/tables.less";
@import "../node_modules/bootstrap/less/utilities.less";
@import "../node_modules/bootstrap/less/glyphicons.less";*/

/*@import "grid.less";
@import "common.less";
@import "fixed.less";
@import "d3tip.less";
@import "table.less";
@import "header.less";
@import "the-trains.less";
@import "the-people.less";
@import "congestion-and-delay.less";
@import "your-commute.less";
@import "variables.less";*/

:root {
  /* Colors */  
  --colorBase: #222222;
  --colorFont: #ffffff;
  --height: 65vh;
  --fontSansSerif: Lato, Helvetica Neue, Helvetica, sans-serif;
}

body {
  font-family: var(--fontSansSerif) !important;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
}

.header {
  height: 5vh;
}

.title {
  font-size: 30px;
}

#main-title {
  cursor: pointer;
}

.subtitle {
  font-size: 20px;
  font-weight: 200;
}

footer {
  margin-top: 3vh;
  font-size: .8rem;
  font-weight: bold;
}

.footer-blocks {
  display: flex;
  flex-direction: row;
  justify-content: space-between;

}

.logos-collection {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  vertical-align: middle;
}

.logo {
  max-height: 8vh;
  height: 8vh;
  padding-right: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}

#map-wrapper {
  display: flex;
  flex-direction: row;
  margin-top: 10px;
}

#data-container {
  margin-top: 40px;
}


#sample-filters {
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: safe right;
  height: 5vh;
  /*padding-right: 5%;*/
}

.btn {
/*  padding-top: 2px;
  padding-bottom: 2px;*/
  border-radius: 1px;
}

.dropdown-toggle,
.dropdown-menu{
  width: 100%;
}

.sample-header {
  font-size: .8em;
  margin-right: 20px;
  margin-left: 40px;
  font-weight: 400;

}

.sample-group {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
}

.dropdown-text,
.dropdown-item {
  width: 100%;
  text-transform: uppercase;
  font-size: .8em;
}

/*#philogenetic-tree {
  height: var(--height);
  width: 50%;
}*/

#locations-map { 
  height: var(--height);
  width: 50%;
}

circle.hasData{
  fill-opacity: .8;
}


#message-snackbar {
  font-weight: 400;
  font-size: .8em;
  /*text-transform: uppercase;*/
  width: 100%;
  visibility: hidden; /* Hidden by default. Visible on click */
  /*margin-left: -50%;*/
  color: var(--colorBase); /* White text color */
  text-align: center; /* Centered text */
  padding: 16px; /* Padding */
  z-index: 1; /* Add a z-index if needed */
  background-color: #F16529;
  position: absolute;
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#message-snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {top: -30px; opacity: 0;}
  to {top: 0px; opacity: .9;}
}

@keyframes fadein {
  from {top: -30px; opacity: 0;}
  to {top: 0px; opacity: .9;}
}

@-webkit-keyframes fadeout {
  from {top: 0px; opacity: .9;}
  to {top: -30px; opacity: 0;}
}

@keyframes fadeout {
  from {top: 0px; opacity: .9;}
  to {top: -30; opacity: 0;}
}

.checkbox-circle {
    width: 1.3em;
    height: 1.3em;
    border-radius: 50%;
    vertical-align: middle;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    cursor: pointer;
    opacity: 0.2;
    transition: 0.5s ease-in-out;
    margin-right: 10px;
}

.checkbox-circle:checked {
  opacity: .8;
}

.checkbox-circle.circle-park {
  background-color: #F16529;
  border: 1px solid #F16529;
}

.checkbox-circle.circle-street {
  background-color: #1C88C7;
  border: 1px solid #1C88C7;
}

.checkbox-circle.circle-urban {
  background-color: #FCC700;
  border: 1px solid #FCC700;
}

/*.checkbox-circle#circle-summer{
  background-color: #00ff11;
  border: 1px solid #00ff11;
}

.checkbox-circle#circle-autumn {
  background-color: #ffff00;
  border: 1px solid #ffff00;
}*/

/*.checkbox-circle.circle-soil {
  background-color: #11ffff;
  border: 1px solid #11ffff;
}

.checkbox-circle.circle-leaf {
  background-color: #11ffff;
  border: 1px solid #11ffff;
}

.checkbox-circle.circle-dust {
  background-color: #11ffff;
  border: 1px solid #11ffff;
}*/

#map-sidebar {
  z-index: 50000;
  position: absolute;
  top: 0px;
  left: 0px;
  background-color: var(--colorFont);
  color: var(--colorBase);
  padding: 50px 25px 10px 25px;
  /*border: 1px solid var(--colorBase);*/
  height: 100%;
  opacity: 0.9;
  /*border-radius: 5px;*/
  /*font-weight: 500;*/
  transition: 0.2s ease-in-out;
}

#map-sidebar.sidebar-small:not(#sidebar-hide) {
  left: -200px;
  background-color: rgba(255, 100, 100, 0) !important;
  /*z-index: 300 !important;*/
  transition: 0.2s ease-in-out;
  /*opacity: 0;*/
}

#sidebar-hide {
  cursor: pointer;
  outline: 0 solid transparent;
  border: none;
  position: absolute;
  top: 80%;
  left: 187px;
  color: var(--colorFont);
  font-size: 20px;
  font-weight: 500;
}

#sidebar-hide.clicked {
  position: absolute;
  left: 0px;
  transform: rotate(180deg);
  color: var(--colorBase);
}

button.sidebar-click {
  border-radius: 1000px;
  padding-top: 15px;
  padding-bottom: 17px;
  padding-left: 15px;
  padding-right: 5px;
  box-sizing: border-box;
  background-color: var(--colorFont);
  cursor: pointer;
  outline: 0 solid transparent;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  /*word-break: break-word;*/
  border: 0;
}


#options-checkboxes-header,
/*#seasons-checkboxes-header,*/
#locations-checkboxes-header{
  /*text-decoration: underline;*/
  text-transform: uppercase;
  font-weight: bolder;
  margin-top: 30px;
  margin-bottom: 10px;
  font-size: 1.3em;
}

.label-legend{
  /*font-weight: bold;*/
  padding-right: 20px;
  font-size: .8em;
  font-weight: 400;
  margin-bottom: 0;
  /*text-transform: uppercase;*/
}

#samples-viewer-header {
  /*text-decoration: underline;*/
  text-transform: uppercase;
  font-weight: bolder;
  margin-bottom: 10px;
}


/*li.sample_link {
  font-weight: bold;
}*/

.tooltip {
  padding: 0 !important;
  margin: 0;
  width: 230px;
  cursor: pointer;
  /*border-radius: 3px;*/
}

.tooltip-header{
  opacity: .9;
  background-color: var(--colorBase);
  color: var(--colorFont);
  font-weight: bold;
  padding: 8px;

}

.tooltip-subheader {
  font-weight: lighter;
  font-style: italic;
  margin-bottom: 5px;
}

.tooltip-body:not(.hidden) {
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 8px;
  transition: 0.5s ease;
  font-weight: bold;
}

.tooltip-body.hidden {
  padding-left: 8px;
  height: 0px;
  overflow: hidden;
  transition: 0.5s ease;
}

/*.sample-links {
  display: flex;
  flex-direction: row;
  margin-top: 5px;
  margin-bottom: 5px;
  justify-content: flex-start;
}*/

/*
button.sample-select {
  margin-right: 5px;
  border-radius: 999px;
  box-sizing: border-box;
  color: #FFFFFF;
  cursor: pointer;
  font-family: Inter,Helvetica,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Noto Color Emoji","Segoe UI Symbol","Android Emoji",EmojiSymbols,-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans",sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  opacity: 1;
  outline: 0 solid transparent;
  padding: 7px 14px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  width: fit-content;
  word-break: break-word;
  border: 0;
}*/

#instructions {
  display: block;
  height: var(--height);
  /*overflow: scroll;*/
}

#instructions-header {
  font-size: 16px;
}

#instructions.hidden,
.instructions-body.hidden {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease-in-out;
}


#samples-viewer{
  padding-top: 10px;
  display: block;
  width: 50%;
  max-width: 50%;
  /*z-index: 100000;*/
  position: relative;
  /*top: 0px;*/
  right: 0px;
  color: var(--colorBase);
  padding: 0px 15px 0px 15px;
  /*border: 1px solid var(--colorBase);*/
  height: var(--height);
  opacity: 0.9;
  /*border-radius: 5px;*/
  /*font-weight: 500;*/
  transition: 0.2s ease-in-out;  
}

.sample-explorer {
  /*margin-top: 10px;*/
  /*border: .5px dashed dimgray;*/
  border-radius: 3px;
  font-size: .8em;
}

.sample-details{
  text-transform: uppercase;
  font-weight: light;
}

.sample-graph {
  margin-top: 20px;
}

#bubble-legend-wrapper {
 display: block;
 position: relative;
 z-index: 99999;
}

#bubble-chart-legend {
  height: 55px;
  margin: 5px;
  overflow: visible;
}

#bubble-chart {
  overflow: visible;
  /*margin-top: -35px;*/
}

#observation-description {
  position: absolute;
  bottom: 0px;
  /*padding: 10px;*/
  border-radius: 5px;
  background-color: rgba(255, 255, 255, .1);
  overflow-x: hidden;
}

#description-title {
  font-weight: 800;
}

#description-long{
  max-height: 0;
  overflow: hidden;
  transition: 0.5s ease;
}

#description-long.show {
  transition: 1s ease;
  max-height: 30vh;
}

