@charset "utf-8";
/* CSS Document */
* {
	-ms-touch-action: manipulation;
	    touch-action: manipulation;
}
BODY, HTML {
	width:100%;
	height:100%;
}
BODY {
	color:#444444;
	background-color: #7493cb;;
	padding:0px;
	margin:0px;
	font-family: 'Montserrat-Bold', Arial, Helvetica, sans-serif;
	font-weight: normal;
	font-size:13pt;
	overflow:hidden;
	-webkit-text-size-adjust:none;
	touch-action: none;
}
BODY.admin {
	overflow:auto;
	background-color: #EEE;
}
A {
	text-decoration:none;
}
A:link, A:visited {
	color: #7493cb;
}
A:hover {
	color: #003399;
}
DIV {
	-webkit-user-select: none;
}
H1 {
	font-size:xx-large;
	font-weight:bold;
	margin-bottom:20px;
}
SECTION.page {
	position:relative;
	margin:0 auto;
	max-width:768px;
	width:100%;
	height:100%;
	display:none;
	z-index:9;
	pointer-events:auto;
}
SECTION.page.active {
	display:block;
}
SECTION.page:before {
	position:absolute;
	content:"";
	width:100%;
	height:100%;
	background: url(../images/frame.png) no-repeat center center;
	background-size:100% 100%;
	pointer-events: none;
	z-index:999;
}
SECTION.landscape {
	position:fixed;
	top:0;
	left:0;
	width:100% !important;
	height:100% !important;
	max-width:100% !important;
	color:#FFF;
	background-color:#7493cb;
	display:none;
	z-index:10;
}
HR {
	border:none;
	background-color:#FFF;
	height:2px;
	width:80%;
	margin-left:auto;
	margin-right:auto;
}
.wrapper {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	overflow:hidden;
	background-repeat: no-repeat;
	background-position: center;
	background-size:100% 100%;
}
.wrapper.grnd1 {
	background-image: url(../images/grnd_01.jpg);
}
.wrapper.grnd2 {
	background-image: url(../images/grnd_02.jpg);
}
div.logo {
	top:0;
	position:relative;
	margin-top:20px;
	margin-left:20px;
	margin-right:20px;
	text-align:center;
	z-index:4;
}
div.logo img {
	height: 30px;
	width:auto;
}
div.title {
	position:absolute;
	top:0px;
	left:0;
	width:100%;
	z-index:2;
	text-align:center;
}
div.welcome {
	position:absolute;
	top:50%;
	width:100%;
	font-size:x-large;
	text-align:center;
	color:#6c8cc7;
	z-index:3;
	text-shadow: 0px 0px 10px #FFF;
	-webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
         -o-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
}
div.title.hide {
}
div.maincontent {
	position:absolute;
	bottom:15%;
	left:5%;
	width:90%;
	color:#FFF;
	line-height:1.5em;
	z-index:5;
}
div.centercontent {
	position:absolute;
	top:50%;
	left:0;
	width:100%;
	-webkit-transform: translateY(-50%);
       -moz-transform: translateY(-50%);
         -o-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
            transform: translateY(-50%);
	z-index:5;
}
div.introcontent {
	position:absolute;
	left:0;
	bottom:0;
	width:100%;
	background: url(../images/pad_01.png) no-repeat center bottom;
	background-size:100% 100%;
	color:#6c8cc7;
	padding-top:180px;
	padding-bottom:100px;
	line-height:1.5em;
	font-size:smaller;
	z-index:1;
}
.board,
UL.highscore {
	list-style-type:none;
	margin-left:50px;
	margin-right:50px;
	padding:10px;
	color:#6c8cc7;
	background-color:#cadb36;
	border:3px solid #FFF;
	-webkit-border-radius:22px;
	   -moz-border-radius:22px;
	        border-radius:22px;
	-webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.5);
	   -moz-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.5);
	        box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.5);
}
.boardwhite {
	margin-left:50px;
	margin-right:50px;
	padding:10px;
	padding-bottom:80px;
	color:#6c8cc7;
	background-color:#FFF;
	-webkit-border-radius:22px;
	   -moz-border-radius:22px;
	        border-radius:22px;
	-webkit-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.5);
	   -moz-box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.5);
	        box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.5);
}

