.app-header {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    background-color: #209320;
    z-index: 1030;
    padding-right: 15px;
}

@media (min-width: 768px) {
    .app-header__logo {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        display: block;
        width: 230px;
        background-color: #209320;
    }
}

.treeview.is-expanded [data-toggle='treeview'] {
    border-left-color: #009688;
    background: #1a761a;
}

.treeview-item.active, .treeview-item:hover, .treeview-item:focus {
    background: #1a761a;
    text-decoration: none;
    color: #fff;
}

.app-menu__item.active, .app-menu__item:hover, .app-menu__item:focus {
    background: #1a761a;
    border-left-color: #009688;
    text-decoration: none;
    color: #fff;
}

.treeview-menu
 {
    max-height: 0;
    overflow: hidden;
    -webkit-transition: max-height 0.3s ease;
    -o-transition: max-height 0.3s ease;
    transition: max-height 0.3s ease;
    background: #329e20;
}

.app-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    padding-top: 70px;
    width: 230px;
    overflow: auto;
    z-index: 10;
    background-color: #209320;
    -webkit-box-shadow: 0px 8px 17px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 8px 17px rgba(0, 0, 0, 0.2);
    -webkit-transition: left 0.3s ease, width 0.3s ease;
    -o-transition: left 0.3s ease, width 0.3s ease;
    transition: left 0.3s ease, width 0.3s ease;
}

a {
    color: #18af1e;
    text-decoration: none;
    background-color: transparent;
    -webkit-text-decoration-skip: objects;
}

/* warna paging datatables */
/* yang terpilih */
.page-item.active .page-link {
    z-index: 1;
    color: #FFF;
    background-color: #18af1e;
    border-color: #18af1e;
}
/* yang tidak terpilih */
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #18af1e;
    background-color: #FFF;
    border: 1px solid #dee2e6;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-weight: bold;
    line-height: 1.2;
    color: #1c611f;
}

body {
    margin: 0;
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #1c611f;
    text-align: left;
    background-color: #FFF;
}

.btn-primary {
    color: #FFF;
    background-color: #08530a;
    border-color: #08530a;
}

.btn-primary:hover {
  color: #FFF;
  background-color: #105502;
  border-color: #105502;
}

/* Responsive table: stacked cards on mobile */
.table-responsive .table{width:100%;max-width:100%;}
@media (max-width:767.98px){
    .table-responsive{overflow-x:hidden;}
    .table-responsive table thead{display:none!important;}
    .table-responsive table, .table-responsive tbody, .table-responsive tr, .table-responsive td{display:block;width:100%;}
    .table-responsive tr{margin-bottom:1rem;border:1px solid #ddd;padding:0.5rem;border-radius:4px;background:#fff;}
    .table-responsive td{padding:0.5rem 0.25rem;white-space:normal;text-align:left;word-break:break-word;hyphens:auto;}
    .table-responsive td::before{content:attr(data-label);font-weight:600;display:inline-block;width:35%;max-width:120px;margin-right:0.5rem;color:#333;}
    .table-responsive td a{white-space:normal;display:inline-block;}
}

/* Stronger rules to avoid overrides by Bootstrap or other styles */
@media (max-width:767.98px){
    .table-responsive{overflow-x:hidden !important;}
    .table-responsive > table, .table-responsive > table > tbody, .table-responsive > table > tbody > tr, .table-responsive > table > tbody > tr > td{
        display:block !important;
        width:100% !important;
        box-sizing:border-box !important;
    }
    .table-responsive > table > thead{display:none !important;}
    .table-responsive td{word-break:break-word !important;white-space:normal !important;max-width:100% !important;}
    .table-responsive td::before{content:attr(data-label) !important;display:inline-block !important;font-weight:600 !important;width:35% !important;max-width:120px !important;margin-right:0.5rem !important;color:#333 !important;}
    .table-responsive table{table-layout:fixed !important;}
    .table-responsive img, .table-responsive iframe{max-width:100% !important;height:auto !important;}
}