@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@200;700&family=Roboto:wght@700&display=swap');

:root{
  --purple-color : #a75fdb;
  --font-family : system-ui;
}


input:focus::-webkit-input-placeholder { color:transparent; }
input:focus:-moz-placeholder { color:transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color:transparent; } /* FF 19+ */
input:focus:-ms-input-placeholder { color:transparent; } /* IE 10+ */
::placeholder {
  color: rgba(167, 95, 219, 0.49);
}
/* #61278d
#9a50ac */

/* width */
::-webkit-scrollbar {
  width: 5px;
  cursor: pointer;
  margin-right: 5px;
}
::-webkit-scrollbar:horizontal{
  height: 5px;
  cursor: pointer;
}
/* Track */
::-webkit-scrollbar-track {
  border-radius: 5px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #9a50ac;
  border-radius: 10px;
  cursor: pointer;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #9a50ac;
  cursor: pointer;
}

body {
  margin: 0; padding: 0;
  height: 100%;
}
h1#loading-txt{
  margin-top: -260px;
  margin-left: 10px;
}

#loading-background{
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgb(213 195 214 / 83%);
  z-index: 10;
  font-family: var(--font-family);
  color: #9a50ac;
  display: flex;
  align-content: center;
  justify-content: center;
  flex-wrap: nowrap;
  align-items: center;
  font-size: 10px;
  overflow: hidden;
}
#loading{
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  margin-left: -110px!important;
  margin-top: -110px!important;
}
nav {
  background-color: #f4f4f2;
  width: 100%;
  height: 50px;
  margin-top: 0px;
  border-color: black;
  vertical-align: middle;
  z-index: 1000;
}

.container{
    width: 100%;
    height: 100%;
    bottom: 0;
    z-index: -1;
}

#map, #map:focus-visible{
  position: absolute;
  bottom: 0;
  width:100%;
  top: 50px;
  decoration:none;
  outline: none;
}

.nav-btns{
  background-color: #f4f4f2;
  border-radius: 7px;
  border-color: var(--purple-color);
  border-style: solid;
  border-width: 1px;
  font-size: 15px;
  color: var(--purple-color);
  font-family: var(--font-family);
  padding: 5px 10px;
  position: absolute;
  right: 10px;
  top: 13px;
  font-weight: 500;
  border: none;
  box-shadow:  2px 3px 5px rgba(157, 15, 162, 0.14);
}

.nav-btns:hover, .select-btn:hover, #show-controlers-btn:hover, #close-controlers-btn:hover, #show-chart-btn:hover{
  background-color:var(--purple-color);
  color: #f4f4f2;
  cursor: pointer;
  box-shadow: 0px 0px 6px 0px var(--purple-color);
  border: none;
}


#brand{
  text-decoration: none;
  color: var(--purple-color);
  font-size: 25px;
  font-family: 'Dosis', sans-serif;
  position: absolute;
  top: 10px;
  font-weight: bold;
  box-shadow: 2px;
}

.brand-img{
  width: 50px;
  margin-left: 15px;
  margin-top: 6px;
}

.fas.fa-plus{
  font-size: 17px;
  padding-right: 5px;
}

/*timelapse controler*/
button.play-pause{
  border-radius: 50%;
  width: 30px;
  height: 29.5px;
  background: none;
  border: solid var(--purple-color);
  color: var(--purple-color);
  box-shadow: 0px 0px 2px var(--purple-color);
  font-size: 12px;
  cursor: pointer;
  margin-top: 5px;
  margin-left: -7px;
}
button#play{
  margin-left: 20px;
}
button#pause{
  display: none;
  margin-left: 20px;
}
button#stop{
  margin-left: 5px;
}
button.play-pause:hover{
  background-color: var(--purple-color);
  color:  #f4f4f2;
}
.fa.fa-chevron-down, .fa.fa-chevron-up{
  position: relative;
  top: 30px;
  right: -17px;
  cursor: pointer;
  height: 20px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  align-content: center;
  visibility: hidden;
}
.fa.fa-chevron-down:hover, .fa.fa-chevron-up:hover{
  background-color: rgba(165, 45, 122, 0.21);
}
.fa.fa-chevron-down{
  visibility: visible;
   left: 37px!important;
}

