/*.pkp_brand_footer img,*/
.navbar-brand-logo {
  width: 100px !important; 
  height: 100px !important;
  padding: 0 15px 15px 15px;
}

/*.container-fluid:nth-of-type(2) {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: flex-end;*/
/*    padding-bottom: 20px;*/
/*}*/

/*.navbar-collapse.collapse {*/
/*    width: 100%;*/
/*    display:flex !important;*/
/*    align-items: flex-end;*/
/*    height: fit-content !important;*/
/*    justify-content: flex-end;*/
/*    padding-bottom: 20px;*/
/*}*/

/*@media (max-width: 768px) {*/
/*  .navbar-collapse.collapse {*/
/*    display: block;*/
/*  }*/
/*}*/

/*@media (min-width: 768px) {*/
/*    .navbar-collapse.collapse {*/
/*        display: block !important;*/
/*        height: auto !important;*/
/*        padding-bottom: 0;*/
/*        overflow: visible !important;*/
/*        direction: rtl;*/
/*        text-align: left;*/
/*    }*/
/*}*/

@media (min-width: 768px) {
    .navbar-collapse {
        /*position: relative;*/
        width: auto;
        border-top: 0;
        box-shadow: none;
        text-align: right;
        /*vertical-align: text-bottom;*/
        height: 100px !important;
        padding-top: 30px;
        /*direction: rtl;*/
    }
}

@media (min-width: 768px) {
    .navbar-nav {
        float: none;
        margin: 0;
        vertical-align: bottom;
        display: inline-block;
    }
}

@media (min-width: 992px) {
    .pull-md-right {
        float: none;
        vertical-align: bottom;
        /*direction: rtl;*/
        display: inline-block;
    }
}

.journal-box {
  background: #F5F7FA;
  border: 2px solid black;
  /*border-radius: 10px;*/
  /*padding: 20px;*/
  /*margin: 20px auto;*/
  width: fit-content;
  max-width: 900px;
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.1);*/
}

.journal-box th {
  /*background: #f4f4f4;*/
  text-align: left;
  padding: 10px;
  width: fit-content;
  
}

.journal-box tr{
 line-height: 1;
}

.journal-box td {
  /*border: 1px solid #ddd;*/
  padding: 10px;
  font-weight: bold;
  /*background-color: red;*/
}

.nav-icons {
  display: flex;
  width: 100%;
  flex-wrap: wrap; /* biar responsif */
  /*justify-content: center;*/
  /*gap: 20px;*/
  border-top: 1px solid #ddd;
  /*border-bottom: 1px solid #ddd;*/
  padding: 20px 0 20px 0;
  
  /*background-color: red;*/
}

.nav-item {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  /*background: #f8f9fa;*/
  padding: 10px 15px;
  /*border-radius: 8px;*/
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: 0.3s;
  color: #333;
  font-size: 24px;
  font-weight: bold;
  /*background-color: #1976D2;*/
}

.nav-item:hover {
  background: #ddd;
  color: black;
  text-decoration: none;
}

.nav-item img {
  width: 64px;
  height: 64px;
}

.nav-item span {
  font-weight: 500;
  font-size: 56px;
}

/* Wrapper utama sidebar */
.custom-sidebar {
  list-style: none;
  margin: 0;
  padding: 0;
  background-color: #0D47A1 !important;
  /*border-radius: 8px;*/
  /*border: 1px solid #ddd;*/
  /*box-shadow: 0 2px 5px rgba(0,0,0,0.05);*/
  overflow: hidden;
  width: 100%;
  max-width: 320px; 
}

.custom-sidebar li {
    border: none !important; 
    padding: 0 !important;
    background-color: transparent !important;
}

/* Setiap item link */
.custom-sidebar li a {
  display: block;
  padding: 12px 18px;
  text-decoration: none;
  color: white;
  font-size: 15px;
  font-weight: bold;
  border: none !important; 
  transition: all 0.25s ease;
}

