html {
  color: #000;
  font-family: Tahoma, Verdana, Helvetica, sans-serif;
}

body {
  color: #000;
  font-size: 12px;
  /* overflow-x: hidden; */
}

h1, .h1 {
  font-size: 1.5rem;
}

h2, .h2 {
  font-size: 1.4rem;
}

h3, .h3 {
  font-size: 1.3rem;
}

h4, .h4 {
  font-size: 1.2rem;
}

h5, .h5 {
  font-size: 1.1rem;
}

h6, .h6 {
  font-size: 1rem;
}

a {
  color: #9A1236;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #ff6633;
  text-decoration: none;
}

.text-link {
  color: inherit;
  text-decoration: none;
}

.text-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

label:not(.form-check-label):not(.custom-file-label) {
  font-weight: normal;
}

.form-group {
  margin-top: 0.1px;
  margin-bottom: 0.1px;
}
.form-group-sm {
  margin-bottom: 0.2px;
}
label {
  margin-bottom: 0.1rem;
}
.form-group label {
  margin-top: 0.1rem;
  margin-bottom: 0.1rem;
  padding: 1px;
}
.form-control {
  color: #000;
  background-color: #fff;
}
.form-control:focus {
  color: #000;
  background-color: #fff;
}
.form-control-static {
  min-height: 26px;
  padding: 0;
  padding-top: 4px;
  padding-bottom: 4px;
  margin-bottom: 0;
  vertical-align: middle !important;
}
.form-control-sm {
  height: calc(1.3125rem + 2px);
  padding: 1px 3px;
  font-size: 0.775rem;
}
.col-form-label {
  padding-top: calc(0.20rem + 1px);
  padding-bottom: calc(0.20rem + 1px);
}
@media (min-width: 768px) {
  .form-horizontal .col-form-label {
	text-align: right;
  }
}

@media (max-width: 575.98px) {
  .container,
  .container-fluid, .container-sm, .container-md, .container-lg, .container-xl {
    padding-right: 1px;
    padding-left: 1px;
  }
  .col-form-label {
    font-weight: 700 !important;
  }
}
.input-sm {
  height: 25px;
  padding: 2px 5px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
}
select.input-sm {
  height: 25px;
  line-height: 30px;
}
textarea.input-sm,
select[multiple].input-sm {
  height: auto;
}

.content-header {
  padding: 10px 0.5rem;
}

.content-header h1 {
  font-size: 1.2rem;
}

.breadcrumb-item > a {
  color: #444;
  text-decoration: none;
}

.content-wrapper > .content-header {
  padding: 0 0.2rem;
}

.content-wrapper > .content {
  padding: 0 0.2rem;
}

.table {
  color: #171a1c;
  font-family: Tahoma, Verdana, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
  /* line-height: 1.4; */
}

.table > thead > tr > th {
  vertical-align: middle;
  border-bottom: 2px solid #f4f4f4;
  padding: 2px;
  font-weight:700;
  background:#fff;
  color: #646464;
}
.table > tbody > tr > td {
  padding: 2px;
}
.table-hover > tbody > tr:hover {
  background-color: #EEF7EB;
}

.table > tbody > tr > td.backstatususulan0,
.table > tbody > tr.backstatususulan0 > td {
  background-color: #f5f5f5;
}
.table-hover > tbody > tr > td.backstatususulan0:hover,
.table-hover > tbody > tr.backstatususulan0:hover > td,
.table-hover > tbody > tr:hover > .backstatususulan0 {
  background-color: #e8e8e8;
}

.table > tbody > tr > td.backstatususulan1,
.table > tbody > tr.backstatususulan1 > td {
  background-color: #95cd7e;
}
.table-hover > tbody > tr > td.backstatususulan1:hover,
.table-hover > tbody > tr.backstatususulan1:hover > td,
.table-hover > tbody > tr:hover > .backstatususulan1 {
  background-color: #76bf5a;
}

.table > tbody > tr > td.backstatususulan2,
.table > tbody > tr.backstatususulan2 > td {
  background-color: #ebcccc;
}
.table-hover > tbody > tr > td.backstatususulan2:hover,
.table-hover > tbody > tr.backstatususulan2:hover > td,
.table-hover > tbody > tr:hover > .backstatususulan2 {
  background-color: #e2b6b6;
}

