@charset "utf-8";

.wrap.no-header {
	padding-top: 10px;
}
html {
	scrollbar-gutter: stable;
}

body {
	background-color: #fff;
	font-family: 'Pretendard', sans-serif;
	margin: 0;
	padding: 0;
	padding-bottom: 0px;
}

.size {
	max-width: 1100px;
	margin: 40px auto;
	padding: 30px 40px 40px 40px;
	background: white;
	border: 3px solid #eee;
	border-radius: 16px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
	min-height: 710px;
}

.list-page .size {
	min-height: auto;
}

.list-page .list {
	min-height: auto;
}

.list-page .pagenate {
	margin-top: 30px;
}

.list-page .bbs {
	display: block;
}

.board_write td textarea {
	width: 100%;
	min-height: 200px;
}

.bbs {
	display: block;
}

.wrap {
	padding-top: 20px; 
}

.btnSet {
	margin-bottom: 10px;
	margin-top: -15px; 
	text-align: right;
	position: relative; 
	z-index: 10;
}

.btnSet .btn {
	padding: 10px 24px; 
	font-size: 14px;
}

.sub_title {
	margin-bottom: 15px; 
}

.sub {
	padding-bottom: 20px;
}

/* 제목 부분 */
.sub_title {
	font-size: 26px;
	font-weight: 700;
	color: #1a1f33;
	margin-bottom: 20px;
}

.sub:has(.view) .bbs {
	max-width: 1000px; 
	margin: 0 auto; 
}

.sub:has(.view) .size {
	min-height: 710px; 
}

.sub:has(.view) .btnSet {
	max-width: 1000px;
	margin: 20px auto 0;
}

.bbs p {
	font-size: 14px;
	color: #888;
	margin-bottom: 15px;
}

.bbs p strong {
	color: #4d4dff;
}

.list-wrap {
	min-height: 432px; 
}

.list {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	margin-bottom: 0;
	min-height: auto;
}

.list th {
	background-color: #f8f9fa;
	color: #aaa; 
	font-size: 13px;
	font-weight: 600;
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	text-transform: uppercase;
	text-align: left; 
}

.list td {
	height: 65px;
	padding: 0px 20px; 
	border-bottom: 1px solid #f8f8f8;
	font-size: 14px;
	color: #444;
	vertical-align: middle;
	text-align: left; 
	box-sizing: border-box;
}

.list tbody {
	display: table-row-group; 
}

.list td style ="text-align:left ;" a {
	text-decoration: none;
	color: #222;
	font-weight: 600;
	transition: 0.2s;
}

.list td a:hover {
	color: #4d4dff;
	text-decoration: underline;
}

.list td img {
	vertical-align: middle;
	margin-right: 5px;
	opacity: 0.7;
}

.btnSet {
	margin: 20px 0;
	text-align: right;
}

.btn {
	display: inline-flex; 
	align-items: center; 
	justify-content: center; 
	background-color: #1a1f33 !important; 
	color: #ffffff !important; 
	padding: 12px 28px; 
	border-radius: 8px;
	text-decoration: none !important;
	font-size: 15px; 
	font-weight: 700; 
	line-height: 1; 
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 100px; 
}

.btn:hover {
	background-color: #4d4dff !important;
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(77, 77, 255, 0.3);
}

.btn.btn-red:hover {
	background-color: #ff4d4d !important; 
	color: #ffffff !important;
	box-shadow: 0 4px 12px rgba(255, 77, 77, 0.3);
	border: none;
}

.pagenate {
	margin-top: auto; 
	display: flex;
	justify-content: center;
	padding: 10px 0 15px 0;
}

.paging {
	display: flex;
	list-style: none;
	gap: 8px;
}

.paging li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 35px;
	height: 35px;
	border-radius: 8px;
	color: #888;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: 0.2s;
}

.paging li a.current {
	background: #1a1f33;
	color: white;
}

.paging li a:hover:not(.current) {
	background: #eee;
}

.bbsSearch {
	background: #f8f9fa;
	padding: 10px;
	border-radius: 12px;
	text-align: center;
}

.dSelect {
	min-width: 100px; 
	height: 40px; 
	padding: 0 30px 0 15px; 
	border: 1px solid #ddd;
	border-radius: 6px;
	outline: none;
	font-size: 15px; 
	color: #333; 
	background-color: #fff;
	cursor: pointer;
	appearance: none; 
	-webkit-appearance: none;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center; 
}

.dSelect:focus {
	border-color: #4d4dff; 
}

.dSelect option {
	padding: 10px;
	background: #fff;
	color: #333;
}

#sval {
	height: 40px; 
	padding: 0 15px; 
	border: 1px solid #ddd;
	border-radius: 6px;
	width: 280px; 
	font-size: 15px;
	color: #111;
	outline: none;
	vertical-align: middle; 
	transition: border-color 0.2s;
}

#sval:focus {
	border-color: #4d4dff;
	box-shadow: 0 0 0 3px rgba(77, 77, 255, 0.1); 
}

