/* Login page themed styles */
body {
	background-color: var(--login-body-background);
	color: var(--login-body-text);
	font-size: 16px;
}
h1, h2, h3, h4, h5 {
	padding: 0em;
}
p {
	font-size: 2em;
	line-height: 1.5em;
}

/* Login Styles */
.top-panel {
	height: 4.5em;
	background-color: var(--login-panel-dark-bg);
	padding: 0 2em;
}

.top-panel-cell-row {
	display: table;
	width: 100%;
	height: 100%;
}

.top-panel-cell, .top-panel-cell-wide {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}

.top-panel-cell {
	width: 33%;
}

.top-panel-cell:first-child {
	text-align: left;
}

.top-panel-cell:last-child {
	text-align: right;
}

.top-panel-logo {
	vertical-align: middle;
	max-height: 2em;
}

.top-panel-app-name, .top-panel-login {
	font-size: 1.3em;
	font-weight: 700;
}

.top-panel-app-name {
	color: var(--login-text-white);
	margin-left: 1em;
	vertical-align: middle;
}

.top-panel-login {
	color: var(--login-link-color);
}

.image-background-panel {
	background-image: url('../img/login-background.jpg');
	background-repeat: no-repeat;
	background-size: cover;
	height: 40em;
}

.image-panel {
	position: absolute;
	top: 4.5em;
	left: 0;
	right: 0;
	background-color: var(--login-image-overlay);
	height: 40em;
}

.image-section {
	display: flex;
	position: relative;
	max-width: 80em;
	height: 100%;
	margin: 0 auto;
	padding: 0 1.5em;
	box-sizing: border-box;
}

.image-section-cell {
	width: 100%;
}

.image-section-login {
	position: absolute;
	top: 20%;
	transform: translate(0, -20%);
	max-width: 60%;
	z-index: 1;
}

.image-section-login h1, .image-section-login p {
	color: var(--login-text-white);
}

.image-section-login h1 {
	line-height: 1.5em;
}

.image-section-login p {
	line-height: 1em;
}

.image-section-lookup {
	position: relative;
	bottom: -2.5em;
	margin-top: auto;
}

.image-section-lookup-arrow-container {
	width: 12em;
	height: 12em;
	margin: 0 4% 1em auto;
	background-image: url('../img/image-lookup-arrow.svg');
	background-repeat: no-repeat;
	background-size: 45%;
	background-position: bottom left;
	transform: rotateY(180deg);
}

.image-section-lookup-arrow-text {
	font-size: 1.5em;
	text-align: center;
	color: var(--login-text-white);
	transform: rotateY(180deg) rotate(-33deg);
}

.image-section-lookup-search {
	background-color: #fff;
	border-radius: 0.5em;
}

.image-section-lookup-search form {
	display: table;
	width: 100%;
}

.image-section-lookup-loggedin, .image-section-lookup-loggedin.visible {
	width: 60%;
	background-color: var(--login-panel-dark-bg);
	color: var(--login-text-white);
	border-radius: 0 0 0.5em 0.5em;
	padding: 1.8em 1em;
	text-align: center;
	margin: 0 auto;
	box-sizing: border-box;
	visibility: hidden;
	opacity: 0;
}

.image-section-lookup-loggedin.visible {
	visibility: visible;
	opacity: 1;
	transition: all 0.4s;
}

.image-section-lookup-loggedin-icon, .image-section-lookup-loggedin-text {
	vertical-align: middle;
}

.image-section-lookup-loggedin-icon {
	max-height: 1.5em;
}

.image-section-lookup-loggedin-text {
	font-size: 1.3em;
	margin-left: 0.8em;
}

.lookup-cell, .lookup-cell-wide {
	display: table-cell;
	vertical-align: middle;
	height: 100%;
}

.lookup-cell {
	width: 10%;
}

.lookup-cell-wide {
}

.lookup-search-input {
}

.lookup-search-input input {
	width: 100%;
	border-radius: 0.5em;
}

.error {
	position: absolute;
	bottom: 10em;
	left: 50%;
	transform: translateX(-50%);
	color: var(--login-error-text);
}

.lookup-search-icon {
}

.lookup-search-link {
	background-image: url('../img/icon-lookup-search.svg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: 1.5em;
	color: transparent;
	cursor: pointer;
	width: 100%;
	height: 100%;
	border-radius: 0.5em;
	padding: 0;
}

/* Content panel styles */
.content-panel {
/*	height: 30em;*/
	margin-top: 0;
}
.content-panel:nth-child(odd) {
	background-color: var(--login-body-background);
}

.content-panel:nth-child(even) {
	background-color: var(--login-panel-alt-bg);
}
/* Footer styles */
.footer-panel {
	background-color: var(--login-panel-dark-bg);
	height: 20em;
}

.footer-section {
	display: flex;
	align-items: center;
	position: relative;
	max-width: 80em;
	height: 100%;
	margin: 0 auto;
	padding: 0 1.5em;
	box-sizing: border-box;
}

.footer-logo {
	height: 4em;
}
.footer-logo img {
	height: 100%;
	vertical-align: middle;
}
.footer-logo span {
	font-size: 2em;
	color: var(--login-text-white);
}
.footer-links {
	margin-top: 5%;
	margin-left: auto;
}

.footer-links a {
	font-size: 1.3em;
	font-weight: 700;
	color: var(--login-link-color);
	margin-left: 3em;
}

.cookieConsentVisible, .cookieConsentHidden, #cookieConsent button {
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.cookieConsentVisible, .cookieConsentHidden {
	padding: 2em 4em;
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	box-sizing: border-box;
	display: table;
}
.cookieConsentVisible {
	background-color: var(--login-cookie-overlay);
	color: var(--login-cookie-text);
}
.cookieConsentHidden {
	background-color: rgba(0,0,0,0);
	color: rgba(0,0,0,0);
	visibility: hidden;
}
.cookieConsentHidden button {
	background-color: rgba(0,0,0,0);
	visibility: hidden;
}
.cookieConsentVisible button {
	visibility: visible;
}
.cookieConsentText, .cookieConsentButton {
	display: table-cell;
	vertical-align: middle;
}
.cookieConsentText {
	width: 75%;
	line-height: 1.5em;
}
.cookieConsentText a {
	color: var(--login-text-white);
	text-decoration: underline;
}
.cookieConsentButton {
	text-align: right;
}

/* Theme-aware illustrations - switch src based on theme */
[data-theme="theme-mode-dark"] .illustration-numberlookup {
	content: var(--login-img-numberlookup);
}

[data-theme="theme-mode-dark"] .illustration-contactlist {
	content: var(--login-img-contactlist);
}

[data-theme="theme-mode-dark"] .illustration-laptop {
	content: var(--login-img-laptop);
}
