:root {
    --theme-primary: hsl(199deg 100% 34%);
    --theme-primary-light: hsl(199deg 100% 43%);
}

html, body, div, span, h1, h2, h3, p, em, b, i, input {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 16px;
}

body {
	background-color: #fff;
	color: #111;
	font-family: -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
	text-rendering: optimizelegibility;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	font-feature-settings: "liga", "kern";
	margin-bottom: 16px
}

p {
	margin: 16px 0;
	line-height: 1.4
}

h1 {
	margin: 16px 0;
	font-size: 25px;
	color: var(--theme-primary);
	font-weight: normal
}

a, a:link, a:visited, a:active, a:hover {
	text-decoration: none;
	color: var(--theme-primary);
}

a:hover {
	text-decoration: underline;
}

#header {
	background-color: rgba(45, 45, 45, 0.98);
	z-index: 9999;
	display: block;
	color: #fff;
	line-height: 18px;
}

#header a, #header a:link, #header a:visited, #header a:active, #header a:hover {
	text-decoration: none;
	color: #fff;
	cursor: default
}

#header-content {
	margin-right: auto;
	margin-left: auto;
	width: 640px;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
}

#header-content>div {
	padding: 14px 8px
}

.expandable {
	flex: 1 1 auto
}

.header-icon {
	height: 18px;
	vertical-align: text-top
}

#logout-menu {
	background-color: #A00
}

.form-div {
	margin: 60px auto;
	width: 360px;
	display: block;
	color: #333;
	padding-top: 1px;
	border-width: 0;
	background-color: #f5f5f5;
	box-sizing: border-box;
	box-shadow: 0 0 40px 0px rgba(0, 0, 0, 0.4)
}

.form-row {
	margin: 16px;
}

.form-label {
	user-select: none;
}

input.field {
	-webkit-appearance: none;
	width: 100%;
	color: #333;
	font-size: 16px;
	margin: 0;
	padding: 8px;
	border-width: 1px;
	border-style: solid;
	border-color: #ddd;
	-moz-border-colors: none;
	box-sizing: border-box;
	border-radius: 0;
	font-family: -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

.code-field {
	letter-spacing: 2px;
}

input.field:focus, input.field:hover {
	border: 1px solid #bbb;
	box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1)
}

.submit-button {
	display: inline-block;
	text-align: center;
	font-weight: bold;
	font-family: -apple-system, BlinkMacSystemFont, Arial, sans-serif;
	user-select: none;
	cursor: default;
	-webkit-appearance: none;
	-webkit-align-items: flex-start;
	border: 0;
	color: #fff;
	vertical-align: bottom;
	padding: 16px 24px;
	line-height: 22px;
	font-size: 16px;
	font-style: normal;
	font-variant: normal;
	-moz-osx-font-smoothing: auto;
	-webkit-font-smoothing: auto;
	background-color: var(--theme-primary);
	background-image: -webkit-linear-gradient(top, var(--theme-primary-light), var(--theme-primary));
	background-image: -moz-linear-gradient(top, var(--theme-primary-light), var(--theme-primary));
	background-image: -ms-linear-gradient(top, var(--theme-primary-light), var(--theme-primary));
	background-image: -o-linear-gradient(top, var(--theme-primary-light), var(--theme-primary));
	background-image: linear-gradient(var(--theme-primary-light), var(--theme-primary));
}

.submit-button:hover, .submit-button:focus {
	background-image: none;
	background-color: var(--theme-primary-light);
}

.submit-button:disabled {
	background-image: none;
	background-color: #919191;
}

.flex-button {
	display: inline-block;
	text-align: right;
	padding: 16px;
	line-height: 22px;
	font-size: 16px;
	flex: 1 1 auto;
}

.flex-button a, .flex-button a:link, .flex-button a:visited, .flex-button a:active, .flex-button a:hover
	{
	text-decoration: none;
}

.submit-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap
}

.form-field {
	display: flex;
	margin: 8px 0px;
}

.form-field>.field {
	flex-grow: 1
}

.form-field>span {
	padding: 9px 8px 9px 0;
	font-size: 16px;
	color: #666;
}

#logo {
	display: block;
	margin: 50px auto;
	width: 350px
}

.error {
	color: #b83a00;
}

.hint {
	width: auto;
	color: #555;
}

.pre-wrap {
	white-space: pre-wrap;
}

.pin {
	font-weight: bold;
	font-size: large;
	color: #000;
}

.container {
	width: 640px;
	box-sizing: border-box;
	margin: 0 auto;
}

.padded {
	padding-left: 8px;
	padding-right: 8px;
}

@media only screen and (max-width:650px) {
	#logo {
		margin: 30px auto;
	}
	.container, #header-content {
		width: 100%;
	}
}

@media only screen and (max-width:500px) {
	.form-div {
		width: 100%;
		box-shadow: none;
		margin: 30px auto;
	}
	.form-row {
		margin: 16px 8px;
	}
.flex-button {
padding: 16px 8px;
}
	.shrinkable {
		display: none !important;
	}
}

@media only screen and (max-width:400px) {
	#logo {
		width: 85%;
	}
}
