/*
version: 1.3.1

prime(blck)  : #343a40
second(gray) : #f4f5f7
valid(green) : #2196f3
invalid(red) : #d50000
link(blue)   : #2196f3
dimed(gray)  : #cfcfcf
*/
@charset "UTF-8";

/* Font */
/*@import url(https://spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css);*/

h1, h2, h3, h4, h5, h6, p, a, span, label,
input, button, select, option, textarea {
	color: #343a40;
	font-family: "Spoqa Han Sans", sans-serif;	
}
p, a, span, label, input, button, select, option, textarea {
	font-size: 14px;
}

/* Common */
a {
	text-decoration: none;
}
:disabled, :disabled:hover,
.disabled, .disabled:hover {
	cursor: not-allowed !important;
	opacity: .6;
}
::placeholder {
	color: #cfcfcf;
	opacity: 1;
}

:-ms-input-placeholder {
	color: #cfcfcf;
}

::-ms-input-placeholder {
	color: #cfcfcf;
}
.tbox[readonly]::placeholder,
.nbox[readonly]::placeholder,
.ldbox[readonly]::placeholder,
.ldtbox[readonly]::placeholder,
.ltbox[readonly]::placeholder {
	color: transparent;
	opacity: 1;
}

.tbox[readonly]:-ms-input-placeholder,
.nbox[readonly]:-ms-input-placeholder,
.ldbox[readonly]:-ms-input-placeholder,
.ldtbox[readonly]:-ms-input-placeholder,
.ltbox[readonly]:-ms-input-placeholder {
	color: transparent;
}

.tbox[readonly]::-ms-input-placeholder,
.nbox[readonly]::-ms-input-placeholder,
.ldbox[readonly]::-ms-input-placeholder,
.ldtbox[readonly]::-ms-input-placeholder,
.ltbox[readonly]::-ms-input-placeholder  {
	color: transparent;
}

/* Layout - Flex */
html, body, #wrap {
	width: 100%;
	height: 100%;
}
#wrap {
	display: flex;
	flex-direction: column;
}
#gnb {
	flex-basis: 70px;
}
#container {
	flex: 1;
	display: flex;
}
#lnb {
	flex-basis: 240px;
	position: relative;
}
#main {
	flex: 1;
	position: relative;
}
.scrollable {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	overflow: auto;	
}

/* GNB */
#gnb {
	background: #343a40;
}
#gnb-content {
	position: relative;
	padding: 15px 20px 15px 15px;
}
#gnb-content::after {
	content: "";
	display: block;
	clear: both;
}
#gnb-title-holder {
	float: left;
	margin: 0;
}
#gnb-title {
	height: 40px;
	color: #fff;
	font-size: 30px;
	line-height: 40px;
}
#gnb-menus {
	float: right;
	margin: 0;
	list-style: none;
}
#gnb-menus::after {
	content: "";
	display: block;
	clear: both;
}
.gnb-menu-holder {
	float: left;
}
.gnb-menu-holder {
	padding: 5px 0 5px 20px;
}
.gnb-menu {
	display: block;
	height: 30px;	
	line-height: 30px;	
}
a.gnb-menu {
	color: #fff;
}

.gnb-custom-buttons {
	list-style: none;
	display: inline-block;
	padding: 0;
	margin: 5px 0 0 50px;
}

.gnb-custom-buttons li {
	display: inline-block;
}

#btn-logout {	
	padding: 0 12px;
	border: 0;
}

/* LNB */
#lnb {
	background: #f4f5f7;
}
#lnb-panels {
	padding: 0 0 70px 20px;
	margin: 0;
	list-style: none;
}
.lnb-panel {
	padding: 25px 0 0;
}
.lnb-panel-title {
	padding: 0 0 8px;
	margin: 0;
}
.lnb-panel-menu-holder {
	padding: 0 20px 0 0;
}
.lnb-panel-menu {
	display: block;
	height: 34px;
	padding: 0 12px;
	border-radius: 4px;
	font-size: 16px;		
	line-height: 34px;	
}
.lnb-panel-menu:hover {	
	background: #343a40;
	color: #fff;
}
.lnb-panel-menus {
	padding: 0;
	list-style: none;
}

