.topbg {
  background-image: url("../images/top_bg.png");
  background-repeat: repeat-x;
  height: 550px;
}

.top_left_bg {
  background-image: url("../images/top_title_img01-5.png");
  height: 550px;
  max-width: 702px;
  min-width: 702px;
}

.top_right_bg {
  /* background-image: url("../images/top_image.jpg"); */
  /* background-image: url("../images/mclaren_4.jpg"); */
  height: 460px;
  width: 1000px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.top_logo {
  margin-left: 10px;
}

.main_left_tabbar {
  border-bottom: 1px solid #ebebeb;
  opacity: 1;
}

.main_left_tabbar_list {
  font-size: 22px;
  color: #03356a;
  padding-top: 5px;
}

.main_tab_rows:hover {
  background-color: #e6f2ff;
}

.main_tab_rows {
  padding: 8px;
  margin: 10px;
}

.tab_underline {
  border-bottom: 1px solid #ebebeb;
  margin-left: 10px;
  margin-right: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.news_title {
  font-size: 18px;
  color: #03356a;
}

.news_subtitle {
  font-size: 16px;
  color: #636365;
}

.service_list_lg {
  width: 100%;
  height: 180px;
  background-size: 100%;
  cursor: pointer;
}

.service_list_md {
  width: 70px;
  height: 70px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
}

.video-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.video-container::after {
  padding-top: 56.25%;
  display: block;
  content: "";
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

body {
  font-family: "Kanit", sans-serif;
}

h1 {
  font-family: "Kanit", sans-serif;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
}

.card-calendar {
  background-color: #ffffff;

  width: 400px;
  height: 431px;
  top: 78px;
  left: 0px;
  padding: 25px;
  border-radius: 5px 5px 5px 0px;
  box-shadow: 0px 29px 29px 0px #0000001a;
  z-index: 2;
}

th.prev>i.fas.fa-arrow-left:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f100";
}

th.next>i.fas.fa-arrow-right:before {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f101";
}

th.datepicker-switch {
  font-size: 20px;
}

.card-calendar>div.datepicker {
  margin-top: 15px;
}

.card-list-activities {
  background-color: #082f5d;
  width: 475px;
  padding: 25px;
  padding-left: 85px;
  height: 570px;
  left: -60px;
}

.overflow-activities {
  max-height: 435px;
  overflow-y: auto;
  padding: 10px;
}

.card-list-activities .title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  line-height: 29.9px;
  letter-spacing: 0.01em;
  padding-top: 15px;
}

.card-list-activities .border-title {
  border: 1px solid #bfc8d1;
  width: 77px;
}

.list-activities {
  color: #ffff;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-bottom: 1.7px dotted #bfc8d1;
}

.list-activities a {
  color: #ffff;
  font-size: 18px;
  max-width: 560px;
}

.list-activities a:hover {
  color: #ffff;
}

.list-activities i {
  color: #72d5ff;
}

.faq {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  background-color: #fff;
  border-left: 5px solid #e9ecef;
  padding: 1rem;
  cursor: pointer;
}

.faq.active {
  border-left-color: #03356a;
}

.faq i.fas {
  color: #03356a;
  font-weight: 600;
  font-size: 18px;
}

.faq .text-question {
  font-size: 15px;
  font-weight: 600;
  line-height: 22.5px;
  color: #3A6597;

}

.faq .box-question {
  gap: 1rem;
}

.faq .icon-faq {
  width: 32px;
  height: 32px;
  top: 24px;
  left: 26px;
  padding: 2px 9px 3px 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
}

.icon-faq.c-question {
  background: #0a224b;
}

.icon-faq.c-answer {
  background: #EAEAEF;
  color: #3A6597;

}

.nav-top {
  width: 100%;
  /* Start the background image from the top-right corner */
  background-repeat: no-repeat;
  height: 360px;
  color: #0A224B;
  background-size: 48rem;
  background-position: right 10px;
}

.nav-bar-top {
  gap: 10px;
  /* position: absolute; */

  /* background-color: rgb(255 255 255 / 30%); */
}

.nav-bar-top i {
  padding: 0px 4px;
}

.nav-bar-top>a,
.nav-bar-top div a {
  color: #0A224B;
  font-weight: 400;
}

.title {
  color: #0A224B;
  /* color: #8db5ff; */
}

.nav-top .title {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0.4px;
  margin-top: 90px;
  max-width: 800px;
}

.nav-top .border-line {
  position: relative;
  width: 200px;
  /* background: linear-gradient(90deg, #082F5D 50%, #ED1D25 50%); */
  /* z-index: 1; */
}

.nav-top .border-line::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 6px;
  /* Border height */
  background: linear-gradient(90deg, #082F5D 50%, #ED1D25 50%);
}

.header-title {
  color: #082F5D;
  font-size: 30px;
  font-weight: 600;
}

/* fix paginate */
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: transparent !important;
  box-shadow: inset 0 0 3px #111;
  border: none !important;
  box-shadow: none !important;
}

