@charset "utf-8";
@import url("basic.css");

#ajax-loading {position:absolute;left:0;top:0;z-index:81000;width:128px;height:128px;background:url(../img/ajaxloader.gif) no-repeat 0 0;display:none;}
#ajax-loading.wkr-ajax-progress-loading {position:fixed;inset:0;width:100%;height:100%;padding:16px;background:rgba(24,32,46,.42);display:flex !important;align-items:center;justify-content:center;}
#ajax-loading.wkr-ajax-progress-loading .wkr-ajax-progress {width:100%;max-width:360px;padding:22px 24px;background:#fff;border-radius:8px;box-shadow:0 12px 32px rgba(0,0,0,.25);color:#212529;text-align:center;}
#ajax-loading.wkr-ajax-progress-loading .wkr-ajax-progress-title {display:block;margin-bottom:14px;font-size:16px;font-weight:600;}
#ajax-loading.wkr-ajax-progress-loading .wkr-ajax-progress-bar {height:8px;overflow:hidden;background:#e9ecef;border-radius:999px;}
#ajax-loading.wkr-ajax-progress-loading .wkr-ajax-progress-bar span {display:block;width:42%;height:100%;background:#0d6efd;border-radius:inherit;animation:wkr-ajax-progress 1.1s ease-in-out infinite;}
@keyframes wkr-ajax-progress {0% {transform:translateX(-130%);} 100% {transform:translateX(310%);}}
#loading {position:absolute;width:270px;height:230px;z-index:13000;left:0;top:0;background:url(../img/loading_img.gif) no-repeat 0 0;display:none;}

.ui-datepicker {z-index:99;}

