.k-wealth header {
  position: absolute;
  width: 100%;
}
/* ##### header bar 1 ##### */
.top-header {
  background-color: #1C6157;
  padding-block: 6px;
  position: relative;
  z-index: 9;
}

.top-header img {
  margin-right: 5px;
}

.top-header a {
  font-family: 'pridi';
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  padding-left: 10px;
  line-height: 20px;
}

.top-header a:hover {
  color: #ffffff;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .top-header a {
    font-size: 13px;
  }
}

/* ##### header bar 2 ##### */
.middle-bar {
  z-index: 10;
  position: relative;
}

.middle-bar .logo-kbank {
  width: 150px;
}

.middle-bar .logo-k-asset {
  width: 246px;
  margin-top: 13px;
}

.middle-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 24px;
}

.icon-container {
  display: flex;
  gap: 14px;
}

.icon-container a:hover {
  text-decoration: none;
}

.icon-container i {
  color: #777777;
}

.kcn-header__title {
  align-content: center;
}

@media (max-width: 991.98px) {
  .middle-bar {
    border-bottom: none;
  }
  .middle-bar .logo-kbank {
    width: 120px;
  }
  .middle-bar .logo-k-asset {
    margin-top: 13px;
    width: 190px;
  }
  .middle-flex {
    padding-block: 16px 8px;
  }
}

/* ##### header bar 3 ##### */
.kcn-header {
  color: #012336;
  z-index: 11;
}

.kcn-header .logo-kbank {
  width: 150px;
  margin-top: 22px;
}

.kcn-header .logo-k-asset {
  width: 246px;
  margin-top: 13px;
}

@media (max-width: 991.98px) {
  .kcn-header {
    border-bottom: none;
    box-shadow: none;
  }
  .kcn-header .logo-kbank {
    margin-top: 29px;
    margin-bottom: 29px;
    width: 120px;
  }
  .kcn-header .logo-k-asset {
    margin-top: 13px;
    width: 190px;
  }
  .kcn-header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
  .kcn-header__title {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-block: 8px;
  }
}

.kcn-header.sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  margin-top: -1px;
  filter: drop-shadow(0px 1px 8px rgba(0, 0, 0, 0.15));
  border-bottom: 1px solid rgba(238, 238, 238, 0.20);
}

.kcn-header.sticky.fixed {
  background-color: #FFFFFF;
  position: fixed;
  width: 100%;
  border-bottom: 0;
}

.kcn-header__title h1 {
  font-family: "Kurious Looped", "noto_sansbold", "noto_sans_thaibold", sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 33px;
  margin-top: 18px;
  margin-bottom: 18px;
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .kcn-header__title h1 {
    font-size: 18px;
    margin-top: 22px;
    margin-bottom: 19px;
    padding-left: 14px;
  }
}

.kcn-header__title .kcn-menu-toggle {
  display: none;
  font-size: 30px;
  line-height: 60px;
  color: #012336;
  float: right;
  padding-left: 24px;
  padding-right: 24px;
  margin-right: -10px;
}

.kcn-header__title .kcn-menu-toggle i {
  display: inline-block;
  vertical-align: middle;
}

@media (max-width: 991.98px) {
  .kcn-header__title .kcn-menu-toggle {
    display: block;
  }
}

.kcn-header__menu {
  padding-left: 10px;
}

.kcn-header__menu ul.kcn-header__menu--list {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 16px;
  list-style: none;
  display: flex;
  gap: 24px;
  padding-left: 0;
}

.kcn-header__menu ul li {
  display: inline-block;
  padding: 16px 0;
}

.kcn-header__menu ul li:has(a.active) {
  border-bottom: 2px solid #FFFFFF;
}

.kcn-header__menu ul li a {
  font-family: "pridi";
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  vertical-align: middle;
  text-decoration: none;
  color: #FFFFFF;
}

.kcn-header__menu ul li a:hover {
  color: #FFFFFF;
}

.fixed .kcn-header__menu ul li a {
  color: #1C6157;
}
.fixed .kcn-header__menu ul li:has(a.active) {
  border-bottom: 2px solid #1C6157;
}

@media (min-width: 992px) {
  .kcn-header__menu ul li a:first-child {
    padding-left: 0;
  }
}

.kcn-header__menu ul li.active a {
  color: #59b785;
}

