html{
    filter: grayscale(70%) !important;
}

@import url('https://fonts.googleapis.com/css?family=Kanit:300,400,500,600&subset=thai');


/* Font */
@font-face {
  font-family: "Kanit_Medium";
  src: url("/assets/portals/1/images/House_of_Representatives/font/Kanit_Medium.ttf");
}

@font-face {
  font-family: "Kanit_Regular";
  src: url("/assets/portals/1/images/House_of_Representatives/font/Kanit_Regular.ttf");
}

@font-face {
  font-family: "Kanit_SemiBold";
  src: url("/assets/portals/1/images/House_of_Representatives/font/Kanit_SemiBold.ttf");
}

/* CSS Element Style */
html {
  min-width: 425px;
}
#server_counter > .footer-font > span.title-sitemap {
    color: #000000 !important;
}

body {
  min-width: 425px;
  overflow: hidden;
  font-family: "Kanit_Regular";
}

a {
  font-family: "Kanit_Regular" !important;
}

hr:after {
  display: none;
}


.link_to-content {
  padding: 15px 30px;
}

.navbar-default .nav-pills {
  display: block;
  margin-top: 20.5px !important;
  padding: 0;
}

img[alt="Facebook"],
img[alt="LINE"] {
  filter: invert(1);
}

.tabnewsdata>input.btn.btn-xs.btn-orange2 {
  color: #6d6542;
  cursor: pointer;
  padding: 5px 12px;
  text-align: center;
  display: block;
  margin: 30px auto;
  float: none !important;
  border-radius: 4px;
  border: 1px solid #6D6542;
  background: #FFF;
}

#server_counter>p,
#server_counter>span {
  color: #000 !important;
  font-weight: 300 !important;
}

.navbar-fixed-top {
  margin: 0px !important;
}

.navbar-default .nav-pills>li {
  margin-left: 0;
}

#bs-example-navbar-collapse-1 {
  padding: 0;
}

footer {
    background-color: #0f2044;
    background-image: url(/assets/portals/1/images/bg-footer27.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #ffffff;
}

  footer .footer-font { 
    font-size: 16px;
    margin-bottom: 0;
  }

  footer .footer-detail {
    position: relative;
    z-index: 1;
  }

  footer .footer-detail p.commission-name-text {
    font-size: 16px;
    font-weight: 700;
  }

  footer .footer-detail .contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    color: #d0d8e8;
  }

  footer .footer-detail .contact-row img {
    filter: invert(1) brightness(1.5);
    flex-shrink: 0;
  }

footer .footer-detail .contact-row a {
    color: #ffffff;
    text-decoration: unset;
    text-underline-offset: 3px;
    font-size: 16px;
}

  footer .footer-detail .contact-row a:hover {
    color: #e8c96a;
  }

  footer .bg-sharethis {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    color: #d0d8e8;
  }

  footer .bg-sharethis p {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  footer .bg-sitemap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 10px;
    color: #d0d8e8;
    background: transparent !important;
  }

footer .bg-sitemap a {
    color: #ffffff;
    text-decoration: unset;
    text-underline-offset: 3px;
    font-size: 16px;
}

  footer .bg-sitemap a:hover { color: #e8c96a; }

  footer .col-md-12 img {
    position: relative;
    z-index: 2;
  }

  footer .border-top-gold {
    border-top: 1px solid rgba(201, 168, 76, 0.5) !important;
  }

  /* override bootstrap border */
  footer .col-lg-12.col-md-12.col-xs-12.footer-detail[style*="border-top"] {
    border-top: 1px solid rgba(201, 168, 76, 0.5) !important;
    width: 85%;
    margin: 0px auto;
  }

footer p,
footer a,
footer h5 {
  color: white;
  font-size: 14px;
}

footer .gray-footer {
  padding-top: 3px;
  padding-bottom: 3px;
}

footer .gray-footer .title-sitemap {
  margin-left: 10px;
}

hr:after {
  border-top: none;
}

div.w3-display-bottomleft.w3-container {
  background-image: url(/assets/portals/1/images/background/mj.png);
  position: relative;
  background-size: cover;
}

.title-default>a:before {
  display: none;
}

.owl-carousel .owl-item {
  width: auto !important;
}

.owl-carousel .owl-stage {
  display: flex;
  width: fit-content !important;
  margin: auto;
}

#button-navbar {
  position: absolute;
  top: 10px;
  width: 52.5px;
  height: 50px;
  margin-left: 0;
  margin-right: 0;
}

