
/* Smooth Scroll  */
html { scroll-behavior: smooth !important; }

/* Font Family */
.main-font {
  font-family: 'Myriad Pro', sans-serif;
}

/* paragraph, link and button */
body, div, span, a, button {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: normal;
    font-style: normal;
    font-variation-settings: "slnt" 0;
    font-size: 16px;
}
body, div, span {
    line-height: normal;
}
p {
    margin: 0 0 1.6em 0;
    line-height: 25.8px; 
    /* 16px x 1.618 */
}
ul.list-item {
    list-style: circle;
    padding-left: 17px;
}
ol.list-item {
    list-style: decimal;
    padding-left: 17px;
}


/* Flex */
.row-flex {
  display: flex;
  flex-wrap: wrap;
}

/* Text style */
.no-underline {
  text-decoration: none;
} 

/* height and width in percent */

/* width */
.wd-0 { width: 0%; }
.wd-5 { width: 5%; }
.wd-10 { width: 10%; }
.wd-15 { width: 15%; }
.wd-20 { width: 20%; }
.wd-25 { width: 25%; }
.wd-30 { width: 30%; }
.wd-35 { width: 35%; }
.wd-40 { width: 40%; }
.wd-45 { width: 45%; }
.wd-50 { width: 50%; }
.wd-55 { width: 55%; }
.wd-60 { width: 60%; }
.wd-65 { width: 65%; }
.wd-70 { width: 70%; }
.wd-75 { width: 75%; }
.wd-80 { width: 80%; }
.wd-85 { width: 85%; }
.wd-90 { width: 90%; }
.wd-95 { width: 95%; }
.wd-100 { width: 100%; }



