:root {
	--footer-size: 202px;
}

header {
	padding-top: 30px;
}

header,
#title-card,
.text-block,
#title-card,
.search-page-content {
	max-width: 1080px;
	margin: 0 auto;
}

header {
	justify-content: space-between;
	align-items: flex-end;
}

header,
.nav-buttons {
	display: flex;
}

html,
body {
	height: 100%;
	margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: rgb(204, 102, 51);
	margin: 1rem 0;
}

/* undo styling on auto fill licenses */
li h4 {
	color: black;
}

.hidden {
	display: none;
}

.header-img img {
	max-height: 100px;
	padding-bottom: 15px;
}

.theme-page-wrap {
	min-height: 100%;
	/* Equal to height of footer, accounting for potential margin-bottom of lat child */
	margin-bottom: calc(-1 * var(--footer-size));
}

.nav-buttons {
	justify-content: flex-end;
}

.nav-buttons > div {
	position: relative;
	width: 120px;
	height: 38px;
	text-align: center;
}
.nav-buttons > div:nth-child(1) {
	background-color: rgba(204, 102, 51, 0.9);
}
.nav-buttons > div:nth-child(2) {
	background-color: rgba(204, 102, 51, 0.8);
}
.nav-buttons > div:nth-child(3) {
	background-color: rgba(204, 102, 51, 0.7);
}
.nav-buttons > div:nth-child(4) {
	background-color: rgba(204, 102, 51, 0.6);
}
.nav-content {
	position: absolute;
	bottom: 6px;
	left: 0px;
	width: 100%;
	font-weight: bold;
	font-size: 16px;
	color: white !important;
}

#loginform_new {
	width: 300px;
	padding: 0 15px;
	border-radius: 10px 0 10px 10px;
	top: -5px;
	right: 0;
	display: none;
	background-color: rgb(230, 230, 230);
	z-index: 3;
	position: absolute;
	margin-left: -2px;
	margin-top: 43px;
	text-align: left;
	font-family: HelveticaNeueETW01-45Lt, Helvetica, Arial, sans-serif;
}

#nav-login-button .login-box {
	margin: 5px;
	padding-bottom: 5px;
	display: flex;
	flex-direction: column;
}

#nav-login-button .login-box > * {
	padding-bottom: 3px;
}

#loginform_new input {
	width: 270px;
	margin-left: -2px;
	padding: default;
	border: 0;
	margin-bottom: 6px;
}

#loginform_new input[type="checkbox"]:checked + label:before {
	color: rgb(204, 102, 51);
}

#nav-login-button .login-button {
	margin-left: auto; /* float: right equivalent */
}

#login_submit_btn {
	width: 70px;
	padding: 6px 15px;
}

#nav-login-button .defaultTextActive {
	color: grey;
}

#title-card img {
	width: 100%;
	border-top: solid rgb(204, 102, 51) 5px;
}

.login-box {
	color: rgb(204, 102, 51);
}

.login-box a.button,
.login-box a.button:visited,
.login-box a.button:link,
.search-page-content a.button,
.search-page-content a.button:visited,
.search-page-content a.button:link {
	border-color: rgb(204, 102, 51);
	color: rgb(204, 102, 51);
}

.login-box a {
	color: rgb(204, 102, 51);
}

.login-box a:hover i.fas.fa-sign-in {
	color: white;
}

.login-box a {
	color: rgb(60, 60, 60);
}

.login-box a.button:hover,
.search-page-content a.button:hover {
	color: white;
	background-color: rgb(204, 102, 51);
}

.footer-overlay .content .info {
	width: 700px;
}

.footer-overlay .content .buttons a {
	border: 2px solid #003c71;
	background-color: #003c71;
}

.footer-background {
	height: auto;
}

.theme-footer-bg,
.footer-push {
	height: var(--footer-size);
}

footer.theme-footer-bg {
	position: relative !important;
}

.footer-container {
	max-width: 960px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 30px 0;
}

.footer-container,
.footer-container a {
	color: #ddd;
}

.footer-col-container {
	display: flex;
	justify-content: space-between;
}

.footer-col {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.footer-col.row {
	flex-direction: row;
}

.footer-col h4 {
	color: #f89c1c;
	font-size: 14px;
	margin: 0 0 10px;
}

.footer-col,
.footer-col a {
	font-size: 0.8rem;
}

.footer-col a i {
	color: #f89c1c;
}

#footer-img {
	height: 32px;
}
.footer-col-container.bottom {
	align-items: flex-end;
	margin: 10px 0 0 0;
}
.copyright {
	font-size: 0.6rem;
}

@media only screen and (max-width: 600px) {
	:root {
		--footer-size: 522px;
	}

	.footer-col-container,
	.search-container {
		flex-direction: column;
	}

	.text-block {
		width: 100%;
		padding: 0 20px;
		box-sizing: border-box;
	}

	.search-container > div {
		width: 100vw;
		padding: 0;
	}

	.supplier-contact {
		width: 100% !important;
		display: flex;
	}

	.fa-ul {
		margin: 0 2.5em 0 2em !important;
		text-align: left;
	}

	.fa-ul .fa-li {
		left: -25px;
	}

	header {
		flex-direction: column;
		align-items: flex-start;
	}

	.header-img img {
		max-width: calc(100% - 40px);
		margin-left: 20px;
	}

	.nav-buttons {
		margin-left: auto;
	}

	.footer-col,
	footer .bottom {
		padding: 5px 20px;
	}
}

#our-logo-img {
	display: block;
	margin: 0 auto;
}

.sponsor-logos-container {
	color: #666;
	font-weight: bold;
	width: 100%;
	background-color: #f2f2f2; /* grey */
}

.sponsor-logos-container div {
	padding: 0 20px;
}

.sponsor-logos-container div.sponsor-heading {
	padding-top: 25px;
	margin: 0 auto;
	text-align: center;
}

.sponsors {
	max-width: 600px;
	padding-top: 25px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
}

@media only screen and (max-width: 600px) {
	.sponsors {
		flex-direction: column;
	}
}

.sponsor-logo-holder {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.sponsor-logo-holder img {
	max-width: 150px;
}

.managed-by {
	margin: 0 auto;
	width: fit-content;
}

.managed-by.heading {
	margin-top: 30px;
}

.managed-by.image img {
	max-width: 500px;
	width: 100%;
}

h3 a {
	color: rgb(204, 102, 51);
	margin: 1rem 0;
	font-size: 24px;
	line-height: 1.4;
	letter-spacing: 0px;
}

h3 a:hover {
	color: rgb(204, 102, 51);
}

.footer-overlay .content .buttons a {
	border: 2px solid #1b5753;
	background-color: #1b5753;
}

.footer-overlay .content {
	background-color: #588785;
}


.footer-overlay .content .info a{
	width: auto;
}

.wizard-progress li.selected a {
	background: #1b5753;
}

.wizard-progress li.selected a:after {
	border-left-color: #1b5753 !important;
}

.wizard-progress li a {
	color: white;
	color: #1b5753;
}

a.button_solid_green {
	border: 2px solid #1b5753;
	background-color: #1b5753;
}

a.button_solid_green:hover, .footer-overlay .content .buttons a:hover{
	background: #123b38;
}
