@charset "utf-8";
input,div,textarea,select{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;}

/* GRID */
.xcol-2,.mcol-2,.xcol-3,.mcol-3,.xcol-4,.mcol-4{display: grid}
.xcol-2,.mcol-2{grid-template-columns: 1fr 1fr;}
.xcol-3,.mcol-3,.mcol-3-2{
  grid-template-columns: repeat(3, 1fr);}
.xcol-4,.mcol-4,.mcol-4-2{
  grid-template-columns: repeat(4, 1fr);}
.xcol-5,.mcol-5{grid-template-columns: repeat(5, 1fr);}
.xcol-6,.mcol-6,.mcol-6-2{grid-template-columns: repeat(6, 1fr);}
.xcol-2-1,.mcol-2-1{
  display: grid;
  grid-template-columns: 2fr 1fr;
}
.enter{
  padding: 10px 0;
}

/* FORM */
.xselect-transparent{
}
.xselect-transparent select{
  border: none;
  border-radius: 0;
  padding: 12.5px;
  background-color: #fff;
  border-bottom: solid 2px #f7f7f7;
  cursor: pointer;
}

/* FORM INPUT RP
<div class=xform-row>
  <label>Nominal</label>
  <div class=xinput-label-rp>
    <span>Rp.</span>
    <input class=xform-input data-xtype=rp>
  </div>
</div>
*/
.xinput-label-rp{
  position: relative;
}
.xinput-label-rp span{
  position: absolute;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 12px 0;
  color: gray;
}
.xinput-label-rp input{
  border: none;
  border-bottom: solid 2px #f7f7f7;
  padding: 10px 5px;
  border-radius: 0;
  padding-left: 24px !important;
}

/* DATALIST THEME DEFAULT */
.xdatalist{
  position: relative;
  width: 100%;
}
.xdatalist-select{
  position: absolute;
}
.xdatalist-option{
  background-color: #f7f7f7;
  padding: 10px 5px;
  border-bottom: solid 1px #ecebeb;
}
.xdatalist-option:hover{
  cursor: pointer;
  background-color: #e6e6e6;
}
.xdatalist-selected{
  display: none;
  position: absolute;
  top: 10px;
  left: 5px;
  background-color: #9d9b9b;
  padding: 5px 25px 5px 5px;
  border-radius: 5px;
}
.xdatalist-selected-text{
  color: #fff;
}
.xdatalist-selected i{
  position: absolute;
  right: 5px;
  font-size: 1rem;
  color: #fffdfd;
  cursor: pointer;
}
.xdatalist-selected i:hover{
  color: #b55;
}

/* ANIMATION */
.xreveal{
  opacity: 0;
  transition: 2s all ease;
}
.xreveal.active{
  transform: translateY(0);
  transform: translateX(0);
  opacity: 1;
}
.xreveal-to-up{
  transform: translateY(150px);
}
.xreveal-to-down{
  transform: translateY(-150px);
}
.xreveal-to-left{
  transform: translateX(150px);
}
.xreveal-to-right{
  transform: translateX(-150px);
}
/* SEARCH */
.xsearch{
  position: relative;
  padding-bottom: 1px;
  bottom: 0;
  right: 0;
}
.xsearch-icon{
  position: absolute;
  left: 0;
  padding: 10px;
}
.xsearch-icon i{
  color: grey;
  font-size: 0.9rem;
}
.xsearch-input{

}
.xsearch-input input{
  padding: 10px 0 10px 30px;
  border-radius: 3px;
  border: solid 1px #ccc;
}
.xsearch-input input:focus{
  outline: none;
}

/* IMAGE */
.xthumb{
  object-fit: cover;
}

/* IMAGE TEMPLATES */
/*
  <div class=ximg-image-text>
    <div class=ximg-image-text-img>
      <img src="" alt="">
    </div>
    <div class=ximg-image-text-txt>
      TEXT
    </div>
  </div>
*/
.ximg-image-text{
  display: grid;
  grid-template-columns: 50px 1fr;
}
  .ximg-image-text-img{
    justify-content: center;

  }
  .ximg-image-text-img img{
    max-width: 100%;
  }


@media only screen and (max-width : 480px) {
  .mcol-2,.mcol-2-1,.mcol-3,.mcol-4{
    grid-template-columns: 1fr;
  }
  .mcol-3-2,.mcol-4-2,.mcol-6-2{grid-template-columns: repeat(2, 1fr);}
}
