@charset "UTF-8";
html, body {
	width: 100%; height: 100%;
	position: fixed;
	overflow: hidden;
}
body, h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	padding: 0;
	font-family: "Noto Sans KR";
}
body, .tabulator .tabulator-tableHolder .tabulator-table {
	color: #444444;
}
p {
	margin-bottom: .5rem;
}
label {
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.3rem;
	color: #3c3c3c;
}
.display-flex {
	display: flex;
}
.flex-direction-column {
	flex-direction: column;
}
.hide {
	display: none;
}
/* Scroll Bar */
* {
	scrollbar-arrow-color: #9D9992;
	scrollbar-3dlight-color: #D4D0C8;
	scrollbar-darkshadow-color: #D4D0C8;
	scrollbar-face-color: #90a4ae;
	scrollbar-hightlight-color: #FFFFFF;
	scrollbar-shadow-color: #FFFFFF;
	scrollbar-track-color: transparent;
}

::-webkit-scrollbar {
	width: 10px;
	margin: 2px;
}
::-webkit-scrollbar-track {
	background-color: rgba(255, 255, 255, 0.1);
	box-shadow: inset 0px 0px 2px rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
	background-color: #ddc8f4;
	border-radius: 10px;
	background-clip: padding-box;
	border: 2px solid transparent;
}
.tabulator ::-webkit-scrollbar-thumb {
	background-color: transparent;
}
.tabulator:hover ::-webkit-scrollbar-thumb {
	background-color: #ddc8f4;
}
.book-description::-webkit-scrollbar-thumb {
	background-color: #f9d0dd;
}
.text-align-center {
	text-align: center;
}
/* Header */
.header {
	background: linear-gradient(45deg, #4a76be, #8627a9);
	box-shadow: 1px 1px 6px #c1add5;
	padding: 20px 35px 10px 35px;
	color: white;
	position: fixed;
	width: 100vw;
	z-index: 10;
	cursor: default;
}
.header .header-info {display: flex; width: 100%;}
.header .title {
	overflow: hidden;
	white-space: nowrap;
	width: 100%;
	text-overflow: ellipsis;
}
.header-left, .header-center, .header-right {align-self: center;}
.header-center {flex: 1;}
.header-smartlib {white-space: nowrap;}
.header-smartlib .lib-info {font-weight: 700}
.header .logo {height: 70px;}
body[data-resv="inactive"] .header .logo {height: 30px;}

body[data-resv="inactive"] .header .menu {display: none;}
.menu ul {
	padding: 0;
	margin: 0;
	display: flex;
	list-style: none;
}
.menu .menu-item {
	cursor: pointer;
	padding: 10px 10px 7px 10px;
	text-shadow: 1px 1px 2px #333;
}
.menu ul li a {
	color: white;
	text-decoration: none;
}
.content {
	position: fixed;
	width: 100%;
	padding: 25px 35px;
	background: #fbf9fe;
    display: flex;
    gap: 1rem;
    flex-direction: column;
    overflow: hidden;
}

/* Alert Container */
.alert-container {
	padding: 1rem;
	border-radius: 0.28571rem;
	background: white;
	font-weight: 600;
	border: solid 1px #dcb9ff;
}
.alert-title {
	font-size: 0.85rem;
	color: #aa55ff;
}
/* Search Container */
.search-container {
	display: none;
	align-items: center;
	background: #fdfcff;
	height: 50px;
	padding: 8px;
	border-bottom: solid 1px #e2c6ff !important;
}
.search-container .input-group .btn {
	color: #6610f2;
	opacity: 0.3;
	padding: 0.3rem 0.5rem;
}
.search-container .input-group .btn:hover {
	opacity: 1;
}
.search-container .input-group .form-control{
	background: #f2f2f3!important;
}
.search-container .input-group {
	width: auto;
	background: #f2f2f3!important;
	border: 1px solid #e8e5ed;
	border-radius: 30px;
	flex: 8;
}
.search-container .search-group {
	background: white;
	border-radius: 5px;
	flex: 5;
	height: 100%;
	overflow-y: hidden;
	overflow-x: scroll;
	display: inline-flex;
	align-items: center;
}

.search-container .form-control {
	border-radius:30px!important;
	border: 1px solid #e8e5ed;
	min-width: 90px;
}
.search-container .input-group.focus {
	background: white !important;
}
.search-container .input-group.active, .search-container .form-control:focus, .modal .form-control:focus {
	border-color: #7e44ea;
	box-shadow: 0 0 0 0.2rem rgb(236 230 246);
	background-color:#fff!important; 
}
.search-container .input-group .form-control {
	border: none;
}
.search-container .input-group .form-control:focus, .search-container .input-group .btn:focus {
	box-shadow: none;
}
/* Custom */
.icon-title {margin-left: 5px;}

.book-state-0 {
	background: #ffd6da;
	color: #ff4759;
	border: solid 2px #ffd6da;
}

.book-state-1 {
	color: #0066ff;
	border: solid 2px #cbe1ff;
	background: #cbe1ff;
}

.book-state-2 {
	background: #ffeac7;
	color: #ff7b00;
	border: solid 2px #ffeac7;
}

.book-info {width: 100%;}
.book-container {
	display: flex;
	padding: 3px 0px;
}
.book-img-container {flex: 1; align-self: center;}
.book-desc-container {flex: 2; padding-left: 5px; align-self: center;}
.book-description  {
	padding: 0.5rem 0.7rem;
	margin-top: 0.8rem;
	border-radius: 5px;
	border: solid 1px #ffdae6;
	max-height: 150px;
	overflow: auto !important;
}
.book-title {
	border-radius: 5px;
	font-weight: 600;
	font-size: 1.1rem;
}
.book-col {
	display: flex;
}
.modal .book-col {
	padding: 0.15rem 0px;
	display: block;
    border-bottom: solid 1px #eee;
}
.modal .book-col:last-child {
	border: none;
}
.book-col-name {
	flex: 2;
	font-weight: 600;
}
.book-col-value {
	flex: 3;
}
.book-title, .book-col-value {
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.client-mobile {
	display: none !important;
}

/* Bootstrap */
.badge {
	border-radius: .7rem;
	margin-right: 0.2rem;
	font-weight: 500;
}
.badge-isbn {
	background: linear-gradient(75deg, #e52ae8, #d27ad4);
}
.form-control {
	display: inline;
}
.form-control:focus {
	border-color: #903fd3;
	box-shadow: 0px 0px 0px 0.25rem rgb(144 63 211 / 25%)!important;
}
select.form-control {
	border-color: #dcd4e4;
	flex: 1;
	background: url(/resources/img/common/arrow-down-purple.png) no-repeat right white;
	background-size: contain;
	background-origin: content-box;
}
select.form-control:focus {
	background: url(/resources/img/common/arrow-down-purple-focused.png) no-repeat right white;
	background-size: contain;
	background-origin: content-box;
}
.header select.form-control {
	min-width: 130px;
	color: white;
	background: #945db4;
	border: solid 1px #945db4;
	flex: 0;
    max-height: 50px;
}
.header select.form-control:focus {
    color: white;
    background: #af85c7;
    border: solid 1px #af85c7;
}
.input-group input {
	border-right: none;
	border: solid 1px transparent;
	transition: none;
}
.input-group-btn {
	height: 100%;
	background: white;
	border: solid 1px transparent;
	border-radius: .25rem;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left: none;
}

.input-group.focus {
	box-shadow: 0px 0px 0px 0.25rem rgb(144 63 211/ 25%) !important;
	border-color: #903fd3;
}
.input-group.focus .form-control, .input-group.focus .btn {
	border: 1px solid transparent;
}
.input-group .btn {
	color: #ac8bc9;
	box-shadow: none !important;
}
.input-group .btn:focus, .input-group .btn:hover {
	color: #6b2f9e;
	box-shadow: none !important;
}
.input-group .form-control:focus {
	border: solid 1px transparent;
	border-right: none;
	box-shadow: none !important;
}
button, .btn, .swal2-styled.swal2-confirm {
	border-radius: 25px !important;
}
.btn.btn-indigo {
	background: #903fd3;
	border-color: #903fd3;
	color: white;
}
.btn.btn-indigo:hover {
	background: #7a27be;
	border-color: #7a27be;
}
.btn.btn-indigo:focus {
	border-color: #903fd3;
	box-shadow: 0px 0px 0px 0.25rem rgb(144 63 211 / 25%);
}
.btn.close {
	opacity: 0.8;
	padding: .375rem .2rem;
}
.btn.close:hover {
	opacity: 1;
}
.modal .modal-title {
	font-size: 1.1rem;
}
.modal .modal-title span {
	margin-left: 5px;
	font-weight: bold;
}
.modal .book-title, .modal .book-col-value {
	white-space: normal;
}
.modal .book-col-name {
	margin-right: 0.2rem;
}
.modal-content {
	border: none;
	box-shadow: 1px 1px 10px #555;
}
#bookModal .modal-dialog {
	max-width: 550px;
}
#bookModal .modal-header {
	background: #fff2f6;
	border: none;
	color: #f60f5d;
}
#bookModal .modal-header .close {
	color: #ff77a5;
}
#bookModal .modal-body {
	min-height: 300px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.modal .btn.btn-indigo {
	background: #a06fc9;
	border-color: #a06fc9;
}
.modal .btn.btn-danger {
	background-color: #ff689b;
	border-color: #ff689b;
}
#bookModal .btn.btn-danger:hover {
	background-color: #ff3176;
	border-color: #ff3176;
}
#bookModal .btn.btn-indigo:hover {
	background: #9547d6;
	border-color: #9547d6;
}