.table > tbody > tr > td.backstatususulan3,
.table > tbody > tr.backstatususulan3 > td {
  background-color: #FDB46B;
}
.table-hover > tbody > tr > td.backstatususulan3:hover,
.table-hover > tbody > tr.backstatususulan3:hover > td,
.table-hover > tbody > tr:hover > .backstatususulan3 {
  background-color: #fca64f;
}

.table > tbody > tr > td.backstatususulan4,
.table > tbody > tr.backstatususulan4 > td {
  background-color: #f0d75c;
}
.table-hover > tbody > tr > td.backstatususulan4:hover,
.table-hover > tbody > tr.backstatususulan4:hover > td,
.table-hover > tbody > tr:hover > .backstatususulan4 {
  background-color: #ebcc2d;
}

.table > tbody > tr > td.backstatususulan5,
.table > tbody > tr.backstatususulan5 > td {
  background-color: #c4e3f3;
}
.table-hover > tbody > tr > td.backstatususulan5:hover,
.table-hover > tbody > tr.backstatususulan5:hover > td,
.table-hover > tbody > tr:hover > .backstatususulan5 {
  background-color: #aad7ee;
}

.table > tbody > tr > td.backstatususulan6,
.table > tbody > tr.backstatususulan6 > td {
  background-color: #ff6666;
  color: #FFFFFF;
}
.table-hover > tbody > tr > td.backstatususulan6:hover,
.table-hover > tbody > tr.backstatususulan6:hover > td,
.table-hover > tbody > tr:hover > .backstatususulan6 {
  background-color: #ff4d4d;
  color: #FFFFFF;
}

.upload-progress {
	margin: 0 10px 5px 0;
	position: relative;
	border: 1px solid #ddd;
	padding: 1px;
	border-radius: 3px;
	display: block
}
.upload-bar {
	background-color: #FF9900;
	width: 0;
	height: 20px;
	border-radius: 3px;
	color:#FFFFFF;
}
.upload-percent {
	position: absolute;
	display: inline-block;
	top: 3px;
	left: 48%
}

select.form-control-sm ~ .select2-container--default {
  font-size: 100%;
}

.text-sm .select2-container--default .select2-selection--single,
select.form-control-sm ~ .select2-container--default .select2-selection--single {
  height: calc(1.3125rem + 2px);
  /* height: calc(1.5125rem + 2px); */
  /* top | right | bottom | left */
  padding: 3px 1em 3px 3px;
}

.table-sm th,
.table-sm td {
  padding: 2px;
}

.main-header .navbar-nav .nav-item {
  height: auto !important;
}

.navbar-nav .nav-link {
  height: auto !important;
}

.table-navbar {
  color: #000;
  background-color: #f6cc76 !important;
  border-collapse: collapse;
  border: 1px solid #b07602 !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0.25rem !important;
  min-height: 62px;
}

.table-navbar > thead > tr > th {
  color: #000;
  border: 0;
  background-color: #d7b982 !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
  font-size: 0.675rem;
}

.table-navbar td {
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
  padding-top: 0.04rem !important;
  padding-bottom: 0.06rem !important;
}

.form-control-sm-navbar {
  height: calc(1.1000rem + 2px);
  padding: 1px 2px;
  font-size: 0.675rem;
}

.navbar-siat {
  background-color: #e9a503;
  color: #fff;
  border: none;
  border-top: 4px solid #3b0103;
}

.navbar-siat .navbar-toggler {
  color: rgba(0, 0, 0, 0.5);
  border-color: rgba(0, 0, 0, 0.1);
}

.navbar-siat .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-siat .navbar-brand {
  color: #fff;
}

.navbar-siat .navbar-brand:hover, .navbar-siat .navbar-brand:focus {
  color: #fff;
}

.navbar-siat .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.75);
}

.navbar-light-siat {
  background: url(menu_bg.gif) repeat-x;
}

.navbar-light-siat .navbar-nav .nav-link {
  background: url(menu_bg.gif) repeat-x;
  color: #fff;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
}

.navbar-light-siat .navbar-nav .nav-link:hover {
  background-color: #fff;
}

