* {
  font-family: "Sarabun", sans-serif;
  font-size: 18px;
}

main > .container {
  padding: 75px 15px 20px;
}

.detail2line {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
}
.position-box {
  transition: box-shadow 0.3s ease;
}
.position-box:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-color {
  background-color: #40513b;
}

.navbar-nav .nav-link {
  color: #d3d3d3;
}

.navbar-nav .nav-link.active {
  color: #8a9a5b;
  font-weight: bold;
}

.navbar-toggler {
  color: #d3d3d3;
  border-color: #d3d3d3;
}

.navbar-toggler-icon {
  color: #d3d3d3;
}

.dropdown-item.active {
  background-color: #40513b;
}

.joblink {
  color: #4f6f52;
  text-decoration: none;
}

.joblink:hover {
  color: #739072;
}

a {
  color: #40513b;
  text-decoration: none;
}

.bg-green {
  background-color: #f1f5ef;
}

.footer {
  background-color: #e1ebdc;
  font-size: 0.9em;
  height: 50px;
}

.box1 {
  transition: box-shadow 0.3s ease; /* Adding transition for a smooth effect */
}

.box1:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Adding shadow effect on hover */
}

.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  content: "";
  left: 3px;
  display: inline-block;
  width: 0;
  height: 0;
  border: solid 5px transparent;
  margin: 4px 4px 2px 4px;
  background: transparent;
}

a.asc:after {
  border-bottom: solid 7px #212529;
  border-top-width: 0;
}

a.desc:after {
  border-top: solid 7px #212529;
  border-bottom-width: 0;
}

.grid-view th {
  white-space: nowrap;
}

.form-group {
  margin-bottom: 1rem;
}

.scrollable-text {
  overflow: auto;
  max-height: 400px;
  border: 1px solid #ccc;
  padding: 10px;
}