#loginModal .modal-header {
	background: #e6daef;
	color: #674087;
	font-weight: 600;
	border-bottom: none;
}
#loginModal .modal-header .close {
	color: #8e68ab;
}

#filterModal .modal-header {
	background: #f7e0ff;
	border: none;
	color: #bd00ff;
}
#filterModal .modal-header .close {
	color: #da72ff;
}

#userTable {
	border-radius: 0.28571rem;
}
#userTable .table {
	margin: 0px;
	background: white;
	vertical-align: middle;
}
#userTable .table th {
	background: #ece8f0;
}
#userTable .table th, #userTable .table td {
	text-align: center;
	border-right: solid 1px #dcb9ff;
}
[class^="text-"] {
	font-weight: bold;
}

/* Tabulator Cell */
.tabulator .tabulator-row.tabulator-selectable .tabulator-cell[role="gridcell"][tabulator-field="no"] {
	font-weight: 600;
	color: #777;
}
.tabulator .tabulator-row.tabulator-selectable:hover .tabulator-cell[role="gridcell"][tabulator-field="no"],
.tabulator .tabulator-row.active .tabulator-cell[role="gridcell"][tabulator-field="no"] {
	background: #ffe7f1;
	color: #ff61a5;
}
.tabulator .tabulator-row.tabulator-selectable .tabulator-cell[role="gridcell"][tabulator-field="image_url"] {
	padding: 1px;
}
.tabulator .tabulator-row.tabulator-selectable .tabulator-cell[role="gridcell"][tabulator-field="image_url"] img {
	border-radius: 0px;
	padding: 1px;
	box-shadow: none;
	border: solid 1px #e2e1f0;
}