input.timelapse-date, #from, #to{
  width: 120px;
  display: block;
  margin-top: 5px;
  margin-left: 10px;
  border: solid var(--purple-color) 2px;
  border-radius: 7px;
  height: 20px;
  text-align: center;
  font-weight: bold;
  background: none;
  color: #a75fdc;
  font-family: var(--font-family);
  font-size: 13px;
}
.timelapse-info{
  visibility: hidden;
  display: flex!important;
  align-items: flex-end!important;
  flex-direction: row;
  top: 185px!important;
  height: 70px!important;
  align-content: center;
  flex-wrap: wrap;
}

#timelapse-info-text{
  margin-top: 5px;
  margin-left: 10px;
}

#from, #to {
  width: 100px;
  margin-right: 5px;
  margin-left: 5px;
}
label#from-label, label#to-label{
  margin-top: 5px;
}

input.timelapse-date:focus-visible{
  outline: none;
  border: solid var(--purple-color) 2px;
  color: var(--purple-color);
}

span.timelapse-text, spam.timelapse-info-text{
  display: block;
  margin-top: 3px;
  margin-left: 35px;
  font-size: 15px;
}
.controlers {
  position: relative;
  left: 10px;
  width: 300px;
  height: 200px;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  justify-content: space-evenly;
  z-index: 9;
}

.vis-controler, .timelapse-controler, .timelapse-info{
  margin-top: 5px;
  height: 40px;
  width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f2;
  font-size: 15px;
  font-family: var(--font-family);
  font-weight: bold;
  color: var(--purple-color);
  border-radius: 13px;
  box-shadow: 3px 3px 13px 0px rgba(157, 15, 162, 0.14);
}

.timelapse-controler{
  top: 115px;
  height: 65px!important;
  justify-content: start;
  flex-wrap: wrap;
}
.timelapse{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-left: -30px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 17px;
  margin: 7px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color:#7930b1;
  -webkit-transition: .4s;
  transition: 0s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 2px;
  bottom: 1px;
  background-color: #f4f4f2;
  -webkit-transition: .4s;
  transition: 0s;
}

input:checked + .slider {
  background-color: #a75fdc;
}

input:focus + .slider {
  box-shadow: 0 0 1px #a75fdc;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/*Select Tap Style*/
.select-tab, .notice-tab{
  position: absolute;
  display: block;
  top: 150px;
  left: 50%;
  margin-left: -150px;
  width: 300px;
  height: 170px;
  background-color: #f4f4f2;
  border-radius: 7px;
  text-align: center;
  box-shadow: 3px 3px 13px 0px rgba(157, 15, 162, 0.14);
  visibility: hidden;
  transition: all 0.4s linear;

}
.select-btn {
  position: absolute;
  display: block;
  left: 50%;
  margin-left: -90px;
  width: 180px;
  height: 30px;
  background-color: #f4f4f2;
  border-radius: 7px;
  border-color: var(--purple-color);
  border-style: solid;
  border-width: 1px;
  font-size: 15px;
  color: var(--purple-color);
  font-family: var(--font-family);
  padding: 5px 10px;
  position: absolute;
  border: none;
  box-shadow:
  2px 3px 5px rgba(157, 15, 162, 0.14);
}
#notice-text{
  font-family: var(--font-family);
  color: #a75fdc;
  padding: 15px;
  padding-top: 20px;
  text-align: center;
  font-size: 15px;
}
#notice-btn{
  text-decoration: none;
  font-weight: 500;
  width: 100px;
  margin-left: -125px;
}
#notice-close-btn{
  position: relative;
  width: 100px;
  margin-left: 10px;
  background: #a75fdc;
  color: #fff;
}
#loc-on-map{
  margin-top: 40px;
}
#geo-loc{
  margin-top: 90px;
}

/*Comment Form Style*/
.comment-form{
  position: absolute;
  display: block;
  top: 0px;
  left: 50%;
  margin-left: -150px;
  height: 370px;
  width: 300px;
  background-color: #f4f4f2;
  border-radius: 13px;
  z-index: 10;
  text-align: left;
  box-shadow: 3px 3px 13px 0px rgba(157, 15, 162, 0.14);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s linear;

}