.bbsSearch input[type="button"] {
	height: 40px; 
	padding: 0 25px; 
	background: #1a1f33;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	vertical-align: middle; 
	transition: background 0.3s;
}

.bbsSearch input[type="button"]:hover {
	background: #4d4dff;
}

#searchbtn {
	height: 40px; 
	padding: 0 25px; 
	background: #1a1f33;
	color: white;
	border: none;
	border-radius: 6px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	vertical-align: middle; 
	transition: background 0.3s;
}

.bbsSearch form {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px; 
}

.dSelect {
	height: 40px !important;
	vertical-align: middle;
}

.list td a, .list td a:visited { 
	text-decoration: none;
	color: #222 !important; 
	font-weight: 500;
	transition: 0.2s;
}

.list td a:hover, .list td a:active { 
	color: #4d4dff !important;
	text-decoration: underline;
}

.list td a span, .list td a:visited span {
	color: #ff4d4f !important;
	font-weight: 700;
}

#sval:focus {
	border-color: #4d4dff;
}

.bbsSearch input[type="button"] {
	background: #1a1f33;
	color: white;
	border: none;
	padding: 8px 20px;
	border-radius: 6px;
	cursor: pointer;
}

.list td a {
	text-decoration: none;
	color: #222 !important;
	font-weight: 600;
	transition: 0.2s;
	display: block; 
}

.list td[colspan] {
	text-align: center;
	color: #aaa;
	padding: 50px 0;
}
/* 글쓰기 테이블 스타일 */
.board_write {
	width: 100%;
	border-collapse: collapse;
	border-top: 2px solid #1a1f33; 
	margin-bottom: 20px;
}

.board_write th {
	width: 150px;
	padding: 20px;
	background-color: #f8f9fa;
	color: #333;
	font-size: 15px;
	font-weight: 700;
	text-align: left;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.board_write td {
	padding: 15px 20px;
	border-bottom: 1px solid #eee;
	vertical-align: middle;
}

.board_write input[type="text"] {
	width: 100%;
	height: 48px;
	padding: 0 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	font-size: 16px;
	color: #333;
	outline: none; 
	transition: all 0.3s ease;
	box-sizing: border-box;
}

.board_write input[type="text"]:focus {
	border-color: #1a1f33; 
	box-shadow: 0 0 8px rgba(26, 31, 51, 0.1); 
	background-color: #fcfcff; 
}

/* 내용(에디터) 영역 길이 늘리기 */
.board_write td textarea {
	width: 100%;
	min-height: 500px; 
	border: 1px solid #ddd;
	border-radius: 8px;
	padding: 15px;
	box-sizing: border-box;
}

.board_write th {
	width: 120px; 
	background-color: #f8f9fa;
	color: #1a1f33;
	font-weight: 700;
	border-bottom: 1px solid #eee;
}

.view {
	border: 1px solid #e1e4e8;
	border-radius: 12px;
	background: #fff;
	margin-bottom: 40px;
	overflow: hidden;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.view .title {
	padding: 25px 30px;
	background-color: #f4f6f8; 
	border-bottom: 1px solid #e1e4e8;
}

.view .title dl {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	margin: 0;
	padding: 0;
}

.view .title dt {
	width: 100%; 
	font-size: 20px;
	font-weight: 700;
	color: #1a1f33;
	margin-top: 5px;
	margin-bottom: 12px;
	line-height: 1.2; 
}

.view .title dd.date {
	font-size: 13px;
	color: #888;
}

.view .title dd.date {
	font-size: 14px;
	color: #888;
	margin-right: auto; 
}

.view .title dd.writer {
	font-size: 14px;
	font-weight: 600;
	color: #444;
	text-align: right; 
	background: #f1f3f7; 
	padding: 4px 12px;
	border-radius: 20px;
}

.view .cont {
	padding: 40px 30px;
	min-height: 100px;
	font-size: 20px;
	line-height: 1.8;
	color: #2c2e33;
	word-break: break-all;
	white-space: pre-wrap;
}

.view .file {
	padding: 15px 30px;
	background: #f8f9fa;
	border-top: 1px solid #eee;
	display: flex;
	align-items: center;
	gap: 15px;
}

.view .file dt {
	font-size: 13px;
	font-weight: 700;
	color: #666;
}

.view .file dd a {
	color: #4d4dff;
	text-decoration: none;
	font-size: 13px;
}

.view .file dd a:hover {
	text-decoration: underline;
}

.board_write {
	width: 100%;
	margin-top: 20px;
	border-collapse: separate;
	border-spacing: 0 10px;
}

.board_write textarea {
	width: 100%;
	min-height: 80px;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 8px;
	resize: none;
	font-size: 14px;
	transition: all 0.3s;
}

.board_write textarea:focus {
	border-color: #1a1f33;
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 31, 51, 0.05);
}

.board_write .btn {
	height: 80px; 
	width: 100px;
	background: #1a1f33 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	font-weight: 700;
}

.admin-answer .cont {
	min-height: 100px; 
	background-color: #fcfcff;
	font-size: 16px;
}