@charset "utf-8";

/* -----------------------------------------------------------------------------

# board
# eun 240130

----------------------------------------------------------------------------- */

.input-text {
  padding: 5px 10px;
  height: 45px;
  font-size: 1rem;
  background: #fff;
  border: 1px solid #e1e1e1;
  width: 100%;
  border-radius: 5px;
}
.input-half {
  width: 50%;
}
textarea.input-text {
  height: 300px;
}
.input-text::placeholder {
  font-size: 0.875rem;
}

.none-data {
  justify-content: center;
  text-align: center;
  width: 100% !important;
  line-height: 150px;
  background-color: var(--color-none);
}
.td-num {
  width: 50px;
}
.td-edu-kind {
  width: 120px;
}
.td-hit {
  width: 100px;
}
.td-date {
  width: 120px;
}
.td-datew {
  width: 120px;
}
.td-status {
  width: 110px;
}
.td-edu-position {
  width: 150px;
}
.td-edu-time {
  width: 180px;
}
.td-edu-dt {
  width: 220px;
}
.td-edu-dd {
  width: 160px;
}
.td-edu-person {
  width: 80px;
}
.td-addfile {
  width: 100px;
}
.td-name {
  width: 120px;
}
.td-subject {
  /*display:flex;*/
  text-align: left;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}
.td-subject.txt-c {
  justify-content: center;
}
.td-item-category {
  background-color: var(--color-m);
  color: #fff;
  padding: 5px 10px;
  flex-shrink: 0;
  font-size: 0.875rem;
  border-radius: 5px;
}

.ico-status {
  background-color: #d5d5d5;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.875rem;
  color: #7b7979;
  display: inline-block;
  min-width: 90px;
}
.ico-status.waiting {
  background-color: #06334d;
  color: #fff;
}
.ico-status.submit {
  background-color: var(--color-m);
  color: #fff;
}
.ico-status.orange {
  background-color: #fa6f00;
  color: #fff;
}
.ico-status.finish {
  background-color: var(--color-point);
  color: #fff;
}

.ico-status.print {
  background-color: #006229;
  color: #fff;
}