.tabulator .tabulator-row.tabulator-selectable:hover .tabulator-cell[role="gridcell"][tabulator-field="image_url"] img {
	border-color: #ffabcf;
}
/* Tabulator */
#bookTable, #userTable, #resvTable {
	border: solid 1px #dcb9ff;
}
.tabulator {
	height: 100%;
}
.tabulator .tabulator-tableHolder {
	overflow-x: hidden;
}

.tabulator-row.tabulator-selectable:hover,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.active:hover,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.active:hover,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.active,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.active {
	background: #fff8fb !important;
	border-bottom-color: #ffe0ed!important;
}
.tabulator-row.tabulator-selectable:hover .badge,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.active:hover .badge,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.active:hover .badge,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.active .badge,
.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.active .badge {
    color: #ff0470;
    border-color: #ffd3e6;
    background: #ffd3e6;
}
.tabulator-row .tabulator-cell {
	padding: 0.3rem 0.5rem;
}
.tabulator .tabulator-header .tabulator-col, .tabulator .tabulator-footer {
	background-color: #f9f6ff;
	color: #744ea0;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="none"] .tabulator-col-sorter .tabulator-arrow {
	border-bottom-color: #dbcdf6 !important;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="desc"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
	border-top-color: #a67aff !important;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort="asc"] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow {
	border-bottom-color: #a67aff !important;
}

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input {
	border: solid 1px #f1eaff;
	background: #f1eaff;
	color: #7631ff;
	border-radius: 5px;
	background: #f1eaff;
	color: #7631ff;
}

