@import url('../assets/fontawesome-free-6.4.2-web/css/all.css');
@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Prompt:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: 1300px;
  }
}

/*
html {
  filter: grayscale(100%) !important;
}
*/

.breadcrumb-item + .breadcrumb-item::before {
  content: var(--bs-breadcrumb-divider, '/');
}

.breadcrumb {
  --bs-breadcrumb-item-active-color: #012340;
}
.breadcrumb a {
  color: #000;
}

.navbar {
  --bs-navbar-nav-link-padding-x: 12px;
}

.form-select {
  border: 1px solid #012340;
  color: #d9d9d9;
  border-radius: 0;
  background-color: transparent;
  background-image: url('../images/icons/icon-select.png');
  background-size: auto;
}

.btn {
  border: 1px solid #012340;
  border-radius: 0;
  --bs-btn-padding-x: 25px;
}
.btn.btn-submit {
  color: #fff;
  background: #012340;
}
.btn.btn-reset {
  color: #012340;
}

.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: #012340;
  --bs-btn-border-color: #012340;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #000;
  --bs-btn-hover-border-color: #000;
  --bs-btn-focus-shadow-rgb: 49, 132, 253;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #012340;
  --bs-btn-disabled-border-color: #012340;
}

.form-check {
  display: block;
  min-height: 27px;
  padding-left: 35px;
  margin-bottom: 5px;
}

.form-check .form-check-input {
  float: left;
  margin-left: -30px;
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: var(--bs-border-width) solid #012340;
}

.form-check-input:checked {
  background-color: #012340;
  border-color: #012340;
}

.kanit-thin {
  font-family: 'Kanit', sans-serif;
  font-weight: 100;
  font-style: normal;
}

.kanit-extralight {
  font-family: 'Kanit', sans-serif;
  font-weight: 200;
  font-style: normal;
}

.kanit-light {
  font-family: 'Kanit', sans-serif;
  font-weight: 300;
  font-style: normal;
}

.kanit-regular {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-style: normal;
}

.kanit-medium {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-style: normal;
}

.kanit-semibold {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-style: normal;
}

.kanit-bold {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-style: normal;
}

.kanit-extrabold {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-style: normal;
}

.kanit-black {
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-style: normal;
}

.kanit-thin-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 100;
  font-style: italic;
}

.kanit-extralight-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 200;
  font-style: italic;
}

.kanit-light-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 300;
  font-style: italic;
}

.kanit-regular-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  font-style: italic;
}

.kanit-medium-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  font-style: italic;
}

.kanit-semibold-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 600;
  font-style: italic;
}

.kanit-bold-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-style: italic;
}

.kanit-extrabold-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 800;
  font-style: italic;
}

.kanit-black-italic {
  font-family: 'Kanit', sans-serif;
  font-weight: 900;
  font-style: italic;
}

* {
  font-family: 'Kanit', sans-serif;
  font-weight: 500;
  color: #012340;
}

body {
  background: linear-gradient(180deg, rgba(229, 232, 238, 0.73) 0%, rgba(255, 255, 255, 0.73) 100%);
}

a {
  text-decoration: none;
}

.font-14 {
  font-size: 14px;
}

.font-16 {
  font-size: 16px;
}

.font-18 {
  font-size: 18px;
}

.font-20 {
  font-size: 20px;
}

.font-24 {
  font-size: 24px;
}

.font-32 {
  font-size: 32px;
}

.font-40 {
  font-size: 40px;
}

.font-64 {
  font-size: 64px;
}

.text-green {
  color: #012340;
}

.text-black-green {
  color: #012340;
}

.text-blue {
  color: #78b2bf;
}

.text-light-blue {
  color: #78b2bf;
}

.text-gray {
  color: #707070;
}

.h-box {
  border-top: 5px solid #012340;
  padding: 10px 15px;
}

.btn-custom {
  color: #0ba277;
  border: 1px solid #0ba277;
  display: flex;
  align-items: center;
  padding: 5px 10px;
  font-size: 16px;
}

.block-nav {
  background-color: #fff;
}

.navbar-nav {
  --bs-nav-link-color: #000;
  --bs-nav-link-hover-color: #000;
}

