body {
    margin: 0;
    padding: 0;
    font-family: 'PT Sans', Helvetica, Arial, Sans-serif;
  }
  
#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  height: 800px;
}

#home-button-wrapper {
  position: absolute;
  top: 160px;
  right: 10px;
  height: 18px;
  width: 18px;
  z-index: 999999;
  background-color: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 5px;
  padding: 5px;
}

#home-button-wrapper:hover {
  background-color: #f3f3f3;
}

#home-button {
  color: #333333;
}
  
h1 {
  font-family: 'PT Sans Narrow', Helvetica, Arial, Sans-serif;
  font-weight: normal;
  font-size: 28px;
  line-height: 30px;
  color: #ffffff;
}

h2 {
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 10px;
  color: #ffc83e;
}

h3 {
  font-family: 'PT Sans Narrow', Helvetica, Arial, Sans-serif;
  font-weight: bold;
  font-size: 18px;
  margin-top: 0px;
  margin-bottom: 10px;
}

.console-text {
  color: #e2e2e2;
  font-family: 'PT Serif';
  font-style: italic;
  font-size: 15px;
  margin-bottom: 5px;
}

a {
  text-decoration: none;
  color: #bdbdbd;
}
  
#console {
  position: absolute;
  width: 430px;
  margin: 10px;
  padding: 10px 20px;
  padding-right: 35px;
  background-color: rgba(78, 78, 78, 0.9);
  border-radius: 5px;
  z-index: 5;
}

#line-wrapper {
  width: 430px;
}

.session {
  margin-bottom: 15px;
}

.row {
  height: 12px;
  /* extra 10 off to stop it from showing when the toggle is operated */
  width: calc(100% - 10px);
  margin-left:0px;
}

#construction {
  display: none;
}

#planned {
  display: none;
}

.label-title {
  color: #bfc2bd;
  font-weight: bold;
}

#dropdown-titles {
  width: 100%;
}

.title {
  display: inline-block;
}

#first-title {
  width: 200px;
}

p {
  margin-top: 2px;
  margin-bottom: 0px;
}

#loading {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 999999;
  background-color: rgba(78, 78, 78, 0.9);
  top: 0px;
  left:0px;
}

#canvas-wrapper {
  position: relative;
  top: calc(50% - 60px);
  left: calc(50% - 60px);
}

#key {
  height: 25px;
}

#adb {
  position: fixed;
  visibility: visible;
  color: #333333;
  z-index: -999999;
  /* height: 100px; */
  width: 30%;
  margin-left: 45%;
  margin-top: 140px;
}

#adb i {
  font-size: 18px;
}

#adb li {
  color: #333333;
  list-style-type: circle;
}

#scroll-area {
  position: absolute;
  right: 0px;
  width: 50px;
  height: 800px;        
}

.prompt-wrapper {
  position: absolute;
  top: 55px;
  right: -140px;
}

.prompt {
  position: relative;
  font-size: 13px;
  color: #c4c4c4;
  background: #383838;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px; 
  width: 95px; 
  /* height: 36px; */
  padding: 8px;
  opacity: 1;
  animation: fade 2s ease-in-out infinite;
}

#prompt-wrapper1 {
  top: 105px;
}

#prompt-wrapper2 {
  top: 145px;
}

/* add the arrow to the prompt box */
.prompt:before{
  content: "";
  position: absolute;
  top: 12px;
  right:-25px;
  z-index: 1;
  border: solid 15px transparent;
  border-left-color: #383838;
}

@keyframes fade {
  0%,100% { opacity: 0.8 }
  50% { opacity: 1 }
}

.prompt-in {
  opacity: 1;
  transform: translateX(-200px);
  -ms-transform: translateX(-200px);
  -webkit-transform: translateX(-200px);
  transition: all 1.5s ease;
}

.prompt-out {
  opacity: 0;
  transform: translateX(200px);
  -ms-transform: translateX(200px);
  -webkit-transform: translateX(200px);
  transition: all 2s ease;
}

.prompt-fade {
  opacity: 0;
  transition: 3s;
  transform: translateX(-200px);
  -ms-transform: translateX(-200px);
  -webkit-transform: translateX(-200px);
}


select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(https://www.carbonbrief.org/wp-content/uploads/2018/04/arrow-for-map.png) 96% / 15% no-repeat #333333;
  background-size: 20px 13px;
  border:2px;
  padding: 4px;
  color: #f3f3f3;
  outline:0px;
}

.selector {
 width: 200px;
}

/* style the map tooltip */
/* #region */

.mapboxgl-popup-content {
  color: #F3F3DD;
  background-color: #383838;
  /* border-color: #91785D; */
  max-width: 250px;
  /* box-shadow: 3px 3px 2px #8B5D33; */
}

/* change colour of tip to match popup */

.mapboxgl-popup-anchor-top .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-top-right .mapboxgl-popup-tip {
  border-bottom-color: #383838;
}
.mapboxgl-popup-anchor-bottom .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-left .mapboxgl-popup-tip,
.mapboxgl-popup-anchor-bottom-right .mapboxgl-popup-tip {
  border-top-color: #383838;
}
.mapboxgl-popup-anchor-left .mapboxgl-popup-tip {
  border-right-color: #383838;
}
.mapboxgl-popup-anchor-right .mapboxgl-popup-tip {
  border-left-color: #383838;
}

