@charset "utf-8";


.ctc-atch {
	max-width: 100%;
	text-align: left;
}

.ctc-atch select,
.ctc-atch input,
.ctc-atch button,
.ctc-atch label {
	box-sizing: border-box;
}

.ctc-atch .file-upload-list-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	max-width: 100%;
}

.ctc-atch .file-upload-box {
	position: relative;
	flex: 1 1 300px;
	min-width: 0;
	margin: 0 12px 0 0;
}

.ctc-atch .file-upload-list {
	display: block;
	width: 100%;
	height: auto;
	min-height: 96px;
	max-height: 196px;
	margin: 0;
	padding: 6px 4px;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background-color: #fff;
	background-image: none;
	color: #333333;
	font-size: 14px;
	line-height: 24px;
	text-indent: 0;
	overflow-y: auto;
}

.ctc-atch .file-upload-list option {
	padding: 2px 8px;
	text-indent: 0;
}

.ctc-atch .file-upload-empty {
	display: none;
	position: absolute;
	top: 0;
	left: 1px;
	right: 1px;
	padding: 34px 12px;
	color: #999999;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	pointer-events: none;
}

.ctc-atch .is-empty .file-upload-empty {
	display: block;
}

.ctc-atch .file-upload-list-wrapper .btns {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 0 0 auto;
	max-width: 100%;
	padding-top: 1px;
}

.ctc-atch .file-upload-list-wrapper .btns > * {
	margin-bottom: 6px;
}

.ctc-atch .file-upload-list-wrapper .btns > *:last-child {
	margin-bottom: 0;
}


.ctc-atch .file-upload-pick {
	position: relative;
	display: inline-block;
}

.ctc-atch .file-upload-input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.ctc-atch .file-upload-label {
	cursor: pointer;
	white-space: nowrap;
	min-width: 96px;
}

.ctc-atch .file-upload-label:before {
	content: "+";
	margin-right: 5px;
	font-weight: 600;
}

.ctc-atch .file-upload-pick:focus-within .file-upload-label {
	outline: 2px solid #1e89e9;
	outline-offset: 1px;
}

.ctc-atch .ban-delete {
	white-space: nowrap;
	min-width: 96px;
}

.ctc-atch .ban-delete:before {
	content: "\2212";
	margin-right: 5px;
	font-weight: 600;
}

.ctc-atch .ban-delete[disabled],
.ctc-atch .is-disabled .file-upload-label {
	opacity: 0.4;
	cursor: default;
	box-shadow: none;
}


.ctc-atch .file-upload-count {
	color: #777777;
	font-size: 12px;
	line-height: 1.6;
}

.ctc-atch .is-full .file-upload-count {
	color: #ef0e0e;
	font-weight: 600;
}

.ctc-atch .attached-file-area {
	margin-top: 12px;
	padding-top: 10px;
	border-top: 1px solid #eeeeee;
}

.ctc-atch .attached-file-label {
	margin: 0 0 2px;
	color: #999999;
	font-size: 12px;
	line-height: 1.6;
}

.ctc-atch .attached-file {
	word-break: break-all;
}

.ctc-atch .file-upload-list:focus,
.ctc-atch .ban-delete:focus {
	outline: 2px solid #1e89e9;
	outline-offset: 1px;
}

@media only all and (max-width: 1023px) {
	.ctc-atch .file-upload-box {
		flex: 1 1 100%;
		max-width: 100%;
		margin: 0 0 8px 0;
	}

	.ctc-atch .file-upload-list-wrapper .btns {
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		width: 100%;
		padding-top: 0;
	}

	.ctc-atch .file-upload-list-wrapper .btns > *,
	.ctc-atch .file-upload-list-wrapper .btns > *:last-child {
		margin: 0 10px 6px 0;
	}
}



.ctc-date {
	box-sizing: border-box;      /* 사용자앱 스킨은 전역 border-box 가 아니다(th·td 만) */
	height: 50px;
	padding: 0 38px 0 14px;
	width: 158px;
	max-width: 100%;
	font-size: 16px;
	line-height: 48px;           /* 테두리 1px 씩을 뺀 값 — 글자가 위로 뜨지 않는다 */
	color: #333333;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cg fill='none' stroke='%23777777' stroke-width='1.2'%3E%3Crect x='1.6' y='3.2' width='14.8' height='13.2' rx='1.6'/%3E%3Cpath d='M1.6 7.4h14.8M5.6 1.6v3.2M12.4 1.6v3.2'/%3E%3C/g%3E%3Crect x='4.4' y='9.6' width='2.4' height='2.4' fill='%23777777'/%3E%3Crect x='8.2' y='9.6' width='2.4' height='2.4' fill='%23777777'/%3E%3Crect x='11.9' y='9.6' width='2.4' height='2.4' fill='%23777777'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	cursor: pointer;             /* 눌러 달력을 여는 칸임을 알린다 */
}

.ctc-date:focus {
	border-color: #1e89e9;
	color: #333333;
}

