body {
	height: 100%;
	background-color: #ffffff;
	margin: 0;
	padding: 0 2em;
}

body, body:not(#index) {
	min-width: 320px;
}

label, input[type='submit'] {
	font-family: Heading, "Trebuchet MS", Helvetica, sans-serif;
	font-size: 1.25em;
	font-weight: normal;
	letter-spacing: -0.05em;
}

.container {
	max-width: 420px;
	margin: 0 auto;
}

#font-size-buttons-container {
	position: relative;
	height: 0;
}

#font-size-buttons {
	display: block;
	margin: 0 auto;

	height: 44px;
	width: 110px;
	
	position: fixed;
	left: auto; 
	top: 20px;
}

@media only screen and (min-width: 769px) {
	#font-size-buttons {
		right: calc(50% - (768px * 0.5) + 20px);
	}
}

@media only screen and (max-width: 768px) {
	#font-size-buttons {
		right: 20px;
	}
}

#font-size-buttons > div {
	display: flex;
	justify-content: center;
}

#font-size-buttons a {
	display: block;
	width: 54px;
	height: 45px;
}


/* ---- everything below this line is legacy styles and may need updating, above the line is ELLIC specific layout ----*/
/* ---- move items above this line, if they have been updated to match correct styling ----*/

label {
	margin-bottom: 0.5em;
	display: block;
	width: auto;
	color: var(--text-dark);
}

label span {
	display: block;
	margin-bottom: 0.2em;
}

input.form-control {
	border-radius: 0px;
	box-shadow: none;
	height: auto;
	border: 1px solid #bce0fc;
	background-color: #f2f9fe;
	color: var(--text-dark);
	padding: 12px 16px;
}

input.form-control:autofill,
input.form-control:-webkit-autofill {
	color: var(--text-dark);
}

input.form-control::placeholder {
	color: #bce0fc;
}

input[type='submit'], .ellic-form button {
	border: none;
	height: 44px;
	width: 200px;
}
 
.btn, .btn-primary,
input[type='submit'], .ellic-form button
input[type='submit']:active, .ellic-form button:active,
input[type='submit']:hover, .ellic-form button:hover,
input[type='submit']:focus, .ellic-form button:focus,
input[type='submit']:visited, .ellic-form button:visited {
	color: white;
	background-color: #005c31;
	border-radius: 5px;
}

#btn-login {
	width: 110px;
	height: 44px;
	border: none;
	margin-left: 30px;
}

.ellic-form {
	display: block;
	margin-bottom: 2em;
}

.ellic-form-row {
	display: block;
	margin: 1em 0 1em 0;
}

.ellic-form-footer {
	display: block;
	height: 50px;
	width: 100%;
	margin-top: 3em;
}

.ellic-form-footer p {
	font-size: 90%;
	height: 100%;
	margin: 0 140px 0 0;
	padding-top: 0.5em;
}

.ellic-form-footer input[type='submit'] {
	margin: -50px 0 0 0;
	padding: 0;
	display: block;
	float: right;
}

#form-container-header {
	margin-bottom: 50px;
}

#logo, #logo img {
	display: block;
	border: none;
	width: 120px;
}

#logo {
	margin: 50px auto;
}

#bottom-spacer {
	display: block;
}

.message {
	padding: 15px;
	background: #EEEEEE;
	border: solid 1px #FFFFFF;
	border-radius: 0px;
	color: #000000;
	line-height: 22px;
}

.message p {
	margin: 0
}

@media only screen and (min-width: 769px) {
	/* #font-size-buttons-container {
		position: absolute;
		
		min-width: auto;
		width: 116px;
		padding: 0;

		top: 50px;
		right: 50px;
		left: auto;
		bottom: auto;
	}

	#font-size-buttons {
		background-image: url('../img/text-size-buttons-bg-rect.svg');
		width: 116px;
		height: 43px;
		line-height: 43px;
	}

	#font-size-buttons > div {
		top: 9px;
	} */

	#bottom-spacer {
		height: 43px;
	}
}

@media only screen and (max-width: 768px) {
	/* #font-size-buttons-container {
		position: fixed;

		min-width: 320px;
		top: auto;
		right: 0;
		left: 0;
		bottom: 0;
		border-radius: 100% 100% 0 0;
	}

	#font-size-buttons {
		background-image: url('../img/text-size-buttons-bg-round.svg');
		width: 132px;
		height: 55px;
		line-height: 55px;
		bottom: 0;
	}

	#font-size-buttons > div {
		top: 20px;
	} */

	#bottom-spacer {
		height: 55px;
	}
}