@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;
	}
}


/* 자료실 탭메뉴 스타일 */
.SCD_tab_box {
	font-size: min(calc(10 / 500 * 100vw), 10px);
    /* 탭 너비 및 탭 갯수 */
    --item-width:232px;
    --item-length: 2;
    width: 100%; max-width: calc(var(--item-width) * var(--item-length)); margin: 0 auto 7.8em;
    display: grid; grid-template-columns: repeat(var(--item-length), 1fr);
}
.SCD_tab_box > li > a{
    padding: 1.9em 1em; display: flex; align-items: center; border: 1px solid #d2d2d2; text-align: center;
    justify-content: center; color: #434343; gap: 0.5em; transition: 0.3s; cursor: pointer;
}
.SCD_tab_box > li:not(:last-child) > a{border-right: none;}
.SCD_tab_box > li > a .tab_text {font-size: 1.8em; line-height: 1.2; transition: 0.3s;}

/* tab_active */
.SCD_tab_box > li > a.on {background: var(--main-color); border-color: transparent;}
.SCD_tab_box > li > a.on .tab_text {color: #fff;}



/* 게시판 읽기 */
#bo_v {position:relative;}

/* 본문 제목 */
#bo_v_title {
	line-height:1.2;
	font-weight:500;
	font-size:clamp(16px,3vw,24px) !important;
    color:#111827;
}

#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 !important;
		line-height:1.5;
	}
	.responsive #bo_v_con { 
		min-height:140px; 
	}
}

#bo_v_con img {
	max-width:100%;
	height:auto
}
#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;
	}
}


/* 게시판 커스텀 목록 */

.responsive #bo_list {font-size: 18px !important;}

#bo_list .list-head, 
.na-table-head > div {font-size: 16px !important; font-weight: 500;}

#bo_list .na-table-head > div {padding: 1.46rem 0;}

#bo_list .na-table > li > div {padding: 1.8rem 0 !important; font-weight: 400; color:#7C7E81;}
#bo_list .na-table > li > div .na-subject {color:#111827;}
#bo_list .na-table > li :is(.date-time, .name-box) {font-size: 15px !important;}

@media (max-width: 768px) {
    #bo_list > .bg-primary {border: 1px solid #222; background-color: #222 !important;}
    #bo_list .na-table > li {padding: 8px 10px !important;}
    #bo_list .na-table > li .clearfix {display: none !important;}
    #bo_list .na-table > li > div {font-weight: 500;}
    #bo_list .na-title .na-subject {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: unset;
        line-height: 1.3;
    }
    #bo_list .na-table > li :is(.date-time, .name-box) {padding: 0 0 1rem 0 !important; color: rgba(0,0,0,0.7);}
    #bo_list .na-table > li .date-time {margin-right: 0.5rem !important;}
    #bo_list .na-table > li .inquery-count {display: none !important;}
}


/* 본문 이전다음글 */
#bo_v_data li > * { padding-top: 1em !important; padding-bottom: 1em !important; }