/* Shared crisp board treatment for Stone Plaza and Stone Helper list pages. */
#divSubBoard {
  color: #7d5d36;
  font-family: "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: auto;
}

#divSubBoard *,
#divSubBoard *::before,
#divSubBoard *::after {
  box-sizing: border-box;
}

#divSubBoard .bbs_default,
#divSubBoard .bbs_num,
#divSubBoard .bbs_num_bold,
#divSubBoard .bbs_li_user {
  font-family: "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: auto;
}

#divSubBoard .sa-board-summary {
  width: 580px;
  height: 30px;
  table-layout: fixed;
}

#divSubBoard .sa-board-summary td {
  height: 30px;
  padding: 0;
  vertical-align: middle;
}

#divSubBoard .sa-board-summary td:first-child {
  padding: 1px 0 0 10px !important;
  color: #7d5d36;
  font: 400 12px/18px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
}

#divSubBoard .sa-board-summary td:last-child {
  width: 50px;
  text-align: right;
}

#divSubBoard .sa-board-list {
  width: 580px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

#divSubBoard .sa-board-list tr:has(> td.bbs_bg_headerline_top),
#divSubBoard .sa-board-list .bbs_bg_header + tr:has(> td.bbs_bg_headerline) {
  display: none;
}

#divSubBoard .sa-board-list .bbs_bg_header {
  display: grid;
  width: 580px;
  height: 28px;
  border-top: 2px solid #876135;
  border-bottom: 1px solid #e2be61;
  background: #f4e0ab;
}

#divSubBoard .sa-board-list.sa-board-five-column .bbs_bg_header {
  grid-template-columns: 46px 296px 93px 81px 64px;
}

#divSubBoard .sa-board-list.sa-board-six-column .bbs_bg_header {
  grid-template-columns: 46px 304px 98px 46px 46px 40px;
}

#divSubBoard .sa-board-list .bbs_bg_header td {
  display: block;
  width: auto;
  height: 26px;
  padding: 5px 0 0;
  border-right: 1px solid #d3a343;
  background: transparent;
  color: #7d5d36;
  font: 400 12px/16px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
  font-synthesis: none;
  text-align: center;
  text-rendering: auto;
  white-space: nowrap;
}

#divSubBoard .sa-board-list .bbs_bg_header td.bbs_vbar {
  display: none;
}

#divSubBoard .sa-board-list .bbs_bg_header td:last-child {
  border-right: 0;
}

#divSubBoard .sa-board-list .bbs_bg_header b,
#divSubBoard .sa-board-list .bbs_bg_header strong {
  font-weight: 400;
}

#divSubBoard .sa-board-list tr:has(> td.bbs_bg_line),
#divSubBoard .sa-board-list > tbody > tr:last-child:has(> td.bbs_bg_headerline),
#divSubBoard .sa-board-list > tr:last-child:has(> td.bbs_bg_headerline) {
  display: none;
}

#divSubBoard .sa-board-list .sa-board-data-row {
  display: grid;
  width: 580px;
  min-height: 28px;
  border-bottom: 1px solid #e2be61;
}

#divSubBoard .sa-board-list.sa-board-five-column .sa-board-data-row {
  grid-template-columns: 46px 296px 93px 81px 64px;
}

#divSubBoard .sa-board-list.sa-board-six-column .sa-board-data-row {
  grid-template-columns: 46px 304px 98px 46px 46px 40px;
}

#divSubBoard .sa-board-list .sa-board-data-row > td {
  display: flex;
  width: auto;
  min-width: 0;
  min-height: 28px;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #7d5d36;
  font: 400 12px/18px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
  text-align: center;
  vertical-align: middle;
}

#divSubBoard .sa-board-list .sa-board-data-row > .sa-board-title-cell {
  padding-left: 8px;
  justify-content: flex-start;
  text-align: left;
}

#divSubBoard .sa-board-list .sa-board-data-row > .sa-board-title-cell a {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#divSubBoard .sa-board-list .sa-board-notice-row > td,
#divSubBoard .sa-board-list .sa-board-notice-row > td a {
  font-weight: 700;
}

#divSubBoard .sa-board-list .sa-board-writer-logo img {
  display: block;
  max-width: 60px;
  max-height: 20px;
}

#divSubBoard .sa-board-list .sa-board-image-row {
  min-height: 45px;
}

#divSubBoard .sa-board-list .sa-board-image-row > td {
  min-height: 45px;
}

#divSubBoard .sa-board-list .sa-board-image-title {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 5px;
}

#divSubBoard .sa-board-list .sa-board-image-title .sa-board-thumb {
  display: flex;
  width: 50px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9c9c9;
  background: #fff;
}

#divSubBoard .sa-board-list .sa-board-image-title .sa-board-thumb img {
  display: block;
  width: 46px;
  height: 36px;
}

