
/* Smooth Scroll  */
/* html { scroll-behavior: smooth !important; } */

/* Flex */
.row-flex {
  display: flex;
  flex-wrap: wrap;
}

/* Text style */
.no-underline {
  text-decoration: none;
} 

/* Spacer */
.v-spacer { clear:both; }
.h10p { height: 10px; }
.h15p { height: 15px; }
.h20p { height: 20px; }
.h25p { height: 25px; }
.h30p { height: 30px; }
.h35p { height: 35px; }
.h40p { height: 40px; }
.h45p { height: 45px; }
.h50p { height: 50px; }
.h55p { height: 55px; }
.h60p { height: 60px; }
.h65p { height: 65px; }
.h70p { height: 70px; }
.h75p { height: 75px; }
.h80p { height: 80px; }
.h85p { height: 85px; }
.h90p { height: 90px; }
.h95p { height: 95px; }
.h100p { height: 100px; }
.h105p { height: 105px; }
.h110p { height: 110px; }
.h115p { height: 115px; }
.h120p { height: 120px; }
.h125p { height: 125px; }
.h130p { height: 130px; }
.h135p { height: 135px; }
.h140p { height: 140px; }
.h145p { height: 145px; }
.h150p { height: 150px; }
.h155p { height: 155px; }
.h160p { height: 160px; }
.h165p { height: 165px; }
.h170p { height: 170px; }
.h175p { height: 175px; }
.h180p { height: 180px; }
.h185p { height: 185px; }
.h190p { height: 190px; }
.h195p { height: 195px; }
.h200p { height: 200px; }
.h205p { height: 205px; }
.h210p { height: 210px; }
.h215p { height: 215px; }
.h220p { height: 220px; }
.h225p { height: 225px; }
.h230p { height: 230px; }
.h235p { height: 235px; }
.h240p { height: 240px; }
.h245p { height: 245px; }
.h250p { height: 250px; }
.h255p { height: 255px; }
.h260p { height: 260px; }
.h265p { height: 265px; }
.h270p { height: 270px; }
.h275p { height: 275px; }
.h280p { height: 280px; }
.h285p { height: 285px; }
.h290p { height: 290px; }
.h295p { height: 295px; }
.h300p { height: 300px; }
.h305p { height: 305px; }
.h310p { height: 310px; }
.h315p { height: 315px; }
.h320p { height: 320px; }
.h325p { height: 325px; }
.h330p { height: 330px; }
.h335p { height: 335px; }
.h340p { height: 340px; }
.h345p { height: 345px; }
.h350p { height: 350px; }

/* Owl Carousel */
.owl-carousel .item {
  margin-left: 10px;
}
.owl-carousel .item:first-child {
  margin-left: 0;
} 
.owl-carousel .item {
  padding: 0px 10px 20px 10px;
}

/* .owl-carousel .owl-wrapper { 
  width: 100% !important; 
} */
.owl-carousel .owl-controls .owl-buttons{
  text-align:center;
  margin-top:20px;
}
.owl-carousel .owl-controls .owl-buttons .owl-prev{
  background: #fff;
  position: absolute;
  top:-13%;
  left:15px;
  padding: 0 18px 0 15px;
  border-radius: 50px;
  box-shadow: 3px 14px 25px -10px #92b4d0;
  /* transition: background 0.5s ease 0s; */
}
.owl-carousel .owl-controls .owl-buttons .owl-next{
  background: #fff;
  position: absolute;
  top:-13%;
  right: 15px;
  padding: 0 15px 0 18px;
  border-radius: 50px;
  box-shadow: -3px 14px 25px -10px #92b4d0;
  /* transition: background 0.5s ease 0s; */
}
.owl-carousel .owl-controls .owl-buttons .owl-prev:after,
.owl-carousel .owl-controls .owl-buttons .owl-next:after{
  content:"\f104";
  font-family: FontAwesome;
  color: #333;
  font-size:30px;
}
.owl-carousel .owl-controls .owl-buttons .owl-next:after{
  content:"\f105";
}

/* centering item */
.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}

