
/*@import url('../styles/font.css');*/
                

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
}

body {
  font-family: "Roboto";
  overflow-x: hidden;
  width: 100vw;
  height: 100vh;
}

.font-roboto {
  font-family: "Roboto";
}

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

#map canvas {
  height: 100vh !important;
}

.shadow-input-1 {
  box-shadow: 0px 4px 4px 0px #00000040 !important;

}

.shadow-btn-1 {
  box-shadow: 0px 5px 4px 0px #00000040;
  

}

.shadow-tool-1 {
    box-shadow: 0px 4px 4px 0px #00000040;
}




.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #386641;
  line-height: 35px;
  font-size: 15px;
  padding-left: 14px;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #386641;
  font-size: 15px;
}

.select2-container .select2-selection--single { 
   height: 35px !important;
   border-radius: 10px;
   border-color: #3866414D;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 32px;
  right: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  color: #386641;
  height: 32px;
  margin-right: 32px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  background-image: url(../images/icons/arrow-down.svg);
  background-color: transparent;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border: none !important;
  height: 32px !important;
  width: 12px !important;
  margin: auto !important;
  top: auto !important;
  left: auto !important;
}

.select2-dropdown {
  background-color: #386641;
  border: 0px solid #aaa;
  border-radius: 0px;
  box-sizing: border-box;
  display: block;
  position: absolute;
  left: -100000px;
  width: 100%;
  z-index: 1051;
  color: #ffffff;
}

.select2-container--default .select2-results__option--selected {
  background-color: #386641;
  text-decoration: underline;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #ECECEC;
  color: #386641;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
  color: #386641;
}

/* Loading */

#loading {
  width: 100vw;
  height: 100vh;
  transition: all 1s;
  background-color: #ffffff;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  
}


.loaded {
  opacity: 0;
  visibility: hidden;
}

@media only screen and (min-height: 451px) {
  .drawer-custom{
    margin-left: 10px;
    margin-right: 10px;
    width: 95% !important;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .panel-custom{
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }
}

.nav-custom{
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
}

#snackbar {
  visibility: hidden;
  min-width: 250px;
  margin-left: -125px;
  background-color: #bab9b9f0;
  color: #5c4f4f;
  text-align: center;
  border-radius: 20px;
  padding: 8px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 14px;
}

#snackbar.show {
  visibility: visible;
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

#timer {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #006271;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: bold;
  display: none;
z-index: 2;
}

.scroller-1 {
  scrollbar-color: #386641 #e8e8e8;
  scrollbar-width: thin;
}
.scroller-1::-webkit-scrollbar {
  background-color: #e8e8e8;
  width: 10px;
}

.scroller-1::-webkit-scrollbar-thumb {
  background: #386641;
  border-radius: 100px;
}

@media only screen and (max-height: 450px) {
  .info-panel {
       width: 360px !important;
       top: 60px !important;
       right: unset;
       bottom: unset;
       border-top-right-radius: 10px;
       border-bottom-right-radius: 10px
       /* margin-bottom: 10px;; */
  }

  .panel-custom{
    border-top-right-radius: 10px;
    /* border-bottom-right-radius: 10px; */
  }
}

.autocomplete {
  display: inline-block;
}

.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  top: 100%;
  left: 0;
  right: 0;
  height: 200px;
  overflow: auto;
}

.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #FFFFFFD9; 
  border-bottom: 1px solid #d4d4d4; 
  margin-left: 4px;

}

.autocomplete-items div:hover {
  background-color: #386641;
  color: #ffffff; 
}

.autocomplete-active {
  background-color: #386641 !important; 
  color: #ffffff; 
}

.splash img {
  width: 220px !important;
}


.login  {
  overflow-y: auto !important;
  height: fit-content !important;
}

.login .c-main-login  {
  height: fit-content !important;
}

.login .bg-login {
  bottom: -28px;
}

.login .top-login {
  margin-top: 16px !important;
  margin-bottom: 16px !important;
}

.login img.logo {
  height: 110px !important;
}
.login .c-form  {
  padding-top: 32px !important;
   margin-top: 32px !important;
}

.login form  {
  padding-top: 16px !important;
}


@media screen and ( min-width: 475px ) and ( min-height: 450px ) {
  .info-panel {
    width: 340px !important;
    top: 67px !important;
    right: unset;
    bottom: unset;
    margin-left: 0px !important;
  }
}

@media screen and (max-width: 474px) and (orientation: portrait) {
  /* CSS untuk ponsel dalam mode portrait */
  .inside-panel {
    max-height: 280px !important;
  }
}
