@charset "UTF-8";
.notification_banner.qna {
  background: url(../_img/common/qna_banner.png) no-repeat center center / cover;
}
.result_ul li a {
  width: 100%;
  display: flex;
  border: 1px solid;
}
.qna_menu {
  margin: 0 auto 64px;
  display: flex;
  gap: 8px;
  justify-content: center;
}

.qna_menu a {
  max-width: 320px;
  width: 100%;
  height: 55px;
  line-height: 55px;
  border: 1px solid #d9d9d9;
  display: inline-block;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
}

.qna_menu a:hover {
  border: 1px solid #299738;
  color: #299738;
}
.qna_menu a.active {
  background: #299738;
  color: #fff;
}
.qna_search_box {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.qna_search_box h4 {
  font-weight: 500;
  font-size: 18px;
  line-height: 130%;
  color: #141414;
  display: flex;
  align-items: center;
  gap: 4px;
}
.qna_search_box h4 b {
  color: #299738;
}
.qna_search_box .search {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 723px;
  width: 100%;
}

.qna_search_box .search .selects,
.qna_search_box .search .ip_box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qna_search_box .search .ip_box input {
  width: 300px;
  border-radius: 4px;
}
.qna_search_box .search .ip_box .btn-green {
  width: 79px;
  height: 45px;
  line-height: 45px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 500;
  flex-shrink: 0;
}
.qna_ul {
  border-top: 2px solid #000000;
  border-bottom: 1px solid #000000;
  margin-bottom: 64px;
}
.qna_ul li {
  border-bottom: 1px solid #d9d9d9;
}
.qna_ul li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  width: 100%;
}
.qna_ul li a:hover {
  background: #f5f5f5;
}
.qna_ul li a .left {
  display: flex;
  gap: 24px;
  align-items: center;
  width: 100%;
}
.qna_ul li a .right {
  display: flex;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 200px;
}
.qna_ul li a .left .title {
  color: #141414;
  font-weight: 400;
  font-size: 18px;
  max-width: 830px;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  word-break: break-word;

  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.qna_ul li a span {
  font-weight: 400;
  font-size: 16px;
  color: #141414;
  text-align: center;
}

.qna_ul li a span.number {
  text-align: left;
  width: 22px;
}
.qna_ul li a span.type {
  font-weight: 500;
  max-width: 160px;
  width: 100%;
}

.qna_ul li a span.day {
  color: #8c8c8c;
}

.qna_ul li a span.state {
  max-width: 80px;
  width: 100%;
}
.qna_tbl table {
  width: 100%;
}

.qna_tbl h1 {
  color: #141414;
  font-weight: 700;
  font-size: 22px;
  line-height: 140%;
  margin-bottom: 16px;
}
.qna_tbl table th {
  border: 1px solid #d9d9d9;
  background: #f5f5f5;
  color: #141414;
  font-size: 16px;
  font-weight: 700;
  height: 65px;
}

.qna_tbl table td {
  padding: 12px;
  color: #141414;
  font-size: 16px;
  border: 1px solid #d9d9d9;
}

.qna_tbl table tr.content th {
  height: 403px;
}
.qna_tbl table tr.content td .cont_td {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}
.qna_tbl table tr.content td {
  padding: 24px 12px;
}
.qna_tbl table tr.content td img {
  max-width: 507px;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.comment_tbl {
  margin-top: 40px;
}

.comment_tbl table .comment {
  min-height: 84px;
  height: 100%;
}

.comment_tbl table .comment p {
  color: #141414;
  font-size: 16px;
  font-weight: 400;
  line-height: 130%;
}
.comment_tbl table td {
  padding: 24px 12px;
}
.write_tbl {
  padding-top: 16px;
}
.qna_tbl table tr.content_editor {
  height: 357px;
}
.qna_tbl table tr.content_editor td {
  height: 357px;
}
.qna_tbl table tr.content_editor .editor_box {
  height: 100%;
  width: 100%;
}

.qna_tbl table tr.file_box .file_cont {
  display: flex;

  flex-direction: column;
  gap: 8px;
}

.qna_tbl table tr.file_box .file_cont .fileinput {
  display: flex;
  gap: 8px;
}
.qna_tbl table tr.file_box .file_cont .fileinput .file_btns {
  display: flex;
  gap: 4px;
  align-items: center;
}
.qna_tbl table tr.file_box .file_cont .fileinput .btn {
  height: 41px;
  line-height: 41px;
  border-radius: 4px;
  font-weight: 500;
  cursor: pointer;
}
.file-name-input {
  width: 320px;
  height: 41px;
  border-radius: 4px;
}
/* Mobile */
@media screen and (max-width: 768px) {
  .business__inner.p32 {
    padding: 24px 0 80px;
  }
  .business__inner.p40 {
    padding: 24px 0 40px;
  }
  .business__inner.mt24 {
    padding: 24px 0 80px;
  }
  .qna_menu {
    margin-bottom: 40px;
    gap: 6px;
  }
  .qna_menu a {
    max-width: 100%;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
  }
  .qna_menu.mo24 {
    margin-bottom: 24px;
    padding: 0 16px;
  }
  .qna_search_box {
    padding: 0 16px;
  }
  .qna_search_box,
  .qna_search_box .search {
    flex-direction: column;
    gap: 8px;
    align-items: start;
  }
  .qna_search_box .search .selects,
  .qna_search_box .search .ip_box {
    width: 100%;
  }
  .qna_search_box .search .selects .select_box {
    width: 100%;
  }
  .qna_search_box .search .selects .select_box .select-search-B {
    width: 100%;
  }
  .qna_search_box .search .selects .select_box .select-search-B:after {
    top: 50%;
  }
  .qna_ul {
    margin-bottom: 42px;
  }
  .qna_ul li {
    border: none;
  }
  .qna_ul li a {
    flex-direction: column;
    padding: 16px;
    gap: 16px;
    position: relative;
  }
  .qna_ul li:not(:last-child) a::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: calc(100% - 32px);
    height: 1px;
    background-color: #d9d9d9;
  }
  .qna_ul li a .right {
    justify-content: space-between;
    max-width: 100%;
    align-items: center;
  }
  .qna_ul li a .right .bottom {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .qna_ul li a .right .bottom .state {
    display: flex;
    align-items: center;
  }
  .qna_ul li a .right .bottom .state::after {
    content: "";
    width: 1px;
    height: 12px;
    background: #bfbfbf;
    display: inline-block;
    margin-left: 8px;
  }
  .qna_ul li a span.type {
    max-width: fit-content;
  }
  .qna_ul li a .left .title {
    font-size: 16px;
    -webkit-line-clamp: 2;
  }
  .qna_ul li a span {
    font-size: 15px;
    font-weight: 400 !important;
  }
  .tbl_pagination.mb0 {
    margin-bottom: 0;
  }
  .qna_search_box h4 {
    font-size: 16px;
  }
  .qna_tbl h1 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .qna_tbl table th {
    height: 59px;
    font-size: 15px;
  }
  .qna_tbl table td,
  .comment_tbl table .comment p {
    font-size: 15px;
  }
  .qna_tbl table tr.content td,
  .comment_tbl table td {
    padding: 16px 12px;
  }
  .qna_tbl table tr.content th {
    height: fit-content;
  }
  .comment_tbl {
    margin-top: 24px;
  }
  .comment_tbl table .comment {
    min-height: 59px;
  }
  .file-name-input {
    width: 100%;
  }
  .qna_tbl table tr.file_box .file_cont .fileinput {
    flex-wrap: wrap;
  }
  .file_box.gap8 {
    gap: 4px;
  }
  .qna_tbl table tr.file_box .file_cont {
    gap: 16px;
  }
  .write_tbl table td {
    padding: 10px;
  }
  .qna_tbl table tr.file_box .file_cont .fileinput .btn {
    height: 34px;
    line-height: 34px;
  }
  .write_btns {
    margin: 32px auto 0;
  }
  .write_btns .btn {
    height: 34px;
    line-height: 34px;
    padding: 0 16px;
    font-size: 14px;
  }
  .write_tbl {
    padding-top: 0;
  }
  .notification_banner.qna {
    background: url(../_img/common/qna_banner_mo.png) no-repeat center center / cover;
  }

  .qna_search_box .search .ip_box input {
    width: 100%;
  }
  .qna_de_inner .mo_post_list .posts {
    padding: 0;
    width: 100%;
  }
}