@media (max-width: 991.98px) {
  .kcn-header__menu {
    margin-top: 75px;
    position: absolute;
    left: 0;
    right: 0;
    background-color: #ffffff;
    transition: height 0.2s;
    height: 0;
    min-height: 0;
    overflow: hidden;
    text-align: left;
    padding: 0;
  }

  .kcn-header__menu ul {
    display: block;
    padding: 0;
  }

  .kcn-header__menu ul li {
    display: block;
  }

  .kcn-header__menu ul li a {
    color: inherit;
    padding: 18px 24px;
    border-bottom: 1px solid #c4c4c4;
    font-size: 16px;
    display: block;
  }

  .kcn-header__menu ul.kcn-header__menu--list {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .kcn-header__menu ul li {
    display: inline-block;
    padding: unset;
  }

  .kcn-header__menu ul li:has(a.active) {
    border-bottom: none;
  }

  .kcn-header__menu ul li a:hover {
    color: #1C6157;
  }

  .kcn-header__menu ul li a.active {
    color: #1C6157;
  }
  .fixed .kcn-header__menu ul li:has(a.active) {
    border-bottom: 0;
  }
}
/* ##### search bar ##### */
.menu-toggle {
  color: #333333;
  text-decoration: none;
}

.menu-toggle:hover {
  color: #333333;
  text-decoration: none;
}

.search-field {
  position: relative;
  float: right;
}

.search-icon {
  position: absolute;
  left: 14px;
  width: 12px;
  height: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.search-bar {
  font-family: "pridi";
  font-size: 16px;
  font-weight: 300;
  line-height: 20px;
  width: 100%;
  height: 36px;
  max-width: 200px;
  text-align: left;
  color: #777777;
  padding: 8px 16px 8px 32px; 
  background: #f2f2f2;
  border-radius: 6px;
  border-color: transparent;
  position: relative;
}

button:focus-visible,
input:focus-visible {
  outline: none;
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .search-bar {
    max-width: 250px;
  }
  .kcn-header.fixed .icon-hamburger {
    filter: brightness(0) saturate(100%) invert(42%) sepia(0%) saturate(7500%) hue-rotate(180deg) brightness(87%) contrast(85%);
  }
}

.search-modal {
  width: 1030px;
  height: auto;
  border-radius: 12px;
  align-items: center;
}

.search-modal .modal-title {
  font-family: "Kurious Looped", "noto_sansbold", "noto_sans_thaibold", sans-serif;
  font-weight: normal;
  font-style: normal;
  padding-top: 34px;
  font-size: 28px !important;
}

@media (max-width: 991.98px) {
  .search-modal .modal-title {
    font-size: 22px !important;
  }
}

.search-modal .modal-header {
  align-items: center;
  text-align: center;
  justify-content: center;
  padding-top: 0px;
  padding-bottom: 10px;
}

.search-modal .close {
  float: right;
  top: 16px;
  right: 46px;
  position: absolute;
}

.search-modal .search-field {
  z-index: 1;
  float: left;
  position: relative;
  padding: 15px;
  padding-left: 20px;
  height: 50px;
  width: 85%;
  max-width: 860px;
  font-size: 18px;
  text-align: left;
  background: #f2f2f2;
  border-radius: 6px 0px 0px 6px;
  border-color: transparent;
}

@media (max-width: 991.98px) {
  .search-modal .search-field {
    width: 70%;
  }
}

.search-modal ::placeholder {
  color: #bbbbbb;
}

.search-modal input:focus::placeholder {
  color: #509f9a;
}

.search-modal .search-field:focus {
  background: rgba(80, 159, 154, 0.1);
  outline: none !important;
  border-color: transparent;
}

.search-modal .icon-search {
  position: absolute;
  top: 50%;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 20px;
  z-index: 10;
  color: white;
}

@media (max-width: 991.98px) {
  .search-modal .icon-search {
    left: 15px;
  }
}

.search-modal div.search button {
  position: relative;
  float: left;
  height: 50px;
  width: 15%;
  padding: 10px;
  border-radius: 0px 6px 6px 0px;
  background: #00a950;
  color: white;
  font-size: 18px;
  border: 1px solid grey;
  border-left: none;
  /* Prevent double borders */
  cursor: pointer;
}

.search-modal div.search button .button-text {
  padding-left: 10px;
}

@media (max-width: 991.98px) {
  .search-modal div.search button .button-text {
    padding-left: 20px;
  }
}

@media (max-width: 991.98px) {
  .search-modal div.search button {
    width: 30%;
  }
}

.search-modal div.search button:hover {
  background: #028537;
}

.modal {
  overflow-y: auto !important;
}

/* ##### footer ##### */
.k-asset-footer {
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 17.5px;
}

.k-asset-footer .list-inline {
  margin-bottom: 0;
  padding-top: 20px;
  padding-bottom: 20px;
  text-align: center;
}

.k-asset-footer .list-inline li {
  display: inline-block;
}

.k-asset-footer .list-inline li a {
  font-size: 14px;
  padding-left: 5px;
  padding-right: 5px;
  color: #777777;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .k-asset-footer .list-inline li a {
    font-size: 10px;
  }
}

.k-asset-footer .footer-bar {
  background-color: #00a950;
  height: 47px;
  width: 100%;
}

.k-asset-footer .footer-bar .footer-text {
  color: white;
  text-align: center;
  padding-top: 10px;
}

.k-asset-footer .footer-bar .footer-logo {
  height: auto;
  width: auto;
  position: absolute;
  float: left;
  margin-left: 144px;
  margin-bottom: 10px;
}

.k-asset-footer .service {
  color: #ac9e95;
  font-size: 20px;
  line-height: 24px;
  padding: 20px 0 15px 0;
  text-align: center;
  border-top: 1px solid #e6e6e6;
}

@media (max-width: 991.98px) {
  .k-asset-footer {
    padding-bottom: 95px;
  }
}

#floating-navigation-sticky.stickyNav {
  box-shadow: unset;
}

#floating-navigation-sticky .stickyNav-panelWidgets {
  background: #ffffff00;
  box-shadow: unset;
}

#floating-navigation-sticky .group-widgets [data-tooltip]::before, #floating-navigation-sticky .group-widgets [data-tooltip]::after {
  visibility: hidden;
}
#floating-navigation-sticky .group-widgets.expand [data-tooltip]::before, #floating-navigation-sticky .group-widgets.expand [data-tooltip]::after {
  visibility: visible;
}