/* 게시판*/
#board {
  max-width: 100%;
  min-height: 550px;
  position: relative;
}

#board .board_top {
  margin-top: 30px;
  padding: 15px 15px;
  border: 1px solid #eee;
  background: #f8f8f8;
}
#board .gallery_top li {
  list-style-type: none;
}
#board .board_top .search {
  /*padding: 8px 0;*/
}
#board .board_top .search ul {
  float: right;
  display: inline-block;
  padding-bottom: 25px;
}
#board .board_top .search li {
  float: left;
  padding: 0 3px;
}
#board .board_top .search li select {
  border: 1px solid #ccc;
  height: 30px;
  width: 65px;
  padding-left: 8px;
}
#board .board_top .search li input {
  border: 1px solid #ccc;
  height: 28px;
  padding: 0 10px;
  max-width: 300px;
}
#board .board_top .search li button {
  border: 1px solid #494949;
  height: 30px;
  padding: 0 10px;
  background-color: #494949;
  color: #fff;
}
#board .board_top .search ul:after {
  clear: both;
  display: block;
  content: "";
}

#board .board_top .result {
  padding: 5px 0;
  font-size: 14px;
  font-weight: bold;
  display: inline-block;
}
#board .board_top .result li {
  float: left;
  padding: 0 3px;
}
#board .board_top .result li span {
  color: #ff6600;
  padding: 0 2px;
}
#board .board_top .result:after {
  clear: both;
  display: block;
  content: "";
}

#board .gallery_top {
  /*border-bottom:2px solid #dcdcdc;*/
}
#board .gallery_top .search {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 312px;
}
#board .gallery_top .search ul {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  background: #fff;
  border: 1.5px solid #1976d2;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(25, 118, 210, 0.06);
  overflow: hidden;
  height: 42px;
}

#board .gallery_top .search li {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

#board .gallery_top .search li select {
  border: none;
  background: transparent;
  font-weight: 500;
  color: #333;
  font-size: 14px;
  padding: 0 35px 0 12px;
  height: 42px;
  outline: none;
  appearance: none;
  cursor: pointer;
}

#board .gallery_top .search li input[type="text"] {
  border: none;
  outline: none;
  font-size: 15px;
  color: #888;
  padding: 0 12px;
  height: 42px;
  width: 187px;
  background: transparent;
}

#board .gallery_top .search li button {
  border: none;
  background: #1976d2;
  color: #fff;
  height: 42px;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: background 0.2s;
}
#board .gallery_top .search li button:hover {
  background: #125ea2;
}

/* placeholder 스타일 */
#board .gallery_top .search li input[type="text"]::placeholder {
  color: #bbb;
  font-weight: 300;
}

#board .gallery_top .result {
  padding: 8px 0;
  font-size: 13px;
  font-weight: bold;
  display: inline-block;
}
#board .gallery_top .result li {
  float: left;
  padding: 0 3px;
}
#board .gallery_top .result li span {
  color: #ff6600;
  padding: 0 2px;
}
#board .gallery_top .result:after {
  clear: both;
  display: block;
  content: "";
}

/* 게시판 페이지 */
#board .page {
  padding: 20px 0 40px 0;
}
#board .page ul {
  float: right;
  position: relative;
  left: -50%;
}
#board .page li {
  float: left;
  position: relative;
  left: 50%;
  margin: 0 4px;
  list-style-type: none;
}
#board .page li a {
  display: inline-block;
  padding: 3px;
}
#board .page li.on a {
  color: #ed6d06;
  font-weight: bold;
}
#board .page li.arrow a {
  margin: 0;
}
#board .page:after {
  clear: both;
  display: block;
  content: "";
}
#board .btn {
  width: 98.5%;
  height: 55px;
  padding: 0;
  margin: 20px 0 0 0;
  box-sizing: border-box;
}
#board .btn span {
  float: right;
  margin-left: 5px;
}
@media (max-width: 500px) {
  #board .page li a {
    display: inline-block;
    padding: 2px;
  }
}

