@charset "utf-8";
@font-face {
    font-family: 'KIMM_Bold';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2212@1.0/KIMM_Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: 'ChosunGu';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_20-04@1.0/ChosunGu.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

:root{
 --txt-color: #000000; /*폰트색*/
 --date-color: #2b2b2b; /*날짜색*/
 --load-font: 'Chosunilbo_myungjo'; /*본문 폰트*/

 /*게시물*/
 --box-line: rgb(161, 161, 161); /*선색*/
 --box-back: rgb(255, 255, 255); /*배경색*/
 --box-radius: 0px ; /*둥글게*/

 /*버튼*/ 
 --btn-font: 'KIMM_Bold'; 
 --btn-color: #fff;

 --bo-width: 70%; /*게시판 너비*/

}

/*레이아웃 설정*/
#page_board_content .theme-box {
	background-color: transparent;
	border: transparent;
	padding: 0 35px 0 5px !important;
}

.content-area	{ 
	position:relative; 
	background-color: var(--box-back);
	border: 1px solid var(--box-line);
	border-radius: var(--box-radius);
	margin-bottom:4px;
	padding: 10px 15px;

	line-height:20px; 
	font-family: var(--load-font);
	color:var(--txt-color);
}
.comment-content {margin-left: 30px; margin-bottom: 4px;}
.comment-content span {color:var(--txt-color);} 

.control {
	position: relative;
	right: -52px;
	float: right;
  }
.control a {
	display: block;
	width: 50px;
	height: 15px;
	border: 1px solid var(--primary-color);
	background-color: var(--primary-color);
	text-align: center;
	line-height: 15px;
	color: var(--btn-color);
	text-decoration: none;
	font-size: 10px;
	font-family: var(--btn-font);
	padding: 1px 0 ;

  }
  .control a:hover {background-color: var(--accent-color);}



hr.padding {    height: 20px !important; }

.content-area .sub_txt { display:inline-block; position:absolute; right:13px;bottom:8px;font-size:12px; float: right; }
.cite_txt { color:var(--txt-color); font-style: italic;  margin-right: 10px;}
.li_date { color: var(--date-color) !important; float: right; }



/** Notice Box **/
.board-notice	{ max-width: 430px; padding: 20px; margin: 20px auto 30px; text-align: center;}

#page_board_content input, #page_board_content select, #page_board_content .ui-btn.point,#page_board_content .pg_wrap .pg_page {height:24px;line-height:22px;}
#page_board_content .ui-btn {height:50px;line-height:22px;}
#page_board_content .pg_wrap .pg_page {border: 0 none; background:none; color:inherit;padding:0 2px; font-size:12px;}
#page_board_content .pg_wrap .pg_page:before {font-size:12px;}

.ui-text-area{ position:relative; padding-right:60px; box-sizing:border-box; }
.ui-text-area button {position:absolute;right:0;top:0;width:60px;}

.ui-option					{ clear: both; }

 .adm-box { margin-bottom:5px;text-align:right;margin-right:5px;}

#page_board_content .ui-top {position:relative;padding:5px 5px 0; box-sizing:border-box;}
.ui-top .search-box	{ display:inline-block;position:relative;width:40%;margin-bottom: 5px; padding-right:24px;vertical-align:top;text-align:right;box-sizing:border-box;} 
.ui-top .search-box form {display:inline-block;}
.ui-top .search-box input {width:95%;}
.ui-top .search-box button.ui-btn {width:24px;height:24px;line-height:22px;padding:0;position:absolute;right:0;top:0;}

.ui-top .ui-write-area {display:inline-block;margin-bottom: 5px;  width:90%;vertical-align:top;}

.ui-write-box				{ position:relative; padding-left:24px; padding-right:0; } 
.ui-write-box p				{ position:relative; height:24px;width:0;overflow:hidden; box-sizing:border-box;}

.ui-write-box.update p, .ui-write-box p.on {width:100%;height:auto; padding-right:60px;}
.ui-write-box .write_open.ui-btn.point	{position:absolute;left:0;top:0;display:inline-block;width:24px;height:24px;line-height:22px;padding:0;margin:0;}
.ui-write-box.update .write_open.ui-btn.point {display:none;}

.ui-text-area.ui-write-box button		{ position:absolute;width:60px;top:0;right:0;}   

.ui-text-area.ui-write-box.update {padding-left:0;}
.ui-text-area.ui-write-box.update p{ position:relative; padding-right:120px; }
.ui-text-area.ui-write-box.update p button {position:absolute;right:60px;top:1px;width:60px;}
.ui-text-area.ui-write-box.update p a {position:absolute;right:0;top:1px;width:60px;}

