@charset "utf-8";
@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);

/* ### 기본 스타일 커스터마이징 시작 ### */

/* 게시판 버튼 */
/* 목록 버튼 */
* {
  font-family: "Nanum Gothic", sans-serif;
  font-style: normal;
}
/*서브메뉴*/
.board_wrap {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 50px 10px 0 10px;
  background: #fff;
  overflow: hidden; /* 내부 float 요소의 부모 높이 자동 보정 (clearfix) */
  box-sizing: border-box;
}
/* 상단 대표 이미지 (액자 + 그림자 + 오버레이 텍스트) */
.top_img {
  position: relative; /* 자식 absolute 기준점 */
  width: 100%;
  height: 300px;
  background: #fff; /* 액자 색 */
  box-sizing: border-box;
  overflow: hidden; /* border-radius 가 이미지에도 적용되게 */
}

.top_img img {
  display: block; /* inline 기본값의 하단 여백 제거 */
  width: 100%;
  height: 100%; /* auto → 100% : 부모 300px 꽉 채움 */
  object-fit: cover; /* 비율 유지 + 박스 꽉 채움 + 넘치면 자름 */
  object-position: center; /* 자를 때 가운데 기준 */
  margin: 0;
}

/* 이미지 위 어두운 그라데이션 (흰 글씨 가독성 확보) */
.top_img::after {
  content: "";
  position: absolute;
  background: linear-gradient(
    to bottom,
    transparent 80%,
    rgba(0, 0, 0, 0.55) 100%
  );
  border-radius: 6px;
  pointer-events: none; /* 클릭 통과 */
}

/* 오버레이 제목 (흰 글씨) */
.top_img .top_img_title {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50%; /* 이미지 하단에서 위로 50px */
  text-align: center;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  font-family: "Cafe24Dangdanghae", "Noto Sans KR", "Nanum Gothic", sans-serif;
  z-index: 2; /* ::after 위에 올라오도록 */
  pointer-events: none;
}
/* 오버레이 부제목 (제목 아래) */
.top_img .top_img_subtitle {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 42%; /* 제목(bottom:50%) 바로 아래 */
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  font-family: "Noto Sans KR", "Nanum Gothic", sans-serif;
  z-index: 2; /* ::after 위에 올라오도록 */
  pointer-events: none;
}
.top_img .top_img_title,
.top_img .top_img_subtitle {
  animation: topImgFadeDown 0.6s ease-out both;
}
@keyframes topImgFadeDown {
  from {
    opacity: 0;
    transform: translateY(-40px); /* 제자리보다 위에서 시작 */
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#bo_list {
  width: 100%;
  display: inline-block;
  float: right;
  font-size: 16px;
  font-style: normal;
}
#bo_list a.btn_b01 {
  background: #2c68b0;
  border: 1px solid #2c68b0;
  color: #fff;
  border-radius: 3px;
}
#bo_list a.btn_b01:focus,
#bo_list a.btn_b01:hover {
}
#bo_list a.btn_b02 {
  background: #fff;
  border: 1px solid #ccc;
  color: #7d7d7d;
  border-radius: 3px;
}
#bo_list a.btn_b02:focus,
#bo_list a.btn_b02:hover {
}
#bo_list a.btn_admin {
  background: #e8180c;
  color: #fff;
  border: 1px solid #e8180c;
  border-radius: 3px;
} /* 관리자 전용 버튼 */
#bo_list a.btn_admin:focus,
#bo_list .btn_admin:hover {
}
e

/* 읽기 버튼 */

#bo_v a.btn_b01 {
  background: #dbe0e8;
  border: 1px solid #dbe0e8;
  color: #737373;
  border-radius: 3px;
  text-decoration: none;
  vertical-align: middle;
}
#bo_v a.btn_b02 {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  color: #7d7d7d;
}
#bo_v a.btn_admin {
  background: #e8180c;
  border: 1px solid #e8180c;
  border-radius: 3px;
} /* 관리자 전용 버튼 */

/* 쓰기 버튼 */
#bo_w {
  width: 1023px;
  margin: 10px auto;
  padding: 10px;
}
#bo_w .btn_confirm {
} /* 서식단계 진행 */
#bo_w .btn_submit {
  background: #2c68b0;
}
#bo_w button.btn_submit {
}
#bo_w fieldset .btn_submit {
  background: #2c68b0;
}
#bo_w .btn_cancel {
}
#bo_w button.btn_cancel {
}
#bo_w .btn_cancel:focus,
#bo_w .btn_cancel:hover {
}
#bo_w a.btn_frmline,
#bo_w button.btn_frmline {
} /* 우편번호검색버튼 등 */
#bo_w button.btn_frmline {
}