.ctc-date::-webkit-input-placeholder { color: #999999; }
.ctc-date::-moz-placeholder          { color: #999999; opacity: 1; }
.ctc-date:-ms-input-placeholder      { color: #999999; }

@media screen and (max-width: 1023px) {
	.ctc-date {
		width: 140px;
		padding: 0 32px 0 10px;
		font-size: 15px;
		background-position: right 9px center;
	}
}

.ctc-pop-dim {
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 9998;
	background: rgba(0, 0, 0, 0.45);
}

.ctc-pop {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 640px;
	max-width: 94%;
	max-height: 86%;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background-color: #ffffff;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	color: #333333;
	text-align: left;
	animation: ctc-pop-in 0.16s ease-out;
}

@keyframes ctc-pop-in {
	from { opacity: 0; transform: translate(-50%, -46%); }
	to   { opacity: 1; transform: translate(-50%, -50%); }
}

.ctc-pop input,
.ctc-pop button,
.ctc-pop select,
.ctc-pop textarea {
	box-sizing: border-box;
}


.ctc-pop-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	padding: 14px 20px;
	border-bottom: 1px solid #eeeeee;
}

.ctc-pop-title {
	display: block;
	margin: 0;
	color: #333333;
	font-size: 18px;      /* 표 칸(16px)보다 한 단 크게 — 그래야 제목으로 읽힌다 */
	font-weight: 600;
	line-height: 1.4;
}

.ctc-pop-close {
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	margin: 0 -6px 0 12px;   /* 오른쪽 여백을 시각적으로 20px 에 맞춘다 */
	padding: 0;
	border: 0;
	border-radius: 4px;
	background: none;
	color: #888888;
	font-size: 22px;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
}

.ctc-pop-close:hover,
.ctc-pop-close:focus {
	background-color: #f2f4f6;
	color: #333333;
}

.ctc-pop-close:focus {
	outline: 2px solid #1e89e9;
	outline-offset: 1px;
}

.ctc-pop-tools {
	flex: 0 0 auto;
	padding: 16px 20px 0;
}

.ctc-pop-search {
	display: flex;
	align-items: center;
}

.ctc-pop-keyword {
	flex: 1 1 auto;
	min-width: 0;
	margin-right: 8px;
}

.ctc-pop-search button {
	flex: 0 0 auto;
}

.ctc-pop .btn-m02 {
	white-space: nowrap;
}

.ctc-pop-status {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 8px 0 0;
	min-height: 20px;
	font-size: 14px;
	line-height: 20px;
}

.ctc-pop-msg {
	color: #777777;
}

.ctc-pop-msg.is-error {
	color: #ef0e0e;
}

.ctc-pop-count {
	flex: 0 0 auto;
	margin-left: 12px;
	color: #777777;
	white-space: nowrap;
}

.ctc-pop-count strong {
	color: #1e89e9;
	font-weight: 600;
}

.ctc-pop-body {
	flex: 1 1 auto;
	min-height: 0;
	padding: 12px 20px 20px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.ctc-pop-foot {
	flex: 0 0 auto;
	padding: 10px 20px;
	border-top: 1px solid #eeeeee;
	text-align: center;
	white-space: nowrap;
	overflow-x: auto;
}

.ctc-pop-foot:empty {
	display: none;
}

.ctc-pop-page {
	box-sizing: border-box;
	display: inline-block;
	min-width: 32px;
	height: 32px;
	margin: 0 2px;
	padding: 0 6px;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background-color: #ffffff;
	color: #555555;
	font-size: 14px;
	line-height: 30px;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
}

.ctc-pop-page:hover {
	border-color: #bbbbbb;
	color: #333333;
}

.ctc-pop-page:focus {
	outline: 2px solid #1e89e9;
	outline-offset: 1px;
}

.ctc-pop-page.is-current {
	border-color: #1e89e9;
	background-color: #1e89e9;
	color: #ffffff;
	font-weight: 600;
	cursor: default;
}

.ctc-pop-page[disabled] {
	opacity: 0.35;
	cursor: default;
}

.ctc-pop-page[disabled]:hover {
	border-color: #dddddd;
	color: #555555;
}

.ctc-pop-page.is-current[disabled] {
	opacity: 1;
}

.ctc-pop-page.is-current[disabled]:hover {
	border-color: #1e89e9;
	color: #ffffff;
}

body.ctc-pop-lock {
	overflow: hidden;
}

.ctc-picked {
	background-color: #f7f7f7;   /* 스킨 reset.css 의 input[readonly] 와 같은 값 */
	color: #333333;
	cursor: default;
}


@media screen and (max-width: 1023px) {
	.ctc-pop {
		max-height: 90%;
	}

	.ctc-pop-head {
		padding: 12px 14px;
	}

	.ctc-pop-title {
		font-size: 16px;
	}

	.ctc-pop-tools {
		padding: 12px 14px 0;
	}

	.ctc-pop-body {
		padding: 10px 14px 14px;
	}

	.ctc-pop-foot {
		padding: 10px 14px;
	}

	.ctc-pop-page {
		min-width: 28px;
		height: 28px;
		margin: 0 1px;
		font-size: 13px;
		line-height: 26px;
	}
}

.ctc-pop-form {
	width: 520px;
}

.ctc-pop-guide {
	margin: 0 0 10px;
	color: #555555;
	font-size: 14px;
	line-height: 1.5;
}

.ctc-pop-textarea {
	display: block;
	width: 100%;
	min-height: 110px;
	padding: 8px 10px;
	border: 1px solid #dddddd;
	border-radius: 4px;
	background-color: #ffffff;
	color: #333333;
	font-size: 14px;
	line-height: 1.5;
	resize: vertical;
}


.ctc-pop-textarea:focus {
	border-color: #1e89e9;
	outline: 2px solid #1e89e9;
	outline-offset: 1px;
}

.ctc-pop-actions .btn-m02:focus {
	outline: 2px solid #1e89e9;
	outline-offset: 1px;
}


.ctc-pop-actions {
	text-align: right;
}

.ctc-pop-actions .btn-m02 + .btn-m02 {
	margin-left: 6px;
}


@media screen and (max-width: 1023px) {
	.ctc-pop-form {
		width: 520px;
	}

	.ctc-pop-textarea {
		min-height: 96px;
	}
}
