body p, body a, body span {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat';
}

.tlpl-body-layout {
  background-color: #fff;
}

.search-container {
  container-type: inline-size;
  flex: 2;
  padding: 0 2rem;
  font-family: "Montserrat", sans-serif;
  
  --search-scale-font: 1;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  height: 100%;
  margin: 0 auto;

  overflow-y: auto;
}

.search-container.full-width {
  max-width: unset;
}

.search-container .search-branch {
  text-align: center;
}

.search-container .search-map {
  display: flex;
  justify-content: start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: calc(1rem * var(--search-scale-font));
  margin-bottom: calc(2rem * var(--search-scale-font));
}

.search-container .search-map .search-map-arrow {
  width: calc(0.5rem* var(--search-scale-font));
  margin: 0 calc(1rem* var(--search-scale-font));
}

.search-container .search-map .redirect-search {
  color: #060047;
  font-size: calc(1.375rem * var(--search-scale-font));
  text-decoration: none;
}

.search-container .search-map .search-title {
  position: relative;
  margin: 0;
  color: #e90064;
  font-size: calc(1.375rem * var(--search-scale-font));
  font-weight: 800;
  text-transform: uppercase;
}

.search-logo {
  position: relative;
  font-family: "Bruno Ace", sans-serif;
  color: #060047;
  font-size: calc(2rem * var(--search-scale-font));
  letter-spacing: calc(0.25rem * var(--search-scale-font));
  text-decoration: none;
}

.search-logo span {
  font-family: "Bruno Ace", sans-serif;
  color: #e90064;
}

.search-logo-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(-13%, 90%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(7rem * var(--search-scale-font));
  padding: calc(0.08rem * var(--search-scale-font));
  border-radius: calc(0.1875rem * var(--search-scale-font));
  background-color: #e90064;
}

.search-logo-sub .logo-sub-img {
  width: calc(0.8125rem * var(--search-scale-font));
  margin-right: calc(0.1875rem * var(--search-scale-font));
}

.search-logo-sub span {
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: calc(0.625rem * var(--search-scale-font));
  font-weight: normal;
  letter-spacing: 0;
  margin-top: calc(0.2rem * var(--search-scale-font));
}

.search-slogan {
  margin: calc(1rem* var(--search-scale-font)) 0 0 0;
  font-size: calc(1.125rem * var(--search-scale-font));
}


/* ****************** START SEARCH BAR ****************** */
/* ****************** START SEARCH BAR ****************** */
/* ****************** START SEARCH BAR ****************** */
/* ****************** START SEARCH BAR ****************** */
/* ****************** START SEARCH BAR ****************** */
.tlpl-search {
  position: relative;
  width: 100%;
  font-family: "Montserrat", sans-serif;
  margin-top: 1rem;
}

.tlpl-search-bar {
  background-color: #fff;
  padding: 1rem;
  border: #e90064 solid 0.125rem;
  border-radius: 0.25rem;
  box-shadow: 0 0 0.5rem 0.1rem rgba(0, 0, 0, 0.2);
}

.tlpl-search-bar img {
  width: 2rem;
  height: 2rem;
}

.tlpl-search-input {
  width: 100%;
  outline: none !important;
  padding-left: 0.75rem;
  border: none !important;
  font-size: 1rem !important;
}

.tlpl-btn-search {
  width: 12rem;
  background-color: #e90064;
  padding: 0.4rem 0.5rem;
  border: 0;
  border-radius: 0.25rem;
  color: #fff;
  font-weight: 600;
  font-size: 1.3rem;
  text-align: center;
  text-wrap: nowrap;
  box-sizing: border-box;
}

.tlpl-search-results {
  display: none;
  /* display: block; */
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
  background-color: #fff;
  padding: 1em;
  border: #e90064 solid 0.125rem;
  border-radius: 0.25rem;
  z-index: 2;
  text-align: left;
}

#tlpl-search-loading-box {
  display: none;
  position: absolute;
}

#tlpl-search-loadingSpinner {
  border: 0.3rem solid #f3f3f3;
    border-top: 0.3rem solid #e90064;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    animation: spin 1s linear infinite;
    margin: 0px;
    background-color: #fff;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.container {
  

}

#tlpl-search-clear-search-bar {
  margin: 0 0.5rem;
  font-size: 1.5rem;
  color: #ccc;
  display: none;
}

.tlpl-search-category {
  margin-bottom: 0.5rem;
}

.tlpl-search-category-head {
  margin-bottom: 0rem;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #e90064;
}

.tlpl-search-category-url {
  text-decoration: none;
}


.tlpl-search-category .item-result {
  display: flex;
  justify-content: left;
  padding: 0.5rem 0.5rem;
  margin-top: 0.5rem;
  background-color: rgba(241, 241, 241, 0.3);
  cursor: pointer;
}

.tlpl-search-category .item-result:hover {
  background-color: #fef8fa;
}

.tlpl-search-category .item-result-img {
  min-width: 1.5rem;
  background-image: url("../../icons/document-text-black.png");
  background-position: 0 0.125rem;
  background-size: 1.5rem 1.5rem;
  background-repeat: no-repeat;
}

.tlpl-search-category .item-result-detail {
  padding-left: 0.5rem;
  font-weight: normal;
}

