@charset "utf-8";
/** CSS Section 
 - BBS list
 - BBS view
 - BBS bottom
 - BBS responesive
*/

/*** BBS list ***/
h2.bbs-title {
  color: #FFF;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  margin: 50px 0;
}

.bbs-wrapper {
  width: 1000px;
  min-height: 50vh;
  margin: 0 auto;
}

table.notice-table {
  table-layout: fixed;
  width: 100%;
  border-bottom: #666 1px solid;
}

table.notice-table tbody tr:nth-of-type(2n) {
  background-color: #404040;
}

table.notice-table thead th {
  color: #eee;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 18px 10px;
  background-color: #606060;
}

table.notice-table thead th:first-child {
  border-radius: 5px 0 0 5px;
}

table.notice-table thead th:last-child {
  border-radius: 0 5px 5px 0;
}

table.notice-table tbody td {
  color: #999;
  font-size: 13px;
  padding: 20px 8px;
  text-align: center;
  white-space: nowrap;
}

table.notice-table tbody td span.span-show {
  display: none;
}

table tbody td.bbs-link {
  line-height: 1.5em;
  text-align: left;
  padding-left: 16px;
  padding-right: 16px;
}


table tbody td.bbs-link a {
  display: block;
  color: #DDD;
  font-size: 16px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

table tbody td.bbs-link a:hover {
  text-decoration: underline;
}

/*** BBS Search ***/
.bbs-search {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 20px;
  gap: 6px;
}

.bbs-search-field {
  width: 220px;
  height: 38px;
  background-color: #222222;
  border-radius: 5px;
  border: none;
  padding: 8px;
  color: #DDD;
  font-size: 14px;
}

.bbs-search-button {
  width: 42px;
  height: 38px;
  padding: 4px;
  border: none;
  border-radius: 6px;
  background-color: #222;
  color: #c6c6c6;
  font-size: 13px;
  white-space: nowrap;
}

/*** BBS paging ***/
.paging {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 39px 0;
}

.paging a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 36px;
  height: 36px;
  color: #DDD;
  font-size: 15px;
  font-weight: 500;
  padding: 4px;
  margin: 0 2px;
}

.paging a.current {
  color: #FFF;
  background-color: #404040;
  border-radius: 6px;
}

.paging .paging-btn {
  margin: 0 12px;
}

/*** BBS view ***/
.bbs-body {
  background-color: #FFF;
  border-top-width: 0;
  box-sizing: border-box;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
}

.bbs-view-title {
  background-color: #FFF;
  padding: 32px 12px;
  color: #222;
  font-size: 19px;
  letter-spacing: 0.01em;
  text-align: center;
  font-weight: 400;
  line-height: 1.4em;
  border-bottom: 1px solid #EEE;
  border-radius: 6px 6px 0 0;
}

.bbs-view-date {
  display: flex;
  justify-content: flex-end;
  color: #666;
  font-size: 14px;
  padding: 24px 24px 0 24px;
}

.bbs-view-content {
  min-height: 160px;
  padding: 24px;
  color: #333;
  font-size: 18px;
  line-height: 1.6em;
}

.bbs-view-content img {
  height: auto;
}

/*** BBS bottom ***/
.bbs-bottom-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 35px 0;
}

.btn-list-back {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 74px;
  padding: 16px 8px;
  color: #333;
  font-size: 15px;
  margin: 0 auto;
  background: #fefefe;
  border-radius: 6px;
}

.bbs-list-nav {
  width: 35%;
}

.bbs-list-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bbs-list-nav span {
  display: inline-block;
  width: auto;
  color: #DDD;
  font-size: 16px;
  text-overflow: ellipsis;
  word-break: break-all;
  overflow: hidden;
  white-space: nowrap;
}

.bbs-list-nav:hover span {
  color: #FFF;
  text-decoration: underline;
}

/*** Responsive ***/
@media screen and (max-width:1080px) { 
  h2.bbs-title {
    margin-top: 85px;
    margin-bottom: 35px;
  }

  .bbs-wrapper  {
    width: 100%;
  }  
}

@media screen and (max-width:480px) { 
  h2.bbs-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .bbs-view-title {
    font-size: 18px;
    padding: 16px;
  }

  .bbs-view-date {
    font-size: 12px;
    padding: 16px;
    padding-bottom: 0;
  }

  .bbs-search {
    justify-content: center;
    margin-bottom: 12px;
  }

  .bbs-search-field {
    width: 100%;
  }

  table.notice-table col {
    width: auto !important;
  }

  table.notice-table colgroup {
    display: none;
  }

  table.notice-table thead {
    display: none;
  }

  table.notice-table tbody td:first-child {
    display: none;
  }

  table.notice-table tbody td {
    display: inline-block;
    padding: 0 12px 16px 12px;
  }

  table.notice-table tbody td.bbs-link {
    display: block;
    padding: 16px 12px 6px 12px;
  }

  .paging {
    padding: 24px 0;
  }

  .paging a {
    display: none;
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .paging a.current, .paging .paging-btn {
    display: flex;
  }

  .bbs-view-content {
    font-size: 16px;
    padding: 16px;
    padding-bottom: 32px;
  }

  .bbs-bottom-nav {
    padding: 0 6px;
    margin: 25px 0 0 0;
  }

  .bbs-list-nav {
    width: auto;
  }

  .bbs-list-nav span {
    display: none;
  }

  .bbs-list-nav img {
    width: 32px;
  }

  .btn-list-back {
    padding: 14px 24px;
    width: auto;
    color: #FFF;
    font-size: 16px;
    background-color: transparent;
  }

}





/*260120 수정*/
.bbs-body .bbs-view-content div{color:#3d3d3d;}

