html, body {
	width: 100%;
	height: 100%;
}

body {
	min-height: 100%;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	background-color: white;
}

body > header {
	z-index: 100;
	position: fixed;
	top: 0;
	box-sizing: border-box;
	width: 100%;
	padding: 2vmin;
	padding-left: 27vmin;
	font-size: 10vmin;
	background-position: 5vmin center;
	transition: all 0.1s linear 0s;
}

body > header > div.title > span.subtitle {
	font-size: 6vmin;
	transition: font-size 0.1s linear 0s;
}

body > header.small {
	padding-left: 18vmin;
	font-size: 6vmin;
	transition: all 0.1s linear 0s;
}

body > header.small > div.title > span.subtitle {
	font-size: 0vmin;
	transition: font-size 0.1s linear 0s;
}

body > header > button {
	z-index: 2;
	border: none;
	font-size: 0pt;
	font-family: 'Material Icons';
	margin: 0;
	padding: 0;
	width: 8vmin;
	height: 8vmin;
}

body > header > button:after {
	margin: 0;
	width: 6vmin;
	height: 6vmin;
	line-height: 6vmin;
	padding: 1vmin;
	font-size: 6vmin;
}

body > header > button#logout:after {
	content: 'power_settings_new';
} 

body > header > button#login:after {
	content: 'exit_to_app';
} 

body > header > button#createaccount:after {
	content: 'perm_identity';
} 

body > header > div.community {
	position: relative;
	left: 0;
	transform: none;
}

body > header > div.community > h1 {
	font-size: 4.5vmin;
}

body > header.small {
	padding-left: 27vmin;
}

body > header.small > div.community > h1 {
	font-size: 3.5vmin;
}

body > header.small > button {
	display: none;
}

body > main {
	flex: 1;
	overflow: auto;
	padding-top: 13vh;
}

body > footer {
	z-index: 1;
	position: fixed;
	width: 100%;
	bottom: 0;
	margin: 0;
	line-height: 7vmin;
	background-color: white;
	font-size: 6pt;
}

.hide_mobile {
	display: none !important;
}

#frontpage > #header {
	padding: 5px;
	padding-left: 50px;
	font-size: 16pt;
	background-position: 5px center;
}


#frontpage > #header > div.title > .subtitle {
	font-size: 10pt;
}

.choice {
	width: auto;
	font-size: 4vmin;
}

div#maincategories, div#subcategories {
	display: none;
} 

div#content {
	font-size: 12pt;
	padding-bottom: 10vmin;
}

div#content.contentlist {
	margin: 5vmin;
}

.contentlist > ul {
	display: block;
}

.contentlist > ul > li {
	width: auto;
	height: auto;
	min-width: 60%;
	padding-top: 100px;
	background-size: 25vmin;
}

div#content.contentlist > ul > li > div.title {
	font-size: 5vmin;
}

ul.contentindex.muyomi, ol.contentindex.muyomi {
	width: 70vmin;
	height: 70vmin;
	font-size: 4vmin;
	line-height: 110%;
}

.contentindex.muyomi > li {
	width: 30vmin;
	padding-top: 20vmin;
	background-size: auto 15vmin;
	font-size: 10pt;
}

div#content > ul.contentindex {
	font-size: 6vmin;
	max-width: 80%;	
	margin-left: auto;
	margin-right: auto;
}

div#content > ul.contentindex > li {
	padding-top: 20vmin;
	padding-bottom: 5vmin;
	background-size: 18vmin;
	display: block;
	font-size: 6vmin;
}

.contentindex > .title.icon::before {
	font-size: 15vmin;
	top: 6vmin;
}

div#content div.title.descended {
	font-size: 4vmin;
}

div#content div.title.index {
	width: 6vmin;
	height: 6vmin;
	padding: 0;
	margin: 0;
	margin-top: 1.5vmin;
	background-size: contain; 
}

div#content div.title.index.hidden {
	display: block !important;
	opacity: 0;
	width: 0;
	height: 0;
	margin: 3vmin;
	margin-top: 5.5vmin;
}

div#content div.touch > div.marblechart > div.title {
	font-size: 12pt;
}

div.marblechart > div.summary {
	display: flex;
}

div.marblechart > div.summary > div.glassbox.empty {
	display: none;
}

div.marblechart > div.summary > div.glassbox.filled {
	flex:1;
}

div.marblechart > div.summary div.glass {
	height: 100px;
}

div.marblechart > div.summary > div.label,
div.marblechart > div.summary div.glass > div.background,
div.marblechart > div.summary div.glass > div.foreground, 
div.marblechart > div.summary div.glass > div.bottom {
	display: none !important;
} 

div.marblechart > div.summary > div.label.filled {
	display: block !important;
	background-color: #eeeeee;
	width: 100%;
	border-radius: 2px;
	padding: 5px;
}

div.touch > div.marblechart div.glass > div.content > div.marble {
	position: relative;
	margin-left: auto;
	margin-right: auto;
} 

div.myanswer {
	margin-top: 0;
	display: block;
}