@charset "UTF-8";

/*모바일은 글씨 좀 작게*/
/*@media (max-width: 855px) {body {font-size:95% !important}}*/
/*@media (max-width: 810px) {body {font-size:90% !important}}*/
/*@media (max-width: 765px) {body {font-size:85% !important}}*/
/*@media (max-width: 720px) {body {font-size:80% !important}}*/
/*@media (max-width: 675px) {body {font-size:75% !important}}*/
/*@media (max-width: 630px) {body {font-size:70% !important}}*/

html {
	-ms-touch-action: manipulation;
	touch-action: manipulation;
	text-underline-position:under;
	font-size:14px;
}
* {
	word-wrap:break-word;
	word-break:keep-all;
}

/**** 버튼 꾸미기 RADIO ****/
input[type=radio],input[type=checkbox] {min-width:16px !important}

label > [type="radio"]:checked,
label > [type="radio"]:not(:checked) {
	position: absolute;
	left: -9999px;
}
label > [type="radio"]:checked + span,
label > [type="radio"]:not(:checked) + span
{
	position: relative;
	padding-left: 1.6em;
	cursor: pointer;
	line-height: 1.428em;
	display: inline-block;
}
label > [type="radio"]:checked + span.nopadding,
label > [type="radio"]:not(:checked) + span.nopadding
{
	padding-left: 1.428em !important;
}
label > [type="radio"]:checked + span:before,
label > [type="radio"]:not(:checked) + span:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.2em;
	height: 1.2em;
	border: 1px solid #ddd;
	border-radius: 100%;
	background: #fff;
}
label > [type="radio"][disabled]:checked + span:before,
label > [type="radio"][disabled]:not(:checked) + span:before {
	background: #f9f9f9;
}
label > [type="radio"]:checked + span:after,
label > [type="radio"]:not(:checked) + span:after {
	content: '';
	width: 1.2em;
	height: 1.2em;
	background-color: #55b0f3;
	background-image: radial-gradient(circle, #55b0f3 0%, #55b0f3 55%, white 60%);
	position: absolute;
	top: 0;
	left: 0;
	border: 1px solid #ddd;
	border-radius: 100%;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
label > [type="radio"]:not(:checked) + span:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}
label > [type="radio"]:checked + span:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}
/**** 버튼 꾸미기 RADIO ****/

/**** 버튼 꾸미기 CHECKBOX ****/
input[type=radio],input[type=checkbox] {min-width:16px !important}

label > [type="checkbox"]:checked,
label > [type="checkbox"]:not(:checked) {
	position: absolute;
	left: -9999px;
}
label > [type="checkbox"]:checked + span,
label > [type="checkbox"]:not(:checked) + span
{
	position: relative;
	padding-left: 1.6em;
	cursor: pointer;
	line-height: 1.428em;
	display: inline-block;
}
label > [type="checkbox"]:checked + span.nopadding,
label > [type="checkbox"]:not(:checked) + span.nopadding
{
	padding-left: 1.428em !important;
}
label > [type="checkbox"]:checked + span:before,
label > [type="checkbox"]:not(:checked) + span:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 1.2em;
	height: 1.2em;
	border: 1px solid #ddd;
	background: #fff;
}
label > [type="checkbox"][disabled]:checked + span:before,
label > [type="checkbox"][disabled]:not(:checked) + span:before {
	background: #f9f9f9;
}
label > [type="checkbox"]:checked + span:after,
label > [type="checkbox"]:not(:checked) + span:after {
	content: '';
	width: calc(1.2em - 2px);
	height: calc(1.2em - 2px);
	background: #55b0f3;
	position: absolute;
	top: 1px;
	left: 1px;
	border: 1px solid white;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
label > [type="checkbox"]:not(:checked) + span:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}
label > [type="checkbox"]:checked + span:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}
/**** 버튼 꾸미기 CHECKBOX ****/

