/*
 * *************************************************
 * Copyright (C) 2025 DimSagara.                   *
 * Codeigniter 4 Template Modification             *
 * Please contact our email for more information : *
 * dim.sagara@gmail.com                            *
 * *************************************************
 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.2);
}

.dataTables_empty {
    text-align: center;
}

.loading>div {
    display: block;
    padding: 15px;
}


table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after {
    opacity: 1;
}

table.dataTable thead .sorting:after {
    opacity: 0.5;
}

@media (max-width: 991px) {

    .main-header .navbar-custom-menu a.btn-danger,
    .main-header .navbar-right a.btn-danger {
        background-color: #dd4b39;
        border-color: #d73925;
        color: white;
    }
}

.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #e9e9e9;
}

.btn {
    text-transform: uppercase;
}

tr.boldhighlight {
    background-color: #b4f89f !important;
    color: #000 !important;
    font-weight: bold !important;
}

tr.highlightred {
    background-color: #f8a99f !important;
    color: #000 !important;
}

tr.highlightblue {
    background-color: #40baf9 !important;
    color: #000 !important;
}

tr.highlightpurple {
    background-color: #928cf9 !important;
    color: #000 !important;
}

tr.highlightyellow {
    background-color: #f8dd9f !important;
    color: #000 !important;
}

tr.highlightgreen {
    background-color: #b4f89f !important;
    color: #000 !important;
}

.table-small thead>tr>th,
.table-small tbody>tr>td {
    font-size: 13px !important;
    padding: 1px 8px;
}
.dataTable .sorting_disabled {
    padding:8px;
}
.dataTable>tfoot>tr>th,
.only-table tfoot>tr>th {
    text-align: center;
    font-size: 16px;
}
.btnWrapper {
    position: relative;
    /*max-width: 180px;*/
    min-width: 120px;
    overflow: hidden;
    top: 0;
    left: 0;
}
.btnWrapper, .btnContent, .btnRipple {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.btnContent {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 100%;
}
.btnIcon,
.btnTitle {
    text-shadow: -1px 1px 2px #888888;
}
.btnTitle {
    width: 100%;
    text-align: center;
}
.btnRipple {
    position: absolute;
    border-radius: 50%;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.3);
    opacity: 0;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%); /* transform: [{translateX: -50,translateY: -50}], */
    -moz-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    display:flex;
    justify-content:center;
    align-items:center;
}
.form-control:focus {
    box-shadow: 0 0 0 .15rem rgba(13, 110, 253, .25);
}
/* onclick transitions */
.btnWrapper:hover > .btnRipple,
.btnWrapper.disabled > .btnRipple {
    width: 300px;
    height: 300px;
    opacity: 1;
}
.btnWrapper.disabled,
.btnWrapper.disabled > .btnRipple {
    pointer-events: none;
}
.select2-selection__rendered {
    margin-top:3px !important;
}
.select2-container .select2-selection--single .select2-selection__rendered {
    margin-top: auto;
}
.table > tbody > tr > td {
    vertical-align: top;
}
.dataTable>thead>tr>th,
.only-table thead>tr>th {
    background-color: #605ca8;
    color: #ffffff;
    text-align: center;
    font-size: 16px;
}
.dataTable>thead>tr>th,
.table-middle>tbody>tr>td {
    vertical-align: middle;
}
.table-small > thead > tr > th {
    padding: 3px 8px;
    vertical-align: middle;
    font-size:14.5px !important;
}
.table-small > tbody > tr > td {
    padding: 3px 8px;
    vertical-align: middle;
}
table.dataTable thead .sorting:after, table.dataTable thead .sorting_asc:after, table.dataTable thead .sorting_desc:after {
    top:50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.datatable-currency {
    text-align:center;
}
table.dataTable thead .sorting:after {
    font-family: FontAwesome;
    content: "\f0dc";
}
table.dataTable thead .sorting_asc:after {
    font-family: FontAwesome;
    content: "\f0de";
}
table.dataTable thead .sorting_desc:after {
    font-family: FontAwesome;
    content: "\f0dd";
}
.datatable-nominal {
    text-align:right !important;
}
.select2-container {
    width: 100% !important;
}
.modal-action {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    width:100%;
    margin-bottom:15px;
}
.has-error .select2-container--default .select2-selection--single, .select2-selection .select2-selection--single {
    border-color:#dd4b39;
}
.has-error .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color:#dd4b39 transparent transparent transparent;
}
.has-error .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #dd4b39;
}
.separator {
    display: block;
    width: 100%;
    height: 15px;
}
.nav-tabs-custom > .nav-tabs {
    background-color: #eee;
}
.nav-tabs-custom>.nav-tabs>li>a, .nav-tabs-custom>.nav-tabs>li>a:hover {
    min-width:120px;
    text-align:center;
    /*font-weight:bold;*/
    font-size: 16px;
}
.highlight > * {
    font-weight:bold !important;
}
.highlight.default {
    background-color: #d2d6de !important;
}
.highlight.success {
    background-color: #00a65a !important;
}
.highlight.primary {
    background-color: #b7dce5 !important;
}
.highlight.warning {
    background-color: #f39c12 !important;
}
.highlight.danger {
    background-color: #f56954 !important;
}
.search {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    width:100%;
    /*margin-bottom:15px;*/
}
.search-wrapper > form{
    display: flex;
    justify-content: space-between;
    align-items:center;
    width:100%;
}

