@charset "utf-8";

/* ==============================
   Equipment 공통
============================== */
#bo_list,
#bo_v,
#bo_w {
	width: 1000px;
	display: inline-block;
}

@media (max-width: 1439px) {
	#bo_v {
		padding: 20px;
	}
	#bo_v,
	#bo_v_info {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 1280px) {
	#bo_w {
		width: 100%;
	}
	#bo_w form {
		padding: 0 20px;
	}
}

@media (max-width: 1024px) {
	#bo_list,
	#bo_v,
	#bo_w {
		width: 100%;
		float: none;
		clear: both;
	}
}

@media (min-width:1300px) {
	#bo_list {
		max-width: 1100px;
	}
}

/* ==============================
   상단 검색 / 정보
============================== */
#bo_btn_top {
	margin: 10px 0;
}

.bo_topbar {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.bo_left {
	flex: 1 1 auto;
	min-width: 200px;
}

.bo_right {
	flex: 1 1 auto;
	display: flex;
	justify-content: flex-end;
	min-width: 0;
}

.bo_tools {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	flex-wrap: wrap;
	min-width: 0;
}

#bo_list_total {
	float: left;
	line-height: 34px;
	font-size: 0.92em;
	color: #4e546f;
}

.bo_list_number {
	color: var(--main);
}

.bo_search_group {
	margin-left: auto;
}

.bo_sch_inline {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	justify-content: flex-end;
	min-width: 0;
}

.bo_sch_inline .sch_bar {
	display: flex;
	gap: 0.25rem;
	align-items: center;
	min-width: 0;
	flex: 1 1 auto;
}

.bo_sch_inline .sch_input {
	min-width: 14rem;
	border: 1px solid #dfdfdf;
	padding: 4px 10px;
	box-sizing: border-box;
}

#sfl {
	min-height: 30px;
	border: 1px solid #dfdfdf;
	padding: 5px 10px;
}

.sch_btn {
	background: var(--main);
	border: 0;
	border-radius: 4px;
}

.ico {
	display: inline-block;
	position: relative;
	padding: 5px 8px;
	color: #fff;
}

@media (max-width: 768px) {
	.bo_topbar {
		gap: 0;
	}

	.bo_right,
	.bo_tools,
	.bo_search_group {
		width: 100%;
		min-width: 0;
	}

	.bo_search_group {
		margin-left: 0;
	}

	.bo_sch_inline {
		width: 100%;
		justify-content: stretch;
		row-gap: 0.5rem;
	}

	.bo_sch_inline select {
		flex: 0 1 140px;
		max-width: 100%;
	}

	.bo_sch_inline .sch_bar {
		flex: 0 1 auto;
	}

	.bo_sch_inline .sch_input {
		flex: 1 1 auto;
		min-width: 0;
		width: 100%;
	}

	.bo_sch_inline .sch_btn {
		flex: 0 0 auto;
	}
}

/* ==============================
   카테고리
============================== */
#bo_cate {
	margin: 25px 0;
}

#bo_cate h2 {
	position: absolute;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
}

#bo_cate ul:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}

#bo_cate li {
	display: inline-block;
	padding: 2px;
}

#bo_cate a {
	display: block;
	line-height: 28px;
	padding: 5px 15px;
	border-radius: 30px;
	border: 1px solid #d6e9ff;
	color: #6794d3;
}

#bo_cate a:focus,
#bo_cate a:hover,
#bo_cate a:active,
#bo_cate #bo_cate_on {
	text-decoration: none;
	background: #3a8afd;
	color: #fff;
	font-weight: bold;
	border-color: #3a8afd;
}

/* ==============================
   목록 카드
============================== */
.equipment_list_wrap {
	margin-top: 20px;
}

.equipment_card_list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	margin-top: 30px;
}

.equipment_card {
	border: 1px solid #ddd;
	background: #fff;
	overflow: hidden;
	height: 100%;
}

.equipment_card_link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.equipment_card_thumb {
	position: relative;
	overflow: hidden;
	background: #f7f7f7;
	aspect-ratio: 4 / 3;
}

.equipment_card_thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.equipment_thumb_empty {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	color: #888;
	font-size: 15px;
	background: #f3f3f3;
}

.equipment_card_body {
	padding: 18px 18px 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}

.equipment_card_title {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
	color: #222;
	word-break: keep-all;
}

.equipment_card_desc,
.equipment_card_consult {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #555;
	word-break: keep-all;
}

.equipment_card_desc p,
.equipment_card_consult p {
	margin: 0;
}

.equipment_card_label {
	display: inline-block;
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 700;
	color: #222;
}

.equipment_manage_bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 20px 0 0;
	flex-wrap: wrap;
}