/* 기본 테이블 */
/* 목록 테이블 */
#bo_list .tbl_head01 {
}
#bo_list .tbl_head01 caption {
}
#bo_list .tbl_head01 thead th {
}
#bo_list .tbl_head01 thead a {
}
#bo_list .tbl_head01 thead th input {
} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
#bo_list .tbl_head01 tfoot th {
}
#bo_list .tbl_head01 tfoot td {
}
#bo_list .tbl_head01 tbody th {
}
#bo_list .tbl_head01 td {
}
#bo_list .tbl_head01 a {
}
#bo_list td.empty_table {
}

/* 읽기 내 테이블 */
#bo_v {
  width: 800px;
  display: inline-block;
  float: right;
}
#bo_v .tbl_head01 {
}
#bo_v .tbl_head01 caption {
}
#bo_v .tbl_head01 thead th {
}
#bo_v .tbl_head01 thead a {
}
#bo_v .tbl_head01 thead th input {
} /* middle 로 하면 게시판 읽기에서 목록 사용시 체크박스 라인 깨짐 */
#bo_v .tbl_head01 tfoot th {
}
#bo_v .tbl_head01 tfoot td {
}
#bo_v .tbl_head01 tbody th {
}
#bo_v .tbl_head01 td {
}
#bo_v .tbl_head01 a {
}
#bo_v td.empty_table {
}

/* 쓰기 테이블 */
.board_wrap03 {
  width: 1080px;
  margin: 0 auto;
  background: #fff;
}

#bo_w table {
}
#bo_w caption {
}
#bo_w .frm_info {
}
#bo_w .frm_address {
}
#bo_w .frm_file {
}

#bo_w .tbl_frm01 {
  width: 800px;
  display: inline-block;
  float: right;
}
#bo_w .tbl_frm01 th {
}
#bo_w .tbl_frm01 td {
}
#bo_w .tbl_frm01 textarea,
#bo_w tbl_frm01 .frm_input {
}
#bo_w .tbl_frm01 textarea {
}
/*
#bo_w .tbl_frm01 #captcha {}
#bo_w .tbl_frm01 #captcha input {}
*/
#bo_w .tbl_frm01 a {
}

/* 필수입력 */
#bo_w .required,
#bo_w textarea.required {
}

#bo_w .cke_sc {
}
#bo_w button.btn_cke_sc {
}
#bo_w .cke_sc_def {
}
#bo_w .cke_sc_def dl {
}
#bo_w .cke_sc_def dl:after {
}
#bo_w .cke_sc_def dt,
#bo_w .cke_sc_def dd {
}
#bo_w .cke_sc_def dt {
}
#bo_w .cke_sc_def dd {
}

/* ### 기본 스타일 커스터마이징 끝 ### */

/* 게시판 목록 */
#bo_list .td_board {
  width: 120px;
  text-align: center;
}
#bo_list .td_chk {
  width: 30px;
  text-align: center;
}
#bo_list .td_date {
  width: 60px;
  text-align: center;
}
#bo_list .td_datetime {
  width: 110px;
  text-align: center;
}
#bo_list .td_group {
  width: 100px;
  text-align: center;
}
#bo_list .td_mb_id {
  width: 100px;
  text-align: center;
}
#bo_list .td_mng {
  width: 80px;
  text-align: center;
}
#bo_list .td_name {
  width: 100px;
  text-align: center;
}
#bo_list .td_nick {
  width: 100px;
  text-align: center;
}
#bo_list .td_num {
  width: 50px;
  text-align: center;
}
#bo_list .td_numbig {
  width: 80px;
  text-align: center;
}

#bo_list .txt_active {
  color: #5d910b;
}
#bo_list .txt_expired {
  color: #ccc;
}

