/* ------------------------------- */
/* reset */
/* ------------------------------- */
html,
body,
div,
p,
h1,
h2,
h4,
table,
ul,
li {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: #424242;
}

ul,
li {
  list-style: none;
}

body {
  font-family: "Spoqa Han Sans Neo", "sans-serif";
}

button {
  outline: none;
  background-color: transparent;
  border: none;
}

input {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  background-color: transparent;
  border-width: 1px;
  box-sizing: border-box;
  border-style: solid;
}

input[type="file"] {
  border: none;
}

/* ------------------------------- */
/* layout */
/* ------------------------------- */
html {
  height: 100%;
  font-size: 16px;
}

@media screen and (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  html {
    font-size: 12px;
  }
}

/* ------------------------------- */
/* board main */
/* ------------------------------- */
#pagingul {
  text-align: center;
  display: inline-block;
  border-right: 0;
  list-style-type: none;
  padding-left: 0;
  width: 100%;
  margin-top: 1.8rem;
}

#pagingul li {
  text-align: center;
  display: inline-block;
}

#pagingul li a {
  display: block;
  font-size: 14px;
  box-sizing: border-box;
  width: 2.3rem;
  height: 2.3rem;
  line-height: 2.3rem;
  font-size: 1rem;
  cursor: pointer;
}

#pagingul li:first-child a,
#pagingul li:last-child a {
  border: none;
}

#pagingul li.on {
  background: #fff;
  border: 1px solid #46ab66;
  border-radius: 5px;
}

#pagingul li.on a {
  color: #46ab66;
  border-radius: 5px;
}

#pagingul li.on.active {
  background: #46ab66;
  border: 1px solid #fff;
  border-radius: 5px;
}

#pagingul li.on.active a {
  color: #fff;
  border-radius: 5px;
}

table {
  width: 100%;
  border-top: 1px solid #e5e5e5;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  cursor: pointer;
}

th,
td {
  border-bottom: 1px solid #444;
  padding: 10px;
  height: 3rem;
  line-height: 3rem;
  box-sizing: border-box;
  font-size: 1rem;
}

.private_info tr td:nth-child(1) {
  width: 220px;
}

tr td:nth-child(3) {
  padding-left: 10rem;
  width: 120px;
}

@media screen and (max-width: 767px) {
  .private_info tr td:nth-child(1) {
    width: 90px;
  }

  tr td:nth-child(3) {
    padding-left: 20px;
    width: 70px;
  }
  .private_info tr td:nth-child(3) {
    padding: 0;
  }
}

.btn_bk {
  background-color: #424242;
  width: 7.75rem;
  height: 2.875rem;
  line-height: 2.875rem;
  color: #fff;
  font-size: 1rem;
}

.btn_new {
  float: right;
}

/*게시판 모바일 최적화*/
@media screen and (max-width: 1200px) {
  #search_box .sel_cate {
    width: 24%;
    height: 5.125rem;
    padding: 0 10px;
    border-radius: 4px;
    font-size: 18px;
    float: left;
    cursor: pointer;
  }

  #search_box input {
    width: 74%;
    height: 5.125rem;
    padding: 0 20px;
    border-radius: 4px;
    font-size: 18px;
    position: relative;
  }

  th,
  td {
    border-bottom: 1px solid #444;
    padding: 10px;
    height: 7rem;
    line-height: 2.5rem;
    box-sizing: border-box;
    font-size: 1.2rem;
  }

  #search_box .search_keyword::after {
    position: absolute;
    right: 15px;
  }

  #pagingul li a {
    display: block;
    border: solid 1px #ccc;
    box-sizing: border-box;
    width: 2.4rem;
    height: 2.4rem;
    line-height: 2.4rem;
    font-size: 1.2rem;
  }
}

/* board faq */
.category-manual {
  width: 100%;
  height: 4.75rem;
  margin-top: 2.5rem;
}