.navbar-light-siat .navbar-nav .nav-link:focus {
  background-color: #fff;
}

.navbar-light-siat .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 0.3);
}

.navbar-light-siat .navbar-nav .show > .nav-link,
.navbar-light-siat .navbar-nav .active > .nav-link,
.navbar-light-siat .navbar-nav .nav-link.show,
.navbar-light-siat .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-siat .navbar-text {
  color: rgba(0, 0, 0, 0.5);
}

.navbar-siat .navbar-text a {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-siat .navbar-text a:hover, .navbar-siat .navbar-text a:focus {
  color: rgba(0, 0, 0, 0.9);
}

/* Works on Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
}

*::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

*::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 20px;
  border: 3px solid #646464;
}

.modal-header {
  margin: 0 !important;
  padding: 0.35rem !important;
  padding-left: 0.55rem !important;
  padding-right: 0.55rem !important;
  /* background-color: #d7b982 */
}

.modal-footer {
  margin: 0 !important;
  padding: 0.15rem !important;
  padding-left: 0.55rem !important;
  padding-right: 0.55rem !important;
}

.table {
  color: #000;
}

.table-striped tbody tr:nth-of-type(odd) {
  color: #000;
  background-color: #ffffff;
}

.table-striped tbody tr:nth-of-type(even) {
  color: #000;
  background-color: #EFEFEF;
}

.table-hover tbody tr:hover {
  color: #000;
  background-color: #64ff64;
}

.table.table-head-fixed thead tr:nth-child(1) th {
  color: #000;
  background-color: #d7b982;
}

.table .thead-light th {
  color: #000;
  background-color: #d7b982;
}

.select2-container {
  pointer-events: auto;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: #000;
}

.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
  box-shadow: none;
}

.btn-primary:hover {
  color: #fff;
  background-color: #0069d9;
  border-color: #0069d9;
}

.btn-primary:focus, .btn-primary.focus {
  color: #fff;
  background-color: #0069d9;
  border-color: #0062cc;
  box-shadow: 0 0 0 0 rgba(38, 143, 255, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}

.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
  color: #fff;
  background-color: #0069d9;
  border-color: #005cbf;
}

.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
  box-shadow: none;
}

.btn-info:hover {
  color: #fff;
  background-color: #138496;
  border-color: #117a8b;
}

.btn-info:focus, .btn-info.focus {
  color: #fff;
  background-color: #138496;
  border-color: #117a8b;
  box-shadow: 0 0 0 0 rgba(58, 176, 195, 0.5);
}