/* global Spacer start form small device */
.hs-0 { height: 0px; }
.hs-5 { height: 5px; }
.hs-10 { height: 10px; }
.hs-15 { height: 15px; }
.hs-20 { height: 20px; }
.hs-25 { height: 25px; }
.hs-30 { height: 30px; }
.hs-35 { height: 35px; }
.hs-40 { height: 40px; }
.hs-45 { height: 45px; }
.hs-50 { height: 50px; }
.hs-55 { height: 55px; }
.hs-60 { height: 60px; }
.hs-65 { height: 65px; }
.hs-70 { height: 70px; }
.hs-75 { height: 75px; }
.hs-80 { height: 80px; }
.hs-85 { height: 85px; }
.hs-90 { height: 90px; }
.hs-95 { height: 95px; }
.hs-100 { height: 100px; }
.hs-105 { height: 105px; }
.hs-110 { height: 110px; }
.hs-115 { height: 115px; }
.hs-120 { height: 120px; }
.hs-125 { height: 125px; }
.hs-130 { height: 130px; }
.hs-135 { height: 135px; }
.hs-140 { height: 140px; }
.hs-145 { height: 145px; }
.hs-150 { height: 150px; }

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

    .wd-md-0 { width: 0%; }
    .wd-md-5 { width: 5%; }
    .wd-md-10 { width: 10%; }
    .wd-md-15 { width: 15%; }
    .wd-md-20 { width: 20%; }
    .wd-md-25 { width: 25%; }
    .wd-md-30 { width: 30%; }
    .wd-md-35 { width: 35%; }
    .wd-md-40 { width: 40%; }
    .wd-md-45 { width: 45%; }
    .wd-md-50 { width: 50%; }
    .wd-md-55 { width: 55%; }
    .wd-md-60 { width: 60%; }
    .wd-md-65 { width: 65%; }
    .wd-md-70 { width: 70%; }
    .wd-md-75 { width: 75%; }
    .wd-md-80 { width: 80%; }
    .wd-md-85 { width: 85%; }
    .wd-md-90 { width: 90%; }
    .wd-md-95 { width: 95%; }
    .wd-md-100 { width: 100%; }

    .hs-md-0 { height: 0px; }
    .hs-md-5 { height: 5px; } 
    .hs-md-10 { height: 10px; }
    .hs-md-15 { height: 15px; }
    .hs-md-20 { height: 20px; }
    .hs-md-25 { height: 25px; }
    .hs-md-30 { height: 30px; }
    .hs-md-35 { height: 35px; }
    .hs-md-40 { height: 40px; }
    .hs-md-45 { height: 45px; }
    .hs-md-50 { height: 50px; }
    .hs-md-55 { height: 55px; }
    .hs-md-60 { height: 60px; }
    .hs-md-65 { height: 65px; }
    .hs-md-70 { height: 70px; }
    .hs-md-75 { height: 75px; }
    .hs-md-80 { height: 80px; }
    .hs-md-85 { height: 85px; }
    .hs-md-90 { height: 90px; }
    .hs-md-95 { height: 95px; }
    .hs-md-100 { height: 95px; }
    .hs-md-105 { height: 105px; }
    .hs-md-110 { height: 110px; }
    .hs-md-115 { height: 115px; }
    .hs-md-120 { height: 120px; }
    .hs-md-125 { height: 125px; }
    .hs-md-130 { height: 130px; }
    .hs-md-135 { height: 135px; }
    .hs-md-140 { height: 140px; }
    .hs-md-145 { height: 145px; }
    .hs-md-150 { height: 150px; }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) { 

    .wd-lg-0 { width: 0%; }
    .wd-lg-5 { width: 5%; }
    .wd-lg-10 { width: 10%; }
    .wd-lg-15 { width: 15%; }
    .wd-lg-20 { width: 20%; }
    .wd-lg-25 { width: 25%; }
    .wd-lg-30 { width: 30%; }
    .wd-lg-35 { width: 35%; }
    .wd-lg-40 { width: 40%; }
    .wd-lg-45 { width: 45%; }
    .wd-lg-50 { width: 50%; }
    .wd-lg-55 { width: 55%; }
    .wd-lg-60 { width: 60%; }
    .wd-lg-65 { width: 65%; }
    .wd-lg-70 { width: 70%; }
    .wd-lg-75 { width: 75%; }
    .wd-lg-80 { width: 80%; }
    .wd-lg-85 { width: 85%; }
    .wd-lg-90 { width: 90%; }
    .wd-lg-95 { width: 95%; }
    .wd-lg-100 { width: 100%; }

    .hs-lg-0 { height: 0px; }
    .hs-lg-5 { height: 5px; }
    .hs-lg-10 { height: 10px; }
    .hs-lg-15 { height: 15px; }
    .hs-lg-20 { height: 20px; }
    .hs-lg-25 { height: 25px; }
    .hs-lg-30 { height: 30px; }
    .hs-lg-35 { height: 35px; }
    .hs-lg-40 { height: 40px; }
    .hs-lg-45 { height: 45px; }
    .hs-lg-50 { height: 50px; }
    .hs-lg-55 { height: 55px; }
    .hs-lg-60 { height: 60px; }
    .hs-lg-65 { height: 65px; }
    .hs-lg-70 { height: 70px; }
    .hs-lg-75 { height: 75px; }
    .hs-lg-80 { height: 80px; }
    .hs-lg-85 { height: 85px; }
    .hs-lg-90 { height: 90px; }
    .hs-lg-95 { height: 95px; }
    .hs-lg-100 { height: 100px; }
    .hs-lg-105 { height: 105px; }
    .hs-lg-110 { height: 110px; }
    .hs-lg-115 { height: 115px; }
    .hs-lg-120 { height: 120px; }
    .hs-lg-125 { height: 125px; }
    .hs-lg-130 { height: 130px; }
    .hs-lg-135 { height: 135px; }
    .hs-lg-140 { height: 140px; }
    .hs-lg-145 { height: 145px; }
    .hs-lg-150 { height: 150px; }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 

    .wd-xl-0 { width: 0%; }
    .wd-xl-5 { width: 5%; }
    .wd-xl-10 { width: 10%; }
    .wd-xl-15 { width: 15%; }
    .wd-xl-20 { width: 20%; }
    .wd-xl-25 { width: 25%; }
    .wd-xl-30 { width: 30%; }
    .wd-xl-35 { width: 35%; }
    .wd-xl-40 { width: 40%; }
    .wd-xl-45 { width: 45%; }
    .wd-xl-50 { width: 50%; }
    .wd-xl-55 { width: 55%; }
    .wd-xl-60 { width: 60%; }
    .wd-xl-65 { width: 65%; }
    .wd-xl-70 { width: 70%; }
    .wd-xl-75 { width: 75%; }
    .wd-xl-80 { width: 80%; }
    .wd-xl-85 { width: 85%; }
    .wd-xl-90 { width: 90%; }
    .wd-xl-95 { width: 95%; }
    .wd-xl-100 { width: 100%; }

    .hs-xl-0 { height: 0px; }
    .hs-xl-5 { height: 5px; }
    .hs-xl-10 { height: 10px; }
    .hs-xl-15 { height: 15px; }
    .hs-xl-20 { height: 20px; }
    .hs-xl-25 { height: 25px; }
    .hs-xl-30 { height: 30px; }
    .hs-xl-35 { height: 35px; }
    .hs-xl-40 { height: 40px; }
    .hs-xl-45 { height: 45px; }
    .hs-xl-50 { height: 50px; }
    .hs-xl-55 { height: 55px; }
    .hs-xl-60 { height: 60px; }
    .hs-xl-65 { height: 65px; }
    .hs-xl-70 { height: 70px; }
    .hs-xl-75 { height: 75px; }
    .hs-xl-80 { height: 80px; }
    .hs-xl-85 { height: 85px; }
    .hs-xl-90 { height: 90px; }
    .hs-xl-95 { height: 95px; }
    .hs-xl-100 { height: 100px; }
    .hs-xl-105 { height: 105px; }
    .hs-xl-110 { height: 110px; }
    .hs-xl-115 { height: 115px; }
    .hs-xl-120 { height: 120px; }
    .hs-xl-125 { height: 125px; }
    .hs-xl-130 { height: 130px; }
    .hs-xl-135 { height: 135px; }
    .hs-xl-140 { height: 140px; }
    .hs-xl-145 { height: 145px; }
    .hs-xl-150 { height: 150px; }
}

