html,
body,
#container {
  height: 100%;
  width: 100%;
  /* overflow: hidden; */
  font-family: "Roboto", sans-serif !important;
}
body {
  padding-top: 70px;
}
input[type="radio"],
input[type="checkbox"] {
  accent-color: #222222;
  margin: 0;
}

nav {
  background-color: #222222;
}

.nav-link {
  color: #9d9d9d;
  &:hover,
  &:focus {
    color: #ffffff;
  }
}
.navbar .navbar-collapse {
  text-align: center;
}
.navbar-nav {
  font-size: 14px;
}

.eu-logo {
  text-align: left;
  font-size: 12px;
  justify-self: end;
  align-items: center;
  margin-right: 25px;
  height: 55px;
  padding: 5px 10px;
  color: #9d9d9d;
  letter-spacing: 1px;
  font-style: italic;
}

#eu-logo {
  height: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

/* .modal-buttons {
  font-size: 1px;
} */

.datacube-logo {
  text-align: center;
  font-size: 1.3873015873015872vh;
  justify-self: end;
  align-items: center;
  height: 55px;
  padding: 5px 10px;
  color: #9d9d9d;
  letter-spacing: 2.5px;
  font-style: italic;
}
#datacube-logo {
  height: 100%;
  padding-left: 10px;
}

#datacube-title {
  font-size: 18px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 1px;
  padding-left: 5px;
  color: #e19541;
}

legend {
  background: transparent;
}
/*
tbody tr {
  display: block;
}
*/

h3 {
  color: white;
}

#tab-content {
  max-height: 77vh !important;
  overflow: auto;
}

#indicators {
  z-index: 1029;
  padding-top: 70px;
  display: block;
  height: 100%;
  max-width: 320px;
  /* overflow: auto; */
}
/* Hide scrollbar for Chrome, Safari and Opera */
#tab-content::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
#tab-content {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.indicators-header {
  position: relative;
  letter-spacing: 2px;
  z-index: 1029;
  text-align: center;
  color: white;
  background: #222222;
}

.indicators-body {
  padding: 0;
  z-index: 1029;
}
#download-container {
  position: relative;
  z-index: 1029;
}

.download-container {
  position: relative;
  z-index: 1029;
}

.prop-container {
  display: flex; /*  <-------------- required               */
  flex-direction: column; /*  <-------------- required               */
  justify-content: space-between;
}

.input-labels {
  font-weight: bold;
  padding-bottom: 0.25em;
  padding-top: 0.25em;
  font-size: 1em;
}

.accordion {
  border-radius: 0%;
  overflow-y: auto;
  position: relative;
  width: 100%;
  accent-color: #222222;
  z-index: 1029;
}

.accordion p {
  font-size: 0.75em;
}

.accordion-header {
  letter-spacing: 2px;
  border: none;
}

.accordion-button:not(.collapsed) {
  color: inherit;
  background-color: #222222 !important;
  border-width: 0px !important;
  color: white;
}
.accordion-button:active {
  border-radius: 0;
  border-width: 0;
  text-decoration: none !important;
  border: hidden !important;
  box-shadow: 0px !important;
}

.accordion-button.accordion-button:not(.collapsed)::after {
  filter: brightness(0%) invert(70%);
  border: none;
}

.accordion-button:focus {
  box-shadow: inherit;
  border-width: 0 1px 0 0;
  --bs-accordion-border-color: #222222 !important;
}

#opacity-slider {
  width: 100%;
}

#map {
  width: auto;
  height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

#features {
  margin: 0px;
  border: none;
  border-radius: 0px;
  -webkit-box-shadow: none;
  box-shadow: none;
}
#aboutTabsContent {
  padding-top: 10px;
}

#navbar-img {
  height: 55px;
  padding: 5px 10px;
}

.white {
  color: #ffffff;
}
.panel-heading {
  width: 230px;
}
.panel-body {
  width: 230px;
}
.feature-row {
  cursor: pointer;
  width: 250px;
}

.leaflet-control-layers {
  overflow: auto;
  height: auto;
}
.leaflet-control-layers label {
  font-weight: normal;
  margin-bottom: 0px;
  font-size: medium;
}
.leaflet-control-layers-list input[type="radio"],
input[type="checkbox"] {
  margin: 2px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.leaflet-control-layers-list
  input[type="radio"]:checked
  ~ .leflet-control-layers-selector:before {
  transform: translate(-50%, -50%) scale(1);
}

.leaflet-control-layers label {
  transition: all 0.2s ease-in-out;
}

.leflet-control-layers-selector:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #333;
  transition: all 0.2s ease-in-out;
}
.leflet-control-layers-selector {
  display: inline-block;
  position: relative;
  width: 16px;
  height: 16px;
  margin-right: 10px;
  border: 2px solid #333;
  border-radius: 50%;
}