#bo_cate h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_cate ul {
  margin-bottom: 10px;
  padding-left: 1px;
  zoom: 1;
}
#bo_cate ul:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_cate li {
  float: left;
  margin-bottom: -1px;
}
#bo_cate a {
  display: block;
  position: relative;
  margin-left: -1px;
  padding: 6px 0 5px;
  width: 90px;
  border: 1px solid #ddd;
  background: #f7f7f7;
  color: #888;
  text-align: center;
  letter-spacing: -0.1em;
  line-height: 1.2em;
  cursor: pointer;
}
#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active {
  text-decoration: none;
}
#bo_cate #bo_cate_on {
  z-index: 2;
  border: 1px solid #565e60;
  background: #fff;
  color: #565e60;
  font-weight: bold;
}

.td_subject {
  text-align: center;
}
.td_subject img {
  margin-left: 3px;
}

/* 게시판 목록 공통 */
.bo_fx {
  margin-bottom: 10px;
  zoom: 1;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}
.bo_fx:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
.bo_fx ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#bo_list_total {
  float: left;
  padding-top: 5px;
}
.btn_bo_user {
  float: right;
  margin: 0;
  padding: 0;
  list-style: none;
}
.btn_bo_user li {
  float: left;
  margin-left: 5px;
}
.btn_bo_adm {
  float: left;
}
.btn_bo_adm li {
  float: left;
  margin-right: 5px;
}
.btn_bo_adm button {
  padding: 8px 7px;
  background: #e8180c;
  border: 1px solid #e8180c;
  color: #fff;
  border-radius: 3px;
  text-decoration: none;
  vertical-align: middle;
}
.bo_notice td {
  background: #f5f6fa;
}
.bo_notice td a {
  font-weight: bold;
}
.td_num strong {
  color: #000;
}
.bo_cate_link {
  display: inline-block;
  margin: 0 3px 0 0;
  padding: 0 6px 0 0;
  border-right: 1px solid #e7f1ed;
  color: #999 !important;
  font-weight: bold;
  text-decoration: none;
} /* 글제목줄 분류스타일 */
.bo_current {
  color: #e8180c;
}
#bo_list .cnt_cmt {
  display: inline-block;
  margin: 0 0 0 3px;
  font-weight: bold;
}

#bo_sch {
  margin-bottom: 10px;
  padding: 10px 0 15px 0;
  text-align: left;
}
#bo_sch select {
  border: 1px solid #e4eaec;
  padding: 8px 0;
}
#bo_sch legend {
  position: absolute;
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
  text-indent: -9999em;
  overflow: hidden;
}
#bo_sch .btn_submit {
  border: 1px solid #2c68b0;
  background: #2c68b0;
  color: #fff;
}

/* 게시판 쓰기 */
#char_count_desc {
  display: block;
  margin: 0 0 5px;
  padding: 0;
}
#char_count_wrap {
  margin: 5px 0 0;
  text-align: right;
}
#char_count {
  font-weight: bold;
}

#autosave_wrapper {
  position: relative;
}
#autosave_pop {
  display: none;
  z-index: 10;
  position: absolute;
  top: 24px;
  right: 117px;
  padding: 8px;
  width: 350px;
  height: auto !important;
  height: 180px;
  max-height: 180px;
  border: 1px solid #565656;
  background: #fff;
  overflow-y: scroll;
}
html.no-overflowscrolling #autosave_pop {
  height: auto;
  max-height: 10000px !important;
} /* overflow 미지원 기기 대응 */
#autosave_pop strong {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#autosave_pop div {
  text-align: right;
}
#autosave_pop button {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
#autosave_pop ul {
  margin: 10px 0;
  padding: 0;
  border-top: 1px solid #e9e9e9;
  list-style: none;
}
#autosave_pop li {
  padding: 8px 5px;
  border-bottom: 1px solid #e9e9e9;
  zoom: 1;
}
#autosave_pop li:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#autosave_pop a {
  display: block;
  float: left;
}
#autosave_pop span {
  display: block;
  float: right;
}
.autosave_close {
  cursor: pointer;
}
.autosave_content {
  display: none;
}

/* 게시판 읽기 */

.board_wrap02 {
  width: 1080px;
  margin: 0 auto;
  background: #fff;
  padding-top: 20px;
}
#bo_v {
  width: 800px;
  margin: 10px auto;
  margin-bottom: 20px;
  padding-bottom: 20px;
  font-size: 16px;
}
#bo_v_table {
  width: 1023px;
  margin: 10px auto;
  position: absolute;
  top: 5px;
  right: 16px;
  padding: 0 5px;
  height: 25px;
  color: #000;
  font-weight: bold;
  line-height: 2.2em;
}

