@charset "utf-8";

/* 체크박스 */
.selec_chk {position:absolute;top:0;left:0;width:0;height:0;opacity:0;outline:0;z-index:-1;overflow:hidden}
.chk_box {position:relative;z-index:10;}
.chk_box input[type="checkbox"] + label {position:relative;cursor:pointer;}
.chk_box input[type="checkbox"] + label span {width:40px;height:40px;display:block;background:#dcdcdc url('../img/chk.png') no-repeat 50% 50%;border-radius:3px;}
.chk_box input[type="checkbox"] + label span:hover {border-color:var(--cr-red);background:#666 url('../img/chk.png') no-repeat 50% 50%;}
.all_chk.chk_box input[type="checkbox"] + label span {width:40px;height:40px;background:#fff;} /* 상단 체크박스 */
.all_chk.chk_box input[type="checkbox"] + label span:before {content:"\f00c";font-family:var(--ff-FA);color:#808080;line-height:40px;transition:all .2s;}
.all_chk.chk_box input[type="checkbox"] + label span:hover:before {color:var(--cr-red);}
.chk_box input[type="checkbox"]:checked + label {color:#aaa;}
.chk_box input[type="checkbox"]:checked + label span {border-color:var(--cr-red);background:var(--cr-red) url('../img/chk.png') no-repeat 50% 50%;}
.all_chk.chk_box input[type="checkbox"]:checked  + label span:before {color:#fff;}

/* 글쓰기 체크박스 */
.bo_w_frm .chk_box {}
.bo_w_frm .chk_box label {}
.bo_w_frm .chk_box input[type="checkbox"] + label span, .bo_w_frm .chk_box input[type="checkbox"] + label span {display:block;width:30px;height:30px;border:1px solid #ccc;border-radius:3px;background:#dcdcdc url('../img/chk.png') no-repeat 50% 50%;}
.bo_w_frm .chk_box input[type="checkbox"]:checked + label {color:var(--cr-red);}
.bo_w_frm .chk_box input[type="checkbox"]:checked + label span {background:var(--cr-red) url('../img/chk.png') no-repeat 50% 50%;border-color:var(--cr-red);}
.bo_vc_w_wr .chk_box label span {display:inline-block !important;margin-right:10px;vertical-align:middle !important;}

/* 기본 폼 */
.wr_content textarea, .frm_input {border:1px solid var(--cr-e5);border-radius:3px;background:#fff;}
.frm_input {height:40px;padding:0 5px;}
.full_input {width:100%;}
.wr_content textarea {width:100%;padding:5px;line-height:1.5;resize:none;}

/* 필수입력 */
.required, textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:right top !important}
.required {border-color:var(--cr-blue);}

/* 검색 */
.bo_sch_wrap {
	display:none;
	position:fixed;inset:0;
	width:100%;height:100%;
	z-index:999;
}
.bo_sch {
	position:absolute;left:50%;top:50%;
	width:330px;max-height:320px;
	margin-left:-125px;margin-top:-180px;
	border:1px solid var(--cr-e5);border-radius:5px;
	text-align:left;
	background:#fff;
	overflow-y:auto;
	box-shadow:1px 1px 18px rgba(0,0,0,0.2);-webkit-box-shadow:1px 1px 18px rgba(0,0,0,0.2);-moz-box-shadow:1px 1px 18px rgba(0,0,0,0.2);
}
.bo_sch h3 {
	padding:15px;
	border-bottom:1px solid var(--cr-f3);
	font-size:1.25em;font-weight:500;
}
.bo_sch form {
	display:flex;
	flex-direction:column;
	gap:10px;
	padding:15px;
}
.bo_sch select {
	width:100%;height:40px;
	border:1px solid var(--cr-e5);border-radius:2px;
	box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
}
.bo_sch .sch_bar {
	display:flex;
	border:1px solid var(--cr-e5);border-radius:2px;
	box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);-moz-box-shadow:inset 0 1px 1px rgba(0, 0, 0, .075);
}
.bo_sch .sch_input {
	flex:0 0 280px;
	height:38px;
	padding:0;
	border:0;
	background-color:transparent;
}
.bo_sch .sch_btn {
	width:40px;height:38px;
	border:0;
	font-size:15px;
	color:var(--cr-b6);
	background:none;
}
.bo_sch .bo_sch_cls {
	position:absolute;
	top:0;right:0;
	padding:12px 15px;
	border:0;
	font-size:16px;
	color:var(--cr-b8);
	background:#fff;
}
.bo_sch_bg {
	width:100%;height:100%;
	background:rgba(0,0,0,.75);
}

/* 버튼 영역 */
.bo_info {
	display:flex;
	align-items:center;
	justify-content:space-between;
	position:relative;
	width:100%;
	margin:20px 0;
}
.bo_total {
	font-size:.82rem;
	color:var(--cr-b8);
}
.bo_btn_li {
	display:flex;
	gap:5px;
	margin-left: auto;
}
.bo_btn_li li label {
	display:block;
	border:1px solid var(--cr-d5);border-radius:3px;
	line-height:32px;
	text-align:center;
	background:#fff;
	box-shadow:2px 2px 5px rgba(0,0,0,.1);
	cursor:pointer;
}

/* 버튼 */
.btn {
	display:inline-block;
	padding:0 15px;
	border:1px solid var(--cr-cc);border-radius:3px;
	line-height:40px;
	background:#fff;
	box-shadow:1px 2px 3px rgba(0,0,0,.07);
	cursor:pointer;
	transition:var(--trans);
}
.btn.btn_submit {
	border-color:var(--cr-b3);
	color:#fff;
	background:var(--cr-b3);
}
.btn.btn_submit * {color:#fff;}
.btn::before {
	display:inline-block;
	font-family:var(--ff-FA);
	color:#f63;
}
.btn:focus, .btn:hover {
	border-color:var(--cr-blue);
	color:#fff;
	background:var(--cr-blue);
}
.btn:focus *, .btn:hover * {color:#fff;}
.btn:focus::before, .btn:hover::before {color:#fff;}
.btn.btn_admin::before {content:"\f013";}
.btn.btn_write::before {content:"\f040";}
.btn.btn_sch::before {content:"\f002";}
.btn.btn_del::before {content:"\f014";}
.btn.btn_reply::before {content:"\f112";transform:rotate(180deg);}
.btn.btn_copy::before {content:"\f08e";}
.btn.btn_edit::before {content:"\f021";}
.btn.btn_list::before {content:"\f0c9";}
.btn.btn_sort::before {content:"\f021";}
.btn.btn_cancel::before {content:"\f00d";}
.btn.btn_submit::before {content:"\f00c";color:#fff;}


/* 게시물 분류 */
#bo_cate {}
#bo_cate ul {
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	gap:5px;
	max-width:var(--w13);
	margin:0 auto 50px;
}
#bo_cate li {
	flex:1;
}
#bo_cate li a {
	display:flex;
	align-items:center;
	justify-content:center;
	padding:10px 5px;
	border:1px solid var(--cr-e5);border-radius:3px;
	color:var(--cr-b6);line-height:1.3;
	text-align:center;
	transition:var(--trans);
}
#bo_cate a:focus, #bo_cate a:hover {
	background:var(--cr-e5);
}
#bo_cate #bo_cate_on {
	border-color:var(--cr-blue);
	color:#fff;
	background:var(--cr-blue);
}

/* 빈 게시판 */
.empty {
	padding:100px 20px !important;
	color:var(--cr-b8);line-height:1.5;
	text-align:center;
	background:var(--cr-f7);
}


/*글쓰기*/
#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;}

#bo_w {
	max-width:var(--w13);
	margin:40px auto;
}
#bo_w,
#bo_w form,
#bo_w fieldset.form_wrap,
#bo_w .write_div {
	min-width:0;max-width:100%;
}
#bo_w form {
	display:flex;
	flex-direction:column;
	gap:5px;max-width:100%;
}
#bo_w .write_div {position:relative;}
#bo_w .bo_v_option {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	gap:25px;
}
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span {display:inline-block;margin-right:7px;vertical-align:middle;}
#bo_w .bo_w_select select {
	width:100%;height:40px;
	padding:0 12px;
	border:1px solid var(--cr-b3);border-radius:4px;
	color:#fff;
	background:var(--cr-b3);
	cursor:pointer;
}
#bo_w .bo_w_select option {color:#fff;}
#bo_w .wr_content.smarteditor2 iframe {background:#fff;}
#bo_w .bo_w_info {
	display:grid;
	grid-template-columns:repeat(2, minmax(0, 1fr));
	gap:10px;
}
#bo_w .bo_w_info > * {
	min-width:0;
}
#bo_w .bo_w_link label, #bo_w .bo_w_flie .lb_icon {
	position:absolute;left:0;top:0;
	width:40px;height:38px;
	border-radius:3px 0 0 3px;
	font-size:1.2rem;
	text-align:center;
}
#bo_w .bo_w_link label .fa, #bo_w .bo_w_flie .lb_icon .fa {color:var(--cr-blue);line-height:40px;}
#bo_w .bo_w_link .frm_input, #bo_w .frm_file {padding-left:50px;}
#bo_w .bo_w_flie .file_wr {
	position:relative;
	height:40px;
	margin:0;padding:5px;
	border:1px solid var(--cr-cc);border-radius:3px;
	vertical-align:middle;
	background:#fff;
}
#bo_w .bo_w_flie .file_del {position:absolute;top:10px;right:10px;}
#bo_w .bo_w_flie .file_del label {
	font-size:.84rem;
	color:var(--cr-b8);
	cursor:pointer;
}
#bo_w textarea {line-height:1.5;}
#bo_w .desc {
	margin:5px 0 20px;
	font-size:.92rem;
	color:var(--cr-b4c);line-height:1.3;
}
#bo_w .desc:before {
	content:'\f069';
	margin-right:10px;
	font-family:var(--ff-FA);color:var(--cr-red);
}
#bo_w .desc strong {font-weight:normal;color:var(--cr-red);}
#bo_w .desc ol {margin:12px 0 0 7px;}
#bo_w .desc ol li {color:var(--cr-b4c);line-height:1.3;}
#bo_w .desc ol li+li {margin-top:5px;}
#bo_w .btn_confirm {
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:5px;
	margin-top:20px;
}

