#contents * {
  font-family: "noto_sans_kr";
}

#main-banner {
  height: 400px;
}

.page-title {
  text-align: center;
  padding: 60px 0;
}

.page-title > h3 {
  font-size: 3.2rem;
  font-weight: 600;
}

.sub-category {
  margin-bottom: 40px;
}

.sub-category ul {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #eee;
}

.sub-category ul > li {
  width: calc(100% / 3);
  text-align: center;
}

.sub-category ul > li:not(:last-child) {
  border-right: 1px solid #eee;
}

.sub-category ul > li > a {
  display: block;
  padding: 12px 0;
  color: #333;
  font-size: 1.6rem;
  font-weight: 500;
}

.sub-category ul > li.active > a,
.sub-category ul > li > a:hover {
  background-color: #01b7fc;
  color: #fff;
}

.table-parent {
}

.table-parent .table-title {
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.table-parent .table-title > h3 {
  font-size: 2.2rem;
  font-weight: 600;
  color: #555;
}

.table-parent .table-title #search-form {
  flex: 0 1 auto;
}

.table-parent .table-title #search-form input {
  width: 200px;
  height: 32px;
  border: 1px solid #eee;
  padding-left: 8px;
  border-radius: 4px;
  font-size: 1.2rem;
}

.table-parent .table-title #search-form button {
  padding: 0 12px;
  height: 32px;
  border-radius: 4px;
  font-size: 1.2rem;
  background-color: #01b7fc;
  color: #fff;
}

.table-parent table {
  border-collapse: collapse;
  width: 100%;
}

.table-parent table tr th {
  border-top: 2px solid #bbb;
  background-color: #fafafa;
  border-bottom: 1px solid #dfdfdf;
  text-align: center;
  padding: 10px 0;
  font-size: 1.6rem;
}

.table-parent table tr td {
  padding: 12px 0;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 500;
  border-bottom: 1px solid #efefef;
  cursor: pointer;
}

.table-parent table tr td:nth-child(2) {
  text-align: left;
}

.table-parent table tr td:nth-child(2) span {
  display: block;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-parent .board-category {
  margin-bottom: 10px;
}

.table-parent .board-category > ul {
  gap: 10px 10px;
}

.table-parent .board-category > ul > li {
  height: 30px;
}

.table-parent .board-category > ul > li > a {
  line-height: 30px;
  display: block;
  height: 100%;
  padding: 0 16px;
  background-color: #fff;
  border: 1px solid #dfdfdf;
  font-size: 1.2rem;
  color: #555;
  border-radius: 2px;
  font-weight: 500;
}

.table-parent .board-category > ul > li.active > a,
.table-parent .board-category > ul > li > a:hover {
  background-color: #01b7fc;
  color: #fff;
  border: 0;
}

footer {
  /* margin-top: 30px; */
}

@media (max-width: 767px) {
  .table-parent .table-title {
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
  }

  .table-parent .table-title #search-form input {
    width: 150px;
  }

  .table-parent table thead {
    display: none;
  }

  .table-parent table,
  .table-parent table tbody {
    display: block;
  }

  .table-parent table tr th {
    display: none;
  }

  .table-parent table tr {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #efefef;
    width: 100%;
  }

  .table-parent table tr td {
    border-bottom: 0;
    border-top: 0;
  }

  .table-parent table tr th:nth-child(1),
  .table-parent table tr td:nth-child(1) {
    flex: 0 1 60px !important;
  }

  .table-parent table tr th:nth-child(2),
  .table-parent table tr td:nth-child(2) {
    flex: 1 1;
  }

  .table-parent table tr th:nth-child(3),
  .table-parent table tr td:nth-child(3) {
    display: none;
  }

  .table-parent table tr th:nth-child(4),
  .table-parent table tr td:nth-child(4) {
    display: none;
  }
}

.board-pagination ul .prev-page,
.board-pagination ul .next-page {
  transform: translateY(7px);
}
