body {
  width: 100%;
  padding-bottom: 10px;
  overflow-x: hidden;
  padding-right: 13px;
}

h2,
h3 {
  margin-bottom: 0;
}

.Select,
.has-value.Select--single > .Select-control .Select-value .Select-value-label,
.has-value.is-pseudo-focused.Select--single
  > .Select-control
  .Select-value
  .Select-value-label {
  color: white;
}

.Select-control,
.Select-menu-outer,
.is-open > .Select-control {
  background-color: #272b30;
}

.Select-input > input {
  color: white;
}

body.light .Select,
body.light
  .has-value.Select--single
  > .Select-control
  .Select-value
  .Select-value-label,
body.light
  .has-value.is-pseudo-focused.Select--single
  > .Select-control
  .Select-value
  .Select-value-label {
  color: black;
}

body.light .Select-control,
body.light .Select-menu-outer,
body.light .is-open > .Select-control {
  background-color: white;
}


#layout-btn {
  background-color: #272b30;
  border: 1px solid white;
  color: white;
  width: 90px;
  border-radius: 5px;
}

#layout-btn:hover {
  background-color: #030404;
  cursor: pointer;
}

#clear {
  background-color: white;
  border: 1px solid #272b30;
  color: #272b30;
  width: 200px;
  border-radius: 5px;
  margin-right: 10px;
}

#clear:hover {
  cursor: pointer;
  background-color: #f1f1f1;
}


body.light #clear {
  /* background-color: #f1f1f1; */

  background-color: #f9f9f9;
  border: 1px solid black;
  color: black;
}

body.light #clear:hover {
  background-color: #C2E1F7;
}


body.light #layout-btn {
  background-color: white;
  border: 1px solid black;
  color: black;
}

body.light #layout-btn:hover {
  background-color: #fff;
}

#hidden-div {
  border: none !important;
}

#title-div {
  flex: 4;
  margin-left: 5vw;
}

#metadata-div {
  margin-left: auto;
  flex: 1;
  display: flex;
  justify-content: right;
  height: 100%;
  margin-right: 10px;
}

#title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px 0;
}

#radial-submit {
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  background-color: white;
  color: black;
  border: none;
  border: 1px solid #272b30;
}

#map-tab.custom-tab, #list-tab.custom-tab, #radius-tab.custom-tab {
  border-bottom: 1px solid #d6d6d6;
  padding: 6px;
  font-weight: bold;
  color: #272b30;
  background-color: #f5f5f5; 
}

#map-tab.custom-tab-selected, #list-tab.custom-tab-selected, #radius-tab.custom-tab-selected {
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  background-color: #C2E1F7;
  color: #272b30;
  padding: 6px;
}

body.light #map-tab.custom-tab-selected, body.light #list-tab.custom-tab-selected, body.light #radius-tab.custom-tab-selected {
  border-top: 1px solid #d6d6d6;
  border-bottom: 1px solid #d6d6d6;
  background-color: #C2E1F7;
  color: black;
  padding: 6px;
}

#station-selector {
  height: 40px;
}

#center, #radius {
  height: 30px;
}

#tab-list-content {
    height: 395px !important;
    overflow-y: scroll;
    /* border: 1px solid #ccc; */
    padding: 10px;
    background-color: #272b30;
    border-radius: 8px;
}

body.light #tab-list-content {
    background-color: #ffffff;
    border-radius: 8px;
}

.child-checklist {
    margin-left: 20px;
    padding-left: 10px;
    border-left: 2px solid #ccc;
}

.parent-checklist {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 6px;
    background-color: #f8f9fa;
}

#tab-list-content::-webkit-scrollbar {
  width: 8px;
}

#tab-list-content::-webkit-scrollbar-track {
  background: transparent;
}

#tab-list-content::-webkit-scrollbar-thumb {
  background-color: rgba(100, 100, 100, 0.4);
  border-radius: 4px;
}

#tab-list-content::-webkit-scrollbar-thumb:hover {
  background-color: rgba(100, 100, 100, 0.6);
}


#radius-container {
  background-color: #272b30;
  height: 395px;
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 8px;
}

body.light #radius-container {
  background-color: #f8f9fa;
  color: #272b30;
  height: 395px;
}

#radius-container input {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 5px 8px;
}

#radius-container label {
  font-weight: bold;
}

#radial-submit:hover {
  cursor: pointer;
  background-color: #f1f1f1;
}

body.light #radial-submit:hover {
  background-color: #C2E1F7 !important;
}

#map-div,
#graph-div {
  display: flex;
  flex-direction: column;
}

#dash-content {
  display: flex;
  align-items: stretch;
}

#dash-content {
  display: flex;
  align-items: stretch;
  height: calc(100vh - 120px);
}

#pillow-graph {
  height: 80vh;
}

#map-div, #graph-div {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

#map-div .card, #graph-div .card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#map-div .card-body, #graph-div .card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#map-container {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

#pillow-map {
  height: 43.2vh;
  margin-top: 8px;
}

#tab-list-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
  background-color: #272b30;
  border-radius: 8px;
}

#radius-container {
  display: flex !important;
  flex-direction: column;
  justify-content: space-between;
  flex: 1 1 auto;
  min-height: 0;
  padding: 20px;
  border-radius: 8px;
  background-color: #272b30;
}

body.light #tab-list-content { background-color: #ffffff; }
body.light #radius-container { background-color: #f8f9fa; color: #272b30; }

/* #map-div .card,
#graph-div .card {
  height: 100%;
  display: flex;
  flex-direction: column;
} */

#map-div .card-body,
#graph-div .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-height: 900px) {
  #tab-list-content {
    flex: 1 1 auto;
    height: 320px !important;
    overflow-y: auto;
    padding: 10px;
  }

  #pillow-map {
    height: 46vh !important;
  }

  #pillow-graph {
    height: 83.5vh !important;
  }

  body.light #tab-list-content {
    overflow-y: auto;
    padding: 10px;
  }

  #radius-container {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    height: 320px !important;
  }

  #radius-container > div > label {
    margin-top: 0px !important;
  }

  body.light #radius-container {
    background-color: #f8f9fa;
  }

}

@media (max-width: 1350px) {
  #map-div {
    width: 100%;
    padding-right: 0;
  }

  #pillow-map {
    margin-top: 18px;
  }

  #graph-div {
    width: 100%;
  }

  #layout-btn {
    margin-right: 10px;
    width: 50%;
  }

  #title-container {
    flex-wrap: wrap;
  }

  #title-div {
    flex: 6;
  }
}

@media (max-width: 850px) {
  #layout-btn {
    font-size: 12px;
    width: 65%;
  }

  #metadata-div {
    margin-right: 0;
  }
}

@media (max-width: 500px) {
  #title-div {
    font-size: 20px;
  }

  #layout-btn {
    width: 85%;
  }
}