.category-manual a {
  display: inline-block;
  width: calc(100% / 6);
  height: 4.5rem;
  line-height: 4.75rem;
  color: #999;
  text-align: center;
  float: left;
  border-bottom: 2px solid #cfcfcf;
  box-sizing: border-box;
  font-size: 1.1rem;
}

@media screen and (max-width: 1080px) {
  .category-manual a {
    width: calc(100% / 6);
  }
}

@media screen and (max-width: 900px) {
  .category-manual {
    height: 9.5rem;
  }

  .category-manual a {
    width: calc(100% / 3);
  }

  .category-manual a:nth-child(4) {
    border-top: none;
  }

  .category-manual a:nth-child(5),
  .category-manual a:nth-child(6) {
    border-top: none;
  }

  .category-manual a:nth-child(5) div {
    font-size: 15px !important;
    word-spacing: 3px !important;
    line-height: 22px !important;
    padding: 10px 0 !important;
  }
}

.category-manual a.on {
  color: #46ab66;
  border-bottom: 2px solid #46ab66;
}

.accordion_wrap {
  clear: both;
}

.q_tit {
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  padding-left: 8rem;
  font-size: 1.3rem;
  font-weight: 400;
}

.q_cate {
  display: block;
  padding-left: 8rem;
  font-size: 1rem;
  color: #46ab66;
  margin-bottom: 6px;
}

.que {
  position: relative;
  padding: 1.6rem 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  row-gap: 5px;
  border-bottom: 1px solid #ddd;
}

.que::before {
  display: inline-block;
  content: "Q";
  font-size: 300%;
  color: #383838;
  margin-right: 5px;
  /* background: url(/img/icon/icon_q.png) center center no-repeat; */
  position: absolute;
  top: 53%;
  transform: translateY(-50%);
  left: 2.5rem;
  width: 57px;
  height: 71px;
}

@media screen and (max-width: 1200px) {
  .que::before {
    display: none;
  }
}

.que::after {
  display: block;
  position: absolute;
  content: "";
  right: 3rem;
  top: 46%;
  transition: all 0.3s ease-in-out;
  background: url(/image/icon/icon_arrow_down.png) center center no-repeat #fff;
  width: 20px;
  height: 12px;
}

.que.on::after {
  transform: scaleY(-1);
}

.anw {
  display: none;
  overflow: hidden;
  font-size: 18px;
  padding: 24px 20px;
  color: #666;
  white-space: pre-line;
  background-color: #fafcff;
  border-bottom: 1px solid #ddd;
  line-height: 16px;
}

.anw::before {
  display: none;
  content: "A";
  font-size: 1.5rem;
  font-weight: 700;
  color: #666;
  margin-right: 5px;
}

/* ------------------------------- */
/* board write */
/* ------------------------------- */
#board_write {
  width: 80%;
  max-width: 1465px;
  position: relative;
  margin: 1.5rem auto 0;
  border-top: 3px solid #8a949e;
  padding-top: 1rem;
}

#smart_editor2 {
  min-width: unset !important;
}

#write_area {
  font-size: 14px;
}

#in_title #utitle {
  width: 100%;
  height: 3.625rem;
  font-size: 1.5rem;
  padding: 0 1.2rem;
  border-radius: 4px;
  border-color: #8c97a1;
}

#in_title #utitle::placeholder {
  color: #8c97a1;
}

#in_title textarea {
  font-weight: 700;
  font-size: 26px;
  color: #333;
  width: 600px;
  border: none;
  resize: none;
}

.wi_line {
  margin-top: 10px;
  width: 600px;
}

#in_content {
  margin-top: 10px;
}

#in_content textarea {
  font: 14px;
  color: #333;
  width: 600px;
  height: 300px;
  resize: none;
}

.btm_info {
  border-top: 2px dotted #c5c8d2;
  margin-top: 2rem;
}

.btm_info ul li {
  height: 4.5rem;
  line-height: 4.5rem;
  border-bottom: 1px solid #c5c8d2;
  padding: 0 1.5rem;
}

