#categories,
.facet ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#categories {
    margin-top: 1rem;
}

#categories-return {
    margin-bottom: 1rem;
}

#categories li {
    border-bottom: 1px solid rgba(0,0,0,.08);
    margin-bottom: .5rem;
    padding-bottom: .5rem;
}

#categories li:last-child {
    border-bottom-color: transparent;
}

.facet label {
    /* display: flex; */
	display: inline-block; /* 수정 */
	/* margin-bottom: 10px;  나머지 추가 */
	margin-top: 5px;
	margin-bottom: 5px;
	background-color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
	min-width: 80px;
	text-align: center;
    padding: 0 15px;
	border: 1px solid #00A33F;
    border-radius: 19px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #00A33F;
    font-weight: 400;
    line-height: 35px;
    vertical-align: top;
}

.facet label:visited {
    /* display: flex; */
	display: inline-block; /* 수정 */
	margin-bottom: 10px; /* 나머지 추가 */
	background-color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
	min-width: 80px;
	text-align: center;
    padding: 0 15px;
	border: 1px solid #00A33F;
    border-radius: 19px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #00A33F;
    font-weight: 400;
    line-height: 35px;
    vertical-align: top;
}

.facet label input {
    margin: 0 0 0 0;
}

.resource-name {
    font-weight: bold;
}

.categories-container,
.facets-container,
.facet {
    border: 0;
    padding: 0;
}

.facets-container {
    padding: 1rem 0;
}

.categories-container legend,
.facets-container legend {
    font-weight: bold;
    font-size: 1.5rem;
}

.category,
.facet {
    margin-bottom: 0rem;
}

.facet legend {
    /* font-size: 1.25rem; */
	font-size: 16px; 
	font-weight: 600;
	/* display: contents; /* 추가 */
}

.permalink-label {
    display: inline-flex;
    align-items: center;
}

input[type="text"].permalink {
    margin: 0 0 0 .5rem;
}

#section-sidebar {
    width: 100%;
    /* padding-right: .5rem; */

}

#section-content {
    /* width: 70%; */
    width: 100%;
    padding-left: .5rem;
}

#container {
    /* display: flex; */
}

.faceted-browse-page .browse-controls > * {
    margin-bottom: 1rem;
}

.button.permalink .default:after {
    content: "\f328";
    font-family: "Font Awesome 5 Free";
    font-weight: 500;
    margin-left: .25rem;
    cursor: pointer;
    opacity: 1;
}

.button.permalink {
    position: relative;
}

.button.permalink .success {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.button.permalink .success.active {
    display: block;
}

.button.permalink .default.inactive {
    opacity: 0;
}



.facet table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 0rem;
    border-radius: 0;
	border: 0px solid #fff;
}


.facet thead, tbody, tfoot {
    border: 0px solid #f1f1f1;
    background-color: #fff;
}