/* 글읽기 */
#bo_v {
	max-width:var(--w13);
	margin:auto;padding-top:clamp(1px,3vw,30px);
}
#bo_v_title {
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:10px;
	padding-bottom:15px;
	border-bottom:1px solid var(--cr-e5);
	font-weight:normal;
}
#bo_v_title .bo_v_cate {
	font-size:1em;
	color:var(--cr-blue);
}
#bo_v_title .bo_v_tit {
	font-family:var(--ff-NBd);font-size:clamp(1.3rem,3vw,2rem);
	line-height:1.35em;
}
.view_date {
	display:flex;
	align-items:flex-end;
	justify-content:flex-end;
	gap:10px;
	padding:15px 10px;
	border-bottom:1px solid var(--cr-e5);
	font-size:.84rem;font-style:italic;
}
.view_date * {color:var(--cr-b6);}
.view_date dt::before {
	content:'\f274';
	margin-right:5px;
	font-family:var(--ff-FA);font-style:normal;
}
#bo_v_info {
	padding:15px;
	border-radius:0 0 4px 4px;
	font-size:.92rem;
	background:var(--cr-f7);
}
#bo_v_info ul {
	display:flex;
	flex-wrap:wrap;
	gap:10px 25px;
}
#bo_v_info li::before {
	margin-right:3px;
	font-family:var(--ff-FA);
	color:var(--cr-blue);
}
#bo_v_info li.pf_name::before {content:'\f040';}
#bo_v_info li.pf_email::before {content:'\f0e0';}
#bo_v_info li.pf_home::before {content:'\f0c1';}
#bo_v_info li.pf_comm::before {content:'\f27a';}
#bo_v_info li.pf_hit::before {content:'\f06e';}