#a#\34 {
  background-color: #800000;
}

ul.nav.nav-pills .caret:nth-child(2) {
  display: none;
}

body .nav .open>a {
  background-color: #800000;
}

.dropdown-menu.dropdown-menu-block {
  border: 0;
}

ul.dropdown-menu li {
  width: 250px;
}


.text-white {
  color: white;
  text-decoration: none !important;
  font-size: 14px;
}

.navbar-default .nav-pills {
  display: block;
  margin-top: 12.5px !important;
  padding: 0;
}

.navbar-default .nav-pills>li {
  margin-left: 10px !important;
}

#navbar-gradient-red {
  background-image: linear-gradient(#410808, #820f0f);
  width: 100%;
}

#top-content-bg {
  width: 100%;
  height: auto !important;
}

#row-two-bg {
  background-color: #ffffff;
}

#row-three-bg {
  background-color: #ffffff;
}


#row-six-bg {
  background: radial-gradient(circle, rgb(227, 227, 227) 50%, #ffffff 100%);
  padding: 35px;
}

#row-seven-bg {
  background-color: #ffffff;
}

#row-one-bg {
    background-image: linear-gradient(180deg, #FEF5E6, #D6E8EF);
    margin: 0px;
}

#row-one-bg>.container {
    background-color: transparent;
    padding: 40px 15px;
    margin: 0px auto;
    width: 100%;
}

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


/* header #server_menu ul.nav.nav-pills li a, 
  header #server_menu ul.nav.nav-pills li a:hover {
    background-color: transparent;
  }
  header #server_menu ul.nav.nav-pills li a:hover {
    color: #efe498;
  } */
header #navbar-guildline,
header #navbar-guildline ul {
  background-color: #acaaaa;
}

/* header #navbar-guildline #guildline-list li:nth-child(odd) {
    background-image: linear-gradient(#dddcdc, #bcb9b9);
  } */
header #navbar-guildline #guildline-list {
  text-align: end;
  padding: 7.5px 0;
  height: 50px;
}

header #navbar-guildline ul#guildline-list>div,
header #navbar-guildline ul#guildline-list>div>li {
  display: inline-block !important;
}

header #navbar-guildline ul#guildline-list .navi-text-header {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  padding: 5px;
  line-height: 15px;
  font-size: 15px !important;
  text-align: center;
}

header #navbar-guildline ul#guildline-list #lang_menu:hover #lang_dropdown,
header #sitelink_home:hover #sitelink_dropdown,
header #sitelink_home_mobile:hover #sitelink_dropdown {
  display: block;
}

header #navbar-guildline ul#guildline-list #lang_dropdown {
  position: absolute;
  z-index: 1;
  text-align: left;
  margin-top: 12.5px;
  display: none;
}

header #sitelink_dropdown {
  position: absolute;
  z-index: 10000;
  text-align: left;
  margin-top: 22.5px;
  display: none;
  margin-left: -175px;
}

header #sitelink_home_mobile #sitelink_dropdown {
  margin-top: 22.5px;
  margin-left: -175px;
}

header #navbar-guildline ul#guildline-list #lang_dropdown .lang_list,
header #sitelink_dropdown .site_list {
  background-color: #d5d5d5 !important;
  transition: all .25s ease;
}

header #navbar-guildline ul#guildline-list #lang_dropdown .lang_list:hover,
header #sitelink_dropdown .site_list:hover {
  background-color: #eae7e7 !important;
}

header #navbar-guildline ul#guildline-list #lang_dropdown .lang_list>a {
  padding: 11px 15px;
  font-size: 12px;
  font-weight: bold;
  width: 150px;
  display: block;
  border-bottom: 1px solid rgba(150, 150, 150, 0.15);
}

header #sitelink_dropdown .site_list>a {
  padding: 11px 15px;
  font-size: 12px;
  font-weight: bold;
  width: 210px;
  display: block;
  border-bottom: 1px solid rgba(150, 150, 150, 0.15);
  text-decoration: none;
  color: #555;
}

header #navbar-guildline ul#guildline-list #lang_dropdown .lang_list:hover>a,
header #sitelink_dropdown .site_list:hover>a {
  color: #aa0000 !important;
}

.blindness li {
  border-left: 0px !important;
}

