/* 검색창 */
.select_box {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5f7f8;
  border-radius: 5px;
  padding: 20px;
}

.sort_con {
  position: relative;
  display: flex;
  width: 150px;
  height: 46px;
  border: 1px solid #d7dce5;
  box-sizing: border-box;
  background-color: #fff;
  border-radius: 5px;
  overflow: hidden;
  margin-right: 20px;
}

.sort_con::after {
  content: "\F282";
  font-family: "bootstrap-icons" !important;
  display: inline-flex;
  line-height: 40px;
  position: absolute;
  right: 10px;
  color: #212529;
  font-size: 14px;
}

/* 검색창 */
.search_con {
  height: 46px;
  display: flex;
  align-items: center;
}

.search_con input {
  height: 100%;
  border-radius: 5px;
}

.search_con input:first-child {
  border: 1px solid #d7dce5;
  width: 500px;
  min-width: 100px;
  padding-left: 10px;
}

.search_con input:last-child {
  width: 100px;
  background-color: #212529;
  color: #fff;
  margin-left: 10px;
}

/* 게시판 리스트 */
.grid_size {
  background-color: #fff;
  display: grid;
  grid-template-columns: 150px calc(100% - 650px) 200px 150px 150px;
  align-items: center;
}

.grid_con {
  padding: 0 10px;
  text-align: center;
  border-bottom: 1px solid #d7dce5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice_grid_con {
  padding: 100px 10px;
  text-align: center;
  border-bottom: 1px solid #d7dce5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.content_grid_con {
  padding: 100px 10px;
  text-align: center;
  border-bottom: 1px solid #d7dce5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header_grid {
  border-top: 2px solid #212529;
  font-weight: 700;
}

.header_grid .grid_con {
  height: 58px;
  position: relative;
}

.header_grid .grid_con:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 20px;
  background-color: #adb5bd;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

/* .content_grid .grid_con:nth-child(2) {
  justify-content: flex-start;
} */

.content_grid .grid_con {
  height: 52px;
  cursor: pointer;
}


.checkbox_con {
  margin-right: 5px;
}

/* 페이지네비게이션+편집 */
.bt_con {
  position: relative;
}

/* 페이지네이션 */
.move ul {
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.move li:not(:last-child) {
  margin-right: 5px;
}

.move li:not(:first-child) {
  margin-left: 5px;
}

.move li a {
  width: 40px;
  height: 40px;
  line-height: 4rem;
  display: block;
}

.move li.active {
  background-color: #ffa83f;
  border-radius: 5px;
}

.move li.active a {
  color: #fff;
}

/* 편집버튼 */
.edit_con {
  position: absolute;
  right: 0;
  top: 0;
}

.edit_con button {
  padding: 0 20px;
  height: 42px;
  line-height: 42px;
  border: 1px solid #ecebee;
  border-radius: 5px;
}

.btn_write {
  background-color: #212529;
  color: #fff;
}

.btn_write a {
  display: block;
}
@media screen and (max-width: 1200px) {
  .grid_size {
      grid-template-columns: 100px calc(100% - 450px) 150px 100px 100px;
  }
}

@media screen and (max-width: 980px) {
  .search_con,
  .search_con input:first-child {
      width: 100%;
  }
}

@media screen and (max-width: 860px) {
  .grid_size {
      grid-template-columns: 80px calc(100% - 380px) 120px 100px 80px;
  }
  .edit_con {
      top: 40px;
  }
}

@media screen and (max-width: 650px) {
  .header_grid .grid_con {
      height: 52px;
  }

  .grid_size {
      grid-template-columns: 70px calc(100% - 230px) 70px 60px 45px;
  }

  .content_grid .grid_con {
      height: 50px;
  }
}

@media screen and (max-width: 520px) {
  .sort_con {
      margin-right: 10px;
      height: 42px;
  }

  .search_con {
      width: calc(100% - 80px);
  }

  .checkbox_con input[type="checkbox"] {
      width: 20px;
      height: 20px;
  }

  .checkbox_con input[type="checkbox"] {
      line-height: 20px;
  }
}

@media screen and (max-width: 400px) {
  .edit_con {
      top: 80px;
  }
}