i.fa.fa-times{
  margin-right: 20px;
  margin-top: 20px;
  float: right;
  font-size: 15px;
  cursor: pointer;
  padding: 5px;
  color: var(--purple-color);
}


.form-title{
  font-size: 15px;
  margin-top: 40px;
  padding-bottom: 15px;
  padding-left:20px;
  color: var(--purple-color);
  font-weight: bold;
  font-family: var(--font-family);
}
textarea#your-name{
  margin-left: 20px;
  border: 0;
  border-bottom: 1px solid var(--purple-color);
  width: 80%;
  height: 25px;
  margin-bottom: 20px;
  margin-top: 20px;
  outline: 0;
  background: transparent;
  box-shadow: 0px;
  resize: none;
  color:var(--purple-color);
}
textarea#your-comment{
  margin-left: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-bottom: 1px solid var(--purple-color);
  width: 80%;
  height: 50px;
  outline: 0;
  background: transparent;
  resize: none;
  color:var(--purple-color);
}

#date-label{
  margin-left: 20px;
  padding-right: 0px;
  font-family: monospace;
  color: var(--purple-color);
  font-size: 13px;
  opacity: 0.7
}

input#your-date{
  border-radius: 7px;
  border-color: #a75fdc;
  border-width: 1px!important;
  border: solid #a75fdc;
  color: #a75fdc;
  padding: 3px;
  background-color: #f4f4f2;
  opacity: 0.7
}

input#your-date:hover-visible{
  outline: none;
}

textarea#your-name:focus, textarea#your-comment:focus {
  outline: none;
  border-bottom: 2px solid var(--purple-color);
  background-color: transparent;
  color:  var(--purple-color);
  font-weight: 500;
}


#upload-btn, #close-info-btn{
  display: block;
  margin-top: 25px;
  width: 70px;
  padding: 7px 0;
  background-color: #f4f4f2;
  border-radius: 7px;
  border-color: var(--purple-color);
  border-style: solid;
  border-width: 1px;
  font-weight: bold;
  color:var(--purple-color);
  border: none;
  box-shadow:
  2px 3px 5px rgba(157, 15, 162, 0.14);
}

#upload-btn{
  margin-left: 115px;
}

#close-info-btn{
  margin-right: 15px;
  margin-top: 10px;
}

#upload-btn:hover, #close-info-btn:hover{
  background-color:var(--purple-color);
  color: #f4f4f2;
  cursor: pointer;
  box-shadow: 0px 0px 6px 0px var(--purple-color);
  border: none;
}

svg{
  cursor: pointer;
}
.mapboxgl-popup-content{
  border-radius: 10px!important;
}
.mapboxgl-popup-close-button{
  font-size: 20px;
  font-weight: bold;
  color: var(--purple-color);
}
.mapboxgl-popup-close-button:hover{
  background: none!important;
}
.mapboxgl-popup-close-button:focus-visible{
  outline: none;
}
.mapboxgl-ctrl-geocoder--input:focus{
  outline: none!important;
}
.mapboxgl-ctrl-geocoder{
  box-shadow: 2px 3px 5px rgba(157, 15, 162, 0.14)!important;
}
.mapboxgl-ctrl-top-right .mapboxgl-ctrl{
  border-radius: 7px;
}
input.mapboxgl-ctrl-geocoder--input{
  background: #f4f4f2;
  border-radius: 7px;
}
.popup-content{
  padding: 10px;
  color: var(--purple-color);
  width: 250px;
  overflow-wrap: break-word;
  font-size: 14px;

}

.mapboxgl-popup.mapboxgl-popup-anchor-bottom{
    max-width: 500px!important;
}

.extra-map-btns{
  position: absolute;
  right: 10px;
  width: 29px;
  height: 29px;
  display: block;
  padding: 0;
  outline: none;
  border: 0;
  box-sizing: border-box;
  background-color: #fff;
  cursor: pointer;
  overflow: hidden;
  border-radius: 5px;
  box-shadow: 0 0 0 2px rgb(0 0 0 / 10%);
  font-size: 15px;
  color: #333;
  visibility: hidden;
}
.extra-map-btns:not(:disabled):hover {
    background-color: rgb(247 244 244);
}
#info-btn{
  top: 245px;
}

#download-btn{
  top: 285px;
}