.bg {background:#eee !important}
.hover:hover {background:#f0f0f0}
.p-0 {padding:0 !important}
.ml-2 {margin-left:2px !important}
span.blue {color:blue !important}
span.blue * {color:blue !important}
span.red {color:red !important}
span.red * {color:red !important}
table.fixed {table-layout:fixed}
button.small {padding:4px;font-size:80%}

input[disabled] {background-color:#eee;border:2px solid #eee}
label:hover {color:#1f8dd6}
.text-hover:hover {color:#1f8dd6}
br {
	font-size:120%;
}
strong {
	font-size:130%;
	font-weight:bold;
	color:red;
}
.warning-border {border:1px solid red !important}
.warning-text {color:red !important}
.warning-text * {color:red !important}
.desc {color:#999;font-size:90%}

.s-answer input[type=text],.s-answer input[type=tel],.s-answer input[type=number] {
	margin-bottom:2px;
}

/*ios 둥근 테두리 제거*/
input[type=text],input[type=tel],input[type=number],textarea {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
	border:1px solid #ccc;
}

/*input number 화살표 제거*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
input[type=number]{
	-moz-appearance: textfield;
}

button {
	-webkit-appearance: none;
	-webkit-border-radius: 0;
}

select {
	padding:.25em 2em .25em .5em;
	background-color: #f2f2f2;
	border: thin solid #cbcbcb;
	border-radius: 0;
	display: inline-block;
	font: inherit;
	line-height: 1.5em;
	/* reset */
	margin: 0;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	-webkit-appearance: none;
	-moz-appearance: none;
}

select {
	background-image:
			linear-gradient(45deg, transparent 50%, gray 50%),
			linear-gradient(135deg, gray 50%, transparent 50%);
	background-position:
			calc(100% - 1em) calc(.8em),
			calc(100% - .52em) calc(.8em);
	background-size:
			.5em .5em,
			.5em .5em;
	background-repeat: no-repeat;
}

/*기타*/
input.input-etc {
	max-width: 95%;
}

/* 표 */
table.pure-table {
	margin-bottom:.5em;
	color:#141414;
}
table.pure-table th {
	text-align:center;
	vertical-align: middle;
	color:#333;
	word-break:normal;
	word-wrap:break-word;
}
table.pure-table th * {
	word-break:normal;
	word-wrap:break-word;
}
table.pure-table td {
	vertical-align: middle;
	padding:.5em;
	word-break:break-all;
	word-wrap:break-word;
}
table.pure-table-bordered th {
	border:1px solid #cbcbcb !important;
}
table.pure-table-bordered td {
	border:1px solid #cbcbcb !important;
}
table.pure-table-striped tbody tr:nth-child(2n-1) td {
	background-color:inherit;
}
table.common {
	table-layout:fixed;
	border-spacing:0;
	margin-bottom:.5em;
	color:#141414;
	border-bottom:1px solid #cbcbcb;
	width:100%;
	/*font-size:85.71%;*/
}
table.common th,table.common tr.is-sum td {
	text-align:center;
	vertical-align: middle;
	color:#2d2d2d;
	background-color:rgb(245,245,245);
	border:1px solid rgb(192,192,192);
	padding:.5em;
	font-weight:bold;
}
table.common td {
	vertical-align: middle;
	padding:.5em;
	border:1px solid rgb(192,192,192);
}
td.row-head {
	/*background-color:#f2f2f2;*/
}

ul.common {
	margin:0;
}

/* 버튼들 */
div.button-container {
	padding:.5em;
	text-align:center;
}
.pure-button {
	border:1px solid #ccc;
	border-radius: 0 !important;
}
.s-btn-ok {
	background-color:#1f8dd6;
	border-color: #1f8dd6;
}
.s-btn-warning {
	background-color:#F1DEDF;
	color:#9B505A;
}

/* 제목 */
div.s-title {
	border:5px solid rgb(192,192,192);
	padding:15px 18px;
	font-size:107.14%;
	text-align:center;
	margin-bottom:.5em;
	font-weight: bold;
	color:#141414;
}

/* 열병합 순위 */
td.s-hgrade {
	cursor:pointer;
}
div.s-hgrade {
	border:1px solid #999;
	margin:2px auto;
	width:1.5em;
	height:1.5em;
	cursor:pointer;
	background:white;
}

/* 본문 */
div.main-container {
	max-width:900px;
	margin:.5em auto;
}

div.main-div {
	border:1px solid rgb(138,138,138);
	border-radius: 5px;
	padding-bottom: 8px;
	margin:-1px !important;
}

/* 문항들 */
div.question-container {
	padding:10px 10px 0;
	border-top:1px solid #ccc;
}

/* 경고문 */
div.main-warning {
	display:none;   /* 처음엔 안보이게 */
	padding:0.5em 0em;
	color:red;
	text-align:center;
	font-size:115%;
}

td.td-radio {cursor:pointer}
td.td-radio:hover {background-color:#f0f0f0}


/* 설명문 */
div.s-desc {
	padding:1em;
	border:5px solid rgb(192,192,192);
	color:#141414;
	margin-bottom:.5em;
}
div.s-desc > p,div.s-desc > div {
	margin-top:5px;
	margin-bottom:5px;
	line-height:150%;
}
div.bottom-desc {
	margin-top:7px;
}

/* 질문 */
div.s-question {
	padding:0 5px;
	border:1px solid #ccc;
	background-color:rgb(245,245,245);
	color:#141414;
	margin-bottom:.5em;
	line-height:150%;
}
div.s-question.no-qnum {
	padding:5px;
}
div.s-question > div > div.flex-width-0 {
	border-right:1px solid #ccc;
	padding:5px 8px 5px 5px;
}
div.s-question > div > div.flex-width-1 {
	padding:5px;
}
div.s-question div.left {
	margin-right:.2em;
	white-space:nowrap;
}
div.s-question div.right {
	-ms-flex: 1 1 auto;
	flex:1 1 auto;
}
div.s-question > p {
	margin-top:2px;
	margin-bottom:2px;
}

/* 응답 부분 */
div.s-answer {
	border:1px solid #ccc;
}
div.s-answer.no-border {
	border:none;
}
/*보기마다 줄 구분*/
/*div.s-answer > div:not(:last-child){*/
/*	border-bottom:1px solid #ccc;*/
/*}*/
/*div.s-answer > div.pure-g > div.pure-u-1:not(:last-child){*/
/*	border-bottom:1px solid #ccc;*/
/*}*/
div[question-type="SUM"] div.s-answer
,div[question-type="HNUMBER"] div.s-answer
,div[question-type="HRADIO"] div.s-answer
,div[question-type="HCHECK"] div.s-answer
,div[question-type="HGRADE"] div.s-answer
,div[question-type="TEXTAREA"] div.s-answer
,div[question-type="GRADE"] div.s-answer
,div[question-type="MULTI_TEXT"] div.s-answer
,div[question-type="RADIO_TABLE"] div.s-answer
,div[question-type="DIGIT"] div.s-answer
,div[question-type="RADIOSET"] div.s-answer
,div[question-type="RADIOSETS"] div.s-answer
,div[question-type="RADIO_RADIOSETS"] div.s-answer
,div[question-type="RADIOSETS_2"] div.s-answer
,div[question-type="RADIOSETS_3"] div.s-answer
,div[question-type="RADIOSETS_H"] div.s-answer
,div[question-type="CHECKSETS"] div.s-answer
,div[question-type="CHECKSETS_H"] div.s-answer
,div[question-type="MATRIX"] div.s-answer
,div[question-type="RADIO_BOTH"] div.s-answer
,div[question-type="SLIDER"] div.s-answer
,div[question-type="DIST"] div.s-answer
,div[question-type="MAXDIFF"] div.s-answer
,div[question-type="STARSETS"] div.s-answer
,div[question-type].skin-no-border div.s-answer
{
	border:none;
}

/* 한 페이지에 여러개의 문항이 있는 경우 간격 */
div[question-name]:not(:first-child){
	margin-top: 7px;
}

/* Radio */
div.s-radio {
	color:#141414;
	margin-left:.5em;
	margin-top:.5em;
	margin-bottom:.5em;
}
div.s-radio label{
	cursor:pointer;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
}
div.s-radio input[type=radio] {
	display: inline;
	min-width:1em;
	width:1em;
	min-height: 1em;
	height:1em;
}
div.s-radio span.radio-value{
	display:inline-block;
	padding-bottom:-2px;
	margin-left:.4em;
	-ms-flex: 1 1 auto;
	flex:1 1 auto;
}

div.s-multi-text input[type=text] {
	margin-bottom:0.2em;
}

/* Check */
div.s-check {
	color:#141414;
	margin-left:.5em;
	margin-top:.5em;
	margin-bottom:.5em;
}
div.s-check label{
	cursor:pointer;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
}
div.s-check input[type=checkbox] {
	display: inline;
	min-width:1em;
	width:1em;
	min-height: 1em;
	height:1em;
}
div.s-check span.check-value{
	display:block;
	padding-bottom:-2px;
	margin-left:.4em;
	-ms-flex: 1 1 auto;
	flex:1 1 auto;
	width:100%;
	max-width: 95%;
}

/* Number */
div.s-number {
	color:#141414;
	margin:.5em;
}
/* 무응답 통과문구 */
div.s-pass {
	padding:1em;
}
div.s-pass input {
	margin-right:.4em;
}

/*IMAGE_CLICK*/
div.image-click-box:hover,div.image-click-box.selected {
	cursor:pointer;
	border:1px solid rgb(255, 99, 132);
	background-color:rgba(255, 99, 132, 0.5);
}

/* DIGIT */
div.s-digit > input.digit {
	width:1em;
	height:24px;
	font-size:120%;
	font-weight:bold;
	padding:2px;
	border:3px solid #666;
	text-align:center;
	margin-right:0.2em;
}

/* GradeClick */
div[question-name] > button.re-select {
	margin:0;
}
div.selected-show {
	padding:8px;
	color:#141414;
	border:1px solid #ccc;
	margin:7px 0;
}
div.selected-grade {

}
div.s-gradeclick {
	color:#141414;
	margin:5px;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
	align-items:center;
}
div.s-gradeclick * {
	cursor:pointer !important;
}
div.s-gradeclick div.grade-box {
	min-width:1.5em;
	height:1.5em;
	border:1px solid #aaa;
	border-radius:.75em;
	cursor:pointer;
	margin-bottom:-.1em;
	text-align:center !important;
	display:table-cell;
	vertical-align:middle;
}
div.s-gradeclick > span {
	margin-left:.5em;
}
/* GradeClick, Check에서 카테고리 넣었을 때 */
div.category-header {
	background-color:rgb(245,245,245);
	padding:.5em;
	text-align:center;
	border-bottom: 1px solid #ccc;
}
div.category-body {
	padding:.3em;
	border-bottom: 1px solid #ccc;
}
div.category-body:last-child {
	border-bottom: none;
}
/* CategoryMaker로 생성된 카테고리 */
.cb-header {
	background-color:rgb(245,245,245);
	border:1px solid #999;
	border-bottom: none;
	padding:.5em;
	text-align:center;
}
.cb-header:not(:first-child) {
	margin-top: .4em;
}
.cb-body {
	border:1px solid #999;
	padding:.3em;
}
.cb-body:not(:last-child) {
	margin-bottom:.4em;
}
td.category-td {
	background-color:rgb(245,245,245);
}

/* TEXTAREA */
textarea[qname] {
	border:1px solid #ccc;
	padding:.5em;
}
textarea[qname][disabled] {
	background:#eee;
}

/* 구분줄 강조 */
tr.strong > td {
	background:#999 !important;
	color:white;
}

/*표에서 이미지와 내용 같이 있는 것*/
div.img-content {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
}
div.img-content > div.img {
	margin-right:4px;
	float:left;
}
div.img-content > div.content {
	padding-top:6px;
}

/*HNUMBER*/
input[qtype=HNUMBER] {
	max-width:70% !important;
}

/******* CUSTOM RADIO,CHECKBOX *******/
.custom:checked,.custom:not(:checked) {
	position: absolute;
	left: -9999px;
}
.custom:checked + label,.custom:not(:checked) + label
{
	position: relative;
	padding-left: 28px;
	cursor: pointer;
	line-height: 20px;
	display: inline-block;
	color: #666;
}
.custom:checked + label:before,.custom:not(:checked) + label:before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 18px;
	height: 18px;
	border: 1px solid #ddd;
	background: #fff;
}
.custom:checked + label:after,.custom:not(:checked) + label:after {
	content: '';
	width: 12px;
	height: 12px;
	background: #1f8dd6;
	position: absolute;
	top: 4px;
	left: 4px;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}
.custom:not(:checked) + label:after {
	opacity: 0;
	-webkit-transform: scale(0);
	transform: scale(0);
}
.custom:checked + label:after {
	opacity: 1;
	-webkit-transform: scale(1);
	transform: scale(1);
}
.custom-radio:checked + label:before
,.custom-radio:not(:checked) + label:before
,.custom-radio:checked + label:after
,.custom-radio:not(:checked) + label:after {
	border-radius: 100%;
}

/******* CUSTOM RADIO *******/


/*화면 제일 윗줄*/
div.top-line1 {
	margin-top: 8px;
	padding-right:.6em;
	font-size:18px;
	align-items: center;
}
/* 폰트 사이즈 제어 */
div.fontsize-control button {
	width:2em;
	margin:1px;
	border:1px solid #666;
	background-color: #f0f0f0;
}
/*1:1문의하기*/
div.ask button {
	border:1px solid #666;
	background-color: white;
}

/* 로고와 진행바 */
div.main-logo {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
	margin:1em 0 0.5em;
	align-items:flex-end;
	padding-left:.6em;
	padding-right:.6em;
}

/* 진행률 */
div.main-logo div.progress {
	width:300px;
	height:1.8em;
	border:1px solid #ccc;
	position:relative;
}

div.main-logo div.progress span.percent {
	position:absolute;
	top:0;
	right:0;
	padding:0 .2em;
	color:#1f8dd6;
	font-size:18px;
	font-weight:bold;
}

div.main-logo div.progress div.progress-back {
	position:absolute;
	top:0;
	left:0;
}

div.main-logo div.progress div.progress-forward {
	position:absolute;
	height:1.8em;
	background-image: linear-gradient(#1f8dd6, #4fbdf6);
}

/* 테스트 도구들 */
div.tools {
	position: fixed;
	left: 1em;
	bottom: 1em;
}
div.tools > div.tool-buttons > button {
	padding: .3em .5em;
	text-align: center;
	font-size: 90%;
}

/* 메모하기 */
#memobox {
	width:40em;
	height:10em;
	border:1px solid #999;
	box-shadow: 3px 3px 12px;
	font-size: 12px;
	background: #F7EF85;
	padding:.5em;
}

div.memos {
	padding:1em;
}

table.memo-table {
	width:auto;
	max-width:100%;
	font-size:12px;
}

table.memo-table th {
	background-color: #29b6f6;
	color: white;
}

table.memo-table tr.COMPLETE {
	background-color: #8DEC72;
}

/* 문항 네비게이션 */
button.navi-hide,button.navi-to-last {
	background-color : #1f8dd6;
	color:white;
	padding:.2em .4em;
	text-align:center;
	font-size:90%;
	max-width:100%;
	margin-bottom: .2em;
}
div.navi-wrapper {
	padding-right:.5em;
}
div.question-navi {
	padding:.5em .5em .5em;
	border:1px solid #eee;
	border-radius: 5px;
	background:white;
	opacity: 0.9;
	box-shadow: 3px 3px 3px #aaa;
	font-size:90%;
	overflow-y:scroll;
}
div.navi-question-list > div {
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flexbox;
	display: -o-flex;
	display: flex;
	align-items:baseline;
	font-size:90%;
	margin-bottom:.1em;
	padding:.1em 0;
}
div.navi-question-list > div:hover {
	background-color : #1f8dd6;
	color:white;
	cursor:pointer;
}
div.navi-question-list > div.active {
	background-color : #2f9de6;
	color:white;
}
div.navi-question-list span.answer {
	color:red;
	font-size:80%;
}
div.navi-question-list div.has-memo-request {
	font-weight:bold;
	color:#dd0000;
}
div.navi-question-list div.has-memo-complete {
	font-weight:bold;
	color: #007700;
}

td.radio-td:hover {
	cursor:pointer;
	background:#efefef;
}

/*모달에서 응답값 선택*/
#modalQuestion {
	padding:15px;
}
#modalQuestion button {
	word-break: break-all !important;
	white-space: normal !important;
	text-align:left;
	width:100%;
	margin-top:4px;
	font-size:95%;
}
.modal-question-target {
	cursor:pointer;
}

/*1:1 문의하기*/
#ask {
	font-size:13px;
	padding:15px;
}
#ask .title {
	font-size:14px;
	padding-bottom:4px;
}

/* 모바일 UI 다르게(MOBILE_RESTRICT, MOBILE_ONLY, RADIOSETS 에서 사용) */
@media (max-width: 675px) {
	.mobile-show {display:block;}
	.mobile-hide {display:none;}
	.mobile-ui-hide {display:none;}
	.mobile-ui-block {display:block;}
	.mobile-ui-td {text-align:left}
	.mobile-ui-head {background-color:#fffbb5 !important;}
	.mobile-ui-show {margin-left:.3em;}
	.mobile-ui-flex {
		display: -webkit-flex !important;
		display: -moz-flex !important;
		display: -ms-flexbox !important;
		display: -o-flex !important;
		display: flex !important;
	}
	.mobile-ui-width-0 {
		flex:0 0 auto;
		-ms-flex: 0 0 auto;
		display:block;
	}
	.mobile-ui-width-1 {
		flex:1 1 auto;
		-ms-flex:1 1 auto;
		display:block;
	}
}
@media (max-width: 912px) {
	/* 본문 */
	div.main-container {
		margin:0;
	}
	div.main-div {
		border:none;
	}
}
@media (min-width: 676px) {
	.mobile-show {display:none;}
	.mobile-hide {display:block;}
	.mobile-ui-show {display:none;}
}

/* 모바일 참여제한 / 모바일만 참여 가능 경고문 */
div.cannot-join {
	margin:.5em;
	padding:1em;
	text-align:center;
	font-size:120%;
	border:1px solid #eee;
	border-radius: 5px;
}

/* 툴팁 상자 */
#tooltipbox {
	z-index:9999;
	min-width: 150px;
	box-shadow: 0 4px 5px 3px rgba(0, 0, 0, 0.2);
	border-radius: 5px;
	position: absolute;
	padding:.5em;
	border:3px solid #1f8dd6;
	background-color:#fcfcff;
	font-size:90%;
	display: none;
}

/* 달력 토, 일요일 색 */
table.ui-datepicker-calendar tr td.ui-datepicker-week-end:first-child a {
	color:red;
}
table.ui-datepicker-calendar tr td.ui-datepicker-week-end:last-child a {
	color:blue;
}