:root {
  --primary-color: #19408d;
  --sub-color: #009fe3;
  --pink-color: #f166a7;
  --sky-color: #009fe3;
  --purple-color: #8a6aae;
  --green-color: #03b89d;
  --orange-color: #f37932;
  --lightGreen-color: #abb315;
  --base-color: #fafafa;
  --red-color: #fc6059;
}

/* .sub_title{
    height: 200px;
    display: flex;
    align-items: flex-end;
} */
.boardContainer {
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto;
  max-width: 1200px;
  /* padding: 6.375rem 30px 16rem; */
  /* padding-top: 90px; */
  /* padding-bottom: 10rem; */
  padding: 10rem 30px;
}
.boardContainer .btn_confirm .btn {
  padding: 10px 20px !important;
}
.boardContainer .boardBtn {
  color: var(--sub-color);
  font-size: 1rem;
  border: 1px solid var(--sub-color);
  padding: 10px 20px;
  border-radius: 6px;
  background-color: #fff;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.boardContainer .boardBtn:hover {
  color: #fff;
  background-color: var(--primary-color);
}
.boardContainer .boardBtn span {
  font-size: 1rem;
}

#bo_list_total span {
  color: #333;
  font-size: 1.125rem;
  font-weight: 400;
}

/* 페이지네이션 */
.boardContainer .pg_wrap {
  font-size: 1rem !important;
  display: flex;
  justify-content: center;
  float: none;
  clear: none;
  margin-top: 50px;
}
.boardContainer .pg_wrap .pg_page {
  border-radius: 50%;
  transition: all 0.2s;
}
.boardContainer .pg_wrap .pg_page:hover {
  color: #fff;
  background-color: var(--primary-color);
}
.boardContainer .pg_wrap .pg_current {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
}

/* 설정 */
.btn_bo_user {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background-color: transparent;
}
.btn_bo_user li {
  background-color: transparent;
}
.btn_bo_user button {
  width: fit-content;
  height: fit-content !important;
  padding: 0;
  background-color: transparent;
}

.footer-button-section {
  margin-top: 15px;
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* 상세페이지 */
#bo_v .cont_header {
  /* padding: 1.75rem 2.3125rem 1.4375rem 1.8125rem; */
  padding: 15px 1.8125rem;
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 2px solid #333;
  border-bottom: 1px solid #d7d5d5;
  background-color: var(--sub-color);
}
#bo_v .cont_header * {
  font-family: "Noto Sans KR", sans-serif;
}
#bo_v .cont_header .content_title {
  color: #222;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1em;
  /* margin: 0 auto; */
}
#bo_v .cont_header .content_time {
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  /* text-align: center; */
  width: 100px;
}
#bo_v .cont_header .title_day {
  color: #444;
  font-size: 2.125rem;
  font-weight: bold;
}
#bo_v .cont_header .title_Ym {
  color: #666;
  font-size: 1rem;
  font-weight: 400;
}
.cke_sc {
  display: none;
}
.go_list_box {
  box-sizing: border-box;
  padding-bottom: 15px;
  display: flex;
  justify-content: end;
  background-color: var(--base-color);
  gap: 4px;
}

#bo_v_con {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #666;
}
/* 이전글 다음글 */
.bo_v_nb {
  width: 100%;
  margin: 0;
  background-color: transparent;
}
.btn_prv,
.btn_next {
  display: flex;
  align-items: center;
}
.bo_v_nb li.btn_prv,
.bo_v_nb li.btn_next {
  padding: 2.25rem 0;
}
.bo_v_nb li .nb_tit {
  text-wrap: nowrap;
}

.bo_v_nb a {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  text-wrap: nowrap;
}

/* 작성페이지 */
.table-topBorder {
  border-top: 2px solid #333;
}
.write_div .inputWrap {
  padding: 10px;
  /* display: grid; */
  display: flex;
  flex-wrap: wrap;
  /* grid-template-columns: 80px 1fr; */
  background-color: #f5f5f5;
  border-bottom: 1px solid #d9d9d9;
  gap: 15px;
}
.write_div .inputWrap label {
  font-size: 1rem !important;
  font-weight: 600;
  min-width: 80px;
  /* justify-content: center; */
}

/* button */
.go_list {
  color: #999;
  font-size: 0.875rem;
  border: 1px solid #666;
  padding: 5px 15px;
  display: block;
  border-radius: 30px;
  transition: 0.3s ease;
}
.go_list:hover {
  color: #fff !important;
  background-color: #666 !important;
}
.greenBtn {
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.greenBtn:hover {
  background-color: var(--primary-color);
}
.redBtn {
  color: #ff4b4b;
  border-color: #ff4b4b;
}
.redBtn:hover {
  background-color: #ff4b4b;
}
#bo_w .bo_w_tit #btn_autosave {
  top: 17px;
  right: 30px;
}
#autosave_pop {
  top: 50px;
}

/* input */
.boardContainer input[type="text"]:focus,
.boardContainer input[type="password"]:focus,
.boardContainer textarea:focus,
select:focus {
  border: 1px solid #4d7a2024 !important;
  box-shadow: 0 0 5px var(--sky-color);
}

/* 미디어쿼리 */
@media screen and (max-width: 1280px) {
  .boardContainer {
    padding: 8rem 30px 12rem;
  }
}

@media screen and (max-width: 768px) {
  .boardContainer {
    /* padding: 4rem 30px 12rem; */
    padding: 0 20px 12rem;
  }

  /* detail */
  #bo_v .cont_header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  #bo_v .cont_header .title_Ym {
    font-size: 0.75rem;
  }

  /* 글작성 페이지 */
  .write_div .inputWrap {
    /* grid-template-columns: 120px 1fr; */
  }
  .write_div .inputWrap label{
    justify-content: start;
  }
  #bo_w .bo_w_tit #btn_autosave {
    display: none;
  }
  .btn_confirm {
    text-align: center;
  }
}

@media screen and (max-width: 768px) {
  #bo_v .cont_header .content_title {
    font-size: 1.25rem;
    line-height: 1.2;
  }
}
@media screen and (max-width: 480px) {
  .boardContainer {
    padding: 1.25rem 12px 8rem;
  }
  #bo_v .cont_header{
    padding: 10px;
  }

  /* 글작성 페이지 */
  .write_div .inputWrap {
    /* grid-template-columns: 1fr; */
    justify-items: start;
    gap: 10px;
  }
  .write_div .inputWrap label{
    justify-content: start;
  }

  /* 글 상세 페이지 */
  #bo_v .cont_header .content_time {
    padding-right: 1rem;
  }
  #bo_v .cont_header .content_title {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }
  #bo_v .cont_header .title_day {
    font-size: 1.125rem;
  }
  #bo_v_con,
  #bo_vc .cmt_contents {
    font-size: 1rem;
  }

  /* 다음글 */
  .bo_v_nb li.btn_prv,
  .bo_v_nb li.btn_next {
    padding: 1rem 0;
  }
}