#bo_v_title {
  padding: 10px 0;
  font-size: 16px;
}

#bo_v_info {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  border-top: 1px solid #ddd;
}
#bo_v_info h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_info strong {
  display: inline-block;
  margin: 0 15px 0 5px;
  font-weight: normal;
}
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest {
  font-weight: bold;
}

#bo_v_file {
}
#bo_v_file h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_file ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#bo_v_file li {
  padding: 0 10px;
  border-bottom: 1px solid #eee;
  background: #f5f6fa;
}
#bo_v_file li span {
  display: inline;
}
#bo_v_file a {
  display: inline-block;
  padding: 8px 0 7px;
  width: 100%;
  color: #000;
  word-wrap: break-word;
}
#bo_v_file a:focus,
#bo_v_file a:hover,
#bo_v_file a:active {
  text-decoration: none;
}
#bo_v_file img {
  float: left;
  margin: 0 10px 0 0;
}
.bo_v_file_cnt {
  display: inline-block;
  margin: 0 0 3px 16px;
}

#bo_v_link {
}
#bo_v_link h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_link ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#bo_v_link li {
  padding: 0 10px;
  border-bottom: 1px solid #eee;
  background: #f5f6fa;
}
#bo_v_link a {
  display: inline-block;
  padding: 8px 0 7px;
  width: 100%;
  color: #000;
  word-wrap: break-word;
}
#bo_v_link a:focus,
#bo_v_link a:hover,
#bo_v_link a:active {
  text-decoration: none;
}
.bo_v_link_cnt {
  display: inline-block;
  margin: 0 0 3px 16px;
}

#bo_v_top {
  margin: 0 0 10px;
  padding: 10px 0;
  zoom: 1;
}
#bo_v_top:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_top h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_top ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#bo_v_bot {
  zoom: 1;
}
#bo_v_bot:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_bot h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_v_bot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bo_v_nb {
  float: left;
}
.bo_v_nb li {
  float: left;
  margin-right: 5px;
}
.bo_v_com {
  float: right;
}
.bo_v_com li {
  float: left;
  margin-left: 5px;
}

#bo_v_atc {
  min-height: 200px;
  height: auto !important;
  height: 200px;
}
#bo_v_atc_title {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#bo_v_img {
  margin: 0 0 10px;
  width: 100%;
  overflow: hidden;
  zoom: 1;
}
#bo_v_img:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_img img {
  margin-bottom: 20px;
  max-width: 100%;
  height: auto;
}

#bo_v_con {
  margin-bottom: 30px;
  width: 100%;
  line-height: 1.7em;
  word-break: break-all;
  overflow: hidden;
}
#bo_v_con a {
  color: #000;
  text-decoration: underline;
}
#bo_v_con img {
  max-width: 100%;
  height: auto;
}

#bo_v_act {
  margin-bottom: 30px;
  text-align: center;
}
#bo_v_act .bo_v_act_gng {
  position: relative;
}
#bo_v_act a {
  margin-right: 5px;
  vertical-align: middle;
}
#bo_v_act strong {
  color: #ff3061;
}
#bo_v_act_good,
#bo_v_act_nogood {
  display: none;
  position: absolute;
  top: 30px;
  left: 0;
  padding: 10px 0;
  width: 165px;
  background: #ff3061;
  color: #fff;
  text-align: center;
}

#bo_v_sns {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  zoom: 1;
}
#bo_v_sns:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_v_sns li {
  float: left;
  margin: 0 5px 0 0;
}

/* 게시판 댓글 */
#bo_vc {
  margin: 0 0 20px;
  padding: 20px 20px 10px;
  border: 1px solid #e5e8ec;
  background: #f5f8f9;
}
#bo_vc h2 {
  margin-bottom: 10px;
}
#bo_vc article {
  padding: 0 0 10px;
  border-top: 1px dotted #ccc;
}
#bo_vc header {
  position: relative;
  padding: 15px 0 5px;
}
#bo_vc header .icon_reply {
  position: absolute;
  top: 15px;
  left: -20px;
}
#bo_vc .sv_wrap {
  margin-right: 15px;
}
#bo_vc .member,
#bo_vc .guest,
#bo_vc .sv_member,
#bo_vc .sv_guest {
  font-weight: bold;
}
.bo_vc_hdinfo {
  display: inline-block;
  margin: 0 15px 0 5px;
}
#bo_vc h1 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_vc a {
  color: #000;
  text-decoration: none;
}
#bo_vc p {
  padding: 0 0 5px;
  line-height: 1.8em;
}
#bo_vc p a {
  text-decoration: underline;
}
#bo_vc p a.s_cmt {
  text-decoration: none;
}
#bo_vc_empty {
  margin: 0;
  padding: 20px !important;
  text-align: center;
}
#bo_vc #bo_vc_winfo {
  float: left;
}
#bo_vc footer {
  zoom: 1;
}
#bo_vc footer:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}

