body {
    margin: 0;
    font-family: "Nunito", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #212529;
    text-align: left;
    background-color: #e5e9ec;
}

input:focus {
    background-color: rgba(150, 223, 255, 0.7) !important;
}

textarea:focus {
    background-color: rgba(150, 223, 255, 0.7) !important;
}

select:focus {
    background-color: rgba(150, 223, 255, 0.7) !important;
}

::placeholder {
  color:rgb(219, 215, 215) !important;
}

.table {
    margin-bottom: 5px;
}

.container {
    width: 100% !important;
}

.btn-warning {
    color: white;
}

.btn-warning:hover {
    color: white;
}

.card-header {
    background-image: linear-gradient(0deg,#ffffff,hsl(218, 3%, 76%));
    border-bottom: none;
}

.card-header.header-red {
    background-image: linear-gradient(0deg,#ffffff,hsl(0, 94%, 57%));
}

.card-header.header-yellow {
    background-image: linear-gradient(0deg,#ffffff,hsl(47, 100%, 49%));
}

.card-header.header-green {
    background-image: linear-gradient(0deg,#ffffff,hsl(125, 85%, 40%));
}

.card-header.header-blue {
    background-image: linear-gradient(0deg,#ffffff,hsl(210, 94%, 57%));
}

.table thead th {
    background-color: #d4d4d8;
    border-bottom: 1px solid #ffffff;
}

.table tfoot th {
  background-color: #d4d4d8;
  border-top: 1px solid #ffffff;
}

.rupiah {
    text-align: right;
}

.rupiah-decimal {
  text-align: right;
}

div.table-responsive>div.dataTables_wrapper>div.row>div[class^="col-"]:last-child {
    padding-right: 0;
    padding-left: 0;
}

.sidenav {
    height: 100%;
    position: fixed;
    z-index: 1;
    width: 300px;
    top: 0px;
    left: 0px;
    background-image: linear-gradient(0deg,#02403b,#066159);
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 84px;
    z-index: 900;
}

.sidenav-container {
  height: 100%;
  position: fixed;
  z-index: 1;
  width: 300px;
  top: 0px;
  left: 0px;
  background-image: linear-gradient(-121deg, #02403b,#066159);
  overflow-x: hidden;
  transition: 0.3s;
  padding-top: 84px;
  z-index: 900;
}

.sidenav.hidden {
  left: -300px;
}

.sidenav-container.hidden {
  left: -300px;
}

.sidenav a, .sidenav button, .dropdown-btn {
    padding: 8px 8px 8px 15px;
    text-decoration: none;
    font-size: 1rem;
    color: #fff;
    display: block;
    transition: 0.3s;
    width: 100%;
    background: transparent;
    text-align: left;
    border: none;
    outline: none;
    border: none;
}

.sidenav a:hover {
    color: #fff;
    font-size: 1.1rem;
    background-color: #043219 !important;
}

.dropdown-btn:hover {
    color: #fff;
    font-size: 1.1rem;
    background-color: #043219 !important;
}

.main-content {
    margin-left: 300px;
    transition: 0.3s;
    width: calc(100% - 300px);
}

.table td, .table th {
    padding: .3rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.page-item.active .page-link {
    background-color: #363b43;
    border-color: #dee2e6;
}

.active {
    background-color: rgba(255, 255, 255, 0.2) !important;
    outline: none !important;
    border: none !important;
}
.dropdown-container {
    display: none;
    background-color: rgba(0, 0, 0, 0.2);
    padding-left: 10px;
}

.dropdown-container a {
    display: list-item;
    list-style-type: disc;
    list-style-position: inside;
}

.fa-caret-down {
    float: right;
    padding-right: 8px;
    padding-top: 4px;
}

.navbar-light .navbar-toggler {
    color: #212529 !important;
    border-color: transparent !important;
}

.dropdown-toggle::after {
    display: none;
}

.box-produk {
    position: relative;
    padding-bottom: 5px;
    height: 100px;
    cursor: pointer;
    background-color: #e2e2e2;
    border-radius: 10px;
    margin: 5px 0px;
}

.box-produk img{
    width: 100%;
    height: 100%;
}

.nama-produk {
    position: absolute;
    top: 10px;
    left: 110px;
    font-weight: bold;
    font-size: 20px;
    color: #ec5d09 !important;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    white-space: normal;
    margin-right: 10px;
}

.harga-produk {
    position: absolute;
    bottom: 0px;
    left: 110px;
    font-size: 24px;
    font-weight: bold;
    color: yellow;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.square-box{
    position: relative;
    width: 90px;
    overflow: hidden;
    background: #1d2127;
    border-radius: 10px;
    border: solid 2px #ec5d09;
    box-shadow: 2px 2px 6px #ec5d09;
}

.square-box:before{
    content: "";
    display: block;
    padding-top: 100%;
}

.square-content{
    position:  absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    color: white;
    text-align: center;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: white !important;
    background-color: #767676 !important;
    border-color: #dee2e6 #dee2e6 #fff;
}

.btn-outline-success {
    color: #0e5d10;
    background-color: transparent;
    border-color: #0e5d10;
}

.btn-outline-success:hover {
    color: white;
    background-color: #0e5d10;
    border-color: #0e5d10;
}

@media screen and (max-width: 1200px) {
  .sidenav {
      padding-top: 75px;
  }

  .sidenav a,
  .sidenav button,
  .dropdown-btn {
      font-size: 18px;
  }

  .sidenav {
      left: -300px;
  }

  .sidenav.hidden {
      left: 0px;
  }

  .sidenav-container {
      left: -300px;
  }

  .sidenav-container.hidden {
      left: 0px;
  }

  .main-content {
      margin-left: 0px !important;
      width: 100% !important;
  }
}

@media screen and (max-width: 767px) {

  div.dataTables_wrapper div.dataTables_length,
  div.dataTables_wrapper div.dataTables_filter,
  div.dataTables_wrapper div.dataTables_info,
  div.dataTables_wrapper div.dataTables_paginate {
      text-align: left;
  }

  .hidden-mobile {
      display: none;
  }
}

@media (min-width: 1200px) {
  .container-xl,
  .container-lg,
  .container-md,
  .container-sm,
  .container {
      max-width: 100%;
  }
}

@media (min-width: 768px) {
  .container {
      max-width: 100% !important;
  }
}

::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(90, 90, 90, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-track {
    background: rgba(90, 90, 90, 0.0);
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}

.select2-container .select2-selection--single {
  height: 38px;
  border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px;
}

.table td .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #cfd2d5 transparent transparent transparent;
}

.table td .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 31px;
}

.table td .select2-container .select2-selection--single {
  height: 31px;
  border: 1px solid #ced4da;
}

.table td .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 31px;
}

.table td .select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #cfd2d5 transparent transparent transparent;
}

.dropdown-content-btn {
  padding: 8px 8px 8px 15px;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  display: block;
  transition: 0.3s;
  width: 100%;
  background: transparent;
  text-align: left;
  border: none;
  outline: none;
  border: none;
}

.dropdown-content-btn.active a{
  padding: 8px 8px 8px 15px;
  text-decoration: none;
  font-size: 1rem;
  color: #fff;
  display: block;
  transition: 0.3s;
  width: 100%;
  background: transparent;
  text-align: left;
  border: none;
  outline: none;
  border: none;
}

.dropdown-content-btn:hover {
  color: #fff;
}
