/* Untuk Tooltip */
.detooltip {
  position: relative;
  display: inline-block;
  /* border-bottom: 1px dotted black; */
}

.detooltip .tooltiptext {
  visibility: hidden;
  min-width: 150px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 3px 5px 3px;
  opacity: 0.7;
}

.detooltip .tooltiptop {
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

.detooltip .tooltiptop::after {
  content: " ";
  position: absolute;
  top: 100%;
  /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.detooltip .tooltipleft {
  position: absolute;
  z-index: 1;
  top: -5px;
  right: 105%;
}

.detooltip .tooltipleft::after {
  content: " ";
  position: absolute;
  top: 50%;
  left: 100%;
  /* To the right of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent transparent black;
}

.detooltip .tooltipright {
  position: absolute;
  z-index: 1;
  top: -5px;
  left: 105%;
}

.detooltip .tooltipright::after {
  content: " ";
  position: absolute;
  top: 50%;
  right: 100%;
  /* To the left of the tooltip */
  margin-top: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent black transparent transparent;
}

.detooltip .tooltipbottom {
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.detooltip .tooltipbottom::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  /* At the top of the tooltip */
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent black transparent;
}

.detooltip:hover .tooltiptext {
  visibility: visible;
}

/* Normal round */
.de-round-top-left {
  border-top-left-radius: 4px;
}

.de-round-top-right {
  border-top-right-radius: 4px;
}

.de-round-bottom-right {
  border-bottom-left-radius: 4px;
}

.de-round-bottom-right {
  border-bottom-right-radius: 4px;
}

/* Normal round */
/* Large round */
.de-round-top-left-large {
  border-top-left-radius: 8px;
}

.de-round-top-right-large {
  border-top-right-radius: 8px;
}

.de-round-bottom-left-large {
  border-bottom-left-radius: 8px;
}

.de-round-bottom-right-large {
  border-bottom-right-radius: 8px;
}

/* Large round */
/* XLarge round */
.de-round-top-left-xlarge {
  border-top-left-radius: 16px;
}

.de-round-top-right-xlarge {
  border-top-right-radius: 16px;
}

.de-round-bottom-left-xlarge {
  border-bottom-left-radius: 16px;
}

.de-round-bottom-right-xlarge {
  border-bottom-right-radius: 16px;
}

/* XLarge round */
/* xXLarge round */
.de-round-top-left-xxlarge {
  border-top-left-radius: 32px;
}

.de-round-top-right-xxlarge {
  border-top-right-radius: 32px;
}

.de-round-bottomleft-xxlarge {
  border-bottom-left-radius: 32px;
}

.de-round-bottom-right-xxlarge {
  border-bottom-right-radius: 32px;
}

/* xXLarge round */

.round-left-large {
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
}

.round-right-large {
  border-top-right-radius: 8px;
  border-bottom-right-radius: 8px;
}

.round-top-large {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.round-bottom-large {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.round-left-xlarge {
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
}

.round-right-xlarge {
  border-top-right-radius: 16px;
  border-bottom-right-radius: 16px;
}

.round-top-xlarge {
  /* border-radius: 16px 16px 0 0; */
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

.round-bottom-xlarge {
  /* border-radius: 0 0 16px 16px; */
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

.mirror {
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}

/*Animasi loading*/
.loader-center {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 100% !important;
  width: 100% !important;
  background: rgba(16, 16, 16, 0.9);
  z-index: 9999;
}

.loader-text {
  color: white;
  text-align: center;
  position: relative;
  top: 60%;
  font-size: 1em;
}

.loader {
  width: 100px;
  height: 100px;
  -webkit-perspective: 100px;
  perspective: 100px;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: -50px;
}

.loader__tile {
  display: block;
  float: left;
  width: 33.33%;
  height: 33.33%;
  -webkit-animation-name: flip;
  animation-name: flip;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-transform: rotateY(0deg);
  transform: rotateY(0deg);
  z-index: 0;
}

.loader__tile__1 {
  background-color: #943048;
  -webkit-animation-delay: 0.1s;
  animation-delay: 0.1s;
}

.loader__tile__2 {
  background-color: #d7532d;
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}

.loader__tile__3 {
  background-color: #d2cabb;
  -webkit-animation-delay: 0.3s;
  animation-delay: 0.3s;
}

.loader__tile__4 {
  background-color: #9faad0;
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}

.loader__tile__5 {
  background-color: #b39a3b;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
}

.loader__tile__6 {
  background-color: #dc2c34;
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}

.loader__tile__7 {
  background-color: #ece5be;
  -webkit-animation-delay: 0.7s;
  animation-delay: 0.7s;
}

.loader__tile__8 {
  background-color: #d07500;
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.loader__tile__9 {
  background-color: #7983a9;
  -webkit-animation-delay: 0.9s;
  animation-delay: 0.9s;
}

.de-box-shadow {
  -moz-box-shadow: 0px 0px 5px rgba(158, 147, 147, 0.5);
  -webkit-box-shadow: 0px 0px 5px rgba(151, 141, 141, 0.651);
  box-shadow: 5px 8px #9e9595;
}
.de-box-shadow-red {
  -moz-box-shadow: 0px 0px 5px rgba(221, 90, 90, 0.5);
  -webkit-box-shadow: 0px 0px 5px rgba(221, 101, 101, 0.5);
  box-shadow: 5px 8px #d15858;
}

.w3-border-pale-yellow,
.w3-hover-border-pale-yellow:hover {
  border-color: #ffffcc !important;
}
.w3-border-pale-blue,
.w3-hover-border-pale-blue:hover {
  border-color: #e7ffff !important;
}

.w3-card-8 {
  box-shadow: 0 20px 40px 0 rgba(0, 0, 0, 0.3), 0 2px 10px 0 rgba(0, 0, 0, 0.5);
}

.de-vertikal {
  -webkit-transform: rotate(90deg);
  -webkit-transform-origin: 0 0;
  -moz-transform: rotate(90deg);
  -moz-transform-origin: 0 0;
  -o-transform: rotate(90deg);
  -o-transform-origin: 0 0;
  transform: rotate(90deg);
  transform-origin: 0 0;
}
body {
  font-family: "Roboto", sans-serif !important;
}
form {
  padding: 5px;
}

::-webkit-scrollbar {
  width: 0.5em;
  height: 0.5em;
}
/* ::-webkit-scrollbar-button {
    background: #ccc
}
::-webkit-scrollbar-track-piece {
    background: #888
}
::-webkit-scrollbar-thumb {
    background: #eee
} */

.de-animate-close {
  animation: animateclose 0.6s;
  transition: visibility 0s, opacity 0.6s ease-out;
}
@keyframes animateclose {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(0);
  }
}

select[disabled="disabled"]::-ms-value {
  color: aquamarine;
}

.blink {
  animation: blinker 1.5s linear infinite;
  /* color: red; */
  font-family: sans-serif;
}

@keyframes blinker {
  0% {
    color: red;
  }

  50% {
    color: black;
    opacity: 0;
  }

  100% {
    color: red;
  }

  /* 50% {
    opacity: 0;
  } */
}

.de-center {
  margin: 0;
  position: absolute;
  top: 40%;
  -ms-transform: translateY(-40%);
  transform: translateY(-40%);
  left: 50%;
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: 1;
}

@font-face {
  font-family: debarcode;
  src: url(../font-code/code128.ttf);
}

@font-face {
  font-family: debarcodef;
  src: url(../font-code/BarcodeFont.ttf);
}

.de-barcode {
  font-family: debarcode
}

.de-barcodef {
  font-family: debarcodef
}


/* Gradien */
.w3-ios-dark-blue {
  color: #fff !important;
  background-color: #5856d6 !important;
}

.w3-ios-deep-blue {
  color: #fff !important;
  background-color: #007aff !important;
}

.w3-ios-blue {
  color: #fff !important;
  background-color: #34aadc !important;
}

.w3-ios-light-blue {
  color: #fff !important;
  background-color: #5ac8fa !important;
}

.w3-ios-green {
  color: #000 !important;
  background-color: #4cd964 !important;
}

.w3-ios-pink {
  color: #fff !important;
  background-color: #ff2d55 !important;
}

.w3-ios-red {
  color: #fff !important;
  background-color: #ff3b30 !important;
}

.w3-ios-orange {
  color: #fff !important;
  background-color: #ff9500 !important;
}

.w3-ios-yellow {
  color: #000 !important;
  background-color: #ffcc00 !important;
}

.w3-ios-grey {
  color: #fff !important;
  background-color: #8e8e93 !important;
}

.w3-ios-light-grey {
  color: #000 !important;
  background-color: #ceced2 !important;
}

.w3-ios-background {
  color: #000 !important;
  background-color: #efeff4 !important;
}

.w3-theme-gradient {
  color: #000 !important;
  background: -webkit-linear-gradient(top, #64b5f6 25%, #42a5f5 75%);
}

.w3-theme-gradient {
  color: #000 !important;
  background: -moz-linear-gradient(top, #64b5f6 25%, #42a5f5 75%);
}

.w3-theme-gradient {
  color: #000 !important;
  background: -o-linear-gradient(top, #64b5f6 25%, #42a5f5 75%);
}

.w3-theme-gradient {
  color: #000 !important;
  background: -ms-linear-gradient(top, #64b5f6 25%, #42a5f5 75%);
}

.w3-theme-gradient {
  color: #000 !important;
  background: linear-gradient(top, #64b5f6 25%, #42a5f5 75%);
}

/* Untuk Combo */
.de-combo-group {
  padding-top: 2px;
}

.de-row-color {
  background-color: #f2f3f4 !important;
}

/* Form Field */
.select-from {
  background: inherit;
  padding-top: 0px;
  border: none !important;
}

.select-from:focus {
  outline: none;
}