.equipment_check_item {
	margin-top: 12px;
	text-align: right;
	padding: 0 18px 18px;
}

@media (max-width: 1024px) {
	.equipment_card_list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.equipment_card_list {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.equipment_card_body {
		padding: 16px;
	}

	.equipment_card_title {
		font-size: 18px;
	}
}

/* ==============================
   글쓰기 테이블
============================== */
.program_table {
	width: 100%;
}

.program_table th {
	width: 150px;
	text-align: center;
}

.program_table th label {
	margin-bottom: 0;
}

.program_table tr {
	border-bottom: 1px solid #dfdfdf;
}

.program_table tr:nth-child(1) {
	border-top: 1px solid #dfdfdf;
}

.program_table td {
	padding: 6px 10px;
}

.program_table .frm_input {
	border: 0;
	width: 100%;
}

.program_table .frm_info {
	font-size: 14px;
	color: var(--gray2);
}

/* ==============================
   글쓰기 이미지 업로드
============================== */
.equipment_click_upload_wrap {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.equipment_click_upload_box {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 20px;
	border: 1px dashed #b8c2cc;
	background: #f8fafc;
	color: #222;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: border-color .2s ease, background-color .2s ease;
	box-sizing: border-box;
}

.equipment_click_upload_box:hover,
.equipment_click_upload_box:focus {
	border-color: #547ba8;
	background: #f1f6fb;
}

.equipment_click_upload_box strong {
	display: block;
	margin-bottom: 8px;
	font-size: 18px;
}

.equipment_click_upload_box span {
	display: block;
	font-size: 14px;
	font-weight: 400;
	color: #555;
	line-height: 1.6;
}

.equipment_hidden_file {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.equipment_selected_filename,
.equipment_existing_filename,
.equipment_sub_info {
	font-size: 14px;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

.equipment_delete_line {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	color: #444;
}

.equipment_preview_image {
	display: none;
	max-width: 320px;
	width: 100%;
	height: auto;
	margin-top: 10px;
	border: 1px solid #ddd;
	background: #fff;
	box-sizing: border-box;
}

.equipment_preview_image.is-active {
	display: block;
}

@media (max-width: 768px) {
	.equipment_click_upload_box {
		min-height: 120px;
		padding: 16px;
	}

	.equipment_click_upload_box strong {
		font-size: 16px;
	}

	.equipment_click_upload_box span {
		font-size: 13px;
	}

	.equipment_preview_image {
		max-width: 100%;
	}
}

/* ==============================
   체크박스 / 버튼
============================== */
.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;
}

.chk_box input[type="checkbox"] + label {
	position: relative;
	color: #676e70;
}

.chk_box input[type="checkbox"] + label:hover {
	color: #2172f8;
}

.chk_box input[type="checkbox"] + label span {
	float: left;
	width: 15px;
	height: 15px;
	display: block;
	background: #fff;
	border: 1px solid #d0d4df;
	border-radius: 3px;
}

.chk_box input[type="checkbox"]:checked + label {
	color: #000;
}

.chk_box input[type="checkbox"]:checked + label span {
	background: #3a8afd;
	border-color: #1471f6;
	border-radius: 3px;
}

.bo_fx {
	margin-top: 40px;
	zoom: 1;
}

.bo_fx:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}

.write_btn {
	text-align: center;
}

.write_btn a {
	color: var(--main);
	padding: 6px 20px;
	border: 1px solid var(--main);
	border-radius: 30px;
}

.btn_write {
	display: flex;
	justify-content: flex-end;
	margin-top:40px; 
}

.btn_write li {
	margin-right: 10px;
}

.btn_write .btn_write_style {
	display: inline-block;
	background: #fff;
	border: 1px solid #b9bdd3;
	color: #646982;
	font-weight: 600;
	text-decoration: none;
	vertical-align: middle;
	font-family: 'S-CoreDream-4Regular';
}
	.btn_write {
		justify-content: center;
	}
		.btn_write li:first-child {
		width: 120px;
	}
@media (max-width: 767px) {

	.btn_write li:first-child a {
		width: 100%;
	}
}

/* ==============================
   상세페이지
============================== */
#bo_v_title {
	margin: 0;
}

#bo_v_title .bo_v_cate {
	display: inline-block;
	line-height: 20px;
	background: #e2eaf6;
	color: #3a8afd;
	padding: 0 10px;
	border-radius: 3px;
}

#bo_v_title .bo_v_tit {
	display: block;
	font-size: 0.8em;
	margin: 5px 0 0;
	text-align: center;
	font-weight: 600;
	word-break: keep-all;
}

#bo_v_info {
	max-width: 1000px;
	width: 100%;
	margin: 0 0 40px 0;
	border-top: 2px solid;
	padding-top: 20px;
}