UL.highscore li {
	background-color:#FFF;
	-webkit-border-radius:12px;
	   -moz-border-radius:12px;
	        border-radius:12px;
	padding:5px 10px;
	margin-bottom:5px;
	overflow:hidden;
	-webkit-user-select: none;
}
UL.highscore li span.name {
	display:block;
	float:left;
	width:calc(100% - 40px);
	overflow:hidden;
	white-space: nowrap;
}
UL.highscore li span.score {
	display:block;
	float:right;
	width:40px;
	text-align:right;
	overflow:hidden;
	white-space: nowrap;
}
FORM.game {
	position:relative;
	margin-left:auto;
	margin-right:auto;
	width:70%;
	z-index:10;
}
.textbox,
FORM.game INPUT[type='password'],
FORM.game INPUT[type='text'] {
	display:block;
	border:5px solid #6c8cc7;
	width: calc(100% - 50px);
	padding:10px 20px;
	margin:0;
	color:#003399;
	background-color:#FFF;
	font-family: inherit;
	font-size: 12pt;
	-webkit-border-radius:22px;
	   -moz-border-radius:22px;
	        border-radius:22px;
	-webkit-font-smoothing: antialiased;
	outline:none;
	pointer-events: auto;
}
.textbox:focus,
FORM.game INPUT[type='password']:focus,
FORM.game INPUT[type='text']:focus {
	border-color: #003399;
}
.button,
FORM.game INPUT[type='button'],
FORM.game INPUT[type='submit'] {
	border:none;
	padding:0;
	margin:0;
	width:170px;
	height:55px;
	background: url(../images/button.png) no-repeat center center;
	background-size: 100% 100%;
	font-family: 'Montserrat-Black', Arial, Helvetica, sans-serif;
	font-size:11pt;
	text-align:center;
	line-height:2em;
	color:#FFF;
	-webkit-font-smoothing: antialiased;
	outline:none;
	pointer-events:auto;
}
.button:hover,
FORM.game INPUT[type='button']:hover,
FORM.game INPUT[type='submit']:hover {
	color:#003399;
}
SPAN.boy {
	position:absolute;
	display:inline-block;
	width:56px;
	height:56px;
	left:-20px;
	top:0px;
	background: url(../images/boy_small.png) no-repeat center center;
	background-size: 100% 100%;
	z-index:1;
}

