.quest {
	margin:0 2px;
	/*
	border:2px solid;
	border-image-source:url('/assets/sprite/border-image.png');
	border-image-slice:8;
	border-image-repeat:repeat;
	border-image-width:4px;
	border-radius:10px
	*/
}
.quest .quest-id {
	display:none;
}
.quest.open {
	padding:2rem 0;
}
.quest.open .quest-id {
	display:block;
}
.quest:not(:last-child) {
	margin-bottom:.5rem;
}
.quest:not(.open) h3 {
	line-height:inherit;
}
.quest.open h3 {
	font-weight:bold;
}
.quest h3,
.quest p {
	margin-bottom:0;
}
.quest .description p {
	hyphens:auto;
}
.quest .description p {
	margin-bottom:.5rem;
}
.quest .params {
	line-height:1;
}
.quest .params .param-group,
.quest .actions .action-and-results {
	font-size:1.8rem;
	line-height:1;
}
/*
span.task,
span.action,
span.misc {
	font-size:75%;
	line-height:1;
}
*/
.quest:not(.open) .actions,
.quest:not(.open) .description,
.quest:not(.open) .params .txt {
	display:none;
}
span.task,
span.object,
span.action,
span.style,
span.misc,
span.link {
	cursor:pointer;
	display:inline-block;
	padding:.3rem .5rem;
	margin-right:.5rem;
	line-height:0;
}
span.task.task-1 > i.ic8::before {  /* solve */
	background-position: -2em -15em;
}
span.task.task-2 > i.ic8::before {  /* locate */
	background-position: 0 -16em;
/*	background-position: -10em -27em;*/
}
span.task.task-4 > i.ic8::before {  /* invite */
	background-position: -3em -28em;
}
span.task.task-8 > i.ic8::before {  /* activate */
	background-position: -1em -22em;
}
span.task.task-10 > i.ic8::before {  /* recommend */
	background-position: -2em -26em;
}
span.task.task-20 > i.ic8::before {  /* cooperate */
	background-position: -3em -22em;
}
span.task.task-40 > i.ic8::before {  /* be green */
	background-position: -2em -23em;
}
span.task.task-80 > i.ic8::before {  /* spend time */
	background-position: -3em -19em;
}
span.task.task-100 > i.ic8::before {  /* buy */
	background-position: 0 -23em;
}
span.task.task-200 > i.ic8::before {  /* redeem */
	background-position: -2em -18em;
}
span.task.task-400 > i.ic8::before {  /* create */
	background-position: -2em -17em;
}
span.action.action-1 > i.ic8::before {  /* select an option */
	background-position: -2em -28em;
}
span.action.action-2 > i.ic8::before {  /* write about it */
	background-position: 0 -9em;
}
span.action.action-4 > i.ic8::before {  /* go there */
	background-position: 0 -22em;
}
span.action.action-4.series > i.ic8::before {  /* escort along */
	background-position: -11em -27em;
}
span.action.action-8 > i.ic8::before {  /* take photo */
	background-position: 0 -18em;
}
span.action.action-8.series > i.ic8::before {  /* take photos */
	background-position: -10em -25em;
}
span.action.action-40 > i.ic8::before {  /* help each other */
	background-position: -11em -25em;
}
span.action.action-80 > i.ic8::before {  /* arrange meeting */
	background-position: -13em -23em;
}
/*span.action.action-100 > i.ic8::before {  /* take screenshot * /
	background-position: -11em -24em;
}*/
span.action.action-200 > i.ic8::before {  /* to learn */
	background-position: -12em -26em;
}
span.action.action-1000 > i.ic8::before {  /* checkout */
	background-position: 0 -24em;
}
span.action.action-2000 > i.ic8::before {  /* get coupon */
	background-position: -3em -13em;
}
span.style.style-1 > i.ic8::before {  /* geoaligning */
	background-position: -3em -23em;
}
span.style.style-2 > i.ic8::before {  /* watching */
	background-position: -3em -21em;
}
span.style.style-4 > i.ic8::before {  /* litening to */
	background-position: -2em -20em;
}
span.style.style-8 > i.ic8::before {  /* reading */
	background-position: -2em -21em;
}
span.style.style-10 > i.ic8::before {  /* for private purposes */
	background-position: -14em -21em;
}
span.misc.action.series > i.ic8::before {  /* series */
	background-position: -3em -24em;
}
span.object,
span.object > i.ic8::before {
	display:none;
}
span.object.object-19 {  /* mage customization */
	display:inline-block;
}
span.object.object-19 > i.ic8::before {  /* mage customization */
	background-position: -10em -22em;
	display:block;
}
.quest.open span > i.ic8:not(.number) {
	margin-right:.5rem;
}

