body {
  margin: 0;
  padding: 0;
}

#map {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
}



/* 3D icon  */

.toggle-3d-container{
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1;
  width: 30px;
  height: 30px;
  background-color: #25292d;
  padding: 5px;
  opacity: 0.7;
}

.icon {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: #e8e1e1; 
opacity: 0.5;
}

.icon:hover {
  background-color: #d5c1c1; 
  opacity: 1;
}

.legendicon {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: #e8e1e1; 
  opacity: 0.5;
}

.legendicon:hover {
  background-color: #e8e1e1; 
  opacity: 1;
}
.polygonicon {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: #e8e1e1; 
opacity: 0.5;
  
  /* padding: 5px 5px;
  color: #fff; */
}
.polygonicon:hover {
  background-color: #e8e1e1; 
  opacity: 1;
}
.lanicon {
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: #e8e1e1; 
opacity: 0.5;
  /* padding: 5px 5px;
  color: #fff; */
}
.lanicon:hover {
  background-color: #e8e1e1; 
  opacity: 1;
}

.polygon{
  cursor: pointer;
  position: absolute;
  top: 90px;
  right: 20px;
  
  width: 30px;
  height: 30px;
  background-color: #29323C;
  opacity: 0.7;
  padding: 5px;
  color: #fff;
  margin-top: 20px;
}
.language{
  cursor: pointer;
  position: absolute;
  top: 120px;
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: #29323C;
  opacity: 0.7;
  padding: 5px;
  margin-top: 40px;
  /* padding: 5px 5px;
  color: #fff; */
}

#menu {
  display: none;
  background: #fff;
  position: absolute;
  z-index: 1;
  top: 130px;
  right: 70px;
  border-radius: 3px;
  width: 80px;
  border: 1px solid rgba(0, 0, 0, 0.4);
  font-family: "Open Sans", sans-serif;
}

/* Layers of and On css start */

#menu a {
  font-size: 13px;
  color: #404040;
  display: block;
  margin: 0;
  padding: 0;
  padding: 10px;
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  text-align: center;
}

#menu a:last-child {
  border: none;
}

#menu a:hover {
  background-color: #f8f8f8;
  color: #404040;
}

#menu a.active {
  background-color: #3887be;
  color: #ffffff;
}

#menu a.active:hover {
  background: #3074a4;
}

/* Layers of and On css End */


/* Mapbox Controls css */
.mapboxgl-ctrl-top-right{
  top: 40px;
  right: 60px !important;
}

.click{
  cursor: pointer;
  position: absolute;
  top: 50px;
  right: 20px;
  width: 30px;
  height: 30px;
  background-color: #29323C;
  opacity: 0.7;
  padding: 5px;
  margin: 10px 0px;
  
}



/* legend */
#legend {
  display: none ;
  position: absolute;
  /* display: flex; */
  flex-direction: column;
margin-top: 20px;
  width: 140px;
  top: 0px;
  right: 70px;
  z-index: 10;
  font-family: Arial, sans-serif;
  background: #242730;
  padding: 10px;
  
  border: 3px solid #000;
}
.header {
  font-size: 1rem;
  color: #f8f8f8;
  justify-content: center;
  align-items: center;
  margin-top: -5px;
 
}
.legend-background{
  
  background-color: #29323c;
    padding: 20px 1px;
    margin-top: -10px;
    width: 100%;
    margin-right: -23px;
    height: 7px;
}

/* .legend-item {
  display: flex;
  flex-direction: column;
  margin-top: -40px;
} */
.legend-item {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 2px;
}
.title {
  color: #f8f8f8;
  margin-top: 7px;
}
.color{
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  margin-top: -18px;

}
.legend-header{
  display: flex;
  flex-direction: column;
  justify-items: flex-start;
  align-items: start;
  margin-top: -9px;

}
.value{
  color: #9da4af;
  font-size: 10px;
}
.legend-name {
  color: #636a77;
  font-size: 12px;
  margin-top: 4px;
}
.legend-color1 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #FFC301;
}
.legend-color2 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #E37C0B;
}
.legend-color3 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #C84512;
}
.legend-color4 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #AC1D18;
}
.legend-color5 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #5B1947;
}
.legend-color6 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #AC1C17;
}
.legend-color7 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #911932;
}
.legend-color8 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #5B1947;
}
.legend-color9 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #6B1E4B;
}
.legend-color10 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #5A1846;
}
.legend-color11 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #3F0E40;
}
.legend-color12 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #2E0B2C;
}
.legend-color13 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #8B008B;
}
.legend-color14 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #FFC300;
}
.legend-color15 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #00008b;
}
.legend-color16 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #0000ff;
}
.legend-color17 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #FF00FF;
}
.legend-color18 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #800080;
}
.legend-color19 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #ff0000;
}
.legend-color20 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #825757;
}
.legend-color21 {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #580000;
}
.stoke-color {
  width: 20px;
  height: 10px;
  margin: 5px;
  background-color: #261a10;
}
.line {
  width: 100%;
  height: 0.2px;
  color: #3a414c;
}
.langline {
  width: 60%;
  height: 0.05px;
  color: #3a414c;
}

.mapboxgl-ctrl-top-right {
  display: none;
  top: 80px;
  right: 35px;
}
/* Language Css */
#translate {
  display: none;
  position: absolute;
  top: 50px;
  right: 70px;
  /* display: flex; */
  justify-content: space-between;
  align-items: center;
  flex-direction: column;
  background-color: #3A414C;
  width: 80px;
  height: auto;
  
  z-index: 10;
  /* z-index: 10; */
}

.lang{
  justify-items: center;
  align-items: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  padding: 2px;
  margin: 10px 5px;
  color: #fff;
  cursor: pointer;
}
.mapboxgl-popup-content {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 18px;
  color: #f3e8e8;
  background-color: #29323C;
  padding: 10px;
  font-weight: 400;
  text-align: left;
  max-width: 250px;
}
.mapboxgl-popup-close-button{
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 12px;
}