/* Hover dan efek aktif */
.custom-sidebar li a:hover {
  background-color: #1565C0;
  color: #fff;
  /*padding-left: 22px;*/
}

.custom-sidebar li:last-child a {
  border-bottom: none;
}

/* (Optional) active state */
.custom-sidebar li.active a {
  background-color: #2c37ab;
  color: #fff;
  font-weight: 600;
}

/* Description */
.desc {
    margin-top: 20px;
    padding: 20px 0 20px 0;
    border-top: 1px solid #ddd;
}

.desc .title {
    font-weight: bold;
}

.desc p {
    text-align: justify; 
}

.pkp_structure_page {
    background-color: #F5F7FA;
}

.pkp_structure_content {
    background-color: white;
}


.container-fluid {
    background-color: #002171;
}

.container-fluid a:hover{
    color: #FFC107 !important;
}

.navbar-nav li a:hover {
    color: #FFC107 !important;
}

/*.footer .container {*/
/*    display: flex;*/
/*    justify-content: start;*/
/*}*/

/*.footer .row .col-md-10 {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*}*/

/*.footer .row {*/
/*    display: block;*/
/*    justify-content: center;*/
/*}*/

.footer .row .col-md-2{
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

.journal-container{
    display: flex;
}

.journal-container img {
    width: 200px;
    height: auto;
}

/* Responsive tweak */
@media (max-width: 768px) {
  .custom-sidebar {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .pkp_structure_sidebar {
    display: none !important;
  }
}

/*Logo Galery*/

/* Wrapper utama */
.logo-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Rata tengah secara horizontal */
  align-items: center; /* Rata tengah vertikal */
  gap: 30px; /* Jarak antar logo */
  padding: 20px;
  max-width: 100%;
  box-sizing: border-box;
}

/* Setiap item logo (bungkus img-nya) */
.logo-gallery a {
  flex: 1 1 calc(25% - 20px); /* 4 logo per baris */
  max-width: calc(20% - 20px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Gaya gambar logo */
.logo-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(10%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Efek hover */
.logo-gallery a:hover img {
  transform: scale(1.05);
  filter: none;
}

/* Responsif untuk tablet */
@media (max-width: 992px) {
  .logo-gallery a {
    flex: 1 1 calc(33.33% - 20px); /* 3 logo per baris */
    max-width: calc(33.33% - 20px);
  }
}

/* Responsif untuk HP */
@media (max-width: 600px) {
  .logo-gallery a {
    flex: 1 1 calc(50% - 15px); /* 2 logo per baris */
    max-width: calc(50% - 15px);
  }
}

/*Logo Footer*/

.footer .row {
    display: flex;
}

.footer .row .col-md-2 {
    width: fit-content;
}

/* Wrapper utama */
.logo-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding: 10px 0;
  max-width: 100%;
  box-sizing: border-box;
  background: transparent; /* biar menyatu dengan footer OJS */
}

/* Setiap item (link logo) */
.logo-footer a {
  flex: 1 1 calc(25% - 15px); /* 4 logo per baris */
  max-width: calc(15% - 15px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* Logo-nya */
.logo-footer img {
  width: 80%;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
  filter: grayscale(20%);
  transition: all 0.3s ease;
}

/* Efek hover */
.logo-footer a:hover img {
  transform: scale(1.05);
  opacity: 1;
  filter: none;
}

/* Responsif tablet */
@media (max-width: 992px) {
  .logo-footer a {
    flex: 1 1 calc(33.33% - 15px); /* 3 logo per baris */
    max-width: calc(33.33% - 15px);
  }

  .logo-gallery img {
    width: 85%;
  }
}

/* Responsif HP */
@media (max-width: 600px) {
  .logo-footer a {
    flex: 1 1 calc(50% - 10px); /* 2 logo per baris */
    max-width: calc(50% - 10px);
  }

  .logo-footer img {
    width: 90%;
  }
}


