@font-face {
  font-family: Kanit-Regular;
  src: url(Kanit/Kanit-Regular.ttf);
}
@font-face {
  font-family: Kanit-Light;
  src: url(Kanit/Kanit-Light.ttf);
}
@font-face {
  font-family: Kanit-Bold;
  src: url(Kanit/Kanit-Bold.ttf);
}
@font-face {
  font-family: Kanit-Medium;
  src: url(Kanit/Kanit-Medium.ttf);
}

@keyframes slideInFromBottom {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes slideInFromtop {
  from {
    transform: translateY(-100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.divider {
  background-color: white;
  width: 100%;
  height: 1px;
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 0;
  margin-right: 0;
}
.divider-dark {
  background-color: #b5b5b5;
  width: 100%;
  height: 1px;
  margin-top: 1em;
  margin-bottom: 1em;
}
h5 {
  font-family: "Kanit-Regular";
}
h3 {
  font-family: "Kanit-Light";
  font-size: 40px !important;
}
.h3-orange {
  color: #ef7b1d;
}
.h3-main {
  color: #1f6adb;
}
ul li {
  cursor: pointer;
}
ul li:hover {
  color: #1f6adb;
}
ol li {
  cursor: pointer;
}
ol li:hover {
  color: #1f6adb;
}
ol li a {
  cursor: pointer;
}
ol li a:hover {
  color: #1f6adb;
}
.header-div {
  width: fit-content;
  height: 75px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(2.5px);
  color: #1f6adb;
  align-items: center;
  font-family: Kanit;
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}
.body1 {
  font-family: "Kanit-Light";
  font-size: 23px;
  animation: ease-out 1s 1 slideInFromBottom;
}
.headtitle {
  width: 530px;
  height: 63px;
  background-color: #fff;
  border: 1px solid #1f6adb;

  align-items: center;
  display: flex;
  justify-content: center;

  font-family: "Kanit-Light";
  font-size: 36px;
  color: #1f6adb;
}
.backto {
  color: #fff;
  text-decoration: underline;
  cursor: pointer;
}
.backto:active {
  color: #1f6adb;
}
a.btnMore {
  color: #fff;
  text-decoration: none;
  width: fit-content;
  background-color: #1f6adb;
  display: block;
  margin: auto;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-radius: 16px;
  cursor: pointer;
  margin-bottom:10px;
}
.titleHeader h3 {
  color: #1f6adb;
  margin: 0;
  padding: 0;
}
.titleHeaderOrange {
  color: #ef7b1d;
  margin: 0;
  padding: 0;
}
.textbold {
  font-family: "Kanit-Medium";
}
ul li a {
  color: #000;
  text-decoration: none;
}

a.btnMore:active {
  background-color: #0a58ca;
}
.card-social {
  background-color: #fff;
  border-radius: 12px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0.5em;
  margin-right: 0.5em;
}
.dark-bg {
  width: 100%;
  height: 100%;
  z-index: 10px;
  background-color: black;
}
.font-weight-bold {
  font-weight: bold;
}
.breadchome {
  cursor: pointer;
}
.breadchome:hover {
  cursor: pointer;
  color: #0a58ca;
}
p.phover {
  color: #1f6adb;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
}
p.phover:hover {
  color: #0a58ca;
  font-weight: 700;
  cursor: pointer;

  text-decoration: none !important;
}
button.btn-more {
  color: #1f6adb;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  border-style:none;
  background: none;
  text-align: center;
  justify-content: center;
  padding-top: -3px !important;
  padding-bottom: 10px !important;
}
button.btn-more:hover {
  color: #0a58ca;
  font-weight: 700;
  cursor: pointer;
  border-style:none;
  background: none;
  text-decoration: none !important;
  text-align: center;
  justify-content: center;
  padding-top: -3px !important;
  padding-bottom: 10px !important;
}
button.btn-news {
  color: #1f6adb;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none !important;
  border-style:none;
  background: none;
  text-align: start;
  justify-content: start;
  padding-top: -3px !important;
  padding-bottom: 10px !important;
}
button.btn-news:hover {
  color: #0a58ca;
  font-weight: 700;
  cursor: pointer;
  border-style:none;
  background: none;
  text-decoration: none !important;
  text-align: start;
  justify-content: start;
  padding-top: -3px !important;
  padding-bottom: 10px !important;
}
ul li a:hover {
  color: #1f6adb;

  cursor: pointer;
}
a {
  text-decoration: none;
}
.sub-title {
  color: #ef7b1d;
}
#btn-back-to-top {
  position: fixed;
  width: 100px;
  height: 80px;
  bottom: -15px;
  right: -20px;
  display: none;
  border: none;
  border-radius: 70px 5px 5px 5px;
  color: #fff;
  transition: all 0.3s ease 0s;
  background-color: rgb(73, 82, 244);
  z-index: 1000;
}

.body-card {
  width: 100%;
  color: white;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  margin-top: 1em;
  margin-bottom: 1em;
  display: block;
  border-radius: 8px;

  text-align: start;
  word-wrap: break-word;
  overflow: hidden;
  max-height: 130px;
  color: #000 !important;
  font-weight: normal !important;
}
.title-card {
  width: 100%;
  color: white;
  bottom: 0;
  position: absolute;
  background-color: rgba(255, 255, 255, 0.7);
  margin: 0px;
  border-bottom-right-radius: 8px;
  display: block !important;
  border-bottom-left-radius: 8px;
}
.imgsubcoe {
  object-fit: cover;
}

@media screen and (max-width: 600px) {
  .carousel-caption .h5 {
    font-family: "Kanit-Regular";
    font-size: 26px;

    animation: ease-out 1s 1 slideInFromtop;
  }
  .body1 {
    font-size: 18px;
  }
}