.btn-info.disabled, .btn-info:disabled {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-info:not(:disabled):not(.disabled):active, .btn-info:not(:disabled):not(.disabled).active,
.show > .btn-info.dropdown-toggle {
  color: #fff;
  background-color: #117a8b;
  border-color: #10707f;
}

.btn-info:not(:disabled):not(.disabled):active:focus, .btn-info:not(:disabled):not(.disabled).active:focus,
.show > .btn-info.dropdown-toggle:focus {
  box-shadow: 0 0 0 0 rgba(58, 176, 195, 0.5);
}

.layout-top-nav .wrapper .main-header .brand-image {
  height: 55px;
}

.b1 {
  width: 100%;
  margin-bottom: 1rem;
  color: #000;
  background-color: transparent;
  border: 1px solid #dee2e6;
  font-family: Tahoma, Verdana, Helvetica, sans-serif;
  font-size: 0.7rem;
  font-weight: 400;
}

.b1 th,
.b1 td {
  padding: 0.3rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.b1 th,
.b1 thead th,
.b1 thead td {
  color: #000;
  background-color: #d7b982;
  font-weight:700;
  vertical-align: middle;
  border-bottom: 2px solid #dee2e6;
}

.b1 tbody + tbody {
  border-top: 2px solid #dee2e6;
}

.b1 > thead > tr > th {
  vertical-align: middle;
  border-bottom: 2px solid #f4f4f4;
  padding: 2px;
  font-weight:700;
  background:#fff;
  color: #646464;
}
.b1 > tbody > tr > td {
  padding: 2px;
}

.b1 tbody tr:nth-of-type(odd) {
  color: #000;
  background-color: #ffffff;
}

.b1 tbody tr:nth-of-type(even) {
  color: #000;
  background-color: #EFEFEF;
}
.b1 > tbody > tr:hover {
  color: #000;
  background-color: #64ff64;
}
.b3 { border:1px solid #989795; }
.b3 thead tr { height:20px; background:#CCCCCC; font:bold 12px Tahoma, Verdana, Arial, Helvetica; }
.b3 thead td { border:none; }
.b3 tbody td { border-bottom:1px solid #989795; white-space: normal; }
.b3 tbody .odd_row { background-color:#ffffff; }
.b3 tbody .even_row { background-color:#EFEFEF; }
.b3 tbody .red_row { background-color:#FF9933; }
.b3 tbody .foot { border:none; }
.b3 tfoot td { height:1px; border-bottom:none; }

.b3 tbody tr:nth-child(odd) { background:#ffffff; }
.b3 tbody tr:nth-child(even) { background:#EFEFEF; }

.b3 tbody .red_row:nth-child(odd) { background: #FF9933; }
.b3 tbody .red_row:nth-child(even) {  background: #FF9933; }
/* HAPUS (select2 jadi diatas semua element)*/
/* .select2-container { */
    /* z-index: 99999 !important; */
/* } */
.modal-dialog {
  max-height: 85vh; /* 85% dari tinggi viewport */
}
.modal-content {
  max-height: 85vh;
  overflow-y: auto;
  max-width: 100%;
  overflow-x: hidden;
}
.modal-body {
  padding: 0.25rem !important;
  max-width: 100%;
}
@media (max-width: 575.98px) {
  .modal-sm {
    max-width: 95vw;
  }
}

.input-group-sm > .form-control:not(textarea),
.input-group-sm > .custom-select {
  height: calc(1.3125rem + 2px);
}

.input-group-sm > .form-control,
.input-group-sm > .custom-select,
.input-group-sm > .input-group-prepend > .input-group-text,
.input-group-sm > .input-group-append > .input-group-text,
.input-group-sm > .input-group-prepend > .btn,
.input-group-sm > .input-group-append > .btn {
  padding: 1px 3px;
  font-size: 0.775rem;
  line-height: 1.5;
  border-radius: 0.2rem;
}

.highlight-row td {
  background-color: #B8FFB8 !important;
}

.highlight-col {
  background-color: #E9F7E9 !important; /* Warna hijau muda untuk kolom yang disorot */
}

.highlight-cell {
  background: linear-gradient(to left, #64ff64, #EAF25C, #64ff64) !important; /* Gradasi hijau terang di tengah */
}

@media (min-width: 992px) {
  .modal-xl {
    max-height: 95vh;
    max-width: 95vw;
  }
}

@media (min-width: 1200px) {
  .modal-xl {
    max-height: 95vh;
    max-width: 98vw;
  }
  .modal-content {
	  max-height: 90vh;
	}
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}
.thumb-news {
    aspect-ratio: 16 / 9;
}

/* Optimasi Paginasi untuk Mobile */
@media (max-width: 576px) {
    .pagination {
        display: flex;
        justify-content: center;
        width: 100%;
    }
    /* Perkecil padding tombol di HP agar tidak meluap */
    .page-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.75rem;
    }
}
.dropdown-auto { min-width: unset; width: auto; }
.navbar-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

.notif-item {
    border-radius: 5px;
    transition: all 0.2s ease;
    padding: 10px;
}

.notif-item:hover {
    background: #f4f6f9;
    transform: translateY(-1px);
}

.notif-danger { border-left: 4px solid #dc3545; }
.notif-warning { border-left: 4px solid #ffc107; }
.notif-info { border-left: 4px solid #17a2b8; }

.snooze-container {
    overflow: hidden;
    transition: all 0.25s ease;
    max-height: 0;
    opacity: 0;
}

.snooze-container.show {
    max-height: 60px;
    opacity: 1;
}

.snooze-pill {
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 20px;
    margin-right: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.snooze-pill:hover {
    background: #343a40;
    color: #fff;
}

@keyframes pulseDanger {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.notif-pulse {
    animation: pulseDanger 1s infinite;
}

.border-3 {
    border-width:3px !important;
}

.border-left-3 {
    border-left-width: 3px !important;
}

.connectedSortable {
  min-height: 20px;
}