@import url("https://fonts.googleapis.com/css2?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");
@import url("https://fonts.googleapis.com/css2?family=Bai+Jamjuree:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url("header.css");
@import url("formerDean.css");

:root {
  --primary-color: #ed4081;
  --sub-primary-color: #f48cb3;
  --color-date: #6c757d;
  --color-arrow-slide: #333436;
  --swiper-navigation-sides-offset: -5px;
  --color-btn-text-link: #333436;
  --color-sub-menu: #7d7d7d;
  --color-contact-title: #3581b8;
  --color-disable: #c2c2c3;
  --font-color-main: #707172;
  --bg-fluid-color: #f6f6f6;
  --pdpa-color: #5c5d5e;
  --header-main: #f8f8f8;
  --event-color: #f1669a;
}

.text-danger {
  color: #a09e99 !important;
}

.font-color-main-2 {
  color: var(--font-color-main);
}

.event-color {
  color: var(--event-color);
  border-color: #d7d7d9;
}

.banner-image {
  height: calc(100vh - 107.13px);
}

body,
div,
a,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
li,
button,
li button,
* {
  font-family: "Prompt", sans-serif !important;
  outline: none !important;
}

body,
div,
a,
p,
ul,
li,
span * {
  font-weight: 300;
}

header p,
header a {
  font-weight: 400;
}

a {
  color: #212529;
  text-decoration: none !important;
}

.un_fl {
  float: left;
  font-family: Prompt;
  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}

.modal-content {
  height: auto !important;
  overflow: hidden !important;
}

.sub-menu-margin-b {
  margin-bottom: 0.3rem;
}

.un_br_12 {
  border-radius: 12px;
}

.un_br_8 {
  border-radius: 8px;
}

.un_footer_bg {
  background-color: var(--bg-fluid-color);
}

.bg-header-main {
  background-color: var(--header-main);
}

.header-logo {
  width: 126px;
}

.color-main {
  color: var(--primary-color);
}

.color-btn-text {
  color: var(--color-btn-text-link);
}

.color-pdpa {
  color: var(--pdpa-color);
}

.box-shadow-main {
  box-shadow: 0px 1px 4px 0px rgba(0, 0, 0, 0.15);
}

.p-blank-first:first-line {
  text-indent: 20px;
}

.un_banner_page_head {
  height: calc(100vw * (1 / 4));
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.un_underline_title {
  width: 75px;
  height: 2px;
  background-color: var(--primary-color);
  border: none;
  opacity: 1;
}

.banner-home_underline {
  width: 25%;
  height: 3px;
  background-color: #f8b3cd;
  border: none;
  opacity: 1;
}

.py-6 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* ------ Fix height ------ */

.mh-200 {
  min-height: 200px;
}

.h-60 {
  height: 60%;
}

/* ------ Fix height ------ */

/* Size */
.un_w_33 {
  width: 33%;
}

/* color primary */
.un_bg_primary_color {
  background-color: var(--primary-color);
}

.un_color_primary {
  color: var(--primary-color) !important;
}

.un_color_sub_primary {
  color: #f1669a !important;
}

.un_border_sub_primary {
  border-color: #e6e6e6 !important;
}

.un_color_disable {
  color: var(--color-disable);
}

.un_border_color_primary {
  border-color: var(--event-color);
}

/* border Raduis */
.un_border-r-12 {
  border-radius: 12px;
}

/* font-size */

.h-line-28 {
  line-height: 28px;
}

.fs-nav-header {
  font-size: 20px !important;
  font-weight: 500;
}

.un_fs_12 {
  font-size: 12px !important;
  line-height: normal;
}

.un_fs_13 {
  font-size: 13px !important;
  line-height: normal;
}

.un_fs_14 {
  font-size: 14px !important;
  line-height: normal;
}

.un_fs_16 {
  font-size: 16px !important;
  line-height: normal;
}

.un_fs_20 {
  font-size: 20px !important;
  line-height: normal;
}

.un_fs_48 {
  font-size: 3rem;
}
.un_fs_64 {
  font-size: 64px !important;
  line-height: normal;
}

.vision-fs {
  font-size: 1.5rem;
}

/* ------- Text Field ------- */

.un_border32 {
  border-radius: 32px;
}

.un_border16 {
  border-radius: 16px;
}

.text-wrap {
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 45px;
  z-index: 10;
}

.text-wrap-normal {
  white-space: normal;
  overflow-wrap: break-word;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ------- Text Field ------- */

/* ------- Button ------- */

.un_button {
  height: 30px;
  border-radius: 32px;
  border: 1px solid var(--Button-Solid, #eb5c91);
  background: var(--HitBox, rgba(255, 255, 255, 0));
  font-family: Prompt;
  font-size: 15px;
  color: #eb5c91;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
}
/* ------- Button ------- */

/* ------- news Card ------- */
.un_activity {
  height: 315px;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  position: relative;
}

.un_activity::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, black, transparent);
  pointer-events: none;
  border-radius: 12px !important;
}

.un_activity img {
  object-fit: cover;
  height: 315px;
  width: 100%;
  filter: brightness(0.8);
  transition: transform 0.3s ease;
  position: relative;
}

.un_activity:hover img {
  transform: scale(1.3) !important;
}

.un_activity .card-img-overlay {
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.un_activity .un_activity_title {
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 45px;
  z-index: 10;
  font-weight: 400;
}

.two-line-text {
  white-space: normal;
  overflow-wrap: break-word;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  height: 58px;
  z-index: 10;
  font-weight: 400;
}

.un_date_event {
  z-index: 10;
  font-weight: 400;
}

.un_activity .card-text i {
  z-index: 10;
}

.un_postinfo {
  color: var(--Text-Body, #333436);
  font-family: Prompt;
  gap: 32px;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
}

.un_postinfo ul {
  gap: 12px;
}

.un_postinfo ul li {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ------- news Card ------- */

/* ------- menu ------- */
.un_new_tabs *.nav-link.active {
  color: #ed4081;
  background-color: #f7f7f7;
}

.un_new_tabs *.nav-link:not(.active) {
  color: #000;
}
/* ------- menu ------- */

/* ------- Table -------- */

/* table {
  min-width: 800px;
} */

.triangle-right::before {
  content: "\25B6"; /* Unicode for triangle-right */
  margin-right: 5px;
}

.triangle-down::before {
  content: "\25BC"; /* Unicode for triangle-down */
  margin-right: 5px;
}

.responsive-icon {
  cursor: pointer;
}

/* ------- Table -------- */

/* ------- Pagination -------- */

.page-link {
  color: var(--color-date);
  padding: 8px 16px;
}

.page-link:hover {
  color: var(--sub-primary-color);
}

.page-link:focus {
  color: #fff;
  background-color: #f1669a;
}

.active > .page-link {
  color: #fff;
  background-color: #f1669a;
  border: 1px solid #f1669a;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
  color: var(--primary-color);
}

.pagination .page-item:first-child .page-link:hover,
.pagination .page-item:last-child .page-link:hover {
  color: var(--sub-primary-color);
}

.pagination .page-item:first-child .page-link:focus,
.pagination .page-item:last-child .page-link:focus {
  color: #fff;
  background-color: var(--primary-color);
}

/* ------- Pagination -------- */

/* ------- soical box ------- */

.social-box {
  display: flex;
  gap: 16px;
}

.un_socialBox {
  display: flex;
  align-items: center;
  gap: 16px;
}

.un_socialBox .fi {
  display: flex;
  align-items: center;
}

/* ------- soical box ------- */

/* Modal */

/* .modal-dialog {
  max-width: 1028px;
} */

.modal-content {
  border-radius: 16px !important;
}

/* Modal */

/* ------- gallary ------- */
.un_galleryPic {
  border-radius: 8px;
  width: 100%;
  max-height: 136.52px;
  object-fit: cover;
}
/* ------- gallary ------- */

/* ------- footer ------- */

.border-right-vertical {
  border-right: 2px solid #d7d7d9;
  border-left: 2px solid #d7d7d9;
}

.border-bottom-horizon {
  border-bottom: 2px solid #d7d7d9;
}

.border-bottom-horizon-md {
  border-bottom: 0;
}

.border-right-md {
  border-right: 0;
}

.border-bottom-spacific {
  border-bottom: 0;
}

/* ------- footer ------- */

.bg-curriculum {
  background-color: var(--bg-fluid-color);
}

.bg-curriculum .container {
  margin-bottom: 17rem;
}

#video_curriculum {
  margin-top: -15rem;
}

.admistrative-staff-social {
  color: var(--Text-Body, #333436);
  font-family: Prompt;
  gap: 32px;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
}

.admistrative-staff-social ul {
  gap: 8px;
}

.admistrative-staff-social ul li {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.deanBox {
  width: 100%;
}

.deanBoxOlder {
  width: 75%;
}

.staff-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.staff-box i:first-child {
  display: flex;
  height: 80px !important;
  align-items: end;
}

/* ----- Content title ----- */

.content-title h2 {
  font-weight: 500;
}

/* ----- Content title ----- */

/* ----- transition ----- */

.content-title {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.content-title.show {
  opacity: 1;
  transform: translateX(0);
}

.main-content {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.main-content.show {
  opacity: 1;
}

.un_banner_page_head,
.un_swiper_branner_section {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.un_banner_page_head.show,
.un_swiper_branner_section.show {
  opacity: 1;
}

.pagination {
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.pagination.show {
  opacity: 1;
  transform: translateX(0);
}

/* ----- title header ----- */

#backToTopBtn {
  display: none; /* Hidden by default */
  position: fixed; /* Fixed/sticky position */
  bottom: 20px; /* Place the button at the bottom */
  right: 20px; /* Place the button 30px from the right */
  z-index: 99; /* Make sure it does not overlap */
  border: none; /* Remove borders */
  outline: none; /* Remove outline */
  background-color: #fff; /* White background color */
  color: black; /* Text color */
  cursor: pointer; /* Add a mouse pointer on hover */
  border-radius: 50%; /* Rounded corners */
  font-size: 18px; /* Increase font size */
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add a shadow */
}

#backToTopBtn:hover {
  background-color: #e0e0e0; /* Add a dark-grey background on hover */
}

/* ----- button ----- */

.btn-econ-primary {
  background-color: #f1669a;
  border: 1px solid #f1669a;
  border-radius: 32px;
  color: #fff;
  padding: 0.375rem 0.75rem;
  margin: 4px;
  transition: color 0.05s ease-in-out, background-color 0.05s ease-in-out;
}

.btn-econ-primary:hover {
  background-color: #8e264d;
  color: #fff;
  border: 1px solid #8e264d;
}

.btn-econ-primary:hover svg path {
  fill: #fff;
}

.btn-econ-primary:focus,
.btn-econ-primary:active {
  background-color: #be3367;
  color: #fff;
  border: 1px solid #be3367;
  box-shadow: 0px 0px 0px 4px rgba(237, 64, 129, 0.5);
}

.btn-econ-outline-primary {
  color: var(--primary-color);
  background-color: #fff;
  border: 1px solid var(--primary-color);
  border-radius: 32px;
  padding: 0.375rem 0.75rem;
  margin: 4px;
  transition: color 0.05s ease-in-out, background-color 0.05s ease-in-out;
}

.btn-econ-outline-primary:hover {
  color: #fff;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

.btn-econ-outline-primary:hover svg path {
  fill: #fff;
}

.btn-econ-outline-primary:focus,
.btn-econ-outline-primary:active {
  color: #fff;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  box-shadow: 0px 0px 0px 4px rgba(237, 64, 129, 0.25);
}

/* ----- button ----- */

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed
  > tbody
  > tr.parent
  > td.dtr-control:before {
  content: "\25BC";
  box-shadow: none;
  background-color: transparent;
  color: black;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  content: "\25B6";
  /* box-shadow: none; */
  /* background-color: transparent; */
}

/* table.dataTable.dtr-inline.collapsed > tbody > tr > td.dtr-control:before,
table.dataTable.dtr-inline.collapsed > tbody > tr > th.dtr-control:before {
  color: green !important;
  font-size: 20px;
} */

/* ----- accordion ----- */

.accordion-button {
  font-weight: 600 !important;
}

.accordion-button:not(.collapsed) {
  background-color: #fff2f7;
  color: #ed4081;
  /* box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.2); */
  box-shadow: none !important;
}

.accordion-button:focus {
  /* box-shadow: 0 0 0 .25rem rgba(0, 0, 0, 0.2); */
  box-shadow: none !important;
}

/* ----- accordion ----- */

/* ----- button close ----- */

.btn-close {
  right: 10px;
  top: 10px;
}

/* ----- button close ----- */

/* ----- data table ----- */

.dataTable tr td ul,
.dataTable tr td table {
  width: 100%;
}

table.dataTable.no-footer {
  border-bottom: 0 !important;
}

/* ----- data table ----- */


@media only screen and (min-width: 768px) {
  .mt-md-n5 {
    margin-top: -3rem !important;
  }
}

@media only screen and (max-width: 1024px) and (min-width: 992px) {
  .video-overlay h1 {
    font-size: 2.5em !important;
  }
  
}

@media only screen and (max-width: 991px) and (min-width: 768px) {
  .video-overlay h1 {
    font-size: 2em !important;
  }
  
}

@media only screen and (max-width: 1200px) and (min-width: 768px) {
  .banner-image {
    height: calc(100vh - 76.13px);
  }
  .video-overlay h1 {
    font-size: 2.5em;
  }
  

  .un_header {
    height: 100%;
    background: #fff !important;
  }

  .un_header .nav-item {
    width: 100%;
    border-bottom: 1px solid #d7d7d9;
  }

  .un_header .nav-item.language {
    width: 100%;
    border-bottom: 0px solid #d7d7d9;
  }

  .un_header .un_border_line {
    border-right: 0px solid #d7d7d9;
  }

  .un_header .un_sub_menu {
    border-radius: 0;
    box-shadow: none;
  }

  .un_header .un_sub_menu.un_student {
    width: 100%;
  }

  .un_header .un_sub_menu.un_publish {
    width: 100%;
  }

  .un_banner_page_head {
    height: calc(100vw * (9 / 16));
  }

  .vision-fs {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 991px) {
  .border-lg-0 {
    border: 0;
  }

  .border-right-vertical {
    /* border-right: 0; */
    border-left: 0;
  }

  .border-bottom-horizon {
    border-bottom: 0;
  }

  .border-bottom-horizon-md {
    border-bottom: 2px solid #d7d7d9;
  }

  .border-right-md {
    border-right: 2px solid #d7d7d9;
  }
}

@media only screen and (max-width: 767px) {
  .border-right-vertical {
    /* border-right: 0; */
    /* border-left: 0; */
    border-right: 0;
  }

  .border-bottom-spacific {
    border-bottom: 2px solid #d7d7d9;
  }

  .banner-image {
    height: calc(100vh - 56.41px);
  }

  .un_header {
    height: 100%;
    background: #fff !important;
  }

  /* .un_scroll_mb {
    overflow-x: scroll;
  } */

  .un_header .un_sub_menu.un_student {
    width: 100%;
  }

  .un_header .un_sub_menu.un_publish {
    width: 100%;
  }

  .un_header .un_sub_menu {
    border-radius: 0;
    box-shadow: none;
  }

  .un_header .nav-item {
    width: 100%;
    border-bottom: 1px solid #d7d7d9;
  }

  .un_header .nav-item.language {
    width: 100%;
    border-bottom: 0px solid #d7d7d9;
  }

  .un_margin_neg {
    margin: 1.5rem;
  }

  .un_banner_page_head {
    height: calc(100vw * (9 / 16));
  }

  .bg-curriculum .container {
    margin-bottom: 0.5rem;
  }

  #video_curriculum {
    margin-top: 2rem;
  }

  .fs-nav-header {
    font-size: 16px !important;
    font-weight: 500;
  }

  .header-logo {
    width: 84px;
  }

  .number-container {
    font-size: 2rem !important;
  }

  .vision-fs {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 425px) {
  .banner-image {
    height: calc(100vh - 52.19px);
  }

  .social-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .header-logo {
    width: 75px;
  }
}

/* -------- transition only -------- */

@media only screen and (max-width: 575px) {
  .header-text {
    left: 0% !important;
  }
  .video-overlay h1 {
    font-size: 1.2rem !important;
  }
  h4 {
    font-size: 0.875rem !important;
  }
  .video-banner {
    height: 28vh !important;/* Full viewport height */
  }
  
}

.video-banner {
  position: relative;
  width: 100%;
  height: 89vh;/* Full viewport height */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: left;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.video-overlay {
  position: relative;
  z-index: 1;
}

.video-overlay h1 {
  font-size: 3em;
  margin: 0;
}

