* { 
  * margin: 0;
  * padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  font-family: helvetica;
}

#container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: 65px;
  /*border: 1px solid #000000;*/
  position: relative;
}

#container::before {
  content: "";
  position: absolute;
  min-width: 1300px;
  top: -5px;
  /* left: 250px; */
  /* right: 250px; */
  bottom: -5px;
  border: 1px solid #000000; /* Black border */
}

.grabbing * {cursor: grabbing !important;}

body.wait * {
  cursor: wait !important;
}

.splash {
  position: fixed;
  top:0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: white;
  z-index: 9999;
  color: black;
  text-align: center;
}

.splash h1 {
  line-height: 90vh;
  font-weight: bold;
  width: 100%;
}

.fade-in {
  animation: fadeIn ease 2s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
}

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

#map {
  height: 800px;
  width: 800px;
  /* margin: 20px auto; Add spacing from the top */
  padding-top: 10px; /* Add spacing from the top */
  border: 1px solid #000000;
}

#sliderContainer {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.fuelSelect {
  display: inline-block;
  cursor: pointer;
}

#fuelSelect.hidden {
  display: none;
}

#chartContainer {
  position: absolute;
  display: block;
  padding-right: 20px;
  padding-top: 10px;
  padding-left: 10px;
  left: 20px;
  top: 30px;
  height: 550px;
  width: 560px;
  background: white;
  border-radius: .4rem;
  border: 1px solid #5d5d5d;
}

#plotContainer {
  position: absolute;
  padding: 5px;
  top: 150px;
  left: 500px;
  height: 610px;
  width: 600px;
  z-index: 10000;
  background: white;
}

#addLayers{
    padding: 10px;
    position: absolute;
    z-index: 9001;
    width: 130px;
    top:130px;
    left: -88px;
    font-weight: bold;
    border-right: 1px solid #5d5d5d;
    border-radius: .4rem .4rem 0 0;
    text-align: center;
    transform: rotate(-90deg);
  }

.popout-layer-box {
  border-top: 1px solid #5d5d5d;
  border-left: 1px solid #5d5d5d;
  background: #e8e8e8;
}

#layers-to-add {
  position: absolute;
  z-index: 9000;
  width: 250px;
  left: -251px;
  height: 400px;
  overflow-y: auto;
  top: 39px;
  border-bottom: 1px solid #5d5d5d;
  border-radius: .4rem 0 0 .4rem;
  padding: 10px;
}

.interactive-button {
  opacity: 50%;
  cursor: pointer;
}

.interactive-button:hover {
  opacity: 100%;
}


#plotHeader { 
  position: relative;
} 

#panelContainer {
  position: absolute;
  padding-right: 5px;
  padding-top: 5px;
  padding-left: 10px;
  padding-bottom: 5px;
  left: 50px;
  top: 100px;
  max-height: 760px;
  width: 440px;
  background: white;
  border-radius: .4rem;
  border: 1px solid #5d5d5d;
  z-index: 5000;
}



/* #issue-reporting { */
/*   position: fixed; */
/*   top:0; */
/*   left: 0; */
/*   width: 100%; */
/*   z-index: 9999; */
/*   color: black; */
/*   text-align: center; */
/* } */

#issue-reporting-button:hover {
  cursor: pointer;
  color: black;
}

#issue-reporting-button {
  position: absolute;
  width: 150px;
  top: 80px;
  right: 80px;
  background: white;
  color: gray;
}

#issue-reporting-modal {
  /* position: relative; */
  position: absolute;
  width: 600px;
  /* height: 670px; */
  height: auto;
  /* margin-top: 200px; */
  top: 150px;
  /* margin-right: auto; */
  /* margin-left: auto; */
  /* left: 0; */
  right: 50px;
  background: white;
  border: 1px solid #000000;
  border-radius: 5px;
  padding: 10px;
  z-index: 10000;
}

#issue-reporting-modal-header {
  margin-bottom: 20px;
}

#issue-reporting-modal-header h2 {
  position: absolute;  
  margin-left: 200px;
}

#issue-reporting-submit {
  display: block;
}

.issue-reporting-title {
  width: 100%;
  height: 50px;
  margin-bottom: 10px;
}

.issue-reporting-description {
  width: 100%;
  height: 100px;
  margin-bottom: 10px;
}

#issue-reporting-submit {
  margin-left: auto;
  margin-right: auto;
}

.feature-or-bug {
  margin-bottom: 10px;
}

.containerHeader h2 {
  display: inline-block;
}

.fuelTypeListHeader {
  display: block;
}

.fuelTypesContainer {
  max-height: 310px;
  width: 418px;
  padding: 5px;
  overflow-y: auto;
  border-radius: .4rem;
  border: 1px solid #5d5d5d;
}

.selectionLabel {
  margin-bottom: 0px;
  margin-left: 5px;
}

.fuelTypeCheckbox {
  display: block;
  padding-left: 5px;
}