.navbar-toggle .icon-bar {
  background-color: white;
}

#button-open-navbar {
  background-color: #800000;
}

#search_form:after {
  /* line-height: 50px;
    margin-top: -50px; */
  display: none;
}

#search_form>input {
  height: 50px;
  border: 0;
  border-radius: 0;
  background-image: linear-gradient(#dddcdc, #bcb9b9);
}

#server_menu_new {
  display: flex;
  margin: 0px;
  justify-content: center;
}

#server_menu_new>div {
  width: 100%;
}

#server_menu_new #cssmenu,
#cssmenu ul li:hover {
  background-color: #062853 !important;
  border-radius: 15px;
  margin: 10px 0px;
}

#cssmenu > ul > li.has-sub > a:before {
    content: url("/assets/portals/1/images/hassup.png") !important;
    right: 30px !important;
    transform: translateY(-50%);
    line-height: 0;
    border: unset !important;
}
#cssmenu > ul > li.has-sub:hover > a:before{
    content: url(/assets/portals/1/images/hashover.png) !important;
}

#server_menu_new>. bt>.container {
  padding: 0px;
}

#server_menu_new>div>div.col-md-12 {
  padding: 0px !important;
}

#server_menu_new>div>div>div>div.col-md-12,
#server_menu_new>. bt>.container>.row>.col-md-12 {
  padding: 0px !important;
}

#cssmenu li:hover>ul {
  left: auto;
  position: relative !important;
}

#cssmenu ul li.active {
    background-color: #062853;
    border-radius: 15px;
}

#cssmenu ul li.active>a {
  color: #ffffff !important;
}

#server_menu_new #cssmenu>ul>li>a {
    width: 100%;
    padding: 0px 15px;
    letter-spacing: 1px;
    text-decoration: none;
    color: #000;
    margin: 12px 0px;
}

#server_menu_new #cssmenu {
    background-color: transparent !important;
}

#server_menu_new #cssmenu>ul>li:hover>a {
    color: #ffffff !important;
    background-color: #00000000 !important;
    width: 100%;
    letter-spacing: 1px;
    text-decoration: none;
}

#server_menu_new #cssmenu>ul>li:hover>ul li {
  background-color: #6d6542 !important;
  border: unset;
}

#server_menu_new #cssmenu>ul>li:hover>ul li:hover {
  background-color: #bbb59c !important;
}

#server_menu_new #cssmenu>ul li ul li a {
    color: #ffffff;
    font-weight: 300 !important;
    font-size: 14px !important;
    background-color: #062853 !important;
    margin: 15px 0px;
}

#server_menu_new #cssmenu>ul li ul li:hover>a {
    color: #ffffff !important;
    background-color: #062853 !important;
}

#server_menu_new #search_form {
  display: none;
}

.bt {
  background-color: transparent !important;
}

#cssmenu>ul>li.has-sub>a:before,
#cssmenu>ul>li.has-sub>a:after {
  border-top: 5px solid #000 !important;
  top: 10px !important;
}

#cssmenu ul li {
  border-top: 0 !important;
}

#cssmenu .submenu-button {
  border-left: 0 !important;
}

#cssmenu .button:before,
#cssmenu .button:after {
  background-color: white !important;
  border-bottom: 0 !important;
}

#row-six_col-12 .owl-item img.img-responsive {
  filter: grayscale(0.75) opacity(0.9) drop-shadow(0 0 0 red);
}

#row-six_col-12 .owl-item:hover img.img-responsive {
  filter: unset;
}

#row-six_col-12 .owl-dots>.owl-dot.active>span {
  background-color: #820f0f;
}

#row-six_col-12 .owl-dots>.owl-dot>span {
  background-color: #acaaaa;
}

.owl-carousel .owl-dots .owl-dot {
  margin-top: 15px;
}

.bottom-left {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: auto;
}

.bottom-right {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 100%;
  height: auto;
}

.tiva-timetable {
  font-family: 'Kanit_Regular' !important;
  margin: 15px 0 !important;
  float: unset !important;
  background-color: #F5F5F5 !important;
  padding: 5px !important;
}

.time-navigation {
  text-shadow: 0px 2px 5px rgb(51 51 51 / 20%);
}

.calendar-daycounter {
  font-size: 15px !important;
  color: #000;
}

