@charset "utf-8";

/* list */
#board-list .category-wrap {
	margin-bottom: 20px;

	ul {
		list-style: none;
		padding: 0;
		margin: 0;
		display: flex;
		gap: 5px;

		li {
			flex: 1;
		}
		a {
			display: flex;
			align-items: center;
			justify-content: center;
			height: 100%;
			font-size: 14px;
			text-decoration: none;
			border: 1px solid #dadada;
			background: #f3f3f3;
			color: #333;
			text-align: center;
			padding: 10px 5px;
			border-radius: var(--sub-radius);

			&.selected {
				font-weight: 500;
				color: #fff;
				background-color: #808080;
				border-color: #808080;
			}
		}
	}
}

#board-list tr.question td:hover {
	cursor: pointer;
}
#board-list tr.answer {
	display: none;
	width: 100%;
}
#board-list tr.answer td {
	padding: 0;
	border-top: 0;
}
#board-list table.table-hover tbody tr.answer:hover td {
	background: #fff;
}
#board-list tr.answer td .content {
	text-align: left;
	padding: 21px 20px 21px 75px;
	display: none;
	background: #fafafa;
	position: relative;
}
#board-list tr.answer.active td .content {
	margin-top: -1px;
}
#board-list tr.answer td .content:before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	background: url(../imgs/answer-icon.png) no-repeat 0 0;
	background-size: 18px 18px;
	position: absolute;
	left: 47px;
	top: 23px;
}
#board-list tr.answer td .content:after {
	content: "";
	display: block;
	width: 10px;
	height: 12px;
	background: url(../imgs/board-arrow.png) no-repeat 0 0;
	background-size: 10px 12px;
	position: absolute;
	left: 25px;
	top: 22px;
}
#board-list tr.answer td .content p {
	margin-bottom: 0;
	font-size: 14px;
	letter-spacing: -0.01em;
	line-height: 21px;
}

#board-list tr.question .subject.active{
	font-weight:700;
}