.leaflet-control-layers label:hover {
  transform: translateY(-2px);
}

.table {
  margin-bottom: 0px;
}
.navbar .navbar-brand {
  font-weight: bold;
  font-size: 25px;
  color: #ffffff;
}
.navbar-brand img {
  margin-right: -20px;
  width: auto;
  height: 100%;
}

.navbar-collapse.in {
  overflow-y: hidden;
}

.navbar-toggler {
  filter: brightness(0%) invert(70%);
  border: none;
}

.navbar-name {
  /* font-family: 'PT Sans', sans-serif; */
  font-weight: 700;
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}
.navbar-header .navbar-icon-container {
  margin-right: 15px;
}
.navbar-header .navbar-icon {
  line-height: 50px;
  height: 50px;
}
.navbar-header a.navbar-icon {
  margin-left: 25px;
}

.typeahead {
  background-color: #ffffff;
}
.tt-dropdown-menu {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 4px 4px 4px 4px;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  margin-top: 4px;
  padding: 4px 0;
  width: 100%;
  max-height: 300px;
  overflow: auto;
}
.legend {
  padding: 6px 8px;
  font: 20px Arial, Helvetica, sans-serif;
  background: white;
  background: rgba(255, 255, 255, 0.8);
  /*box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);*/
  /*border-radius: 5px;*/
  /* line-height: 24px; */
  color: #555;
  text-align: center;
  float: left;
}

.legend > div {
  margin: 0 auto;
  text-align: center;
  float: left;
}
.legend h4 {
  text-align: center;
  font-size: 22px;
  margin: 2px 12px 8px;
  color: #777;
}

.legend span {
  /* position: relative; */
  bottom: 3px;
}

.legend i {
  width: 22px;
  height: 22px;
  float: left;
  /* position: sticky; */
  margin: 0 8px 0 0;
  /* opacity: 0.9; */
}

.legend i.icon {
  background-size: 22px;
  background-color: rgba(255, 255, 255, 1);
}

@media only screen and (max-width: 992px) {
  .legend {
    font: 12px Arial, Helvetica, sans-serif;
  }

  .legend i {
    width: 12px;
    height: 12px;
    float: left;
    /* position: sticky; */
    margin: 0 8px 0 0;
    /* opacity: 0.9; */
  }

  .legend i.icon {
    background-size: 12px;
    /* background-color: rgba(255, 255, 255, 1); */
  }

  .legend h4 {
    text-align: center;
    font-size: 12px;
    margin: 2px 12px 8px;
    color: #777;
  }
}

.tt-suggestion {
  font-size: 14px;
  line-height: 20px;
  padding: 3px 10px;
}
.tt-suggestion.tt-cursor {
  background-color: #0097cf;
  color: #ffffff;
  cursor: pointer;
}
.tt-suggestion p {
  margin: 0;
}
.tt-suggestion + .tt-suggestion {
  border-top: 1px solid #ccc;
}
.typeahead-header {
  margin: 0 5px 5px 5px;
  padding: 3px 0;
  border-bottom: 2px solid #333;
}
.has-feedback .form-control-feedback {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
}

@media only screen and (max-width: 440px) {
  h3 {
    /* text-overflow: clip; */
    overflow: hidden;
  }
  .navbar-name {
    overflow: hidden;
    height: 75%;
    width: 50%;
  }
}

@media (max-width: 1725px) and( min-width: 992px) {
  .modal-buttons {
    font-size: x-small;
  }
  .datacube-logo {
    font-size: 0.7771986970684039vh;
  }
  #datacube-title {
    font-size: 16px;
  }
}
@media (max-width: 1292px) and (min-width: 992px) {
  .datacube-logo {
    font-size: 7px;
  }
  #datacube-title {
    font-size: 13px;
  }

  .eu-logo {
    font-size: x-small !important;
  }
  .contact-label,
  .about-label {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  .eu-logo {
    font-size: xx-small;
  }
}