body .tiva-timetable table.timetable-month td.calendar-day {
  height: 40px !important;
  padding: 8px 10px !important;
}

.tiva-timetable table.timetable-month {
  color: #000 !important;
}

th.timetable-header {
  background-color: #f5f5f5 !important;
}

.tiva-timetable table.timetable-month,
.tiva-timetable table.timetable-month th,
.tiva-timetable table.timetable-month td {
  background-color: #f5f5f5;
}

.popup-header {
  font-size: 1.5em !important;
  font-family: 'Kanit_SemiBold';
}

.popup-body {
  font-family: 'Kanit_Regular';
}

.popup-body>.timetable-desc>p {
  font-size: 1.25em;
}

.tiva-timetable table.timetable-month,
.tiva-timetable table.timetable-month th,
.tiva-timetable table.timetable-month td {
  border: 1px solid #e7e7e7 !important;
}

.tiva-timetable .timetable-month .today .calendar-daycounter {
  background: #6d6542c9 !important;
  margin: -5px -2.5px !important;
  line-height: 25px !important;
  border-radius: 50% !important;
}

.tiva-timetable .timetable-month .calendar-day .timetable-item {
  padding-left: 15px !important;
  margin-top: 10px;
}

.tiva-timetable .timetable-month .calendar-day .timetable-item .timetable-title>div {
  border-radius: 1em;
  margin: 2px !important;
}
.tiva-timetable .timetable-month .timetable-item .timetable-title{
  margin-top: 15px!important;
}
#timetable-compace > tbody > tr > td.calendar-day.today > div:nth-child(n+2) > a > div{
  margin-top: 10px !important;
  margin-bottom: 0px !important;
}

.tiva-timetable .time-navigation .navi-icon,
.tiva-timetable .time-navigation .navi-time {
    color: #6d6542 !important;
    float: left;
    margin: 0px !important;
    padding: 0px 23px 8px 0px !important;
    text-shadow: none;
    font-size: 18px !important;
}

.time-navigation .navi-prev {
  position: absolute;
  right: 60px !important;
  margin: 0px !important;
}

.time-navigation .navi-next {
  position: absolute;
  right: 24px !important;
  margin: 0px !important;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.mfp-container {
  background: unset !important;
}

.mfp-bg.my-mfp-zoom-in.mfp-ready,
.mfp-wrap.mfp-close-btn-in.mfp-auto-cursor.my-mfp-zoom-in.mfp-ready {
  min-width: 425px;
}

/* Start::Search */
header #search_form #searchtextbox:focus {
  box-shadow: none !important;
}

header #search_form .fa.fa-search {
  color: #fff;
  font-size: 14px;
  height: 35px;
  position: absolute;
  width: 35px;
  right: 35px;
  line-height: 50px;
  margin-top: -50px;
}

header #search_form .fa.fa-search:hover {
  cursor: pointer;
}


#bntsearch {
  border-color: #9e946a !important;
  background: #9e946a !important;
}

.carousel-inner>.item>a>img {
  margin: 10px auto !important;
}


/* OPTION */
.card_box .bottom-left {
  position: absolute;
  bottom: 0px;
  left: 0px;
  width: 100%;
  height: auto;
}

.card_box .bottom-right {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 100%;
  height: auto;
}


/* Home */
#home-background {
  width: 100%;
  object-fit: cover;
  max-height: 85vh;
  min-width: 30vh;
  display: block;
}

.default-none {
  width: 100%;
  display: none;
}

.card_box .bottom-left.feature_box2 {
  max-width: 35%;
  height: auto;
}

.card_box .bottom-right.feature_box2 {
  max-width: 35%;
  height: auto;
}

.card_box .feature_box2 {
  height: auto;
  /* transition: ease all 0.5s; */
}

.feature_box2:hover img.default-block,
.feature_box2:focus img.default-block {
  display: none;
}

.feature_box2:hover img.default-none,
.feature_box2:focus img.default-none {
  display: inline;
}

.card_box:hover>.feature_box2:not(:hover) img.default-block {
  display: none;
}

.card_box:hover>.feature_box2:not(:hover) img.default-none {
  display: none;
}

.card_box .top-list-one {
  margin-bottom: 2.5%;
  position: relative;
}

.card_box .top-list-two {
  margin-bottom: 5%;
  position: relative;
}