.navbar {
  --bs-navbar-active-color: #000;
  --bs-navbar-toggler-border-color: 0;
  margin: 0;
  padding: 0;
}
.navbar .navbar-toggler {
  background-color: #fff;
}
.navbar .main-menu .nav-link {
  padding: 10px 35px;
}
@media (max-width: 991.98px) {
  .navbar .main-menu .nav-link {
    padding: 10px 15px;
  }
}
@media (min-width: 992px) {
  .navbar .main-menu .nav-link {
    height: 90px;
    display: flex;
    align-items: center;
  }
}
.navbar .main-menu .nav-link.active,
.navbar .main-menu .nav-link:hover {
  background: #012340;
  color: #fff;
}
.navbar .main-menu .scale-menu .nav-link {
  padding: 10px 15px;
}
@media (max-width: 991.98px) {
  .navbar .main-menu .scale-menu .nav-link {
    height: 50px;
    display: flex;
    align-items: center;
  }
}
.navbar .main-menu .scale-menu .nav-link.active,
.navbar .main-menu .scale-menu .nav-link:hover {
  background: rgba(1, 35, 64, 0.1);
  color: #012340;
}

.search-link {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 30px;
  margin: 5px;
  background: rgba(139, 255, 222, 0.1);
  border-radius: 50%;
  font-size: 14px;
}

footer {
  background: linear-gradient(92.91deg, rgba(61, 90, 115, 0) -19.23%, rgba(61, 90, 115, 0.2) 98.64%);
}
footer .footer-detail p {
  margin-bottom: 5px;
}

.copy-right {
  color: #fff;
  background: #012340;
  min-height: 60px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.block-banner {
  background: url('../images/web/banner.png') no-repeat top center;
  background-size: 100%;
  background-size: cover;
}
.block-banner .box-detail {
  max-width: 100%;
  margin: 100px 0;
  padding: 30px;
  color: #78b2bf;
}
@media (max-width: 767.98px) {
  .block-banner .box-detail {
    margin: 30px 0;
    padding: 10px 15px;
  }
}
@media (max-width: 991.98px) {
  .block-banner .box-detail {
    margin: 30px 0;
    padding: 10px 15px;
  }
}
.block-banner .box-detail h3 {
  font-size: 52px;
  font-weight: 400;
}
.block-banner .box-detail p {
  font-size: 36px;
  color: #78b2bf;
}
.block-banner .box-detail .btn-banner {
  background: rgba(61, 90, 115, 0.2);
  color: #78b2bf;
  border: none;
  font-size: 33px;
  padding: 0 30px;
}

.box-category {
  padding-top: 30px;
}
@media (min-width: 992px) {
  .box-category div:nth-child(3n - 1) {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex;
    justify-content: center;
  }
  .box-category div:nth-child(3n) {
    display: flex;
    justify-content: end;
  }
}
.box-category a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  width: 390px;
  min-height: 279px;
  max-width: 100%;
  align-items: center;
  gap: 15px;
  border-radius: 5px;
  box-shadow: 0px 4px 10px 0px rgba(231, 231, 231, 0.6);
  background: #fff;
  text-align: center;
  margin-bottom: 30px;
  color: #012340;
  font-size: 24px;
}
.box-category a img {
  margin-bottom: 10px;
}
.box-category a:hover {
  background: #78b2bf;
  color: #fff;
}

@media (min-width: 768px) {
  .box-home-banner {
    background: url('../images/web/home-banner.png') no-repeat top left #f0f1f5;
    padding: 30px 100px;
  }
}

@media (max-width: 768px) {
  .box-home-banner {
    padding: 1.5rem !important;
    box-shadow: 0px 4px 10px 0px rgba(231, 231, 231, 0.6);
    border-radius: 4px !important;
    background-color: white;
  }
}

@media (max-width: 575.98px) {
  .box-home-banner {
    padding: 30px 20px;
  }
}
.box-home-banner .box-home-banner-detail {
  background: url('../images/web/oi_double-quote-serif-left.png') no-repeat top left;
  padding-top: 50px;
}
.box-home-banner .box-home-banner-detail h3 {
  font-size: 32px;
  margin-bottom: 10px;
}
.box-home-banner .box-home-banner-detail p {
  font-size: 23px;
}
@media (max-width: 575.98px) {
  .box-home-banner .box-home-banner-detail h3 {
    font-size: 22px;
    margin-bottom: 10px;
  }
  .box-home-banner .box-home-banner-detail p {
    font-size: 16px;
  }
}

