/* Main container for auth pages */
#auth {
	width: 100%;
	min-height: 405px;
	box-sizing: border-box;
	background: #FFF;
	border-radius: 5px;
	font-family: 'Titillium Web', sans-serif;
}

#auth .pages {
	display: flex;
	flex-wrap: nowrap;
	width: 100%;
	box-sizing: border-box;
	overflow: hidden;
}

#auth .page {
	display: flex;
	flex-direction: column;
	position: relative;
	flex-grow: 1;
	flex-shrink: 0;
	width: 100%;
	box-sizing: border-box;
	left: 0;
	transition: left .5s;
}

#auth .page h2 {
	margin: 0;
	padding: 0;
	text-align: center;
}

#auth .page .message {
	margin: 1em 0 0 0;
	padding: 0;
}

#auth .page .message.error {
	color: #EC4949;
    font-weight: 700;
    text-align: center;
    font-size: 1.2em;
}

#auth .page fieldset {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	border: none;
}

#auth .page fieldset .error {
	color: red;
}

#auth .page fieldset input {
	margin: .25em 0 1em 0;
	padding: .5em .5em;
	background: none;
	border: none;
	border-bottom: solid 1px #333;
	outline: none;;
}

#auth .page button {
	cursor: pointer;
}

#auth .page button.primary {
	align-self: center;
	position: relative;
	width: 200px;
	margin-top: 2.5em;
	padding: .5em 1em;
	background: none;
	border-radius: 5px;
	border: solid 1px #2da4a8;
	color: #2da4a8;
	font-weight: bold;
}

#auth .page button.primary:hover {
	background: #2da4a8;
	color: #FFF;
}

#auth .page fieldset button.password-reset-button {
	align-self: flex-end;
	width: auto;
	background: none;
	border: none;

	font-size: 0.8em;
	text-transform: uppercase;
	font-weight: 700;
	color: #999;
}
#auth .page fieldset button.password-reset-button:hover {
	color: #000;
}

#auth .page button.primary.loading {
	border-color: #CCC;
	color: #CCC;
}

#auth .page button.primary.loading::after {
	content: " ";
	width: 10px;
	height: 10px;
	border-radius: 1em;
	position: absolute;
	top: calc(50%);
	right: 10px;
	border-width: 1px 2px 0 0;
	border-style: solid;
	border-color: #CCC;
	animation: mymove .75s linear;
	animation-iteration-count: infinite;
}

#auth .page button.primary.loading:hover {
	background: #FFF;
	border-color: #CCC;
	color: #CCC;
}

@keyframes mymove {
	0% { transform: translateY(-50%) rotate(0turn);}
	100% { transform: translateY(-50%) rotate(1turn); }
  }