@media (max-width: 500px) {
  #board .board_view .title span.date {
    display: none;
  }
  #board .board_view .body .file li {
    padding: 7px 7px;
  }
}

/*버튼 */
a.btn01 {
  background-color: #fff;
  color: #333;
  border: 1px solid #333;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn01:hover {
  background-color: #333;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn02 {
  background-color: #333;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
  float: right;
}
a.btn02:hover {
  background-color: #333;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn03 {
  background-color: #fff;
  color: #333;
  border: 1px solid #333;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn03:hover {
  background-color: #333;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn04 {
  background-color: #eec326;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn04:hover {
  background-color: #fff;
  color: #eec326;
  border: 1px solid #eec326;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn06 {
  background-color: #efefef;
  color: #6a6b6c;
  border: 1px solid #cfcfcf;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 7px 0;
  font-size: inherit;
}
a.btn06:hover {
  background-color: #e4e4e4;
  color: #6a6b6c;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 7px 0;
  font-size: inherit;
}
a.btn07 {
  background-color: #fff;
  color: #eec326;
  border: 1px solid #eec326;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn07:hover {
  background-color: #eec326;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 8px 0;
  font-size: inherit;
}
a.btn08 {
  background-color: #42596d;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 32px 0;
  font-size: inherit;
}
a.btn08:hover {
  background-color: #32485a;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 32px 0;
  font-size: inherit;
}

.btn01 {
  background-color: #04335c;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 10px 0 10px 0;
  font-size: inherit;
}
.btn01:hover {
  background-color: #002444;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 10px 0 10px 0;
  font-size: inherit;
}
.btn02 {
  background-color: #2269a5;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 6px 0 6px 0;
  font-size: inherit;
}
.btn02:hover {
  background-color: #13538a;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 6px 0 6px 0;
  font-size: inherit;
}
.btn03 {
  background-color: #26b7ca;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 6px 0 6px 0;
  font-size: inherit;
}
.btn03:hover {
  background-color: #0ba0b4;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 6px 0 6px 0;
  font-size: inherit;
}
.btn04 {
  background-color: #4c4a5e;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 6px 0 6px 0;
  font-size: inherit;
}
.btn04:hover {
  background-color: #3c3a4e;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 126px;
  padding: 6px 0 6px 0;
  font-size: inherit;
}
.btn05 {
  background-color: #4c4a5e;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  height: 32px;
  font-size: inherit;
}
.btn05:hover {
  background-color: #3c3a4e;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  height: 32px;
  font-size: inherit;
}
.btn06 {
  background-color: #4c4a5e;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 4px 0 4px 0;
  font-size: inherit;
}
.btn06:hover {
  background-color: #3c3a4e;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 4px 0 4px 0;
  font-size: inherit;
}
.btn08 {
  background-color: #42596d;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 32px 0;
  font-size: inherit;
}
.btn08:hover {
  background-color: #32485a;
  color: #fff;
  display: inline-block;
  text-align: center;
  width: 100px;
  padding: 32px 0;
  font-size: inherit;
}