.ui-memo-list					{ position: relative; clear: both;  } 
.ui-memo-list hr.line			{ margin:0; }
.ui-memo-list li:last-child hr.line	{display:none;}
.ui-memo-list li li:last-child hr.line	{display:block;}
.ui-memo-list li					{ position: relative; } 
.ui-memo-list li strong		{ font-weight:normal; }
.ui-memo-list li em			{ font-style: normal;display:inline-block;text-align:center; width:14px;} 
.ui-memo-list li .date		{ display:inline-block;vertical-align:middle;width:73px;text-align:center; } 

#page_board_content .ui-memo-list li .write_open.secret.ui-btn {margin:2px 5px; height:20px;line-height:18px;padding:0 8px;}
.ui-memo-list li .pass_in{display:inline-block;vertical-align:middle;width:0;white-space:nowrap;overflow:hidden;}
.ui-memo-list li .pass_in input{border:0 none;background:none;width:100px;}
#page_board_content .ui-memo-list li .pass_in button {padding:0 5px;width:50px;height:20px;line-height:18px;margin:2px;}
.ui-memo-list li .pass_in.on {width:160px;}

.ui-memo-list .no-data			{ text-align: center; line-height: 100px; }
.bo_fx {padding:5px;}
.bo_fx .chkall {float:right; margin-left: 5px;} 

.content-area .con {word-break:break-all;}


@media all and (max-width:480px) {
	.content-area {padding-right: px;}
	.content-area .con {display:block;padding-left:px;}
}

@media all and (max-width:350px) {
	.ui-top .search-box,.ui-top .ui-write-area {width:100%;padding-top:30px;}
	.ui-top .search-box  {position:absolute;top:0;right:0;height:24px;width:100%;}
	.ui-top .search-box form{ width:100%;}
	.ui-top .search-box input {position:absolute;top:0;left:5px;right:48px;}
	.ui-top .search-box a{right:5px;}
	#wr_name,#wr_password		{  width:100%;}
}

#page_board_content{
	width: 100%;
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width:750px){
	#page_board_content{
		width: var(--bo-width) ; /*게시판 너비*/
		margin-left: auto;
		margin-right: auto;
	}
}

/* ============================================================
   LIST 레이아웃: 위치/크기 고정 + 상단 타이틀
   (다른 게시판과 통일: 업로드한 style.css 에서 그대로 가져옴)
   ============================================================ */

#bo_list {
    width: 1170px;
    height: 800px;
    position: absolute;
    top: calc(50% - 400px);
    left: calc(50% - 420px);
    padding: 10px;
}

.list-layout {
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    position: relative;   /* #bo_sch(데스크탑 absolute)의 기준 컨테이너 */
}

.list-header {
    width: 100%;
    height: 170px;
    flex-shrink: 0;
    position: relative;
}

.list-content {
    flex: 1;
    overflow-y: auto;
    width: 70%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 15px 0 10px 0;
    margin: 0 auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.list-content::-webkit-scrollbar { display: none; }

/* Chrome/Safari */
.list-footer {
    width: 100%;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ── 헤더: 타이틀 ── */
.title-main {
    font-family: 'PuradakGentleGothic';
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.title-sub {
    font-family: var(--content-font-family);
    font-size: 14px;
    color: var(--content-font-color);
    line-height: 1.4;
    margin-bottom: 20px;
    padding-top: 3px;
}

/* ── 헤더 버튼 그룹 (다른 게시판과 동일한 별 버튼) ── */
.star-button-group {
    position: absolute;
    top: 15px;
    right: 20px;
    display: flex;
    flex-direction: row;
    gap: 25px;
    z-index: 99;
}

.star-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.star-shape {
    width: 30px;
    height: 40px;
    background-color: var(--primary-color);
    clip-path: polygon(
        50% 0%,
        62% 35%, 100% 50%, 62% 65%,
        50% 100%,
        38% 65%, 0% 50%, 38% 35%
    );
    transition: background-color 0.3s ease;
}

.star-text {
    font-family: 'NexonLv1Gothic';
    font-size: 9px;
    font-weight: bold;
    color: var(--primary-color);
    margin-top: 6px;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.star-btn:hover .star-shape { background-color: var(--secondary-color); }

.star-btn:hover .star-text  { color: var(--secondary-color); }

.star-btn:active             { transform: translateY(1px); }

.star-btn.disabled           { cursor: not-allowed; pointer-events: none; }

/* ── 반응형: #bo_list 위치/크기 ── */
@media screen and (min-width: 1100px) and (max-width: 1500px) {
    #bo_list {
        width: 860px;
        height: 700px;
        position: absolute;
        top: calc(50% - 350px);
        left: calc(50% - 310px);
    }
}

@media screen and (max-width: 1099px) {
    #bo_list {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 10px;
        left: 0px;
        padding: 30px;
    }

    .star-button-group {
    display: none;
    }

    /* 헤더가 검색창까지 감싸도록 고정높이 해제 */
    .list-header {
    height: auto;
    }

    /* 검색창: absolute 해제하고 본문 흐름상 상단 중앙에 배치 */
    #bo_sch {
    position: static;
    width: 100%;
    margin: 15px 0 0;
    padding: 0;
    border: 0;
    display: flex;
    justify-content: center;
    z-index: auto;
    }

    #bo_sch form {
    width: 100%;
    max-width: 400px;
    }

    .search-box-wrapper {
    width: 100%;
    }

}


