@import url('//netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css');
html {
  --scrollbarBG: #e7e8e9;
  --thumbBG: #b5e5f7;
}
body::-webkit-scrollbar {
  width: 11px;
}
body {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}
.gradient_1 {
  z-index: -2;
  position: absolute;
  width: 1000px;
  height: 1000px;
  left: -400px;
  top: -700px;
  background: rgba(0, 174, 235, 0.1);
  border-radius: 50%;
  filter: blur(2000px);
}
.gradient_2 {
  z-index: -2;
  position: absolute;
  width: 1000px;
  height: 1000px;
  right: -500px;
  top: -600px;
  background: rgba(255, 127, 0, 0.1);;
  border-radius: 50%;
  filter: blur(2000px);
}
.gradient_3 {
  z-index: -2;
  position: absolute;
  width: 1000px;
  height: 1000px;
  right: -700px;
  top: 1300px;
  background: rgba(0, 174, 235, 0.07);
  border-radius: 50%;
  filter: blur(2000px);
}
.gradient_4 {
  z-index: -2;
  position: absolute;
  width: 1000px;
  height: 1000px;
  left: -700px;
  top: 1000px;
  background: rgba(255, 127, 0, 0.1);;
  border-radius: 50%;
  filter: blur(2000px);
}
.text-red {
  color: #ec3c34;
}
.text-yellow {
  color: #f89828;
}
.text-blue {
  color: #25AAE1;
}
.text-decoration-underline-orange {
  text-decoration: underline;
  text-decoration-color: #ff7f00;
}
#map {
  height: 400px;
  z-index: 0;
}
.logo-pgk img {
  height: 90px;
  margin-top: 4rem;
}
.search-layanan-form {
  background-color: #fff;
  box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.06);
  padding: 0.75rem !important;
  border-radius: 1.4rem;
}
.btn-form-front {
  border-radius: 1rem;
}
.select-kategori-layanan {
  border: 0;
  width: 50%;
}
.tag-search {
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid #ff7f00;
  color: #ff7f00;
  font-size: 0.9rem;
  margin-right: 0.2rem;
  background: #ffffff;
}
.tag-search:hover {
  background: #ff7f00;
  color: #fff;
}
.rounded-40 {
  border-radius: 2.5rem;
}
.rounded-16 {
  border-radius: 1rem;
}
.heading-senyum2 {
  font-size: 2.5rem;
  font-weight: 500;
  font-family: "Oswald", sans-serif;
}
/*MENU Kategori*/
.kategori_con {
  position: relative;
  display: flex;
  flex-direction:column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 5rem
}
.kategori_con img {
  height: 50px;
  width: 50px;
}
.kategori_con_a {
  font-weight: 500;
  color: #333;
  cursor: pointer;
}
.kategori_con_a:before {
  display: block;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%
}