SPAN.error,
div.message {
	display: block;
	text-align:center;
	color:red;
}
div.boy {
	position:absolute;
	left:0;
	top:50%;
	width:135px;
	height:135px;
	background: url(../images/boy_fly.png) no-repeat center center;
	background-size: 100% 100%;
	z-index:5;
}
div.grndgame {
	position:absolute;
	top:0;
	left:0;
	width:200%;
	height:100%;
	background: url(../images/grnd_game.jpg) left bottom;
	background-size: 100% 100%;
	z-index:1;
}
div.grndearth {
	position:absolute;
	left:0;
	bottom:0;
	width:200%;
	height:147px;
	background: url(../images/pad_02.png) left top;
	background-size: 50% 147px;
	z-index:2;
}
div.gate {
	position:absolute;
	left:100%;
	bottom:147px;
	width:100%;
	height: calc(100% - 147px);
	background: url(../images/gate.png) no-repeat left bottom;
	background-size: 100% 80%;
	z-index:3;
}
div.human {
	position:absolute;
	left:40px;
	top:43px;
	z-index:5;
}
div.human span {
	display:block;
	width:86px;
	height:86px;
	background: url(../images/boy_fly.png) no-repeat center center;
	background-size: 100% 100%;
}
div.cloud {
	position:absolute;
	z-index:4;
}
div.cloud span {
	display:block;
	background-position:center center;
	background-repeat:no-repeat;
	background-size: 100% 100%;
}
div.cloud span,
div.cloud.scale0 span {
	width:126px;
	height:86px;
}
div.cloud.scale1 span {
	width:150px;
	height:102px;
}
div.cloud.scale2 span {
	width:176px;
	height:120px;
}
div.cloud.hit span {
	opacity: 0.5;
}
div.cloud.type0 span {
	background-image: url(../images/piccloud_01.png);
}
div.cloud.type1 span {
	background-image: url(../images/piccloud_02.png);
}
div.cloud.type2 span {
	background-image: url(../images/piccloud_03.png);
}
div.cloud.type3 span {
	background-image: url(../images/piccloud_04.png);
}
div.cloud.type4 span {
	background-image: url(../images/piccloud_05.png);
}
div.timer {
	position:absolute;
	left:30px;
	bottom:30px;
	color:#FFF;
	border:1px solid #FFF;
	padding:4px 5px;
	font-size:x-large;
	-webkit-border-radius:22px;
	   -moz-border-radius:22px;
	        border-radius:22px;
	z-index:5;
	display:none;
}
div.timer.score {
	display:block;
}
div.timer.delay {
	left:auto;
	right:30px;
}
div.life {
	position:absolute;
	left:20px;
	top:30px;
	color:#cadb36;
	width:70px;
	height:70px;
	background: url(../images/boy_small.png) no-repeat center center;
	background-size:100% 100%;
	z-index:3;
}
div.life span {
	position:absolute;
	right:0;
	font-size:x-large;
}
div.question {
	z-index:6;
	display:none;
}
div.question.show {
	display:block;
}
div.question .container {
	margin-left:50px;
	margin-right:50px;
	color:#FFF;
	padding:20px;
	background-color: rgba(139,165,221,0.9);
	border:3px solid #c5d1e9;
	-webkit-border-radius:22px;
	   -moz-border-radius:22px;
	        border-radius:22px;
}
div.question .ask {
	margin-top:10px;
	text-align:center;
}
ul.answer {
	list-style-type:none;
	padding:0;
	margin:0;
}
ul.answer li {
	color:#FFF;
	background-color:#6c8cc7;
	border:3px solid #FFF;
	padding:7px 20px;
	margin-top:20px;
	margin-left:50px;
	margin-right:50px;
	text-align:center;
	-webkit-border-radius:22px;
	   -moz-border-radius:22px;
	        border-radius:22px;
	-webkit-font-smoothing: antialiased;
	outline:none;
	-webkit-user-select: none;
	pointer-events:auto;
}
ul.answer.small li {
	font-size: 9pt;
	margin-left:0px;
	margin-right:0px;
}
ul.answer li.active {
	background-color:#cadb36;
}

SECTION.admin {
	background-color:#FFF;
	font-family:Arial, Helvetica, sans-serif;
	font-size:12pt;
	padding:20px;
	pointer-events:auto;
	-webkit-user-select: auto; /* Safari */
	    -ms-user-select: auto; /* IE 10 and IE 11 */
	        user-select: auto; /* Standard syntax */
}
SECTION.admin * {
	pointer-events:auto;
	-webkit-user-select: auto; /* Safari */
	    -ms-user-select: auto; /* IE 10 and IE 11 */
	        user-select: auto; /* Standard syntax */
}
div.scrollable {
	overflow-x: scroll;
}
TABLE.result {
	width:100%;
	border-spacing: 1px;
	border-collapse:separate;
	font-size:smaller;
	background-color:#999;
}
TABLE.result TR TH {
	font-weight:bold;
}
TABLE.result TR TD {
	padding:5px;
	background-color:#FFF;
}
TABLE.result TR:nth-child(odd) TD {
	background-color: #EEE;
}
TABLE.result TR TH {
	padding:5px;
	background-color: #CCC;
}
TABLE.result TR:last-child TD {
	background-color: #DDD;
}

.tit {
	font-size:xx-large;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color:#6c8cc7;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color:#6c8cc7;
	opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
	color:#6c8cc7;
	opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color:#6c8cc7;
}
::-ms-input-placeholder { /* Microsoft Edge */
	color:#6c8cc7;
}
