body {
  font-family: "CHULALONGKORN", sans-serif;
  font-size: 110%;
}

h1, h2, h3, h4, h5, h6, p {
  font-family: "CHULALONGKORN", sans-serif;
  margin: 0;
}

h1, h2, h3, h4, h5 {
  font-weight: bold;
}

.header-default {
  position:relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.8);
  width: 100%;
  color: #fff;
}

.text-grey {
  color: #888888;
}

a {
  color: #6aa8d9;
}

a:hover {
  color: #047bbd;
}

.btn-block {
  width: 100%;
}

.btn-round {
  border-radius: .6rem;
}

.btn-default {
  background-color: #6aa8d9;
  color: #ffffff;
  border-color: #6aa8d9;
}

.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active,
.open .dropdown-toggle.btn-default {
  background-color: #047bbd;
  color: #ffffff;
  border-color: #047bbd;
}

.btn-outline-default {
  background-color: transparent;
  color: #6aa8d9;
  border-color: #6aa8d9 !important;
}

.btn-outline-default:hover,
.btn-outline-default:focus,
.btn-outline-default:active,
.btn-outline-default.active,
.open .dropdown-toggle.btn-outline-default {
  background-color: transparent;
  color: #047bbd;
  border-color: #047bbd !important;
}

.btn-outline-white-default {
  background-color: transparent;
  color: #ffffff;
  border-color: #ffffff !important;
}

.btn-outline-white-default:hover,
.btn-outline-white-default:focus,
.btn-outline-white-default:active,
.btn-outline-white-default.active,
.open .dropdown-toggle.btn-outline-white-default {
  background-color: transparent;
  color: #cccccc;
  border-color: #cccccc !important;
}

.badge {
  font-weight: normal !important;
  cursor: pointer;
  border: 1px solid transparent;
}

.dropdown {
  cursor: pointer;
  color: #888888;
}

.dropdown:hover {
  cursor: pointer;
  color: #022d40;
}

.dropdown-item {
  cursor: pointer;
  padding: 0.2rem 0.5rem !important;
}

.dropdown-menu a:active {
  color: #212529 !important;
  background-color: #eeeeee !important;
}

.card-default {
  background-color: #fff;
  border: 1px solid #e8e8e8; 
  border-radius: .8rem;
  overflow: hidden;
}

.card-button-default {
  margin-left: -1rem;
  margin-right: -1rem;
  margin-bottom: -1rem;
  text-align: center;
  cursor: pointer;
}

.card-hover-default:hover {
  transform: translate(0, -.2rem);
  transition: transform 200ms ease-in-out 0s;
  box-shadow: 0 2px 4px #eee;
  cursor: pointer;
}

hr {
  border-color: #ddd;
}

.tag {
  position: absolute;
  right: 8px;
  top: 8px;
  background-color: rgba(255, 0, 0);
  color: white;
  padding: 1px 12px;
  border-radius: 1000px;
}

.inputfile {
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
}

.title-default {
  font-weight: bold;
  width: fit-content;
  position: relative;
}

.title-default::after {
  content: "";
  background: #6aa8d9;
  height: .4rem;
  width: 2rem;
  position: absolute;
  bottom: -.6rem;
  left: .1rem;
  z-index: -1;
}

.icon-col > * {
  vertical-align: middle;
}

@media (min-width: 768px) {
  .row-cols-md-8 > * {
      flex: 0 0 auto;
      width: 12.5%;
  }
}

@media (min-width: 992px) {
  .row-cols-lg-10 > * {
      flex: 0 0 auto;
      width: 10%;
  }
}

@media (min-width: 1200px) {
  .row-cols-xl-12 > * {
      flex: 0 0 auto;
      width: 8.33%;
  }
}

.modal-content {
  border-radius: .8rem;
}

.modal-body {
  padding: 1.4rem;
}

.news-imgs {
  width: 100%; 
  height:0; 
  padding-top:100%; 
  border-radius:.4rem;
  background-size: cover !important;
  background-position: center !important;
}