.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input:focus {
	outline: none;
	background: white;
	border: solid 1px #e5d8ff;
	box-shadow: 0px 0px 2px 3px #ebe1ff;
}

.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
	padding: 0.6rem 0.5rem;
}
.tabulator .tabulator-footer, .tabulator .tabulator-header {
	text-align: center;
	border-color: #e2c6ff;
}
.tabulator .tabulator-footer .tabulator-paginator label {
	display: none;
}
.tabulator .tabulator-footer .tabulator-page {
	padding: 5px 12px !important;
	color: #333;
	margin: 4px !important;
	border-radius: 25px !important;
	border: 1px solid #ede4ff !important;
}
.tabulator .tabulator-footer .tabulator-page.active {
	background-color: #eee4ff !important;
	color: #000;
	font-weight: 500;
	border: 1px solid #7e44ea !important;
}

.tabulator .tabulator-footer .tabulator-page:hover {
	background-color: transparent !important;
	color: #7e44ea !important;
	border: 1px solid #7e44ea !important;
}

.tabulator .tabulator-footer .tabulator-page:disabled {
	cursor: initial !important;
	color: #aaa !important;
	border: 1px solid #ccc !important;
	background-color: #fff;
	pointer-events: none;
}

.tabulator .tabulator-footer .tabulator-page[data-page=last],
	.tabulator-page[data-page=first] {
	border-radius: 25px !important;
}

.tabulator .tabulator-footer .tabulator-page-size {
	background: #ede4ff;
	color: #754ec2;
	border: solid 1px #dee2e6;
	border-radius: 25px;
	padding: 5px;
}

.tabulator .tabulator-footer .tabulator-page-size:hover {
	border: 1px solid #7e44ea;
}

.tabulator .tabulator-tableHolder .tabulator-table .tabulator-row.active:hover, .tabulator .tabulator-tableHolder .tabulator-table .tabulator-row .tabulator-cell.active:hover {
    color: #1d113f !important;
}
.tabulator .tabulator-header .tabulator-col.tabulator-sortable:hover {
	background:	#ffffff;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter {
	margin-top: 5px;
}
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter .form-control {
	font-size: 0.9rem;
}
.tabulator .tabulator-tableHolder .tabulator-placeholder {
	height: 100%;
}
.tabulator .tabulator-tableHolder .tabulator-placeholder span {
	color: #7e44ea;
	font-size: 1rem;
	text-align: center;
	padding: 0.375rem 0.5rem!important;
}
.tabulator .tabulator-footer .tabulator-page-size, .tabulator .tabulator-footer .tabulator-page {
	border: 1px solid #f3eefd;
	border-radius: 15px
}
.tabulator .tabulator-loader {
	background: rgba(255,255,255,0.5);
}
.tabulator .tabulator-loader .tabulator-loader-msg.tabulator-loading {
	border: solid 3px transparent;
	color: #6610f2;
	background: #ffffff; border-radius : 10px;
	font-size: 0.9rem;
	opacity: 0.9;
	border-radius: 10px;
}

.ml-1 {margin-left: 0.2rem;}
.mr-1 {margin-right: 0.2rem;}
.mr-2 {margin-right: 0.4rem;}