#divSubBoard .sa-board-list > tbody > tr:not(.bbs_bg_header) > td,
#divSubBoard .sa-board-list > tr:not(.bbs_bg_header) > td {
  font-family: "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: auto;
}

#divSubBoard .sa-board-footer-controls {
  width: 580px;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

#divSubBoard .sa-board-lower-write > td {
  height: 30px;
  padding: 0;
  text-align: right;
  vertical-align: middle;
}

#divSubBoard .sa-board-pagination > td {
  height: 30px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

#divSubBoard .sa-board-pagination .bbs_num {
  margin: 0 auto;
}

#divSubBoard .sa-board-search-row > td {
  height: 40px;
  padding: 0;
  text-align: center;
  vertical-align: middle;
}

#divSubBoard .sa-board-search-form {
  height: 20px;
  margin: 0 auto;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

#divSubBoard .sa-board-search-form.sa-board-search-compact {
  width: 450px;
}

#divSubBoard .sa-board-search-form.sa-board-search-wide {
  width: 470px;
}

#divSubBoard .sa-board-search-form.sa-board-search-compact td:nth-child(1),
#divSubBoard .sa-board-search-form.sa-board-search-wide td:nth-child(1) {
  width: 120px;
}

#divSubBoard .sa-board-search-form.sa-board-search-compact td:nth-child(2) {
  width: 85px;
}

#divSubBoard .sa-board-search-form.sa-board-search-wide td:nth-child(2) {
  width: 105px;
}

#divSubBoard .sa-board-search-form.sa-board-search-compact td:nth-child(3),
#divSubBoard .sa-board-search-form.sa-board-search-wide td:nth-child(3) {
  width: 205px;
}

#divSubBoard .sa-board-search-form.sa-board-search-compact td:nth-child(4),
#divSubBoard .sa-board-search-form.sa-board-search-wide td:nth-child(4) {
  width: 40px;
}

#divSubBoard .sa-board-search-form td {
  height: 20px;
  padding: 0 5px 0 0 !important;
  text-align: left;
  vertical-align: top;
}

#divSubBoard .sa-board-search-form td:last-child {
  width: 40px;
  padding-right: 0 !important;
}

#divSubBoard .sa-board-search-form select,
#divSubBoard .sa-board-search-form input[type="text"] {
  height: 20px;
  margin: 0;
  border: 1px solid #aa9a7f;
  border-radius: 0;
  background: #fff;
  color: #6f4f27;
  font: 400 12px/18px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", sans-serif;
  vertical-align: top;
}

#divSubBoard .sa-board-search-form select {
  padding: 0 2px;
  font-family: "Malgun Gothic", "맑은 고딕", Dotum, "돋움", sans-serif !important;
}

#divSubBoard .sa-board-search-form input[type="text"] {
  padding: 0 4px;
  border-color: #e2be61;
}

#divSubBoard .sa-board-summary .sa-cji-btn,
#divSubBoard .sa-board-lower-write .sa-cji-btn,
#divSubBoard .sa-board-search-form .sa-cji-btn {
  box-sizing: border-box;
  min-width: 0;
  height: 20px;
  padding: 0;
  color: #fff !important;
  font: 700 11px/18px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", sans-serif;
  font-synthesis: none;
  text-align: center;
  text-decoration: none;
  text-rendering: auto;
  white-space: nowrap;
}

#divSubBoard .sa-board-summary .sa-cji-btn,
#divSubBoard .sa-board-lower-write .sa-cji-btn {
  width: 50px !important;
}

#divSubBoard .sa-board-search-form .sa-cji-btn {
  width: 40px !important;
}

/* The screenshot board keeps its original thumbnail grid. */
#divSubBoard .sa-board-thumbnail-list,
#divSubBoard .sa-board-thumbnail-list * {
  font-family: "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: auto;
}

/* Stone Helper's talk board has a distinct four-column structure. */
#BbsTalk,
#BbsTalk .tb_list_top,
#BbsTalk .tb_list,
#BbsTalk .tb_list th,
#BbsTalk .tb_list td {
  font-family: "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
  font-synthesis: none;
  letter-spacing: 0;
  text-rendering: auto;
}

#BbsTalk .tb_list_top td {
  font: 400 12px/18px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
}

#BbsTalk .tb_list th {
  box-sizing: border-box;
  border-right: 1px solid #d3a343;
  color: #7d5d36;
  font: 400 12px/16px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
}

#BbsTalk .tb_list th:last-child {
  border-right: 0;
}

#BbsTalk .tb_list th strong {
  font-weight: 400;
}

#BbsTalk .tb_list .w_noli {
  font: 400 12px/18px "Malgun Gothic", "맑은 고딕", Dotum, "돋움", Arial, sans-serif;
}