/* scroll to top */
.scrollup {display:none;overflow:hidden;position:fixed;right:16px;bottom:64px;z-index:1000;width:48px;height:48px;background-color:#333;font-size:24px;line-height:48px;color:#fff;text-align:center;opacity:0.6;filter:alpha(opacity=80)}

@media (max-width: 575.98px) {
  .scrollup {right:12px;bottom:76px;width:44px;height:44px;line-height:44px;font-size:21px;}
}

/* Keep the customer list visible when the viewport is below the desktop width. */
@media screen and (max-width: 979.98px) {
  .main-sidebar,
  .main-sidebar::before {
    margin-left: -250px;
  }

  .sidebar-open .main-sidebar,
  .sidebar-open .main-sidebar::before {
    margin-left: 0;
  }
}

a.scrollup {
  outline: 0;
}

/* Searchable select (Chosen) */
select[style*="display: none"] {
	display: none !important;
}

select.no-chosen {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background-color: #fff;
	background-image: linear-gradient(45deg, transparent 50%, #667085 50%), linear-gradient(135deg, #667085 50%, transparent 50%);
	background-position: calc(100% - 17px) 15px, calc(100% - 12px) 15px;
	background-repeat: no-repeat;
	background-size: 5px 5px, 5px 5px;
	border: 1px solid #d8dee8;
	border-radius: 9px !important;
	box-sizing: border-box;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	color: #344054;
	cursor: pointer;
	height: 38px;
	line-height: 38px;
	padding: 0 34px 0 13px;
	transition: border-color .18s ease, box-shadow .18s ease;
}

select.no-chosen:focus {
	border-color: #3478f6;
	box-shadow: 0 0 0 3px rgba(52, 120, 246, .14);
	outline: 0;
}

.chosen-container {
	color: #344054;
	font-size: 14px;
	line-height: 1.5;
	max-width: 100%;
	min-width: 120px;
	text-align: left;
	vertical-align: middle;
	margin-right: 5px;
}

.chosen-container-single .chosen-single {
	align-items: center;
	background: #fff;
	border: 1px solid #d8dee8;
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	color: #344054;
	display: flex;
	height: 38px;
	line-height: 38px;
	padding: 0 42px 0 13px;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.chosen-container-single .chosen-single span {
	margin-right: 0;
}

/* 코드점 선택상자는 두 화면에서 동일하게 250px을 확보합니다. */
#cp_precedence + .chosen-container {
	max-width: 100%;
	width: 250px !important;
}

.chosen-container-single .chosen-single div {
	align-items: center;
	display: flex;
	justify-content: center;
	width: 38px;
}

.chosen-container-single .chosen-single div b {
	background: none !important;
	border-bottom: 2px solid #667085;
	border-right: 2px solid #667085;
	height: 8px;
	margin-top: -4px;
	transform: rotate(45deg);
	transition: transform .18s ease;
	width: 8px;
}

.chosen-container-active .chosen-single {
	border-color: #3478f6;
	box-shadow: 0 0 0 3px rgba(52, 120, 246, .14);
}

.chosen-container-active.chosen-with-drop .chosen-single div b {
	margin-top: 4px;
	transform: rotate(225deg);
}

.chosen-container .chosen-drop {
	background: #fff;
	border: 1px solid #d8dee8;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .15);
	margin-top: 5px;
	overflow: hidden;
}

.chosen-container-single .chosen-search {
	padding: 9px;
	position: relative;
}

.chosen-container-single .chosen-search::before {
	color: #98a2b3;
	content: "\f002";
	font-family: "Font Awesome 5 Free";
	font-size: 13px;
	font-weight: 900;
	left: 22px;
	pointer-events: none;
	position: absolute;
	top: 20px;
	z-index: 1;
}

.chosen-container-single .chosen-search input[type="text"] {
	background: #f8fafc !important;
	border: 1px solid #d8dee8;
	border-radius: 8px;
	color: #344054;
	font-family: inherit;
	font-size: 14px;
	height: 38px;
	line-height: 38px;
	outline: 0;
	padding: 0 10px 0 34px;
}

.chosen-container-single .chosen-search input[type="text"]:focus {
	background: #fff !important;
	border-color: #3478f6;
	box-shadow: 0 0 0 3px rgba(52, 120, 246, .12);
}

.chosen-container .chosen-results {
	color: #344054;
	margin: 0;
	max-height: 260px;
	padding: 3px 7px 8px;
}

.chosen-container .chosen-results li {
	border-radius: 7px;
	line-height: 1.45;
	margin: 2px 0;
	padding: 9px 11px;
}

.chosen-container .chosen-results li.highlighted {
	background: #edf4ff;
	color: #245edb;
}

.chosen-container .chosen-results li.result-selected {
	background: #f4f7fb;
	color: #667085;
	font-weight: 700;
}

.chosen-container .chosen-results li.no-results {
	background: #fff4f3;
	color: #b42318;
}

.wkr-progress-tooltip-popup {
	--bs-tooltip-bg: #050505;
	--bs-tooltip-color: #fff;
	--bs-tooltip-opacity: 1;
	--bs-tooltip-max-width: 360px;
}

.wkr-progress-tooltip-popup .tooltip-inner {
	background-color: #050505 !important;
	border: 1px solid #050505;
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(16, 24, 40, .15);
	color: #fff !important;
	max-width: 360px;
	padding: 10px 12px;
	text-align: left;
}

.bs-tooltip-top.wkr-progress-tooltip-popup .tooltip-arrow::before {
	border-top-color: #050505 !important;
}

td[data-bs-custom-class="wkr-progress-tooltip-popup"] {
	cursor: pointer;
}

/* 대리점 등록·수정 화면의 소속 선택상자 */
.precedence-select .chosen-container {
	max-width: 100%;
	width: 350px !important;
}

.member-address-sido .chosen-container {
	width: 180px !important;
}

.member-address-sigugun .chosen-container {
	width: 250px !important;
}

@media screen and (max-width: 575px) {
	.precedence-select .chosen-container {
		width: 100% !important;
	}


	.member-address-sido .chosen-container,
	.member-address-sigugun .chosen-container {
		width: 100% !important;
	}
}

.chosen-container.chosen-container-multi .chosen-choices {
	background: #fff;
	border: 1px solid #d8dee8;
	border-radius: 9px;
	box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
	min-height: 38px;
	padding: 3px 6px;
}

.chosen-container-multi .chosen-choices li.search-choice {
	background: #edf4ff;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	color: #245edb;
	margin: 3px;
	padding: 6px 26px 6px 9px;
}

.chosen-disabled {
	opacity: .62 !important;
}

@media (max-width: 575.98px) {
	.chosen-container {
		min-width: 0;
		width: 100% !important;
	}

	#cp_precedence + .chosen-container {
		width: 100% !important;
	}
}

a.scrollup:hover, a.scrollup:active, a.scrollup:focus {background-color:#e46e9e;color:#fff;text-decoration:none;opacity:1;filter:alpha(opacity=100)}

a.scrollup i:hover {
  text-decoration: none;
}

.required, textarea.required {background-image:url('../img/require.png') !important;background-repeat:no-repeat !important;background-position:right top !important}

#no_v_img a.view_image {display:block}
#no_v_img img {margin-bottom:20px;max-width:100%;height:auto}


/* 팝업레이어 */
#hd_pop {z-index:1500;position:relative;margin:0 auto;height:0}
#hd_pop h2 {position:absolute;font-size:0;line-height:0;overflow:hidden;}
.hd_pops {position:absolute;background:#fff}
.hd_pops img {max-width:100%}
.hd_pops_con { color:#222;padding:20px; }
.hd_pops_footer {padding:0;background:#000;color:#fff;text-align:left;position:relative}
.hd_pops_footer:after {display:block;visibility:hidden;clear:both;content:""}
.hd_pops_footer button {padding:10px;border:0;color:#fff}
.hd_pops_footer .hd_pops_reject {background:#000;text-align:left}
.hd_pops_footer .hd_pops_close {background:#393939;position:absolute;top:0;right:0}
.sound_only {display:none;}

.form-check-label {font-weight:700;}

/* 공통 iframe 모달 팝업 */
.wkr-content-modal {
	overflow: hidden !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	z-index: 1055;
}

.wkr-content-modal .modal-dialog {
	margin: 16px auto;
	max-height: calc(100vh - 32px);
	transition: max-width .2s ease;
}

.wkr-content-modal .modal-content {
	border: 0;
	border-radius: 18px;
	box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
	max-height: calc(100vh - 32px);
	overflow: hidden;
}

.wkr-content-modal .modal-header {
	align-items: center;
	background: linear-gradient(135deg, #293248, #303b56);
	border: 0;
	color: #fff;
	cursor: grab;
	min-height: 58px;
	padding: 15px 20px;
	user-select: none;
}

.wkr-content-modal .modal-header:active {
	cursor: grabbing;
}

.wkr-content-modal .modal-title {
	font-size: 18px;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wkr-content-modal .btn-close {
	filter: invert(1) grayscale(100%) brightness(200%);
	opacity: .9;
}

.wkr-content-modal .modal-body {
	background: #fff;
	height: calc(100% - 58px);
	overflow: hidden;
	padding: 0;
	position: relative;
}

.wkr-content-modal iframe {
	background: #fff;
	border: 0;
	display: block;
	height: 100%;
	overflow-x: hidden;
	overflow-y: auto;
	width: 100%;
}

.wkr-content-modal.wkr-frame-scroll-locked iframe {
	overflow-y: hidden !important;
}

html.wkr-modal-page,
body.wkr-modal-page {
	max-width: 100%;
	overflow-x: hidden !important;
	width: 100%;
}

html.wkr-modal-page.wkr-chosen-dropdown-open,
body.wkr-modal-page.wkr-chosen-dropdown-open {
	overflow-y: hidden !important;
}

body.wkr-modal-page .wrapper,
body.wkr-modal-page .content-wrapper,
body.wkr-modal-page .content,
body.wkr-modal-page .card,
body.wkr-modal-page .card-body,
body.wkr-modal-page form {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
}

body.wkr-modal-page .table-responsive {
	max-width: 100%;
	overflow-x: hidden !important;
}

body.wkr-modal-page .wkr-popup-list-toolbar {
	align-items: center;
	background: #f8fafc;
	border-bottom: 1px solid #e7ebf1;
	display: flex;
	justify-content: space-between;
	padding: 10px 14px;
}

body.wkr-modal-page .wkr-popup-paging {
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 10px 8px;
}

body.wkr-modal-page .wkr-popup-paging:empty {
	display: none;
}

body.wkr-modal-page .wkr-popup-paging .pagination {
	flex-wrap: wrap;
	gap: 3px;
	justify-content: center;
	margin: 0;
}

body.wkr-modal-page .wkr-popup-paging .page-link {
	border-radius: 6px;
	font-size: 13px;
	min-width: 32px;
	text-align: center;
}

body.wkr-modal-page table.table {
	min-width: 0 !important;
	table-layout: fixed;
	white-space: normal !important;
	width: 100% !important;
}

body.wkr-modal-page table.table th,
body.wkr-modal-page table.table td,
body.wkr-modal-page table.text-nowrap th,
body.wkr-modal-page table.text-nowrap td {
	overflow-wrap: anywhere;
	white-space: normal !important;
	word-break: break-word;
}

body.wkr-modal-page input,
body.wkr-modal-page select,
body.wkr-modal-page textarea,
body.wkr-modal-page .chosen-container {
	box-sizing: border-box;
	max-width: 100% !important;
}

body.wkr-modal-page select.wkr-chosen-page-scroll + .chosen-container .chosen-results {
	max-height: none;
	overflow-y: visible;
}

/* 배정 선택상자는 Chosen 검색·스크롤을 유지한 채 결과를 위로 연다. */
body.wkr-modal-page select.chosen-open-up + .chosen-container .chosen-drop {
	bottom: 100%;
	margin-bottom: 5px;
	margin-top: 0;
	top: auto;
}

/* Keep the code-point bulk assignment Chosen list above popup content. */
body.wkr-modal-page #cp_precedence + .chosen-container {
	position: relative;
	z-index: 1000;
}

body.wkr-modal-page #cp_precedence + .chosen-container.chosen-with-drop {
	z-index: 1051;
}

body.wkr-modal-page #cp_precedence + .chosen-container .chosen-drop {
	z-index: 1051;
}


body.wkr-modal-page .row {
	margin-left: 0;
	margin-right: 0;
	max-width: 100%;
}

.wkr-modal-loading {
	align-items: center;
	background: #fff;
	color: #667085;
	display: flex;
	flex-direction: column;
	gap: 12px;
	inset: 0;
	justify-content: center;
	position: absolute;
	z-index: 2;
}

.wkr-modal-spinner {
	align-items: center;
	background: #edf3ff;
	border-radius: 50%;
	color: #3478f6;
	display: inline-flex;
	font-size: 22px;
	height: 52px;
	justify-content: center;
	width: 52px;
}

@media screen and (max-width:600px){
	.wkr-content-modal {
		padding: 0 !important;
	}

	.wkr-content-modal .modal-dialog {
		height: calc(100% - 16px);
		margin: 8px;
		max-width: none !important;
		width: calc(100% - 16px) !important;
	}

	.wkr-content-modal .modal-content {
		border-radius: 14px;
		height: 100% !important;
	}

	.wkr-content-modal .modal-header {
		cursor: default;
		min-height: 52px;
		padding: 12px 15px;
	}

	.wkr-content-modal .modal-title {
		font-size: 16px;
	}
}

/* 공통 알림/확인 모달 */
.wkr-dialog .modal-content {
	border: 0;
	border-radius: 20px;
	box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
	overflow: hidden;
}

.wkr-dialog .modal-header {
	align-items: center;
	background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
	border-bottom: 1px solid #eef2f7;
	padding: 22px 24px 16px;
}

.wkr-dialog .modal-title {
	font-size: 19px;
	font-weight: 700;
	width: 100%;
}

.wkr-dialog-title {
	align-items: center;
	color: #172033;
	display: flex;
	gap: 12px;
}

.wkr-dialog-icon {
	align-items: center;
	border-radius: 12px;
	display: inline-flex;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.wkr-dialog-icon-info {
	background: #e8f1ff;
	color: #2563eb;
}

.wkr-dialog-icon-warning {
	background: #fff0ed;
	color: #e5484d;
}

.wkr-dialog-icon-success {
	background: #e8f8ef;
	color: #16a36a;
}

.wkr-dialog-icon-error {
	background: #fff0ed;
	color: #e5484d;
}

.wkr-dialog .modal-body {
	padding: 24px;
}

.wkr-dialog-message {
	color: #4b5565;
	font-size: 16px;
	line-height: 1.75;
	white-space: normal;
}

.wkr-dialog .modal-footer {
	background: #fbfcfe;
	border-top: 1px solid #eef2f7;
	gap: 8px;
	padding: 14px 20px 18px;
}

.wkr-dialog .modal-footer .btn {
	border: 0;
	border-radius: 10px;
	font-weight: 700;
	min-width: 92px;
	padding: 10px 18px;
}

.wkr-dialog .wkr-dialog-confirm.btn-primary {
	background: linear-gradient(135deg, #3478f6, #245edb);
	box-shadow: 0 8px 18px rgba(37, 94, 219, .22);
}

.wkr-dialog .wkr-dialog-confirm.btn-danger {
	background: linear-gradient(135deg, #f05252, #d9363e);
	box-shadow: 0 8px 18px rgba(217, 54, 62, .2);
}

.wkr-dialog .wkr-dialog-confirm.btn-success {
	background: linear-gradient(135deg, #26b47e, #159764);
	box-shadow: 0 8px 18px rgba(21, 151, 100, .2);
}

.wkr-dialog .wkr-dialog-cancel {
	background: #eef1f5;
	color: #4b5565;
}

.wkr-result-detail {
	background: #f5f7fa;
	border-radius: 10px;
	color: #667085;
	font-size: 14px;
	line-height: 1.6;
	margin-top: 16px;
	padding: 12px 14px;
}

/* Codepoint-management accordion submenus */
.main-sidebar .nav-sidebar .nav-treeview .nav-link.company-submenu-link {
	color: #fff;
	padding-left: 2rem;
}

.main-sidebar .nav-sidebar .nav-treeview .nav-link.company-submenu-link.active {
	background-color: #256dbb;
	color: #fff;
}

.main-sidebar .nav-sidebar .nav-treeview .nav-link.company-submenu-link .nav-icon,
.main-sidebar .nav-sidebar .nav-treeview .nav-link.company-submenu-link p {
	color: inherit;
}

@media (max-width: 575.98px) {
	.wkr-dialog .modal-dialog {
		margin: 16px;
	}

	.wkr-dialog .modal-footer .btn {
		flex: 1;
	}
}
