/*tampilan utama*/
html,
body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.428;
}

body {
  background: whitesmoke;
  overflow: hidden;
}

/*tampilan frame*/
.toolbar {
  padding: 4px 16px;
  line-height: 28px;
  box-shadow: 0 4px 2px -2px gray;
  z-index: 1000;

  a,
  button {
    padding: 0;
    margin-right: 12px;
    display: inline-block;
    color: #1b6d85;
    background: none;
    border: none;
    outline: 0;
    text-decoration: none;
  }
}

.sidebar {
  padding: 8px 14px 4px;
  line-height: 40px;
  background: #1b6d85;
  font-size: 18px;

  a,
  button {
    display: block;
    color: #fff;
    background: none;
    border: none;
    outline: 0;
    padding: 0;
  }
}

.main {
  padding: 16px 16px 0px;
}

.statusbar {
  padding: 6px 0;
  color: #73879c;
  border-top: 1px solid #ced4da;
}

.sidebar a:hover,
.sidebar button:hover,
.toolbar a:hover,
.toolbar button:hover,
.toolbtn:hover {
  color: orange;
  text-decoration: none;
  cursor: pointer;
}

.toolbtn {
  padding: 0;
  color: #1b6d85;
  background: none;
  border: none;
  outline: 0;
  margin: 6px 12px 0 0;
}

.btn-outline-secondary {
  border-color: #ced4da;
}

/*navbar dan megamenu*/
.navbar {
  padding-top: 0;
  padding-bottom: 0;
  background-color: #1b6d85;
  border-radius: 0;
  border: none;
  border-bottom: 4px solid #ddd;
}

.navbar-brand {
  line-height: 44px;
  /* line-height opsional utk menengahkan brand; */
  padding: 0;
  margin-left: 16px;
  margin-right: 12px;
  color: black;
  font-size: 18px;
}

.nav-link {
  padding: 1px 0;
  /*padding=tinggi menu*/
  width: 100%;
  text-align: center;
  font-size: 14px;
}

.navbar-brand:hover {
  color: black;
}

.navbar-nav>li>a {
  margin: 0 8px;
  color: #e6e9ed;
}

/*lebar & warna menu utama*/
.navbar-nav>li>a:hover {
  color: orange;
}

.navbar-nav>li>a:focus {
  background-color: #ddd;
  color: #000;
}

.largemenu {
  position: static !important;
}

.megamenu {
  width: 100%;
  padding: 14px 36px 18px;
  border-radius: 0;
  border: none;
  margin-top: 4px !important;
  border-bottom: 2px solid maroon;
  background: white;
  z-index: 2000;
}

.megamenu ul {
  padding: 0 20px 0 0;
  margin: 0;
}

.megamenu .dropdown-header {
  padding: 3px 12px;
  color: #117a8b;
  font-size: 14px;
  font-weight: bold;
}

.megamenu ul>li {
  list-style: none;
  font-size: 14px;
}

.megamenu ul>li>a {
  text-decoration: none;
  color: #000;
  display: block;
  /* padding: 1px 12px 5px; */
  padding: 3px 12px;
  background: transparent !important;
}

.megamenu ul>li>a:hover {
  text-decoration: none;
  color: #fff !important;
  background: #117a8b !important;
}

.megamenu ul>.garis {
  border-bottom: 1px solid #ced4da;
  margin: 8px 12px;
}

/*tampilan standar*/
.judul {
  color: #1b6d85;
  text-transform: uppercase;
  margin: 4px 0 0;
  font-size: 16px;
}

.subjudul {
  font-size: 13px;
  color: #73879c;
  margin: 4px 0 0;
}

.d-flex.justify-content-between {
  margin-bottom: -4px !important;
}

.garis {
  border-bottom: 1px solid #ced4da;
  margin: 8px 0;
}

.col-form-label {
  padding-bottom: 0;
}

.form-control,
.input-group {
  margin-bottom: 4px;
}

.input-group .form-control {
  margin-bottom: 0;
  /*override yg diatasnya*/
}

.input-group {
  flex-wrap: nowrap;
}

.input-group .select2-container--bootstrap-5 {
  overflow: auto;
}

.footer {
  border-top: 1px solid #ced4da;
  padding: 6px 0;
  color: #73879c;
}

