/* Copyright (c) 2024 Aviado Inc. All rights reserved. */

html {
	touch-action: manipulation;
}

body {
	font-family: sans-serif;
	color: #181818;
	overflow: hidden;
}

body>div {
	position: relative;
	width: 100%;
}

* {
	margin: 0;
	padding: 0;
	
	box-sizing: border-box;
}

:not(input), input:disabled, input.pulldown {
	user-select: none;
}

input[type=text], input[type=password], select {
	width: 7em;
	height: 2em;
	padding: 0 0.3em;
	vertical-align: middle;
	font-size: 100%;
	border: 1px solid #808080;
	outline: 0;
	background-color: white;
}

.screen {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

#splash img {
	max-width: 100%;
}
.horiz #splash img {
	max-height: 100%;
}

#splash div.login {
	position: absolute;
	left: 0;
	top: 0;
	padding: 0.5em;
}

#splash div.copy {
	position: absolute;
	left: 0.5em;
	bottom: 0.5em;
	font-size: 90%;
}

div.line {
	margin: 0.3em;
}

div.text {
	min-height: 2em;
	padding: 0.3em 0;
}

.error {
	color: red;
}

#splash, #splash img, #splash div {
	opacity: 1;
	transition: opacity 2s ease-in-out;
}

#splash.fade, #splash.fade img, #splash.fade div {
	opacity: 0;
}

#splash button {
	font-size: 95%;
	height: 2.5em;
	width: 7em;
	border: 1px solid #808080;
}

#crash {
	background-color: #030303;
}

#crash>div {
	width: 80%;
	text-align: center;
	font-size: 120%;
	color: red;
}

.cover {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	background-color: rgba(0,0,0,.5);
}

.scrollable {
	overflow-x: hidden;
	overflow-y: auto;
}

.centered {
	position: absolute;
	top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#mopos button.shop {
	font-size: 105%;
	height: 5em;
	width: 9em;
	padding: 0 1em;
	margin: 0.3em;
	line-height: 1.8em;
	border-radius: 0.7em;
}
