@font-face {
  font-family: "DB Ozone X";
  src: url("../font/DB Ozone/DB Ozone X v3.2.ttf");
}

@font-face {
  font-family: Db_Ozone;
  src: url("../font/DB Ozone/DB Ozone X v3.2.ttf");
}

@font-face {
  font-family: "dbox";
  src: url("../font/DB Ozone/DB Ozone X v3.2.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "dboxmd";
  src: url("../font/DB Ozone/DB Ozone X Med v3.2.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "dboxbd";
  src: url("../font/DB Ozone/DB Ozone X Bd v3.2.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

.calender_title_a,
.calender_title_a:visited,
.calender_title_a:hover,
.calender_title_a:active {
  color: #000 !important;
  text-decoration: none;
}

.font-prompt {
  font-family: "prompt", sans-serif;
}

.font-sarabun {
  font-family: "Sarabun", "prompt", sans-serif;
}

tbody {
  position: relative;
}

body {
  color: #000;
}

.custom_dropdown {
  width: 75%;
  z-index: 999999999;
  background-color: #fff;
}

.bg_strip_color .child_striped {
  background-color: #f4f4f4;
  font-size: 24px;
}

.bg_strip_color:nth-child(2n + 2) .child_striped {
  background-color: #e0e0e0;
}

.round>div:first-child>div {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.round>div:last-child>div {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.fs_titledc {
  font-size: 20px;
}

.show .dropdown .dropdown-menu {
  min-width: 4rem;
}

.fs_text_eservice {
  font-size: 22px;
}

.min-500 {
  min-width: 570px;
}

.overflowx {
  overflow-x: scroll;
}

.bg-e6e7eb {
  background-color: #e6e7eb;
}

.ww_eservice {
  width: 215px;
}

.ww_document {
  width: 100%;
}

.ww_news {
  height: 100%;
}

.fs_degree_title {
  font-size: 22px;
}

.custom_dropdown_news {
  width: 259px;
  z-index: 999999999;
  background-color: #fff;
}

.ww_79 {
  width: 79px;
}

.custom_dropdown_declare {
  width: 259px;
  z-index: 999999999;
  background-color: #fff;
}

.set_bg_btn {
  color: #000;
}

.custom_dropdown_gall {
  width: 259px;
  z-index: 999999999;
  background-color: #fff;
}

.fs_icon_degree {
  font-size: 39px;
}

.fs_icon_academic {
  font-size: 60px;
}

.fs_student1 {
  font-size: 25px;
  position: relative;
}

.fs_student2 {
  font-size: 27px;
}

.text_list {
  font-size: 24px;
}

.text_list_title {
  font-size: 33px;
}

/* .after_icon:nth-child(n+2) .icon_nnext .fs_student1::after {
    content: "\f0da";
    position: absolute;
    right: -15px;
    top: 0px;
    font-family: "FontAwesome";
    color: #f48120;

} */

.custom-hr {
  text-align: center;
  font-size: 20px;
  letter-spacing: 5px;
  color: black;
  white-space: nowrap;
  overflow: hidden;
  width: 100%;
}

.bg-f48120 {
  background-color: #f48120 !important;
}

.bg-006666 {
  background-color: #006666 !important;
}

.bg-fff {
  background-color: #fff !important;
}

.page-link.btn_pagination {
  background-color: #707070 !important;
  color: #fff !important;
  /* padding: 6px 15px 4px 15px; */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.page-link,
.page-link:visited {
  background-color: unset;
  border: unset;
  color: #000;
}

.page-item.active .page-link,
.page-item.active .page-link:focus {
  background-color: unset;
  color: #f48120 !important;
}

.color-f48120 {
  color: #f48120;
}

.bg-6a737b {
  background-color: #6a737b;
}

.bor_2 {
  border-right: 2px solid;
}

.list_icon {
  background-color: #707070;
  /* padding: 4px 10px 0px 10px; */
  min-width: 34px !important;
  min-height: 34px !important;
  max-width: 34px !important;
  max-height: 34px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
}

.ww_321 {
  width: 315px;
  left: 50% !important;
  top: 41px !important;
  transform: translateX(-50%) !important;
}

.set_po_index {
  position: relative;
  z-index: 9;
}

.z_index1 {
  z-index: 1;
}

.fs_title_dec {
  font-size: 22px;
}

.fs_title_dec2 {
  font-size: 22px;
}

.ww_choose_type {
  width: 75%;
}

.font_date {
  font-size: 20px;
}

.fs_15 {
  font-size: 15px;
}

.ww_choose_type_gall {
  width: 100%;
}

.btn_per {
  font-size: 16px;
}

.btn_per2 {
  font-size: 28px;
}

.fs_iconpre {
  font-size: 49px;
  color: #e50000;
}

.bg-c6c6c6 {
  background-color: #c6c6c6;
}

.ww_269 {
  width: 240px;
}

.ww_279 {
  width: 279px;
}

.ww_300 {
  width: 300px;
}

.ww_swip_menu {
  width: 240px;
}

.ww_269_full {
  width: 259px;
}

/* -------------------- */
.bg_cover {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg_right_center {
  background-position: right center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg_cover_rights {
  background-position: right;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg_cover_right_res {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg_cover_top {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg_cover_right {
  background-position: top right;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg_contain_center {
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_contain {
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.bg_contain_res {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 20px;
}

.menu_desktop>div>div>ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding-left: 0px;
  justify-content: flex-end;
  margin-bottom: 0px;
  margin-left: 0px;
  gap: 10px;
}

.menu_desktop .menu-header-master-degree-container>ul {
  gap: 10px;
}

@media (max-width: 1440px) {
  .menu_desktop .menu-header-master-degree-container>ul {
    gap: 2px;
  }

  .menu_desktop>div>div>ul {
    gap: 4px;
  }

}

.menu_desktop>div>div>ul>li {
  position: relative;
  padding: 0 12px 10px;
  /* padding-bottom: 10px; */
}

.menu_desktop>div>div>ul>li>a {
  text-decoration: none;
  color: #565656;
  font-size: 19px;
  font-weight: 700;
  outline: none;
}

.template-header {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 200px;
  color: white;
}

.template-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Overlay image from Adobe Illustrator */
  background-image: url(../images/effect_banner.webp);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  /* Dark overlay below the effect image */
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
}

.template-header > * {
  position: relative;
  z-index: 1;
}

body {
  font-family: Db_Ozone;
}

.font_dboc {
  font-family: Db_Ozone;
}

button,
input,
optgroup,
select,
textarea {
  font-family: Db_Ozone;
}

.post,
.page {
  margin: 0px 0px 0px;
}

.menu_desktop>div>div>ul>li>ul {
  display: none;
  /* min-height: 150px; */
  /* background-image: url(../images/bg_a2_menu-8.png);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 90px auto; */
}

.round_tr .ww_200:first-child {
  width: 402px;
}

.over_scroll {
  overflow-x: scroll;
}

.overflow_responsive {
  overflow-x: scroll;
}

.ww_200 {
  width: 172px;
  display: inline-block;
}

.bg_footer {
  background-color: rgba(0, 0, 0, 0.8);
}

.striple_color>.row:nth-child(2n + 2) {
  background-color: #e2e2e2;
}

/* ----------------------------- */

.switch_c1 {
  position: relative;
  right: -12px;
  top: 4px;
  font-size: 20px;
}

.switch_c2 {
  font-size: 20px;
  position: relative;
  right: -34px;
  top: 5px;
}

.switch_calendar .switch {
  position: relative;
  display: inline-block;
  width: 85px;
  height: 34px;
}

.switch_calendar .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.pointer {
  cursor: pointer;
}

.ww_res75 {
  width: 100%;
}

.padding_custom {
  padding: 10px 12px;
}

.switch_calendar .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #707070;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.hover_ch>a {
  background-color: #000;
  transition: 0.3s;
  position: relative;
}

.hover_ch:hover>a {
  background-color: #006666 !important;
  box-shadow: 6px 6px 0px 1px #808080;
  top: -7px;
}

.p_meeting .round_tr th:first-child {
  border-top-left-radius: 50rem;
  border-bottom-left-radius: 50rem;
}

.p_meeting .round_tr th:last-child {
  border-top-right-radius: 50rem;
  border-bottom-right-radius: 50rem;
}

.hover_ch .fs_icon_academic {
  color: #f48120;
}

.hover_ch:hover .fs_icon_academic {
  color: #fff;
}

.switch_calendar .switch .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 51px;
  bottom: 4px;
  background-color: #00a19a;
  /* -webkit-transition: .4s; */
  transition: 0.3s;
  border: 2px solid #707070;
}

.switch_calendar .switch.active .slider:before {
  left: 8px;
}

.switch_calendar .switch .slider.round {
  border-radius: 34px;
}

.switch_calendar .switch .slider.round.round:before {
  border-radius: 50%;
  transform: scale(1.7);
}

/* .switch_calendar .switch.active .slider {
    background-color: #2196F3;
} */

.switch_calendar .switch.active .slider {
  -webkit-box-shadow: 0 0 1px #2196f3;
  -moz-box-shadow: 0 0 1px #2196f3;
  -ms-box-shadow: 0 0 1px #2196f3;
}

.switch_calendar .switch.active .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* ---------------------------------- */
.bg_footer_menu {
  background-color: rgba(0, 0, 0, 0.6);
}

.opcaity_box {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 10px;
}

.bg_footer_menu ul.menu {
  display: flex;
  justify-content: space-around;
  list-style: none;
  color: #fff;
  flex-direction: column;
  margin-left: 0px;
  padding-left: 0px;
  margin-bottom: 0px;
}

.fs_mark {
  font-size: 22px;
}

/*-------------------------------------------------------  */
.lang_th {
  position: relative;
  top: 2px;
  left: -10px;
  font-size: 20px;
  color: #fff !important;
}

.lang_en {
  position: relative;
  top: 2px;
  left: 48px;
  font-size: 20px;
  color: #fff !important;
}

.lang_switch .switch {
  position: relative;
  display: inline-block;
  width: 82px;
  height: 34px;
}

.lang_switch .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lang_switch .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #707070;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.lang_switch .switch .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 38px;
  left: 5px;
  bottom: 4px;
  background-color: #00a19a;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.lang_switch .switch.active .slider:before {
  left: 12px;
}

.is_desktop * {
  z-index: 99999;
}

* {
  z-index: 999;
}

.ww_edtri {
  width: 70px;
  position: absolute;
  top: 0;
  left: 0;
}

.div_count_pagi {
  display: flex;
  z-index: 9;
}

#lightcase-overlay {
  z-index: 99999 !important;
}

#lightcase-case {
  z-index: 99999 !important;
}

#lightcase-nav {
  z-index: 99999 !important;
  position: absolute;
}

.line_slash {
  height: 49px;
  background-color: #000;
  width: 2px;
  margin-right: 10px;
  display: none;
}

.lightcase-icon-close {
  z-index: 99999 !important;
}

/* .lang_switch .switch.active .slider.round.round:before{
    z-index: unset;
} */
.lang_switch .switch .slider.round {
  border-radius: 34px;
}

.lang_switch .switch .slider.round.round:before {
  border-radius: 14px;
}

.lang_switch .switch.active .slider {
  background-color: #707070;
}

.lang_switch .switch.active .slider {
  -webkit-box-shadow: 0 0 1px #2196f3;
  -moz-box-shadow: 0 0 1px #2196f3;
  -ms-box-shadow: 0 0 1px #2196f3;
}

.line_height56 {
  line-height: 56px;
}

.lang_switch .switch.active .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.fs_24 {
  font-size: 20px;
}

.fs_28 {
  font-size: 28px;
}

.fs_36 {
  font-size: 36px;
}

.fs_60 {
  font-size: 27px;
}

/* .block-jj{
    display: none;
}
.block-jj.active{
    display: block;
} */
/*--------------------------------------------------------------------------  */
#copy-text {
  position: relative;
}

#copy-text.active::before {
  content: "copied";
  position: absolute;
  top: -30px;
  left: 4px;
  font-size: 18px;
  color: #000;
  font-weight: 600;
}

/* 
.bg_footer_menu ul.menu>li>ul {
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
    border-top: 2px solid;
} */
.bg_footer_menu ul.menu>li>ul {
  display: grid;
  grid-row-gap: 5px;
  grid-column-gap: 1rem;
  grid-template-rows: auto auto;
  list-style: none;
  margin-left: 0px;
  padding-left: 0px;
  border-top: 2px solid;
}

.color-a3a3a2 {
  color: #a3a3a2 !important;
}

.bg_footer_menu ul.menu>li>ul {
  padding-top: 10px;
}

/* .bg_footer_menu ul.menu>li>ul>li:first-child {
    margin-top: 10px;
} */

.bg_footer_menu ul.menu>li {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 20px 20px;
  list-style: none;
  text-align: center;
  margin-bottom: 30px;
}

.for_slide .ls-bottom-slidebuttons {
  position: relative;
  top: 79px;
}

.bd_layerslide .ls-bottom-slidebuttons {
  transform: translateY(60px) !important;
}

.bg_footer_menu ul.menu>li>a {
  color: #fff;
  text-decoration: none;
  font-size: 26px;
}

.text-decoration-none,
a.text-decoration-none {
  outline: none;
}

.bg_footer_menu ul.menu>li>ul>li>a {
  text-decoration: none;
  color: #b9b9b9;
  font-size: 20px;
  outline: none;
}

.bg_footer_menu ul.menu>li {
  width: -webkit-fill-available;
  margin: 10px 0px;
}

.dropdown-menu {
  min-width: 5.4rem;
}

/* .dropdown-menu.show {
    display: contents;
} */

.color-drop .fs_pagination {
}

.color-drop>a:active {
  background-color: #006666;
  color: #fff !important;
}

.bg-e5e5e5 {
  background-color: #e5e5e5;
}

.bg_opacity_white {
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg,
      rgba(244, 244, 244, 0.6250875350140056) 50%,
      rgba(244, 244, 244, 1) 100%);
  height: 200px;
}

/* @media only screen and (max-width: 770px) {
    .bg_opacity_white {
        height: 50px;
    }
} */

.bg_opacity_white2 {
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg,
      rgba(255, 255, 255, 0.6250875350140056) 50%,
      rgba(255, 255, 255, 1) 100%);
  height: 200px;
}

.show_slide_menu .current-menu-item,
.show_slide_menu .current_page_item {
  background-color: #006666;
}

.show_slide_menu .current-menu-item a {
  color: #fff !important;
}

.show_slide_menu .menu-item-has-children>a {
  position: relative;
}

.show_slide_menu .menu-item-has-children>a::before {
  content: "\f0d7";
  font-family: "FontAwesome";
  position: absolute;
  right: -25px;
  top: -2px;
  font-size: 22px;
}

.current-menu-parent>a,
.current-menu-parent>ul>li>a {
  /* color: #fff !important; */
}

.show_slide_menu .menu-header-master-degree-container>ul,
.show_slide_menu .menu-header-master-degree-en-container>ul,
.show_slide_menu .menu-menu_en-container>ul,
.show_slide_menu .menu-menu-container>ul {
  padding-left: 0px;
  margin-right: 0px;
}

/* .show_slide_menu .menu-menu-container>ul>li>ul{
    padding-left: 25px;
} */
.show_slide_menu .menu-header-master-degree-container>ul>li,
.show_slide_menu .menu-header-master-degree-en-container>ul>li,
.show_slide_menu .menu-menu_en-container>ul>li,
.show_slide_menu .menu-menu-container>ul>li {
  /* padding-left: 25px; */
  /* padding-right: 25px; */
  /* padding-bottom: 5px; */
  padding-top: 5px;
}

.show_slide_menu .menu-header-master-degree-container>ul>li>a,
.show_slide_menu .menu-header-master-degree-en-container>ul>li>a,
.show_slide_menu .menu-menu_en-container>ul>li>a,
.show_slide_menu .menu-menu-container>ul>li>a {
  padding-left: 25px;
  /* padding-right: 25px;
    padding-bottom: 5px;
    padding-top: 5px; */
}

.bg_white_big {
  background: rgb(255, 255, 255);
  background: linear-gradient(0deg,
      rgba(244, 244, 244, 0.6250875350140056) 0%,
      rgba(244, 244, 244, 0.3) 100%);
}

.move_relative {
  position: relative;
  bottom: -160px;
}

.set_p p {
  margin: 10px 0px;
}

.ww_map {
  width: 100%;
  height: 220px;
  border-radius: 10px;
}

.do_not_click {
  pointer-events: none;
}

.bg-tran {
  background-color: transparent !important;
}

.content_map {
  width: 480px;
  height: 220px;
  border-radius: 10px;
}

@media (max-width: 767px) {
  .content_map {
    width: 100%;
  }
}

.contact_logo_icon {
  margin-top: 0.3rem !important;
}

.line_footer {
  height: 2px;
  background-color: #fff;
}

.f_footer {
  font-size: 20px;
}

.txxt_page {
  color: #a3a3a2;
  font-weight: 500;
  font-size: 17px;
}

.absolute_text {
  position: absolute;
  bottom: 4px;
  right: 24px;
  color: #ffff;
  font-weight: 500;
  font-size: 36px;
}

.bg-e5e5e5 {
  background-color: #e5e5e5;
}

/* .menu_desktop>div>div>ul>li ul::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #6a737b80;
}
.menu_desktop>div>div>ul>li ul::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: #6a737b80;
} */

/* .menu_desktop>div>div>ul>li ul::before {
    position: absolute;
    height: 100%;
    width: 180px;
    top: 0;
    left: -180px;
    display: block;
    background-image: url(../images/bg_a1_Menu.jpg);
    background-position: center bottom;
    background-repeat: repeat-y;
    background-size: cover;
    content: attr(data-tx);
    color: white;
    padding: 20px 35px 5px 20px;
    text-align: left;
    font-weight: 700;
    box-shadow: 0px 0px 10px 1px #6a737b80;
} */

.menu_desktop>div>div>ul>li:hover ul {
  z-index: 999999;
  /* width: 270px; */
  width: max-content;
  min-width: 270px;
  max-width: 50vw;
  background-color: #fff;
  /* margin-top: 10px; */
  position: absolute;
  display: block;
  list-style: none;
  margin-left: 0px;
  box-shadow: 0px 0px 10px 1px #6a737b80;
  padding: 10px 0px;
  border-radius: 10px;
  /* left: 50%;
    transform: translateX(-50%); */
  top: 35px;
  right: 0;
  /* overflow: hidden; */
  animation: fadeInUp;
  animation-duration: 0.15s;
}

.menu_desktop>div>div>ul>li:last-child:hover ul {
  /* left: 20%; */
  /* left: -240%; */
}

/* .site-main{
    position: relative;
} */
.font-detail {
  color: #000000 !important;
  font-size: 20px;
  text-align: start;
}

.font-detail_s {
  color: #999999 !important;
  font-size: 24px;
  text-align: start;
}

.font-detail-none {
  font-size: 15px;
  /* text-align: start; */
}

.color-999999 {
  color: #999999 !important;
}

.color-e40000 {
  color: #e40000;
}

.bg-f58220 {
  background-color: #f58220;
}

.line_str {}

.xshadow {
  box-shadow: 0px 0px 6px -2px #000;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.xyshadow {
  box-shadow: 0px 0px 6px -2px #000;
  border-radius: 10px;
  overflow: hidden;
}

.cl_fb {
  padding: 11px 15px 3px 15px;
  background-color: #1f449c;
  border-radius: 50%;
  color: #fff !important;
}

.cl_tw {
  padding: 7px 11px 7px 11px;
  background-color: #000;
  border-radius: 50%;
  color: #fff !important;
}

.cl_cp {
  padding: 8px 8px 1px 8px;
  font-size: 25px;
  background-color: #f58220;
  border-radius: 50%;
  color: #fff !important;
  border: none;
}

.height-news-home {
  height: 250px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .height-news-home {
    height: 415px;
  }
}

@media (max-width: 767px) {
  .height-news-home {
    height: 390px;
  }
}

.hover_news_block:hover>div {
  background-color: #fff5f0;
}

.hover_news_block:hover>div .text_title_news {
  color: #f48120;
}

.hover_news_block:hover .text_title_res {
  color: #f48120;
}

.hover_news_block .po_news_move {
  display: none;
}

.hover_news_block:hover .po_news_move {
  background: rgba(244, 129, 32, 0.5);
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hover_news_block:hover>div .text_box_news {
  color: #000;
}

.menu_desktop>div>div>ul>li:nth-child(2)>ul>li {
  width: 100%;
}

.menu_desktop>div>div>ul>li:hover ul>li {
  padding: 5px 25px;
}

.menu_desktop>div>div>ul>li:hover ul>li:hover {
  /* background-color: #000;
    background-color: #6a737b; */
  /* background-image: url(../images/bg_menu_active_zxc213.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
  background-color: #E5E5E5;
}

.menu_desktop .sub-menu .current-menu-item {
  /* background-color: #000; */
  background-color: #6a737b;
}

.menu_desktop>div>div>ul>li:hover ul>li.current-menu-item>a {
  /* color: #f58220; */
  color: #fff;
}

.menu_desktop>div>div>ul>li:hover ul>li.current-menu-item>a::after {
  /* color: #f58220; */
  color: #fff;
}

.fs_base_text>div>ul>li.menu-item-has-children:hover>ul>li.current-menu-item {
  /* color: #f58220; */
  color: #fff;
}

.fs_base_text>div>ul>li.menu-item-has-children:hover>ul>li.current-menu-item:after {
  opacity: 1;
}

.menu_desktop>div>div>ul>li:hover ul>li:hover>a {
  /* color: #f58220; */
  color: #FF8200;
}

.menu_desktop>div>div>ul>li:hover ul>li>a {
  text-decoration: none;
  color: #000;
  font-weight: 700;
  line-height: normal;
}

.page-item:first-child .page-link {
  display: none;
}

.page-item:last-child .page-link {
  display: none;
}

.page-item:nth-last-child(2) {
  margin-left: 10px;
}

.page-item:nth-child(2) {
  margin-right: 10px;
}

.pointer {
  cursor: pointer;
}

/* .div_youtube .ytp-chrome-top{
    display: none;
} */
.div_youtube {
  font-size: 22px;
  text-align: center;
  color: #fff;
  background-color: rgba(245, 130, 32, 0.9);
  border-radius: 10px;
  width: 100%;
}

.div_youtube>iframe {
  height: 111px !important;
}

.h120 {
  height: 120px;
}

.div_youtube>iframe video.video-stream {
  width: 100% !important;
  left: 0 !important;
}

/* .div_youtube iframe .html5-video-player>div>.video-stream{
    width: 100% !important;
    left: 0 !important;
} */
.font_icon_h {
  font-size: 20px;
}

.ytp-fit-cover-video video.video-stream.html5-main-video {
  width: 100% !important;
  left: 0 !important;
}

.for_slide .ls-videopreview {
  display: none !important;
}

.for_slide .ls-v6 .ls-nav-stop,
.for_slide .ls-v6 .ls-nav-start {
  display: none !important;
}

.fs_dis_title {
  font-size: 30px;
}

.hover_action .po_hover .po_border {
  display: none;
  transition: 0.3s;
}

.hover_action:hover .po_hover {
  transition: 0.3s;
  position: absolute;
  top: 0;
  left: 0;
  /* transform: translate(-50%, -50%); */
  background-color: rgba(0, 0, 0, 0.5);
  width: 100%;
  height: 100%;
  display: block;
  padding: 20px;
}

.hover_action:hover .po_border {
  position: relative;
  width: 100%;
  height: 100%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn_tax {
  color: #fff !important;
  cursor: pointer;
  text-decoration: none;
  font-size: 20px;
}

.name_faculty {
  font-size: 32px;
}

.name_univer {
  font-size: 52px;
}

.btn_tax_slider i {
  font-size: 25px;
}

.btn_tax_slider {
  color: #fff !important;
  cursor: pointer;
  text-decoration: none;
  font-size: 25px;
}

.font_link_post {
  text-decoration: none;
  font-size: 24px;
  color: #fff !important;
}

.font_link_work {
  text-decoration: none;
  font-size: 22px;
  color: #fff !important;
  font-weight: 600;
}

.font_link_work2 {
  text-decoration: none;
  font-size: 18px;
  color: #fff !important;
  font-weight: 600;
}

.font_back_news {
  text-decoration: none;
  font-size: 24px;
  color: #fff !important;
}

.font-title-sec {
}

.home_new_con {
  white-space: normal;
  /* อนุญาตให้ขึ้นบรรทัดใหม่ */
  overflow-wrap: break-word;
  /* ตัดคำเมื่อยาวเกิน */
  word-wrap: break-word;
  flex-wrap: wrap;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}

@media (min-width: 767px) {
  .home_new_con {
    width: 70%;
  }
}

.over_b {
  border-radius: 5px 5px 0px 0px;
  overflow: hidden;
}

.bg-f4f4f4 {
  background-color: #f4f4f4;
}

.mm_widh {
  min-width: 900px;
}

.overflow_scroll {
  /* overflow-x: scroll; */
  overflow-x: auto;
}

.row_s>.row:nth-child(2n + 1) {
  background-color: #c5c5c5;
}

.mx-quali ul {
  margin-left: 0px;
}

.mx-quali ol {
  margin-left: 0px;
}

.logo_web,
.logo_web2,
.logo_web3 {
  display: none !important;
}

.logo_webnew {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 9px !important;
  height: unset !important;
  z-index: 99999;
  transform: translateY(30%) translateX(30%);
}

.border_menu_news {
  border: 2px solid #000 !important;
  border-radius: 5px !important;
}

.py_ct {
  padding: 6px 0px;
}

.vertical_middle {
  vertical-align: middle;
}

.vertical_middle>p {
  margin-bottom: 0px;
}

.border_news_active {
  border: 2px solid #fff !important;
  border-radius: 5px !important;
}

.border_menu_news2 {
  /* border: 2px solid #f4f4f4 !important; */
  border-radius: 5px !important;
}

.border_peal_news {
  border: 3px solid #000 !important;
}

.btn_tax_page {
  color: #fff !important;
  cursor: pointer;
  text-decoration: none;
  font-size: 22px;
  text-align: center;
  width: 100%;
}

.fs_calenadr_text {
  font-size: 25px;
  color: #fff !important;
  text-decoration: none;
}

.line_bottom_date {
  background-color: rgba(106, 115, 123, 0.2);
}

.line_top_date {
  border-top: 2px solid rgba(106, 115, 123, 0.5);
}

.text_box_calendar {
}

.text_title_news {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.text_box_news {
  font-size: 20px;
  font-weight: 600;
  color: #999999;
}

.bg-c5c5c5 {
  background-color: #c5c5c5;
}

.border20 {
  border-radius: 20px;
}

.border25 {
  border-radius: 25px;
}

.border30 {
  border-radius: 30px;
}

.date_text_news {
  font-size: 20px;
  font-weight: 600;
  color: #6a737b;
}

.border_25 {
  border-radius: 25px;
}

.fs_36 {
  font-size: 25px;
}

.number_ic {
  background-color: #000;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 28px;
}

.number_icx {
  background-color: #f58220;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  display: flex;
  justify-content: center;
  font-size: 33px;
}

.bg-fcdabd {
  background-color: #fcdabd;
}

.dropdown-toggle::after {
  vertical-align: 0.05em;
}

.show .dropdown-toggle::after {
  color: #000;
  position: relative;
  top: 0px;
}

.color-f58220 {
  color: #f58220 !important;
}

.fs_pagination {
}

.custom_dropdown>li:hover {
  background-color: #f58220;
}

.custom_dropdown>li:hover>a {
  color: #fff !important;
}

.color-444444 {
  color: #444444;
}

.color-000 {
  color: #000 !important;
}

.bg_res_fff {
  background-color: #fff;
}

.fs_ptg {
  font-size: 20px;
}

* .ls-fullscreen-wrapper {
  z-index: 999 !important;
}

.a_none,
a.a_none {
  text-decoration: none;
  outline: none;
}

.fs-18 {
  font-size: 20px;
}

.fix_overlay {
  width: 120px;
  height: 120px;
  position: fixed;
  z-index: 9999999999;
  top: 50%;
  left: 46%;
}

.fix_overlay2.active {
  display: none !important;
}

.fix_overlay2 {
  box-sizing: border-box;
  position: fixed;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.8);
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 2147483647;
  opacity: 1;
}

.item_overlay {
  order: 1;
  box-sizing: border-box;
  overflow: visible;
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-name: loadingoverlay_animation__rotate_right;
  animation-duration: 2000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  width: 120px;
  height: 120px;
}

.sk-circle {
  margin: 100px auto;
  width: 116px;
  height: 116px;
  position: relative;
}

.sk-circle .sk-child {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.sk-circle .sk-child:before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 15%;
  height: 15%;
  background-color: #333;
  border-radius: 100%;
  -webkit-animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
  animation: sk-circleBounceDelay 1.2s infinite ease-in-out both;
}

.sk-circle .sk-circle2 {
  -webkit-transform: rotate(30deg);
  -ms-transform: rotate(30deg);
  transform: rotate(30deg);
}

.sk-circle .sk-circle3 {
  -webkit-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.sk-circle .sk-circle4 {
  -webkit-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}

.sk-circle .sk-circle5 {
  -webkit-transform: rotate(120deg);
  -ms-transform: rotate(120deg);
  transform: rotate(120deg);
}

.sk-circle .sk-circle6 {
  -webkit-transform: rotate(150deg);
  -ms-transform: rotate(150deg);
  transform: rotate(150deg);
}

.sk-circle .sk-circle7 {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.sk-circle .sk-circle8 {
  -webkit-transform: rotate(210deg);
  -ms-transform: rotate(210deg);
  transform: rotate(210deg);
}

.sk-circle .sk-circle9 {
  -webkit-transform: rotate(240deg);
  -ms-transform: rotate(240deg);
  transform: rotate(240deg);
}

.sk-circle .sk-circle10 {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.sk-circle .sk-circle11 {
  -webkit-transform: rotate(300deg);
  -ms-transform: rotate(300deg);
  transform: rotate(300deg);
}

.sk-circle .sk-circle12 {
  -webkit-transform: rotate(330deg);
  -ms-transform: rotate(330deg);
  transform: rotate(330deg);
}

.sk-circle .sk-circle2:before {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.sk-circle .sk-circle3:before {
  -webkit-animation-delay: -1s;
  animation-delay: -1s;
}

.sk-circle .sk-circle4:before {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.sk-circle .sk-circle5:before {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

.sk-circle .sk-circle6:before {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}

.sk-circle .sk-circle7:before {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}

.sk-circle .sk-circle8:before {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.sk-circle .sk-circle9:before {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.sk-circle .sk-circle10:before {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}

.sk-circle .sk-circle11:before {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.sk-circle .sk-circle12:before {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

@-webkit-keyframes sk-circleBounceDelay {

  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes sk-circleBounceDelay {

  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.overlay_css {
  background-color: rgba(238, 238, 238, 0.1);
  height: 100%;
  width: 100%;
}

.mh_700 {
  max-height: 700px;
}

.fs-long {
  font-size: 35px;
}


.crop-calendar.new2 .fc .fc-daygrid-day-number {
  background: rgb(244, 129, 32);
  background: linear-gradient(117deg,
      rgba(0, 102, 102, 1) 0%,
      rgba(0, 102, 102, 1) 72%,
      rgba(255, 255, 255, 0) 72%);
  width: 50px;
  color: #fff;
  font-size: 26px;
  padding-left: 9px;
  padding-top: 0;
  padding-bottom: 0;
}

.crop-calendar.new2 .fc .fc-day-other .fc-daygrid-day-number {
  background: rgb(172, 172, 172);
  background: linear-gradient(117deg,
      rgba(172, 172, 172, 1) 0%,
      rgba(172, 172, 172, 1) 72%,
      rgba(255, 255, 255, 0) 72%);
}

.crop-calendar.new2 .fc .fc-daygrid-day-top {
  justify-content: flex-end;
  opacity: 1;
}


.max-wbox {
  max-height: 400px;
} */
.res-block.active {
  display: block;
}

.res-block {
  display: none;
}

.fs_admin2 p {
  margin-bottom: 0;
}

.mg_row15 {
  margin: 0px -15px;
}

.current-date {
  color: #000 !important;
  background: linear-gradient(90deg,
      rgba(0, 161, 154, 1) 0%,
      rgba(0, 207, 154, 1) 100%);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  padding-right: 1rem !important;
}

.calendar_fulls .current-date {
  background: linear-gradient(90deg,
      rgba(0, 161, 154, 1) 0%,
      rgba(0, 207, 154, 1) 100%);
}

.line_search {
  background-color: #b7b7b7;
  width: 2px;
  height: 50px;
}

.color-fff {
  color: #fff !important;
}

.bg_000 {
  background-color: #000 !important;
}

.fs_tel_label {
  font-size: 25px;
}

.line_o {
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, rgb(255, 130, 0) 0%, rgb(255, 118, 151) 100%);
}

.bg_pof {
  position: relative;
  background-color: #fff;
}

.fs_title_tt {
  font-size: 21px;
}

.fs_tel_label2 {
  font-size: 25px;
  color: #000 !important;
}

.linh20 {
  line-height: 20px;
}

.icon_s {
  position: relative;
}

/* .mw_220{
    min-width: 220px;
} */
.btn_gray {
  position: absolute;
  left: 22px;
  top: 52%;
  transform: translateY(-50%);
  padding: 0px;
}

.set_in_p p {
  margin-bottom: 0px;
}

.fsx_label {
  font-size: 20px;
}

.fsx_label2 {
  font-size: 20px;
}

.bg_dd {
  display: flex;
  align-items: center;
  background-color: #000;
  border-radius: 50%;
  height: 31px;
  width: 31px;
  justify-content: center;
  color: #fff;
}

.hfit {
  height: fit-content;
}

.wfit {
  width: fit-content;
}

.color-f58220 {
  color: #f58220;
}

.bg-f58220 {
  background-color: #f58220;
}

.text_absolute {
  position: relative;
  /* bottom: 19px; */
  transform: translateX(-50%);
  left: 50%;
  font-size: 22px;
  color: #000;
  width: 100%;
  text-align: center;
}

.border10 {
  border-radius: 10px;
}

.box_img_hover:hover .bg_hovers {
  position: absolute;
  /* width: 100%; */
  height: 335.86px;
  top: 0;
  left: 0;
  background-color: rgba(244, 129, 32, 0.5);
  border-radius: 10px;
}

.box_img_hover .bg_hovers {
  position: absolute;
  width: 100%;
  height: 335.86px;
  top: 0;
  left: 0;
  border-radius: 10px;
}

.fs_education {
  font-size: 20px;
}

.border10hid {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 7px -3px #000;
}

.border5 {
  border-radius: 5px;
}

.border_left10 {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.border_right10 {
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.text_absolute1 {
  position: absolute;
  bottom: 0;
  height: 100%;
  width: 100%;
}

.text_absolute2 {
  position: absolute;
  bottom: 19px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 26px;
  color: #fff;
  text-align: center;
  width: 100%;
  line-height: normal;
}

.text_dean {
  font-size: 26px;
  color: #000;
  text-align: center;
  width: 100%;
  line-height: normal;
}

.banner_3 {
  /* display: none; */
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  z-index: 0;
}

.ww_triag {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 69px;
}

.small_text {
  /* font-size: 18px; */
  font-size: 20px;
}

.dean_hover>div {
  max-height: 600px;
  transition: 0.3s;
}

.dean_hover:hover .text_absolute1 {
  background-color: rgba(245, 130, 32, 0.6);
  border-radius: 10px;
  box-shadow: 0px 0px 7px -1px #000;
}

.dean_hover:hover .img_hover {
  background-color: rgba(245, 130, 32, 0.6);
  border-radius: 10px;
  box-shadow: 0px 0px 7px -1px #000;
}

.box_img_hover:hover {
  box-shadow: 0px 0px 7px -1px #000;
  bottom: 8px;
  height: 335.86px;
}

.box_img_hover {
  border-radius: 10px;
}

.dean_hover:hover>div {
  position: relative !important;
  top: -8px;
}

.bordery10 {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.btn_tel {
  color: #000 !important;
  text-decoration: none;
  display: inline-block;
  line-height: normal;
}

.fs_base_text {
  font-size: 26px;
}

.fs_base_text>div>ul>li {
  position: relative;
}

.fs_base_text>div>ul>li.menu-item-has-children::after {
  content: "\f0dd";
  font-family: "FontAwesome";
  position: absolute;
  right: 0;
  top: -3px;
  font-size: 16px;
  color: #565656;
}

.fs_base_text>div>ul>li.menu-item-has-children>ul>li {
  position: relative;
}

.fs_base_text>div>ul>li.menu-item-has-children>ul>li::after {
  content: "\f0da";
  font-family: "FontAwesome";
  position: absolute;
  left: 11px;
  /* top: 11px; */
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0;
}

.fs_base_text>div>ul>li.menu-item-has-children>ul>li:hover:after {
  opacity: 1;
}

.fs_base_text>div>ul>li.menu-item-has-children:hover>ul>li:hover {
  /* color: #f58220;
    padding: 10px 25px; */
  color: #006666;
}

.fs_base_text>div>ul>li.menu-item-has-children>ul>li:first-child {
  /* padding-top: 10px; */
}

.fs_base_text>div>ul>li.menu-item-has-children>ul>li:last-child {
  /* padding-bottom: 10px; */
}

.for_slide .ls-v6 .ls-bottom-nav-wrapper {
  position: relative;
  visibility: visible;
  top: -101px;
}

.lang_chang {
  background-color: #b7b7b7;
  padding: 8px 5px;
}

.span_chang {
  padding: 5px 10px;
}

.overflow_border10 {
  /* overflow: hidden; */
  border-radius: 10px;
  position: relative;
}

.pomove {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  line-height: 16px;
}

.move_res_relative {
  position: relative !important;
  top: -100px;
}

.ab_so {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: end;
  top: 0;
  width: 100%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 26px;
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.4049194677871149) 82%);
}

.ab_th2,
.ab_th {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: end;
  top: 0;
  width: 100%;
  height: 100%;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 18px;
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.4049194677871149) 82%);
}

.po_top3 {
  position: relative;
  top: 3px;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  /* background: #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.crop-calendar .fc .fc-scrollgrid table tbody>tr {
  height: 89px;
}

.mySwiper_calendar .swiper-button-next:after,
.mySwiper_calendar .swiper-button-prev:after {
  opacity: 0;
}


.home_swipper .swiper-button-next:after {
  opacity: 0;
}

.home_swipper .swiper-button-prev:after {
  opacity: 0;
}

.opacity-0 {
  opacity: 0;
}

.color-6a737b {
  color: #6a737b;
}

.fs_voic {
  color: #6a737b;
  font-size: 40px;
  font-weight: 600;
}

.fs_service24 {
  font-size: 20px;
  font-weight: 600;
}

.fs_ban_orange {
  color: #fff;
  font-size: 22px;
}

.fs_voic_c {
  font-size: 26px;
  color: #383c3f;
}

.po_ab_service {
  position: absolute;
  bottom: 0px;
  left: 30px;
  font-size: 36px;
  color: #fff;
  font-weight: 600;
}

.po_ab_faculty {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0px;
  font-size: 22px;
  color: #fff;
  font-weight: 600;
}

.fs_detail_qr {
  font-size: 24px;
  color: #383c3f;
}

.fs_name_page {
  font-size: 20px;
  font-weight: 600;
}

.fs_22 {
  font-size: 20px;
}

.fs_research_c {
  font-size: 24px;
}

.swiper-pagination2 {
  text-align: center;
}

.over_flow_hide {
  overflow: hidden;
}

.head_row_color:first-child>div>div {
  color: #fff;
  background-color: #000;
}

.head_row_color:nth-child(2)>div>div {
  color: #fff;
  background-color: #606060;
}

.head_row_color:last-child>div>div {
  color: #fff;
  background-color: #a5a5a5;
}

.home_swipper .swiper-pagination-bullet-active,
.swiper-pagination2 .swiper-pagination-bullet-active {
  background-color: #F48120 !important;
  width: 28px !important;
  height: 10px !important;
  border-radius: 5px;
}

.home_swipper .swiper-pagination-bullet,
.swiper-pagination2 .swiper-pagination-bullet {
  height: 10px;
  width: 10px;
} */

.img_shoedow_fff {
  background-color: #fff;
  box-shadow: 0px 0px 5px -2px #000;
}

.img_shoedow_rad {
  border-radius: 10px;
  box-shadow: 0px 0px 5px -2px #000;
}

.img_shoedow_child {
  border-radius: 10px;
  box-shadow: 0px 0px 5px -2px #000;
}

.img_shoedow_rad2 {
  border-radius: 15px;
  box-shadow: 0px 0px 9px -4px #000;
  overflow: hidden;
}

.img_shadow_faculty {
  border-radius: 15px;
  box-shadow: 0px 0px 6px 0px #000;
}

.img_shadow_faculty:hover .po_ab_faculty {
  color: #000;
  width: 100%;
  height: 102%;
}

/* .img_small_res{
    width: 81px;
} */
.img_shodow_res {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-shadow: 0px 0px 9px -4px #000;
  overflow: hidden;
}

.img_shodow_res2,
.img_shodow_res3 {
  border-radius: 10px;
  box-shadow: 0px 0px 9px -4px #000;
  overflow: hidden;
}

.color-afafaf {
  color: #afafaf;
}

.color-6a737b {
  color: #6a737b;
}

.btn_gray {
  border: none;
  background-color: unset;
  color: gray;
  font-size: 18px;
}

.bg-f4f4f4 {
  background-color: #f4f4f4;
}

.fs_admin1 {
  font-size: 21px;
}

.fs_admin2 {
  font-size: 19px;
}

.crop-calendar .fc-header-toolbar {
  display: none !important;
}

.crop-calendar.active {
  display: block;
}

.crop-calendar .fc .fc-daygrid-body {
  height: auto;
}

.crop-calendar .fc .fc-scrollgrid-section-body table {
  height: auto;
}

.crop-calendar .fc-h-event {
  background-color: #000;
  border: 1px solid #000;
}

.crop-calendar.new2 .fc-daygrid-event-harness.fc-daygrid-event-harness-abs .fc-h-event {
  background-color: #f48120;
  border: 1px solid #f48120;
  border-radius: 20px;
  z-index: 999999999999999;
}

.crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event {
  background-color: unset;
  border: unset;
  border-radius: 20px;
}

.crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event .fc-event-title {
  color: #000;
  position: relative;
}

.crop-calendar.new2 .fc-daygrid-event-harness:not(.fc-daygrid-event-harness-abs) .fc-h-event .fc-event-title::before {
  content: "\f111";
  font-family: "FontAwesome";
  position: absolute;
  left: 0;
  top: 50%;
  font-size: 8px;
  transform: translateY(-50%);
  color: #F48120;
}

.crop-calendar.new2 .fc-daygrid-event-harness.fc-daygrid-event-harness-abs .fc-h-event .fc-event-title {
  color: #006666;
}

.crop-calendar.new2 .fc-daygrid-event-harness.fc-daygrid-event-harness-abs .fc-h-event {
  background-color: #fff;
  border: 1px solid #e4e4e4;
}

.crop-calendar.new2 .fc-daygrid-event-harness.fc-daygrid-event-harness-abs:hover .fc-h-event {
  background-color: #006666;
  border: 1px solid #006666;
}

.crop-calendar.new2 .fc-daygrid-event-harness.fc-daygrid-event-harness-abs:hover .fc-h-event .fc-event-title {
  color: #006666;
}

.crop-calendar.new2 .fc-daygrid-event-harness:hover .fc-h-event .fc-event-title {
  color: #f58220;
}

.crop-calendar.new2 .fc .fc-scrollgrid-liquid {
  /* background-image: url(https://eco.ku.ac.th/wp-content/uploads/2023/08/asdsadas.png); */
}

.crop-calendar.new2.master-degree .fc .fc-scrollgrid-liquid {
  /* background-image: url(https://eco.ku.ac.th/wp-content/uploads/2023/08/asdsadas.png); */
}

.crop-calendar .fc-daygrid-day {
  position: relative !important;
}

/* ----------------------------- */

.popper,
.tooltip {
  position: absolute;
  z-index: 9999;
  background: #ffc107;
  color: black;
  width: 150px;
  border-radius: 3px;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  padding: 10px;
  text-align: center;
}

.style5 .tooltip {
  background: #1e252b;
  color: #ffffff;
  max-width: 200px;
  width: auto;
  font-size: 0.8rem;
  padding: 0.5em 1em;
}

.popper .popper__arrow,
.tooltip .tooltip-arrow {
  width: 0;
  height: 0;
  border-style: solid;
  position: absolute;
  margin: 5px;
}

.tooltip .tooltip-arrow,
.popper .popper__arrow {
  border-color: #ffc107;
}

.style5 .tooltip .tooltip-arrow {
  border-color: #1e252b;
}

.popper[x-placement^="top"],
.tooltip[x-placement^="top"] {
  margin-bottom: 5px;
}

.popper[x-placement^="top"] .popper__arrow,
.tooltip[x-placement^="top"] .tooltip-arrow {
  border-width: 5px 5px 0 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  bottom: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

.popper[x-placement^="bottom"],
.tooltip[x-placement^="bottom"] {
  margin-top: 5px;
}

.tooltip[x-placement^="bottom"] .tooltip-arrow,
.popper[x-placement^="bottom"] .popper__arrow {
  border-width: 0 5px 5px 5px;
  border-left-color: transparent;
  border-right-color: transparent;
  border-top-color: transparent;
  top: -5px;
  left: calc(50% - 5px);
  margin-top: 0;
  margin-bottom: 0;
}

.tooltip[x-placement^="right"],
.popper[x-placement^="right"] {
  margin-left: 5px;
}

.popper[x-placement^="right"] .popper__arrow,
.tooltip[x-placement^="right"] .tooltip-arrow {
  border-width: 5px 5px 5px 0;
  border-left-color: transparent;
  border-top-color: transparent;
  border-bottom-color: transparent;
  left: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

.popper[x-placement^="left"],
.tooltip[x-placement^="left"] {
  margin-right: 5px;
}

.popper[x-placement^="left"] .popper__arrow,
.tooltip[x-placement^="left"] .tooltip-arrow {
  border-width: 5px 0 5px 5px;
  border-top-color: transparent;
  border-right-color: transparent;
  border-bottom-color: transparent;
  right: -5px;
  top: calc(50% - 5px);
  margin-left: 0;
  margin-right: 0;
}

.py_cust {
  padding-top: 7px;
  padding-bottom: 7px;
}

.crop-calendar .fc .fc-col-header-cell-cushion,
.crop-calendar .fc .fc-daygrid-day-number {
  text-decoration: none;
  color: #000;
}

.crop-calendar .fc .fc-scrollgrid table {
  margin-bottom: 0px !important;
}

.crop-calendar .fc-h-event .fc-event-title {
}

.swip_next {
  position: absolute;
  z-index: 999;
  top: 50%;
  transform: translateY(-100%);
  font-family: "FontAwesome";
  content: "\f0da";
  background: linear-gradient(90deg,
      rgba(0, 161, 154, 1) 0%,
      rgba(0, 207, 154, 1) 100%);
  padding: 5px 18px;
  border-radius: 52%;
  color: #fff;
  font-size: 23px;
}

.swip_next_calendar {
  position: absolute;
  z-index: 999;
  top: 50%;
  transform: translateY(-50%);
  font-family: "FontAwesome";
  content: "\f0da";
  background-color: #707070;
  padding: 5px 18px;
  border-radius: 52%;
  color: #fff;
  font-size: 23px;
}

.swip_back {
  position: absolute;
  z-index: 999;
  top: 50%;
  transform: translateY(-100%);
  font-family: "FontAwesome";
  content: "\f0da";
  background: linear-gradient(90deg,
      rgba(0, 161, 154, 1) 0%,
      rgba(0, 207, 154, 1) 100%);
  padding: 5px 18px;
  font-size: 23px;
  border-radius: 52%;
  color: #fff;
}

.swip_back_calendar {
  position: absolute;
  z-index: 999;
  top: 50%;
  transform: translateY(-50%);
  font-family: "FontAwesome";
  content: "\f0da";
  background-color: #707070;
  padding: 5px 18px;
  font-size: 23px;
  border-radius: 52%;
  color: #fff;
}

.border_shadow {
  box-shadow: 0px 0px 7px -3px #000;
  border-radius: 10px;
}

.circle_btn {
  padding: 7px 16px 0px 16px;
}

.border_shadow_overf {
  box-shadow: 0px 0px 7px -3px #000;
  border-radius: 10px;
  overflow: hidden;
}

.shadow_peal {
  box-shadow: 0px 0px 7px -3px #000;
}

.btn_readmore_slide {
  background-color: #707070;
  color: #fff !important;
  font-size: 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 50rem;
}

.btn_readmore_slide i {
  font-size: 22px;
}

.btn_readmore_ {
  background-color: #707070;
  color: #999999 !important;
  font-size: 26px;
  text-decoration: none;
}

.btn_readmore {
  background-color: #707070;
  color: #fff !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  width: max-content;
}

.btn_readmore i {
  font-size: 18px;
}

.w_fit {
  width: fit-content;
}

.cut_text2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.cut_text5 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.cut_text22 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cut_text11 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.title_detail {
  font-size: 25px;
}

.bg_opacity_groub {
  margin-top: -140px;
}

.logo_moblie {
  width: 130px;
}

.hamberger>div {
  width: 32px;
  border-radius: 2px;
  height: 4px;
  background-color: #000;
  margin-bottom: 7px;
}

.show_slide_menu.active .hamberger>div {
  background-color: #fff;
}

.show_slide_menu.active .hamberger>div:first-child {
  transform: rotate(45deg);
  position: relative;
  top: 11px;
}

/* .calen{
    flex: 1 0 50%;
} */

.switch_calendar {
  margin-left: auto;
}

.show_slide_menu.active .hamberger>div:nth-child(2) {
  opacity: 0;
}

.show_slide_menu.active .hamberger>div:last-child {
  transform: rotate(-45deg);
  position: relative;
  bottom: 11px;
}

.show_slide_menu.active .hamberger {
  background-color: #000;
  border-radius: 50%;
  /* box-shadow: 0px 0px 7px -2px #000; */
}

/* .hamberger:first-child{
    
} */
/* .for_slide .ls-v6 .ls-bottom-slidebuttons a.ls-nav-active:hover {
    position: relative;
    top: 2px;
}

.for_slide .ls-v6 .ls-bottom-slidebuttons a:hover {
    position: relative;
    top: 2px;
} */
.div_mobile_contact>div {
  margin-bottom: 15px;
}

.for_slide .ls-v6 .ls-bottom-slidebuttons a.ls-nav-active,
.for_slide .ls-v6 .ls-bottom-slidebuttons a.ls-nav-active:hover {
  background-color: #F48120 !important;
  /* border: none !important; */
  border-color: #F48120 !important;
  width: 31px !important;
  height: 11px;
}

.for_slide .ls-v6 .ls-bottom-slidebuttons a {
  background-color: #fff;
  /* border: none !important; */
  height: 11px;
  width: 11px !important;
  transform: scale(0.8);
}

.home_search {
  position: relative;
}

.btn_search2 {
  border: none;
  background-color: unset;
  position: absolute;
  right: 8px;
  top: 22px;
  color: #848484 !important;
  font-weight: 900;
}

.bg_fff {
  background-color: #fff;
}

.text_fff {
  color: #fff;
}

.fw-600 {
  font-weight: 600;
}

.fs_vision {
  font-size: 20px;
}

.font_nm {
  font-size: 20px;
}

.move_con {
  margin-bottom: -116px;
}

.move_con222 {
  margin-bottom: -222px;
}

.bg-606060 {
  background-color: #606060;
}

.bg-a5a5a5 {
  background-color: #a5a5a5;
}

.move_top {
  position: relative;
  bottom: -118px;
  margin-top: -116px;
}

.move_conn {
  margin-bottom: -116px;
  position: relative;
}

.move_per2 {
  margin-bottom: -150px;
  position: relative;
}

.move_conns {
  margin-bottom: -116px;
  position: relative;
}



.in_mp_set ol {
  margin-left: 0px;
  /* padding-left: 0px; */
}

.in_mp_set_ul ul {
  margin-left: 0px;
  /* padding-left: 0px; */
}

.bg_cs2 {
  background-color: #f4f4f4;
}

.bg_cs2:nth-child(2n + 2) {
  background-color: #e0e0e0;
}

.move_degree {
  margin-bottom: -200px;
  position: relative;
}

.color-565656 {
  color: #565656;
}

.bg-e0e0e0 {
  background-color: #e0e0e0 !important;
}

.color_a_00aaff a {
  color: #00aaff !important;
  text-decoration: none;
}

.tr_border {
  border: 2px solid #fff;
}

.tr_border>.td_border:first-child {
  text-align: start !important;
  border-right: unset;
  padding-left: 25px !important;
  min-width: 210px;
}

.tr_border>.td_border:nth-child(2) {
  min-width: 190px;
  padding-top: 46px !important;
}

.ver_align {
  vertical-align: middle;
}

.ww_ff0 .th_border {
  min-width: 100px;
}

.ww_ff0 .th_border:nth-child(3) {
  min-width: 100px;
}

.ww_ff0 .th_border:nth-child(4) {
  min-width: 100px;
}

.ww_ff1 .th_border {
  min-width: 150px;
}

.ww_ff1 .th_border:nth-child(3) {
  min-width: 200px;
}

.ww_ff1 .th_border:nth-child(4) {
  min-width: 280px;
}

.td_border {
  border-right: 4px solid #fff;
  border-top: 4px solid #fff;
  font-size: 20px;
}

.th_border {
  border-right: 4px solid #fff;
  font-size: 18px;
}

/* .th_border:first-child{
   padding-bottom: 23px;
} */
.bg-f3f3f3 {
  background-color: #f3f3f3;
}

.fs_content {
  font-size: 18px;
}

.fs_content_degree {
  font-size: 19px;
}

.fs_title_content {
  font-size: 24px;
}

.fs_lighter {
  font-size: 18px;
}

/* .home_search::after {
    position: absolute;
    right: 15px;
    top: 20px;
    content: "\f002";
    font-family: "FontAwesome";
} */
.line_d {
  background-color: #000;
  height: 2px;
  width: 100%;
}

.line_circle {
  background-color: #F48120;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  box-shadow: 0px 0px 0px 5px #fff;
  z-index: 9999;
  position: relative;
}

.line_pre {
  background-color: #dfe0df;
  width: 10px;
  height: 100%;
}

.posi_img {
  position: absolute;
  left: -0.5em;
  z-index: -1;
  top: 50%;
  transform: translateY(-50%);
  width: 1em;
}

.arrow_d {
  background: linear-gradient(90deg, rgb(255, 130, 0) 20%, rgb(255, 118, 151) 80%);
}

.fs_year_big {
  font-size: 50px;
}

.fs_textd {
  font-size: 30px;
  color: #000;
}

.show_slide_menu .menu {
  margin-top: 25px;
  margin-right: 22px;
  list-style: none;
  /* padding-left: 0px; */
  margin-left: 0px;
  margin-bottom: 0px;
}

.set_ww300>div {
  max-width: 300px;
}

.ww_100_res {
  width: 100% !important;
}

.ww_100_res2 {
  width: 100% !important;
}

.show_slide_menu .menu>li .sub-menu {
  margin-left: 0px;
  padding-left: 0px;
  list-style: none;
  /* padding-left: 25px; */
  display: none;
  background-color: unset;
}

.menu_desktop .sub-menu>li>a {
  display: block;
  outline: none;
  text-decoration: none;
  font-size: 14px;
}

.show_slide_menu.active .menu>li .sub-menu {
  background-color: #eee;
  /* border-top: 2px solid #b2b2b2;
    border-right: 2px solid #b2b2b2;
    border-left: 2px solid #b2b2b2; */
}

.box_sd4 {
  box-shadow: 0px 0px 4px 0px #000;
}

.show_slide_menu .menu>li .sub-menu>li>a {
  color: #777;
  text-decoration: none;
  font-size: 20px;
  display: block;
}

.show_slide_menu .current-menu-parent .current_page_item>a {
  color: #fff !important;
}

.show_slide_menu .menu>li .sub-menu>li {
  position: relative;
  /* padding-left: 15px; */
  border-bottom: 2px solid #b2b2b2;
  padding: 8px 0px;
}

.show_slide_menu .menu>li .sub-menu>li>a {
  padding-left: 25px;
}

/* .show_slide_menu .menu>li .sub-menu>li>a::before {
    position: absolute;
    left: 0;
    top: 0;
    content: "\f0da";
    font-family: "FontAwesome";
} */

/* .show_slide_menu .menu>li.current_page_item{
    position: relative;
    padding-left: 15px;
 }
 .show_slide_menu .menu>li.current_page_item>a::before{
    position: absolute;
    left: 0;
    top: 0;
    content: "\f0da";
    font-family: "FontAwesome";
 } */

.show_slide_menu .menu>li>a {
  color: #000;
  text-decoration: none;
  font-size: 24px;
}

.show_slide_menu .menu>li.menu-item-has-children>a {
  color: #000;
  text-decoration: none;
}

.water_show.active {
  position: fixed;
  top: 20px;
  right: 20px;
  transform: scale(200);
  opacity: 1;
  z-index: 99999;
}

.water_show {
  position: absolute;
  top: 0;
  right: 0;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background-color: #fff;
  background-size: 100% 100%;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: 0px 0px 7px -3px #000;
  z-index: 0;
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.show_slide_menu {
  position: fixed;
  /* background-color: #eee; */
  width: 100%;
  height: 100%;
  z-index: 999999;
  right: -100%;
  /* transition: 0.8s; */
  z-index: 999999;
  top: 0;
  opacity: 0;
}

.show_slide_menu.active {
  right: 0;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.img_person {
  position: absolute;
  bottom: 50%;
  left: 42px;
  z-index: 9999;
  width: 19%;
  transform: translateY(50%);
}

.date_text {
  font-size: 24px;
}

.main--dark {
  background-color: #000;
  color: #fff;
}

.main--light {
  background-color: #000;
  color: #fff;
}

.main--light #switch_btn {
  background-color: #000;
  color: #fff;
  border: none;
}

.main--light div {
  background-color: #f58220;
  transform: scale(1.19);
  border: 2px solid #000;
  border-radius: 50%;
  color: #fff;
}

.main--light div:nth-child(2) {
  transform: unset;
}

.main--dark div:first-child {
  transform: unset;
}

.main--dark #switch_btn {
  background-color: #f58220;
  border-radius: 50%;
  transform: scale(1.19);
  border: 2px solid #000;
  color: #fff;
}

.p_cus_calendar {
  /* padding: 10px 16px 6px 16px; */
  padding: 7px 11px 2px 11px;
}

.w_date_p {
  width: 54px !important;
}

.w_date_p2 {
  width: 40px !important;
}

.line_bottom_date {
  background-color: rgba(106, 115, 123, 0.2);
  display: flex;
  align-items: center;
  position: relative;
  height: 75px;
  overflow: hidden;
}

.date_abso {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(90deg, rgb(255, 130, 0) 0%, rgb(255, 118, 151) 100%);
  padding: 0 20px 0 20px;
  height: 100%;
  white-space: nowrap;
  border-radius: 0px 0 35px 0px;
}

.date_abso_text {
  font-size: 24px;
  color: #F48120;
  font-weight: 600;
  padding-left: 20px;
  flex: 1;
  text-align: left !important;
  align-self: center;
}

.date_abso_text2 {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 136px;
  font-size: 21px;
  color: #006666;
  font-weight: 600;
}

/* ปรับสเกลย่อขนาดพื้นที่วันที่ใน popup ให้สวยงามตามสัดส่วนกล่องเล็ก */
.dth-fc-popup .line_bottom_date {
  height: 39px !important;
}

.dth-fc-popup .date_abso {
  font-size: 20px !important;
  padding: 0 12px 0 12px !important;
  border-radius: 0px 0 18px 0px !important;
}

.dth-fc-popup .date_abso_text {
  font-size: 16px !important;
  padding-left: 10px !important;
}

.name_univer {
  font-size: 32px;
}

.title_yt {
  font-size: 17px;
}

.fs20 {
  font-size: 20px;
}

.change_calendar.active>.sp_icon_1 {
  display: none;
}

.change_calendar>.sp_icon_2 {
  display: none;
}

.change_calendar.active>.sp_icon_2 {
  display: block;
}

.btn_searchs {
  max-height: 30px;
  height: 30px;
}

.text-copy-right {
  font-size: 20px;
}

.fs_icon_f {
  font-size: 12px;
}

.icon_select {
  position: relative;
}

.icon_select::after {
  content: "\f0d7";
  font-family: "FontAwesome";
  position: absolute;
  right: 10px;
  top: 7px;
  z-index: 999;
  color: #fff;
  pointer-events: none;
}

.date_slide {
  flex: 1 0 100%;
}

.dth-fc-popup {
  position: absolute;
  top: 0;
  left: 0;
  width: 250px;
  height: auto;
  padding: 0;
  transform: translate(-25%, calc(-100% - 15px));
}

.dth-fc-popup .hover_ac {
  border-radius: 5px;
  padding: 0;
  background-color: #fff;
  color: #000;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
}

.dth-fc-popup-container {
  position: relative;
}

.opcity-0 {
  opacity: 0;
}

.ww_0 {
  height: 0px;
}

.dth-fc-popup-container:after {
  content: "";
  position: absolute;
  left: calc(50% - 7px);
  bottom: -7px;
  width: 15px;
  height: 15px;
  box-shadow: 4px 4px 7px 0 rgba(0, 0, 0, 0.05);
  background-color: #fff;
  transform: rotate(45deg);
}

.pt_fold {
  padding-top: 15px;
}

.custom_flex_wrap {
  flex-wrap: wrap;
}

.overlay2 {
  opacity: 0;
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  font-size: 60px;
  background-color: #00000010;
  z-index: 9999;
  color: #F48120;
}

.overlay2 i {
  animation-name: loadingoverlay_animation__rotate_right;
  animation-duration: 2000ms;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.color_f58220,
a.color_f58220,
button.color_f58220 {
  color: #f58220;
}

.color_000,
a.color_000,
button.color_000 {
  color: #000;
}

.color_fff,
a.color_fff,
button.color_fff {
  color: #fff;
}

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

.font-18 {
  font-size: 18px;
  line-height: normal;
}

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

.font-22 {
  font-size: 22px;
  line-height: normal;
}

.font-24 {
  font-size: 24px;
  line-height: normal;
}

.font-26 {
  font-size: 26px;
  line-height: normal;
}

.font-28 {
  font-size: 28px;
  line-height: normal;
}

.font-30 {
  font-size: 30px;
  line-height: normal;
}

.font-32 {
  font-size: 32px;
  line-height: normal;
}

.font-34 {
  font-size: 34px;
  line-height: normal;
}

.font-36 {
  font-size: 36px;
  line-height: normal;
}

.font-38 {
  font-size: 38px;
  line-height: normal;
}

.font-40 {
  font-size: 40px;
  line-height: normal;
}

.font-50 {
  font-size: 50px;
  line-height: normal;
}

.font-60 {
  font-size: 60px;
  line-height: normal;
}

.font-70 {
  font-size: 70px;
  line-height: normal;
}

.font-80 {
  font-size: 80px;
  line-height: normal;
}

.font-90 {
  font-size: 90px;
  line-height: normal;
}

.font-100 {
  font-size: 100px;
  line-height: normal;
}

.font-weight-bold {
  font-weight: 700;
}

.text_line_1 {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

.box_sha_3 {
  box-shadow: 0px 0px 0px 3px #000 inset;
}

.set_ul dl,
.set_ul ol,
.set_ul ul {
  margin-left: 0;
}

.site a {
  outline: none;
  text-decoration: none;
  /* word-break: break-all; */
}

.menuparent_active,
.menuparent_list:hover {
  background-color: #f58220;
  background-image: url(../images/bg_menu_active_zxc213.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.menuparent_active a,
.menuparent_list:hover a {
  color: #fff;
}

.menuparent_list {
  position: relative;
  z-index: 1;
}

.click-page-menu-main {
  display: none;
  position: absolute;
  right: 0;
  top: 0;
  padding: 10px;
  width: 80px;
  height: 100%;
  background-color: #f1aa6e;
  color: #fff;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0px -1px 0px 0px #f58220 inset;
}

@media (max-width: 991px) {
  .menuparent_active .click-page-menu-main {
    display: flex;
  }

  .menuparent_list {
    height: 0 !important;
    opacity: 0;
    background-color: #f1aa6e;
    color: #000;
    box-shadow: 0px -1px 0px 0px #f58220 inset;
  }

  .menuparent_list.menuparent_active {
    z-index: 2;
    /* background-color: #f58220; */
    background-image: url(../images/bg_menu_active_zxc213.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #fff;
  }

  .page-menu-main.active .menuparent_list,
  .menuparent_list.menuparent_active {
    height: auto !important;
    opacity: 1;
    animation: slideInDown;
    /* animation: fadeInUp; */
    animation-duration: 0.1s;
  }
}

@media (min-width: 320px) {
  .div_youtube>iframe {
    height: 140px !important;
  }
}

@media (min-width: 375px) {
  .btn_per {
    font-size: 17px;
  }

  .fs_titledc {
    font-size: 26px;
  }

  .fs_textd {
    font-size: 36px;
  }

  .arrow_d {
  }

  .date_abso_text {
    font-size: 26px;
  }

  .date_abso_text2 {
    font-size: 26px;
  }

  .date_abso_text2 {
    left: 167px;
    font-size: 26px;
  }

  .fs_icon_f {
    font-size: 18px;
  }

  .f_footer {
    font-size: 24px;
  }

  .txxt_page {
    font-size: 20px;
  }

  .current-date {
    font-size: 20px;
  }

  .name_faculty {
    font-size: 52px;
  }

  .img_shodow_res3 {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
    box-shadow: 0px 0px 9px -4px #000;
    overflow: hidden;
  }

  .pt_fold {
    padding-top: unset;
  }

  .d-flex-fold {
    display: flex;
  }

  .custom_dropdown_declare {
    width: 276px;
  }

  .fs_22 {
    font-size: 22px;
  }

  .fs_name_page {
    font-size: 22px;
  }

  .pomove {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    line-height: 20px;
  }

  .div_youtube>iframe {
    height: 170px !important;
  }

  .ab_so {
    font-size: 35px;
  }

  .ab_th2 {
    font-size: 30px;
  }

  .ab_th {
    font-size: 26px;
  }
}

@media (min-width: 476px) {
  .custom_flex_wrap {
    flex-wrap: nowrap;
  }

  .bg_footer_menu ul.menu>li>ul {
    grid-template-rows: unset;
    grid-template-columns: auto auto;
    text-align: start;
  }
}

@media (min-width: 576px) {
  .text_absolute2 {
    font-size: 24px;
  }

  .text_dean {
    font-size: 24px;
  }

  .fs-long {
    font-size: 30px;
  }

  .arrow_d {
  }

  .show .dropdown .dropdown-menu {
    min-width: 5rem;
  }

  .ww_swip_menu {
    width: 283px;
  }

  .ww_269 {
    width: 259px;
  }

  .icon_select::after {
    right: 20px;
  }

  .font-title-sec {
    font-size: 45px;
  }

  .btn_per {
    font-size: 20px;
  }

  .btn_per2 {
    font-size: 20px;
  }

  .fs_60 {
    font-size: 40px;
  }

  .ww_50s {
    width: 50%;
  }

  .line_slash {
    display: block;
  }

  .po_ab_faculty {
    font-size: 30px;
  }

  .banner_3 {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
  }

  /* .bg_footer_menu ul.menu>li>ul {
        grid-template-rows: auto auto;
        grid-template-columns: unset;
    } */
  .img_small_res {
    width: 81px;
  }

  .img_shodow_res2 {
    border-top-left-radius: unset;
    border-bottom-left-radius: unset;
    box-shadow: 0px 0px 9px -4px #000;
    overflow: hidden;
  }

  .ww_res75 {
    width: 75%;
  }

  .po_ab_service {
    font-size: 29px;
  }

  .bg_cover_right_res {
    background-position: right;
  }

  .custom_dropdown_news {
    width: 90%;
  }

  .custom_dropdown_declare {
    width: 90%;
  }

  .fs_ban_orange {
    color: #fff;
    font-size: 25px;
  }

  .fs_vision {
    font-size: 24px;
  }

  .bg_footer_menu ul.menu>li {
    margin: 10px 10px;
  }

  .btn_tax {
    font-size: 22px;
  }

  .date_text {
    font-size: 24px;
  }

  .btn_readmore {
    font-size: 19px;
  }

  /* .btn_readmore_slide{
        font-size: 19px;
    } */

  .title_detail {
    font-size: 28px;
  }

  .absolute_text {
    position: absolute;
    bottom: 7px;
    right: 26px;
    color: #ffff;
    font-weight: 500;
    font-size: 46px;
  }

  /* .for_slide .ls-bottom-slidebuttons {
        position: relative;
        top: 69px;
    } */

  .line_o {
    width: 89px;
    height: 6px;
  }

  .ww_choose_type {
    width: 100%;
  }

  /* .ww_269_full {
        width: 100%;
    } */

  .custom_dropdown_gall {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .fs-long {
    font-size: 35px;
  }

  .overflowx {
    overflow-x: unset;
  }

  .th_border {
    font-size: 17px;
  }

  .td_border {
    font-size: 26px;
  }

  .div_img70 img {
    width: 80%;
  }

  .fs_title_dec2 {
    font-size: 28px;
  }

  .for_slide .ls-bottom-slidebuttons {
    position: relative;
    top: 75px;
  }

  .ww_33 {
    width: 33%;
  }

  .ww_document {
    /* width: 100px; */
    height: 159.45px;
  }

  .ww_news {
    height: 160px;
    background-size: cover;
  }

  .po_ab_faculty {
    font-size: 22px;
  }

  .ww_100_res2 {
    width: 33.33333333% !important;
  }

  .set_ww300>div {
    max-width: unset;
  }

  .fs_dis_title {
    font-size: 40px;
  }

  .fs_content_degree {
    font-size: 25px;
  }

  .custom_dropdown_news {
    width: 100%;
  }

  .custom_dropdown {
    width: 100%;
  }

  .fs_service24 {
    font-size: 24px;
  }

  .fs_voic {
    color: #6a737b;
    font-size: 60px;
    font-weight: 600;
  }

  .fs_voic_c {
    font-size: 42px;
    color: #383c3f;
  }

  .bg_cover_right {
    background-position: top right;
    background-repeat: no-repeat;
    background-size: contain;
  }

  .fs_textd {
    font-size: 60px;
  }

  .fs_title_tt {
    font-size: 30px;
  }

  .dean_hover>div {
    max-height: unset;
  }

  /* .for_slide .ls-bottom-slidebuttons {
        position: relative;
        top: -9px;
    } */

  .absolute_text {
    font-size: 36px;
  }

  .date_slide {
    flex: unset;
  }

  /* .text_box_calendar {
        font-size: 29px;
    } */
  .div_youtube>iframe {
    height: 133px !important;
  }

  .img_person {
    width: 64px;
    left: 34px;
  }

  .swip_back {
    left: -18px;
  }

    .swip_back_calendar {
    left: -18px;
  }

  .swip_next {
    right: -18px;
  }

   .swip_next_calendar {
    right: -18px;
  }

  .name_faculty {
    font-size: 59px;
  }

  .name_univer {
    font-size: 41px;
  }

  .fsx_label {
    font-size: 20px;
  }

  .fs_year_big {
    font-size: 60px;
  }

  .ww_icon_s {
    width: 100%;
  }

  .fs_degree_title {
    font-size: 25px;
  }
  .swip_back_calendar,
  .swip_next_calendar {
    top: 50%;
  }

  .fs_lighter {
    font-size: 21px;
  }

  .ab_so {
    font-size: 26px;
  }

  .ab_th {
    font-size: 20px;
  }

  .ab_th2 {
    font-size: 26px;
  }
}

@media (min-width: 1441px) {
  .ww_document {
    height: 201.77px;
  }

  .ww_news {
    height: 163px;
  }
}

@media (min-width: 992px) {
  .menuparent_list::after {
    position: absolute;
    content: "";
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background-color: #f5822080;
  }

  .menuparent_list:last-child:after {
    content: unset;
  }

  .th_border {
    font-size: 20px;
  }

  .bg_strip_color .child_striped {
    font-size: 30px;
  }

  .fs_60 {
    font-size: 60px;
  }

  .fs_24 {
    font-size: 24px;
  }

  .btn_gray {
    left: 9px;
    top: 55%;
  }

  .font_link_work2 {
    font-size: 22px;
  }

  .logo_webnew {
    width: 14px !important;
    top: 0px;
  }

  .for_slide .ls-bottom-slidebuttons {
    top: 19px;
  }

  .po_ab_faculty {
    font-size: 30px;
  }

  .banner_3 {
    width: unset;
  }

  .bg_footer_menu ul.menu>li>ul {
    grid-template-columns: unset;
    grid-template-rows: auto auto;
  }

  .fs_research_c {
    font-size: 28px;
  }

  .fs_content {
    font-size: 24px;
  }

  .fs_title_content {
    font-size: 28px;
  }

  .bg_contain_res {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: unset;
  }

  .move_res_relative {
    position: unset;
    top: unset;
  }

  .bg_res_fff {
    background-color: unset;
  }

  .arrow_d {
  }

  .fs_36 {
    font-size: 36px;
  }

  .fs_vision {
    font-size: 32px;
  }

  /* .text_absolute2 {
        font-size: 24px;
    } */

  /* .small_text {
        font-size: 20px;
    } */

  .fs_base_text {
    font-size: 19px;
  }

  .font_link_post {
    font-size: 26px;
  }

  .font_link_woek {
    font-size: 27px;
  }

  .font_back_news {
    font-size: 26px;
  }

  .font-detail {
    font-size: 24px;
  }

  .font-detail_s {
    font-size: 28px;
  }

  .ww_lg100 {
    width: 100%;
  }

  .ww_map {
    width: 100%;
    height: 240px;
  }

  .ww_imf {
    width: 333px;
  }

  .btn_tax_slider {
    color: #fff !important;
    cursor: pointer;
    text-decoration: none;
    font-size: 30px;
  }

  .div_youtube>iframe {
    height: 174px !important;
  }

  .div_youtube {
    position: relative;
    top: -38px;
  }

  .bordery10 {
    border-top-left-radius: 10px;
    border-top-right-radius: unset;
    border-bottom-left-radius: 10px;
  }

  .btn_searchs {
    width: 149px;
  }

  .bg_footer_menu ul.menu {
    flex-direction: row;
  }

  .move_relative {
    bottom: -179px;
  }

  .ab_move_bar {
    position: relative;
    top: -105px;
    margin-bottom: -105px;
    z-index: 999;
  }

  .img_person {
    width: 56px;
    left: 31px;
  }

  /* .show_slide_menu {
        display: none;
    } */

  .btn_tax_page {
    font-size: 20px;
  }

  .name_faculty {
    font-size: 68px;
  }

  .name_univer {
    font-size: 47px;
  }

  .title_detail {
    font-size: 22px;
  }

  .btn_readmore {
    background-color: #707070;
    color: #fff !important;
    font-size: 25px;
    text-decoration: none;
  }
  
  .crop-calendar .fc .fc-col-header-cell-cushion,
  .crop-calendar .fc .fc-daygrid-day-number {
    text-decoration: none;
    font-size: 20px;
  }

  .bg_opacity_groub {
    margin-top: -192px;
  }

  .absolute_text {
    position: absolute;
    bottom: 2px;
    right: 19px;
    color: #ffff;
    font-weight: 500;
    font-size: 32px;
  }

  .fs_year_big {
    font-size: 99px;
  }

  .fs_dp {
    font-size: 44px;
  }

  .img_shoedow_child:nth-child(2n + 1) {
    border-radius: 10px;
    box-shadow: 0px 0px 5px -2px #000;
  }

  .fs_dis_title {
    font-size: 50px;
  }

  .w_img_jour {
    width: 100%;
  }

  .fs_education {
    font-size: 23px;
  }

  .overflow_responsive {
    overflow-x: unset;
  }

  .fs-long {
    font-size: 40px;
  }
}

@media (min-width: 1200px) {
  .bg_footer_menu ul.menu>li>a {
    font-weight: 700;
  }

  .bg_footer_menu ul.menu>li>ul>li>a {
    font-size: 21px;
    font-weight: 700;
  }

  .menu_desktop .sub-menu>li>a {
    font-size: 16px;
  }

  .font-xl-16 {
    font-size: 16px;
  }

  .font-xl-18 {
    font-size: 18px;
  }

  .font-xl-20 {
    font-size: 20px;
  }

  .font-xl-22 {
    font-size: 22px;
  }

  .font-xl-24 {
    font-size: 24px;
  }

  .font-xl-26 {
    font-size: 26px;
  }

  .font-xl-28 {
    font-size: 28px;
  }

  .font-xl-30 {
    font-size: 30px;
  }

  .font-xl-32 {
    font-size: 32px;
  }

  .font-xl-34 {
    font-size: 34px;
  }

  .font-xl-36 {
    font-size: 36px;
  }

  .font-xl-38 {
    font-size: 38px;
  }

  .font-xl-40 {
    font-size: 40px;
  }

  .font-xl-50 {
    font-size: 50px;
  }

  .font-xl-60 {
    font-size: 60px;
  }

  .font-xl-70 {
    font-size: 70px;
  }

  .font-xl-80 {
    font-size: 80px;
  }

  .font-xl-90 {
    font-size: 90px;
  }

  .font-xl-100 {
    font-size: 100px;
  }

  .fs-long {
    font-size: 45px;
  }

  .is_mobile {
    display: none;
  }

  .btn_gray {
    left: 22px;
    top: 55%;
  }

  .fs_education {
    font-size: 26px;
  }

  .for_slide .ls-bottom-slidebuttons {
    top: 7px;
  }

  .po_ab_faculty {
    font-size: 36px;
  }

  .bg_footer_menu ul.menu>li>ul {
    grid-template-columns: auto auto;
    grid-template-rows: unset;
  }

  .fs_dis_title {
    font-size: 55px;
  }

  .fs_content_degree {
    font-size: 28px;
  }

  .btn_per {
    font-size: 19px;
  }

  .btn_per2 {
    font-size: 19px;
  }

  /* .fs_content {
        font-size: 28px;
    } */

  /* .fs_title_content {
        font-size: 32px;
    } */

  .font-detail-none {
    font-size: 17px;
  }

  .fs_voic_c {
    font-size: 35px;
  }

  .pomove {
    line-height: 17px;
  }

  .fs_name_page {
    font-size: 22px;
    font-weight: 600;
  }

  .fs_22 {
    font-size: 18px;
  }

  .fs_title_tt {
    font-size: 32px;
  }

  .absolute_text {
    font-size: 36px;
  }

  .fs_base_text>div>ul>li.menu-item-has-children::after {
    top: -2px;
  }

  .ww_imf {
    width: 404px;
  }

  .ab_move_bar {
    top: -115px;
    margin-bottom: -115px;
  }

  .txxt_page {
    color: #a3a3a2;
    font-weight: 500;
    font-size: 24px;
  }

  .move_relative {
    bottom: -207px;
  }

  .title_yt {
    font-size: 20px;
  }

  .btn_tax_page {
    font-size: 28px;
  }

  .title_detail {
    font-size: 28px;
  }

  .img_person {
    width: 67px;
    left: 37px;
  }

  .menu_desktop>div>div>ul>li>a {
    font-size: 16px;
  }

  /* .fs_base_text {
        font-size: 20px;
    } */

  .bg_opacity_groub {
    margin-top: -221px;
  }

  .name_faculty {
    font-size: 88px;
  }

  .name_univer {
    font-size: 61px;
  }

  .div_youtube>iframe {
    height: 213px !important;
  }

  .date_abso_text {
    font-size: 30px;
  }

  .date_abso_text2 {
    font-size: 30px;
  }

  .text_box_calendar {
    font-size: 22px;
  }

  /* .fs_base_text>div>ul>li.menu-item-has-children>ul>li::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 1px;
        box-shadow: 1px 1px 10px 1px #6a737b;
    } */
  .fs_base_text>div>ul>li.menu-item-has-children>ul>li::after {
    /* top: 0px; */
  }

  .fs_base_text>div>ul>li.menu-item-has-children>ul>li:first-child:after {
    /* top: 8px; */
  }

  .move_conn {
    margin-bottom: -248px;
  }

  .move_conns {
    margin-bottom: -200px;
  }

  .fs_titledc {
    font-size: 28px;
  }

  .fs_degree_title {
    font-size: 28px;
  }

  .btn_searchs {
    width: 253px;
  }
}

@media (min-width: 1400px) {
  .th_border {
    font-size: 23px;
  }

  .fs-long {
    font-size: 60px;
  }

  .menu_desktop>div>div>ul>li:last-child:hover ul {
    /* left: 20%; */
    /* left: -186%; */
  }

  .col-20 {
    flex: 0 0 auto;
    width: 20% !important;
  }

  .text_absolute {
    font-size: 28px;
  }

  .fs_base_text>div>ul>li.menu-item-has-children::after {
    top: 0px;
  }

  .fs_education {
    font-size: 30px;
  }

  .for_slide .ls-bottom-slidebuttons {
    top: -20px;
  }

  .po_ab_faculty {
    font-size: 40px;
  }

  .po_ab_service {
    font-size: 38px;
  }

  .fs_text_eservice {
    font-size: 27px;
  }

  .fs_dis_title {
    font-size: 60px;
  }

  .btn_per {
    font-size: 21px;
  }

  .btn_per2 {
    font-size: 21px;
  }

  .fs_titledc {
    font-size: 28px;
  }

  .fs_degree_title {
    font-size: 28px;
  }

  .fs_iconpre {
    font-size: 59px;
    color: #e50000;
  }

  .font-detail-none {
    font-size: 20px;
  }

  .fs_dp {
    font-size: 60px;
  }

  .fs_22 {
    font-size: 22px;
  }

  .pomove {
    line-height: 23px;
  }

  .fs_name_page {
    font-size: 24px;
  }

  .fs_voic_c {
    font-size: 42px;
  }

  .fs_ptg {
    font-size: 25px;
  }

  .fs_base_text>div>ul>li.menu-item-has-children>ul>li::after {
    /* top: 5px; */
  }

  .fs_base_text>div>ul>li.menu-item-has-children>ul>li:first-child:after {
    /* top: 15px; */
  }

  .ww_imf {
    width: 442px;
  }

  .ab_move_bar {
    top: -125px;
    margin-bottom: -125px;
  }

  .move_relative {
    bottom: -227px;
  }

  .title_yt {
    font-size: 30px;
  }

  .btn_searchs {
    width: 196px;
  }

  .btn_tax_page {
    font-size: 30px;
  }

  .ab_so {
    font-size: 40px;
  }

  .ab_th {
    font-size: 28px;
  }

  .ab_th2 {
    font-size: 34px;
  }

  .img_person {
    width: 79px;
    left: 42px;
  }

  .name_faculty {
    font-size: 100px;
  }

  .name_univer {
    font-size: 69px;
  }

  .fs_base_text {
    font-size: 23px;
  }

  .menu_desktop>div>div>ul>li>a {
    font-size: 18px;
  }

  .menu_desktop .sub-menu>li>a {
    font-size: 18px;
  }


  .menu_desktop>div>div>ul>li {
    /* margin: 0 15px; */
    padding: 0 15px 10px;
  }

  .div_youtube>iframe {
    height: 251px !important;
  }

    .swip_back_calendar,
  .swip_next_calendar {
    top: 50%;
  }

  /* 
    .bg_opacity_groub {
        margin-top: -170px;
    } */

  /* .swip_back {
        left: -50px;
    } */

  /* .swip_next {
        right: -50px;
    } */
}

@media (min-width: 1600px) {
  .menu_desktop .sub-menu>li>a {
    font-size: 20px;
  }

  .menu_desktop>div>div>ul>li>a {
    font-size: 20px;
  }

  .btn_per {
    font-size: 21px;
  }

    .swip_back_calendar,
  .swip_next_calendar {
    top: 50%;
  }

  .fs_ban_orange {
    color: #fff;
    font-size: 32px;
  }

  .h120 {
    height: 140px;
  }

  .fs_ptg {
    font-size: 25px;
  }

  .title_yt {
    font-size: 38px;
  }

  .btn_searchs {
    width: 300px;
  }

  .menu_desktop>div>div>ul>li {
    /* margin: 0 23px; */
    padding: 0 15px 10px;
  }

  .name_faculty {
    font-size: 123px;
  }

  .name_univer {
    font-size: 85px;
  }

  .swip_back {
    left: -80px;
  }

    .swip_back_calendar {
    left: -80px;
  }

  .swip_next {
    right: -80px;
  }
  
  .swip_next_calendar {
    right: -80px;
  }


  .div_youtube>iframe {
    height: 287px !important;
  }

  .fs_year_big {
    font-size: 119px;
  }
}

@media (min-width: 1800px) {
  .menu_desktop>div>div>ul>li:last-child:hover ul {
    /* left: 20%; */
    /* left: -155%; */
  }

  .fs_base_text>div>ul>li.menu-item-has-children::after {
    top: 2px;
  }

  .fs_base_text {
    font-size: 26px;
  }

  .menu_desktop>div>div>ul>li>a {
    font-size: 26px;
  }

  .menu_desktop .sub-menu>li>a {
    font-size: 26px;
  }

  .pomove {
    line-height: 28px;
  }

  .fs_name_page {
    font-size: 30px;
  }

  .fs_22 {
    font-size: 26px;
  }

  .div_youtube>iframe {
    height: 334px !important;
  }
}

@media (min-width: 1900px) {
  .bg_footer_menu ul.menu>li>ul>li>a {
    font-size: 23px;
  }

  .div_youtube>iframe {
    height: 360px !important;
  }
}

.text-ellipsis {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

img.img_div_news {
  height: 225px !important;
  width: 520px;
}

.position-relative.math_height_1 {
  height: 350px !important;
}

img.opacity-0.w-100.max-wbox {
  max-height: 370px !important;
  background-size: cover;
  background-repeat: no-repeat;
  object-fit: cover;
}

/* .d-flex.align-items-center {
    line-height: 25px;
} */

.bg_dd.zxczxc {
  display: flex;
  align-items: center;
  background-color: #000;
  border-radius: 50%;
  height: 40px;
  width: 42px;
  justify-content: center;
  color: #fff;
  font-size: x-large;
}

@media (max-width: 575px) {
  .d-flex.align-items-center {
    justify-content: center;
  }

  .d-flex.align-items-center.fs_ptg.mb-2 {
    justify-content: unset !important;
  }
}

/* .fs_ptg {
    line-height: 20px;
} */

@media (max-width: 767px) {
  .s_img {
    text-align: center;
  }
}

/* .bg_fff{
    width: 100%;
} */

.display-2 {
  text-align: center;
}

.btn_per {
  font-weight: 600;
}

.cky-title {
  font-size: 24px !important;
}

.cky-notice-des *,
.cky-preference-content-wrapper *,
.cky-accordion-header-des *,
.cky-gpc-wrapper .cky-gpc-desc * {
  font-size: 18px !important;
}

.cky-btn {
  font-size: 18px !important;
}

.cky-revisit-bottom-left {
  display: none !important;
}

.text-title-research {
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  line-height: 25px;
  height: 150px;
}

.title-sdgs {
  font-size: 32px;
  font-weight: 600;
  color: #fff;
}

.title-name-sdgs {
  font-size: 70px;
  font-weight: 900;
  color: #fff;
}

.discription-sdgs {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.text-number-sdgs {
  font-size: 12rem;
  font-weight: 900;
  color: rgb(255 255 255 / 70%);
}

/* 2025 Coding */

:root {
  --gutter: 2.5rem;
}

@media (max-width: 999px) {
  :root {
    --gutter: 1.5rem;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 1rem;
  }
}

:root {
  --font-size-24: 28px;
  --font-size-56: 56px;
  --font-size-34: 38px;
  --font-size-20: 25px;
  --font-size-16: 25px;
  --font-size-28: 26px;
  --font-size-76: 80px;
  --font-size-38: 38px;
  --font-size-19: 23px;
  --font-size-13: 17px;
  --font-size-27: 31px;
  --main-padd: 2.5rem;
  --tp_content_desc: 18px;
  --wia_padd: 1.5rem;
  --default-title-size: 40px;
  --default-title-size2: 26px;
  --default-desc-size: 20px;
  --default-gap: 2rem;
}

@media (max-width: 1200px) {
  :root {
    --font-size-24: 21px;
    --font-size-56: 40px;
    --font-size-34: 27px;
    --font-size-20: 19px;
    --font-size-16: 20px;
    --font-size-28: 22px;
    --font-size-76: 52px;
    --font-size-38: 40px;
    --font-size-19: 24px;
    --font-size-13: 19px;
    --font-size-27: 32px;
    --tp_content_desc: 12px;
    --default-title-size: 35px;
    --default-title-size2: 24px;
    --default-desc-size: 18px;
  }
}

@media (max-width: 992px) {
  :root {
    --font-size-24: 15px;
    --font-size-56: 30px;
    --font-size-34: 24px;
    --font-size-20: 15px;
    --font-size-16: 16px;
    --font-size-28: 17px;
    --font-size-76: 38px;
    --font-size-38: 27px;
    --font-size-19: 18px;
    --font-size-13: 14px;
    --font-size-27: 24px;
    --main-padd: 1.5rem;
    --tp_content_desc: 18px;
    --wia_padd: 1rem;
    --default-title-size: 30px;
    --default-title-size2: 20px;
    --default-desc-size: 16px;
    --default-gap: 0.5rem;
  }

  .default_temp_table table {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 767px) {
  :root {
    --font-size-24: 22px;
    --font-size-56: 32px;
    --font-size-34: 28px;
    --font-size-20: 22px;
    --font-size-16: 20px;
    --font-size-28: 24px;
    --font-size-76: 56px;
    --font-size-38: 28px;
    --font-size-19: 16px;
    --font-size-13: 14px;
    --font-size-27: 22px;
    --main-padd: 1rem;
    --default-title-size: 28px;
    --default-title-size2: 20px;
    --default-desc-size: 16px;
  }
}

@media (max-width: 600px) {
  :root {
    --font-size-24: 14px;
    --font-size-56: 28px;
    --font-size-34: 22px;
    --font-size-20: 16px;
    --font-size-16: 20px;
    --font-size-28: 20px;
    --font-size-76: 41px;
    --font-size-38: 24px;
    --font-size-19: 14px;
    --font-size-13: 14px;
    --font-size-27: 20px;
    --default-title-size: 24px;
    --default-title-size2: 18px;
  }
}

@media (max-width: 375px) {
  :root {
    --font-size-24: 14px;
    --font-size-56: 28px;
    --font-size-34: 20px;
    --font-size-20: 14px;
    --font-size-16: 16px;
    --font-size-28: 16px;
    --font-size-76: 39px;
    --font-size-38: 24px;
    --font-size-19: 14px;
    --font-size-13: 14px;
    --font-size-27: 20px;
    --default-title-size: 22px;
  }
}

@media (max-width: 320px) {
  :root {
    --font-size-24: 12px;
    --font-size-56: 21px;
    --font-size-34: 18px;
    --font-size-20: 13px;
    --font-size-16: 16px;
    --font-size-28: 14px;
    --font-size-76: 31px;
    --font-size-38: 22px;
    --font-size-19: 14px;
    --font-size-13: 14px;
    --font-size-27: 20px;
  }
}

.default_temp_title {
  font-size: var(--default-title-size);
  color: #000;
}

.default_temp_title2 {
  font-size: var(--default-title-size2);
  color: #000;
}

.default_temp_table thead {
  border: 2px solid #000;
  font-size: var(--default-desc-size);
  text-align: center;
}

.temp_table_main thead {
  border: 2px solid #000;
  font-size: var(--default-title-size2);
  text-align: center;
}

.default_temp_table thead th {
  padding: 0.5rem 0.5rem;
  border: 2px solid #000;
  color: #000;
}

.default_temp_table tbody {
  font-size: var(--default-desc-size);
  color: #000;
}

.default_temp_table tbody td {
  padding: 0.5rem 0.5rem;
}

.default_temp_table thead,
.default_temp_table tbody {
  background-color: #f4f4f4;
}

.text_align_start {
  text-align: start;
}

.default_temp_column {
  gap: var(--default-gap);
}

.default_temp_desc {
  font-size: var(--default-desc-size);
  color: #000;
}

.default_btn a {
  background-color: #00a099;
  border-radius: 0;
  font-size: var(--default-desc-size);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.default_btn a:hover {
  background-color: #006660;
}

.hr_line {
  opacity: 1;
  width: 90px;
  margin-inline: auto;
  border: 0;
  height: 2px !important;
}

.font_color_mint {
  color: #00a19a;
}

.font_color_91E2C9 {
  color: #91e2c9;
}

.font_color_teal {
  color: #006666;
}

.a_link_color a {
  color: #006666;
  text-decoration: underline;
}

.default_a_color a {
  color: #006666;
  text-decoration: none;
}

.font_color_red {
  color: #cf2e2e;
}

.font_color_orange {
  color: #e07000;
}

.font_color_orange2 {
  color: #fdac34;
}

.font_color_white {
  color: #fff;
}

/* Padding */
.padd_y {
  padding-top: var(--main-padd);
  padding-bottom: var(--main-padd);
}

.padd_x {
  padding-left: var(--main-padd);
  padding-right: var(--main-padd);
}

.padd_top {
  padding-top: var(--main-padd);
}

.padd_right {
  padding-right: var(--main-padd);
}

.padd_bottom {
  padding-bottom: var(--main-padd);
}

.padd_left {
  padding-left: var(--main-padd);
}

.padd_all {
  padding: var(--main-padd);
}

/* Margin */
.marg_y {
  margin-top: var(--main-padd);
  margin-bottom: var(--main-padd);
}

.marg_top {
  margin-top: var(--main-padd);
}

.marg_right {
  margin-right: var(--main-padd);
}

.marg_bottom {
  margin-bottom: var(--main-padd);
}

.marg_left {
  margin-left: var(--main-padd);
}

.marg_all {
  margin: var(--main-padd);
}

.gutter {
  --bs-gutter-y: var(--gutter);
  --bs-gutter-x: var(--gutter);
}

.main_bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.font_md {
  font-family: "dboxmd";
}

.font_bd {
  font-family: "dboxbd";
}

/* Header */
.menu_desktop .menu-item:hover::after,
.menu_desktop .menu-item:hover>a {
  color: #FF8200;
}

.degree_home_prd {
  border: 2px solid #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.5);
}

.bg_gray {
  background-color: #707070 !important;
}

.bg_green {
  background-color: #006666;
}

.news_home_bg {
  background: linear-gradient(0deg,
      rgba(255, 200, 236, 1) 0%,
      rgba(255, 255, 255, 1) 30%);
}

.change_calendar {
  background: linear-gradient(90deg,
      rgba(0, 161, 154, 1) 0%,
      rgba(0, 207, 154, 1) 100%);
  border: 1px solid;
  border-radius: 60px;
}

.home_news_taxo_container {
  background: linear-gradient(90deg,
      rgba(0, 161, 154, 1) 0%,
      rgba(0, 207, 154, 1) 100%);
  border-radius: 5px;
  border: 1px solid #91e2c9;
  font-family: "dboxmd";
}

/*  */
.degree_main_title {
  font-size: var(--font-size-24);
}

.course_main_title {
  font-size: var(--font-size-56);
  line-height: 100%;
}

.course_row_title {
  font-size: var(--font-size-34);
}

.course_row_desc {
  font-size: var(--font-size-20);
  line-height: 120%;
}

.course_row_desc p {
  margin: 0;
}

.course_main_desc {
  font-size: var(--font-size-16);
  line-height: 100%;
}

.course_col iframe {
  width: 100%;
}

.main_major_title {
  font-size: var(--font-size-24);
}

.main_major_sub_title_en {
  font-size: var(--font-size-28);
  line-height: 100%;
  margin-bottom: 0.5rem;
}

.main_major_sub_title_th {
  font-size: var(--font-size-76);
  line-height: 85%;
}

.main_major_desc {
  font-size: var(--font-size-16);
  line-height: 110%;
}

.main_major_desc p {
  margin: 0;
}

.main_major_example_title {
  font-size: var(--font-size-28);
}

.main_major_container {
  border-radius: 20px;
}

.main_major_example_in_container {
  font-size: var(--font-size-16);
  background: #707070;
  border-radius: 50px;
  width: max-content;
  max-width: 100%;
  padding: 3px 20px;
  margin: 0.5rem 0;
  transition: background 0.5s linear;
  word-break: break-word;
  white-space: normal;
}

.main_major_example_in_container:hover {
  background: linear-gradient(90deg,
      rgba(0, 207, 154, 1) 0%,
      rgba(0, 161, 154, 1) 100%);
}

.degree_program_title {
  font-size: var(--font-size-24);
}

.degree_program_download,
.for_student_title {
  font-size: var(--font-size-38);
}

.for_student_desc,
.download_desc {
  font-size: var(--font-size-20);
}

:root {
  --for-student-border: 22px;
  --for-student-border-main: 25px;
}

.for_student_desc {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: 10px;
  border-bottom-left-radius: 0;
  border-top-left-radius: var(--for-student-border-main);
  background: linear-gradient(90deg,
      rgba(0, 207, 154, 1) 0%,
      rgba(0, 161, 154, 1) 100%);
  border: 2px solid #91e2c9;
  cursor: pointer;
  text-decoration: none;
}

.for_student_icon {
  width: 45px;
  background: #91e2c9;
  color: #006666;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 45px;
  border-top-left-radius: var(--for-student-border);
  border-bottom-right-radius: var(--for-student-border);
}

.for_student_desc:hover {
  background: #00cf9a;
}

.download_desc {
  background-color: #91e2c9;
  padding: 0 10px;
  border-radius: 10px;
  height: 49px;
  vertical-align: middle;
  display: grid;
  align-items: center;
  cursor: pointer;
  max-width: 380px;
  text-decoration: none;
  color: #006666;
}

.download_desc:visited {
  color: #006666;
}

@media (max-width: 768px) {
  .download_desc {
    width: 100%;
    max-width: 100%;
  }
}

.switch-button {
  font-size: var(--font-size-38);
}

.cs_title {
  background-color: #00a19a;
  padding: 1rem 1.5rem;
  font-size: var(--font-size-28);
  border-radius: 10px;
  margin-top: var(--main-padd);
  text-align: center;
  line-height: 100%;
}

.course_structure_desc_container {
  font-size: var(--font-size-20);
  padding-bottom: var(--main-padd);
  padding-top: 1.5rem;
}

.course_structure_desc_container p {
  margin: 0;
}

.cs_title p {
  margin: 0;
}

.cs_title strong {
  font-family: "dboxmd";
  font-size: var(--font-size-20);
  font-weight: 500;
}

.button-container {
  display: flex;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.switch-button {
  flex: 1;
  border: none;
  text-align: start;
  background: #006666;
  opacity: 0.7;
  cursor: pointer;
  transition:
    background 0.3s,
    opacity 0.3s;
  color: white;
  padding-left: 0;
  padding-right: 0;
}

.switch-button.active {
  background: rgba(0, 102, 102, 0);
  opacity: 1;
}

.content {
  margin-top: 2rem;
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  min-height: 80px;
}

.content.fade-out {
  opacity: 0;
}

/* .course_structure_img_container {
    background: linear-gradient(0, rgba(11, 129, 132, 1) 0%, rgba(0, 161, 154, 1) 58%, rgba(0, 207, 154, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 240px;
    width: 240px;
    border-radius: 50%;
} */

.course_structure_title_container {
  display: flex;
  justify-content: center;
  color: #fff;
}

.wia_container {
  padding: var(--main-padd);
  background: linear-gradient(90deg,
      rgba(0, 160, 154, 1) 0%,
      rgba(23, 96, 110, 1) 100%);
}

.wia_title {
  color: #91e2c9;
  font-size: var(--font-size-28);
}

.wia_desc {
  font-size: var(--font-size-20);
  line-height: 100%;
}

.wia_desc p {
  margin-bottom: var(--wia_padd);
}

.wia_desc strong {
  font-family: "dboxbd";
  font-weight: 700;
}

.sdg_container {
  padding: var(--main-padd);
  padding-inline: 4rem;
}

@media (max-width: 1200px) {
  .sdg_container {
    padding-inline: 2rem;
  }
}

.sdg_title {
  font-size: var(--font-size-34);
  color: #006666;
  line-height: 100%;
  margin-bottom: 1.5rem;
  padding-inline: 0.5rem;
}

@media (max-width: 463px) {
  .sdg_title {
    padding-inline: 2rem;
  }
}

@media (max-width: 430px) {
  .sdg_title {
    padding-inline: 1.5rem;
  }
}

.sdg_desc {
  font-size: var(--font-size-24);
  color: #009dda;
  line-height: 120%;
  height: 100%;
  display: flex;
  align-items: center;
}

.sdg_desc_col {
  border-left: 2px solid #009dda;
}

.sdg_desc p {
  margin: 0;
}

.sdg_row {
  padding-inline: 0.5rem;
}

.sdg_btn_container {
  margin-top: 1.5rem;
}

.sdg_btn {
  background-color: #009dda;
  color: #fff;
  width: max-content;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  line-height: 100%;
  font-size: var(--font-size-19);
}

.cp_main_title {
  line-height: 100%;
  font-size: var(--font-size-24);
}

.cp_sub_title {
  font-size: var(--font-size-38);
  color: #006666;
  line-height: 100%;
}

.ric_col {
  border-left: 10px solid #00cf9a;
  padding-left: 0;
  overflow: hidden;
}

@media (max-width: 767px) {
  .ric_col {
    border-left: 0px;
  }
}

.ric_title_container {
  background-color: #006666;
  color: #fff;
  font-size: var(--font-size-24);
  text-align: center;
  padding: 0.5rem 0;
}

.ric_content_container {
  background: linear-gradient(90deg,
      rgba(0, 161, 154, 1) 0%,
      rgba(0, 207, 154, 1) 100%);
  padding-top: 1rem;
  padding-bottom: 2rem;
  padding-inline: var(--main-padd);
  position: relative;
  height: 100%;
}

.ric_content_container::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
}

.ric_rp_title {
  font-size: var(--font-size-28);
}

.cp_rp_container {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  display: flex;
  align-items: center;
  border: 0;
  border-bottom: 2px solid #636363;
  -webkit-transition: background 1s ease-out;
  -moz-transition: background 1s ease-out;
  -o-transition: background 1s ease-out;
  transition: background 1s ease-out;
}

@media (min-width: 1023px) {
  .cp_rp_container:hover {
    background: linear-gradient(90deg,
        rgba(11, 129, 132, 1) 0%,
        rgba(0, 161, 154, 1) 58%,
        rgba(0, 207, 154, 1) 100%);
    border-bottom: 2px solid transparent;
  }
}

.cp_rp_container:nth-last-child {
  border-bottom: 0;
}

.cp_rp_title_en {
  color: #fa9800;
  font-size: var(--font-size-20);
}

.cp_rp_title_th {
  font-size: var(--font-size-38);
  line-height: 100%;
}

.cp_rp_desc {
  font-size: var(--font-size-16);
}

.cp_rp_desc p {
  margin: 0;
}

.cp_rp_desc strong {
  font-family: "dboxbd";
  font-weight: 700;
}

.tp_content_desc {
  line-height: 100%;
  font-size: var(--tp_content_desc);
}

.tp_content_container {
  position: relative;
}

.tp_content_container::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  transition: background 0.3s ease;
}

@media (min-width: 1023px) {
  .tp_content_container:hover::after {
    content: "";
    background: rgba(0, 102, 102, 0.7);
  }
}

.button-container-tp {
  display: flex;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.switch-button-tp {
  flex: 1;
  font-size: var(--font-size-38);
  text-align: start;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  background-color: #006666;
  color: #fff;
  opacity: 0.7;
  padding-left: 0;
  padding-right: 0;
  line-height: 100%;
}

.switch_left {
  padding-right: 1rem;
}

.switch_right {
  padding-left: 1rem;
}

.switch-button-tp.active-tp {
  background-color: rgba(0, 0, 0, 0);
  color: #006666;
  opacity: 1;
}

.content-tp {
  padding: 1rem 0 var(--main-padd) 0;
  transition: opacity 0.3s ease;
}

.tp_main_title {
  font-size: var(--font-size-24);
  line-height: 100%;
}

.tp_main_title strong {
  font-size: var(--font-size-34);
  font-family: "dboxmd";
  font-weight: 500;
  color: #006666;
}

.fade-out-tp {
  opacity: 0;
}

.tp_title_padd {
  padding-top: 3rem;
}

.tp_desc_padd {
  padding-bottom: 3rem;
}

.tp_title {
  font-size: var(--font-size-34);
}

.tp_desc {
  font-size: var(--font-size-20);
}

.tp_desc strong {
  font-family: "dboxmd";
  font-weight: 500;
  font-size: var(--font-size-28);
}

.tp_end {
  padding-top: 0.5rem;
  font-size: var(--font-size-13);
}

/* default - full width (100%) */
.switch-button.left,
.switch-button-tp.left {
  padding-left: 16px;
  line-height: 100%;
}

.switch-button.right,
.switch-button-tp.right {
  padding-right: 16px;
  line-height: 100%;
}

#sync1 .item {
  height: 350px;
  color: #fff;
  text-align: center;
}

#sync2 .item {
  background: #c9c9c9;
  height: 90px;
  margin: 5px;
  color: #fff;
  text-align: center;
  cursor: pointer;
}

@media (max-width: 1200px) {
  #sync2 .item {
    margin: 0px;
    height: 90px;
  }
}

.sync1 .item iframe {
  height: 100%;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.sync1 .item img {
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.sync1 .item {
  overflow: hidden;
  border-radius: 10px;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s ease;
}

.sync1 .owl-stage-outer {
  border-radius: 10px;
  overflow: hidden;
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

#sync2 .item h1 {
  font-size: 18px;
}

#sync2 .current .item {
  border: 3px solid #fbb03b;
  box-sizing: border-box;
  position: relative;
}

#sync2 .current .item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.sync2 .owl-stage {
  padding-left: 0px !important;
  padding-right: 50px !important;
  transition: padding 0.3s ease;
}

.sync2.is-end .owl-stage {
  padding-left: 100px !important;
  padding-right: 0px !important;
}

@media (max-width: 1200px) {
  .sync2 .owl-stage {
    padding-left: 0px !important;
    padding-right: 50px !important;
  }

  .sync2.is-end .owl-stage {
    padding-left: 80px !important;
    padding-right: 0px !important;
  }
}

@media (max-width: 999px) {
  .sync2 .owl-stage {
    padding-left: 0px !important;
    padding-right: 50px !important;
  }

  .sync2.is-end .owl-stage {
    padding-left: 50px !important;
    padding-right: 0px !important;
  }

  #sync2 .item {
    margin: 0px;
    height: 70px;
  }
}

@media (max-width: 767px) {
  #sync1 .item {
    height: 250px;
  }

  .sync2 .owl-stage {
    padding-left: 0px !important;
    padding-right: 30px !important;
  }
}

.owl-theme .owl-nav [class*="owl-"] {
  transition: all 0.7s ease;
}

.owl-theme .owl-nav [class*="owl-"].disabled:hover {
  background-color: #d6d6d6;
}

#sync1.owl-theme {
  position: relative;
}

.video_title {
  line-height: 100%;
}

/* #sync1.owl-theme .owl-next,
#sync1.owl-theme .owl-prev {
    width: 22px;
    height: 40px;
    margin-top: -20px;
    position: absolute;
    top: 50%;
}

#sync1.owl-theme .owl-prev {
    left: 10px;
}

#sync1.owl-theme .owl-next {
    right: 10px;
} */

.sync_thumbnail {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* sm - 540px container */
@media (min-width: 576px) {

  .switch-button.left,
  .switch-button-tp.left {
    padding-left: clamp(37px, 16vw + 1px, 166px);
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: clamp(37px, 16vw + 1px, 166px);
  }
}

/* md - 720px container */
@media (min-width: 768px) {

  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 38px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 38px;
  }

  .for_student_row {
    padding-right: 1rem;
  }
}

/* lg - 960px container */
@media (min-width: 992px) {

  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 46px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 46px;
  }

  .for_student_row {
    padding-right: 5rem;
  }
}

/* xl - 1140px container */
@media (min-width: 1200px) {

  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 73px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 73px;
  }

  .for_student_row {
    padding-right: 10rem;
  }
}

/* xxl - 1320px container */
@media (min-width: 1441px) {

  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 305px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 305px;
  }
}

.hr_img {
  position: relative;
  z-index: 0;
}

.hr_img::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgb(255, 130, 0) 20%, rgb(255, 118, 151) 80%);
  border-radius: 50px;
  opacity: 1;
  z-index: 1;
}

.hr_bg {
  width: 100%;
  background: linear-gradient(90deg, rgb(255, 130, 0) 0%, rgb(255, 118, 151) 100%) !important;
  border-radius: 50px;
}

.hr_bg2 {
  width: 100%;
  background: linear-gradient(90deg, rgb(255, 130, 0) 0%, rgb(255, 118, 151) 100%) !important;
  border-radius: 50px;
}

.bg_7070 {
  background-color: #707070;
}

.ricSlidesContainer {
  overflow: hidden;
  position: relative;
  height: 530px;
}

.ricSlidesWrapper {
  transition: transform 0.6s ease-in-out;
  display: flex;
  flex-direction: column;
}

.ric-slide {
  flex: 0 0 auto;
  padding: 10px 0;
}

@media (min-width: 767px) {
  .ric-slide {
    padding: 20px 0;
  }
}

.ric-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cp_rp_container.active {
  background: linear-gradient(90deg,
      rgba(11, 129, 132, 1) 0%,
      rgba(0, 161, 154, 1) 58%,
      rgba(0, 207, 154, 1) 100%);
}

.single_desc img,
.single_desc figure {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 1rem;
}

.line_100 {
  line-height: 100%;
}

/*  */
.map-responsive {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  /* 16:9 อัตราส่วนภาพ = 9 ÷ 16 × 100 */
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .master_list {
    margin-left: 0;
  }

  .master_list li ul {
    margin-left: 0;
  }
}

.show .dropdown .dropdown-menu {
  z-index: 9999;
}

.em_a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.main_position.right {
  right: 0;
  bottom: 0;
}

.main_position.left {
  left: 0;
  bottom: 0;
}

.main_position.top_right {
  right: 0;
  top: 0;
  transform: translateX(-10%) translateY(10%);
}

.dp_img {
  right: 0;
  bottom: 0;
  transform-origin: bottom right;
}

@media (max-width: 999px) {
  .dp_img {
    transform: scale(0.7);
  }
}

@media (max-width: 767px) {
  .dp_img {
    transform: scale(0.5);
  }
}

.flex_columns {
  display: flex;
  flex-direction: column;
}

.sw_table th {
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sw_table {
  border-collapse: separate;
  border-spacing: 20px 10px;
  /* (แนวนอน, แนวตั้ง) */
}

.sw_td_content {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.sw_td_content ul {
  margin-bottom: 0;
}

.sw_td_content li {
  line-height: 100%;
  margin-bottom: 0.5rem;
}

.sw_td_content li:last-child {
  margin-bottom: 0;
}

@media (min-width: 1800px) {
  .container.home {
    max-width: 1600px;
  }

  .container.bachelor {
    max-width: 1440px;
  }

  .img_person {
    width: 100px;
  }

  .ab_so {
    font-size: 42px;
  }

  .text_box_calendar {
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 0.5rem;
  }

  .font-detail-none {
    font-size: 15px;
  }

  .logo_webnew {
    width: 9px !important;
  }

  .ab_th {
    font-size: 36px;
  }

  .ab_th2 {
    font-size: 63px;
  }

  :root {
    --font-size-24: 28px;
    --font-size-56: 60px;
    --font-size-34: 38px;
    --font-size-20: 24px;
    --font-size-16: 20px;
    --font-size-28: 32px;
    --font-size-76: 80px;
    --font-size-38: 42px;
    --font-size-19: 23px;
    --font-size-13: 17px;
    --font-size-27: 31px;
    --main-padd: 2.5rem;
    --tp_content_desc: 20px;
    --wia_padd: 1.5rem;
    --default-title-size: 40px;
    --default-title-size2: 26px;
    --default-desc-size: 20px;
    --default-gap: 2rem;
  }

  .degree_program_title {
    margin-bottom: -30px;
  }

  .sdg_desc {
    font-size: 24px;
  }

  .row-cols-main-6>* {
    flex: 0 0 auto;
    width: calc(100% / 6);
  }

  .tp_box_desc_3 {
    font-size: 24px;
  }

  .font-detail-none.border_peal_news {
    font-size: 20px;
  }
}

img.img_div_news {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* --- EXTRACTED LANGUAGE TOGGLE & FOOTER STYLES FROM REFERENCE PROJECT --- */

.site-footer {
  position: relative !important;
  z-index: 1 !important; /* Caps footer stacking context so it stays below main */
}

.bg_footer {
  background-color: rgba(0, 0, 0, 0.8);
}

/* ----------------------------- */

.switch_c1 {
  position: relative;
  right: -12px;
  top: 4px;
  font-size: 20px;
}

.switch_c2 {
  font-size: 20px;
  position: relative;
  right: -34px;
  top: 5px;
}

.switch_calendar .switch {
  position: relative;
  display: inline-block;
  width: 85px;
  height: 34px;
}

.switch_calendar .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch_calendar .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #707070;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.switch_calendar .switch .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 51px;
  bottom: 4px;
  background-color: #00a19a;
  /* -webkit-transition: .4s; */
  transition: 0.3s;
  border: 2px solid #707070;
}

.switch_calendar .switch.active .slider:before {
  left: 8px;
}

.switch_calendar .switch .slider.round {
  border-radius: 34px;
}

.switch_calendar .switch .slider.round.round:before {
  border-radius: 50%;
  transform: scale(1.7);
}

/* .switch_calendar .switch.active .slider {
    background-color: #2196F3;
}

*/

.switch_calendar .switch.active .slider {
  -webkit-box-shadow: 0 0 1px #2196f3;
  -moz-box-shadow: 0 0 1px #2196f3;
  -ms-box-shadow: 0 0 1px #2196f3;
}

.switch_calendar .switch.active .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* ---------------------------------- */
.bg_footer_menu {
  background-color: rgba(0, 0, 0, 0.6);
}

.bg_footer_menu ul.menu {
  display: flex;
  justify-content: space-around;
  list-style: none;
  color: #fff;
  flex-direction: column;
  margin-left: 0px;
  padding-left: 0px;
  margin-bottom: 0px;
}

.lang_switch .switch {
  position: relative;
  display: inline-block;
  width: 82px;
  height: 34px;
}

.lang_switch .switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.lang_switch .switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #707070;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.lang_switch .switch .slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 38px;
  left: 5px;
  bottom: 4px;
  background-color: #00a19a;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.lang_switch .switch.active .slider:before {
  left: 12px;
}

/* .lang_switch .switch.active .slider.round.round:before{
    z-index: unset;
}

*/
.lang_switch .switch .slider.round {
  border-radius: 34px;
}

.lang_switch .switch .slider.round.round:before {
  border-radius: 14px;
}

.lang_switch .switch.active .slider {
  background-color: #707070;
}

.lang_switch .switch.active .slider {
  -webkit-box-shadow: 0 0 1px #2196f3;
  -moz-box-shadow: 0 0 1px #2196f3;
  -ms-box-shadow: 0 0 1px #2196f3;
}

.lang_switch .switch.active .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* 
.bg_footer_menu ul.menu>li>ul {
    list-style: none;
    margin-left: 0px;
    padding-left: 0px;
    border-top: 2px solid;
}

*/
.bg_footer_menu ul.menu > li > ul {
  display: grid;
  grid-row-gap: 5px;
  grid-column-gap: 1rem;
  grid-template-rows: auto auto;
  list-style: none;
  margin-left: 0px;
  padding-left: 0px;
  border-top: 2px solid;
}

.bg_footer_menu ul.menu > li > ul {
  padding-top: 10px;
}

/* .bg_footer_menu ul.menu>li>ul>li:first-child {
    margin-top: 10px;
}

*/

.bg_footer_menu ul.menu > li {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 20px;
  padding: 20px 20px;
  list-style: none;
  text-align: center;
  margin-bottom: 30px;
}

*/

.bg_footer_menu ul.menu > li > a {
  color: #fff;
  text-decoration: none;
  font-size: 26px;
}

.bg_footer_menu ul.menu > li > ul > li > a {
  text-decoration: none;
  color: #b9b9b9;
  font-size: 20px;
  outline: none;
}

.bg_footer_menu ul.menu > li {
  width: -webkit-fill-available;
  margin: 10px 0px;
}

.ww_map {
  width: 100%;
  height: 220px;
  border-radius: 0px;
}

.line_footer {
  height: 2px;
  background-color: #fff;
}

.f_footer {
  font-size: 20px;
}

.txxt_page {
  color: #a3a3a2;
  font-weight: 500;
  font-size: 17px;
}

.btn_tax_slider i {
  font-size: 25px;
}

.btn_tax_slider {
  color: #fff !important;
  cursor: pointer;
  text-decoration: none;
  font-size: 25px;
}

.switch_calendar{
    flex: 1 0 50%;
}


.switch_calendar {
  margin-left: auto;
}

.main--light #switch_btn {
  background-color: #000;
  color: #fff;
  border: none;
}

.main--dark #switch_btn {
  background-color: #f58220;
  border-radius: 50%;
  transform: scale(1.19);
  border: 2px solid #000;
  color: #fff;
}

.text-copy-right {
  font-size: 20px;
}

  .f_footer {
    font-size: 24px;
  }

.txxt_page {
    font-size: 20px;
  }

.bg_footer_menu ul.menu > li > ul {
    grid-template-rows: unset;
    grid-template-columns: auto auto;
    text-align: start;
  }

/* .bg_footer_menu ul.menu>li>ul {
        grid-template-rows: auto auto;
        grid-template-columns: unset;
    }

.bg_footer_menu ul.menu > li {
    margin: 10px 10px;
  }

.bg_footer_menu ul.menu > li > ul {
    grid-template-columns: unset;
    grid-template-rows: auto auto;
  }

.ww_map {
    width: 100%;
    height: 240px;
  }

.btn_tax_slider {
    color: #fff !important;
    cursor: pointer;
    text-decoration: none;
    font-size: 30px;
  }

.bg_footer_menu ul.menu {
    flex-direction: row;
  }

@media (min-width: 1200px) {
  .bg_footer_menu ul.menu > li > a {
    font-weight: 700;
  }

.bg_footer_menu ul.menu > li > ul > li > a {
    font-size: 21px;
    font-weight: 700;
  }

.bg_footer_menu ul.menu > li > ul {
    grid-template-columns: auto auto;
    grid-template-rows: unset;
  }

.txxt_page {
    color: #a3a3a2;
    font-weight: 500;
    font-size: 24px;
  }

@media (min-width: 1900px) {
  .bg_footer_menu ul.menu > li > ul > li > a {
    font-size: 23px;
  }

.switch-button {
  font-size: var(--font-size-38);
}

.switch-button {
  flex: 1;
  border: none;
  text-align: start;
  background: #006666;
  opacity: 0.7;
  cursor: pointer;
  transition:
    background 0.3s,
    opacity 0.3s;
  color: white;
  padding-left: 0;
  padding-right: 0;
}

.switch-button.active {
  background: rgba(0, 102, 102, 0);
  opacity: 1;
}

.switch-button-tp {
  flex: 1;
  font-size: var(--font-size-38);
  text-align: start;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  background-color: #006666;
  color: #fff;
  opacity: 0.7;
  padding-left: 0;
  padding-right: 0;
  line-height: 100%;
}

.switch_left {
  padding-right: 1rem;
}

.switch_right {
  padding-left: 1rem;
}

.switch-button-tp.active-tp {
  background-color: rgba(0, 0, 0, 0);
  color: #006666;
  opacity: 1;
}

/* default - full width (100%) */
.switch-button.left,
.switch-button-tp.left {
  padding-left: 16px;
  line-height: 100%;
}

.switch-button.right,
.switch-button-tp.right {
  padding-right: 16px;
  line-height: 100%;
}

/* sm - 540px container */
@media (min-width: 576px) {
  .switch-button.left,
  .switch-button-tp.left {
    padding-left: clamp(37px, 16vw + 1px, 166px);
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: clamp(37px, 16vw + 1px, 166px);
  }
}

/* md - 720px container */
@media (min-width: 768px) {
  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 38px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 38px;
  }
}

/* lg - 960px container */
@media (min-width: 992px) {
  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 46px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 46px;
  }
}

/* xl - 1140px container */
@media (min-width: 1200px) {
  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 73px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 73px;
  }
}

/* xxl - 1320px container */
@media (min-width: 1441px) {
  .switch-button.left,
  .switch-button-tp.left {
    padding-left: 305px;
  }

  .switch-button.right,
  .switch-button-tp.right {
    padding-right: 305px;
  }
}

/* =========================================
   ZONE 1: New Elegant Language Switcher
========================================= */
.lang_switch .switch {
  width: 88px !important;
  height: 30px !important;
  display: inline-flex !important;
}

.lang_switch .switch .slider.round {
  background-color: #e5e5e5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 !important;
  border-radius: 15px !important;
  width: 100% !important;
  height: 100% !important;
  box-shadow: none !important;
  border: none !important;
}

/* Hide the absolute background bullet */
.lang_switch .switch .slider:before,
.lang_switch .switch .slider.round:before,
.lang_switch .switch.active .slider:before,
.lang_switch .switch.active .slider.round:before {
  display: none !important;
  content: none !important;
}

/* Reset individual language buttons */
.lang_switch .switch .slider a.lang_th,
.lang_switch .switch .slider a.lang_en {
  position: static !important;
  top: auto !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 100% !important;
  border-radius: 15px !important;
  font-size: 20px !important;
  font-weight: bold !important;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out !important;
  z-index: 2 !important;
}

/* Inactive State */
.lang_switch .switch .slider a.lang_th:not(.active),
.lang_switch .switch .slider a.lang_en:not(.active) {
  width: 40px !important;
  color: #7a7a7a !important;
  background-color: transparent !important;
}

/* Active State */
.lang_switch .switch .slider a.lang_th.active,
.lang_switch .switch .slider a.lang_en.active {
  width: 48px !important;
  background-color: #f36c21 !important;
  color: #ffffff !important;
}

.clients_partners__slider {
  width: 100%;
}

.clients_partners__slider .swiper-wrapper {
  transition-timing-function: linear !important;
}

/* researcher_card ใน slider stretch เต็ม slide */
.news_researcher_row > .col .my_swiper_researchers .researcher_card {
  height: 100%;
  min-height: 0;
}

/*--------------------------------------------------------------
# Footer Info WYSIWYG Styling
--------------------------------------------------------------*/
.footer_info__desc,
.footer_info__desc p {
  color: #ffffff;
  font-size: 20px;
}

.footer_info__address,
.footer_info__address p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 20px;
}

.footer_info__desc p,
.footer_info__address p {
  margin: 0;
}

/*--------------------------------------------------------------
# Footer Quick Menu Styling
--------------------------------------------------------------*/
.footer_info__menu ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  display: grid;
  grid-template-rows: repeat(6, auto);
  grid-auto-flow: column;
  column-gap: 20px;
}

.footer_info__menu li:last-child {
  margin-bottom: 0;
}

.footer_info__menu a {
  color: rgba(255, 255, 255);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer_info__phone_list a {
  max-width: max-content;
}

.footer_info__menu .menu {
  margin-left: 0;
}

.footer_logo {
  width: 100%;
  max-width: 337px;
  height: auto;
}

.footer_logo_container {
  width: 100%;
}



/* --- CUSTOM NEWS TAXONOMY BADGE STYLING --- */
.home_news_taxo_container {
  background: #707070 !important;
  border-radius: 6px !important;
  border: none !important;
  position: relative !important;
  overflow: hidden !important;
  padding-left: 25px !important;
  line-height: 1.3 !important;
  min-height: 25px !important;
  display: inline-flex !important;
  align-items: center !important;
  font-weight: 400 !important;
}
.home_news_taxo_container .logo_webnew {
  display: none !important;
}

.home_news_taxo_container::before {
  content: '' !important;
  position: absolute !important;
  top: 4px !important;
  left: 4px !important;
  width: 9px !important;
  height: 9px !important;
  background: linear-gradient(135deg, #fff 50%, transparent 50%) !important;
  border-top-left-radius: 1.25px !important;
}


.btn_readmore {
  position: relative !important;
  background: linear-gradient(90deg, rgb(255, 130, 0) 20%, rgb(255, 118, 151) 80%) !important;
  color: #fff !important;
  border-radius: 50px !important;
  border: none !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 56px 8px 24px !important;
  height: 40px !important;
  box-sizing: border-box !important;
  text-decoration: none !important;
}

.btn_readmore i.fa-caret-right {
  position: absolute !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: #707070 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}


/* --- CUSTOM CALENDAR HEADER STYLING --- */
#datepicker_trick {
  background: linear-gradient(90deg, rgb(255, 130, 0) 20%, rgb(255, 118, 151) 80%) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 50px !important;
  height: 38px !important;
  padding: 0 20px !important;
  min-width: 180px !important;
  font-weight: bold !important;
  vertical-align: middle !important;
}

.change-month {
  background-color: #707070 !important;
  border: none !important;
  width: 38px !important;
  height: 38px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  padding: 0 !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease !important;
  vertical-align: middle !important;
}

.change-month:hover {
  opacity: 0.9 !important;
}

.change-month i {
  color: #fff !important;
  font-size: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  top: 0 !important;
}

/* Icon layout adjustments */
.switch_c1, .switch_c2 {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 16px !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 55px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.switch_c1 {
  left: 0 !important;
  right: auto !important;
}

.switch_c2 {
  right: 0 !important;
  left: auto !important;
}

.switch_c1 i, .switch_c2 i {
  transition: color 0.3s ease !important;
  color: #7a7a7a !important;
}

.fc-popover-body .fc-event-title {
  padding-left: 1rem;
  white-space: normal !important; /* ให้ข้อความขึ้นบรรทัดใหม่ได้เมื่อล้น */
  word-break: break-word !important; /* บังคับตัดคำกันข้อความทะลุ */
}

/* ทำให้ Popover ลากเลื่อน (Scroll) ได้เวลามี Event เยอะ จะได้ไม่ยาวทะลุจอ */
.fc-popover-body {
  max-height: 60vh !important; /* ความสูงสูงสุด 60% ของจอ */
  overflow-y: auto !important; /* ให้มี Scrollbar ถ้าเนื้อหายาวเกิน */
}

/* ให้กล่อง Event ใน Popover ขยายความสูงตามข้อความที่ขึ้นบรรทัดใหม่ */
.fc-popover-body .fc-h-event {
  height: auto !important;
  padding-top: 4px;
  padding-bottom: 4px;
}

/* ซ่อนปุ่ม swiper ที่ซ้ำกัน */
.swiper-button-next.cf_click2,
.swiper-button-prev.cf_click2 {
  display: none !important;
}

/* ปรับการเกลี่ยสีของกล่องใน calendar block-jj ให้เหมือนกล่องอื่น ๆ ในหน้าแรก */
.swiper-slide.border_shadow_overf.mth_nn1 > div {
  background: linear-gradient(0deg, rgba(255, 118, 151, 0.15) 0%, rgba(255, 255, 255, 1) 20%) !important;
}

/* บังคับไอคอน caret ของปุ่มอ่านเพิ่มเติมในสไลด์ปฏิทินให้ใช้สไตล์เดียวกัน */
.swiper-slide.border_shadow_overf.mth_nn1 .btn_readmore i.fa-caret-right {
  margin-left: 0px !important;
  margin-bottom: 0px !important;
}

/* --- SYSTEM TYPOGRAPHY SYSTEM (REUSABLE CLASSES WITH RESPONSIVE SCALING) --- */

/* 1. PC (> 1200px) - Base Sizes */
.fs-100 { font-size: 100px; }
.fs-70  { font-size: 70px; }
.fs-52  { font-size: 52px; }
.fs-42  { font-size: 42px; }
.fs-34  { font-size: 34px; }
.fs-28  { font-size: 28px; }
.fs-24  { font-size: 24px; }
.fs-20  { font-size: 20px; }
.fs-18  { font-size: 18px; }
.fs-16  { font-size: 16px; }

/* 2. Notebook (<= 1200px and > 992px) */
@media (max-width: 1200px) {
  .fs-100 { font-size: 85px; }
  .fs-70  { font-size: 60px; }
  .fs-52  { font-size: 45px; }
  .fs-42  { font-size: 36px; }
  .fs-34  { font-size: 30px; }
  .fs-28  { font-size: 25px; }
  .fs-24  { font-size: 21px; }
  .fs-20  { font-size: 18px; }
  .fs-18  { font-size: 16px; }
  .fs-16  { font-size: 14px; }
}

/* 3. Tablet (<= 992px and >= 768px) */
@media (max-width: 992px) {
  .fs-100 { font-size: 70px; }
  .fs-70  { font-size: 50px; }
  .fs-52  { font-size: 38px; }
  .fs-42  { font-size: 30px; }
  .fs-34  { font-size: 26px; }
  .fs-28  { font-size: 22px; }
  .fs-24  { font-size: 19px; }
  .fs-20  { font-size: 16px; }
  .fs-18  { font-size: 15px; }
  .fs-16  { font-size: 13px; }
}

/* 4. Mobile (< 768px) */
@media (max-width: 767.98px) {
  .fs-100 { font-size: 50px; }
  .fs-70  { font-size: 38px; }
  .fs-52  { font-size: 30px; }
  .fs-42  { font-size: 24px; }
  .fs-34  { font-size: 20px; }
  .fs-28  { font-size: 18px; }
  .fs-24  { font-size: 16px; }
  .fs-20  { font-size: 15px; }
  .fs-18  { font-size: 14px; }
  .fs-16  { font-size: 12px; }
}

/* --- FONT WEIGHT HELPERS --- */
.fw-700 { font-weight: 700 !important; }
.fw-400 { font-weight: 400 !important; }

/* จัดการ Header ของปฏิทินในหน้าจอ Tablet ไม่ให้ตกบรรทัด */
@media (min-width: 768px) {
  .calen {
    flex-wrap: nowrap !important;
  }
}

/* เพิ่มระยะห่างส่วนหัวแต่ละ Section ในหน้า Home สำหรับจอ PC */
@media (min-width: 992px) {
  .home-sec-spacing {
    margin-top: 80px !important;
  }
}
.bg_cover_right_res.hr_bg { height: auto !important; }


/* Nested Sub-menu Support */
.menu_desktop ul.sub-menu li { position: relative; }
.menu_desktop ul.sub-menu li ul.sub-menu { display: none; position: absolute; top: 0; left: 100%; min-width: 250px; max-width: 350px; box-shadow: 0px 4px 10px rgba(0,0,0,0.1); z-index: 999999; }
.menu_desktop ul.sub-menu li ul.sub-menu li a { white-space: normal !important; line-height: 1.2 !important; }
.menu_desktop ul.sub-menu li:hover > ul.sub-menu { display: block; }
.menu_desktop ul.sub-menu li.menu-item-has-children > a::after { content: "\f0dd"; font-family: "FontAwesome"; float: right; margin-top: 2px; color: inherit; }

/* Lightcase popup image scaling fix */
#lightcase-content img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Pagination dropdown active styles */
.color-drop .bg_green {
  background-color: #f48120 !important;
  color: #fff !important;
}
.fs_pagination.font_color_teal {
  color: #f48120 !important;
}

/* Responsive header breakpoint adjustment (show hamburger below 1600px) */
@media (max-width: 1599px) {
  .is_desktop {
    display: none !important;
  }
  .is_mobile {
    display: block !important;
  }
}


/* Force View Switcher to float right on desktop */
.switch_calendar {
  margin-left: auto !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* Switch Calendar Toggle matching Language Switcher styling (38px height to match month buttons) */
.switch_calendar .switch {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  width: 110px !important;
  height: 38px !important;
  border-radius: 19px !important;
  overflow: hidden !important;
  background-color: #e5e5e5 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.switch_calendar .switch input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.switch_calendar .switch .slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: #e5e5e5 !important;
  transition: 0.3s !important;
  border-radius: 19px !important;
}

/* Hide old switch bullet */
.switch_calendar .switch .slider:before,
.switch_calendar .switch .slider.round:before {
  display: none !important;
  content: none !important;
}

/* Custom rounded rect orange handle (34px height to fit 38px container with 2px margins) */
.switch_calendar .switch .slider::after {
  content: "" !important;
  position: absolute !important;
  height: 34px !important;
  width: 53px !important;
  left: 2px !important;
  bottom: 2px !important;
  background-color: #f36c21 !important;
  border-radius: 17px !important;
  transition: transform 0.3s ease-in-out !important;
  z-index: 1 !important;
  transform: translateX(53px) !important; /* Default Grid active (right) */
}

/* Translate handle to the left when Calendar is active */
.switch_calendar .switch.active .slider::after {
  transform: translateX(0) !important;
}


/* Icon layout adjustments */
.switch_c1, .switch_c2 {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  font-size: 16px !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 55px !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none !important;
}

.switch_c1 {
  left: 0 !important;
  right: auto !important;
}

.switch_c2 {
  right: 0 !important;
  left: auto !important;
}

.switch_c1 i, .switch_c2 i {
  transition: color 0.3s ease !important;
  color: #7a7a7a !important;
}

/* Handle icon colors: active is white, inactive is gray */
.switch_calendar .switch.active .slider .switch_c1 i {
  color: #fff !important;
}

.switch_calendar .switch:not(.active) .slider .switch_c2 i {
  color: #fff !important;
}

/* --- CUSTOM CALENDAR EVENTS STYLING --- */
.crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event {
  background: linear-gradient(90deg, rgb(255, 130, 0) 20%, rgb(255, 118, 151) 80%) !important;
  border: none !important;
  color: #fff !important;
  border-radius: 20px !important;
}

.crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event .fc-event-title {
  color: #fff !important;
}

/* Hover state */
.crop-calendar.new2 .fc-daygrid-event-harness:hover .fc-h-event {
  background: linear-gradient(90deg, rgb(240, 110, 0) 20%, rgb(240, 100, 130) 80%) !important;
  border: none !important;
}

.crop-calendar.new2 .fc-daygrid-event-harness:hover .fc-h-event .fc-event-title {
  color: #fff !important;
}

/* บังคับให้เซลล์ตาราง (td) มีความสูงเพื่อให้ Flex Frame ยืดเต็มความสูงของแถวเสมอ
   (เทคนิค CSS: ใส่ height เล็กๆ ให้ td เพื่อให้ height 100% ของลูกทำงานได้) */
.crop-calendar.new2 .fc-daygrid-day {
  height: 1px !important;
}

/* ทำให้ Frame เป็น Flex Column เพื่อจัดระเบียบเนื้อหาบน-ล่าง */
.crop-calendar.new2 .fc-daygrid-day-frame {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* ซ่อนแถบวันที่ Default ของ FullCalendar เพื่อไม่ให้กินพื้นที่ Flex */
.crop-calendar.new2 .fc-daygrid-day-top {
  display: none !important;
}

/* Override FC default min-height: 2em บน .fc-daygrid-day-events
   ใช้ margin-top: auto เพื่อดัน container นี้ไปชิดด้านล่างสุด (ติดกับ footer) 
   และตั้ง position: relative เพื่อให้ events ที่ถูก absolute (top: 0px) ยึดตามกล่องนี้แทนกรอบนอกสุด */
.crop-calendar.new2 .fc-daygrid-day-events {
  position: relative !important;
  min-height: 6em !important; /* PC: ~96px, รอง 4 rows (3 events + more) */
  margin-top: auto !important;
  margin-bottom: 0.5em !important; /* เพิ่มระยะห่างระหว่าง events กับเวลาทำการด้านล่างตามที่ขอ */
  width: 100% !important;
  /* เวทมนตร์ CSS: พลิกกล่องกลับหัว เพื่อให้ top: 0px ไปเริ่มต้นที่ด้านล่างสุดแทน! */
  transform: scaleY(-1) !important;
}

/* พลิกตัว Event และปุ่ม +more กลับมาให้ตั้งตรงเหมือนเดิม (ข้อความจะได้ไม่กลับหัว)
   เฉพาะตัวที่อยู่ใน .fc-daygrid-day-events เท่านั้น เพื่อไม่ให้กระทบกับกล่อง Popover (more) */
.crop-calendar.new2 .fc-daygrid-day-events .fc-daygrid-event-harness-abs,
.crop-calendar.new2 .fc-daygrid-day-events .fc-daygrid-event-harness,
.crop-calendar.new2 .fc-daygrid-day-events .fc-daygrid-day-bottom {
  transform: scaleY(-1) !important;
}

/* ทำให้ Header ของแต่ละวัน (อาทิตย์ จันทร์ อังคาร) อยู่เหนือ Events เวลา Scroll ลงมา 
   (จำเป็นต้องครอบคลุมทุก Layer ของ Header เนื่องจาก transform ใน Event สร้าง Stacking Context ใหม่) */
.crop-calendar.new2 .fc-scrollgrid-section-header,
.crop-calendar.new2 .fc-scrollgrid-section-header > *,
.crop-calendar.new2 .fc-scrollgrid-section-sticky,
.crop-calendar.new2 .fc-col-header-cell {
  position: sticky !important;
  z-index: 1000 !important;
  background-color: #f9f9f9 !important; /* บัง Event ที่ทะลุขึ้นมา */
}

/* ลด z-index ของ Event กลับให้ต่ำลง */
.crop-calendar.new2 .fc-daygrid-event-harness {
  z-index: 1 !important; 
}

/* Prevent event text overflow past pill padding, force ellipsis */
.crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event {
  padding-left: 15px !important;
  padding-right: 20px !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important;
  margin-left: 0.5rem;
}

.crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event .fc-event-title {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  width: 100% !important;
  display: block !important;
}

.crop-calendar.new2 .fc-daygrid-event-harness:not(.fc-daygrid-event-harness-abs) .fc-h-event .fc-event-title::before {
  display: none !important;
  content: none !important;
}

/* Make sure more-events popover sits above all calendar elements for correct clicking/closing */
.crop-calendar .fc-popover,
.fc-popover {
  z-index: 1000000000000000 !important;
  max-width: 90vw !important; /* ป้องกันกล่อง popover ล้นหน้าจอ */
}

.calendar-day-number {
  line-height: 1;
  min-width: 47px;
  display: inline-block;
  text-align: center;
}

.calendar-day-footer.closed {
  background-color: #fff !important;
}


.fc-popover-body .fc-event-title {
  padding-left: 1rem;
  white-space: normal !important; /* ให้ข้อความขึ้นบรรทัดใหม่ได้เมื่อล้น */
  word-break: break-word !important; /* บังคับตัดคำกันข้อความทะลุ */
}

/* ทำให้ Popover ลากเลื่อน (Scroll) ได้เวลามี Event เยอะ จะได้ไม่ยาวทะลุจอ */
.fc-popover-body {
  max-height: 60vh !important; /* ความสูงสูงสุด 60% ของจอ */
  overflow-y: auto !important; /* ให้มี Scrollbar ถ้าเนื้อหายาวเกิน */
}

/* ให้กล่อง Event ใน Popover ขยายความสูงตามข้อความที่ขึ้นบรรทัดใหม่ */
.fc-popover-body .fc-h-event {
  height: auto !important;
  padding-top: 4px;
  padding-bottom: 4px;
}

.crop-calendar .fc-daygrid-more-link {
  color: #F48120 !important;
  margin-left: 21px;
  display: block;
}


/* ซ่อนปุ่ม swiper ที่ซ้ำกัน */
.swiper-button-next.cf_click2,
.swiper-button-prev.cf_click2 {
  display: none !important;
}

/* ปรับการเกลี่ยสีของกล่องใน calendar block-jj ให้เหมือนกล่องอื่น ๆ ในหน้าแรก */
.swiper-slide.border_shadow_overf.mth_nn1 > div {
  background: linear-gradient(0deg, rgba(255, 118, 151, 0.15) 0%, rgba(255, 255, 255, 1) 20%) !important;
}

/* บังคับไอคอน caret ของปุ่มอ่านเพิ่มเติมในสไลด์ปฏิทินให้ใช้สไตล์เดียวกัน */
.swiper-slide.border_shadow_overf.mth_nn1 .btn_readmore i.fa-caret-right {
  margin-left: 0px !important;
  margin-bottom: 0px !important;
}

/* ปรับพื้นหลังแถบชื่อวัน (อาทิตย์ จันทร์ อังคาร...) ให้เป็นสีขาว */
.crop-calendar .fc .fc-col-header-cell {
  background-color: #fff !important;
}

/* ========================================
   CALENDAR RESPONSIVE OVERRIDES
   ปรับขนาด font/layout ของปฏิทินแยกจาก
   ระบบ typography ทั่วไป เพราะ cell แคบมาก
   ======================================== */

/* Notebook (≤ 1200px) */
@media (max-width: 1200px) {
  .crop-calendar.new2 .calendar-day-number {
    font-size: 24px !important;
    min-width: 34px;
  }

.crop-calendar.new2 .calendar-day-footer {
    font-size: 16px !important;
    height: 40px;
  }

.crop-calendar.new2 .fc-daygrid-day-events {
    min-height: 5.5em !important;
  }

.crop-calendar.new2 .calendar-holiday-badge {
    font-size: 13px !important;
  }

.crop-calendar .fc-daygrid-more-link {
    margin-left: 22px;
  }
}

/* Tablet (≤ 992px) */
@media (max-width: 992px) {
  .crop-calendar.new2 .calendar-day-number {
    font-size: 18px !important;
    min-width: 26px;
  }

.crop-calendar.new2 .calendar-day-footer {
    font-size: 12px !important;
    height: 40px;
    padding: 2px 4px;
    line-height: 1.2;
    white-space: normal;
    word-break: break-word;
  }

.crop-calendar.new2 .fc-daygrid-day-events {
    min-height: 5em !important;
  }

.crop-calendar.new2 .fc-daygrid-day-frame {
    min-height: 90px !important;
  }

.crop-calendar.new2 .calendar-holiday-badge {
    font-size: 11px !important;
  }

.crop-calendar .fc-daygrid-more-link {
    margin-left: 21px;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767.98px) {
  .crop-calendar.new2 .calendar-day-number {
    font-size: 13px !important;
    min-width: 18px;
  }

.crop-calendar.new2 .calendar-day-footer {
    font-size: 10px !important;
    height: auto;
    min-height: 20px; /* ปรับเป็น 20px ตามที่ต้องการ */
    padding: 2px 2px;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
  }

.crop-calendar.new2 .fc-daygrid-day-events {
    min-height: 4.5em !important;
  }

.crop-calendar.new2 .fc-daygrid-day-frame {
    min-height: 60px !important;
  }

.crop-calendar.new2 .calendar-holiday-badge {
    font-size: 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 100%;
    text-align: left;
    padding-left: 4px; /* เพิ่มระยะซ้ายให้ตรงกับตา */
  }

.crop-calendar.new2 .calendar-day-header {
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start !important;
  }

/* ลด margin ด้านข้างของ event bar เพื่อให้ bar ยาวเต็ม cell */
  .crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event {
    margin-left: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 10px !important;
  }

.crop-calendar .fc-daygrid-more-link {
    margin-left: 2px;
  }

}

/* --- SYSTEM TYPOGRAPHY SYSTEM (REUSABLE CLASSES WITH RESPONSIVE SCALING) --- */

/* 1. PC (> 1200px) - Base Sizes */
.fs-100 { font-size: 100px; }
.fs-70  { font-size: 70px; }
.fs-52  { font-size: 52px; }
.fs-42  { font-size: 42px; }
.fs-34  { font-size: 34px; }
.fs-28  { font-size: 28px; }
.fs-24  { font-size: 24px; }
.fs-20  { font-size: 20px; }
.fs-18  { font-size: 18px; }
.fs-16  { font-size: 16px; }

/* 2. Notebook (<= 1200px and > 992px) */
@media (max-width: 1200px) {
  .fs-100 { font-size: 85px; }
  .fs-70  { font-size: 60px; }
  .fs-52  { font-size: 45px; }
  .fs-42  { font-size: 36px; }
  .fs-34  { font-size: 30px; }
  .fs-28  { font-size: 25px; }
  .fs-24  { font-size: 21px; }
  .fs-20  { font-size: 18px; }
  .fs-18  { font-size: 16px; }
  .fs-16  { font-size: 14px; }
}

/* 3. Tablet (<= 992px and >= 768px) */
@media (max-width: 992px) {
  .fs-100 { font-size: 70px; }
  .fs-70  { font-size: 50px; }
  .fs-52  { font-size: 38px; }
  .fs-42  { font-size: 30px; }
  .fs-34  { font-size: 26px; }
  .fs-28  { font-size: 22px; }
  .fs-24  { font-size: 19px; }
  .fs-20  { font-size: 16px; }
  .fs-18  { font-size: 15px; }
  .fs-16  { font-size: 13px; }
}

/* 4. Mobile (< 768px) */
@media (max-width: 767.98px) {
  .fs-100 { font-size: 50px; }
  .fs-70  { font-size: 38px; }
  .fs-52  { font-size: 30px; }
  .fs-42  { font-size: 24px; }
  .fs-34  { font-size: 20px; }
  .fs-28  { font-size: 18px; }
  .fs-24  { font-size: 16px; }
  .fs-20  { font-size: 15px; }
  .fs-18  { font-size: 14px; }
  .fs-16  { font-size: 12px; }
}

/* --- FONT WEIGHT HELPERS --- */
.fw-700 { font-weight: 700 !important; }
.fw-400 { font-weight: 400 !important; }

/* จัดการ Header ของปฏิทินในหน้าจอ Tablet ไม่ให้ตกบรรทัด */
@media (min-width: 768px) {
  .calen {
    flex-wrap: nowrap !important;
  }
  .calen .switch_calendar {
    flex: 0 0 auto !important; /* ป้องกันไม่ให้โดนบังคับกว้าง 50% */
  }
}

/* เพิ่มระยะห่างส่วนหัวแต่ละ Section ในหน้า Home สำหรับจอ PC */
@media (min-width: 992px) {
  .home-sec-spacing {
    margin-top: 80px !important;
  }
}
.bg_cover_right_res.hr_bg { height: auto !important; }


/* Nested Sub-menu Support */
.menu_desktop ul.sub-menu li { position: relative; }
.menu_desktop ul.sub-menu li ul.sub-menu { display: none; position: absolute; top: 0; left: 100%; min-width: 250px; max-width: 350px; box-shadow: 0px 4px 10px rgba(0,0,0,0.1); z-index: 999999; }
.menu_desktop ul.sub-menu li ul.sub-menu li a { white-space: normal !important; line-height: 1.2 !important; }
.menu_desktop ul.sub-menu li:hover > ul.sub-menu { display: block; }
.menu_desktop ul.sub-menu li.menu-item-has-children > a::after { content: "\f0dd"; font-family: "FontAwesome"; float: right; margin-top: 2px; color: inherit; }

/* --- BOARD OF DIRECTORS PAGE STYLING --- */
.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 {
  display: flex !important;
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
  height: 380px !important;
  background-size: cover !important;
  background-position: top center !important;
}

@media (max-width: 1400px) {
  .board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
    height: 320px !important;
  }
}

@media (max-width: 992px) {
  .board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
    height: 280px !important;
  }
}

@media (max-width: 576px) {
  .board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
    height: 380px !important;
  }
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top img {
  display: none !important;
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_fff {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
}




.crop-calendar.new2 .calendar-day-header {
    flex-wrap: wrap;
    gap: 2px;
    justify-content: flex-start !important;
  }

/* ลด margin ด้านข้างของ event bar เพื่อให้ bar ยาวเต็ม cell */
  .crop-calendar.new2 .fc-daygrid-event-harness .fc-h-event {
    margin-left: 0 !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 10px !important;
  }

.crop-calendar .fc-daygrid-more-link {
    margin-left: 2px;
  }

}

/* --- SYSTEM TYPOGRAPHY SYSTEM (REUSABLE CLASSES WITH RESPONSIVE SCALING) --- */

/* 1. PC (> 1200px) - Base Sizes */
.fs-100 { font-size: 100px; }
.fs-70  { font-size: 70px; }
.fs-52  { font-size: 52px; }
.fs-42  { font-size: 42px; }
.fs-34  { font-size: 34px; }
.fs-28  { font-size: 28px; }
.fs-24  { font-size: 24px; }
.fs-20  { font-size: 20px; }
.fs-18  { font-size: 18px; }
.fs-16  { font-size: 16px; }

/* 2. Notebook (<= 1200px and > 992px) */
@media (max-width: 1200px) {
  .fs-100 { font-size: 85px; }
  .fs-70  { font-size: 60px; }
  .fs-52  { font-size: 45px; }
  .fs-42  { font-size: 36px; }
  .fs-34  { font-size: 30px; }
  .fs-28  { font-size: 25px; }
  .fs-24  { font-size: 21px; }
  .fs-20  { font-size: 18px; }
  .fs-18  { font-size: 16px; }
  .fs-16  { font-size: 14px; }
}

/* 3. Tablet (<= 992px and >= 768px) */
@media (max-width: 992px) {
  .fs-100 { font-size: 70px; }
  .fs-70  { font-size: 50px; }
  .fs-52  { font-size: 38px; }
  .fs-42  { font-size: 30px; }
  .fs-34  { font-size: 26px; }
  .fs-28  { font-size: 22px; }
  .fs-24  { font-size: 19px; }
  .fs-20  { font-size: 16px; }
  .fs-18  { font-size: 15px; }
  .fs-16  { font-size: 13px; }
}

/* 4. Mobile (< 768px) */
@media (max-width: 767.98px) {
  .fs-100 { font-size: 50px; }
  .fs-70  { font-size: 38px; }
  .fs-52  { font-size: 30px; }
  .fs-42  { font-size: 24px; }
  .fs-34  { font-size: 20px; }
  .fs-28  { font-size: 18px; }
  .fs-24  { font-size: 16px; }
  .fs-20  { font-size: 15px; }
  .fs-18  { font-size: 14px; }
  .fs-16  { font-size: 12px; }
}

/* --- FONT WEIGHT HELPERS --- */
.fw-700 { font-weight: 700 !important; }
.fw-400 { font-weight: 400 !important; }

/* จัดการ Header ของปฏิทินในหน้าจอ Tablet ไม่ให้ตกบรรทัด */
@media (min-width: 768px) {
  .calen {
    flex-wrap: nowrap !important;
  }
  .calen .switch_calendar {
    flex: 0 0 auto !important; /* ป้องกันไม่ให้โดนบังคับกว้าง 50% */
  }
}

/* เพิ่มระยะห่างส่วนหัวแต่ละ Section ในหน้า Home สำหรับจอ PC */
@media (min-width: 992px) {
  .home-sec-spacing {
    margin-top: 80px !important;
  }
}
.bg_cover_right_res.hr_bg { height: auto !important; }


/* Nested Sub-menu Support */
.menu_desktop ul.sub-menu li { position: relative; }
.menu_desktop ul.sub-menu li ul.sub-menu { display: none; position: absolute; top: 0; left: 100%; min-width: 250px; max-width: 350px; box-shadow: 0px 4px 10px rgba(0,0,0,0.1); z-index: 999999; }
.menu_desktop ul.sub-menu li ul.sub-menu li a { white-space: normal !important; line-height: 1.2 !important; }
.menu_desktop ul.sub-menu li:hover > ul.sub-menu { display: block; }
.menu_desktop ul.sub-menu li.menu-item-has-children > a::after { content: "\f0dd"; font-family: "FontAwesome"; float: right; margin-top: 2px; color: inherit; }

/* --- BOARD OF DIRECTORS PAGE STYLING --- */
.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 {
  display: flex !important;
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
  height: 380px !important;
  background-size: cover !important;
  background-position: top center !important;
}

@media (max-width: 1400px) {
  .board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
    height: 320px !important;
  }
}

@media (max-width: 992px) {
  .board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
    height: 280px !important;
  }
}

@media (max-width: 576px) {
  .board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top {
    height: 380px !important;
  }
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_cover_top img {
  display: none !important;
}

.board-of-directors-main .col-12.col-sm-6.col-lg-4.col-xxl-3 .img_shoedow_rad2 .bg_fff {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  justify-content: space-between !important;
}


/* --- DEV MODE WEEKLY SPLIT LAYOUT STYLING --- */
.dev-week-day-card {
  border: 1px solid #e2e8f0 !important;
  border-radius: 12px !important;
  background-color: #ffffff !important;
  transition: all 0.2s ease-in-out !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02) !important;
  min-height: 56px !important;
  padding: 10px 16px !important;
}

@media (max-width: 767.98px) {
  .dev-week-day-card {
    min-height: 44px !important;
    padding: 6px 12px !important;
  }
}

.dev-week-day-card:hover {
  border-color: #f48120 !important;
  box-shadow: 0 4px 12px rgba(244, 129, 32, 0.12) !important;
  transform: translateY(-1px);
}

.dev-week-day-card.active-day {
  border-color: #f48120 !important;
  box-shadow: 0 0 0 2px #f48120, 0 4px 14px rgba(244, 129, 32, 0.25) !important;
  background-color: #fffbf7 !important;
}

.dev-week-day-card.active-day.is-closed-day {
  border-color: #f48120 !important;
  box-shadow: 0 0 0 2px #f48120, 0 4px 14px rgba(244, 129, 32, 0.25) !important;
  background-color: rgba(255, 118, 151, 0.25) !important;
}

.dev-week-day-card .day-badge {
  color: #f48120 !important;
  white-space: nowrap !important;
  display: inline-block !important;
  text-align: left !important;
  min-width: auto !important;
  padding: 0 !important;
}

.dev-week-day-card .calendar-holiday-badge {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ratio-3x4 {
  --bs-aspect-ratio: 133.333333% !important;
}

.dev-week-day-card {
  cursor: pointer !important;
}

.dev-week-day-card.is-closed-day {
  background-color: rgba(255, 118, 151, 0.2) !important;
  border-color: rgba(255, 118, 151, 0.4) !important;
}

.fc-daygrid-day.is-closed-day,
.fc-daygrid-day.is-closed-day .fc-daygrid-day-frame {
  background-color: rgba(255, 118, 151, 0.2) !important;
}

.dev-week-event-card {
  background-color: #ffffff !important;
}

.dev-week-event-card:hover {
  transform: none !important;
  box-shadow: none !important;
}

.dev-week-event-card .line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* --- DEV MODE EQUAL HEIGHT & RIGHT PANEL SCROLLBAR (3 RESPONSIVE BREAKPOINTS) --- */
/* 1. PC (> 1200px) */
@media (min-width: 1201px) {
  .dev-week-left-panel,
  .dev-week-right-panel {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #dev_week_right_events_list {
    flex-grow: 1 !important;
    min-height: 478px !important;
    max-height: 478px !important;
    overflow-y: auto !important;
    padding-right: 6px !important;
  }
}

/* 2. Notebook (992px - 1200px) */
@media (min-width: 992px) and (max-width: 1200px) {
  .dev-week-left-panel,
  .dev-week-right-panel {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #dev_week_right_events_list {
    flex-grow: 1 !important;
    min-height: 464px !important;
    max-height: 464px !important;
    overflow-y: auto !important;
    padding-right: 6px !important;
  }
}

/* 3. Tablet & Mobile (< 992px - 1 box per row) */
@media (max-width: 991.98px) {
  #dev_week_right_events_list {
    min-height: auto !important;
    max-height: 420px !important;
    overflow-y: auto !important;
    padding-right: 6px !important;
  }
}

/* Custom Smooth Scrollbar for Right Panel Event List */
#dev_week_right_events_list::-webkit-scrollbar {
  width: 6px;
}

#dev_week_right_events_list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 10px;
}

#dev_week_right_events_list::-webkit-scrollbar-thumb {
  background: #f48120;
  border-radius: 10px;
}

/* --- DEV MODE EQUAL HEADER HEIGHT & BORDER ALIGNMENT --- */
.dev-week-header-box {
  min-height: 52px !important;
  box-sizing: border-box !important;
}

/* --- DEV MODE SECTION SPACING & RESPONSIVE GAP --- */
#dev_weekly_layout {
  margin-bottom: 60px !important;
}

@media (max-width: 991.98px) {
  #dev_weekly_layout {
    margin-bottom: 45px !important;
  }
  .dev-week-left-panel {
    margin-bottom: 5px !important;
  }
}