/* Tooltip */
#line_icon .tooltip-text,
#footer_line_icon .tooltip-text,
#header_logo_reponsive .tooltip-text {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 5px;
  position: absolute;
  z-index: 1;
}

#line_icon .tooltip-text {
    margin-top: 5px
}

#footer_line_icon .tooltip-text {
  margin-top: 45px;
  margin-left: -67.5px;
}

#header_logo_reponsive .tooltip-text {
  margin-top: 60px;
  margin-left: -137px;
}

#line_icon .tooltip-text::after,
#footer_line_icon .tooltip-text::after,
#header_logo_reponsive .tooltip-text::after {
  content: "";
  position: absolute;
  border-width: 5px;
  border-style: solid;
}

#line_icon .tooltip-text::after {
  bottom: 100%;
  left: 50%;
  margin-left: -30px;
  border-color: transparent transparent black transparent;
}

#footer_line_icon .tooltip-text::after {
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-color: transparent transparent black transparent;
}

#header_logo_reponsive .tooltip-text::after {
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-color: transparent transparent black transparent;
}

#line_icon:hover .tooltip-text,
#footer_line_icon:hover .tooltip-text,
#header_logo_reponsive:hover .tooltip-text {
  visibility: visible;
}

/* mobile */
@media (max-width: 424px) {
  html {
    zoom: calc(100% / 1.2);
  }
}

/* ipad */
@media (max-width: 767px) {
  .footer-font {
    font-size: 14px !important;
  }

  header #server_menu ul.nav.nav-pills {
    margin-bottom: 12.5px;
    overflow-x: hidden;
  }

  #header_logo_reponsive {
    padding: 10px 20px !important;
  }

  #button-open-navbar {
    top: 5px;
    right: 10px;
    position: relative;
  }

  #header-navbar-collapse {
    display: block !important;
  }
}

/* tablet */
@media (max-width: 767px) {
  #server_search {
    display: none !important;
  }

  #server_menu_new #cssmenu>div {
    display: none !important;
  }

  #server_menu_new #cssmenu>ul {
    display: flex !important;
    flex-direction: column;
    background-color: #F5F5F5;
    padding: 15px;
  }

#server_menu_new #cssmenu>ul li ul li a {
    color: #ffffff;
    font-weight: 300 !important;
    font-size: 14px !important;
    background-color: #b76f37 !important;
    margin: 10px 0px;
}

  #server_menu_new #cssmenu>form {
    width: 100%;
  }

  #server_menu_new #cssmenu>form>input#searchtextboxmobile {
    width: 80% !important;
    margin: 15px 0px;
  }
}
@media (min-width: 768px) {
  .navbar-default .nav-pills {
    margin-left: 315px;
  }

  #bs-example-navbar-collapse-1 {
    margin-top: -20px;
  }
}

@media (min-width: 768px) and (max-width: 1199px) {
  .navbar-default .nav-pills {
    margin-bottom: 12.5px;
  }

  #form_search_box {
    display: none !important;
  }
}
@media (min-width: 1024px) and (max-width: 1440px) {
    .container {
        max-width: 100% !important;
    }
}
@media (max-width: 767px) {
  #bs-example-navbar-collapse-1 {
    display: none;
  }

  .navbar-default .nav-pills li .menulevel2 h3 a {
    color: #fff !important;
    font-size: 1em;
  }

  .navbar-default .nav-pills {
    margin-top: 0 !important;
  }
}

@media (min-width: 768px) {
  .navbar-default .nav-pills {
    margin-left: 50px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .navbar-default .nav-pills {
    margin-bottom: 12.5px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .footer-font {
    font-size: 14px !important;
  }
}

@media (min-width: 992px) {
  .footer-detail {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .between_col {
    display: none !important;
  }

  .row-three-bg {
    justify-content: center;
    align-items: center;
  }

  .row-six-bg {
    justify-content: center;
    align-items: center;
  }
}



@media (min-width: 768px) and (max-width: 1000px) {
  #cssmenu>.button {
    display: block;
  }

  #server_menu_new #cssmenu>div {
    display: block;
  }
}

@media (max-width: 1000px) {
  #cssmenu .submenu-button.submenu-opened {
    background: transparent !important;
  }

  #cssmenu ul ul li a {
    background: #6e6542 !important;
  }

  #cssmenu ul ul li:hover>a {
    background: #ffffff !important;
  }

  #cssmenu>ul>li>.submenu-button:before,
  #cssmenu>ul>li>.submenu-button:after {
    /* background-color: white !important; */
    border-top: 4px solid #6d6542 !important;
  }
}

