/* Fonts */
@font-face {
  font-family: "notoSansThaiBold";
  src: url("/fonts/NotoSansThai-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: "notoSansThaiText";
  src: url("/fonts/NotoSansThai-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

body {
  font-family: "notoSansThaiText";
}
.page-heading,
.media-heading {
  font-family: "notoSansThaiBold";
}
.btn {
  font-family: "notoSansThaiText";
}
.module-heading {
  font-family: "notoSansThaiBold";
}
.module-content h1 {
  font-family: "notoSansThaiText";
}
.news-header {
  font-family: "notoSansThaiText";
}
.news-item-title {
  font-family: "notoSansThaiText";
}
.header {
  font-family: "notoSansThaiBold";
}
h1,
h2,
h3 {
  font-family: "notoSansThaiBold";
}
.masthead .section {
  font-family: "notoSansThaiBold";
}
.totalVisitor {
  font-family: "notoSansThaiBold";
}

.textRecentViews {
  font-family: "notoSansThaiText";
  display: none !important;
}
.package_count {
  font-family: "notoSansThaiText";
}
.navbar-collapse {
  flex-grow: unset;
}

:root {
  --white-color: #ffffff;
  --primary-color: #072f41;
  --secondary-color: #059347;
}

.account-masthead {
  background: #4e4e4e;
}
.site-header-custom {
  background: var(--secondary-color);
}
.site-footer {
  background: #757575;
}
.site-logo-image {
  max-height: 60px;
}

/*---------------------------------------
    NAVIGATION              
  -----------------------------------------*/
.sticky-wrapper {
  position: relative;
  top: 0;
  right: 0;
  left: 0;
}

.sticky-wrapper.is-sticky .navbar {
  background-color: var(--secondary-color);
}

.navbar {
  background: transparent;
  z-index: 9;
}

.navbar-expand-lg .navbar-nav .nav-link {
  border-radius: 100px;
  margin: 10px;
  padding: 10px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--white-color);
  font-size: 20px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.5px;
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
  color: var(--white-color);
  font-weight: 700;
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition:
    top 300ms 50ms ease,
    -webkit-transform 300ms 350ms ease;
  transition:
    top 300ms 50ms ease,
    transform 300ms 350ms ease;
  transition:
    top 300ms 50ms ease,
    transform 300ms 350ms ease,
    -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--white-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition:
    top 300ms 350ms ease,
    -webkit-transform 300ms 50ms ease;
  transition:
    top 300ms 350ms ease,
    transform 300ms 50ms ease;
  transition:
    top 300ms 350ms ease,
    transform 300ms 50ms ease,
    -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--white-color);
  width: 30px;
  height: 2px;
  content: "";
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}

/*---------------------------------------
    RESPONSIVE STYLES               
  -----------------------------------------*/
@media screen and (max-width: 991px) {
  .navbar {
    background-color: var(--secondary-color);
  }

  .navbar-expand-lg .navbar-nav {
    padding-bottom: 20px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    padding: 0;
  }
}

.bs5-row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
}

.bs5-row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(1.5rem * 0.5);
  padding-left: calc(1.5rem * 0.5);
  margin-top: 1.5rem;
}

.bs5-card {
  --bs-card-spacer-y: 1rem;
  --bs-card-spacer-x: 1rem;
  --bs-card-title-spacer-y: 0.5rem;
  --bs-card-border-width: 1px;
  --bs-card-border-color: var(--bs-border-color-translucent);
  --bs-card-border-radius: 0.375rem;
  --bs-card-box-shadow: ;
  --bs-card-inner-border-radius: calc(0.375rem - 1px);
  --bs-card-cap-padding-y: 0.5rem;
  --bs-card-cap-padding-x: 1rem;
  --bs-card-cap-bg: rgba(0, 0, 0, 0.03);
  --bs-card-cap-color: ;
  --bs-card-height: ;
  --bs-card-color: ;
  --bs-card-bg: #fff;
  --bs-card-img-overlay-padding: 1rem;
  --bs-card-group-margin: 0.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: var(--bs-card-height);
  word-wrap: break-word;
  background-color: var(--bs-card-bg);
  background-clip: border-box;
  border: var(--bs-card-border-width) solid var(--bs-card-border-color);
  border-radius: var(--bs-card-border-radius);
}

.bs5-card > hr {
  margin-right: 0;
  margin-left: 0;
}

.bs5-card > .bs5-list-group {
  border-top: inherit;
  border-bottom: inherit;
}

.bs5-card > .bs5-list-group:first-child {
  border-top-width: 0;
  border-top-left-radius: var(--bs-card-inner-border-radius);
  border-top-right-radius: var(--bs-card-inner-border-radius);
}

.bs5-card > .bs5-list-group:last-child {
  border-bottom-width: 0;
  border-bottom-right-radius: var(--bs-card-inner-border-radius);
  border-bottom-left-radius: var(--bs-card-inner-border-radius);
}

.bs5-card > .bs5-card-header + .bs5-list-group,
.bs5-card > .bs5-list-group + .bs5-card-footer {
  border-top: 0;
}

.bs5-card-body {
  flex: 1 1 auto;
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
  color: var(--bs-card-color);
}

@media (min-width: 992px) {
  .bs5-col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

.bkk-group-item .bs5-card {
  height: 100%;
}

.bkk-group-item li a {
  line-height: 26px;
  color: #1e1e1e;
  text-decoration: none;
}

.bkk-group-item:nth-child(n) .bs5-card {
  background: #eee !important;
}

.bkk-group-item:nth-child(2n) .bs5-card {
  background: #f1f7e3 !important;
}

.bkk-group-list h6 a {
  color: hsl(194, 72%, 34%);
  text-decoration: none;
}

li.highlighted > a {
  font-weight: 700;
  color: hsl(194, 90%, 30%);
  text-shadow: 1px 1px #dddddd;
}

h6.highlighted > a {
  font-weight: 900;
  color: hsl(194, 90%, 30%);
  text-shadow: 1px 1px #b8b8b8;
}

.survey {
  position: fixed;
  bottom: 0;
  right: 80px;
  width: 345px;
  z-index: 500;
  color: #212529;
  box-shadow: 0 2px 14px 3px rgba(0, 0, 0, 0.22);
  background-color: #fff;
  border-radius: 10px;
}
.survey a.btn-survey {
  background-color: #059347;
  color: #fff;
  padding: 8px 13px 5px;
  border: 1px solid #059347;
  cursor: pointer;
  position: fixed;
  bottom: 23px;
  right: 28px;
  border-radius: 50%;
  font-size: 24px;
  z-index: 1;
}

.survey .tooltiptext {
  text-align: center;
  display: inline-flex;
  align-items: center;
  padding: 0 0.25rem;
  visibility: hidden;
  background-color: #ffffff;
  color: #059347;
  border-radius: 3px;
  font-size: 13px;
  box-shadow: 0px 0px 10px -2px rgba(0, 0, 0, 0.5);
  position: absolute;
  top: -60px;
  left: none;
  bottom: 30px;
  right: 15px;
  background-color: #f1f1f1;
}
.tooltipicon {
  display: inline;
  cursor: help;
}
.tooltipicon:hover + .tooltiptext {
  visibility: visible;
}