.btm_info ul li span {
  margin-right: 8.25rem;
  font-size: 1rem;
  text-align: center;
  width: 76px;
  display: inline-block;
}

@media screen and (max-width: 768px) {
  .btm_info ul li span {
    margin-right: 2rem;
  }
}

.btm_info #attFile {
  position: relative;
  height: 44px;
  padding-top: 11px;
  padding-left: 70px;
  width: 230px;
}

.btm_info #attFile input {
  font-family: "NexonLv2Gothic", Malgun Gothic, "맑은 고딕", Helvetica, sans-serif;
  position: absolute;
  top: 50%;
  transform: translateY(-4px);
  left: 70px;
  z-index: 1;
}

.btm_info #attFile::before {
  content: "";
  display: block;
  background: url(/img/icon/icon_file.png) center center no-repeat;
  width: 135px;
  height: 44px;
  position: absolute;
  top: -2px;
  left: 0;
  z-index: 2;
}

.btm_info #attFile::after {
  content: "";
  display: block;
  width: 50px;
  height: 44px;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 86px;
  z-index: 1;
}

@media screen and (max-width: 768px) {
  .btm_info #attFile {
    padding-left: 34px;
  }

  .btm_info #attFile::before {
    width: 100px;
    height: 44px;
    background-size: 100% auto;
  }

  .btm_info #attFile::after {
    left: 50px;
  }

  .btm_info #attFile input {
    left: 34px;
  }
}

.bt_se {
  margin-top: -5px;
  text-align: center;
  position: relative;
  width: 100%;
  height: 2.4rem;
}

.bt_se .btn_del {
  position: absolute;
  right: 0;
}

@media screen and (max-width: 768px) {
  .btn_del {
    margin-top: 1.3rem;
  }
}

.btn_type {
  width: 7.75rem;
  height: 2.875rem;
  line-height: 2.875rem;
  font-size: 1rem;
}

.bt_se .btn_type:first-child {
  position: absolute;
  left: 0;
}

.bt_se .btn_type:nth-child(2) {
  position: absolute;
  right: 8rem;
}

.bt_se .btn_type:last-child {
  position: absolute;
  right: 0;
  left: 0;
  margin: 0 auto;
  width: 180px;
  height: 48px;
  background-color: #46ab66;
  border-radius: 50px;
}

.bt_se .btn_bk {
  background-color: #2f2f2f;
  color: #fff;
}

.bt_se .btn_gr {
  background-color: #a7bacc;
  color: #fff;
}

/* ------------------------------- */
/* board detail */
/* ------------------------------- */

#detail_area {
  width: 100%;
  max-width: 91%;
  margin: 0 auto;
}

#detail_area #in_title {
  font-size: 1.55rem;
  min-height: 5rem;
  line-height: 2rem;
  padding: 20px 7px 0;
  color: #292929;
  border-bottom: 1px solid #e5e5e5;
}

#detail_area #in_title li {
  font-size: 1.55rem;
}

#detail_area #in_content {
  height: auto;
  min-height: 150px;
  margin: 20px 0 40px 0;
}

#detail_area #in_content div {
  text-align: left;
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.1;
  padding: 5px;
}

.board_list {
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  height: 130px;
  margin-bottom: 40px;
}

.board_list > div {
  height: 50%;
  position: relative;
}

#in_title_prev {
  border-bottom: 1px solid #e5e5e5;
}

#in_title_prev::before {
  content: attr(prev);
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}

#in_title_next::before {
  content: attr(next);
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 10px;
}

#detail_area #in_content p {
  font-size: 1.1rem;
  line-height: 1.45;
}

/* #in_title_prev::after {
  content: "";
  background: url(/img/icon/icon_arrow_up.png) center center no-repeat;
  width: 20px;
  height: 12px;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 30px;
}

#in_title_next::after {
  content: "";
  background: url(/img/icon/icon_arrow_down.png) center center no-repeat;
  width: 20px;
  height: 12px;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 30px;
} */

.board_list #in_title_prev div,
.board_list #in_title_next div {
  line-height: 60px;
  margin-left: 90px;
  width: calc(100% - 200px);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
}