.info-tab{
  visibility: hidden;
  position: fixed;
  opacity: 0;
  left: 50%;
  margin-left: calc(-20%);
  width: 40%;
  height: 470px;
  background: #f4f4f2;
  border-radius: 13px;
  align-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  color: #a75fdc;
  justify-content: center;
  padding: 20px;
  font-size: 17px;
  font-family: var(--font-family);
  box-shadow: 3px 3px 13px 0px rgb(157 15 162 / 14%);
  z-index: 2000;
  transition: all 0.3s linear;

}

.info-background{
  visibility: hidden;
  position: fixed;
  top: 50px;
  width: 100%;
  height: 100%;
  background: #ff00c114;
  z-index: 1999;
}

h1#info-header{
  margin-top: 10px;
  padding-bottom: 20px;
  font-family: 'Dosis', sans-serif;
}

.info-header{
  position: relative;
  height: 120px;
}

.info-content{
  position: relative;
  height: 300px;
  overflow-x: hidden;
  overflow-y: scroll;
  word-wrap: normal;
}

.info-footer{
  position: relative;
  height: auto;
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
  flex-direction: row;
}

.chart-area{
  position: absolute;
  bottom: 30px;
  margin-left: calc(2.5%);
  width: 95%;
  height: 200px;
  border-radius: 13px;
  box-shadow: 4px 7px 20px 0px rgb(157 15 162 / 14%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 8;
  transition: all 0.1s linear;
}
#chart-cls-btn{
  height: 30px;
  width: 30px;
  position: absolute;
  top: 11px;
  right: 11px;
  font-size: 25px;
  background: none;
  border: none;
  font-weight: 600;
  border-radius: 50%;
  color: var(--purple-color);
  cursor: pointer;
  z-index: 2;
}

#chart-cls-btn:hover{
  background: var(--purple-color);
  color: white;
}
#show-chart-btn{
  position:absolute;
  bottom: 60px;
  left: 8px;
  display: flex;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  justify-content: center;
  align-items: center;
  align-content: space-around;
  border: none;
  background-color: #f4f4f2;
  color: #a75fdc;
  box-shadow: 0px 0px 9px 3px rgb(157 15 162 / 14%);
  font-size: 18px;
  visibility: hidden;
}

#line-chart{
  opacity: 1;
  position: relative;
  height: 95%!important;
  width: 95%!important;
}
.controlers-btn{
  visibility: hidden;
  position: absolute;
  top: 60px;
  left: 8px;
  display: flex;
  width: 50px;
  height: 50px;
  border-radius: 13px;
  justify-content: center;
  align-items: center;
  align-content: space-around;
  border: none;
  background-color: #f4f4f2;
  color: #a75fdc;
  box-shadow: 0px 0px 9px 3px rgb(157 15 162 / 14%);
  font-size: 18px;
}
#close-controlers-btn {
  position: absolute;
  visibility: hidden;
  margin: 0;
  font-size: 25px;
  color: #710493;
}
#close-controlers.fa.fa-times{
  margin: 0;
  font-size: 25px;
  color: #710493;
}
#show-controlers-btn{
  visibility: hidden;
  position: absolute;
}


/*media*/
@media only screen and (max-width: 840px) {
  .select-tab{
    top: 200px!important;
  }

}
@media only screen and (max-width: 640px) {
  .controlers{
    position: absolute;
    bottom: 100px;
    visibility: hidden;
  }
  .controlers-btn{
    visibility: visible;
  }
  #show-controlers-btn{
    visibility: visible;
  }
  .chart-area{
    height: 150px;
  }
  .fa.fa-chevron-down{
    visibility: hidden;
  }
  #info-btn{
    top: 255px;
  }
  #download-btn{
    top: 293px;
  }
  h1#info-header{
    font-size: 28px;
  }
  .info-tab{
    margin-left: calc(-30%);
    width: 60%;
  }
  .mapboxgl-ctrl-geocoder.mapboxgl-ctrl{
    width: 150px!important;
  }
}
@media only screen and (max-width: 600px) {


  .info-tab{
    margin-left: calc(-40%);
    width: 70%;
  }
}
@media only screen and (max-height: 300px) {

  h1#info-header{
    font-size: 23px;
  }
}
