.main-header {
  z-index: 90;
  position: absolute;
}

.img #logo_header {
  z-index: 91;
  position: absolute;
}

#sidebar {
  padding: 1vh;
  position: absolute;
  width: 5.5vh;
  height: 50vh;
  top: 16%;
  left: 1vw;
  z-index: 5;
  text-align: center;
  border-radius: 6px;
  background-color: #043655;
  color: rgb(255, 255, 255);
  transition: all 0.6s cubic-bezier(0.945, 0.02, 0.27, 0.665);
  transform-origin: bottom left;
}

#sidebar .headersidebar {
  padding: 0px 0px 20px 0px;
}

#sidebar ul.components {
  padding: 20px 0;
  border-bottom: 1px solid #47748b;
}

#sidebar ul li a {
  display: block;
}

.close {
  z-index: 15;
  position: absolute;
  font-size: 1.6em;
  color: rgb(255, 255, 255);
  top: 2%;
  right: 5%;
}

.menu {
  position: absolute;
  padding: 1vh 1vh 1vh 1vh;
  width: 24vw;
  height: 75vh;
  z-index: 10;
  top: 15%;
  left: 2%;
  background: #ffffff;
  color: black;
  border-radius: 6px;
  margin: auto;
  /* display: none; */
}
.cari {
  position: absolute;
  padding: 1vh 1vh 1vh 1vh;
  width: 23vw;
  height: 7vh;
  z-index: 11;
  top: 5%;
  left: 2%;
  background: #ffffff;
  color: black;
  border-radius: 6px;
}

.picture {
  position: absolute;
  padding: 1vh 1vh 1vh 1vh;
  width: 30vw;
  height: 50vh;
  z-index: 10;
  top: 18%;
  right: 2%;
  background: #ffffff;
  color: black;
  border-radius: 6px;
  margin: auto;
  display: none;
}
#legend {
  overflow-y: scroll;
}

.menu-header {
  padding: 1vh 1vh 1vh 1vh;
  font-size: 1vh;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  color: #fff;
  vertical-align: baseline;
  word-wrap: break-word;
  margin: 0px;
  height: 8vh;
  background: #3b544e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu-header-picture {
  padding: 1vh 1vh 1vh 1vh;
  font-size: 1vh;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  color: #fff;
  vertical-align: baseline;
  word-wrap: break-word;
  margin: 0px;
  height: 6vh;
  background: #3b544e;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-layer {
  height: 32vh;
  overflow: auto;
}

.menu-footer {
  padding: 6vh 1vh 5vh 1vh;
  margin: 0px;
  height: 5vh;
  text-align: center;
  background: #ffffff;
}

.menu-info {
  padding: 1vh 1vh 4vh 1vh;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1.7vh;
  height: 12vh;
  vertical-align: baseline;
  word-wrap: break-word;
}

.card-layer {
  height: 6vh;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 0.85em;
  height: auto;
  margin-top: 0.7vh;
}

#sidebar .bottom_menu {
  padding: 10px;
}

a {
  color: white;
}
/* color for active link */
a.active {
  color: grey;
}
/* hide submenu's by default */
ul > li > ul {
  display: none;
}

a {
  color: white;
}
/* color for active link */
a.active {
  color: grey;
}
a:hover {
  color: grey;
}
/* hide submenu's by default */
ul > li > ul {
  display: none;
}

#map {
  padding: 20px;
  width: 100%;
  height: 100vh;
  transition: all 0.3s;
  position: relative;
  z-index: 1;
}


.container {
  display: flex;
}

.bottom_menu {
  position: absolute;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  bottom: 2%;
}

.lingkaran {
  display: inline-block;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #211a84;
  color: white;
  font-size: 20px;
  margin: 0 10px;
  border: none;
  cursor: pointer;
  text-align: center;
  line-height: 50px;
  text-decoration: none;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.lingkaran:hover {
  background-color: #3046ea;
}


.lingkaran:active {
  transform: scale(0.9);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}

.close-button {
  color: white;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 2em;
  padding: 0 0 1.8em 0;
  margin: 0;
}

.dimensi_block {
  position: absolute;
  padding: 0vh 0vh 0vh 0vh;
  width: 30vw;
  height: 65vh;
  z-index: 9;
  top: 12%;
  right: 2%;
  background: #ffffff;
  color: black;
  border-radius: 6px;
  margin: auto;
  display: none;
}

.dimensi {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

gltf-modelviewer {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 80%;
}

gltf-modelviewer canvas {
  width: 100%;
  height: 100%;
}

@media only screen and (max-width: 767px) {
  .main-header {
    top: 0%;
    z-index: 90;
    position: absolute;
  }
  .menu {
    position: absolute;
    padding: 1vh 1vh 1vh 1vh;
    width: 70vw;
    height: 75vh;
    z-index: 10;
    top: 15%;
    left: 15%;
    background: #ffffff;
    color: black;
    border-radius: 6px;
    display: none;
  }
  .menu-layer {
    height: 24vh;
    overflow: auto;
  }
  .menu-header {
    font-size: 0.1em;
  }

  h3{
    font-size: 1.5rem;
  }

  h4{
    font-size: 1rem;
  }

  .formProfiling{
    font-size: 10px;
    justify-content: center;

  }

  .lingkaran {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3b544e;
    color: white;
    font-size: 17px;
    margin: 0 7px;
    border: none;
    cursor: pointer;
    text-align: center;
    line-height: 37px;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
  }
  
  .lingkaran:hover {
    background-color: #4d6c65;
  }
  
  
  .lingkaran:active {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
  .picture {
    position: absolute;
    padding: 1vh 1vh 1vh 1vh;
    width: 80vw;
    height: 40vh;
    z-index: 10;
    top: 10%;
    right: 12%;
    background: #ffffff;
    color: black;
    border-radius: 6px;
    margin: auto;
    display: none;
  }
  .cari {
    position: absolute;
    /*padding: 1vh 1vh 1vh 1vh;*/
    width: 70vw;
    height: 7vh;
    z-index: 11;
    top: 1.5%;
    left: 2%;
    background: #ffffff;
    color: black;
    border-radius: 6px;
  }
  
  .form-control {
    font-size: 11px;
    width: 50vw;
    height: 5vh;
  }
  .btn {
    font-size: 11px;
    width: 14vw;
    height: 5vh;
  }
  
}