.quest .params > .param-group::before {
	content:'';
	background-color:rgb(235,165,102);
}
.quest:not(.open) .params > .param-group {
	display:inline;
}
/*
.quest:not(.open) .params > .param-group + .param-group > span:first-child {
	margin-left:.5rem;
}
.quest:not(.open) .params > .param-group::before {
	display: inline-block;
	height:1.6rem;
	width:1px;
	margin-bottom:-.2rem;
}
*/
.quest.open .params > .param-group {
	display:block;
/*	margin-top:.3rem;*/
/*	margin-bottom:.2rem;*/
}
/*
.quest.open .params > .param-group::before {
	display: block;
	height:1px;
	width:100%;
}
*/
.quest a.opener {
	float:right;
}
.quest.open a.opener i {
	transform: rotate(270deg);
}
.quest .params > .param-group:empty,
.quest .params > .param-group:first-child::before {
	display:none;
}
.compact .quest:not(.open) {
	display: flex;
	flex-direction: row-reverse;
}
.compact .quest:not(.open) > .params {
	white-space: nowrap;
}
.compact .quest:not(.open) > h3 {
	flex: 2 1 auto;
	float: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;	
}
.quest .description {
	padding-top:0.5rem;
	padding-bottom:0.5rem;
}
.quest .actions p i.ico,
.quest .actions p i.icc {
	margin-right:0.5rem;
}
.quest .actions p.text-right i.ico,
.quest .actions p.text-right i.icc {
	margin-left:0.5rem;
	margin-right:0;
}




.quest.open .param-group.misc,
.quest.open .description,
.quest.open .actions .input-wrapper {
	padding-left:.5rem;
	border-left-style:solid;
	border-left-width:.5rem;
	margin-right:-.5rem;
	padding-right:.5rem;
}
.quest.open .param-group.misc {
	padding-top:.5rem;
}
.quest.open .actions .input-wrapper:last-of-type {
	border-bottom-style:solid;
	border-bottom-width:.5rem;
	border-bottom-left-radius:1.5rem;
	margin-bottom:.5rem;
}
.quest.open .actions .action-and-results {
	margin-left:-1rem;
	margin-bottom:.5rem;
}
.quest.open .params .param-group span.action,
.quest.open .params .param-group span.style {
	display:none;
}




.quest .input-wrapper {
	position:relative;
	padding-bottom:1rem;
}
.quest .input-wrapper:last-of-type {
	padding-bottom:.5rem;
}
.quest .input-wrapper select,
.quest .input-wrapper textarea,
.quest .input-wrapper input:not([type="hidden"]):not(.labeled[type="checkbox"]) {
	display:block;
}
/*
.quest .input-wrapper div [name] {
	margin-top:0;
}
*/
/*
.quest .input-wrapper.saved::after,
.quest .input-wrapper.empty::after {
	content:'';
	position:absolute;
	display:block;
	width:1.6rem;
	height:1.6rem;
	bottom:0;
	right:0;
	margin:0 6px 4px 0;
	background-size: 30em 30em;
	background-position: 0 -8em;
	font-size:1.6rem;
}
.quest .input-wrapper.saved::after {
	background-position: 0 -8em;
	opacity:.2;
}
.quest .input-wrapper.empty::after {
	background-position: -2em -14em;
	opacity:.8;
}
*/