/* App */
#app {
/* 	padding: 20px 0 70px 30px; */
	padding: 20px 0 0 30px;
}
#app-head {
	position: relative;
	padding: 0 20px 20px 0;
}
#app-head::after {
	content: "";
	display: block;
	clear: both;
}
#app-title {
	float: left;
	height: 28px;
	margin: 0;
	font-size: 26px;
	line-height: 28px;
}
#app-head-menus {
	float: right;
}

/* Section */
#app-body {
	display: flex;
	flex-wrap: wrap;	
	padding: 0 10px 70px 0;
}
.app-section {
	position: relative;
	box-sizing: border-box;
	padding-bottom: 63px;
	border: 1px solid #343a40;
	border-radius: 4px;	
	margin: 0 10px 10px 0;
}
#app-body .app-section {
	flex: 1;	
}
#app-body .app-section-full-width {
	flex-basis: 100%;
}
.app-section-tailless {
	padding-bottom: 0;
}
.app-section-head {
	background: #343a40;
}
.app-section-title {
	padding: 8px 10px;
	margin: 0;
	color: #fff;
	font-weight: normal;	
}
.app-section-body {
	padding: 10px 0 0 10px;
}
.app-section-guide {
	padding: 9px 0 9px 18px;
	margin: 0;
	background: url(/resources/img/jquery.cup/guide.png) no-repeat 0 11px;
	color: #343a40;
	font-size: 12px;
	line-height: 140%;
}
.app-section-guide:first-child {
	padding-top: 0;
	background-position: 0 1px;
}
.app-section-tail {
	position: absolute;	
	bottom: 0;
	left: 0;
	right: 0;
	padding-top: 10px;
	border-top: 1px solid #b7b7b7;
	margin: 0 10px 10px;
	text-align: right;
}
.app-section-tail .btn {
	min-width: 100px;
}

/* Toast */
.toast-holder {
	display: none;
	position: fixed;
	top: 45%;
	left: 50%;
	min-width: 300px;
	max-width: 400px;
	padding: 10px 30px;
	border-radius: 8px;
	transform: translate(-45%, -50%);	
	background: rgba(33, 150, 243, .85);
	box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.2), 5px 6px 20px 5px rgba(0, 0, 0, 0.19);
	z-index: 100;
}
.toast-message {
	color: #fff;
}
.toast-holder.toast-alert {
	background-color: rgb(213, 0, 0, .85);	
}

/* Lock */
.lock-holder {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(255, 255, 255, .7);
	z-index: 99;
}
.lock-image-holder {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 200px;
	height: 140px;
	padding: 10px 0 0;
	border-radius: 20px;
	margin: -110px 0 0 -100px;;	
	background: rgba(255, 255, 255, .3);
	text-align: center;
}
.lock-image {
	display: inline-block;
}
.lock-caption {
	margin: 0;
	font-size: 24px;
}

/* Dialog */
.dialog-holder {
	display: none;
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: rgba(0, 0, 0, .65);	
	overflow: auto;
}
.dialog {
	position: absolute;
	left: 50%;
	min-width: 450px;
	border-radius: 4px;
	margin: 120px 0;
	background: #fff;
	transform: translate(-50%, 0); 	
}
.dialog-head {
	padding: 20px;
}
.dialog-title {
	font-size: 22px;
	margin: 0;
}
.dialog-head .dialog-close {
	position: absolute;
	top: 18px;
	right: 20px;
	width: 30px;
	min-width: 0;
	height: 30px;
	padding: 0;
	border: 0;
	background: url(/resources/img/jquery.cup/close.png) no-repeat center center;
	overflow: hidden;
	text-indent: 200%;
	white-space: nowrap;
	cursor: pointer;
}
.dialog-body {
	padding: 0 10px 0 20px;
}
.dialog-tail {
	padding: 10px 20px 20px 20px;
	text-align: right;
}
.dialog-tail .btn {
	min-width: 100px;
}

