html, body {
	margin: 0;
	border: 0;
	padding: 0;
}

body {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	font-family: Tahoma;
}

.address, .address + br {
	display: none;
}

div.finder {
	display: none;
}

.title {
	display: block;
    font-size: 1.6em;
    color: #31bad4;
    margin: 10px 0 20px 0;
    text-align: center;
}

span.title-sm {
    display: block;
    font-size: 1em;
    color: #31bad4;
    margin-top: 0px;
}

label.address, input[name=er-] {
    height: 30px !important;
    margin: 0;
}

input, select {
	margin: 2px 0;
	height: 30px;
	vertical-align: middle;
}

div.row > div > div label, 
div.row.no-gutters > div label {
	display: block;
	height: 20px;
	font-size: .8em;
	margin: 0;
}

header, footer {
	margin: 10px auto;
	margin-bottom: 0;
	max-width: 755px;
	text-align: center;
	padding-bottom: 0;
}

.container {
    background: #e8f7fa;
    padding: 10px;
    box-sizing: border-box;
    max-width: 755px;
}

header.container {
	padding-bottom: 0;
}

div.row {
    margin: 0;
}

div.ribbon {
	width: 200px;
	background: #31BAD4;
	position: fixed;
	top: 25px;
	right: -50px;
	left: auto;
	transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	text-align: center;
	line-height: 50px;
	letter-spacing: 1px;
	color: #f0f0f0;
	font-size: 2em;
}

input[type=text], select {
	width: 100%;
	height: 34px;
	padding: 4px 14px;
	border: 1px solid #31BAD4;
	-webkit-appearance: none;
	appearance: none;
}

select {
    background-image: url(/images/down-arrow.png);
    background-size: 8px 4px;
    background-position: right 5px center;
    background-repeat: no-repeat;
}

.top-space {
	margin-top: 10px !important;
}

.top-space-md {
	margin-top: 15px !important;
}

.top-space-lg {
	margin-top: 20px !important;
}

span.lookup {
    width: 80px;
    padding: 6px;
    height: 34px;
    background: #31BAD4;
    text-align: center;
    color: white;
    display: inline-block;
    margin-left: 4px;
    vertical-align: bottom;
    margin-bottom: 2px;
    cursor: pointer;
}

#er-postcode {
    width: calc(100% - 84px);
    display: inline-block;
}

input.md {
	width: 50% !important;
	min-width: 200px;
}

.margin-left {
	margin-left: 20px;
}

span.paragraph {
	display: block;
}

input[type=radio] + label {
	margin-bottom: 0;
}

input[type=radio] {
	height: auto;
}

div#ee-questions > div:first-of-type {
	margin-bottom: 2px;
}

div#ee-questions > div:not(:first-of-type):not(:last-of-type) {
	margin: 2px 0;
}

div#ee-questions > div:last-of-type {
	margin-top: 2px;
}

.success-title {
	text-align: center;
	margin: 30px 0;

}

.success-text {
	font-size: 1.6em;
	margin: 30px 0;
	text-align: center;
}

input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    width: 80px;
    padding: 6px;
    height: 34px;
    background: #31BAD4;
    text-align: center;
    color: white;
    display: inline-block;
    vertical-align: bottom;
    cursor: pointer;
	margin: 0;
}

span.paragraph {
	color: black;
	font-size: .9em;
}

div.flex {
	display: flex;
	margin-top: 20px;
}

div.flex > input {
	margin: 0;
	margin-right: 10px;
}

div.error {
	background: pink;
	padding: 2px 10px;
	color: red;
	border: 1px solid;
	margin-top: 4px;
	text-align: center;
}

input[readonly] {
	background: none;
	border: none;
	padding: 0;
	outline: none;
}

a.clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: rgb(170, 0, 0);
	float: right;
	height: 34px;
	vertical-align: middle;
	margin: 2px;
	margin-right: 10px;
}

input.missing,
select.missing,
textarea.missing {
	background-color: pink;
	border-color: red;
	color: red;
}

select.missing {
	background-image: url(/images/down-arrow-missing.png);
}

div.missing {
	color: red;
}

noscript, .noscript {
    box-sizing: border-box;
    max-width: 755px;
    display: block;
    margin: 0 auto;
    text-align: center;
}

div.body-content {
	width: 100%;
}

h1 span.fa-check-circle {
	color: rgb(0, 170, 0);
	font-size: 2em;
}

.float-left {
	float: left;
}

.text-right {
	text-align: right;
}

.clearfix {
	clear: both;
}

header.container {
	background: none;
	padding-bottom: 10px;
}

.no-gutters {
	padding: 0;
}

.align-gutters {
	margin: 0 calc(var(--bs-gutter-x)/-2) !important;
}

#actions {
	margin-top: 8px;
}