/* 카테고리 게시판 목록 */
#contents .Clause {
  margin: 30px 0 15px 0;
  color: #9145bf;
  text-align: center;
  font-weight: bold;
  background: #f9f9f9;
  line-height: 200%;
}
#board table {
}
#board table tr td.cate_check {
  width: 100%;
  text-align: center;
}
#board table tr td select.cate_select {
  width: 250px;
  height: 40px;
  border: 1px solid #333;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
}
#board table tr td select.cate_select > option {
  color: #333;
}
#board .board_cate_list {
  width: 100%;
  padding: 20px 0 0 0;
  border-top: 2px solid #000000;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 20px;
}
#board .board_cate_list .list_title {
  position: relative;
  border-bottom: 1px solid #bebebe;
  font-size: 15px;
}
#board .board_cate_list .list_title li {
  padding: 10px 120px 10px 80px; /*max-width:815px;*/
  font-weight: bold;
  text-align: center;
  background: #f1f1f1;
}
#board .board_cate_list .list_title li.numb {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  text-align: center;
  padding: 10px 0;
}
#board .board_cate_list .list_title li.cate_title {
  position: absolute;
  left: 80px;
  top: 0;
  width: 300px;
  text-align: center;
  padding: 10px 0;
}
/*#board .board_list .list_title li.cate_title2 {position:absolute; left:380px; top:0; width:640px; text-align:center; padding:10px 0;}*/
#board .board_cate_list .list_title li.name {
  position: absolute;
  right: 200px;
  top: 0;
  width: 120px;
  text-align: center;
  padding: 10px 0;
}
#board .board_cate_list .list_title li.date {
  position: absolute;
  right: 80px;
  top: 0;
  width: 120px;
  text-align: center;
  padding: 10px 0;
}
#board .board_cate_list .list_title li.hit {
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  text-align: center;
  padding: 10px 0;
}

#board .board_cate_list .list_view {
  width: 300px;
  height: 300px;
  margin: 0 auto;
}
#board .board_cate_list .list_view ul li {
  padding: 2px 0;
}
#board .board_cate_list .list_view ul li.cate_title1 {
  font-size: 14px;
  color: #555;
}
#board .board_cate_list .list_view ul li.cate_title2 {
  font-size: 20px;
}
#board .board_cate_list .list_view ul li.date {
  font-size: 13px;
  color: #999;
}

/* 게시판 목록 */
#board .board_list {
  border-top: 2px solid #000000;
}
#board .board_list .list_title {
  position: relative;
  border-bottom: 1px solid #bebebe;
  font-size: 15px;
}
#board .board_list .list_title li {
  padding: 10px 120px 10px 80px;
  max-width: 710px;
  font-weight: bold;
  text-align: center;
  background: #f1f1f1;
}
#board .board_list .list_title li.numb {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  text-align: center;
  padding: 10px 0;
}
#board .board_list .list_title li.name {
  position: absolute;
  right: 200px;
  top: 0;
  width: 120px;
  text-align: center;
  padding: 10px 0;
}
#board .board_list .list_title li.date {
  position: absolute;
  right: 80px;
  top: 0;
  width: 120px;
  text-align: center;
  padding: 10px 0;
}
#board .board_list .list_title li.hit {
  position: absolute;
  right: 0;
  top: 0;
  width: 80px;
  text-align: center;
  padding: 10px 0;
}

#board .board_list .list_view dl {
  border-bottom: 1px solid #d8d8d8;
  position: relative;
}
#board .board_list .list_view dl.lien {
  border-bottom: 1px solid #ccc;
}
#board .board_list .list_view dl dt {
  padding: 0 120px 0 80px;
  max-width: 710px;
  overflow: hidden;
  height: 48px;
  line-height: 48px;
  color: #252525;
  font-size: 15px;
}
#board .board_list .list_view dl dt .icon_new_sub {
  vertical-align: middle;
  margin: 0 5px;
}
#board .board_list .list_view dl dt span.reple_icon {
  position: relative;
  display: inline-block;
  line-height: 48px;
  height: 48px;
  width: 35px;
  background: url("/img/common/reple_bl.png") 3px center no-repeat;
  color: #fff;
  font-size: 10px;
  text-align: center;
}
#board .board_list .list_view dl dd li {
  line-height: 100%;
  position: absolute;
  top: 0;
  line-height: 48px;
  text-align: center;
  font-size: 14px;
}
#board .board_list .list_view dl dd li.numb {
  left: 0;
  width: 80px;
  color: #6b6b6b;
}
#board .board_list .list_view dl dd li.numb img {
  vertical-align: middle;
}
#board .board_list .list_view dl dd li.cate_title1 {
  left: 80px;
  width: 300px;
  color: #6b6b6b;
}
#board .board_list .list_view dl dd li.cate_title2 {
  position: absolute;
  left: 380px;
  width: 650px;
  color: #6b6b6b;
  text-align: left;
}
#board .board_list .list_view dl dd li.name {
  right: 200px;
  width: 120px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  color: #6b6b6b;
}
#board .board_list .list_view dl dd li.date {
  right: 80px;
  width: 120px;
  color: #6b6b6b;
}
#board .board_list .list_view dl dd li.hit {
  right: 0;
  width: 80px;
  color: #6b6b6b;
}