/* Tab */
.tab-container {
	padding: 0 10px 10px 0;
}
.tabs {
	display: flex;
	flex-wrap: wrap;
	border: 1px solid #636363;
	background: #f0f0f0;
}
.tab-radio {
	position: absolute;
	opacity: 0;
}
.tab-label {
	box-sizing: border-box;
	width: auto;
	height: 48px;
	padding: 15px 40px;
	background: #e5e5e5;
	cursor: pointer;
	color: #7f7f7f;
	line-height: 16px;
}
.tab-label:hover {
	background: #d8d8d8;
}
.tab-label:active {
	background: #ccc;
}
.tab-radio:checked+.tab-label {
	background: #fff;
	cursor: default;
}
.tab-label.tab-label--invalid {
	color: #d50000;
}
.tab-label.tab-label--invalid::before {
	content: "";
	display: inline-block;
	vertical-align: top;
	width: 17px;
	height: 18px;
	background: url(/resources/img/jquery.cup/invalid.png) no-repeat 0 center;
}
.tab-body {
	display: none;
	order: 99;
	width: 100%;
	background: #fff;
}
.tab-radio:checked + .tab-label + .tab-body {
	display: block;
}

/* Field */
.field {
	position: relative;
	padding: 0 10px 10px 0;
}
.field:first-child {
	margin-top: 12px;
}
.app-section-tailless .field:last-child {
	margin-bottom: 12px;
}
.field-head {
	position: absolute;
	top: 0;
	left: 0;
	width: 145px;
}
.field-body {
	box-sizing: border-box;
	min-height: 30px;
	padding: 0 50px 0 145px;
}
.field-label {
	display: inline-block;
	box-sizing: border-box;
	height: 30px;
	width: 100%;
	padding-right: 12px;
	color: #343a40;
	font-size: 12px;
	line-height: 30px;
	text-align: right;
}
.field-guide {
	padding: 9px 0 9px 18px;
	margin: 0;
	background: url(/resources/img/jquery.cup/guide.png) no-repeat 0 11px;
	color: #343a40;
	font-size: 12px;
	line-height: 140%;
}

/* link */
.link {
	color: #2196f3;
}
.link:hover {
	text-decoration: underline;
}

/* btn */
.btn {
	box-sizing: border-box;
	height: 30px;
	padding: 0 12px;
	border: 1px solid #343a40;
	border-radius: 4px;
	background: #fff;
	line-height: 28px;
}
.btn-mini {
	box-sizing: border-box;
	height: 20px;
	padding: 0 4px;
	border: 1px solid #343a40;
	border-radius: 4px;
	background: #fff;
	line-height: 20px;
	font-size: 11px;
}
a.btn {
	display: inline-block;
}
.btn:hover {
	cursor: pointer;
}
.btn:disabled {
	opacity: .25;
}
.btn.btn-primary {
	border-color: #343a40;
	color: #fff;	
	background: #343a40;
}
.btn-icon {
	vertical-align: top;
	width: 30px;
	min-width: auto;
	padding: 0;
	background: no-repeat center center;
	overflow: hidden;
	text-indent: 200%;
	white-space: nowrap;
}
.btn-iconized {
	min-width: 0;
	padding: 0 8px 0 26px;
	background: no-repeat 6px center;
}
.btn-icon-cmd {
	background-image: url(/resources/img/jquery.cup/cmd.png);
}
.btn-icon-add {
	background-image: url(/resources/img/jquery.cup/add.png);
}
.btn-icon-delete {
	background-image: url(/resources/img/jquery.cup/delete.png);
}
.btn-icon-limit {
	background-image: url(/resources/img/jquery.cup/limit.png);
}
.btn-icon-edit {
	background-image: url(/resources/img/jquery.cup/edit.png);
}
.btn-icon-up {
	background-image: url(/resources/img/jquery.cup/up.png);
}
.btn-icon-down {
	background-image: url(/resources/img/jquery.cup/down.png);
}
.btn-icon-upload {
	background-image: url(/resources/img/jquery.cup/upload.png);
}
.btn-icon-download {
	background-image: url(/resources/img/jquery.cup/download.png);
}
.btn-icon-enlarge {
	background-image: url(/resources/img/jquery.cup/enlarge.png);
}
.btn-icon-move {
	background-image: url(/resources/img/jquery.cup/move.png);
}
.btn-icon-copy {
	background-image: url(/resources/img/jquery.cup/copy.png);
}
.btn-icon-link-copy {
	background-image: url(/resources/img/jquery.cup/link-copy.png);
}