.board-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
}
.board-info .page-total {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.board-info .page-total p {
  line-height: 1;
}
.board-info .page-total p:first-child {
  border-right: 1px solid var(--color-b);
  padding-right: 10px;
  margin-right: 10px;
}
.board-info .select-btn-wrap {
  display: flex;
}
.board-info .select-btn-wrap .btn-item {
  position: relative;
  color: #c8c8c8;
  font-size: 1.6rem;
}
.board-info .select-btn-wrap .btn-item.on:hover,
.board-info .select-btn-wrap .btn-item.on {
  color: #6a6a6a;
}
.board-info .select-btn-wrap .btn-item:first-child {
  padding-right: 5px;
  margin-right: 5px;
}
.board-info .select-btn-wrap .btn-item:first-child:after {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 10px;
  background-color: var(--border-color);
  content: "";
}
.board-info .page-total span {
  color: var(--color-m);
}
.board-info .select-btn-wrap .btn-category {
  border: 1px solid var(--color-m);
  color: var(--color-m);
  border-radius: 30px;
  min-width: 150px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}
.board-info .select-btn-wrap .btn-category.on,
.board-info .select-btn-wrap .btn-category:hover {
  background-color: var(--color-m);
  color: #fff;
}

.board-search .inner {
  display: flex;
  justify-content: center;
}
.board-search .search-item {
  display: flex;
  gap: 10px;
}
.board-search .search-item #schKeyword {
  width: 300px;
  border-right: 0;
}
.board-search .btn-search {
  border: 1px solid #e1e1e1;
  text-indent: -999%;
  overflow: hidden;
  background: url("/resources/images/home/sub/ico-search.png") center no-repeat;
  width: 40px;
  height: 45px;
  border-left: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.board-list {
  text-align: center;
}
.board-list > table {
  border-top: 2px solid var(--color-m);
  width: 100%;
}
.board-list thead th {
  background-color: var(--color-light);
  padding: 20px 10px;
  font-weight: 500;
}
.board-list tbody td {
  padding: 20px 10px;
  border-bottom: 1px solid #efefef;
}
.mb-list tbody td.td-status{display: flex; flex-direction: column; gap: 4px;}
.mb-list tbody td.td-action{display: flex; flex-direction: column; align-items: center; gap: 4px;}

.board-list tbody tr:hover {
  background-color: #f9f9f9;
}

.board-list-faq .faq-list {
  border-top: 2px solid #363636;
}
.board-list-faq .faq-list .q {
  display: block;
  padding: 20px 20px 20px 40px;
  position: relative;
  border-bottom: 1px solid var(--color-b);
  font-weight: 500;
}
.board-list-faq .faq-list .q::before {
  color: var(--color-m);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  content: "Q";
  font-weight: 600;
}
.board-list-faq .faq-list .q::after {
  content: "\e941";
  font-family: "xeicon";
  display: block;
  font-weight: normal;
  line-height: 1;
  font-size: 1.25rem;
  position: absolute;
  right: 20px;
  top: 25px;
  transition: 0.3s;
  z-index: 1;
}
.board-list-faq .faq-list .q.on:after {
  transform: rotate(-180deg);
}
.board-list-faq .faq-list .q.on {
  background: #fff;
}
.board-list-faq .faq-list .q.on + .a {
  display: block;
}
.board-list-faq .faq-list .a {
  position: relative;
  padding: 20px 20px 20px 40px;
  display: none;
  border-bottom: 1px solid var(--color-b);
}
.board-list-faq .faq-list .a::before {
  content: "A";
  color: var(--color-point);
  position: absolute;
  left: 20px;
  top: 19px;
  font-weight: 600;
}

.board-list-gallery ul {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.board-list-gallery li {
  width: calc((100% / 3) - 13.333px);
}
.board-list-gallery .item {
  display: block;
}
.board-list-gallery .item .txt {
  padding: 20px;
  background-color: var(--color-light);
}
.board-list-gallery .item .board-con {
  font-weight: 500;
  height: 3.5rem;
}
.board-list-gallery .item .board-date {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
  opacity: 0.8;
  font-size: 0.935rem;
  align-items: center;
  gap: 5px;
}
.board-list-gallery .board-subject {
  display: flex;
  gap: 5px;
  margin-bottom: 5px;
  align-items: center;
}
.board-list-gallery .board-img {
  height: 300px;
}
.board-list-gallery .category {
  position: absolute;
  right: 0;
  top: 0;
  color: #fff;
  background-color: #888888;
  width: 130px;
  height: 40px;
  border-bottom-left-radius: 20px;
  box-shadow: 2px 3px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.board-list-gallery .category.ing {
  background-color: var(--color-m);
}
.board-list-gallery .category.ing::before {
  background: url("../../images/home/main/mico04.png") left center no-repeat;
  content: "";
  width: 19px;
  height: 20px;
}

.board-write-frm {
  max-width: 750px;
  margin: 0 auto;
}
.board-write-frm .write-frm-wrap {
  border: 1px solid #e1e1e1;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 20px;
}
.board-write-frm .write-frm-wrap .h4-tit {
  padding: 20px;
  font-size: 1.125rem;
  background-color: var(--color-light);
  margin-bottom: 0;
}
.board-write-frm .write-frm-con {
  padding: 20px;
}
.board-write-frm .label-txt {
  position: relative;
  display: block;
  width: 100%;
  font-weight: 500;
  text-align: left;
}
.board-write-frm .frm-item {
  display: flex;
  gap: 5px;
  margin: 10px 0;
  flex-wrap: wrap;
}
.board-write-frm .frm-item .subject {
  padding: 10px;
  width: 100%;
  background-color: var(--color-light);
  font-weight: 500;
  font-size: 1.125rem;
  border-radius: 5px;
  margin-top: 20px;
}
.board-write-frm .frm-item .flex {
  flex: 1;
}
.board-write-frm .frm-item .flex .inout-row {display: flex; align-items: center; gap: 4px;}
.board-write-frm .frm-item .flex .label-txt {
  margin-bottom: 5px;
}
.board-write-frm .btn-input-wrap {
  display: flex;
  gap: 5px;
  align-items: center;
  width: 100%;
}
.board-write-frm .label-flx {
  flex-shrink: 0;
  flex-basis: 100px;
}
.board-write-frm .txt-info {
  border-bottom: 1px solid #e1e1e1;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 1.125rem;
  display: flex;
  gap: 5px;
  font-weight: 500;
  align-items: center;
  color: var(--color-point);
}
.board-write-frm .txt-info::before {
  font-family: "xeicon";
  content: "\ea2d";
}

.board-view-header {
  display: flex;
  gap: 30px;
  width: 100%;
  padding: 30px;
  background: #f5f5f5;
  border-left: 5px solid var(--color-m);
  align-items: center;
}
.board-view-header .header-img {
  flex-shrink: 0;
}
.board-view-header .header-txt {
  flex-grow: 1;
}
.board-view-header .header-tit {
  font-size: 1.875rem;
  color: #444;
  font-weight: bold;
}
.board-view-header .header-info {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--color-b);
}
.board-view-header .header-info > p {
  font-size: 18px;
  line-height: 30px;
  color: #888;
}
.board-view-header .header-info > ul > li {
  display: inline-block;
  position: relative;
  margin-right: 15px;
  color: #8b8b8b;
}
.board-view-header .header-info > ul > li.name {
  padding: 0 20px;
}
.board-view-header .header-info > ul > li.name:before,
.board-view-header .header-info > ul > li.name:after {
  content: "";
  width: 1px;
  height: 15px;
  background: var(--color-b);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.board-view-header .header-info > ul > li.name:before {
  left: 0;
}
.board-view-header .header-info > ul > li.name:after {
  right: 0;
}

.board-view-file {
  width: 100%;
  padding: 20px;
  background: #f5f5f5;
  margin: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.board-view-file .name {
  background: url("../../images/home/sub/ico-file.png") right center no-repeat;
  padding-right: 20px;
  flex-shrink: 0;
}
.board-view-file a {
  text-decoration: underline;
}

.board-view-default {
  border-bottom: 1px solid var(--color-b);
  padding: 20px;
  min-height: 300px;
}
.board-view-default dl {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}
.board-view-default dt {
  position: relative;
  padding-left: 20px;
  font-weight: 500;
  flex-shrink: 0;
  flex-basis: 150px;
}
.board-view-default dt::after {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid #333;
  border-radius: 50%;
  content: "";
  left: 0;
  top: 8px;
}
.board-view-default dd {
  flex-grow: 1;
}
.board-view-default .detail {
  display: flex;
  gap: 5px;
  position: relative;
  margin: 5px 0;
}
.board-view-default .detail::after {
  position: absolute;
  left: 380px;
  width: 200px;
  height: 1px;
  border-bottom: 1px dashed var(--color-b);
  content: "";
  top: 13px;
}
.board-view-default .detail .tit {
  flex-basis: 600px;
  background-color: #fff;
}
.board-view-default .jum {
  font-weight: 600;
}
.board-btn-wrap {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 20px 0;
}
.board-btn-right-wrap {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin: 20px 0;
}
.board-btn-between-wrap {
  display: flex;
  justify-content: space-between;
}

.board-nav {
  background-color: var(--color-light);
  margin: 20px 0;
  padding: 20px;
  display: flex;
  gap: 20px;
  flex-direction: column;
}
.board-nav .item {
  display: flex;
  align-items: center;
  gap: 20px;
}
.board-nav .info {
  font-weight: 500;
  flex-shrink: 0;
  color: var(--color-m);
}

.board-page {
  display: flex;
  gap: 5px;
  align-items: center;
  margin: 50px 0;
  justify-content: center;
}
.board-page .btn-page {
  border: 1px solid var(--color-b);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.board-page .btn-page.btn-current {
  border: 0;
}
.board-page .btn-page:hover,
.board-page .btn-prev,
.board-page .btn-next,
.board-page .btn-first,
.board-page .btn-last {
  background-color: var(--color-m);
  color: #fff;
  border-color: var(--color-m);
}

.line-wrap {
  position: absolute;
  width: 100%;
  height: 100%;
  bottom: 0;
  left: 0;
  z-index: 10;
}
.line-box span.line {
  position: absolute;
  background-color: var(--color-m);
  border: none;
  z-index: 100;
}
.line-box span.line-top {
  width: 0;
  height: 4px;
  top: 0;
  right: 0;
}
.line-box span.line-right {
  width: 4px;
  height: 0;
  bottom: 0;
  right: 0;
}
.line-box span.line-bottom {
  width: 0;
  height: 4px;
  bottom: 0;
  left: 0;
}
.line-box span.line-left {
  width: 4px;
  height: 0;
  top: 0;
  left: 0;
}
.line--item {
  position: relative;
}
.line--item:hover .line-box span.line-top,
.line--item:hover .line-box span.line-bottom {
  animation: widths 0.8s cubic-bezier(0.345, 0.005, 0.07, 1) 1;
  animation-fill-mode: forwards;
}
.line--item:hover .line-box span.line-right,
.line--item:hover .line-box span.line-left {
  animation: heights 0.8s cubic-bezier(0.345, 0.005, 0.07, 1) 1;
  animation-fill-mode: forwards;
}

@keyframes widths {
  form {
    width: 0%;
  }
  to {
    width: 100%;
  }
}
@keyframes widthshalf {
  form {
    width: 0%;
  }
  to {
    width: 50%;
  }
}
@keyframes heights {
  form {
    height: 0%;
  }
  to {
    height: 100%;
  }
}

.board-write-frm .frm-item.viewPersinal{display: none;}

@media screen and (max-width: 1024px) {
  .board-view-header {
    padding: 20px;
  }
  .board-view-header .header-img {
    display: none;
  }
  .board-view-header .header-tit {
    font-size: 1.25rem;
  }

  .board-list-gallery .item .board-con {
    height: 3rem;
  }
  .board-list-gallery .board-img {
    height: 200px;
  }
  .board-list-gallery li {
    width: calc((100% / 2) - 10px);
  }

  .board-write-frm .write-frm-wrap {
    border-radius: 10px;
  }
  .board-write-frm .write-frm-wrap .h4-tit {
    padding: 10px 20px;
  }
  .board-write-frm .write-frm-wrap .frm-item .flex {
    flex: auto;
    width: 100%;
  }

  .board-view-default dl {
    flex-direction: column;
    gap: 5px;
  }
  .board-view-default dt {
    flex-basis: 0;
  }
  .board-view-default .detail {
    flex-wrap: wrap;
  }
  .board-view-default .detail::after {
    display: none;
  }
  .board-view-default .jum {
    width: 100%;
    display: block;
    text-align: right;
  }

  .board-btn-between-wrap {
    display: block;
  }
}

@media screen and (max-width: 720px) {
  .none-data {
    line-height: 100px;
  }

  .input-text {
    font-size: 14px;
    height: 35px;
    border-radius: 2px;
  }
  textarea.input-text {
    height: 200px;
  }

  .board-view-file {
    flex-wrap: wrap;
  }

  .board-view-header .header-tit {
    font-size: 1.125rem;
  }
  .board-view-header .header-info {
    margin-top: 10px;
    padding-top: 10px;
  }
  .board-view-header .header-info > ul > li {
    margin-right: 10px;
  }
  .board-view-header .header-info > ul > li.name {
    padding: 0 10px;
  }
  .board-view-header .header-info > ul > li.name:before {
    height: 10px;
  }
  .board-view-header .header-info > ul > li.name:after {
    height: 10px;
  }

  .board-search .search-item {
    gap: 5px;
  }
  .board-search .search-item:first-child {
    width: calc(100% - 35px);
  }
  .board-search .search-item:last-child *:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
  }
  .board-search .search-item:first-child .input-text:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  .board-search .btn-search {
    width: 35px;
    height: 35px;
  }
  .board-search .flex-box {
    justify-content: flex-start;
    flex-direction: column;
  }
  .board-search .frm-date {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 0;
  }
  .board-search .frm-date .input-text {
    width: calc(48% - 5px);
  }
  .board-search .frm-date span {
    width: 4%;
    text-align: center;
  }
  .board-search .label-txt {
    margin-right: 0;
    width: 100%;
  }
  .board-search .label-txt {
    width: auto;
  }
  .btn-search {
    background-image: none;
    text-indent: 0;
    text-align: center;
  }
  .board-info {
    flex-wrap: wrap;
  }
  .board-info .txt-info {
    display: block;
    margin-top: 5px;
  }
  .board-info .board-search {
    margin-top: 10px;
    width: 100%;
  }
  .board-info .select-btn-wrap .btn-category {
    margin-left: 2px;
    height: 40px;
    width: auto;
    flex: 1;
    min-width: auto;
    font-size: 13px;
    word-break: keep-all;
  }

  .board-page .btn-page {
    width: 30px;
    height: 30px;
  }
  .mb-list colgroup{display: none;}
  .mb-list thead {
    display: none;
  }
  .mb-list tr {
    display: block;
  }
  .mb-list tbody td {
    display: flex;
    width: 100%;
    padding: 5px 0;
  }
  .mb-list tbody td.td-status{flex-direction: row}
  .mb-list tbody td.td-action{flex-direction: row}
  .mb-list tbody td:not(:last-child) {
    border-bottom: 0;
  }
  .mb-list .td-mb-none {
    display: none;
  }
  .mb-list td::before {
    min-width: 85px;
    font-weight: 600;
    text-align: left;
  }

  .td-subject {
    flex-wrap: wrap;
    gap: 5px;
  }
  .td-addfile::before {
    content: "첨부파일";
  }
  .td-date::before {
    content: "작성일";
  }
  .td-datew::before {
    content: "등록일";
  }
  .td-name::before {
    content: "작성자";
  }
  .td-hit::before {
    content: "조회";
  }
  .td-edu-kind::before {
    content: "교육구분";
  }
  .td-edu-time::before {
    content: "교육시간";
  }
  .td-edu-position::before {
    content: "교육장소";
  }
  .td-edu-person::before {
    content: "교육인원";
  }
  .td-edu-dt::before {
    content: "교육기간";
  }
  .td-edu-dd::before {
    content: "교육일자";
  }
  .td-status::before {
    content: "상태";
  }
  .td-apply::before {
    content: "접수기간";
  }
  .td-year::before {
    content: "년도";
  }
  .td-round::before {
    content: "차수";
  }
  .td-type::before {
    content: "교육일자";
  }
  .td-capacity::before {
    content: "모집정원";
  }
  .td-action::before {
    content: "신청";
  }
  .td-subject.txt-c {
    justify-content: flex-start;
  }

  .board-list-gallery li{width: 100%;}
}

@media screen and (max-width: 360px) {
  .board-view-header .header-info > ul > li.name {
    padding-right: 5px;
    margin-right: 5px;
  }
}
