/* table */

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

.subject a {
  text-decoration: none;
  font-weight: 400;
  position: relative;
}

.fa-star:before {
  color: rgb(245, 180, 43);
  margin-right: 5px;
}


.acobody tr td {
  font-size: 1rem !important;
}

.table-wrap {
  border-top: 1px solid #ddd;
}

.table-wrap table.board {
  font-family: 'Noto Sans KR';
  text-align: center;
}

.ellipsis,
.subject {
  text-align: left;
}

.table-wrap table {
  position: relative;
  line-height: 1.4;
  table-layout: fixed;
}

/* .table-wrap table::before {
  width: 100%;
  height: 1px;
  content: "";
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
} */

.table-wrap table thead th {
  /* border: 1px solid #ddd; */
  border-bottom: 0;
  background-color: #f9f9f9;
  padding: 16px;
  color: #222;
  font-size: .9rem;
  font-weight: 400;
}

.table-wrap table thead th:first-child {
  border-left: 0;
}

.table-wrap table thead th:last-child {
  border-right: 0;
}

.table-wrap table tbody th {
  border: 1px solid #ddd;
  background-color: #fcfcfc;
  padding: 20px;
  font-size: .8rem;
  font-weight: 400;
  color: #222;
}

.table-wrap table tbody th:first-child {
  border-left: 0;
}

.table-wrap table tbody th:last-child {
  border-right: 0;
}

.table-wrap table tbody th .list.dash>li {
  padding-left: 15px;
}

.table-wrap table tbody th .list.dash>li::before {
  left: 0;
}

.table-wrap table tbody td {
  border-bottom: 1px solid #ddd;
  padding: 20px;
  font-size: 1rem;
  font-weight: 400;
  background-color: #fff;
  transition: 0.2s ease;
}

.table-wrap table tbody td:hover {
  border-color: #645bff;
}


.table-wrap table tbody td:first-child {
  border-left: 0;
}

.table-wrap table tbody td:last-child {
  border-right: 0;
}

.topt {
  margin: 25px 0 18px 0;
}

.imp {
  color: white;
  background-color: #5ba4ff !important;
  border-radius: 8px;
}

.listnum {
  font-size: 15px;
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
  color: #666;
}



@media (max-width: 767px) {
  .table-wrap {border-top: 1px solid #222;}

  .table-wrap .board colgroup,
  .table-wrap .board thead {
    display: none;
  }

  .table-wrap .board tbody tr {
    display: block;
    border-bottom: 1px solid #dcdbdb;
    padding: 15px;
    overflow: hidden;
  }

  .table-wrap .board tbody tr td {
    display: none;
    padding: 0;
    border: 0;
  }

  .table-wrap .board tbody tr td.subject {
    display: block;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
  }

  .table-wrap .board tbody tr td.subject>a {
    font-size: 0.875rem;
    font-weight: 500;
  }
  .table-wrap .board tbody tr td {font-size: 0.875rem;}

  .table-wrap table tbody td {font-size: 0.8rem !important;}

  .table-wrap .board tbody tr td.bookname {
    display: inline-block;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    text-align: left;
    float: left;
  }

  .table-wrap .board tbody tr td.bookname>a {
    font-size: 0.8rem;
  }

  .table-wrap .board tbody tr td.locate {
    display: inline-block;
    float: left;
    margin-left: 10px;
  }

  .table-wrap .board tbody tr td.date,
  .table-wrap .board tbody tr td.hit,
  .table-wrap .board tbody tr td.file,
  .table-wrap .board tbody tr td.mission,
  .table-wrap .board tbody tr td.call {
    display: block;
    float: left;
    text-align: left;
    margin-right: 16px;
  }

  .table-wrap .board tbody tr td.mission {
    width: 70%;
    height: 20px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .table-wrap .board tbody tr td.floor {
    display: flex;
    width: 65px;
    height: 65px;
    float: left;
    margin-right: 16px;
    background: #eee;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
  }

  .hit {
    display: none;
  }
}





/* paging */
.paging.mt {
  margin-top: 65px;
}

.pagenav {
  display: table;
  margin: 0 auto;
}

.control,
.pages {
  float: left;
}

.control:first-child {
  margin-right: 20px;
}

.control:last-child {
  margin-left: 20px;
}

.paging a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 39px;
  border: 1px solid #E2E2E2;
  box-sizing: border-box;
  text-align: center;
  font-size: 16px;
  font-family: 'Noto Sans KR';
  font-weight: 500;
}

.paging a.on {
  border-color: none;
  box-sizing: border-box;
  background-color: #333333;
  color: #fff;
}

.paging .p {
  display: block;
  float: left;
  margin-right: 5px;
  background-color: #fff;
}

.paging .p:last-child {
  margin-right: 0;
}

.paging .first {
  /* text-indent: -9999px; */
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 11px 11px;
}

.paging .last {
  text-indent: -9999px;

}

.paging .prev {
  text-indent: -9999px;
}


@media all and (max-width: 1200px) {
  .paging.mt {
    margin-top: 30px;
  }
}

@media all and (max-width: 900px) {
  .scroll1cont {
    overflow-y: auto;
  }
}

@media all and (max-width: 600px) {
  .control:first-child {
    margin-right: 10px;
  }

  .control:last-child {
    margin-left: 10px;
  }

  .paging.mt {
    margin-top: 30px;
  }

  .paging a {
    display: block;
    width: 30px;
    height: 30px;
    line-height: 31px;
  }

  .paging .p {
    margin-right: 3px;
  }

  .paging .last {
    margin-right: 0;
  }
}






/** 검색 **/
.not_search {
  background: #f2f2f2;
  padding: 10px 0;
}

.not_search .select_ty {
  height: 40px;
  border: 0;
  font-size: 16px;
  color: #333;
  padding-left: 5px;
  border-radius: 8px;
  outline: none;
}

.not_search .input_ty {
  height: 40px;
  font-size: 16px;
  color: #666;
  border: 0;
  width: 21vw;
  padding-left: 10px;
  margin-left: 8px;
}

.not_search .input_ty::placeholder {
  color: #666;
}

.not_search #search_wrap {
  text-align: center;
  vertical-align: middle;
  border: none;
  margin: 0 20px;
}

.not_search .btn_search {
  width: 95px;
  height: 40px;
  color: #fff;
  background: #333;
  border: 0;
  outline: none;
  font-size: 18px;
  font-weight: 400;
  margin-left: -2px;
  cursor: pointer;
}


@media(max-width:640px) {
  .not_search .input_ty {
    width: 50%;
  }

  .not_search .btn_search {
    width: 60px;
  }

}

@media(max-width:480px) {

  form,
  input,
  select {
    font-size: 3.2vw !important;
  }

}


.test1 {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  border: 1px solid black;
  padding: 30px;
}

.test2 {
  flex: 1 1 300px;
  padding: 10px;
  margin: 20px 0;
}

.test3 {
  flex: 1 1 300px;
  padding: 10px;
  margin: 20px 0;
}

.test4 {
  flex: 1 1 60px;
  padding: 10px;
  margin: 20px 0;
}