#bo_v_file {margin-top:40px;}
#bo_v_file h4 {
	margin-bottom:10px;
	font-family:var(--ff-NBd);font-size:1.25rem;font-weight:normal;
}
#bo_v_file ul {
	display:flex;
	flex-direction:column;
	gap:10px;
	padding:20px;
	border-radius:3px;
	background:var(--cr-blue);
}
#bo_v_file ul li {
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	padding:0 10px;
	font-size:.92rem;
}
#bo_v_file ul li+li {
	padding-top:10px;
	border-top:1px solid rgba(255,255,255,.5);
}
#bo_v_file ul li a {
	display:flex;
	align-items:center;
	gap:10px;
	color:rgba(255,255,255,.5);
}
#bo_v_file ul li .fa {color:var(--cr-yellow);}
#bo_v_file ul li .file_name {
	font-family:var(--ff-NBd);font-size:1.05rem;font-weight:normal;
	color:#fff;
}
#bo_v_file ul li a:hover .file_name {color:var(--cr-yellow);}
#bo_v_file ul li .file_date {
	font-style:italic;font-size:.84rem;
	color:rgba(255,255,255,.5);
}

#bo_v_link {margin-top:40px;}
#bo_v_link h4 {
	margin-bottom:10px;
	font-family:var(--ff-NBd);font-size:1.25rem;font-weight:normal;
}
#bo_v_link ul {
	display:flex;
	flex-direction:column;
	gap:10px;
	padding:20px;
	border-radius:3px;
	background:var(--cr-blue);
}
#bo_v_link ul li {
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	padding:0 10px;
	font-size:.92rem;
}
#bo_v_link ul li+li {
	padding-top:10px;
	border-top:1px solid rgba(255,255,255,.5);
}
#bo_v_link ul li a {
	display:flex;
	align-items:center;
	gap:10px;
	color:rgba(255,255,255,.5);
}
#bo_v_link ul li .fa {color:var(--cr-yellow);}
#bo_v_link ul li strong {
	font-weight:normal;
	color:#fff;
	word-break:break-all;
}
#bo_v_link ul li a:hover strong {color:var(--cr-yellow);}
#bo_v_link ul li .bo_v_link_cnt {
	font-style:italic;font-size:.84rem;
	color:rgba(255,255,255,.5);
}

