/* THEME */
:root {
  --primary: #0275d8;
  --info: #5bc0de;
  --warning: #f0ad4e;
  --danger: #d9534f;
  --success: #5cb85c;

  --grad-primary: linear-gradient(135deg, #3b8be7 0%,#00e9ff 100%);
  --grad-info: linear-gradient(135deg, #64fdef 0%,#1d6fa3 100%);
  --grad-warning: linear-gradient(135deg, #ffa8a8 0%,#fcff00 100%);
  --grad-danger: linear-gradient(135deg, #ff9a8b 0%,#ff6987 100%); 
  --grad-success: linear-gradient(135deg, #6ff56f 0%,#48c628 100%);

}

a {
  cursor: pointer;
}

i.load::before {
  content:'Loading data....... please wait!';
  color: red;
  font-size: 14px;
  margin: 20px;
}

/* DISPLAY */
.hidden {
  display: none !important;
}
.d_inline {
  display:inline;
}
.d_block {
  display: block;
}
/* POSITION */
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}

/* CURSOR */
.hand {
  cursor:pointer;
}

/* FLEX-BOX */
.flex-center {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.flex-rsv {
  flex-direction: row-reverse!important;
}
.flex-start {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
}
.flex-end {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-end;
}
.flex-around {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-around;
}
.flex-between {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: space-between;
}
.item-center {
  align-items: center;
}
.flex1 {
  flex: 1;
}
.flex2 {
  flex: 2;
}
.flex3 {
  flex: 3;
}
.flex4 {
  flex: 4;
}
.flex5 {
  flex: 5;
}
.flex6 {
  flex: 6;
}
.flex7 {
  flex: 7;
}
.flex8 {
  flex: 8;
}

/* BORDER  */
.rad5 {
  border-radius: 5px;
}
.rad8 {
  border-radius: 8px;
}
.rad10 {
  border-radius: 10px;
}
.rad15 {
  border-radius: 15px;
}
.rad20 {
  border-radius: 20px;
}
.rad50 {
  border-radius: 50% !important;
}

/* BACKGROUND */
.bgw {
  background-color: white;
}
.bgtes {
  background-color: #ccc;
}
.bgdark {
  background-color: var(--dark);
  color: var(--light);
}
.bgdark2 {
  background-color: var(--dark2);
}
.bglight {
  background-color: var(--light);
  color: var(--dark);
}
.bg-salmon {
  background-color: salmon;
  color: white;
}
.bg-alice {
  background-color: aliceblue;
}
.bg-cornsilk {
  background-color: cornsilk;
}
.bg-lavender {
  background-color: lavender;
}
.bg-gold {
  background-color: gold;
}
.bg-orange {
  background-color: orange;
  color: white;
}
.bg-skyblue {
  background-color: deepskyblue;
  color: white;
}
.bgshadow {
  box-shadow: 1px 5px 8px rgba(0,0,0,0.7);
}
/* ALERT */
.alert-danger {
  text-align: center;
  background-color: pink;
  color: red;
  border: 1px solid red;
  padding: 8px;
}
.alert-warning {
  text-align: center;
  background-color: cornsilk;
  color: red;
  border: 1px solid red;
  padding: 8px;
}
.alert-info {
  text-align: center;
  background-color: #bfefff;
  color: blue;
  border: 1px solid blue;
  padding: 8px;
}
/* Height */
.h100 {
  min-height: 100px;
}
.h80 {
  min-height: 80px;
}
.h50 {
  min-height: 50px;
}
.h-max {
  min-height:100vh;
}
/* Width */
.w-max {
  width: 100%;
}

/* FONT STYLE */
.f10 {
  font-size: 10px;
}
.f12 {
  font-size: 12px;
}
.f14 {
  font-size: 14px;
}
.f16 {
  font-size: 16px;
}
.f18 {
  font-size: 18px;
}
.f20 {
  font-size: 20px;
}
.f22 {
  font-size: 22px;
}
.f25 {
  font-size: 25px;
}
.f30 {
  font-size: 30px;
}
.f45 {
  font-size: 45px;
}
.f50 {
  font-size: 50px;
}
.f72 {
  font-size: 72px;
}
.fb {
  font-weight: bold;
}
.fi {
  font-style: italic;
}
.fdark {
  color: var(--dark);
}
.flight {
  color: var(--light);
}
.fr {
  color: red;
}
.fw {
  color: white;
}
.ftes {
  color: #888;
}
.fblue {
  color: blue;
}
.fgreen {
  color: #006600;
}
.fyellow {
  color: yellow;
}
.fshadow {
  text-shadow: 1px 5px 8px rgba(0,0,0,0.7);
}

/* SPACE */
.line-1 {
  line-height: 1.1;
}
.line-2 {
  line-height: 1.2;
}
.line-3 {
  line-height: 1.3;
}
.line-4 {
  line-height: 1.4;
}
.line-5 {
  line-height: 1.5;
}

/* ANIMATION */
.anim {
  transform: translate(0,0) scale(1);
  transition: 1s;
  opacity: 1;
}
.anim.fade-in {
  transform: scale(0.1);
  transition: 1s;
  opacity: 0;
}
.anim.from-top {
  transform: translateY(-500px);
  transition: 1s;
  opacity: 0;
}
.anim.from-bottom {
  transform: translateY(500px);
  transition: 1s;
  opacity: 0;
}
.anim.from-left {
  transform: translateX(-500px);
  transition: 1s;
  opacity: 0;
}
.anim.from-right {
  transform: translateX(500px);
  transition: 1s;
  opacity: 0;
}
.anim.spiral {
  transform: rotate(180deg);
  transition: 1s;
  opacity: 0;
}
.anim.zoom {
  transform: scale(1.15);
  transition: 1s;
  opacity: 1;
}
.anim.splash {
  transition: 1s;
  opacity: 0;
}
.anim.hide {
  display: none;
}

/* scroll bar */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.scroll-show::-webkit-scrollbar {
  width: 6px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: black;
}

/* Table */
.table thead {
  position: sticky;
  top: 0;
  left: 0;
  z-index:10;
}
.table thead th, .table th {
  text-align: center;
}

/* IMAGE */
img.zoom {
  cursor: pointer;
}
.img_upload > input {
  display: none;
}

/* FORM  */
.form-grup {
  margin-top:10px;
}
.form-grup label {
  font-weight: bold;
  font-size: 11px;
  margin-bottom: 0;
  padding-left:10px;
}
.form-grup .form-control::placeholder{
  font-size: 12px;
  color: #AAA;
}

/* BODY LAYER */
.anim-proses {
  background-color: black;
  position: absolute;
  z-index:1000;
  top: 0;
  left: 0;
  padding-top: 15vh;
  width: 100%;
  height: 100vh;
  opacity: 0.75;
  display: none;
}
.layer {
  background-color: black;
  position: absolute;
  z-index:5000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  opacity: 0.75;
  display: none;
}
.layer-img, .layer-page {
  position: absolute;
  z-index: 6000;
  left: 0;
  top:0;
  width:100%;
  display: none;
}
.layer-page {
  height: 95vh;
  overflow-y: auto;
}
#layer-page {
  height: 100vh;
  overflow:auto;
}
/* action */
.action {
  position:absolute;
  background-color: white;
  border-radius: 15px 15px 0 0;
  border-top: 5px solid var(--dark);
  padding: 10px;
  top:105vh;
  opacity: 0;
  left:0;
  width:100%;
  height: 100vh;
  z-index:6000;
  transition: 0.3s;
  display:none;
}
.action.active {
  transition: 0.3s;
  top: 20vh;
  opacity: 1;
}
.action.full {
  top: 0vh;
  transition: 0.3s;
  border-radius: 0;
  opacity: 1;
  height: 100vh;
  overflow:auto;
}
.action div.div-close {
  position:relative;
  margin-top:-30px
}
.action.full div.div-close {
  margin-top:0 !important;
}
/* TOASTER */
.toaster {
  position:absolute;
  width:25%;
  left: 0;
  bottom: 0;
  height: 0;
  padding: 0;
  opacity: 0;
  transition: 1s;
  z-index:50000;
}
.toaster.active {
  padding: 10px;
  opacity: 1;
  width: 100%;
  transition: 1s;
  min-height: 8vh;
}

/* sidemenu */
.side-menu-layer {
  position: absolute;
  z-index:5100;
  width: 100vw;
  height: 100vh;
  top:0;
  left:0;
  overflow: hidden;
  display:none;
}
.side-menu {
  transform: translateX(-100vw);
  width: 100vw;
  height: 100vh;
  background-color: white;
  transition: 0.6s;
}
.side-menu.active {
  transform: translateX(0);
}
 /* guide light */
.guide-light {
  position: relative;
  z-index: 100000;
  border: 1px solid red;
  color: red;
}
/* list counter */
.list-counter {
  display: none;
}
/* overflow */
.over-flow-auto {
  overflow: auto;
  padding-bottom: 80px;
  padding-right: 10px;
}
.over-flow-hide {
  overflow: hide;
}
/* Zoom */
.zoom9 {
  zoom: 0.9;
}
.zoom8 {
  zoom: 0.8;
}
.zoom7 {
  zoom: 0.7;
}
.zoom6 {
  zoom: 0.6;
}
.zoom5 {
  zoom: 0.5;
}
/* swal alert */
.swal2-container {
  z-index: 20000!important;
}
/* field form ajib diisi */
.wajib-diisi.highlight {
  z-index: 500000!important;
  border: 1px solid red;
  background-color: mistyrose;
}

/* show mobile or desktop */
.lg-hide, .lg-hide-fix, .lg-hide-flex {
  display: none !important;
}
.sm-hide-fix {
  display: fixed !important;
}
.sm-hide-flex {
  display: flex !important;
}
.sm-hide {
  display: block !important;
}

/* Input box */
.input-box {
  position: relative;
  width:100%;
  height:50px;
  border-bottom: 1px solid #ccc;
  margin: 15px 0;
}
.input-box label {
  position: absolute;
  top: 50%;
  left: 5px;
  transform: translateY(-50%);
  font-size: 0.8em;
  color: #888;
  pointer-events: none;
  transition: .3s;
}
.input-box input,
.input-box textarea,
.input-box select {
  font-weight: 500;
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding-left: 15px;
  padding-right: 35px;
  font-size: 1.3em;
}
.input-box select {
  appearance:none;
}
.input-box select:focus~label,
.input-box select:valid~label,
.input-box textarea:focus~label,
.input-box textarea:valid~label,
.input-box input:focus~label,
.input-box input:disabled~label,
.input-box input:valid~label {
    top: -5px;
}
.input-box .icon {
  position: absolute;
  right: 8px;
  font-size: 1.2em;
  color: #888;
  line-height:53px;
}

/* ANIMATION */
.flip {
  animation: anim_flip 1s infinite;
}

@keyframes anim_flip {
    from { opacity: 1}
    to { opacity: 0}
}

/* TABULASI */
.tab-opsi {
  border-radius: 20px;
  display: flex;

}   
.tab-opsi .opsi {
  flex:1;
  text-align: center;
  border-radius: 20px;
} 


@media screen and (max-width: 500px) {
  .sm-hide, .sm-hide-fix, .sm-hide-flex {
    display: none !important;
  }
  .lg-hide-fix {
    display: fixed !important;
  }
  .lg-hide-flex {
    display: flex !important;
  }
  .lg-hide {
    display: block !important;
  }
  /* zoom */
  .sm-zoom9 {
    zoom: 0.9;
  }
  .sm-zoom8 {
    zoom: 0.8;
  }
  .sm-zoom7 {
    zoom: 0.7;
  }
  .sm-zoom6 {
    zoom: 0.6;
  }
  .sm-zoom5 {
    zoom: 0.5;
  }
}
