#bo_btn_top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

#bo_btn_top > ul {
  display: flex;
  align-items: center;
  gap: 10px;
}

#bo_btn_top > ul > li > button {
  font-size: 1rem;
  padding: 5px 10px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  background: #f0f0f0;
}

#bo_btn_top > ul > li > a {
  display: flex;
  padding: 8px 10px;
  font-size: 1rem;
  border-radius: 10px;
  background: #f0f0f0;
}

#bo_btn_top > ul > li > a:hover {
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2);
}

#bo_btn_top > ul > li > a > i {
  margin-right: 5px;
}

.subCentainner > .subSection1 {
  position: relative;
  width: 80%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 100px 0;
}

.subCentainner > .subSection1 > .textBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.subCentainner > .subSection1 > .textBox > div {
  width: 25px;
  height: 1px;
  border-bottom: 2px solid;
  border-image: linear-gradient(
    to bottom right,
    var(--main-color3),
    var(--main-color)
  );
  border-image-slice: 1;
}

.subCentainner > .subSection1 > .btnBox {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}

.subCentainner > .subSection1 > .btnBox > button {
  font-size: 1.3rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin-bottom: 50px;
}

.subCentainner > .subSection1 > .btnBox > button.show {
  background: linear-gradient(
    to bottom right,
    var(--main-color),
    var(--main-color3)
  );
  color: #fff;
}

.board_wrap {
  width: 100%;
}

.board_list {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333;
}

.board_list caption {
  display: none;
}

.board_list th {
  padding: 15px 0;
  background-color: #f9fafc;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
  color: #333;
  font-size: 1.1rem;
}

.board_list th:nth-child(2) {
  width: 50%;
}

.board_list td {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  text-align: center;
  font-size: 1.2rem;
  color: #555;
}

.board_list td.title {
  color: #333;
  font-weight: 500;
}

.board_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 50px;
}

.search_box {
  width: 100%;
}

.search_box > form {
  width: 100%;
  display: flex;
  gap: 10px;
}

.sch_bar_box {
  width: 100%;
  display: flex;
  gap: 10px;
}

.sch_bar {
  display: flex;
  gap: 10px;
}

.search_box select {
  padding: 8px 15px;
  border: 1px solid #ddd;
  background-color: #f9fafc;
  color: #555;
}

.search_box input {
  padding: 8px 15px;
  border: 1px solid #ddd;
  background-color: #f9fafc;
  width: 250px;
}

button {
  cursor: pointer;
  padding: 8px 25px;
  border: none;
  font-size: 14px;
}

.sch_btn {
  background-color: #5c6bc0;
  color: #fff;
}

.btn_write {
  background-color: #fff;
  border: 1px solid #aaa;
  color: #333;
  margin-left: auto;
}

.search_box select,
.search_box input,
.search_box .sch_btn {
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  box-sizing: border-box;
  vertical-align: middle;
  border: 1px solid #ddd;
  font-size: 1.1rem;
}

@media screen and (max-width: 1025px) {
  .subCentainner > .subSection1 {
    width: 90%;
  }
}

@media screen and (max-width: 640px) {
  .subCentainner > .subSection1 {
    padding: 50px 0;
  }

  #bo_btn_top {
    flex-direction: column-reverse;
    align-items: start;
    gap: 20px;
  }

  #bo_btn_top > ul {
    flex-wrap: wrap;
  }

  .board_list > thead {
    display: none;
  }

  .board_list > tbody > tr {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid #dadada;
  }

  .board_list td {
    font-size: 1rem;
  }

  .board_list > tbody > tr > td {
    text-align: left;
    padding: 0;
    border-bottom: 0;
  }

  .board_list > tbody > tr > td:nth-child(1) {
    display: none;
  }

  .board_list > tbody > tr > td:nth-child(3) {
    display: none;
  }

  .board_list > tbody > tr > td:nth-child(4) {
    display: none;
  }

  .board_list > tbody > tr > td:nth-child(5) {
    font-size: 0.9rem;
  }

  .search_box > form {
    flex-wrap: wrap;
  }

  .search_box input {
    width: auto;
  }

  .sch_bar_box {
    display: flex;
    gap: 10px;
  }

  .sch_bar {
    display: flex;
    flex-grow: 1;
  }

  #stx {
    flex-grow: 1;
    padding: 0;
  }

  .search_box .sch_btn {
    display: none;
  }
  .search_box select,
  .search_box input,
  .search_box .sch_btn {
    font-size: 0.8rem;
  }
}