@media (max-width: 900px) {
  #board .board_list .list_title li.name {
    position: absolute;
    right: 0;
    top: 0;
    width: 120px;
    text-align: center;
    padding: 10px 0;
  }
  #board .board_list .list_title li.date {
    display: none;
  }
  #board .board_list .list_title li.hit {
    display: none;
  }
  #board .board_list .list_view dl dd li.name {
    right: 0;
  }
  #board .board_list .list_view dl dd li.date {
    display: none;
  }
  #board .board_list .list_view dl dd li.hit {
    display: none;
  }
}
@media (max-width: 900px) {
  #board .board_list .list_title li.name {
    display: none;
  }
  #board .board_list .list_view dl dd li.name {
    display: none;
  }
  #board .board_list .list_view dl dt {
    width: calc(100% - 80px);
  }
}

/* 게시판 뷰 */
#board .board_view {
  margin: 10px 0;
}
#board .board_view .title {
  font-weight: bold;
  padding: 10px 5px 30px 5px;
  position: relative;
  border: 1px solid #ddd;
  background-color: #efefef;
}
#board .board_view .title p {
  font-weight: bold;
  padding: 5px 0px 10px 10px;
  color: #000000;
  border-bottom: 1px solid #ccc;
  font-size: 1.5rem;
}
#board .board_view .title span {
  font-weight: normal;
  font-size: 13px;
  position: absolute;
  bottom: 8px;
}
#board .board_view .title span.name {
  left: 15px;
  font-weight: bold;
  color: #666;
}
#board .board_view .title span.date {
  right: 20px;
  color: #666;
  top: 15px;
}
#board .board_view .title span.hit {
  right: 20px;
  color: #999;
}
#board .board_view .body {
  min-height: 250px;
  padding: 5px;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
#board .board_view .body .text {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  font-size: 16px;
}
#board .board_view .body .text p {
  line-height: 2.2em;
}
#board .board_view .body .text img {
  max-width: 100%;
}
@media (max-width: 1098px) {
  #board .board_view .body .text img {
    width: 100%;
  }
}
#board .board_view .body .file {
  min-height: 20px;
  margin-top: 10px;
  border: 1px solid #efefef;
  padding: 5px;
  margin-bottom: 10px;
  width: 98%;
}
#board .board_view .body .file li {
  background: url("/img/common/file_bl.png") 15px center no-repeat;
  padding: 7px 50px;
  text-align: left;
  border-bottom: 1px dashed #efefef;
}
#board .board_view .body .file li:last-child {
  border-bottom: 0;
}
#board .board_view .bottom {
  padding: 10px 5px;
  position: relative;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}
#board .board_view .bottom p {
  padding: 5px 0;
  text-indent: -80px;
  padding-left: 80px;
}
#board .board_view .bottom p a {
  color: #999;
}
#board .board_view .bottom p a:hover {
  color: #252525;
}
#board .board_view .bottom p span {
  font-weight: bold;
  padding: 10px;
  color: #6b6b6b;
}
#board .board_view .bottom p img {
  vertical-align: middle;
  margin-left: 5px;
}

