a:link {
	text-decoration: none;
	color: #003e51;
}
a:visited {
	text-decoration: none;
	color: #003e51;
}
a:hover {
	text-decoration: underline;
	color: #a3aa83;
}
a:active {
	text-decoration: underline;
	color: #a3aa83;
}

html, body {
	margin: 0px; padding: 0px;
	text-align: left;
	background-color: #dad7d0 !important;
}

.mstr-page-login #mstrWebContents {
	background: #dad7d0 !important;
}

/* Full-width compact header using flex — title stays on one line */
#header {
	background-color: rgb(46,100,93);
	width: 100%;
	min-height: 45px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 8px 25px;
	box-sizing: border-box;
	position: relative;
	z-index: 2;
}

#headertext {
	color: rgb(255,255,255);
	font-family: 'Poppins';
	font-size: 20px;
	font-weight: normal;
	white-space: nowrap;
	margin: 0;
	padding: 0;
	line-height: 1.2;
}

#header_links {
	white-space: nowrap;
}

#middle {
	position: relative;
	width: 1109px;
	height: auto;
	min-height: 452px;
	z-index: 3;
	margin: 120px auto 0 auto;
	background-color: transparent;
}

#login_banner {
	text-align: center;
	line-height: 0;
}

#login_box {
	position: absolute;
	width: 268px;
	height: auto;
	min-height: 147px;
	overflow-x: hidden;
	z-index: 6;
	left: 212px;
	top: 115px;
	background-color: transparent;
	padding-bottom: 12px;
}

#logintitle {
	font-size: 14pt;
	font-weight: bold;
	color: rgb(255,255,255);
	font-family: 'Poppins';
	margin: 0;
	padding: 0 0 8px 0;
	line-height: 1.2;
}

#footer {
	position: relative;
	width: 1109px;
	height: 60px;
	z-index: 4;
	margin: 15px auto;
	background-color: transparent;
}

#logo {
	position: absolute;
	width: 146px;
	height: 51px;
	z-index: 5;
	left: 0px;
	top: 5px;
}

#footer_links {
	position: absolute;
	width: 464px;
	height: 30px;
	z-index: 10;
	right: 0px;
	top: 10px;
	text-align: right;
}

.bodytext {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #685745;
}

.checkbox {
	font-family: 'Poppins';
	font-size: 9px;
	font-weight: normal;
	color: #003e51;
	line-height: 15px;
}

.header_link_text {
	font-family: 'Poppins';
	font-size: 10px;
	font-weight: normal;
	color: #FFFFFF !important;
	line-height: 16px;
}

.footer_link_text {
	font-family: 'Poppins';
	font-size: 11px;
	font-weight: normal;
	color: #685745;
	line-height: 11px;
}

.footer_text {
	font-family: 'Poppins';
	font-size: 10px;
	font-weight: normal;
	color: #685745;
	line-height: 10px;
}
#mstrFooterWrapper, .mstrFooterWrapper {
	padding: 0 !important;
}

/* MSTR renders .mstrError before #header in the DOM; use fixed positioning to
   place the login error below the custom teal header, left-aligned. */
.mstr-page-login .mstrError {
    position: fixed !important;
    top: 65px !important;
    left: 20px !important;
    margin: 0 !important;
}