/* SweetAlert */
.swal2-header, .swal2-content {
	padding: 0 !important;
}
.swal2-styled.swal2-confirm.btn.btn-warning {
	border-color: #ff8318;
	background-color: #ff8318;
	box-shadow: 0 2px 2px 0 rgb(76 175 80/ 14%), 0 3px 1px -2px rgb(76 175 80/ 20%), 0 1px 5px 0 rgb(76 175 80/ 12%);
}
.swal2-styled.swal2-confirm.btn.btn-success {
	color: #fff;
	background-color: #4caf50;
	border-color: #4caf50;
	box-shadow: 0 2px 2px 0 rgb(76 175 80/ 14%), 0 3px 1px -2px rgb(76 175 80/ 20%), 0 1px 5px 0 rgb(76 175 80/ 12%);
}

.swal2-styled.swal2-confirm.btn.btn-danger {
	color: #fff;
	background-color: #ff4040;
	border-color: #ff4040;
	box-shadow: 0 2px 2px 0 rgb(76 175 80/ 14%), 0 3px 1px -2px rgb(76 175 80/ 20%), 0 1px 5px 0 rgb(76 175 80/ 12%);
}
.swal2-styled.swal2-confirm.btn.btn-info {
	color: #fff;
	background-color: #673AB7;
	border-color: #673AB7;
	box-shadow: 0 2px 2px 0 rgb(128 76 175 / 14%), 0 3px 1px -2px rgb(128 76 175 / 20%), 0 1px 5px 0 rgb(119 76 175 / 12%);
}

/* Mobile */
@media (max-width: 600px){
	body {font-size: 0.8em}
	.header {padding: 15px 20px 5px 20px; box-shadow: 1px 1px 6px #efdfff}
	.header .logo {height: 50px}
	body[data-resv="inactive"] .header .logo {height: 25px;}
	.header-center {flex: 1;}
	
	.menu .menu-item {padding: 8px 8px 5px 8px;}
	.content {padding: 0px;gap: 0px;}
	#bookTable, #userTable, #resvTable {
		border: none;
	}
	.client-mobile {display: inherit!important;}
	.input-group.client-mobile {display: flex!important;}
	.client-pc {display: none;}
	
	.book-col {font-size: 0.8rem;}
	.book-col-name {flex: 1;}
	.book-title {font-size: 0.9rem;}
	.search-container {display: flex}
	.alert-container {
		border-radius: 0px;
		border: none;
		background: #f9f6ff;
	}
	.alert-container .alert-title {
		font-size: 0.7rem;
	}
	/* Bootstrap */
	.form-control {
		font-size: 0.9rem;
		padding: .375rem;
	}
	.tabulator {
		font-size: 0.8rem;
	}
	.modal-header, .modal-body {padding: 0.6rem 0.7rem;}
	.modal-footer {padding: 0}
	.modal-footer button[role="action"] {
	    flex: 1;
	    margin: 0;
	    border-radius: 0px!important;
	    padding: 0.75rem;
	}
	.input-group .btn {
		padding: 0.35rem 0.5rem;
	}
	/* Tabulator Cell */
	.tabulator .tabulator-row.tabulator-selectable .tabulator-cell[role="gridcell"][tabulator-field="image_url"] img {
		margin: 2px;
	}
	
	/*Tabulator*/
	.tabulator-row .tabulator-cell {
		padding: 0.2em;
	}
	.tabulator .tabulator-header .tabulator-col .tabulator-col-content {
		padding: 0.5em;
	}
	.table th, .table td {font-size: 0.8em}
	
	.tabulator .tabulator-footer .tabulator-page {
		padding: 5px 7px !important;
		margin: 2px !important;
	}
	.tabulator .tabulator-footer .tabulator-pages {
		margin: 0px;
	}
}

/* iPads, Tablets */
@media (min-width: 600px) and (max-width: 768px){
	.form-control {
		padding: .35rem .4rem;
		font-size: .9rem;
	}
}
@media (max-width: 991px){
}