@import url("./theme.css");

.FormCard__card {
	max-width: 100vw;
	min-width: 30rem;
	background-color: #fff;
	color: #000;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	padding: 3rem;
	min-height: 100%;
	color: #000;
	box-shadow: 5px 0px 20px 0px rgba(0, 0, 0, 0.4);
	z-index: 1;
}
@media screen and (max-width: 1023px) {
	.FormCard__card {
		min-width: 0;
		border: none;
		border-radius: 0;
		box-shadow: none;
		padding: 1rem;
	}
}
.FormCard__card form {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.FormCard__card form small {
	width: 100%;
}
.FormCard__card form :first-child {
	margin-top: 0;
}
.FormCard__card h1,
.FormCard__card h2,
.FormCard__card h3,
.FormCard__card h4,
.FormCard__card h5,
.FormCard__card h6 {
	font-weight: 100;
	text-align: center;
}
@media screen and (max-width: 1023px) {
	.FormCard__card h1 {
		margin-top: 0;
	}
}

.FormCard__cardHeader {
	display: flex;
	width: 100%;
}

.FormCard__cardContent {
	width: 100%;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.FormCard__cardBody {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	align-self: center;
	flex-grow: 1;
}

.FormCard__cardFooter {
	width: 100%;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	color: #777777;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.FormCard__cardFooter > * {
	margin: 0.5rem;
}

.FormCard__inputGroup {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	margin: 1.5rem 0 1.5rem 0;
}
@media screen and (max-width: 1023px) {
	.FormCard__inputGroup {
		width: 100%;
	}
}
.FormCard__inputGroup > p {
	width: 100%;
}
.FormCard__inputGroup label {
	display: flex;
	flex-direction: column;
	width: 100%;
}
.FormCard__inputGroup label > input[type="text"],
.FormCard__inputGroup label input[type="password"] {
	border-radius: 0;
	margin-top: 0.5rem;
	line-height: 2rem;
	font-size: 1.2rem;
	width: 100%;
	border: none;
	border-bottom: 1px solid #000;
	box-sizing: border-box;
	padding-left: 0.25rem;
}
.FormCard__inputGroup label > input[type="checkbox"] {
	display: flex;
}
.FormCard__inputGroup label a {
	float: right;
}

label + input[type="checkbox"] {
	display: block;
}

.FormCard__actionGroup {
	display: flex;
	flex-direction: column;
	width: 100%;
	align-items: center;
}

.FormCard__logo {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	width: 100%;
	margin-bottom: 2rem;
}
.FormCard__logo img {
	display: flex;
	max-height: 7rem;
	max-width: 100%;
}
@media screen and (max-width: 1023px) {
	.FormCard__logo img {
		max-height: 5rem;
	}
}

.FormCard__message {
	border-radius: 0.25rem;
	padding: 0.25rem;
	border: 1px solid;
	margin-bottom: 1rem;
	width: 100%;
}
.FormCard__message.FormCard__danger {
	border-color: darkred;
	color: darkred;
	background-color: #fff0f0;
}

/**
 * Determine whether to use dark or light text on top of given color.
 */
.Authenticate__authPage {
	display: flex;
	flex-direction: row;
	justify-content: flex-end;
	min-height: 100vh;
	height: auto !important;
	background-image: url("../images/guest_landing_background.jpg");
	background-size: cover;
}
@media screen and (max-width: 1023px) {
	.Authenticate__authPage {
		align-items: flex-start;
		min-height: 100%;
	}
}

.Authenticate__welcome {
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex-grow: 1;
	padding: 3.5rem;
	color: #fff;
	background: linear-gradient(
		150deg,
		rgba(232, 150, 74, 0.9),
		rgba(90, 50, 12, 0.9)
	);
}
.Authenticate__welcome h1,
.Authenticate__welcome h2,
.Authenticate__welcome h3 {
	margin: 1rem 0;
}
.Authenticate__welcome h1 {
	font-weight: 700;
	font-size: 5rem;
}
.Authenticate__welcome h2 {
	font-weight: 300;
	font-size: 3rem;
}
.Authenticate__welcome h3 {
	font-weight: 100;
	font-size: 1.25rem;
}
@media screen and (max-width: 1023px) {
	.Authenticate__welcome {
		display: none;
	}
}

body {
	font-family: "Public Sans", arial, sans-serif;
	font-weight: 400;
	margin: 0;
	background: #fff;
	color: #000;
	line-height: 1.2;
}
@media screen and (max-width: 800px) {
	body {
		background-image: none;
		background-color: #fff;
	}
}
@media screen and (orientation: landscape) {
	body {
		padding-left: env(safe-area-inset-left);
		padding-right: env(safe-area-inset-right);
	}
}

h1 {
	font-size: 36px;
}

h2 {
	font-size: 30px;
}

h3 {
	font-size: 24px;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
	/* IE10+ CSS styles go here */
	body {
		display: flex;
		flex-direction: column;
	}
	#root {
		display: flex;
		flex-direction: column;
	}
}