@media (min-width: 992px) {
  #eiffel-logo-collapsed {
    display: none !important;
  }

  .datacube-logo {
    justify-content: center;
  }
}
@media (min-width: 767px) {
  #about-btn {
    margin-left: 10px;
  }
}
@media (max-width: 992px) {
  .leaflet-control-layers {
    width: 100%;
  }
  .leaflet-control-layers-list span,
  .leaflet-control-layers-list label {
    font-size: smaller;
    height: 25px;
  }
  #nav-container {
    justify-content: space-between !important;
  }
  .datacube-logo {
    margin-top: 10px;
    margin-right: 0px;
  }

  .offcanvas-btn {
    left: 170px !important;
  }

  .leaflet-control-layers-list input[type="radio"],
  input[type="checkbox"] {
    accent-color: #222222;
    margin-bottom: 15px;
  }

  #indicators {
    max-width: 200px;
  }

  #indicatorsLabel {
    font-size: medium !important;
  }

  .navbar .navbar-brand {
    font-size: 18px;
  }
  h3 {
    font-size: 19px;
    margin-top: 20px;
  }
  .url-break {
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  .dropdown-menu a i {
    color: #ffffff;
  }
  .leaflet-control-layers label {
    font-size: 13px;
  }
  body {
    font-size: 13px;
  }
}
@media (max-width: 767px) {
  .navbar .navbar-brand {
    font-size: 13px;
  }
  h3 {
    font-size: 12px;
    margin-top: 20px;
  }
  .url-break {
    word-break: break-all;
    word-break: break-word;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  .dropdown-menu a i {
    color: #ffffff;
  }
  .leaflet-control-layers label {
    font-size: 13px;
  }
  body {
    font-size: 13px;
  }
}
/* Print Handling */
@media print {
  .navbar {
    display: none !important;
  }
  .leaflet-control-container {
    display: none !important;
  }
}
.leaflet-control-layers {
  border: 0;
  box-shadow: none;
}

/* Popup */
.feature-popup .leaflet-popup-content {
  font-size: medium;
}

/* EU div */
.eu-agreement {
  padding: 0 10px;
  font-size: 1em;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  bottom: 0;
  text-align: center;
  overflow: hidden;
  text-overflow: clip;
  position: absolute;
  line-height: 1;
  font-style: italic;
}

.eu-agreement img {
  margin: 10px auto;
  width: auto;
  height: 4vh;
}

.eu-about {
  display: flex;
  flex-direction: column;
  text-align: center;
  font-size: smaller;
}
.eu-about img {
  padding-bottom: 1em;
  margin: 0 auto;
  height: 11vh;
  width: auto;
}

.modal-img-btn {
  background-color: #222222;
  color: white;
}

.logo-modal {
  display: flex;
}
#sdc-modal {
  margin-right: 15px;
  margin-left: 15px;
}

@media (max-width: 767px) {
  .navbar-name {
    font-size: larger;
  }
  .logo-modal {
    flex-direction: column;
    align-items: center;
    font-size: large;
  }
  .logo-modal img {
    max-height: 100% !important;
  }
  #sdc-modal,
  #eiffel-modal {
    max-height: 155px !important;
  }
  #sdc-modal {
    margin-top: 15px;
    margin-right: 0;
  }
  .eu-agreement {
    font-size: smaller;
  }
}
.logo-modal p {
  margin: 10px auto;
  line-height: 1;
}

.logo-modal {
  margin-bottom: 10px;
}

.logo-modal img {
  max-height: 10vh;
}

#soil-picture {
  object-fit: contain;
  margin: 10px auto;
}

#features-modal {
  width: 100%;
}

#aboutTabsContent p {
  padding: 5px 15px;
}

/* #editMode-tab {
  transform: rotate(-90deg);
    border-bottom-left-radius: 15px;
    margin-bottom: 3.75rem;
    width: 6.25rem;
    height: 2.6rem;
    position: absolute;
    left: -1.8rem;
    top:150px;
    right: 20px;
    padding: 10px;
    z-index: 800;
} */

.offcanvas-btn {
  border-radius: 0% !important;
  left: 290px;
  position: relative;
  visibility: visible;
  z-index: 1000;
  transform: rotate(-90deg);
  width: 6.25rem;
  height: 2.6rem;
  top: 90px;
  background-color: #727272 !important;
  border-color: #727272 !important;
  color: #e6e0e0;
  transition: transform 0.3s ease-in-out; /* same as what's on the panel */
}

.offcanvas-btn:focus,
.offcanvas-btn:hover,
.offcanvas-btn:active,
.offcanvas-btn.active {
  background-color: #222222 !important;
  border: #222222 !important;
  color: white !important;
}

#download-tab {
  top: 195px;
}
#search-tab {
  top: 300px;
}

#download-tab,
#indicators-tab,
#search-tab {
  transform: rotate(-90deg);
  border-bottom-left-radius: 15px !important;
}

/* Search Bar */

.wrapper {
  width: 100%;
  max-width: 31.25rem;
  margin: 6rem auto;
}

.searchBar {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-top: 5px;
}

.searchQueryInput {
  width: 100%;
  height: 2.8rem;
  background: #f5f5f5;
  outline: none;
  border: none;
  border-radius: 0.625rem;
  padding: 0 3.5rem 0 1.5rem;
}

#searchQuerySubmit {
  width: 3.5rem;
  height: 2.8rem;
  margin-left: -3.5rem;
  background: none;
  border: none;
  outline: none;
}

#searchQuerySubmit:hover {
  cursor: pointer;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type="number"] {
  -moz-appearance: textfield;
}