.tab-block .nav {
  border-bottom: none;
}
.tab-block .nav .nav-item {
  max-width: 100%;
}
@media (max-width: 767.98px) {
  .tab-block .nav .nav-item {
    width: 100%;
  }
}
.tab-block .nav .nav-link {
  box-shadow: 0px 10px 60px 0px rgba(226, 236, 249, 0.5);
  background: white;
  width: 279px;
  max-width: 100%;
  margin-bottom: 10px;
  border-radius: 5px;
  display: flex;
  align-content: center;
  align-items: center;
  color: #012340;
  border: none;
}
@media (max-width: 767.98px) {
  .tab-block .nav .nav-link {
    width: 100%;
  }
}
.tab-block .nav .nav-link.active,
.tab-block .nav .nav-link:hover {
  background: rgba(120, 178, 191, 0.2);
}
.tab-block .tab-content {
  background: white;
  box-shadow: 0px 10px 60px 0px rgba(226, 236, 249, 0.5);
  padding: 30px;
  border-radius: 5px;
}

.detail p {
  margin-bottom: 5px;
  font-weight: 400;
}

.detail li {
  font-weight: 400;
  color: #012340;
}

.box-bar-graph {
  background: #f0f1f5;
  padding: 20px;
}

.tbl-custom {
  width: 100%;
}
.tbl-custom th {
  color: #fff;
  font-weight: normal;
  background: #012340;
  padding: 15px;
  border: 1px solid #012340;
}
.tbl-custom td {
  background: #fff;
  padding: 15px;
  border: 1px solid #012340;
}

.summary-banner {
  background: url('../images/web/banner-api.png') no-repeat center;
  background-size: 100%;
  padding: 30px 20px;
}

.accordion-body {
  font-weight: normal;
}

.accordion-button:not(.collapsed) {
  background: rgba(120, 178, 191, 0.2);
}

/*# sourceMappingURL=style.css.map */

/* POPUP */

.box-home-banner {
  background-size: contain;
}

.popup-img {
  max-width: 100%;
  height: auto;
}

.imageContainer {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  height: 100% !important;
  width: 100% !important;
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.popup-event {
  .modal-header {
    border-bottom: none !important;
  }

  .modal-footer {
    justify-content: space-between !important;
    border-top: none !important;
  }
}

/* POPUP */

/* COOKIE */
.container-cookie {
  padding: 20px;
}
.drawer-content {
  padding: 20px;
  width: 450px;
  height: 100%;
}
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.cookie-position {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: white;
}

#analyticsCookies:checked {
  background-color: #28a745;
  border-color: #28a745;
}

#analyticsCookies {
  background-color: #6c757d;
  border-color: #6c757d;
}

#analyticsCookies:checked:focus {
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

#analyticsCookies:focus {
  box-shadow: 0 0 0 0.25rem rgba(108, 117, 125, 0.25);
}

/* COOKIE */

.box-shadow-video {
  box-shadow: 0px 4px 10px 0px rgba(231, 231, 231, 0.6);
}

.img-fluid-logo {
  max-width: 100%;
  max-height: 90px !important;
  padding: 6px;
}

@media (max-width: 768px) {
  .header-f {
    font-size: 36px !important;
  }

  .header-sub {
    font-size: 36px !important;
  }
}

.table-w {
  width: 1000px;
}

.download_link {
  display: block;
  width: 100% !important;
}

.download_link:hover {
  background-color: #d8d8d8;
}

iframe.pdf-viewer {
  height: 500px;
  margin-bottom: 10px;
}

/* ===============  โบว์ดำมุมซ้ายบน =============== */
/* 🎀 โบว์ดำมุมซ้ายบน โดยใช้รูปจาก NSO */
header::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0; /* มุมซ้ายบน */
    width: 120px;
    height: 120px;
    background: url('https://gitlab.gdcatalog.go.th/pornprom.gd/images/-/raw/main/black_ribbon_top_left.png') no-repeat center center;
    background-size: contain;
    z-index: 99999;
    opacity: 0.95;
    pointer-events: none; /* คลิกทะลุได้ */
}

/* สำหรับมือถือ */
@media (max-width: 768px) {
    header::before {
        width: 70px;
        height: 70px;
        opacity: 0.85;
    }
}