/* 게시판 디테일  */
@media screen and (max-width: 1200px) {
  #detail_area #in_title {
    font-size: 1.3rem;
    height: auto;
    line-height: 2rem;
    letter-spacing: -0.5px;
    padding: 10px 0 0;
    border-bottom: 1px solid #e5e5e5;
    font-weight: 400;
  }

  .board_list #in_title_prev div,
  .board_list #in_title_next div {
    margin-left: 60px;
    line-height: 55px;
    font-size: 1.1rem;
    width: calc(100% - 100px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    cursor: pointer;
  }

  #detail_area #in_content div {
    text-align: left;
    font-size: 1.2rem;
    line-height: 1.5;
    padding: 0 3px;
  }

  #detail_area {
    width: 100%;
    margin: 0 auto;
  }

  .board_list {
    height: 105px;
  }

  #detail_area #in_content {
    margin: 15px 0 20px 0;
  }

  .bt_se .btn_type:last-child {
    width: 155px;
    height: 40px;
    font-size: 13px;
  }
}

#in_title span {
  font-size: 16px;
  font-weight: 400;
  color: #999;
}

#in_title ul {
  font-size: 28px;
  font-weight: 400;
  white-space: inherit;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1200px) {
  #in_title ul {
    font-size: 24px;
    word-wrap: break-word;
  }

  #in_title span {
    font-size: 14px;
  }
}

/* ------------------------------- */
/* profile */
/* ------------------------------- */

button:hover {
  opacity: 1;
  cursor: pointer;
}

/* Add padding and center-align text to the container */
.modal-container {
  padding: 16px;
  margin: 4%;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 21; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: #00000080;
  padding-top: 50px;
}

/* .modal-outbox{
  width: 100%;
  height: 100%;
  background-color: #595c61;
  opacity: 0.6;
  position: relative;
  top: -850px;
  z-index: -1;
} */

.safety_word li {
  line-height: 35px;
}

/* Modal Content/Box */
.modal-content {
  background-color: #ffffff;
  margin: 14% auto 5% auto; /* 5% from the top, 15% from the bottom and centered */
  border: 1px solid #888;
  border-radius: 4px;
  width: 25%; /* Could be more or less, depending on screen size */
  z-index: -2;
}

.line {
  width: 100%;
  height: 2.5px;
  background-color: #919191;
  position: relative;
  top: -2px;
}

