.board-box {
  width: 100%;
}

.board-box .notice {
  width: 100%;
}

.board-box .notice ul {
  padding: 0px;
  margin: 0px;
  border-top: 1px solid #ddd;
}

.notice ul li {
  position: relative;
  border-bottom: 1px dashed #ddd;
  background: #fbfbfb;
  overflow: hidden;
}

.notice ul li:last-child {
  border: 0px;
}

.notice ul li a {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  padding: 12px;
}

.notice ul li a span.subject {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-right: 120px;
}

.notice ul li a span.notice {
  display: inline-block;
  width: 45px;
  margin-right: 5px;
  background: URL("../../images/svg/speaker.svg") center center no-repeat;
}

.notice ul li a span.date {
  position: absolute;
  top: 0px;
  right: 12px;
  width: 100px;
  line-height: 49px;
  font-size: 12px;
  font-weight: normal;
  color: #666;
  text-align: center;
}

.board-box .tableList {
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}


.board-box .tableList .no,
.board-box .tableList .date,
.board-box .tableList .hit,
.board-box .tableList .name
 {
  width: 10%;
}

.board-box .tableList .list-title {
  width: 100%;
  background-color: #ebebeb;
  font-weight: bold;
  padding: 10px 0;
  color: #000;
}

/* tableList */

.list-title {
  display: table;
}

.list-title li {
  display: table-cell;
}

.tableList .menu-list {
  width: 100%;
  border-top: 1px solid #ddd;
}

.tableList .menu-list li {
  position: relative;
  border-bottom: 1px solid #ddd;
}

.tableList .menu-list li a {
  width: 100%;
  display: flex;
  align-items: center;
  color: #333;
  text-decoration: none;
  padding: 10px 0;
}

.tableList .menu-list li a:hover {
  background-color: #f5f5f5;
}

.list-title li .title,
.menu-list li a .title{
  text-align: left;
  display: block;
  width: 60%;
  letter-spacing: -1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
}

.tableList .menu-list li a span.no,
.tableList .menu-list li a span.date,
.tableList .menu-list li a span.hit,
.tableList .menu-list li a span.name
 {
  font-size: 13px;
}

.tableList .menu-list li a span.date{
  letter-spacing: -1px;
}

.listPage-box {
  width: 100%;
}

.listPage-box .listPage {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.listPage li {
  text-align: center;
  width: 40px;
  height: 40px;
}

.listPage li a {
  display: block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border: 1px solid #ddd;
  color: #888;
  font-size: 13px;
}

.listPage li.active a {
  background-color: #005746;
  color: white;
}

.listPage li a:hover {
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  /* .board-box .tableList{
    overflow-x: scroll;
  } */

  .board-box .tableList .list-title {
    display: none;
  }

  .menu-list li a .title {
    width: 90%;
    margin-bottom: 5px;
  }

  .tableList .menu-list {
    width: 100%;
    border-top: 2px solid #000;
  }
  .tableList .menu-list li a {
    padding: 10px;
    display: block;
  }

  .tableList .menu-list li a span {
    display: block;
    text-align: left;
  }

  .tableList .menu-list li a span.no {
    display: none;
  }

  .tableList .menu-list li a span.date,
  .tableList .menu-list li a span.hit
  .tableList .menu-list li a span.name
   {
    width: 120px;
  }
}






/* view 페이지 */

.view-container{
  width: 100%;
}

.view-container .view-top{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px 0;
  margin-bottom: 50px;
}

.view-top .date-box,
.view-top .write-box
{
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #777;
}

.view-top .date-box h3,
.view-top .write-box h3,
.view-top .write-box p
{
  font-weight: 400;
  font-size: 12px;
}

.view-top .date-box a{
  padding: 3px 5px;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  font-size: 12px;
}

.view-top .title-box{
  padding: 10px;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
}

.view-top .title-box .title{
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.view-contents{
  width: 100%;
  margin-bottom: 30px;
}

.view-contents p{
  font-size: 16px;
  letter-spacing: -0.5px;
  margin-bottom: 10px;
  line-height: 1.7;
}

.view-contents img{
  max-width: 600px;
  display: block;
  margin: 0 auto;
  width: 100%;
}

.view-container .view-bottom{
  padding: 10px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.view-container .view-bottom .paging-btnBox{
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-container .view-bottom a{
  padding: 3px 5px;
  border: 1px solid #ddd;
  background-color: #f5f5f5;
  font-size: 12px;
}


@media screen and (max-width:500px) {
  .view-contents p{
    font-size: 14px;
  }

  
.view-top .title-box .title{
  font-size: 14px;
}

}


@media screen and (max-width:380px) {
  .view-contents p{
    font-size: 13px;
  }

}