/*cat: modal*/
[data-modalnode="true"] {
	position: fixed;
	z-index: 50;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	text-align: center;
	-webkit-overflow-scrolling: touch;
}
body[data-ismodal="true"]{
	/*overflow: hidden;*/
}
body[data-ismodal="true"] > * {
	filter: blur(4px);
}
body[data-ismodal="true"] > [data-modalnode="true"]{
	filter: blur(0);
}
[data-modalnode="true"][data-opened=""] {
	display: none;
}
[data-modalnode="true"][data-opened="true"] {
	display: block;
}
[data-modalnode="true"] .closer {
	width: 10vw;
	height: 10vw;
	box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}
@media only screen and (min-width: 800px) {
	[data-modalnode="true"] .closer {
		width: 50px;
		height: 50px;
	}
}
[data-modalnode="true"] .win {
	display: inline-block;
	text-align: left;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding: 2.14rem 1.6rem;
	background-color: var(--bg-color);
	border: solid 1px rgba(255, 255, 255, 0.19);
	border-radius: 0.4rem;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.07);
}
[data-modalnode="true"] .win h2 {
	font-size: 1.2rem;
	line-height: 1em;
	margin-bottom: 1.8em;
}
[data-modalnode="true"] .bg {
	display: block;
	position: fixed;
	z-index: -10;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--modal-bg-color);
}

/*cat: loading*/
body[data-waiting="true"]{
	text-align: center;
}
body[data-waiting="true"] > * {
	filter: blur(4px);
	cursor: wait;
	-moz-user-select: none;
	-webkit-user-select: none;
	-ms-user-select: none;
	user-select: none;
	pointer-events: none;
}
body[data-waiting="true"]::before {
	content: "Loading";
	position: absolute;
	z-index: 10005;
	left: 0;
	bottom: 41vh;
	font-size: 1.8vh;
	font-weight: 700;
	overflow: hidden;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	text-indent: 0.18em;
	display: block;
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	color: #fff;
	text-shadow: 0 0 4px rgba(0, 0, 0, 0.22);
	opacity: 1.0;
	display: none;
}
body[data-waiting="true"]::after {
	content: "";
	display: block;
	position: fixed;
	z-index: 10000;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.5);
	background-image: url(../im/prl_spinpulsate-wh.png);
	background-repeat: no-repeat;
	background-size: 7vh auto;
	background-position: center center;
}

/*cat: dialog*/
#dialog {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	padding: 2rem;
	text-align: center;
	animation-name: fadeIn;
    animation-duration: 0.14s;
    animation-timing-function: ease-out;
    animation-fill-mode: both;
}
#dialog[data-opened=""] {
	display: none;
}
#dialog form[name="dialogform"] {
	display: inline-block;
	text-align: left;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding: 2.14rem 1.6rem;
	color: inherit;
	background-color: var(--bg-color);
	border: solid 1px rgba(255, 255, 255, 0.19);
	border-radius: 0.4rem;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.09);
}
#dialog form .title {
	font-size: 0.9rem;
	line-height: 1.6rem;
	margin-top: -1rem;
	margin-bottom: 0rem;
	margin-left: 0;
	font-weight: 600;
	opacity: 0.5;
}
#dialog form .message {
	font-size: 1.14rem;
	line-height: 1.6em;
	margin-top: 1.4rem;
	margin-bottom: 0rem;
	font-weight: 500;
}
#dialog form .message[data-enable=""]{
	display: none;
}
#dialog form nav {
	text-align: center;
	padding-top: 2.5rem;
	margin: 0 0rem;
}
/**/
#dialog .fieldsets {
	margin-top: 0.8rem;
}
#dialog[data-uitype=""] .fieldsets {
	display: none;
}
#dialog fieldset {
	display: none;
}
#dialog input,
#dialog textarea {
	width: 100%;
	line-height: 1.8em;
}
#dialog[data-uitype="text"] fieldset[data-uitype="text"] {
	display: block;
}
#dialog[data-uitype="select"] fieldset[data-uitype="select"] {
	display: block;
}
#dialog select {
	width: 100%;
	max-width: 100%;
	font-size: 1.04rem;
	font-weight: 500;
	line-height: 1.6em;
}
/**/
#dialog form nav a.bt {
	min-width: 9rem;
	font-size: 1.0rem;
	line-height: 1.7rem;
	padding: 0.7rem 1.8rem;
	padding-left: 2.4rem;
}
@media only screen and (max-width: 640px){
	#dialog form {
		width: 100%;
	}
	#dialog form nav a.bt {
		min-width: none;
		width: 100%;
		display: block;
		padding: 0.7rem 2.4rem;
		margin: 0.5em 0;
		border-radius: var(--ui-bt-radius);
	}
}
#dialog form nav a.bt.only-icn {
	background-position: center center;
}
#dialog form nav a.bt.only-icn::before {
	content: "-";
	visibility: hidden;
	min-height: 1em;
}
#dialog form nav a.apply {
	font-size: 1.04rem;
	color: #fff;
	background-color: var(--cl-apply);
	background-image: url(../im/mrk_check-wh2.svg);
	background-size: 1.1rem auto;
	text-shadow: 0 0 2px var(--cl-apply-textshadow);
}
#dialog form nav a.apply:hover {
	
}
#dialog form nav a.apply.cl-sky {
	color: #fff;
	background-color: #00c4ff;
	text-shadow: 0 0 2px #006cd0;
}
#dialog .notice {
	text-align: center;
	margin-top: 1.5rem;
	margin-bottom: -0.2rem;
	font-size: 0.8rem;
	color: inherit;
	opacity: 0.66;
}
/**/
#dialog[data-enableimage=""] .image {
	display: none;
}
#dialog[data-enableimage="true"] .image {
	float: left;
	width: 160px;
}
@media only screen and (max-width: 640px){
	#dialog[data-enableimage="true"] .image {
		float: left;
		width: 24vw;
		margin-bottom: 1em;
		margin-right: 1.4em;
	}
}
	#dialog .image {
		position: relative;
		z-index: 0;
	}
	#dialog .image::before {
		content: "";
		display: block;
		padding-top: 100%;
	}
	#dialog .image > .im {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
		position: absolute;
		z-index: 5;
		top: 0;
		left: 0;
		border-radius: 0.3rem;
		border: solid 0px rgba(255, 255, 255, 0.53);
	}
#dialog[data-enableimage="true"] .content {
	float: right;
	width: auto;
	padding-left: 1.6rem;
}
#dialog[data-enableimage="true"] form .title {
	margin-top: -0.3rem;
}
@media only screen and (max-width:640px) {
	#dialog[data-enableimage="true"] .content {
		float: none;
		width: auto;
		padding-left: 0rem;
	}
	#dialog[data-enableimage="true"] form .title {
		max-width: 48vw;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}
	#dialog[data-enableimage="true"] form nav {
		clear: both;
		padding-top: 0rem;
	}
}