/* #endregion */

/* style the key */
/* #region */

.colour-key {
  width: 12px;
  height: 12px;
  -webkit-border-radius: 25px;
  -moz-border-radius: 25px;
  border-radius: 25px;
  display: inline-block;
  margin-right: 3px;
}

ul {
  list-style-type: none;
}

#list-group {
  padding: 0px;
}

li {
  color: #e9e9e9;
  font-size: 12.5px;
  float: left;
  padding-right: 15px;
  padding-bottom: 10px;
}

#credit {
  border-top: 1px solid #949494;
  margin-top: 15px;
  padding-top: 10px;
}

#credit p {
  color: #949494;
  font-size: 11.5px;
}

/* #endregion */

/* style the logos */
/* #region */

#logo-mobile {
  position: absolute;
  top: 592px;
  right: 9px;
  z-index: 9000;
  height: 25px;
  width: 25px;
  background-image:url(../img/logo-mobile.svg);
  background-repeat: no-repeat;
  visibility: hidden;
}

#logo-tablet {
  position: absolute;
  top: 600px;
  right: 7px;
  z-index: 9000;
  height: 30px;
  width: 30px;
  background-image:url(../img/logo-mobile.svg);
  background-repeat: no-repeat;
  visibility: hidden;
}

#logo-laptop {
  position: absolute;
  top: 737px;
  right: 0px;
  z-index: 9000;
  height: 45px;
  width: 110px;
  background-image:url(../img/logo-laptop.svg);
  background-size: contain;
  background-repeat: no-repeat;
  visibility: visible;
}

/* #endregion */

/* make responsive */

@media screen and (max-width: 1300px) {

  #console {
    width: 380px;
  }

  #line-wrapper {
    width: 380px;
  }

  .selector {
    width: 180px;
  }

  #first-title {
    width: 180px;
  }

  h1 {
    font-size: 26px;
    line-height: 28px;
  }

  h2 {
    font-size: 14.5px;
  }

  .console-text {
    font-size:15px;
  }

  li {
    font-size: 12px;
    padding-right: 10px;
    padding-bottom: 5px;
  }

  .colour-key {
    width: 10px;
    height: 10px;
    margin-right: 2px;
  }

  .axis.label {
    font-size: 11.5px;
  }
}

@media screen and (max-width: 1200px) {
  #home-button-wrapper {
    top: 110px;
  }

  #prompt-wrapper1 {
    top: 55px;
  }
  
  #prompt-wrapper2 {
    top: 95px;
  }

  #scroll-area {
    width: 40px;
  }
}

@media screen and (max-width: 1100px) {

  #console {
    width: 330px;
  }

  #line-wrapper {
    width: 330px;
  }

  .selector {
    width: 160px;
  }

  #first-title {
    width: 160px;
  }

  #key {
    height: 35px;
  }

  .console-text {
    font-size:14px;
  }

  h2 {
    font-size: 14px;
  }

  li {
    font-size: 11.5px;
  }

}

@media screen and (max-width: 1024px) {

  #logo-tablet {
    visibility: visible;
  }

  #logo-laptop {
    visibility: hidden;
  }

  #map {
    height: 655px;
  }

  #credit {
    display: none;
  }

  #line-wrapper {
    height: 250px;
  }

  #scroll-area {
    width: 30px;
  }

}

@media screen and (max-width: 980px) {

  #console {
    width: 290px;
  }

  #line-wrapper {
    width: 290px;
  }

  #home-button-wrapper {
    top: 110px;
  }

  .selector {
    width: 140px;
  }

  #first-title {
    width: 140px;
  }

  #scroll-area {
    width: 20px;
  }

  h1 {
    font-size: 24px;
    line-height: 26px;
  }

  h2 {
    font-size: 14px;
  }

  .console-text {
    font-size: 13px;
  }

}

@media screen and (max-width: 850px) {
  #charts {
    display: none;
  }
  #dropdown {
    display: none;
  }
  #console {
    width: 400px;
    padding: 7px 15px;
    padding-right: 30px;
  }

  #key {
    height: 25px;
  }

  .row{
    height: 10px;
    width: calc(100% - 15px);
  }

  .console-text {
    display: none;
  }
}

@media screen and (max-width: 640px) {

  #logo-tablet {
    /* move as mapbox credit changes */
    top: 588px;
  }

  #home-button-wrapper {
    display: none;
  }

  #scroll-area {
    width: 10px;
  }

  #console {
    width: 100%;
    margin: 0px;
    position: relative;
    border-radius: 0px;
    background-color: rgb(65, 65, 65);
  }

  #adb {
    width: 60%;
    margin-left: 20%;
    margin-top: 100px;
  }

  .row {
    width: calc(100% - 30px);
  }

  #map {
    position: relative;
    height: 470px;
  }

  #loading {
    background-color: rgba(78, 78, 78, 1);
  }

}

@media screen and (max-width: 480px) {

  #adb {
    visibility: hidden;
  }

  #logo-tablet {
    visibility: hidden;
  }

  #logo-mobile {
    visibility: visible;
  }

}

@media screen and (max-width: 380px) {

  #logo-mobile {
    top: 510px;
  }

  #map {
    height: 380px;
  }

  #key {
    height: 35px;
  }

}