/* owl nav */
.owl-prev span, .owl-next span {
  color: var(--main-color) !important;
}

.owl-prev span:hover, 
.owl-next span:hover {
  color: #8199A3;
}

.owl-prev, .owl-next {
  position: absolute;
  top: -7%;
  height: 100%;
}

.owl-prev {
  left: -15px;
}

.owl-next {
  right: -15px;
}

.owl-next span, .owl-prev span {
  color: var(--textKuning)
}

/* removing blue outline from buttons */
button:focus, button:active {
  outline: none;
}
.owl-carousel .owl-stage {
  display: flex;
  align-items: center;
}
.owl-dots {
  text-align: center;
  padding-top: 15px;
}
.owl-dots button.owl-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-block;
  background: #D9D9D9 !important;
  margin: 0 3px;
}
.owl-dots button.owl-dot.active {
  background-color: var(--main-color) !important;
}
.owl-dots button.owl-dot:focus {
  outline: none;
}
/* ENd owl nav */


/* Alert */
.topAlert {
  position: fixed;
  top: 70px; 
  left:2%;
  width: 96%;
  z-index: 99;
}
.bottomAlert {
  position: fixed;
  bottom: 5px;
  left:2%;
  width: 96%;
  z-index: 99;
}
.alert {
  display: none;
}


/* position */
.ps-relative {
  position: relative;
}
.ps-absolute {
  position: absolute;
}


/* input loader */
.input-loader {
  width: 25px;
  height: 25px;
  background-image: url(../images/spin-loader-blue.gif);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  filter: grayscale(100%); /* Current draft standard */
  -webkit-filter: grayscale(100%); /* New WebKit */
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%); 
  -o-filter: grayscale(100%); /* Not yet supported in Gecko, Opera or IE */ 
  /* filter: url(resources.svg#desaturate);  */ /* Gecko */
  filter: rgb(0, 0, 0); /* IE */
  -webkit-filter: grayscale(1); /* Old WebKit */
  position: absolute;
  z-index: 99; 
  right: 7px; 
  top: 7px;
}

/* htmx Loader */
.htmx-indicator {
  opacity:0;
  transition: opacity 200ms ease-in;
}
/* .htmx-request .htmx-indicator{
  opacity:1;
} */
.htmx-indicator.htmx-request {
  opacity:1 !important;
}

/* htmx button spinner loader */
a.btn-Loader {
  display: none;
}
a.btn-Loader:focus {
  outline: none;
  border: none;
}
a.btn-Loader span.text-Loader {
  display: inline-flex;
  align-items: center;
}
a.btn-Loader span.text-Loader span.btn-Spinner {
  margin-left: 5px; 
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: #fff;
  animation: btnspin 1s ease-in-out infinite;
  -webkit-animation: btnspin 1s ease-in-out infinite;
}

.spin-red {
  border: 3px solid rgba(241, 3, 3, 0.3) !important;
  border-top-color: #ff0000 !important;
}

.spin-dark {
  border: 3px solid rgba(0, 0, 0, 0.3) !important;
  border-top-color: #333 !important;
}

@keyframes btnspin {
  to { -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes btnspin {
  to { -webkit-transform: rotate(360deg); }
}


/* Input style */

/* Hide arrow from input type number */
/* Chrome, Safari, Edge, Opera */
input.no-arrow::-webkit-outer-spin-button,
input.no-arrow::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
/* Firefox */
input[type=number].no-arrow {
  -moz-appearance: textfield !important;
}

/* hide outline */
input {
  outline: none !important
}



/* select2 */
body {
  overflow-x: hidden; /* Agar tidak muncul horizontal bar saat mengklik select2 */
}
.select2-selection__rendered {
  line-height: 38px !important;
}
.select2-container .select2-selection--single {
  height: 38px !important;
}
.select2-selection__arrow {
  height: 38px !important;
}
.select2-container {
  width: 100% !important;
}
span.select2-selection.select2-selection--single {
  outline: none;
}


/* Sweet Alert */
.swal2-title {
  font-size: x-large;
}
.swal2-show {
  padding-top: 20px;
}