/* cbox/rbox */
.cbox-holder,
.rbox-holder {
	display: inline-block;
	white-space: nowrap;
}
.cbox, .rbox {
	display: inline-block;
	padding-right: 16px;
}
.cbox:last-child,
.rbox:last-child {
	padding-right: 0;
}
.cbox-input, .rbox-input {
	height: 13px;
	margin: 9px 0 8px;
}
.cbox-label, .rbox-label {
	height: 30px;
	line-height: 30px;
}
.cbox-input:disabled,
.rbox-input:disabled {
	opacity: 1;
}
.cbox-input:disabled+.cbox-label,
.rbox-input:disabled+.rbox-label {
	opacity: .45;
	cursor: not-allowed;
}

/* sbox */
.sbox, .tbox, .nbox, .ldbox, .ldtbox, .ltbox, .dtzbox {
	box-sizing: border-box;
	max-width: 1280px;
	height: 30px;
	padding: 0 12px;
	border: 1px solid #343a40;
	border-radius: 4px;
	line-height: 28px;
}
.sbox {
	padding-right: 33px;
	background: url(/resources/img/jquery.cup/drop-down.png) no-repeat right center;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}
.sbox::-ms-expand {
	display: none;
}
.sbox:disabled {
	opacity: .75;
}
.sbox option:disabled {
	color: #ddd;
}

/* tbox and siblings */
a.tbox {
	color: #2196f3;
}
a.tbox, span.tbox {
	display: inline-block;
	box-sizing: border-box;
	border-color: transparent !important;
}
.tbox[readonly], .nbox[readonly], .ebox[readonly],
.ldbox[readonly], .ldtbox[readonly], .ltbox[readonly], .dtzbox[readonly],
a.tbox, span.tbox {
	border-color: transparent !important;
	border-left: 0;
	padding-left: 0;
	padding-right: 25px;
	background: #fff;
	outline: 0;
}
a.tbox:hover {
	text-decoration: underline;
}
.tbox[readonly]::placeholder,
.nbox[readonly]::placeholder,
.ldbox[readonly]::placeholder,
.ldtbox[readonly]::placeholder,
.ltbox[readonly]::placeholder,
.dtzbox[readonly]::placeholder {
	color: transparent;
	opacity: 1;
}

.tbox[readonly]:-ms-input-placeholder,
.nbox[readonly]:-ms-input-placeholder,
.ldbox[readonly]:-ms-input-placeholder,
.ldtbox[readonly]:-ms-input-placeholder,
.ltbox[readonly]:-ms-input-placeholder,
.dtzbox[readonly]:-ms-input-placeholder {
	color: transparent;
}

.tbox[readonly]::-ms-input-placeholder,
.nbox[readonly]::-ms-input-placeholder,
.ldtbox[readonly]::-ms-input-placeholder,
.ltbox[readonly]::-ms-input-placeholder,
.dtzbox[readonly]::-ms-input-placeholder {
	color: transparent;
}
.dtzbox {
	width: 230px;
}
.ebox {
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	padding: 10px;
	border: 1px solid #343a40;
	border-radius: 4px;
	line-height: 150%;
	resize: none;
}

