:root {
	--color-primary: #89b829;
	--color-secondary: #0a986b;
	--color-gray: #f3f3f3;

	--table-color-border: #d8d8d8;

	--box-shadow: 0 0 20px rgba(125, 129, 123, 0.05);
}

body {
	min-width: 1400px;
}

.ac {
	text-align: center;
}

.bg_gray {
	background-color: var(--color-gray);
}

.dot_text {
	position: relative;
	padding-left: 15px;
}

.dot_text:before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(50% - 3px);
	width: 6px;
	height: 6px;
	background: var(--color-secondary);
	border-radius: 50%;
}

.dot_text + .dot_text {
	margin-top: 10px;
}

/* 대시보드 */
.wrap {
	position: relative;
	min-height: 100vh;
	font-family: "Noto Sans KR", sans-serif;
	word-break: keep-all;
	min-width: 1080px;
	background: var(--color-gray);
	overflow: hidden;
}

.wrap button {
	font-family: "Noto Sans KR", sans-serif;
}

.wrap.loading {
	overflow: hidden;
}

.nav {
	position: fixed;
	top: 0;
	left: 0;
	width: 250px;
	height: 100vh;
	background-color: #fff;
	text-align: center;
	z-index: 10;
	box-shadow: var(--box-shadow);
}

.nav p img {
	height: 100px;
}

.category_filter {
	padding: 0 20px;
}

.category_filter button {
	display: block;
	width: 100%;
	font-size: 16px;
	padding: 10px;
	text-align: center;
	border-radius: 10px;
}

.nav .button_logout {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	color: #444;
	padding: 20px 0;
}

.ar {
	text-align: right;
}

.content {
	position: relative;
	margin-left: 250px;
	padding: 30px;
	min-height: calc(100vh - 170px);
}

.content h1 {
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 30px;
}

.detail_content {
	padding: 30px;
}

.detail_content_title {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
	gap: 20px;
}

.detail_content_title h1 {
	font-size: 22px;
	font-weight: 600;
}

.detail_content_title h1 span {
	display: block;
	font-size: 14px;
	font-weight: 400;
	margin-bottom: 5px;
}

.content .box,
.detail_content .box {
	background: #fff;
	padding: 20px;
	border-radius: 10px;
	margin: 15px 0;
	box-shadow: var(--box-shadow);
}

.firstChar_filter {
	display: grid;
	justify-content: space-between;
	grid-template-columns: repeat(25, 1fr);
}

.firstChar_filter button {
	display: block;
	width: 40px;
	line-height: 30px;
	font-size: 16px;
	text-align: center;
	border-bottom: 2px solid #fff;
	margin: 0 auto;
}

.firstChar_filter button.on {
	background: #fff;
	color: var(--color-primary);
	font-weight: 700;
	border-bottom: 2px solid var(--color-primary);
}

#warning {
	font-weight: 600;
	font-size: 14px;
}

.function_filter {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
}

.function_filter button {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	padding: 10px 20px;
	border-radius: 10px;
}

.function_filter button img {
	width: 25px;
}

.function_filter button:disabled {
	filter: grayscale(1);
	cursor: initial;
}

.function_filter button:disabled:hover {
	background-color: #fff;
}

.category_filter button,
.firstChar_filter button,
.function_filter button {
	transition: background-color 0.1s;
	-webkit-transition: background-color 0.1s;
}

.category_filter button:hover,
.function_filter button:hover {
	background-color: var(--color-gray);
}

.category_filter button.on,
.function_filter button.on,
.tabs button.on {
	background-color: var(--color-primary);
	color: #fff;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	font-weight: 600;
}

.search_box {
	display: flex;
	justify-content: center;
}

.search_box select {
	width: 200px;
}

.search_box div {
	display: grid;
	grid-template-columns: 1fr 100px;
	align-items: center;
}

.search_box div input {
	width: 400px;
}

.search_box div button {
	height: 40px;
	line-height: 40px;
	padding: 0;
	background-color: var(--color-secondary);
}

.total {
	font-size: 14px;
	margin-bottom: 20px;
	color: #333;
}

.total span {
	padding-left: 10px;
	font-weight: 600;
	color: #000;
}