#bo_v_img {
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:20px;
	margin:20px auto;
}
#bo_v_img figure {margin:0;text-align:center;}
#bo_v_img figure+figure {margin-top:30px;}
#bo_v_img figure a.view_image {display:inline-block;}
#bo_v_img figcaption {
	display:block;
	position:relative;
	margin-top:-18px;
	font-size:clamp(1rem,2vw,1.2rem);
	z-index:2;
}
#bo_v_img figcaption span {
	display:inline-block;
	padding:10px 40px;
	border:1px solid #ccc;border-radius:30px;
	background:linear-gradient(#fff 50%,#ececec);
	box-shadow:0 0 5px rgba(0,0,0,.2);
}

#bo_v_con {
	display:flex;
	flex-direction:column;
	gap:15px;
	margin:auto;
	font-size:clamp(1rem,2vw,1.1rem);
}
#bo_v_con, #bo_v_con * {line-height:1.5;}


/* 이전/다음글 */
.bo_v_nb {
	display:flex;
	flex-direction:column;
	padding:10px;
	border-radius:3px;
	background:var(--cr-b6);
}
.bo_v_nb a {
	display:block;
	padding:10px;
	border-radius:3px;
	color:#fff;
	overflow:hidden;
	text-overflow:ellipsis;
	white-space:nowrap;
	transition:var(--trans);
}
.bo_v_nb a:focus, .bo_v_nb a:hover {background:#000;}
.bo_v_nb a::before {
	margin-right:5px;
	font-family:var(--ff-FA);
	color:var(--cr-d5);
}
.bo_v_nb li.nb_next a::before {
	content:'\f077';
}
.bo_v_nb li.nb_prev a::before {
	content:'\f078';
}


@media (max-width:1024px) {
	#bo_cate ul {
		gap:7px;
		padding:10px;
		border-radius:0 !important;
	}
	#bo_cate li a {
		padding:5px 10px;
		line-height:24px;
	}
	#bo_v_file ul li {
		flex-direction:column;
		align-items:start;
		gap:5px;
	}
	#bo_v_link dl {
		flex-direction:column;
		align-items:start;
		gap:5px;
	}
	#bo_v_link dd {
		width:100%;
	}
}
@media (max-width:768px) {
	#bo_w .bo_w_info {grid-template-columns:repeat(1,1fr);}
	#bo_w .write_div.magazine .check-list {grid-template-columns:repeat(1,1fr);}
}