/* Valication */
.__invalid__ {
	border-color: #d50000;
}
.vbox {
	height: 12px;
	padding: 9px 0 9px 17px;
	margin: 0;
	font-size: 12px;
	line-height: 12px;
	background: no-repeat 0 8px;
}
.field-guide + .field-guide,
.field-guide + .vbox,
.vbox + .field-guide,
.vbox + .vbox {
	padding-top: 0;
	background-position: 0 0;
}
.vbox-valid {
	background-image: url(/resources/img/jquery.cup/valid.png);
	color: #2196f3;
}
.vbox-invalid {
	background-image: url(/resources/img/jquery.cup/invalid.png);
	color: #d50000;
}

/* qbox */
.qbox-filters {
	padding: 0;
	margin: 0;
	list-style: none;
}
.qbox-filters::after {
	content: "";
	display: block;
	clear: both;
}
.qbox-filter {
	float: left;
	margin: 0 10px 10px 0;
}
.qbox-filter-label {
	display: block;
	padding-bottom: 5px;
	color: #343a40;
	font-size: 12px;
	line-height: 12px;
}
.qbox-filter-field .tbox,
.qbox-filter-field .nbox {
	width: 140px;
}
.qbox-filter-field .sbox {
	min-width: 100px;
}
.qbox-buttons {
	padding-top: 10px;
	border-top: 1px solid #b7b7b7;
	margin: 0 10px 10px 0;
	text-align: right;
}
.qbox-buttons .btn {
	min-width: 100px;
}
.qbox-buttons [type=submit] {
	width: 160px; 
}

/* gbox */
.gbox {
	padding: 0 10px 10px 0;
}
.qbox + .gbox {
	padding-top: 20px;
}
.gbox-table {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
}
.gbox-head-cell {
	padding: 10px;
	border: 1px solid #343a40;
	background: #f4f5f7;
	font-size: 13px;
}
.gbox-body-cell {
	padding: 10px;
	border: 1px solid #343a40;
	font-size: 13px;
}
.gbox-body-cell-fit-content {
	width: 1%;
	white-space: nowrap;
}
.gbox-body-cell-buttons {
	width: 1%;
	padding: 5px 10px;
	white-space: nowrap;	
}
.gbox-body-cell-empty {
	padding: 160px 0 70px;
    background: url(/resources/img/jquery.cup/empty.png) no-repeat center 90px;
    color: #cfcfcf;
    text-align: center;
}

/* page */
.page-count {
	font-size: 12px;
	margin: 5px 0 10px;
}
.page-count.page-count-empty {
	color: #cfcfcf;
}
.page-tail {
	height: 20px;
	padding: 10px 10px 20px 0;
	text-align: center;
}
.page-nav {
	display: inline-block;
}
.page-nav-siblings {
	padding: 0;
	margin: 0;
	list-style: none;	
}
.page-nav-sibling {
	display: inline-block;
}
.page-nav-index {
	display: block;
	height: 20px;
	padding: 0 2px;
	margin: 0 2px;
	line-height: 20px;
	font-size: 12px;
}
span.page-nav-index {
	font-weight: bold;
}
a.page-nav-index:hover {
	color: #2196f3;
	font-weight: bold;
}

.btn-th-sort {
	background: url(/resources/img/jquery.cup/delete.png) no-repeat center center;
	border: 0;
	width: 16px;
	height: 16px;
	padding: 0;
	position: absolute;
	opacity: 0.2;
}
.btn-th-sort.asc {
	background-image: url(/resources/img/jquery.cup/up.png);
	opacity: 0.5;
}
.btn-th-sort.desc {
	background-image: url(/resources/img/jquery.cup/down.png);
	opacity: 0.5;
}
