html,
body,
#viewDiv {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
}

#statsDiv {
  height: 300px;
  overflow-y: scroll;
}

#infoDiv span {
  color: #f9c653;
  font-size: 12pt;
  font-weight: bolder;
}

img {
  width: 200px;
}

.esri-expand__container .esri-expand__container--expanded {
  width: 29px;
  height: 10px;
}

.esri-legend .esri-widget--panel .esri-widget {
  width: 156px;
}

/* welcome popup styling */

span.close-button {
  float: right;
  right: 13px;
  border-radius: 21px;
  background-color: #ff8d00;
  width: 26px;
  height: 26px;
  font-size: 14px;
  color: #000000;
  cursor: pointer;
  margin-top: 15px;
  margin-right: 15px;
  padding: 0;
  line-height: 26px;
  font-weight: bold;
  text-align: center;
}

span.close-button:hover {
  border-color: #19b3ff;
  background-color: #19b3ff;
  color: #000000;
}

h1.welcome-popup {
  color: #00283c;
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  text-align: center;
  margin-bottom: 20px;
}

.welcome-first,
.welcome-second,
.welcome-third,
.welcome-fourth,
.welcome-fifth,
.layer-details-one,
.layer-details-two,
.layer-details-three,
.layer-details-four,
.layer-details-five,
.layer-details-six,
.layer-details-seven,
.layer-details-eight,
.layer-details-nine,
.layer-details-ten,
.layer-details-eleven,
.layer-details-twelve,
.layer-details-thirteen,
.layer-details-three-one,
.layer-details-zero-one {
  display: none;
}

.visible-welcome {
  display: block;
  position: relative;
  background-color: #ffffff;
  left: 0px;
  z-index: 2001;
  position: absolute;
  width: 575px;
  height: 82%;
  left: 25%;
  right: 25%;
  top: 6%;
  border: 1px solid #aaadaf;
  /* transition: left 0.7s ease; */
}

div.welcome-content {
  overflow-y: scroll !important;
  overflow-x: hidden;
  height: 82%;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 0;
  text-align: justify;
}

/* div.welcome-content {
  overflow-y: scroll !important;
  overflow-x: hidden;
  height: 522px;
} */

.welcome-first-image {
  width: 43%;
  margin-top: 10px;
}

/* remove Geographical Zones for Optimal Regional Charging Placement layer and Metropolitan Postcodes from the layers list */
/* li.esri-layer-list__item:nth-child(5), 
li.esri-layer-list__item:nth-child(6){
  display: none;
} */

/* remove navigation from the popups, so it shows only the last point*/
.esri-popup__navigation{
  display: none;
}

.welcome-logos {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 10px;
}

.welcome-image {
  width: 43%;
}

.betterfleet-logo-image {
  width: 180px;
  max-width: 35%;
  height: auto;
}

.evenergi-logo-image {
  margin-right: 14px;
  width: 90px;
  float: right;
  margin-top: 9px;
  margin-bottom: 7px;
}

div.previous-next-button{
  margin-left:27px
}

button.welcome-button {
  display: block;
  float: left;
  height: 47px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 13x;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  /* border-radius: 8px; */
  width: 90px;
  margin-right: 15px;
  margin-top: 19px;
  margin-bottom: 25px;
  cursor: pointer;
}

.first-welcome-button {
  color: #ffffff;
  /* margin-left: 185px; */
  background-color: #19b3ff;
}

.other-buttons {
  color: #ffffff;
  /* margin-left: 185px; */
  background-color: #19b3ff;
}

.current-button{
    color: #ffffff;
    background-color: #ff8d00;
}

/* .second-welcome-previous-button,
.third-welcome-previous-button,
.fourth-welcome-previous-button,
.fifth-welcome-previous-button {
  color: #ffffff;
  margin-left: 30px;
  background-color: #ff8d00;
}

.second-welcome-next-button,
.third-welcome-next-button,
.fourth-welcome-next-button,
.fifth-welcome-next-button {
  color: #fff;
  background-color: #19b3ff;
  border-color: #19b3ff;
} */

