#sub_container .contents {
  width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.main_list td a {
  display: inline-block;
  padding: 20px 0;
  transition: 0.2s;
  max-width: 650px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.main_list td img {
  display: inline-block;
  padding: 20px 0 20px 2px;
}

.certification tr > th {
  border: 0;
}

.certification tr > th:nth-child(1) {
  width: 10%;
}

.certification tr > th:nth-child(2) {
  width: 60%;
}

.certification tr > th:nth-child(3) {
  width: 10%;
}

.certification tr > th:nth-child(4) {
  width: 10%;
}

.certification tr > th:nth-child(5) {
  width: 10%;
}

.main_list tr > td:nth-child(1) {
  width: 10%;
}

.main_list tr > td:nth-child(2) {
  width: 60%;
}

.main_list tr > td:nth-child(3) {
  width: 10%;
}

.main_list tr > td:nth-child(4) {
  width: 10%;
}

.main_list tr > td:nth-child(5) {
  width: 10%;
}

.qna_title {
  text-align: left;
  padding-top: 20px;
  font-size: 1.8rem;
  font-weight: 400;
}

.qna_text {
  width: 100%;
  font-size: 1.1rem;
  font-weight: 300;
  color: #3a3a3a;
  line-height: 1.6rem;
  min-height: 450px;
  word-break: break-word;
}

.qna_text img {
  /* 에디터에서 저장된 이미지 태그에 인라인 style(예: max-width:100%)이 박혀 있어도
     이 화면에서는 항상 500px로 보이도록 !important로 강제한다 */
  max-width: 500px !important;
  height: auto !important;
}

.qna_reply {
  background: #eaeaea;
  min-height: 250px;
  margin-bottom: 10px;
  word-break: break-word;
}

.qna_reply_title {
  font-size: 1.3rem;
  font-weight: 500;
  padding-top: 30px;
  padding-left: 10px;
}

.qna_reply_text {
  font-size: 1.1rem;
  font-weight: 300;
  vertical-align: top;
  line-height: 1.6rem;
  padding: 0 12px 50px 12px;
}

.qna_reply_text img {
  /* 답변 내용에 삽입된 이미지가 원본 크기(가로/세로)가 아무리 커도
     본문 폭(.qna_text img 와 동일한 500px)을 넘어가지 않도록 제한.
     인라인 style이 박혀 있어도 이기도록 !important 적용 */
  max-width: 500px !important;
  height: auto !important;
}

/* 

.qna_wr_title {
    display: block;
    padding: 20px 0;
    font-size: 1.1rem;
    font-weight: 400;
}

.qna_wr_title b {
    font-weight: 400;
}


.fff {
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #a0a0a0;
    font-size: 1rem;
    font-weight: 300;
    width: 100%;
}

.inputbox_multi1 {
    width: 29%;
    height: 25px;
    background: #ffffff;
    border: 0;
    border-bottom: 1px solid #a0a0a0;
    font-size: 0.9rem;
}

.qna_wr_tel {
    width: 30%;
    height: 25px;
    background: #ffffff !important;
    border: 0;
    border-bottom: 1px solid #a0a0a0;
    text-align: center;
    font-size: 0.9rem;
}

.hyphen {
    display: inline-block;
    width: 4%;
    text-align: center;
}

.qna_wr_title_con {
    width: 100%;
    height: 250px;
    font-size: 0.9rem;
    margin-top: 20px;
    padding: 2px;
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
} */

/* qnalogin.php */

.qnalogin_1,
.qnalogin_2 {
  width: 60%;
  margin: 0 auto;
}

.qnalogin_1 tr:nth-of-type(2) td {
  padding: 10px 0;
}

.qnalogin_1 tr:nth-of-type(2) td b {
  font-size: 1.3rem;
  font-weight: 400;
}

.qnalogin_2 input {
  margin: 30px auto;
  border: 1px solid #a0a0a0;
  width: 200px;
  height: 30px;
  border-radius: 5px;
}

/* 
 table form table table>tbody>tr:nth-child(2n-1){
     height: 45px;
 }
 */

form[name="signform"] > a {
  display: block;
  float: left;
  height: 40px;
  line-height: 40px;
  width: 150px;
  text-align: center;
  background: #434343;
  color: #ffffff;
  font-weight: 500;
  font-size: 16px;
  border-radius: 5px;
}

.board_search {
  margin-left: 0;
}

@media screen and (max-width: 1280px) {
  #sub_container .contents {
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 1100px) and (min-width: 801px) {
  .contents {
    padding: 0 10px;
  }
}

@media screen and (max-width: 800px) {
  .board_search {
    text-align: center;
  }

  .certification {
    display: none;
  }

  .main_list tr > td:first-child {
    display: none;
  }

  .main_list {
    border-top: 2px solid #ccc;
  }

  .main_list tr {
    display: block;
    border-bottom: 1px solid #ccc;
    box-sizing: border-box;
  }

  .main_list tr::after {
    content: "";
    display: block;
    clear: both;
  }

  .main_list tr td {
    display: block;
    float: left;
    padding: 5px 5px;

    border: 0;
    box-sizing: border-box;
  }

  .main_list td a {
    padding: 0;
  }

  .main_list td img {
    display: inline-block;
    padding: 0;
    margin-left: 10px;
  }

  .main_list tr > td:nth-child(2) {
    width: 100%;
    padding-left: 2% !important;
    padding-right: 2%;
    padding-top: 10px;
  }

  .main_list tr > td:nth-child(2) a {
    font-size: 14px;
    max-width: 580px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .main_list tr > td:nth-child(3) {
    width: auto;
    padding-left: 2%;
    text-align: left;
    padding-bottom: 10px;
  }

  .main_list tr > td:nth-child(3):after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    background: #acacac;
    margin: 0 30px;
  }

  .main_list tr > td:nth-child(4) {
    width: auto;
    text-align: left;
    padding: 5px 0;
    color: #7c7c7c;
    padding-bottom: 10px;
  }

  .main_list tr > td:nth-child(5) {
    float: right;
    width: auto;
    text-align: right;
    padding-right: 2%;
    padding-bottom: 10px;
  }

  .qna_write td {
    display: block;
    width: 100%;
  }

  .hyphen {
    width: 3%;
  }

  .qna_wr_title_con {
    margin-top: 0;
  }

  .qnalogin_1,
  .qnalogin_2 {
    width: 80%;
  }
}

@media screen and (max-width: 550px) {
  .main_list tr > td:nth-child(2) a {
    max-width: 350px;
  }
}

@media screen and (max-width: 400px) {
  .main_list tr > td:nth-child(2) a {
    max-width: 280px;
  }
}