/* table */
.table_box,
.table_box2 {
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid var(--table-color-border);
}

.table_box table,
.table_box2 table {
	word-break: break-all;
}

.table_box table th,
.table_box2 table th {
	padding: 15px 10px;
	font-size: 15px;
	font-weight: 600;
	background: #e5e5e5;
	vertical-align: middle;
}

.table_box table tbody tr:first-child td,
.table_box2 table tbody tr:first-child td {
	border-top: none;
}

.table_box table td,
.table_box2 table td {
	vertical-align: middle;
	padding: 12px;
	font-size: 14px;
}

.table_box tr:nth-child(even) {
	background-color: var(--color-gray);
}

.table_box table td a,
.table_box2 table td a {
	text-decoration: underline;
}
.table_box2 table td a {
	position: relative;
	display: block;
	padding-left: 20px;
	line-height: 20px;
	background: url("../img/link.svg") no-repeat left 4px / 15px auto;
}

.table_box2 table td a + a {
	margin-top: 5px;
}

.table_box table td span {
	display: block;
}

.table_box table td span + span {
	margin-top: 3px;
}

.table_box2 table td sub {
	font-size: 11px;
}

.content .table_box tr:hover {
	background-color: rgb(232, 242, 207);
}

.pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 20px;
	gap: 8px;
}

.pagination a {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 35px;
	height: 35px;
	background: #fff;
	border-radius: 5px;
	font-size: 14px;
	box-shadow: var(--box-shadow);
}

.pagination a.prev {
	background: #fff url("../img/arrow_prev.svg") no-repeat center / 18px auto;
}

.pagination a.next {
	background: #fff url("../img/arrow_next.svg") no-repeat center / 18px auto;
}

.pagination a.active {
	background: var(--color-secondary);
	color: #fff;
}

.table_box2 table td {
	border-top: 1px solid var(--table-color-border);
	border-left: 1px solid var(--table-color-border);
}

.table_box2 table tr:not(:first-child) th {
	border-top: 1px solid var(--table-color-border);
}

.detail_content .box {
	display: none;
}

.tabs {
	display: flex;
	gap: 10px;
}

.tabs button {
	display: block;
	padding: 10px 20px;
	border-radius: 10px;
	background-color: #fff;
	font-size: 15px;
}

/* loading_screen */
.loading .loading_screen {
	display: flex;
	z-index: 10;
}

.loading_screen {
	position: fixed;
	display: none;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	background: rgba(0, 0, 0, 0.1);
	z-index: -1;
}
.lds-ellipsis {
	/* change color here */
	color: var(--color-primary);
}
.lds-ellipsis,
.lds-ellipsis div {
	box-sizing: border-box;
}
.lds-ellipsis {
	display: inline-block;
	position: relative;
	width: 80px;
	height: 80px;
}
.lds-ellipsis div {
	position: absolute;
	top: 33.33333px;
	width: 13.33333px;
	height: 13.33333px;
	border-radius: 50%;
	background: currentColor;
	animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
	left: 8px;
	animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
	left: 8px;
	animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
	left: 32px;
	animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
	left: 56px;
	animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
	0% {
		transform: scale(0);
	}
	100% {
		transform: scale(1);
	}
}
@keyframes lds-ellipsis3 {
	0% {
		transform: scale(1);
	}
	100% {
		transform: scale(0);
	}
}
@keyframes lds-ellipsis2 {
	0% {
		transform: translate(0, 0);
	}
	100% {
		transform: translate(24px, 0);
	}
}

.error {
	position: relative;
	text-align: center;
	padding: 300px 0 100px;
	background: #f3f3f3 url("../img/error.png") no-repeat top 120px center / 150px auto;
	font-size: 25px;
	line-height: 50px;
	border-radius: 20px;
}

.error span {
	display: block;
}

.list {
	margin-top: 20px;
	font-size: 14px;
	color: #555;
}

.list li {
	position: relative;
	padding-left: 10px;
	margin-bottom: 5px;
}

.list li:before {
	content: "";
	position: absolute;
	left: 0;
	top: 8px;
	transform: translateY(-50%);
	width: 3px;
	height: 3px;
	background: var(--color-primary);
	border-radius: 50%;
}