.bo_vc_act {
  float: right;
  margin: 0;
  list-style: none;
  zoom: 1;
}
.bo_vc_act:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
.bo_vc_act li {
  float: left;
  margin-left: 5px;
}

#bo_vc_w {
  position: relative;
  margin: 0 0 10px;
  padding: 0 0 20px;
  border-bottom: 1px solid #cfded8;
}
#bo_vc_w h2 {
  position: absolute;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}
#bo_vc_w #char_cnt {
  display: block;
  margin: 0 0 5px;
}

#bo_vc_sns {
  margin: 0;
  padding: 0;
  list-style: none;
  zoom: 1;
}
#bo_vc_sns:after {
  display: block;
  visibility: hidden;
  clear: both;
  content: "";
}
#bo_vc_sns li {
  float: left;
  margin: 0 20px 0 0;
}
#bo_vc_sns input {
  margin: 0 0 0 5px;
}

.btn_confirm {
  float: right;
}
.btn_confirm .btn_submit {
  background: #2c68b0;
}

/*서브메뉴*/
a {
  text-decoration: none;
}
ul {
  list-style: none;
}
li {
  list-style: none;
}
.sidebar {
  display: inline-block;
  padding-bottom: 150px;
}

.sidebar a {
  text-decoration: none;
  color: #fff;
}

.block {
  max-width: 230px;
  padding: 0;
  min-width: 200px;
  /* margin: 0 auto; */
}

.sidebar-header {
  padding: 0;
}
.sidebar-header img {
  width: 100%;
  max-width: 230px;
  height: auto;
}

ul.sidebar-nav .has-ul a {
  display: block;
  /* padding: 16px 24px; */
  margin: 6px 0;
  text-align: start;
  font-size: 14px;
  font-weight: 400;
  color: #222;
  font-family: "Nanum Gothic", sans-serif;
  text-decoration: none;
  border-radius: 18px;
  transition:
    background 0.2s,
    color 0.2s;
}
ul.sidebar-nav .sub-ul a {
  font-size: 15px;
  font-family: "Nanum Gothic", sans-serif;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
}
ul.sidebar-nav a:hover {
  background: #b80f18;
  color: #fff;
}

ul.sub-ul {
  display: none;
  background-color: #aaa;
}
ul.sub-ul li {
  border-bottom: solid thin #eee;
  font-size: 15px;
  list-style: none;
}
ul.sub-ul li a:after {
  display: none;
}

li.active {
  border-bottom: red;
}

/* 현재 board 페이지(사역본부) 메뉴 자동 강조
   이 스킨은 bo_table=hq 게시판용이므로 해당 링크를 항상 강조한다. */
ul.sidebar-nav a[href*="bo_table=hq"] {
  background: #e91e63; /* 핑크. 원하는 색으로 변경 */
  color: #fff !important; /* .has-ul a 색 규칙 덮어쓰기 */
  border-radius: 10px; /* 알약 모양 */
}

/* 현재 board 페이지 메뉴 자동 강조
   board_wrap 의 bo_<bo_table> 클래스와 a[href*="bo_table=xxx"] 짝매칭 */
.bo_book1 ul.sidebar-nav a[href*="bo_table=book1"],
.bo_book2 ul.sidebar-nav a[href*="bo_table=book2"],
.bo_book3 ul.sidebar-nav a[href*="bo_table=book3"] {
  background: #e91e63; /* 핑크. 원하는 색으로 변경 */
  color: #fff !important; /* .has-ul a 색 규칙 덮어쓰기 */
  border-radius: 10px; /* 알약 모양 */
}

/* 일정 테이블 */