/* 댓글작성 */
#board .board_reple .reple_write {
  background-color: #f8f8f8;
  padding: 15px 25px;
  margin: 20px 0;
  position: relative;
}
#board .board_reple .reple_write p.title {
  font-weight: bold;
  padding: 5px 5px 15px 5px;
  font-size: 1.3em;
  color: #eec326;
}
#board .board_reple .reple_write p.title span {
  float: right;
  display: inline-block;
  font-size: 0.9em;
  color: #999;
  font-weight: normal;
}
#board .board_reple .reple_write p.title:after {
  clear: both;
  display: block;
  content: "";
}
#board .board_reple .reple_write p.info {
  margin: 0 0 10px 0;
}
#board .board_reple .reple_write p.info span {
  display: inline-block;
  margin-left: 5px;
}
#board .board_reple .reple_write p.info span.pw {
  display: inline-block;
  margin-left: 20px;
}
#board .board_reple .reple_write p.info span input {
  width: 100px;
}
#board .board_reple .reple_write p.input {
  text-align: center;
}
#board .board_reple .reple_write p.input textarea {
  width: 80%;
  border: 1px solid #ccc;
  padding: 1%;
  resize: none;
  color: #999;
  float: left;
}
@media (min-width: 320px) and (max-width: 866px) {
  #board .board_reple .reple_write p.input textarea {
    width: 98%;
    border: 1px solid #ccc;
    padding: 1%;
    resize: none;
    color: #999;
    float: left;
  }
  #board .board_view .title span.date {
  }
}
#board .board_reple .reple_write p.input span.btn {
  margin-top: 8px;
}
#board .board_reple .reple_write p.input span.btn a {
  display: inline-block;
}
#board .board_reple .reple_write p.input:after {
  clear: both;
  display: block;
  content: "";
}
#board .board_reple .reple_write p.total {
  padding: 10px;
}
#board .board_reple .reple_write p.nonmember {
  padding: 10px;
}
#board .board_reple .reple_write p.nonmember input {
  border: 1px solid #ccc;
}
#board .board_reple .reple_write p.nonmember input#name {
  width: 100px;
  height: 20px;
  margin-right: 20px;
}
#board .board_reple .reple_write p.nonmember input#password {
  width: 150px;
  height: 20px;
  margin-right: 10px;
}
#board .board_reple .reple_write span.secret {
  padding: 10px;
}
#board .board_reple .reple_list {
  margin: 10px 15px;
}
#board .board_reple .reple_list li {
  border-bottom: 1px solid #ccc;
  padding: 10px 10px;
  position: relative;
}
#board .board_reple .reple_list li p.name {
  font-weight: bold;
  padding: 3px 0 10px 3px;
  color: #428bca;
}
#board .board_reple .reple_list li p.text {
  padding: 5px 0;
}
#board .board_reple .reple_list li p.date {
  text-align: right;
  font-size: 1em;
  color: #999;
}
#board .board_reple .reple_list li span.delet {
  position: absolute;
  top: 10px;
  right: 5px;
  font-size: 1em;
  padding: 4px 0;
}
#board .board_reple .reple_list li span.delet a {
  padding: 3px 10px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  position: relative;
  top: 0;
}
#board .board_reple .reple_list p.confirm {
  position: absolute;
  top: 10px;
  right: 90px;
  font-size: 0.8em;
}
#board .board_reple .reple_list p.confirm input {
  width: 100px;
  height: 20px;
  margin: 0 7px;
  border: 1px solid #ccc;
}
#board .board_reple:after {
  clear: both;
  display: block;
  content: "";
}
.nonmember