#selectionPanelButtons {
  padding-top: 5px;
}

.containerHeader {
  height: 25px;
  width: 100%;
  cursor: grab;
  margin-bottom: 4px;
}

.closeButton {
  display: inline-block;
  position: absolute;
  right: 0px;
  width: 15px;
  background: white;
}

.closeButton:hover {
  cursor: pointer;
}

#infoIcon {
  position: absolute;
  left: 0px;
}

#fuelSelectContainer {
  display: inline-block;
  position: absolute;
  /* margin-left: 215px; */
  left: 50%;
  /* width: 30%; */
  transform: translateX(-50%);
}

#toolTip {
  position: absolute;
  left: 30px;
  top: 23px;
  height: 25px;
  width: 540px;
  border-radius: .4rem;
  border: 1px solid #5d5d5d;
  background: white;
  z-index: 10001;
  padding-left: 5px;
  padding-right: 5px;
}

.svgIcon {
  display: inline-block;
  margin: 0;
  padding: 0;
  height: 24px;
  width: 24px;
  margin-left: 0;
  margin-top: 0;
  background: white;
}

.component-border { 
  border-color: gray;
  border-style: solid;
  border-width: 2px;
  border-radius: 10px;
}
.hidden {
  display: none;
}

.wrapper{
  width: 400px;
  background: #fff;
  border-radius: 10px;
  padding: 20px 25px 40px;
}

.price-input{
  width: 100%;
  display: flex;
  margin: 30px 0 35px;
}
.price-input .field{
  display: flex;
  width: 100%;
  height: 45px;
  align-items: center;
}
.field input{
  width: 100%;
  height: 100%;
  outline: none;
  font-size: 19px;
  margin-left: 12px;
  border-radius: 5px;
  text-align: center;
  border: 1px solid #999;
  -moz-appearance: textfield;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.price-input .separator{
  width: 130px;
  display: flex;
  font-size: 19px;
  align-items: center;
  justify-content: center;
}
.slider{
  height: 5px;
  position: relative;
  background: #ddd;
  border-radius: 5px;
}
.slider .progress{
  height: 100%;
  left: 25%;
  right: 25%;
  position: absolute;
  border-radius: 5px;
  background: #17A2B8;
}
.range-input{
  position: relative;
}
.range-input input{
  position: absolute;
  width: 100%;
  height: 5px;
  top: -5px;
  background: none;
  pointer-events: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}
input[type="range"]::-webkit-slider-thumb{
  height: 17px;
  width: 17px;
  border-radius: 50%;
  background: #17A2B8;
  pointer-events: auto;
  -webkit-appearance: none;
}
input[type="range"]::-moz-range-thumb{
  height: 17px;
  width: 17px;
  border: none;
  border-radius: 50%;
  background: #17A2B8;
  pointer-events: auto;
  -moz-appearance: none;
}

.header-bar {
  background-color: #212121;
  padding: 0;
  text-align: center;
  align-items: center;
  height: 70px;
  margin-left: -8px;
  margin-top: -8px;
  justify-content: center;
  display: flex;
}

.header-text {
  margin: 0;
  color: white;
}

.legend {
  position: absolute;
  top: 105px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #ffffff;
  padding: 10px;
  border-radius: 5px;
  /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  margin: 0 10px;
}

.legend-item img {
  width: 23px;
  height: 39px;
  margin-right: 5px;
}

.box {
  background-color: white;
  /*border: 1px solid black;*/
  padding: -10px;
  height: 800px;
  width: 220px;
  flex-shrink: 0;
  margin-top: 0px;
}

.box-left {
  margin-right: 10px; /* Add spacing between the boxes */
}

.box-right {
  margin-left: 10px; /* Add spacing between the boxes */
}

.list {
  overflow-y: scroll;
  max-height: 730px;
}

.list.fuelList {
  max-height: 690px;
}

.list li:hover {
background-color: #f2f2f2;
cursor: pointer;
}

/* Highlight the selected list item */
.list li.selected {
  background-color: #e6e6e6;
}

/* Style the list items */
.list li {
  padding: 3px;
  margin-left: -15px;
  display: block; /* Make the items block elements */
  width: 100%; /* Set the width to 100% to cover the entire width of the container */
  color: blue;
  cursor: pointer;
  position: relative; /* Add positioning to allow for the ::before pseudo-element */
}

/* Create custom bullet points */
.list li::before {
  content: "\2022"; /* Use the bullet point character */
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  margin-right: 5px; /* Add some spacing between the bullet point and the text */
}

.list li.disabled {
  color: gray;
}

.list li.disabled:hover {
  background-color: white;
  cursor: default;
}

.container-checkbox {
  /* padding: 3px; */
  display: inline-block; /* Make the items block elements */
  min-width: 10px; /* Set the width to 100% to cover the entire width of the container */
  /* color: blue; */
  cursor: pointer;
  position: relative; /* Add positioning to allow for the ::before pseudo-element */
}

.container-checkbox::before {
  position: absolute;
  /* top: 50%; */
  /* transform: translateY(-50%); */
  /* margin-right: 5px; /* Add some spacing between the bullet point and the text */ */
}

.reset-map {
  color: blue;
  text-decoration: underline;
  background-color: transparent;
  text-align: center;
  cursor: pointer;
  padding: 8px;
  margin-top: 10px;
}

h1 {
  text-align: center; /* Center the <h1> element */
}

h3 {
  text-align: center;
  margin-top: 1px;
  border-bottom: 1px solid black;
}

#logo-img {
  border: none !important;
  background: none !important;
  outline: none !important;
}