.calender {
  border-collapse: collapse;
  border-top: 3px solid #aaa;
  border-bottom: 3px solid #aaa;
  width: 800px;
}
.month_box {
  background-color: #eeeded;
  width: 180px;
  border-bottom: 2px solid #fff;
}
.month_tt {
  color: #b80f18;
  font-size: 30px;
  font-style: italic;
}

.day_tx {
  border-bottom: 1px solid #aaa;
  height: 48px;
  padding-left: 10px;
}

.sub_wr {
  width: 1080px;
  margin: 0 auto;
  display: inline-block;
  padding-bottom: 5px;
}

.fas {
  font-size: 25px;
  color: #2ba9e3;
  padding: 0 5px 0 3px;
  vertical-align: middle;
  margin-bottom: 7px;
}
.far {
  font-size: 25px;
  color: #2ba9e3;
  padding: 0 5px 0 3px;
  vertical-align: middle;
  margin-bottom: 7px;
}
.line_hr {
  border: 0;
  height: 1px;
  background-color: #aaa;
  width: 100%;
}
.fa-chevron-right {
  font-size: 15px;
  color: #818181;
  vertical-align: middle;
  margin-bottom: 5px;
}
.sub_page {
  width: calc(100% - 290px); /* 사이드바 230px + 좌우 여백 20px 정도 확보 */
  height: auto;
  padding: 0 10px 0 10px;
  display: inline-block;
  float: left; /* right → left : 본문이 왼쪽으로 */
  vertical-align: top;
}
/* 사이드바가 없는 페이지: 본문이 사이드바 자리까지 전체 폭을 채우도록 */
.board_wrap:not(:has(.sidebar)) .sub_page {
  width: 100%;
  float: none;
  box-sizing: border-box;
}

/* ───────────── 일정 달력 ───────────── */
.cal_wrap {
  width: 100%;
  font-family: "Nanum Gothic", sans-serif;
}

/* 상단 바: < 2026년 6월 > ... 일정 등록 */
.cal_head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.cal_head .cal_title {
  font-size: 22px;
  font-weight: 700;
  color: #222;
}
.cal_head .cal_nav {
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 32px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: #555;
  font-size: 16px;
}
.cal_head .cal_nav:hover {
  background: #f4f4f4;
}
.cal_head .cal_write {
  margin-left: auto; /* 오른쪽 끝으로 */
  display: inline-block;
  padding: 8px 14px;
  background: #e91e63;
  color: #fff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 14px;
}
.cal_head .cal_write:hover {
  background: #c2185b;
}

/* 달력 표 */
.cal_table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* 7칸 균등 분할 */
}
.cal_table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.cal_table thead th {
  padding: 10px 0;
  border: 1px solid #e5e5e5;
  background: #f7f7f7;
  font-size: 14px;
  font-weight: 700;
  color: #444;
}
.cal_table thead th.sun {
  color: #e8180c;
}
.cal_table thead th.sat {
  color: #2c68b0;
}

/* 날짜 칸 */
.cal_table td {
  height: 110px;
  vertical-align: top;
  border: 1px solid #e5e5e5;
  padding: 6px;
  font-size: 13px;
}
.cal_table td.empty {
  background: #fafafa;
}
.cal_table td .cal_day {
  display: inline-block;
  font-weight: 700;
  color: #555;
  margin-bottom: 4px;
}
.cal_table td.sun .cal_day {
  color: #e8180c;
}
.cal_table td.sat .cal_day {
  color: #2c68b0;
}
/* 오늘 날짜 강조 */
.cal_table td.today {
  background: #fff5f8;
}
.cal_table td.today .cal_day {
  background: #e91e63;
  color: #fff;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
}

/* 칸 안 일정 목록 */
.cal_events {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cal_events li {
  margin: 2px 0;
}
.cal_events li a {
  display: block;
  padding: 2px 5px;
  background: #e3f0ff;
  border-left: 3px solid #2c68b0;
  border-radius: 3px;
  color: #1c4b86;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis; /* 길면 … 처리 */
}
.cal_events li a:hover {
  background: #cfe4ff;
}

/* 읽기 페이지의 일정 날짜 표시 */
#bo_v_schedule {
  margin: 10px 0;
  padding: 8px 12px;
  background: #fff5f8;
  border-radius: 6px;
  font-size: 15px;
  color: #333;
}
#bo_v_schedule .fa-calendar {
  color: #e91e63;
  margin-right: 5px;
}