.page-link {
  border: 1px solid #BFC8D1;
  color: #082F5D;
  padding: .2rem 0.45rem !important;
  ;
}

.paging_simple_numbers ul.pagination li.paginate_button.page-item>a.page-link,
.page-item.page-link {
  border-radius: 14px !important;
  width: 27px;
  height: 27px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: .5em 0.5em !important;
}

.page-item.active .page-link {
  background-color: #082F5D !important;
  border-color: #082F5D !important;
}

.paging_simple_numbers .pagination li:first-child>.page-link,
.paging_simple_numbers .pagination li:last-child>.page-link {
  border: none !important;
  background-color: transparent !important;

}

#organization_table_previous>a.page-link i,
#organization_table_next>a.page-link i {
  border: none !important;
  color: #082f5d !important;
  ;
}


/* ===== Headers And Content===== */

.header:where(h4) {
  color: #082f5d;
  font-weight: 600;
  font-size: 20px;
}

.table-content :where(th) {
  background-color: #082F5D;
  color: #fff;
}


.sub-title-header {
  padding-bottom: 3rem !important;
  position: relative;
  top: 40px;
  font-size: 20px;
  max-width: 750px;
}

.nav-item,
.dropdown-item {
  position: relative !important;
  font-size: 11px !important;
}

.table-wrapper {
  width: 360px;
  overflow-x: auto;
}

.card-img-top {
  height: 200px;
}

.breadcrumb-item {
  font-size: 13px;
}

@media only screen and (min-width: 600px) {
  .sub-title-header {
    padding-bottom: 3rem !important;
  }

  .breadcrumb-item {
    font-size: 13px;
  }

  .card-img-top {
    height: 200px;
  }

  .table-wrapper {
    width: 360px;
    overflow-x: auto;
  }

  .title {
    /* color: #8db5ff; */
    font-size: 28px !important;
  }

  .nav-top {
    font-size: 20px !important;
    background-size: 65rem;
  }

  .card-list-activities {
    width: 355px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .sub-title-header {
    padding-bottom: 0rem !important;
  }

  .breadcrumb-item {
    font-size: 15px;
  }

  .card-img-top {
    height: 350px;
  }

  .card-list-activities {
    height: 480px;
  }

  .card-calendar {
    height: 320px;
  }

  .datepicker td,
  .datepicker th {
    font-size: 12px;
    height: 30px;
  }

  .table-wrapper {
    width: 700px;
    overflow-x: hidden;
  }

  .title {
    /* color: #8db5ff; */
    font-size: 28px !important;
  }

  .nav-top {
    font-size: 20px !important;
    background-size: 65rem;
  }

  .card-list-activities {
    width: 455px;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  .sub-title-header {
    padding-bottom: 0rem !important;
  }

  .breadcrumb-item {
    font-size: 18px;
  }

  .card-img-top {
    height: 200px;
  }

  .card-list-activities {
    height: 570px;
  }

  .card-calendar {
    height: 431px;
  }

  .datepicker td,
  .datepicker th {
    font-size: 17px;
    height: 45px;
  }

  .table-wrapper {
    width: 950px;
    overflow-x: hidden;
  }

  .title {
    /* color: #0A224B; */
    font-size: 28px !important;
  }

  .nav-top {
    font-size: 24px !important;
    background-position: right top;
    background-size: auto;
  }

  .card-list-activities {
    width: 555px;
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  .sub-title-header {
    padding-bottom: 0rem !important;
  }

  .breadcrumb-item {
    font-size: 18px;
  }

  .table-wrapper {
    width: 100%;
    overflow-x: hidden;
  }

  .nav-top {
    font-size: 28px !important;
    background-position: right top;
    background-size: auto;
  }

  .title {
    /* color: #0A224B; */
    font-size: 28px !important;
  }

  .nav-item,
  .dropdown-item {
    font-size: 14px !important;
  }

  .card-list-activities {
    width: 755px;
  }
}