.logo-control img {
  border: none !important;
  background: none !important;
}

#logo {
  margin-left: 50px;
  bottom: 0;
  height: 20px;
  outline: none;
}

#logo-img {
  height: 35px;
}

#logo-img:hover {
  cursor: pointer;
}

.mobile-button { 
  display: none;
  position: absolute;
  text-align: center;
  height: 35px;
  width: 100px;
  top: -36px;
  font-weight: bold;
  border: 1px solid;
}

#fuelTypeMobileButton {
  left: -1px;
}

#sitesMobileButton {
  right: 0px;
}

#colorbar {
  position: absolute;
  top: 105px;
  left: 50%;
  width: 800px;
  transform: translateX(-50%);
}

.colorbar-img {
  width: 100%;
  height: 60px;
}

@media (max-width: 769px) {
    #issue-reporting-button {
    position: absolute;
    bottom: 5px;
    height: 30px;
    width: 100px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: auto;
    text-align: center;
  }

  #issue-reporting-modal {
    width: 100%;
    height:75%;
    right: 0px;
    top: 70px;
  }

  .issue-reporting-title {
    height: 90px;
  }

  .issue-reporting-contact {
    width: 100%;
  }

  #issue-reporting-modal-header h2 {
    position: absolute;  
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    text-align: center;
  }

  #page-navigation {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
  }

  #next-button {
    position: absolute;
    display: inline-block;
    right: 10px;
    color: black;
    width: 50px;
  }

  #next-button.disabled {
    color: gray;
  }

  #previous-button {
    display: inline-block;
    color: black;
    width: 50px;
  }

  #previous-button.disabled {
    color: gray;
  }

  .header-bar {
    margin-top: 0px;
    max-width: 100vwh;
    padding: 10px;
  }

  .panelHeader {
    display: none;
  }

  #container {
    margin-top: 0;
    height: 400px;
  }

  #colorbar {
    width: 100%;
    top: 540px;
    max-width: 100vw;
  }

  #container::before {
    min-width: 0;
    border: none;
  }

  #fuelTypeContainer {
    position: absolute;
    z-index: 1001;
    top: 1px;
    left: 1px;
    border-right: 1px solid;
  }

  #sitesContainer { 
    position: absolute;
    z-index: 1001;
    top: 1px;
    right: 0px;
    border-left: 1px solid;
  }

  .box { 
    height: 418px;
  }

  .list {
    max-height: 410px;
  }

  .list.fuelList {
    max-height: 380px;
  }

  #checkboxHeader {
    margin-left: 5px;
  }

  .price-input {
    margin: 30px 0px 10px 0px;
  }

  #map {
    height: 420px;
    max-width: 100vw;
  }

  .box-left { 
    margin-right: 0px;
  }

  .box-right { 
    margin-left: 0px;
  }

  .mobile-button {
    display: block;
  }

  .legend {
    display: none;
  }

  #sliderContainer { 
    margin-top: 0;
  }

  .wrapper { 
    padding-top: 50px;
    max-width: 100vw;
  }

  #panelContainer { 
    top: 0px;
    left: 0px;
    width: 400px;
    max-width: 100vw;
    max-height: 100vh;
  }

  .fuelTypesContainer { 
    width: 375px; 
    max-width: 95vw;
    max-height: 25vh;
  }

  #plotContainer { 
    top: 50px;
    left: 0px;
    width: 400px;
    max-width: 100vw;
    max-height: 100vh;
  }

  #plotTypeSelect {
    max-width: 150px;
  }

  #addLayers{
    top:-46px;
    left: 30px;
    transform: none;
    border-bottom: none;
  }

  .popout-layer-box {
    border: 1px solid #5d5d5d;
  }


  #layers-to-add {
    /* position: absolute; */
    /* z-index: 9000; */
    /* width: 250px; */
    left: 0px;
    /* height: 400px; */
    /* overflow-y: auto; */
    top: -2px;
    border-bottom: 1px solid #5d5d5d;
    border-radius: .4rem;
    /* padding: 10px; */
  }

  #chartContainer { 
    width: 350px;
    top: 33px;
    max-width: 90vw;
    max-height: 90vh;
  }

  #fuelSelectContainer { 
    transform: none;
    left: 10px;
  }

  .interactive-button:hover {
    opacity: 50%;
  }
}

