@charset "utf-8";

/* 모바일 목록 */
@media all and (max-width:767px) {
	.responsive #bo_list .float-left.float-md-none {
		margin-right:1.0rem;
	}
	.responsive #bo_list .na-title {
		margin-bottom:0.14rem;
	}
}

.na-item {cursor: pointer;}

/* 게시판 읽기 */
#bo_v_title {
	font-size:23px;
	font-weight:bold;
	line-height:1.4;
	letter-spacing:-1px;
}
#bo_v_con {
	min-height:200px; 
	word-break:break-all;
	overflow:hidden
}
@media all and (max-width:575px) {
	.responsive #bo_v_title {
		font-size:20px;
		line-height:1.5;
	}
	.responsive #bo_v_con { 
		min-height:140px; 
	}
}

#bo_v_con img {
	max-width:100%;
	height:auto;
	clear: both;
    display: table;
    margin: .9em auto;
    text-align: center;
}
#bo_v_img {
	width:100%;
	text-align:center;
	overflow:hidden;
	zoom:1;
}
#bo_v_img:after {
	display:block;
	visibility:hidden;
	clear:both;
	content:"";
}
#bo_v_img a.view_image {
	display:block;
}
#bo_v_img img {
	margin-bottom:1.0rem;
}

/* 게시판 읽기 : SNS 공유 */
#bo_v_sns_icon { 
	margin:-5px auto; 
}
#bo_v_sns_icon img { 
	width:40px; 
	border-radius:50%; 
	margin:5px;
}

/* 게시판 댓글 : 내용 */
.cmt-reply {
	top:0;
	left:-16px;
}
.by-writer { 
	background:#fbefef !important;
	border-top:1px solid #f6cece !important;
}
.cmt-content {
	word-break:break-all;
	overflow:hidden
}
.cmt-content img {
	max-width:100%;
	height:auto
}

/* 게시판 댓글 : 대댓글, 수정, 삭제 */
.cmt-btn ul { 
	list-style: none; 
	margin: 0; 
}
.cmt-btn ul > li { 
	float: left; 
	font-size:12px;
	padding: 0 10px; 
}
.cmt-btn ul > li::before { 
	float: left; 
	color:#ccc; 
	content: "|"; 
	margin-left:-12px;
}
.cmt-btn ul > li:last-child { 
	padding-right:0;
}
.cmt-btn ul > li:first-child::before, 
.cmt-btn ul > li.no-bar::before { 
	content: ""; 
	margin-left:0; 
}
.cmt-btn ul > li > a { 
	float:left;
	color:#888;
	white-space:nowrap;	
}

/* 게시판 댓글 : 쓰기폼 */
#fviewcomment #wr_content { 
	resize:none; 
}
@media all and (max-width:575px) {
	.responsive .cmt-box {
		border-right:0 !important;
	}
	.responsive #bo_vc_w .cmt-box {
		border-left:0 !important;
		border-radius:0 !important;
	}
	.responsive #bo_vc_login {
		border-left:0 !important;
		border-right:0 !important;
		border-radius:0 !important;
	}
}

/* 게시판 댓글 : SNS 등록 */
#bo_vc_opt ol {	
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
	background:#ccc;
	border-radius:3px;
}
#bo_vc_opt ol:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_opt ol li { 
	float:left;
	margin:0; 
}
#bo_vc_send_sns ul { 
	margin:0;
	padding:0;
	list-style:none;
	zoom:1; 
}
#bo_vc_send_sns ul:after { 
	display:block;
	visibility:hidden;
	clear:both;
	content:""; 
}
#bo_vc_send_sns ul li {	
	float:left;
	margin:0 1.0rem 0 0;
}
#bo_vc_send_sns input {	
	margin:0 0 0 0.5rem;
}

/* 게시판 쓰기 */
#bo_w .list-group-item {
	padding-left:0;
	padding-right:0;
	border-left:0;
	border-right:0;
}
#bo_w #wr_content { 
	margin-bottom:1.0rem !important;
}
@media all and (max-width:575px) {
	#bo_w .list-group-item {
		padding-left:1.0rem;
		padding-right:1.0rem;
	}
	.responsive #bo_w #wr_content {
		max-height:160px !important;
	}
}

/* 게시글 자동 목차와 본문 제목 */
.article-toc {
	margin: 0 0 2.5rem;
	border: 1px solid #dbe3ee;
	border-radius: 16px;
	background: #f8fafc;
	overflow: hidden;
}
.article-toc__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.15rem 1.65rem;
	font-size: 1rem;
	font-weight: 700;
	color: #111827;
	cursor: pointer;
	list-style: none;
}
.article-toc__title::-webkit-details-marker {
	display: none;
}
.article-toc__title::after {
	content: "▾";
	margin-left: 1rem;
	color: #64748b;
	transition: transform .18s ease;
}
.article-toc:not([open]) .article-toc__title::after {
	transform: rotate(-90deg);
}
.article-toc__title:focus-visible {
	outline: 2px solid #2563eb;
	outline-offset: -3px;
}
.article-toc__nav {
	padding: 0 1.65rem 1.4rem;
}
.view-content .article-toc__list {
	display: grid;
	gap: .5rem;
	margin: 0;
	padding-left: 1.35rem;
	list-style: decimal;
	list-style-type: decimal;
}
.article-toc__item {
	margin: 0;
	padding-left: .1rem;
	line-height: 1.55;
}
.view-content .article-toc__sublist {
	display: grid;
	gap: .4rem;
	margin: .5rem 0 0;
	padding-left: 1.35rem;
	list-style: disc;
	list-style-type: disc;
	font-size: .94em;
}
.article-toc__subitem {
	margin: 0;
	padding: 0;
}
.article-toc a {
	color: #1f2937;
	text-decoration: none;
}
.article-toc a:hover,
.article-toc a:focus-visible {
	color: #1d4ed8;
	text-decoration: underline;
}
.view-content h2,
.view-content h3 {
	scroll-margin-top: 96px;
	letter-spacing: -.025em;
}
.view-content h2 {
	margin: 2.3rem 0 .9rem;
	font-size: clamp(1.45rem, 1.15rem + 1vw, 1.9rem);
}
.view-content h3 {
	margin: 1.8rem 0 .75rem;
	font-size: clamp(1.18rem, 1rem + .65vw, 1.5rem);
}
@media all and (max-width:575px) {
	.article-toc {
		margin-bottom: 1.8rem;
		border-radius: 12px;
	}
	.article-toc__title {
		padding: 1rem 1.15rem;
	}
	.article-toc__nav {
		padding: 0 1.15rem 1.1rem;
	}
	.article-toc__sublist {
		margin-left: .9rem;
	}
}