hr {
  border-bottom: solid 1px #000 !important;
}

textarea {
  height: 67px;
}

label>input {
  margin-bottom: 13px;
}

/*tampilan tabel*/
table {
  cursor: default;
  /* user-select: none; */
}

table td,
table th {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

table.table {
  width: 100% !important;
  line-height: 26px;
  /*line-height = tinggi baris*/
  border-top: hidden;
}

.table-striped>tbody>tr:nth-child(odd) {
  background-color: white;
}

th input {
  font-weight: bold;
}

td input,
.thfoot {
  background: none;
  border: none;
  outline: none;
  height: 100%;
  width: 100%;
}

td .select2-selection {
  background: none !important;
  border: none !important;
}

td .select2-container {
  max-height: 28px !important;
  margin-top: -2px;
  margin-left: -8px;
  width: calc(100% + 30px) !important;
}

td .select2-selection__placeholder {
  color: transparent !important;
}

td .select2-selection__clear {
  margin-top: 1px;
}

.tblfoot {
  margin-top: -6px;
  border-bottom: 1px solid #ced4da;
}

/*tampilan datatables*/
.dataTable>thead>tr>th[class*="sort"]:before,
.dataTable>thead>tr>th[class*="sort"]:after {
  display: none;
}

.dataTable>thead>tr>th {
  border-top-color: #ced4da;
  border-bottom-color: #ced4da !important;
  /*border-bottom-width: 2px !important;*/
}

.dataTable>tbody>tr>td {
  border-bottom-color: #ced4da !important;
}

.dataTable tbody tr.selected {
  color: #fff;
  background-color: #117a8b;
}

.dataTables_info {
  line-height: 6px;
}

/*jarak info dg tabel*/
.dataTables_paginate a {
  line-height: 16px !important;
  background: #ddd !important;
  box-shadow: none !important;
  border-color: #ddd !important;
}

/*tampilan select2*/
:focus,
.select2-container--bootstrap-5.select2-container--focus .select2-selection,
/* <- gak usah*/
.select2-container--bootstrap-5.select2-container--open .select2-selection {
  box-shadow: none !important;
}

.select2-container .select2-results>.select2-results__options {
  max-height: 204px;
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option.select2-results__option--selected {
  color: #212529;
  background-color: #fff;
  /* kembalikan warna semula */
}

.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option[aria-selected="true"] {
  color: #fff;
  background-color: #117a8b;
  /* warna highlite */
}

.select2-container--open {
  z-index: 99999;
}

@media (max-width: 576px) {
  .navbar-nav {
    border-top: 1px solid white;
  }

  .navbar-nav>li:first-child {
    margin-top: 6px;
  }

  .nav-link {
    padding: 0;
    text-align: left;
    margin-left: 0 !important;
    padding-left: 16px !important;
  }

  .megamenu {
    padding: 10px 24px;
    margin-top: 0 !important;
    max-height: 300px;
    overflow-y: auto;
  }

  .megamenu ul {
    padding: 0;
    margin-bottom: 30px;
  }

  .megamenu ul:last-child {
    margin-bottom: 10px;
  }

  .sidebar {
    display: none !important;
  }

  .dinamis tr {
    display: table;
    width: 100%;
  }

  .dinamis td {
    display: table-row;
  }
}

.struk {
  position: relative;
  width: 21cm;
  height: 28cm;
  margin: 0 auto;
  font-family: Arial;
  font-size: 14px;
  line-height: 20px;

  footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    border-top: 1px solid #ddd;
    text-align: center;
  }

  table {
    width: 100%;

    tr {
      vertical-align: top;

      hr {
        border-color: #444;
        margin: 6px 0
      }
    }
  }
}

.struk-2 {
  /* font-family: monospace; */
  font-size: 12pt;
  width: 7.5cm;
  height: auto;
  margin: auto;

  table {
    width: 100%;

    tr {
      vertical-align: top;

      hr {
        border-color: #444;
        margin: 6px 0
      }
    }
  }
}

.btn-modal {
  text-decoration: none;
}

tr.selected .btn-modal {
  color: inherit;
}

.modal-xl {
  max-width: none;
  margin: 50px 0 0 46px;
}

.modal-content {
  transition: all 0.3s ease-in-out;
}