@charset "utf-8";

/* 그누보드 */
.sound_only {display:inline-block !important;position:absolute;top:0;left:0;margin:0 !important;padding:0 !important;font-size:0;line-height:0;border:0 !important;overflow:hidden !important}
.btn_admin { display: none; }

/* 캡챠 자동등록(입력)방지 기본 -pc */
#captcha {display:inline-block;position:relative;max-width:none;background:none;text-align:left;}
#captcha legend {position:absolute;margin:0;padding:0;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden;}
#captcha #captcha_img {height:40px;border:1px solid #ccc;vertical-align:top;padding:0;margin:0;border-radius:3px}
#captcha #captcha_mp3 {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat;text-indent:-999px;border-radius:3px}
#captcha #captcha_reload {margin:0;padding:0;width:40px;height:40px;border:0;background:transparent;vertical-align:middle;overflow:hidden;cursor:pointer;background:url('../../../img/captcha2.png') no-repeat  0 -40px;text-indent:-999px;border-radius:3px}
#captcha #captcha_key {margin:0 0 0 3px;padding:0 5px;width:90px;height:40px;border:1px solid #ccc;background:#fff;font-size:1.333em;font-weight:bold;text-align:center;border-radius:3px;vertical-align:top}
#captcha #captcha_info {display:block;margin:5px 0 0;font-size:80%;color:#ff0000;letter-spacing:-0.1em}

/* 게시판 */
#bo_v_img { width:100%; overflow:hidden; zoom:1 }
#bo_v_img img { margin-bottom:20px; max-width:100%; height:auto }

/* 커스텀 */
select { font-size: 14px; }

#footer .logo img {	filter: grayscale(1); top: 0px; }

#latest h4 a { color: #000; }
#latest h4 a:hover { text-decoration: none; }
#latest li a { color: #777; }

.dropdown-item { font-size: 14px; }

.ck.ck-editor__editable { min-height: 200px !important; }

/*
.title { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; width: 100%; }
*/
/* Main popup layer */
html.space-popup-open,
html.space-popup-open body {
	/* overflow: hidden; */
}

.space-popup-layer {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	padding: 24px;
}

.space-popup-layer[hidden] {
	display: none !important;
}

.space-popup-card {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(var(--space-popup-width), calc(100vw - 48px));
	max-height: calc(100vh - 48px);
	max-height: calc(100dvh - 48px);
	overflow: hidden;
	background: #fff;
}

@media (min-width: 768px) {
	.space-popup-layer--pc-position {
		align-items: flex-start;
		justify-content: flex-start;
		padding: 0;
	}

	.space-popup-layer--pc-position .space-popup-card {
		position: absolute;
		left: var(--space-popup-left);
		top: var(--space-popup-top);
	}
}

.space-popup-content {
	width: 100%;
	height: var(--space-popup-height);
	max-height: calc(100vh - 116px);
	max-height: calc(100dvh - 116px);
	overflow-x: hidden;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	overflow-wrap: anywhere;
}

.space-popup-content div,
.space-popup-content p,
.space-popup-content table {
	min-width: 0 !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.space-popup-content img,
.space-popup-content video,
.space-popup-content iframe,
.space-popup-content table {
	max-width: 100% !important;
}

.space-popup-content table {
	width: 100% !important;
	table-layout: fixed;
	word-break: break-word;
}

.space-popup-content img,
.space-popup-content video {
	height: auto !important;
}

.space-popup-x {
	display: none !important;
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .72);
	color: #fff;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.space-popup-footer {
	display: flex;
	min-height: 54px;
	background: #171717;
	color: #fff;
}

.space-popup-footer button {
	min-height: 54px;
	padding: 12px 18px;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 14px;
	cursor: pointer;
}

.space-popup-footer .space-popup-reject {
	flex: 1;
	text-align: left;
}

.space-popup-footer .space-popup-close {
	flex: 0 0 auto;
	border-left: 1px solid rgba(255, 255, 255, .25);
}

.space-popup-footer button:focus-visible,
.space-popup-x:focus-visible {
	outline: 3px solid #ffdb4d;
	outline-offset: -3px;
}

@media (max-width: 767px) {
	.space-popup-layer {
		align-items: center;
		padding: 16px;
	}

	.space-popup-card {
		width: min(var(--space-popup-width), calc(100vw - 32px));
		max-height: calc(100vh - 32px);
		max-height: calc(100dvh - 32px);
	}

	.space-popup-content {
		height: auto;
		max-height: calc(100vh - 100px);
		max-height: calc(100dvh - 100px);
	}

	.space-popup-footer button {
		padding: 11px 13px;
		font-size: 13px;
	}
}