/*비밀번호 변경 버튼 */
.pw-change button {
  width: 118px;
  height: 31px;
  border: 1px solid rgb(163, 163, 163);
  color: #777;
  background-color: #50504f;
  background-image: linear-gradient(rgb(255, 255, 255), #dfdddd);
  border-radius: 1px;
  margin-top: 10px;
  cursor: pointer;
  position: relative;
  top: 36px;
}

.pw-change {
  display: flex;
  position: relative;
  right: -531px;
  top: -90px;
  width: 55%;
}

.pw-change button span {
  font-size: 12px;
}

/* .pw-change-subtext{

  font-size: 11px;
  margin-right: 13px;
  margin-top: 18px;
  
} */

.number {
  position: relative;
  top: -24px;
}

/*계정탈퇴 버튼 */
.delete button {
  width: 76px;
  height: 31px;
  border: 1px solid rgb(196, 196, 196);
  color: #777;
  background-color: #50504f;
  background-image: linear-gradient(rgb(204, 204, 204), #858585);
  border-radius: 1px;
  margin-top: 10px;
  cursor: pointer;
}
.delete button span {
  font-size: 13px;
  color: rgb(245, 245, 245);
}

.delete {
  display: flex;
  position: relative;
  left: 361px;
  margin-top: -43px;
  width: 51%;
}

.delete_account {
  display: flex;
  position: relative;
  left: 361px;
  margin-top: -16px;
  width: 51%;
}

.delete-subtext {
  font-size: 12px;
  margin-right: 13px;
  margin-top: 20px;
}

/* Style the horizontal ruler */
hr {
  border: 1px solid #f1f1f1;
  margin-bottom: 25px;
}

/* The Modal Close Button (x) */
.close {
  /* position: absolute;
  right: 655px;
  top: 425px; */
  float: right;
  padding: 20px;
  font-size: 40px;
  font-weight: bold;
  color: #3a3a3a;
}

.close:hover,
.close:focus {
  color: #f44336;
  cursor: pointer;
}

/* Clear floats */
.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.cancelbtn {
  margin-right: 10px;
  width: calc((100% - 10px) / 2);
  height: 78px;
  line-height: 78px;
  color: #fff;
  background-color: #262626;
  float: right;
  font-size: 1.6rem;
  font-weight: normal;
  cursor: pointer;
}

.deletebtn {
  width: calc((100% - 10px) / 2);
  height: 78px;
  line-height: 78px;
  color: #fff;
  background-color: #666666;
  font-size: 1.6rem;
  font-weight: normal;
  cursor: pointer;
}

/* Change styles for cancel button and delete button on extra small screens */
@media screen and (max-width: 300px) {
  .cancelbtn,
  .deletebtn,
  .savebtn {
    width: 100%;
  }
}

@media only screen and (max-width: 1354px) {
  .modal-content {
    margin: -4% auto 25% auto;
    width: 85%;
  }

  .delete_info_title {
    font-size: 28px;
  }

  .modal {
    z-index: 200;
  }

  .modal-container {
    padding: 7px;
    margin: 4%;
  }

  .safety_word li {
    line-height: 23px;
  }
  .safety_word {
    margin-bottom: 10px;
  }

  .savebtn {
    margin-top: 0px;
  }

  .modal-container > h1 {
    font-size: 25px;
    letter-spacing: 4px;
  }

  .delete_info {
    width: 100%;
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
    margin-bottom: -72px;
  }
}

@media screen and (max-width: 1200px) {
  .box {
    display: block;
    width: 60%;
    height: 4.25rem;
    border: solid 1px #ffffff;
    padding: 10px 14px;
    box-sizing: border-box;
    background: #fff;
    position: relative;
    margin: 0 100px;
    right: -20px;
    top: -1px;
  }
  .explanation {
    position: relative;
    bottom: -50px;
    font-size: 16px;
  }

  .pw-change {
    display: flex;
    position: relative;
    right: -26px;
    top: -20px;
    width: 50%;
    margin: 0 110px;
  }

  .box2 {
    height: 4.7rem;
  }
  .delete {
    display: block;
    position: relative;
    left: 32px;
    margin-top: -33px;
  }
  .delete-subtext {
    margin-right: -247px;
    margin-top: 18px;
    width: 200px;
    position: relative;
    left: 28px;
  }

  .delete button {
    width: 70%;
    height: 35px;
    border: 1px solid rgb(196, 196, 196);
    color: #777;
    background-color: #50504f;
    background-image: linear-gradient(rgb(204, 204, 204), #858585);
    border-radius: 1px;
    margin-top: 10px;
    position: relative;
    right: -134px;
  }

  .int {
    font-size: 16px;
  }

  .headline1 {
    font-size: 2rem;
    line-height: 4rem;
    margin: 0 0 0.2rem 0;
  }

  .subline {
    font-size: 1.2rem;
    line-height: 3rem;
    margin: 0 0 2.8rem 0;
  }

  .que {
    padding: 1.5rem 0;
  }

  .q_cate {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 2px;
    padding-left: 2rem;
  }

  .q_tit {
    font-size: 1.5rem;
    line-height: 2.3rem;
    max-width: 200px;
    padding-left: 2rem;
  }

  .que::after {
    right: 2rem;
  }

  .anw {
    padding: 2rem 2rem;
    line-height: 1.6rem;
    font-size: 1.3rem;
    letter-spacing: 2px;
  }
  .btn_del {
    font-size: 1.6rem;
  }

  #pagingul {
    margin-top: 2rem;
  }
}