.kategori_con::before {
  content:'';
  position: absolute;
  top: -30px;
  right: 30%;
  width: 80px;
  height: 80px;
  z-index: -1;
  background: rgb(255,127,0);
  background: linear-gradient(90deg, rgba(255,127,0,0.20490194368763126) 0%, rgba(255,127,0,1) 100%);
  box-sizing: border-box;
  opacity: 0.5;
  transform: rotate(-60deg);
  border-radius: 24px;
  /*transition: all 1s ease-in-out;*/
}
.kategori_con:hover::before {
  animation: rotate_kategori 3s linear infinite;
}
@keyframes rotate_kategori {
  0% {
    transform: rotate(360deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.subkategori {
  padding: 1.5rem 0;
  text-align: center;
  display: block;
  background: #fefefe;
  border: 2px solid #ddd;
  border-radius: 1rem;
  color: #333;
  font-weight: 600;
}
.subkategori:hover {
  box-shadow: 0px 5px 42px -23px rgba(0,0,0,0.34);
  border-color: #ff7f00;
  background: #fff;
  color: #ff7f00
}
/*FAQ*/
summary {
   border: 4px solid transparent;
   outline: none;
   padding: 1rem;
   display: block;
   background: #fff;
   color: #444;
   border: 1px solid #dce0e8;
   padding-left: 2.2rem;
   position: relative;
   cursor: pointer;
   border-radius: 16px;
   background: white;
}
 summary:focus {
   border-color: #ff7f00;
}
 details {
   box-sizing: border-box;
   margin-top: 1rem;
}
 details summary::-webkit-details-marker {
   display: none;
}
 details[open] > summary:before {
   transform: rotate(90deg);
}
 summary:before {
   content: '';
   border-width: 0.4rem;
   border-style: solid;
   border-color: transparent transparent transparent #ff7f00;
   position: absolute;
   top: 1.3rem;
   left: 1rem;
   transform: rotate(0);
   transform-origin: 0.2rem 50%;
   transition: 0.25s transform ease;
}
 .content {
   border-top: none;
   padding: 10px 10px 10px 30px;
   border-top: none;
}
 p {
   margin: 0;
   padding-bottom: 10px;
}
 p:last-child {
   padding: 0;
}

.apa-senyum {
  background: #fff;
}
/*RATING*/

.rating { 
  border: none;
  width:fit-content;
  height:fit-content;
}

.rating > input { display: none; } 
.rating > label:before { 
  margin: 5px;
  font-size: 1.5em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
}

.rating > .half:before { 
  content: "\f089";
  position: absolute;
}

.rating > label { 
  color: #ddd; 
 float: right; 
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  } 
/*KATEGORI*/
.list-detail {
  display: flex;
  align-items: center;
  margin-top: 16px;
  gap: 16px;
  font-weight: 400;
  background: #ffffff;
  border: 1px solid #d6d6d6;
  box-sizing: border-box;
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  padding: 8px;
  transition: all 0.3s ease-in-out;
}
.list-detail a {
  color: #00aeeb;
  display: block;
}
.list-detail:hover {
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.08);
}
.list-detail:hover .con-icon {
  background-color: #fafafa;
}
.con-icon {
  padding: 8px;
  border: 1px solid #ff7f00;
  border-radius: 8px;
  height: 50px;
  width: 50px;
  text-align: center;
}
.list-informasi {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 400;
  background: #ffffff;
  border: 1px solid #d6d6d6;
  box-sizing: border-box;
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.02);
  border-radius: 12px;
  padding: 8px;
  transition: all 0.3s ease-in-out;
}
.list-informasi img {
  width: 20px;
}
/*SWIPER */
.swiper {
  width: 100%;
  height: 100%;
  z-index: 0 !important;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* LOADING */
.lds-ripple {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ripple div {
  position: absolute;
  border: 4px solid #00aeeb;
  opacity: 1;
  border-radius: 50%;
  animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
  animation-delay: -0.5s;
}
.cursor {
  cursor: pointer;
}
/* CHATBOX */
#chat-wrapper {
  z-index: 100;
}
.operator-chat {
  width: 80px;
  position: fixed;
  bottom: 0;
  right: 20px;
  cursor: pointer;
}
.operator-welcome {
  position: fixed;
  bottom: 20px;
  right: 120px;
  background: #fff;
  padding: 0.5rem 16px;
  border-radius: 8px;
  border: 1px solid #00aeeb;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.16);
  cursor: pointer;
}
.operator-welcome:after {
  content: "";
  display: block;
  border: 8px solid transparent;
  border-left-color: #fff;
  float: right;
  margin-right: -32px;
}

.operator-welcome .text-muted {
  font-size: 0.8rem;
}
.chat-container {
  position: fixed;
  bottom: 100px;
  right: 20px;
  background-color: #fff;
  border-radius: 1rem;
  border: 1px solid #00aeeb;
  max-width: 320px;
  box-sizing: border-box;
  box-shadow: 0px 40px 40px rgba(0, 0, 0, 0.16);
  clip-path: circle(0% at 100% 100%);
}
.header-chat {
  background-color: #00aeeb;
  padding: 1rem;
  color: #fff;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-chat h4 {
  font-size: 1.2rem;
  margin: 0;
}
.header-chat .exit-chat {
  width: 28px;
  cursor: pointer;
}
.content-chat {
  padding: 1rem;
}
.content-chat .chat {
  height: 300px;
  overflow-y: scroll;
  scrollbar-width: thin;
  margin-bottom: 1rem;
}
.content-chat .message {
  margin-bottom: 0.3rem;
  word-wrap: break-word;
  padding: 0.7rem;
}
.content-chat .title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.content-chat .admin .title {
  color: #00aeeb;
}
.content-chat .user .title {
  color: #333;
}
.content-chat .message-text {
  line-height: normal;
  word-wrap: break-word;
}
.download-chat-file {
  padding: 8px;
  background-color: #9fdff7;
  border: 1px solid #4ec6f1;
  font-weight: 500;
  border-radius: 4px;
  font-size: 0.7rem;
  display: inline-flex;
  color: #095570;
}
.download-chat-file-images {
  position: relative;
}
/* .response-container {
  color: #333;
} */
.response-download {
  font-size: 0.8rem;
  color: #00aeeb;
}
.response-ya {
  padding: 8px;
  background-color: #ff7f00;
  font-weight: 500;
  border-radius: 4px;
  font-size: 0.7rem;
  display: inline-flex;
  color: #fff;
  margin-top: 16px
}
.response-belum {
  color: #333;
  margin-left: 16px;
  font-size: 0.7rem;
  border: 0;
  background: none;
}

.response-ya:hover {
  background-color: #ee6e00;
  color: #fff
}
.download-chat-file-images img {
  width: 60%;
  border-radius: 0.5rem;
  margin-top: 1rem;
}
.download-chat-file:hover {
  background-color: #77bfda;
}
.content-chat .user {
  text-align: right;
  margin-right: 1rem;
}
.content-chat .admin {
  margin-right: 1rem;
}
.form-chat {
  display: grid;
  grid-template-columns: 80% auto;
  border-radius: 0.5rem;
  box-shadow: 4px 4px 17px rgba(0, 0, 0, 0.12);
}
.form-chat input[type="search"] {
  padding: 0.7rem;
  border-top-left-radius: 0.5rem;
  border-bottom-left-radius: 0.5rem;
  border: 1px solid #ccc;
  border-right: 0;
}
.form-chat input[type="text"]:focus {
  box-shadow: 0;
  outline: none;
}
.form-chat button {
  padding: 0.7rem;
  background-color: #ff7f00;
  border-top-right-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
  border: 1px solid #ff7f00;
}
.form-chat button:hover {
  background-color: #d3710e;
}
.send-container button svg {
  width: 20px;
}
.animate-chat {
  animation: grow-circle 0.3s forwards ease-out;
}
@keyframes grow-circle {
  from {
    clip-path: circle(0% at 100% 100%);
  }
  to {
    clip-path: circle(100% at 50% 50%);
  }
}
@keyframes lds-ripple {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

@media screen and (max-width: 576px) {
  body {
    background-size: 250% auto;
  }
  section {
    padding: 2rem 0;
  }
  .operator-welcome .h5 {
    font-size: 1.1rem
  }
  .operator-welcome .text-muted {
    font-size: 0.7rem
  }
  .gradient_1 {
    width: 500px;
    height: 500px;
    left: -250px;
    top: -300px;
  }
  .gradient_2 {
    width: 500px;
    height: 500px;
    right: -250px;
    top: -300px;
  }
  .gradient_3 {
    z-index: -2;
    position: absolute;
    width: 500px;
    height: 500px;
    right: -350px;
    top: 1300px;
  }
  .gradient_4 {
    z-index: -2;
    position: absolute;
    width: 500px;
    height: 500px;
    left: -350px;
    top: 1000px;
  }
  .pelayanan-bnt {
    margin-top: 1rem;
  }
  #header-wrap.fixed-header {
    padding: 10px 0;
  }
  .apa-senyum {
    padding: 2rem;
  }
  .rounded-40 {
    border-radius: 1rem !important;
  }
  .sm-center-resp {
    text-align: center;
  }
  .card-judul-senyum {
    font-size: 1.4rem;
  }
  .heading-senyum {
    font-size: 2.2rem;
  }
  .navbar-brand img {
    width: 120px;
  }
  .list-detail {
    gap: 10px;
  }
  .tag-search {
    font-size: 0.7rem;
    padding: 5px 8px;
  }
  .sm-mt-32 {
    margin-top: 32px;
  }
  .logo_pgk_header {
    width: 100px;
    height: 65px !important;
  }
  .logo_beribu_header {
    width: 163px;
    height: 65px !important;
  }
  .hover-translate:hover {
    transform: none;
  }
  .lead {
    font-size: 1rem;
  }
  .input-search-layanan {
    border: 1px solid #ddd !important;
    margin-top: 1rem;
  }
  .select-kategori-layanan {
    width: 100%;
    margin-top: 1rem;
    border: 1px solid #ddd !important;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
  .heading-searching {
    margin-bottom: 1rem !important;
  }
  .btn-form-front {
    margin-top: 1rem !important;
    display: block;
    width: 100%;
  }
  .senyum-fluid .img-fluid {
    max-width: 70%;
  }
  .btn-mobile-100 {
    width: 100%;
  }
  .form-info {
    margin-top: 2.5rem !important;
  }
  .heading-senyum2 {
    font-size: 2rem;
    text-align: center;
  }
  .sub-heading {
    font-size: 1.3rem;
  }
  .chat-container {
    box-shadow: 0 -20px 20px rgba(0, 0, 0, 0.1);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 100%;
  }
  .content-chat {
    padding: 1.5rem;
  }
  .content-chat .chat {
    height: 320px;
    overflow-y: scroll;
    scrollbar-width: auto !important;
  }
}