.btn-main {
    display: inline-block;
    border: solid 2px darkblue;
    background-color: darkblue;
    color: #FFF;
    padding: 5px 15px;
    border-radius: 0px;
    text-decoration: none;
}
.btn-main:hover, .btn-main:active {
    border: solid 2px darkblue;
    background-color: darkblue;
    color: #FFF;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.btn-yellow {
    display: inline-block;
    border: solid 2px #ffde59;
    background-color: #ffde59;
    font-family: 'Myriad Pro', sans-serif;
    color: #333;
    padding: 5px 15px;
    border-radius: 0px;
    text-decoration: none;
}
.btn-yellow:hover, .btn-yellow:active {
    border: solid 2px #ffde59;
    background-color: #ffde59;
    color: #333;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}


/* modal */
div:where(.swal2-container) div:where(.swal2-popup) {
    border-radius: 0;
}
div:where(.swal2-container) button:where(.swal2-close):focus {
    box-shadow: none !important;
}
button.swal2-close {
    position: absolute;
    right: 0px; top: 0px;
}
/* untuk inner modal */
.swal2-html-container > div.modal-inner {
    width: 92%;
    margin: 0 auto;
    padding-top: 15px;
}
.swal-small {
    width: 800px !important;
    max-width: 90vw;
}
.swal-medium {
    width: 900px !important;
    padding-top: 0px;
    padding-bottom: 0px;
}
.swal-wide {
    width: 80vw !important;
    padding-top: 0px;
    padding-bottom: 0px;
}


/* 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;
}