*{
	font-family: "sans-serif";
	margin: 0; 
	padding: 0;
	position: absolute;
  -webkit-tap-highlight-color:rgba(0,0,0,0);
}
body{background: black;}
stage{overflow: hidden;}
stage, layer, img{display: block;}
span{position:relative; display: inline-block;}
table, table *{position:relative;}
#game-stage{
	position: absolute;
	overflow: hidden;
}
#game-stage #effect-layer{z-index:3000;}
#game-stage #effect-layer, #game-stage layer, #game-stage group{
	position:absolute;
	width: inherit;
	height: inherit;
	left: 0;
	top: 0;
}
loading{
  position:absolute;
  left:0;
  top:0;
  display:block;
  width:inherit;
  z-index:9999;
  height:inherit;
  background:rgba(0,0,0,0.7);
}
chara{
	position:absolute;
	display:block;
}

expression{
	position:absolute;
	display:block;
	width: inherit;
	height: inherit;
	left: 0;
	top: 0;	
}

.cg-wrap,.save-wrap,.load-wrap,.settings-wrap{
	position: relative;
	width: 100%;
	height: 100%;
	overflow-y: auto;
	overflow-x: hidden;
	text-align: center;
	padding:3% 7%;
	box-sizing: border-box;
}


.nav-btn{
	display: table;
	text-align: center;
}
.nav-btn div{
	vertical-align: middle;
	position: relative;
	display: table-cell;
}
#ui-dialog-content, #ui-dialog-speaker{
  display: none;
}
.choice a{text-decoration: none; color: inherit; position:relative; display:inline-block; width:100%;}
.test-btn{
	position:relative;
	width:100px;
	height:30px;
}

.gray { 
    -webkit-filter: brightness(.7);
    -moz-filter: brightness(.7);
    -ms-filter: brightness(.7);
    -o-filter: brightness(.7);
    filter: brightness(.7);
}

.shake-animation
{
    animation:shake 0.05s ease 0s infinite forwards;
    -moz-animation:shake 0.05s ease 0s infinite forwards;
    -webkit-animation:shake 0.05s ease 0s infinite forwards;
    -o-animation:shake 0.05s ease 0s infinite forwards;
}

@-moz-keyframes shake
{
    0%{margin-left:-4px;}
    50%{margin-left:4px;}
    100%{margin-left:-4px;}
}
@-webkit-keyframes shake
{
    0%{margin-left:-4px;}
    50%{margin-left:4px;}
    100%{margin-left:-4px;}
}

@keyframes shake
{
    0%{margin-left:-4px;}
    50%{margin-left:4px;}
    100%{margin-left:-4px;}
}
@-o-keyframes shake
{
    0%{margin-left:-4px;}
    50%{margin-left:4px;}
    100%{margin-left:-4px;}
}