.active {
    background: #019393;
    border-radius: 10px;
}

.sub-active {
    background: #019393;
    font-weight: bold;
    color: white !important;
}

.active.nav-item .nav-link {
    color: white;
    font-weight: bolder;
}

.gallery-image {
    width: 100%;
    margin: 5px;
    aspect-ratio: 4 / 3; /* atur tinggi sesuai kebutuhan */
    object-fit: cover;
    border-radius: 10px;
}

.text-table-header {
    color: #fff !important;
}

.vh-80 {
    height: 80vh !important;
}

.news-image {
    max-height: 450px;
}

.floating-button.cancel{
  background-image:linear-gradient(310deg,#f53939,#fbcf33);
  /* background-color: rgb(48, 127, 158); */
  height: 45px;
  width: 45px;
}

.floating-button.cancel:hover{
  transform: scale(1.1);
}

.btn-excel {
    background: #13bb6d;
    color: #fff;
}

.btn-refresh {
    background: #720159;
    color: #fff;
}

.preview-file {
    height: 80vh;
    width: 100%;
}

.btn-refresh:hover {
    background: #fff;
    color: #720159;
}

.icon-refresh {
    color: #fff;
}

.btn-refresh:hover>.icon-reset {  
    color: #720159;
}

.modal-header {
    padding-top: 5px;
    padding-bottom: 5px;
}

.btn-close {
    padding-top: 5px!important;
}

.btn-excel:hover {
    background: #fff;
    color: #13bb6d;
}

.icon-excel {
    color: #fff;
}

.btn-excel:hover>.icon-excel {  
    color: #13bb6d;
}

.btn-reset {
    background: #640101;
    color: #fff;
}

.btn-reset:hover {
    background: #fff;
    color: #640101;
}

.icon-reset {
    color: #fff;
}

.btn-reset:hover>.icon-reset {  
    color: #640101;
}

.btn-show {
    background: #1e73ac;
    color: #fff;
}

.btn-show:hover {
    background: #fff;
    color: #1e73ac;
}

.bg-header-table {
    background-image: linear-gradient(344deg, #3b4483 0%, #22358f 30%,#16197c 100%);
}

.bg-filter {
    background-color: #74819540;
}

.filter-padding {
    padding: 3px 5px;
}

.scroll::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 10px;
}

.scroll::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    background-color: transparent;
}

.scroll::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-image: -webkit-gradient(linear,
                    left bottom,
                    left top,
                    color-stop(0.44, rgb(167, 28, 104)),
                    color-stop(0.72, rgb(143, 34, 66)),
                    color-stop(0.86, rgb(104, 8, 72)));
}

.scroll-table::-webkit-scrollbar-track {
    background-color: transparent;
    border-radius: 10px;
}

.text-link {
    color: #1a1a7a !important;
    font-weight: 600 !important;
}

.scroll-table::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: transparent;
}

.scroll-table::-webkit-scrollbar-thumb {
    border-radius: 40px;
    background-image: -webkit-gradient(linear,
                    left bottom,
                    left top,
                    color-stop(0.44, rgb(22, 10, 133)),
                    color-stop(0.72, rgb(45, 44, 143)),
                    color-stop(0.86, rgb(14, 34, 100)));
}

.focus\:outline-none:focus {
    outline: 4px solid #90e0ff63;
    outline-offset: 0px;
}

.page-item.active{
  background: none;
}

.pencarian::placeholder {
    color: rgba(66,153,225,0.9);
}

.pencarian:-ms-input-placeholder {
    color: rgba(66,153,225,0.9);
}

.pencarian::-ms-input-placeholder {
    color: rgba(66,153,225,0.9);
}

.table-striped>tbody>tr:nth-of-type(odd) {
    --bs-table-accent-bg: rgb(203 40 40 / 0%);
    border-bottom: 1px solid #c5c5c5;
}

.table-striped>tbody>tr:nth-of-type(even) {
    --bs-table-accent-bg: rgb(203 40 40 / 0%);
    border-bottom: 1px solid #c5c5c5;
}

#card-medical, #card-global, #part-project, #part-approver {
    background: #c7c7c7;
    color: #fff;
}

.dropdown-menu[data-bs-popper] {
    margin-top: 0px!important;
}

#emp_card{
  width: 354px;
  height: 602px;
  background-image: url("../img/card.png");
  background-size: cover;
  position: relative
}

.employee-image{
  border-radius: 20px;
  height: 200px;
  width: 200px;
  border: #45a3e1 5px solid;
}

.image-logo{
  border-radius: 10px;
  max-height: 70px;
  max-width: 70px;
  background-color: fff;
  border: #fff 1px solid;
  position: absolute;
  top: 10;
  left: 10;
}

.text-custom-blue{
  color: #45a3e1;
}

.emp-card-parent{
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
    .nav-item.dropdown.active>.dropdown-menu>.dropdown-item {
        color:white;
    }

    #menu {
        background: white;
    }

    .nav-item.dropdown.active>.dropdown-menu>.dropdown-item.active {
        color:white;
    }

    .dropdown-menu.dropdown-menu-end.px-2.py-2.me-sm-n4.show {
        max-width: 300px;
    }
    
    .dropdown-item {
        color: #fff !important;
    }
    
    
}

@media (max-width:  320px){
  #emp_card{
    width: 295px;
    height: 502px;
    background-size: 295px 502px;
  }
  
  .dropdown-item {
    color: #fff !important;
    }
}

.modal-body {
  max-width: 100%;
  overflow-x: auto;
}