.tlpl-search-category .item-result-detail .item-detail {
  font-size: 1rem;
  color: #060047;
}

.tlpl-search-category .item-result-detail .item-detail-more {
  display: flex;
}

.tlpl-search-category .item-result-detail .item-detail-procedure {
  font-size: 0.8rem;
  color: #060047;
}

.tlpl-search-category .item-result-detail .detail-procedure-title {
  font-weight: bold;
}

.tlpl-search-category .item-result.outside-scope {
  cursor: default;
}

.tlpl-search-category .outside-scope .item-detail,
.tlpl-search-category .outside-scope .item-detail-procedure {
  color: #ADADAD;
}

.tlpl-search-category .outside-scope .item-upgrade {
  position: relative;
  font-size: 0.75rem;
  margin-left: calc(2.625rem + 0.75rem + 0.5rem);
  text-transform: none;
}

.tlpl-search-category .outside-scope .item-upgrade::before {
  content: " ";
  position: absolute;
  top: 0.13rem;
  left: 0;
  transform: translate(-100%, 0);
  width: 0.75rem;
  height: 0.75rem;
  background-image: url("../../icons/card-send-active.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.tlpl-search-category-title {
  margin-bottom: 0.5rem;
}

.tlpl-search-category-detail-icon {
  margin-right: 0.5rem;
}

.tlpl-search-category-detail-more {
  font-size: 0.8rem;
  padding: 0 1rem;
}

.tlpl-search-category-detail-more-header {
  font-weight: 800;
}

.tlpl-search-number-of-result {
  color: #ccc;
  font-size: 0.9rem;
}

.tlpl-search-all-result {
  color: #e90064;
  font-size: 0.9rem;
  text-decoration: underline;
}
/* ****************** END SEARCH BAR ****************** */
/* ****************** END SEARCH BAR ****************** */
/* ****************** END SEARCH BAR ****************** */
/* ****************** END SEARCH BAR ****************** */
/* ****************** END SEARCH BAR ****************** */

/* ****************** START BODY ****************** */
/* ****************** START BODY ****************** */
/* ****************** START BODY ****************** */
/* ****************** START BODY ****************** */
/* ****************** START BODY ****************** */
.search-body {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

.grid-container {
  display: grid;
  grid-template-columns: auto auto;
  gap: calc(4rem * var(--search-scale-font));
  justify-content: space-around;
  width: 100%;
}

.grid-container .item-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: calc(15rem * var(--search-scale-font));
  height: calc(15rem * var(--search-scale-font));
  box-shadow: 0rem 0.25rem 0.5rem 0.1rem rgba(0, 0, 0, 0.1);
}

.search-body .item-category .category-img {
  width: calc(4.875rem * var(--search-scale-font));
}

.search-body .item-category .category-title {
  font-size: calc(1.375rem * var(--search-scale-font));
  font-weight: bold;
}

.search-body .item-category .category-desc {
  font-size: calc(1.25rem * var(--search-scale-font));
  font-weight: normal;
}
/* ****************** END BODY ****************** */
/* ****************** END BODY ****************** */
/* ****************** END BODY ****************** */
/* ****************** END BODY ****************** */
/* ****************** END BODY ****************** */

/* ****************** START RESPONSIVE ****************** */
/* ****************** START RESPONSIVE ****************** */
/* ****************** START RESPONSIVE ****************** */
/* ****************** START RESPONSIVE ****************** */
/* ****************** START RESPONSIVE ****************** */
@media only screen and (max-width:1200px) {
  
}

@media only screen and (max-width:1024px) {
  
}

@media only screen and (max-width:768px) {

}

@media only screen and (max-width:600px) {
  
}

@media only screen and (max-width:480px) {
  html {
    font-size: 14px;
  }
}

@media only screen and (max-width:360px) {
  html {
    font-size: 12px;
  }
}

@media only screen and (max-width:280px) {

}

@container (max-width: 768px) {
  /* .grid-container .item-grid {
    width: calc(12.5rem * var(--search-scale-font));
    height: calc(12.5rem * var(--search-scale-font));
  } */

  .grid-container .item-grid {
    zoom: 0.8;
  }
}

@container (max-width: 650px) {
  .search-container .search-footer .text-hide-on-small {
    display: none;
  }
}

@container (max-width: 600px) {
  .search-container {
    --search-scale-font: 0.875;
  }

  /* .grid-container .item-grid {
    width: calc(10rem * var(--search-scale-font));
    height: calc(10rem * var(--search-scale-font));
  } */

  .grid-container .item-grid {
    zoom: 0.7;
  }
}

@container (max-width: 480px) {
  .search-container {
    --search-scale-font: 0.75;
  }

  .grid-container {
    gap: calc(2rem * var(--search-scale-font));
  }
}

@container (max-width: 420px) {
  .search-logo {
    font-size: calc(1.75rem * var(--search-scale-font));
  }
  
  .grid-container {
    gap: calc(1rem * var(--search-scale-font));
  }
}

@container (max-width: 360px) {
  .search-logo {
    font-size: calc(1.5rem * var(--search-scale-font));
  }
  
  .grid-container .item-grid {
    zoom: 0.65;
  }
}