
/*** Special classes for user interfaces on mobile devices (generator and input pages) ***/

:root {

	--global-font-size: 			20px;

}

/*** Basic layout ***/

body {
	position: relative;
	background: white;
	overflow: hidden;
}

.mobile-page {
	background: white;
}

#blocked-area {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	color: var(--footer-color);
	background: var(--footer-backgnd);
}

#blocked-message {
	position: absolute;
	left: 50%;
	top: 50%;
 	transform: translate(-50%, -50%); 
	width: 80%;
	font-size: 2rem;
	text-align: center;
}

#blocked-icon {
	width: 12rem;
}


.mobile-page {
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 1em 2em;
	overflow: hidden;
}

.mobile-page h1 {
	margin: 0.2em 0 0.8em 0;
	font-size: 1.4em;
}

.mobile-page p, .mobile-page table {
}

.mobile-page td {
	padding: 0.5em 0;
}

.mobile-page td:first-of-type {
	padding-right: 1em;
}

.mobile-page .button, body[data-device='phone'] .button {
	font-size: 120%;
	padding: 0.5em 0.8em;
}


/*** Menus ***/

.mobile-page .menu-button {
	display: block;
	max-width: 20em;
	margin: 0.5em auto;
	text-align: center;
}


