@import url('https://fonts.googleapis.com/css2?family=Fahkwang:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Niramit&display=swap');
body {
  height: 100%;
  color: #333333;
  font-family: 'Sarabun', sans-serif;
  font-weight: 300;
}
.loader {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url('../img/pageLoader.gif') 50% 50% no-repeat rgb(249,249,249,0.6);
	opacity: .8;
}
@media all and (min-width: 768px) {
  .fancybox-thumbs {
    top: auto;
    width: auto;
    bottom: 0;
    left: 0;
    right : 0;
    height: 95px;
    padding: 10px 10px 5px 10px;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.3);
  }
  
  .fancybox-show-thumbs .fancybox-inner {
    right: 0;
    bottom: 95px;
  }
}
.album {
  border: 1px solid rgba(0, 0, 0, .125);
  border-radius: .25rem;
}
.bg-white {
  background-color: #ffffff !important
}
h5.card-title {
  font-size: 1rem;
  font-weight: 400;
}
.card-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.detail p {
  line-height: 1.7;
	text-indent: 40px;
}
.detail ol, ul {
	margin-left: 30px;
}
.detail h3 {
	line-height: 1.5;
}
[type=text], [type=password] {
  font-size: 0.85rem;
  line-height: 1.1;
}
.card {
	margin: -5px;
}
.n-news:hover {
  border: 1px solid rgba(255,153,0,0.81);
  box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
}
main>img.ncclogo {
  float: left;
  margin-right: 5px;
  margin-bottom: 0px;
  height: 70px;
}
hr {
	color: transparent;
}
@media (min-width: 768px) {
  main>h3 {
      font-size: 1.4rem;
      line-height: 1.1;
	  margin-top: 0.65rem;
	  margin-bottom: 0;
  }
  main>h3>span {
      font-size: 0.9rem;
	  line-height: 1;
	  margin-bottom: 0;
  }
}
@media (max-width: 414px) {
  main>h3 {
      font-size: 1.05rem;
      line-height: 1.2;
	  margin-top: 0.3rem;
  }
  main>h3>span {
      font-size: 0.8rem;
	  margin-bottom: 0;
  }
  main>img.ncclogo {
      height: 50px;
  }
  .card-body {
    padding: 7px;
  }
}
@media (max-width: 320px) {
  main>img.ncclogo {
      height: 45px;
  }
  main>h3 {
      font-size: 0.9rem;
      line-height: 1.2;
	  margin-top: 0.45rem;
  }
  main>h3>span {
      font-size: 0.65rem;
	  margin-bottom: 0;
  }
  .card-body {
    padding: 7px;
  }
}
.pcover {
  position: relative;
}
.pcover-txt {
  position: absolute;
  bottom: 0;
  background-color: rgb(0,0,0,0.75);
  color: #ffffff;
  font-family: 'Niramit', sans-serif;
  text-align: center;
  width: 100%;
}
.pcover-txt h3 {
    font-weight: 300;
	padding: 15px 20px 10px;
}
@media (max-width: 414px) {
	.pcover-txt h3 {
		font-size: 0.98rem
	}
}
.al-covid {
  background-image: url("../img/bg2.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: local;
  background-position: center center;
  opacity: 0.7;
  text-shadow: 2px 2px 2px #fff;
}
.credit {
  height: 30px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: #333333;
  text-align: center;
}