@media screen and (max-width: 768px){
    .search-wrapper > form{
        flex-direction:column;
        justify-content:flex-start;
        align-items:flex-start;
    }
}
.pagination>li>a, .pagination>li>span {
    background-color: transparent;
    /*color: white;*/
}
.pagination>li.active >a {
    background-color:#eee;
    color:#000;
}
div.form-control {
    overflow:hidden;
}
.box-filter {
    display:inline-flex !important;
    justify-content:flex-start;
    align-items:center;
    /*width:60%;*/
    gap:8px;
    padding: 0px 8px;
}
.label {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

.textarea-bootstrap {
    width: 100%;
    height: 200px;
    font-size: 14px;
    line-height: 18px;
    border: 1px solid #dddddd;
    padding: 10px;
}
.table>caption+thead>tr:first-child>td, .table>caption+thead>tr:first-child>th, .table>colgroup+thead>tr:first-child>td, .table>colgroup+thead>tr:first-child>th, .table>thead:first-child>tr:first-child>td, .table>thead:first-child>tr:first-child>th {
    vertical-align: middle;
}

.view-nominal {
    text-align: right;
    background-color: #eee;
    font-weight: bold;
    font-size: 17px;
    height: auto;
    min-height: 34px;
    padding: 3px 12px;
    vertical-align: middle;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.view-nominal-small {
    text-align: right;
    background-color:#eee;
    font-weight:bold;
    font-size:13px;
    height: auto;
    min-height: 34px;
}

.timeline .highlight-box .timeline-item {
    /*border: 1.5px solid #ccc;*/
    box-shadow: 1.5px 1.5px 5px #ccc;
    /*background-color:#ecf0f5;*/
    z-index:2;
}

.timeline .highlight-box {
    position:relative;
}

.timeline .highlight-box:after {
    content: ' ';
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    left: 48px;
    width: 30px;
    z-index: 1;
    height: 30px;
    background-color: #cfcfcf;
}

.timeline .highlight-box >.timeline-item>.timeline-header {
    background-color:#eee;
}

.timeline .highlight-box >.timeline-item>.time {
    color:#333;
}

.fixed-header {
    position: fixed;
    z-index: 10;
    top: 50px;
    left: 255px;
    /*right: 26px;*/
    width: 100%;
    height: 53px;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.sidebar-collapse .fixed-header {
    left: 74px;
}

.form-control.disabled {
    background-color:#eee;
    height:auto;
    min-height:34px;
}

div.form-control {
    height:auto;
    min-height:34px;
}

.modal-xl{
    width:1366px;
    max-width:95%;
}

@media screen and (max-width: 540px){
    .search-wrapper > form {
        flex-direction: column;
    }
}

.search-wrapper .btn {
    height:35px;
}

.journal-list {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity:1;
}

.journal-list.hiding,
.journal-list.hiding td{
    height:0.5px;
    opacity:0;
    overflow: hidden;
    position:absolute;
}

.paid-bg, .received-bg {
    z-index: 1;
    position:relative;
}
.paid-bg:before {
    content: ' ';
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url(../../images/paid.png?v=1);
    position: absolute;
    width: 100%;
    z-index: 2;
    height: 100%;
    top: 0px;
}

.received-bg:before {
    content: ' ';
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    background-image: url(../../images/received.png?v=1);
    position: absolute;
    width: 100%;
    z-index: 2;
    height: 100%;
    top: 0px;
}

footer {
    position:relative;
}

.footer-tooltip {
    font-size: 14px;
    position: absolute;
    bottom: 55px;
    left: 20px;
}

.iradio_minimal-blue.checked.disabled {
    background-position: -140px 0;
}

.the-loading {
    position:relative;
}

.the-progress, .the-content {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

.the-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-height: 80vh;
    background-color: rgba(0,0,0,0.1);
}

.the-progress-state {
    width: 100%;
    max-width: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.the-progress-status, .the-progress-bar, .progress {
    width:100%;
}

.the-progress-status .progress {
    margin:0px;
}

.the-progress-text {
    text-align:center;
    font-size:16px;
    font-weight:bold;
    color:#333;
}
/* first state loading */
.the-content {
    opacity:0;
    z-index:-1;
}

.the-progress {
    opacity: 1;
    z-index: 1;
}

.icheck-label {
    margin: 3px 10px;
    font-weight: normal;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
}

.icheck-label.hover {
    cursor:pointer;
}

.icheck-label.block {
    display:flex;
    justify-content:flex-start;
}

.iradio_minimal-blue {
    margin-right: 5px;
}
.tab-footer {
    display: block;
    padding: 10px;
    border-top: 1px solid #eee;
}
.tab-footer .btn {
    margin-right: 10px;
}
.tab-footer .btn:last-child {
    margin-right:0px;
}
.hr-sum {
    display: block;
    width: calc(100% - 20px);
    height: 6px;
    border-bottom: 1px solid #000;
    position: relative;
    font-weight: bold;
    float: right;
}
.hr-sum.plus {
    border-color: #00a65a;
    color: #00a65a;
}
.hr-sum.plus:after{
    content: '+';
    position: absolute;
    top: -5px;
    right: -20px;
    clear: both;
}
.hr-sum.minus {
    border-color: #f56954;
    color: #f56954;
}
.hr-sum.minus:after{
    content: '-';
    position: absolute;
    top: -5px;
    right: -20px;
    clear: both;
}
.text-left {
    text-align:left !important;
}
.table-input {
    border:none;
    padding:0;
    margin:0;
    border-bottom: 1px solid #ccc;
}
.form-info {
    font-weight:normal;
    font-size:11px;
}
.box-footer .btn {
    margin-right:5px;
}
.filter-col {
    width:100%;
}

.report-table thead>tr>th,
.report-table tbody>tr>td {
    font-size: 13px;
    padding: 1px 8px;
}
.big thead>tr>th,
.big tbody>tr>td,
.big tfoot>tr>th  {
    font-size: 16px !important;
}
.big2 thead>tr>th,
.big2 tbody>tr>td,
.big2 tfoot>tr>th {
    font-size: 20px !important;
}
/*.box-filter {
    max-width:50%;
}*/
.report-header, .report-footer,
.report-header-title, .report-header-bigtitle,
.report-footer-title, .report-footer-bigtitle {
    font-weight:bold;
}
.hiding {
    display:none;
}

tr.report-header:has(+.hiding),
tr.report-header:has(+.hiding) > td.report-header-title,
tr.report-header:has(+.hiding) > td.report-header-bigtitle,
tr.report-header:has(+.hiding) > td.report-header{
    font-weight:normal !important;
}
.normal {
    font-weight:normal;
}
.report-header-bigtitle,.report-footer-bigtitle {
    background-color: #efefef;
}
.report-footer-title {
    font-size:13px !important;
    padding: 3px 7px;
}
.report-header-bigtitle, .report-footer-bigtitle,
.report-header-bigtitle > td, .report-footer-bigtitle > td,
.report-header-bigtitle > th, .report-footer-bigtitle > th{
    font-size:16px !important;
}

.idx1 {
    padding-left:15px !important;
}
.idx2 {
    padding-left:30px !important;
}
.idx3 {
    padding-left:45px !important;
}
.idx4 {
    padding-left:60px !important;
}
.idx5 {
    padding-left:75px !important;
}
.idx6 {
    padding-left:90px !important;
}
.flex-wrap {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    gap:15px;
}
@media screen and (max-width: 768px){
    .flex-wrap {
        flex-direction: column;
    }
}
.anchor-text {
    color: black;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.anchor-text:hover {
    cursor: pointer;
    color: #605ca8;
}
.anchor-text.disabled {
    pointer-events: none;
    cursor: default;
}

.report-table-wrapper td {
    border: 1px solid #aaa;
    padding: 3px 7px !important;
    font-size:11.5px !important;
}
.dropdown-alamat-customer {
    display:block;
    width:100%;
    margin:0;
    padding:0;
    text-align: justify;
}
.editable {
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.editable:hover {
    cursor: text;
    text-decoration: underline;
}
.merek-barang {
    background-color: #ccc;
    display: block;
    text-align: center;
    font-weight: bold;
}
.attr-barang {
    display: block;
    background-color: #fff;
    text-align: center;
}
.btnSimple {
    position:relative;
    padding-left: 2.5%;
    min-width:120px;
}
.btnSimple > .fa{
    position:absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 10px;
}
.select2-counter {
    display:block;
    text-align:right;
    width:100%;
    font-size:11px;
    position:absolute;
    bottom: -15px;
}
.form-group {
    position:relative;
}
.fixed-header th {
    text-align: center;
}
.select2-container .select2-selection--single {
    user-select: auto;
    -webkit-user-select: auto;
}
.select2-container--default.select2-container--disabled .select2-selection--single {
    cursor:text;
}
* {
    box-sizing:border-box;
}
.card-select {
    display:grid;
    width:100%;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: max-content;
    gap:8px;
    padding:8px;
}
.card-select-item {
    display:block;
    width:100%;
    position:relative;
    background-color:#ccc;
    border-radius:5px;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.card-select-item:hover {
    background-color:#aaa;
}
.card-select-icon {
    position:absolute;
    top:4px;
    right:4px;
    z-index:3;
    background-color:#666;
    width:25px;
    height:25px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    border-bottom-left-radius: 5px;
    opacity:0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.card-select-cover {
    position:absolute;
    border-radius:5px;
    z-index:1;
    top:0;
    left:0;
    width:0;
    height:0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition:all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.card-select-frame {
    width:100%;
    position:relative;
    z-index:2;
    padding:4px;
    height:100%;
}
.card-select-content {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    padding: 8px;
    border-radius: 5px;
    height: 100%;
}
.card-select-cover.open,
.card-select-item.selected .card-select-cover{
    right:0;
    bottom:0;
    width:100%;
    height:100%;
}
.card-select-item.selected .card-select-icon {
    opacity:1;
}
.card-select-item:hover {
    cursor:pointer;
}
.card-select-item.selected .card-select-title {
    padding-right:20px;
}
.card-select-title, .card-select-footer {
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:100%;
}
.card-select-body {
    overflow: hidden;
    width:100%;
}
.card-select-table {
    margin: 0px 0px 5px 0px;
}
.card-select-table td {
    border-bottom:1px solid #ccc;
}

.animate-box {
    -webkit-transform: translateX(0px) translateY(30px);
    -moz-transform: translateX(0px) translateY(30px);
    -o-transform: translateX(0px) translateY(30px);
    -ms-transform: translateX(0px) translateY(30px);
    transform: translateX(0px) translateY(30px);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    opacity:0;
}
.animate-box.open {
    -webkit-transform: translateX(0px) translateY(0px);
    -moz-transform: translateX(0px) translateY(0px);
    -o-transform: translateX(0px) translateY(0px);
    -ms-transform: translateX(0px) translateY(0px);
    transform: translateX(0px) translateY(0px);
    opacity:1;
}
.small-box.bg-navy .icon {
    color: rgba(255,255,255,0.15);
}
.date_change_group {
    position:absolute;
    top:65px;
    right:200px;
    width:300px;
}
.date_change_group > input {
    font-size:22px;
}
.text-right {
    text-align:right;
}
.sidebar-wrapper .nav-link {
    align-items: center;
}
table.dataTable>thead .sorting:before, table.dataTable>thead .sorting_asc:before, table.dataTable>thead .sorting_desc:before, table.dataTable>thead .sorting_asc_disabled:before, table.dataTable>thead .sorting_desc_disabled:before {
    content:none;
}
.custom-file:hover,
.custom-file-input:hover {
    cursor:pointer;
}
.custom-thumb {
    max-height: 65px;
}
.invalid-feedback {
    display:block;
}