.buttons-previews{
  width: 16px;
}

.button-start-welcome {
  font: bold 12px/20px "Helvetica Neue", Arial, Helvetica, sans-serif;
  background-color: #19b3ff;
  color: #ffffff;
  position: absolute;
  top: 151px;
  right: 7px;
  z-index: 1;
  border: none;
  width: 80px;
  margin-left: 23px;
  display: block;
  cursor: pointer;
  padding: 9px 18px;
  font-size: 16px;
  border: 1px solid #fff;
}

.button-start-welcome:hover {
  background-color: #fff;
  color: #19b3ff;
  border: 1px solid var(--club-color);
}

/* end welcome popup styling */

/*change from eye to checkbox in layer list*/
.esri-icon-non-visible::before {
  content: "\e610";   
}
.esri-icon-visible::before {   
  content: "\e611";   
}
/*end change from eye to checkbox in layer list*/

/* remove date and time from the top of the time slider */
.esri-time-slider__time-extent-group, .esri-time-slider__time-extent-separator, .esri-time-slider__min, .esri-time-slider__max{
  display: none;
}

/* remove the play part of the time slider*/
.esri-time-slider__layout--compact .esri-time-slider__row:nth-child(1), .esri-time-slider__layout--compact .esri-time-slider__row:nth-child(3){
  display: none;
}

#viewDiv > div.esri-view-root > div.esri-ui.calcite-theme-light > div.esri-ui-inner-container.esri-ui-manual-container > div.esri-component.esri-attribution.esri-widget > div.esri-attribution__sources.esri-interactive > a{
  color: #19b3ff;
  background-color: #FFFFFF;
  padding: 3px;
  /* font-weight: bold; */
  text-decoration: none;
}

@media (max-height: 320px) {
  #logoDiv {
    position: absolute;
    bottom: 31px;
    background-color: white;
    right: 10px;
  }
  img {
    width: 200px;
  }
  #infoDiv {
    padding: 10px;
    width: 220px;
    height: 100px;
  }
}

@media (max-width: 431px) {
  button.welcome-button{
    margin: 5px;
    width: 14%;
    font-size: 7px;
  }

  /* .first-welcome-button {
    margin-left: 80px;
    width: 122px;
    font-size: 11px;
  } */

  .second-welcome-previous-button, 
  .third-welcome-previous-button, 
  .fourth-welcome-previous-button, 
  .fifth-welcome-previous-button{
    margin-left: 19px;
  }
}

@media (max-width: 784px) {

  button.welcome-button{
    margin: 5px;
    width: 16%;
    font-size: 11px;
  }

  #logoDiv {
    position: absolute;
    top: 15px;
    background-color: white;
    margin-left: 100px;
  }
  img {
    width: 150px;
  }
  #infoDiv {
    padding: 10px;
    width: 220px;
  }
  #viewDiv
    > div.esri-view-root
    > div.esri-ui
    > div.esri-ui-inner-container.esri-ui-corner-container
    > div.esri-ui-top-right.esri-ui-corner
    > div
    > div.esri-expand__container.esri-expand__container--expanded {
    width: 220px;
    height: 340px;
  }
  .visible-welcome {
    width: 100%;
    height: 100%;
    display: block;
    background-color: #ffffff;
    left: 0px;
    z-index: 2001;
    left: 0;
    top: 0;
    /* transition: left 0.7s ease; */
  }
}

@media (min-width: 785px) {
  div.welcome-content{
    height: 82%;
  }
  #logoDiv {
    position: absolute;
    bottom: 31px;
    background-color: white;
    right: 10px;
  }
  img {
    width: 200px;
  }

  #infoDiv {
    padding: 10px;
    width: 220px;
  }
}

#timeSlider {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 20px;
}

.esri-ui {
  z-index: 1;
}

@media (min-width: 785px) {
  .esri-ui .esri-popup {
    z-index: 900;
  }
}