/* ============================================================
   line_cite 전용 보정 (간격 / 글쓰기 패널)
   ============================================================ */

/* 헤더 높이를 내용에 맞게 줄여 리스트가 헤더 바로 아래 붙도록 */
/* (헤더 높이는 다른 게시판과 동일하게 170px 고정: 위 .list-header 규칙 사용) */
#bo_list .board-title .title-sub { margin-bottom: 4px; }
#bo_list .list-content { padding-top: 15px; } /* 헤더와 본문 사이 간격 */
#bo_list .ui-memo-list { margin-top: 0; }

/* 버튼(:re/mod/del) 영역을 넓히고 하얀 박스를 그만큼 오른쪽에서 축소 */
#page_board_content .ui-memo-list li.theme-box { padding-right: 55px !important; }

/* WRITE 버튼 활성(패널 열림) 표시 */
.star-btn.write.active .star-shape { background-color: var(--secondary-color); }
.star-btn.write.active .star-text  { color: var(--secondary-color); }

/* 상단 글쓰기 패널: 모달형 카드.
   write 기준 위쪽 간격은 좁게(2px), 아래쪽(리스트와의 간격)은 넓게(22px) */
.write-modal {
    margin: 2px 0 22px 0;
    padding: 14px 16px;
    border: 1px solid var(--primary-color, #FB007D);
    border-radius: 8px;
    background: var(--card-bg-color, #fff);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
    box-sizing: border-box;
}

/* 패널 안에서는 글쓰기 폼을 항상 펼친 상태로 ( + 버튼 숨김 ) */
.write-modal .ui-write-box { padding-left: 0; }
.write-modal .ui-write-box .write_open.ui-btn.point { display: none; }
.write-modal .ui-write-box p { width: 100% !important; height: auto !important; padding-right: 60px; overflow: visible; }


/* ── 검색창 (다른 게시판과 동일한 외형) ── */
#bo_sch form {
    margin: 0 !important;
    display: block !important;
}

/* 1. 전체 테두리 박스 크기 및 내부 여백 조절 */
.search-box-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: space-between; /* 내부 요소를 양 끝으로 밀착 */
    width: 250px; /* 전체 검색창 박스의 직관적인 너비 설정 */
    height: 32px;
    border: 1.5px solid var(--primary-color); /* 캐릭터 리본색 라인 테두리 */
    border-radius: 8px; /* image_cec826 느낌의 부드러운 라운딩으로 조율 */
    background-color: #fff;
    padding: 0 10px; /* 좌우 여백을 줄여 버튼이 테두리와 가까워지게 설정 */
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.search-box-wrapper:hover,
.search-box-wrapper:focus-within {
    border-color: var(--primary-color);
}

/* 2. 글자 입력창 너비 최적화 */
.search-box-wrapper .sch_input {
    flex: 1 !important; /* 남은 공간을 꽉 채우되 */
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    background: transparent !important;
    padding: 0 8px 0 2px !important; /* 오른쪽에 마진을 살짝 주어 글자가 버튼과 겹치지 않게 방지 */
    margin: 0 !important;
    font-family: var(--content-font-family);
    font-size: 12px;
    color: var(--primary-color);
    outline: none !important;
}

.search-box-wrapper .sch_input::placeholder {
    color: var(--secondary-color);
    font-size: 13px;
}

/* 3. 돋보기 버튼을 우측 끝 테두리 안쪽으로 밀착 */
.search-box-wrapper .sch_btn {
    flex-shrink: 0; /* 크기가 압축되지 않도록 고정 */
    width: 24px; /* 아이콘 크기에 맞는 슬림한 너비 */
    height: 100%;
    border: none !important;
    background: transparent !important;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    margin: 0 !important;
    transition: color 0.2s ease;
}

.search-box-wrapper .sch_btn:hover {
    color: var(--primary-color);
}

.search-box-wrapper .sch_btn i {
    font-size: 13px;
}

/* 검색창 legend 숨김 (스크린리더용 텍스트) */
#bo_sch legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 검색창 배치: 데스크탑 = 170px 헤더 우하단에 고정 (다른 게시판과 동일) */
@media screen and (min-width: 1100px) {
    #bo_list #bo_sch {
        position: absolute;
        top: 108px;   /* 170px 헤더의 하단부 */
        right: 20px;
        margin: 0;
        padding: 0;
        border: 0;
        z-index: 10;
    }
}