@media (min-width: 766px) {
    #server_menu_new #cssmenu>ul li ul li a {
        width: 100%; 
    }

  #server_menu_new #cssmenu>div {
    display: none !important;
  }

    #server_menu_new #cssmenu>ul {
        display: flex !important;
        background-color: #ffffff;
        padding: 16px 15px;
        flex-direction: column;
        box-shadow: 0px 0px 10px #00000030;
        border-radius: 10px;
    }
}

@media (min-width: 992px) {
  .footer-detail {
    display: flex;
    align-items: flex-start;
    justify-content: center;
  }

  .row-three-bg {
    justify-content: center;
    align-items: center;
  }

  .row-six-bg {
    justify-content: center;
    align-items: center;
  }
}

@media (max-width: 575px) {
  .card_box .bottom-left.feature_box2 {
    max-width: 47.5%;
    height: auto;
  }

  .card_box .bottom-right.feature_box2 {
    max-width: 47.5%;
    height: auto;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .card_box .bottom-left.feature_box2 {
    max-width: 45%;
    height: auto;
  }

  .card_box .bottom-right.feature_box2 {
    max-width: 45%;
    height: auto;
  }
}

@media (max-width: 767px) {
  #facebook_icon {
    display: none;
  }

  #line_icon {
    display: none;
  }

  header #navbar-guildline ul#guildline-list .navi-text-header {
    width: 32.5px;
    height: 32.5px;
    line-height: 16.25px;
  }
}

@media (min-width: 768px) and (max-width: 1000px) {
  header #sitelink_dropdown {
    margin-top: 22.5px;
    margin-left: -175px;
  }

  #sitelink_home {
    position: absolute;
    display: block !important;
    padding: 22.5px;
    right: 10px;
    bottom: 0px;
  }
}

@media (min-width: 1001px) {
  #sitelink_home {
    position: absolute;
    right: 10px;
    margin-top: -72.5px;
    display: block !important;
    padding: 25px;
  }
}
/* container */
@media (min-width: 1441px) {
    .container {
        max-width: 1440px !important;
    }
}
@media (min-width: 1200px) {
/* .container {
    max-width: 1440px !important;
  }*/
  .box-detail {
    max-width: 1440px !important;
    position: relative;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 970px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 750px;
  }
}

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

#server_menu_new #cssmenu > ul::before {
    content: "เมนู";
    display: block;
    font-size: 25px;
    font-weight: 600;
    color: #333;
    padding: 6px 0 4px;
    margin: 15px;
}

.floating-panel {
    position: fixed;
    right: 15px;
    top: 70%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    z-index: 9999;
    background: #ffffff;
    border: 2px solid #1a3a6b;
    border-radius: 16px;
    padding: 16px 10px;
    box-shadow: 0 8px 32px rgba(26,58,107,0.25);
    backdrop-filter: blur(8px);
  }
  .panel-label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 11px;
    font-weight: 700;
    color: #1a3a6b;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
  }
  .divider {
    width: 1px;
    height: 192px;
    background: #ccd6e8;
    border-radius: 1px;
  }
  .floating-panel-d-flex {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .icon-btn {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
  }
  .icon-btn:hover { transform: scale(1.15); }
  .icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }
  .icon-circle svg { width: 26px; height: 26px; fill: #fff; }
  .icon-label { font-size: 9px; font-weight: 600; color: #444; letter-spacing: 0.5px; }
  .tooltip {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    background: #1a3a6b;
    color: #fff;
    font-size: 11px;
    white-space: nowrap;
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
  }
  .tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #1a3a6b;
  }
  .icon-btn:hover .tooltip { opacity: 1; }


.btn-view-all {
    display: flex;
    padding: 10px 28px;
    background-color: #B38B47;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    border-radius: 0px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0px auto;
}
    .btn-view-all:hover {
        background-color: #2e4480;
        color: #ffffff;
        text-decoration: none;
    }
.tiva-timetable {
    padding: 10px 0px !important;
    background-color: transparent !important;
    margin: 0px !important;
}
.tiva-timetable table.timetable-month, .tiva-timetable table.timetable-month th, .tiva-timetable table.timetable-month td {
    border: unset !important;
    background-color: #fff !important;
}

