@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300&family=Pacifico&family=Raleway:wght@300&display=swap');

/* font-family: 'IBM Plex Sans', sans-serif;
font-family: 'Pacifico', cursive;
font-family: 'Raleway', sans-serif; */

#background_data {
  position: fixed;
  top:0;
  left:0;
  right:0;
  bottom:0;
  background-color: rgba(0, 0, 0, 0.7); /* change if the mask should have another color then white */
  z-index:9996; /* makes sure it stays on top */
  opacity:0.9;
  display: none;
}
.box-loader {
  display: none;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: transparent;
  z-index: 9997;
}
.loader {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 10rem;
  border: 3px solid white;
  background: linear-gradient(#eb31b0, #e4c352, #7df8d6);
  box-shadow: 0px 0px 100px -50px black;
  animation: animate 1s linear infinite;
}
.icon-loader {
  position: fixed;
  /* background-image: url('../../images/logo_wia_load.png'); */
  background-repeat: no-repeat;  
  left: 50%;
  top: 50%;
  margin-left: -75px;
  margin-top: -75px;
  width: 80%;
  height: 80%;
  z-index: 9998;
}

.loader::before {
  position: absolute;
  content: "";
  background: #fff;
  
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  border-radius: 10rem;
  border: 3px solid white;
  box-shadow: inset 0px 0px 100px -70px #111;
}

@keyframes animate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.title-page {
  text-transform: uppercase;
}

#table_adhi {
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
  /* font-family: 'Times New Roman', Times, serif; */
}
/* #table_adhi thead tr th {
  cursor: pointer;
  font-weight: 700;
} */
#table_adhi tbody tr.even:hover {
  background-color: rgba(44, 239, 90, 0.44);
  /* cursor: pointer; */
}
#table_adhi tbody tr.odd:hover {
  background-color: rgba(44, 239, 90, 0.44);
  /* cursor: pointer; */
}

.font-ibm {
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
}


.header-modal {
  background: #f43b48;
	background: -moz-linear-gradient(left, #f43b48 0%, #04A238 100%);
	background: -webkit-linear-gradient(left, #f43b48 0%, #04A238 100%);
	background: -ms-linear-gradient(left, #f43b48 0%, #04A238 100%);
	background: linear-gradient(to right, #f43b48 0%, #04A238 100%);
  color: #fff;
}

.hide {
  display: none!important;
}

.title-form-tgl {
  text-align: right;
}

#ean_number:focus {
  background-color: greenyellow;
}
.table-scroll::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  background-color: #F5F5F5;
}

.table-scroll::-webkit-scrollbar {
  width: 15px; 
  height: 15px;
  background-color: #F5F5F5;
}

.table-scroll::-webkit-scrollbar-thumb {
  background-color: #F90;	
  background-image: -webkit-linear-gradient(45deg,
  rgba(255, 255, 255, .2) 25%,
  transparent 25%,
  transparent 50%,
  rgba(255, 255, 255, .2) 50%,
  rgba(255, 255, 255, .2) 75%,
  transparent 75%,
  transparent)
}
.table-scroll {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: auto;
  overflow: auto;
  /* height: 350px; */
  /* height: 100vh; */
  height: 500px;
  scrollbar-color: #0A4C95 #C2D2E4;
}

.table-scroll table {
  width: 100%;
  min-width: 1280px;
  margin: auto;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'IBM Plex Sans', Helvetica, Arial, sans-serif;
}

.table-wrap {
  position: relative;
}

.table-scroll th,
.table-scroll td {
  padding: 5px 10px;
  border: 1px solid #000;
  
  vertical-align: middle;
  /* z-index: 10; */
}

.table-scroll thead th {
  background: #333;
  color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0; text-align: center;
  height: 60px;
}

/* .table-scroll tbody td {
  background: #333;
  color: #fff;
  position: -webkit-sticky;
  position: sticky;
  top: 0; text-align: center;
  height: 60px;
} */

/* safari and ios need the tfoot itself to be position:sticky also */
.table-scroll tfoot,
.table-scroll tfoot th,
.table-scroll tfoot td {
  position: -webkit-sticky;
  position: sticky;
  bottom: 0;
  background: #0A4C95;
  color: #fff;
  z-index: 18;
}
.table-scroll tfoot th {
  text-align: right;
  height: 60px;
  vertical-align: middle;
}

/* a:focus {
  background: red;
} */

/* testing links*/

th:nth-child(1) {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  z-index: 3;
  background: #F90;
}
td:nth-child(1) {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
  /* z-index: 2; */
  background-color: #F5F5F5;
  /* background: violet; */
}

thead th:nth-child(1) {
  z-index: 20;
}
tbody td:nth-child(1) {
  z-index: 17;
}
tfoot th:nth-child(1) {
  z-index: 20;
}
.table-scroll tbody td {
  font-weight: 400; color: #333;
}

.table-scroll tr:hover {background-color: greenyellow;}

.form-input-custom {
  border:2px solid #999; padding: 2px; margin: 2px; max-width: 100%; background-color: #FFF;
}
.form-input-custom:focus {
  /* background-color: burlywood;  */
  border: 2px solid #000;
  background-color: yellowgreen; color: #000; 
  /* font-weight: 600; */
}
.form-input-custom:hover {
  /* background-color: burlywood;  */
  border: 2px solid #000;
}

.form-plus {
  background-color: rgba(78, 242, 39, 0.29);
}
.form-minus {
  background-color: rgba(211, 18, 58, 0.29);
}
.h-100 {
  height: 100%;
}
.w-100 {
  width: 100%;
}


@media screen and (max-width: 540px) {
  
  .wrapper-mobile-full {
    /* background-color: #7df8d6; */
    padding: 0 !important;
  }

  .table-scroll {
    font-size: 0.5rem;
  }

  .table-scroll th,
  .table-scroll td {
    padding: 2px 2px;
    border: 1px solid #000;
    
    vertical-align: middle;
    /* z-index: 10; */
  }
  .form-qty-received {
    width: 50px; 
  }
  .form-receive-id {
    width: 70px; 
  }
  .form-status-receive-po {
    width: 50px; 
  }

  .form-actual {
    width: 50px; 
  }
  .form-pallet-id {
    width: 70px; 
  }
  .form-outbond-check {
    width: 50px; 
  }
  .form-qty-delivery-sf {
    width: 50px; 
  }
}

.text-green {
  color: #04A238;
}

.toggle-custom {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 25px;
}

.toggle-custom input {
  display: none;
}

.slider-toggle-custom {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #333;
  transition: 0.4s;
  border-radius: 25px;
}

.slider-toggle-custom:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 4px;
  bottom: 4px;
  background-color: #FFF;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider-toggle-custom {
  background-color: #060;
}

input:checked + .slider-toggle-custom:before {
  transform: translateX(34px);
}