/* 게시판 작성 */
#board .board_write {
  border-top: 2px solid #3598db;
}
#board .board_write dt {
  font-size: 15px;
  font-weight: bold;
  color: #333;
  padding: 7px 20px 0 17px;
  position: relative;
}
#board .board_write dt span {
  font-size: 0.9em;
}
#board .board_write dt span input[type="checkbox"] {
  position: relative;
  top: 3px;
  margin-right: 5px;
}
#board .board_write dt span.bold {
  position: absolute;
  right: 110px;
  top: 7px;
}
#board .board_write dt span.bold label {
  width: auto;
  height: 50px;
}
#board .board_write dt span.notice {
  position: absolute;
  right: 20px;
  top: 7px;
}
#board .board_write dt span.notice label {
  width: auto;
}
#board .board_write dt span.secret {
  position: absolute;
  right: 20px;
  top: 7px;
}
#board .board_write dt span.secret label {
  width: auto;
}
#board .board_write dd {
  padding: 2px 3px 7px 0;
  text-align: center;
}
#board .board_write dd input {
  width: 95%;
  height: 18px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 3px 1%;
}
#board .board_write dd textarea {
  width: 95%;
  border: 1px solid #ccc;
  padding: 1%;
  resize: none;
}
#board .board_write dd span.file input {
  width: 95%;
  height: 25px;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 0 1% 5px 1%;
}
#board .board_write dd .button-container input {
  width: 99%;
  height: 25px;
  border: 1px solid #ccc;
  background-color: #eee;
  padding: 0 1% 5px 1%;
}
#board .board_write dd ul.file_list {
  width: 93%;
  border: 1px solid #ccc;
  background-color: #fff;
  padding: 10px 2%;
  margin: 0 auto 10px auto;
}
#board .board_write dd ul.file_list li {
  padding: 10px;
  text-align: left;
  border-bottom: 1px dashed #ccc;
}
#board .board_write dd ul.file_list li:last-child {
  border-bottom: 0;
}

/* 갤러리 리스트 */
#board .gallery_list ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
  justify-content: center;
  padding: 0;
  margin: 40px auto 40px auto;
  max-width: 1100px;
  list-style: none;
  height: auto;
}
@media (max-width: 1200px) {
  #board .gallery_list ul {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 900px) {
  #board .gallery_list ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #board .gallery_list ul {
    grid-template-columns: 1fr;
  }
}

.book-card {
  background: #fff;
  border: 1.5px solid #eee;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 18px 18px 12px 18px;
  margin: 0 auto;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}
.book-card:hover {
  box-shadow: 0 6px 24px rgba(25, 118, 210, 0.13);
}
.book-card .image {
  width: 180px;
  height: 240px;
  background: #f5f6fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 16px;
}
.book-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.book-card .text {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-align: center;
  margin-bottom: 10px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-card .text a {
  color: #222;
  text-decoration: none;
}
.book-card .text a:hover {
  color: #1976d2;
}
.book-card .info {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13px;
  color: #888;
  margin-top: 8px;
}

.book-card .info .left-info {
  display: flex;
  flex-direction: column;
}
.book-card .name {
  font-weight: 500;
  color: #1976d2;
}
.book-card .hit {
  color: #aaa;
  font-size: 12px;
}
.book-card .date {
  color: #bbb;
  font-size: 12px;
}
.ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.digital-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 40px 0 24px 0;
  text-align: center;
}

/* 게시판 삭제 or 보기 */
#board .pop {
  width: 75%;
  height: 100%;
  margin: 35px auto;
  background: url("/img/common/bg_black50.png") 0 0 repeat;
  left: 10%;
  top: 10%;
  position: absolute;
}
#board .pop .form {
  background-color: #fff;
  padding: 10px 0;
}
#board .pop .form p.title {
  font-weight: bold;
  padding: 10px 20px;
  color: #185c94;
  text-align: center;
  font-size: 18px;
}
#board .pop .form p.name {
  font-weight: bold;
  padding: 10px 20px;
  color: #243f91;
  border-bottom: 1px solid #efefef;
  text-align: center;
}
#board .pop .form p.text {
  padding: 10px 20px;
  font-size: 0.9em;
  line-height: 140%;
  border-bottom: 1px solid #efefef;
}
#board .pop .form p.text span {
  padding-top: 10px;
  display: block;
  font-size: 12px;
  color: #ff0000;
  position: relative;
  padding-left: 15px;
}
#board .pop .form p.input {
  text-align: center;
  padding: 0 10px;
}
#board .pop .form p.input input[type="password"] {
  width: 97%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 1%;
}
#board .pop .form p.btn {
  padding: 10px 10px 20px 10px;
  text-align: center;
}
#board:after {
  clear: both;
  display: block;
  content: "";
}

@media (max-width: 768px) {
  #board .gallery_top .search {
    top: 55px;
  }
}