#bo_v_info:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}

.viewTable {
	padding-top: 30px;
}

.viewTable dl {
	display: flex;
	align-items: center;
	border-bottom: 1px solid #ececec;
	width: 100%;
	margin: 0;
}

.viewTable dl:first-child {
	border-top: 1px solid #ececec;
}

.viewTable dt {
	padding: 16px 0;
	text-align: center;
	font-size: 14px;
	color: #555;
}

.viewTable dd {
	padding: 16px 0;
	font-size: 15px;
	margin: 0;
	color: #757575;
}

#bo_v_atc {
	min-height: 200px;
	height: auto !important;
}

#bo_v_atc_title {
	position: absolute;
	font-size: 0;
	line-height: 0;
	overflow: hidden;
}

#bo_v_img {
	width: 100%;
	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: 20px;
	max-width: 100%;
	height: auto;
}

.equipment_view_wrap {
	margin-top: 20px;
}

.equipment_view_title {
	margin: 0;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.4;
	color: #222;
	word-break: keep-all;
}

.equipment-view-thumb {
	margin: 30px 0;
	text-align: center;
}

.equipment-view-thumb img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}

.equipment-detail-table {
	border-top: 2px solid #222;
	margin-top: 20px;
}

.equipment-detail-row {
	display: table;
	width: 100%;
	table-layout: fixed;
	border-bottom: 1px solid #ddd;
	margin: 0;
}

.equipment-detail-row dt,
.equipment-detail-row dd {
	display: table-cell;
	padding: 18px 20px;
	vertical-align: top;
	box-sizing: border-box;
}

.equipment-detail-row dt {
	width: 240px;
	background: #f8f8f8;
	font-weight: 700;
	color: #222;
}

.equipment-detail-row dd {
	background: #fff;
	color: #444;
	line-height: 1.8;
	word-break: keep-all;
}

.equipment-inline-image {
	margin-top: 14px;
}

.equipment-inline-image img {
	max-width: 100%;
	height: auto;
	display: block;
}

@media (max-width: 768px) {
	.equipment_view_title {
		font-size: 24px;
	}

	.equipment-detail-row,
	.equipment-detail-row dt,
	.equipment-detail-row dd {
		display: block;
		width: 100%;
	}

	.equipment-detail-row dt {
		padding: 14px 16px 8px;
	}

	.equipment-detail-row dd {
		padding: 0 16px 14px;
	}

	#bo_v_info .viewTable dl:not(.file) {
		display: flex;
		flex-wrap: wrap;
		padding: 0 10px;
	}

	#bo_v_info .viewTable dl:not(.file) dt {
		width: 70px;
		text-align: left;
		font-size: 14px;
		color: #555;
	}

	#bo_v_info .viewTable dl:not(.file) dd {
		width: 80%;
		text-align: left;
		font-size: 15px;
		color: #757575;
	}
}

/* ==============================
   글쓰기
============================== */
#bo_w form {
	width: 100%;
}

#bo_w .bo_v_option li {
	display: inline-block;
	float: left;
	text-align: left;
	margin: 0 5px 0 0;
}

#bo_w .bo_v_option li label {
	vertical-align: baseline;
}

#bo_w .write_div {
	margin: 10px 0;
	position: relative;
}

#bo_w .write_div:after {
	display: block;
	visibility: hidden;
	clear: both;
	content: "";
}

#bo_w .btn_submit {
	padding: 0 20px;
}

#bo_w .btn_cancel {
	border-radius: 3px;
}

@media (min-width:768px) {
	#bo_w .btn_cancel {
		width: 20%;
		line-height: 45px;
		height: 45px;
		padding: 0 30px;
		font-weight: bold;
		font-size: 1.083em;
		border-radius: 3px;
		border: 1px solid #dcdcdc;
	}

	#bo_w .btn_submit {
		width: 20%;
		height: 45px;
		padding: 0 30px;
		margin-left: 10px;
		font-weight: bold;
		font-size: 1.083em;
	}
}

@media (max-width:767px) {
	#bo_w .btn_cancel,
	#bo_w .btn_submit {
		width: 30%;
		padding: 0 10px;
		font-size: 1em;
		line-height: 36px;
		height: 36px;
	}

	#bo_w .btn_submit {
		margin-left: 10px;
	}
}

/* ==============================
   캡챠
============================== */
#captcha.m_captcha #captcha_img {
	display: inline-block;
	width: 120px;
	height: auto;
	margin-top: 12px;
}

#captcha.m_captcha #captcha_key {
	height: auto;
	line-height: 2;
	margin-top: 12px;
}

#captcha.m_captcha #captcha_reload {
	height: 60px;
	margin-top: 12px;
}