@font-face {
   font-family: Nunito;
   src: url('../2-6-font//Nunito/Nunito-Medium.ttf');
}

body {
   font-family: Nunito!important;
   font-size:10pt!important;
}






#myNavbar {
   z-index: 1000;
}
.nav-link{
   margin-left:20px!important;
   margin-right:20px!important;
   border-bottom:3px solid transparent!important;
   transition:0.2s!important;
}
.nav-link:hover{
   color:gray!important;
   font-weight:500!important;
   border-bottom:3px solid gray!important;
   transition:0.2s!important;
}
.nav-link.active{
   color:green!important;
   font-weight:500!important;
   border-bottom:3px solid green!important;
}





.dropdown-item{
   transition:0.2s!important;
   font-size:10pt;
}
.dropdown-item:hover{
   color:gray!important;
   background: rgb(250, 250, 250)!important;
   font-weight:500!important;
   transition:0.2s!important;
}
.dropdown-item:focus{
   color:gray!important;
   background: none!important;
   font-weight:500!important;
   transition:0.2s!important;
}
.dropdown-item:hover{
   color:gray!important;
   background: none;
   font-weight:500!important;
   transition:0.2s!important;
}
.dropdown-item.active{
   color:green!important;
   background-color: rgb(248, 248, 248)!important;
   font-weight:500!important;
}





.cardMenu:hover {
   transition: 0.2s;
   box-shadow:0px 0px 8px 0px green;
}
.cardMenu {
   transition: 0.2s;
   box-shadow:none;
}





.form-control:focus{
   border: 1px solid lightgray!important;
}





#alertSukses {
   position: fixed;
   display:none;
   z-index: 9999;
   top:0;
   right:0;
   left:0;
   margin: 10px 10px 0px 10px;
}
#alertGagal {
   position: fixed;
   display:none;
   z-index: 9999;
   top:0;
   right:0;
   left:0;
   margin: 10px 10px 0px 10px;
}




#span {
  display: inline-block;      /* Crucial: allows width and overflow to work */
  max-width: 170px;           /* Or any fixed width/percentage */
  white-space: nowrap;        /* Keeps the text on a single line */
  overflow: hidden;           /* Hides the text that spills out */
  text-overflow: ellipsis;    /* Adds the "..." truncation */
}