/*ONLINE INDICATOR*/
.indicator.online {
  background: #28b62c;
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  -webkit-animation: pulse-animation 2s infinite linear;
  box-shadow: #e1f7cb 0 -1px 7px 1px, inset #21d907 0 -1px 9px,
    #82fe06 0 1px 3px;
}
@-webkit-keyframes pulse-animation {
  0% {
    -webkit-transform: scale(1);
  }
  25% {
    -webkit-transform: scale(1);
  }
  50% {
    -webkit-transform: scale(1.3);
  }
  75% {
    -webkit-transform: scale(1);
  }
  100% {
    -webkit-transform: scale(1);
  }
}
.indicator.offline {
  background: #ff4136;
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
}
.tag-offline-indicator {
  color: #fb5a51;
  font-weight: 600;
}
/*END ONLINE INDICATOR*/

/*CUSTOM TABLE*/
.table.dataTable thead th {
  /*background-color: #3c8dbc;*/
  background-color: #343a40;
  color: #f7f8fd !important;
  padding: 0.5rem 0.5rem !important;
  vertical-align: middle;
  line-height: 0.9;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.table tbody td {
  padding: 5px 10px !important;
}

.table tfoot th {
  padding: 5px 10px !important;
}

.table {
  border-radius: 0.675rem;
}

.text-sm .table.td-kecil tr td {
  padding: 3px !important;
  font-size: 12px !important;
  vertical-align: middle;
  line-height: 1.1;
}
.table.td-kecil2 tr td {
  padding: 0px 5px !important;
  font-size: 12px !important;
  vertical-align: middle;
  line-height: 0.8;
}

table.dataTable.dtr-inline.collapsed>tbody>tr>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr>th.dtr-control:before {
  left:-10px;
  content: "▼";
}
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>td.dtr-control:before,
table.dataTable.dtr-inline.collapsed>tbody>tr.parent>th.dtr-control:before {
  content:"▲";
}

/*END TABLE*/

/*IMPORTAN REPLACE*/
.text-sm .btn.btn-xs {
  padding: 0.125rem 0.25rem;
  font-size: 0.75rem !important;
  line-height: 1.5;
  border-radius: 0.15rem;
}
/*ENDREPLACE*/

.table.dataTable > tbody > tr.child ul.dtr-details {
  display: inline-block;
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

/* START CUSTOM FORM */
.form-group {
  margin-bottom: 1rem;
  line-height: 0.7;
}
.photo-upload {
  position: relative;
}
.photo-upload img {
  width: 100%;
  height: auto;
}
.photo-upload-action {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  /*background-color: #3c8dbc;*/
  background-color: #343a40;
}
.money-format,
.float {
  text-align: right;
}
.irs--sharp .irs-from,
.irs--sharp .irs-to,
.irs--sharp .irs-single,
.irs--sharp .irs-handle,
.irs--sharp .irs-bar {
  background-color: #ed5565;
}
.irs--sharp .irs-single,
.irs--sharp .irs-min,
.irs--sharp .irs-max {
  font-size: 10px;
}
.irs--sharp .irs-min,
.irs--sharp .irs-max {
  background-color: #ff8491;
}
.irs--sharp .irs-bar {
  height: 5px;
}
.irs--sharp .irs-handle.state_hover,
.irs--sharp .irs-handle:hover {
  background-color: #a43540;
}
.irs--sharp .irs-handle > i:first-child {
  border-top-color: #ed5565;
}
.irs--sharp .irs-line {
  height: 3px;
  background-color: #e1e4e9;
}
.irs--sharp .irs-grid-text {
  font-size: 10px;
}
.irs-grid-pol.small {
  height: 8px;
}
.irs--sharp .irs-grid-text {
  font-size: 10px;
}
.alert a {
  text-decoration: none;
}
/* END CUSTOM FORM */

/* COLOR */
.biru-langit {
  /*background-color: #3c8dbc;*/
  background-color: #343a40;
}
.biru-langit .nav-tabs .nav-link {
  color: #f7f8fd !important;
}
.biru-langit .nav-tabs .nav-link.active {
  background-color: #f0faff !important;
  /*color: #3c8dbc !important;*/
  color: #343a40 !important;
}

.bg-unread {
  background-color: #ebf5ff;
}

.bg-unread:hover {
  background-color: #d4e8fc;
}

.bg-read {
  background-color: #ffffff;
}

.bg-read:hover {
  background-color: #f7f7f7;
}

.badge-clwhite {
  color: #ffffff !important;
}

.badge-status {
  padding: 0.5em 1em !important;
}

.my-icon {
  display: none;
}

.icon-status:hover .my-icon {
  display: inline;
}

/* width */
::-webkit-scrollbar {
  width: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #888;
}
/* COLOR */


/* LOADING ANIMATION */
.animation-loading, .animation-loading:hover {
    background-position: center center;
    opacity: 1;
    background: rgba(0, 0, 0, 0.1) url('../img/ellipsis.svg') no-repeat center !important;
    z-index: 9999;
    cursor:progress;
    content: " ";
    height: 100%;
    cursor: not-allowed;
    pointer-events: none;
}
.animation-loading * {
    opacity: 0.5;
}
/* END LOADING ANIMATION */
@media screen and (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_moreaction {
    text-align: center;
  }
}

/*Jasny-Bootstrap*/
.fileinput {
  display: grid;
  max-width: 100vw;
  margin-bottom: 9px;
}


.form-control.is-valid, .was-validated .form-control:valid {
  border-color: #28a745;
  padding-right: 0rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-control.is-invalid, .was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: 0rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}


.scrollToTop {
    z-index: 999;
    position: fixed;
    display: none;
    background-color: #57525266;
    border-radius: 4px;
    height: 45px;
    line-height: 45px;
    width: 45px;
    text-align: center;
    bottom: 30px;
    left: 10px;
    color: #fff;
    font-size: 18px;
    float: right;
}


.blink {
    animation: opacity 1s ease-in-out infinite;
    opacity: 0;
}
@keyframes opacity {
  0% { opacity: 0; }
  30% { opacity: 0.5 }
  60% { opacity: 0.8 }
  80% { opacity: 1 }
  100% { opacity: 1; }
}

/*used in main.php menu nav for mobile*/
.border-bottom {
    border-bottom: 2px solid #555759 !important;
}

.pace .pace-progress{
    background: #0b7a3b;
}
.pace .pace-activity{
    border-top-color: #91b522;
    border-left-color: #91b522;
}
.pace .pace-progress-inner{
    box-shadow: 0 0 10px #daed55, 0 0 5px #e5dd65;
}



/*datepicker*/
.bootstrap-datetimepicker-widget {
  border: 1px solid #ced4da;
  border-radius: .4rem;
}
.bootstrap-datetimepicker-widget table thead tr{
    color: #cccdcf !important;
    background-color:#343a40 !important;
}
/*.bootstrap-datetimepicker-widget table th{
  color:#000 !important;
}*/
.bootstrap-datetimepicker-widget table td.day {
  height: 15px;
  line-height: 15px;
  width: 15px;
}
.bootstrap-datetimepicker-widget.dropdown-menu {
  display: block;
  margin: 2px 0;
  padding: 4px;
  width: 15.5rem;
}

.tulisan_cina{
    font-family: '宋体',宋体b8b体,Microsoft YaHei, Arial, sans-serif
}

.modal-dialog button.close:hover{
    background-color: #dc3545 !important;
    color: #fff !important;
}
.modal-dialog button.history:hover{
    background-color: #6f42c1 !important;
    color: #fff !important;
}

/*.btn-default {
  background-color: #dfdfe2;
  border-color: #ddd;
  color: #444;
}*/


/*// checkbox*/
.delta-checkbox {
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}
#checkboxInputPreview {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.delta-checkbox + label {
  position: relative;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  height: 22px;
  color: rgb(0, 0, 0);
}
.delta-checkbox + label::before {
  content: " ";
  display: inline-block;
  vertical-align: middle;
  margin-right: 3px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-width: 1px;
  border-style: solid;
  border-color: #17a2b8;
  border-radius: 3px;
  box-shadow: rgba(23, 162, 184, 0.7) 0px 0px 5px 0px;
}
.delta-checkbox:checked + label::after {
  content: " ";
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIjMDAwMDAwIiBkPSJNMTczLjg5OCA0MzkuNDA0bC0xNjYuNC0xNjYuNGMtOS45OTctOS45OTctOS45OTctMjYuMjA2IDAtMzYuMjA0bDM2LjIwMy0zNi4yMDRjOS45OTctOS45OTggMjYuMjA3LTkuOTk4IDM2LjIwNCAwTDE5MiAzMTIuNjkgNDMyLjA5NSA3Mi41OTZjOS45OTctOS45OTcgMjYuMjA3LTkuOTk3IDM2LjIwNCAwbDM2LjIwMyAzNi4yMDRjOS45OTcgOS45OTcgOS45OTcgMjYuMjA2IDAgMzYuMjA0bC0yOTQuNCAyOTQuNDAxYy05Ljk5OCA5Ljk5Ny0yNi4yMDcgOS45OTctMzYuMjA0LS4wMDF6Ii8+PC9zdmc+");
  background-repeat: no-repeat;
  background-size: 18px 18px;
  background-position: center center;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0px;
  left: 0px;
  top: 0px;
  text-align: center;
  background-color: transparent;
  font-size: 10px;
  height: 22px;
  width: 22px;
}
/*// end checkbox*/


.dropdown-menu.shadow {
    box-shadow: 0 1rem 2rem rgba(0,0,0,.75) !important
}


/*PDF PRINT*/
.print-pdf tr td {
  font-family: "Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",'宋体',宋体b8b体;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}


/*BUTTON CUSTOM*/
.btn-outline-orange {
    color: #fd7e14 !important; 
    border-color: #fd7e14;
}
.btn-outline-orange:hover {
    color: #fff !important; 
    border-color: #fd7e14;
    background-color: #fd7e14;
}

/* use this one to move from left to right direction */
@keyframes move-left-to-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}
/* use this one to move from right to left direction */
@keyframes move-right-to-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}