/* ---------------------------------- */
/* Layout, float the footer */
html, body {
	height: 100%;
	display: flex;
	min-height: 100vh;
	flex-direction: column;
	margin: 0px;
	font-family: AvenirLT-Book, sans-serif;
}

:focus-visible {
	outline: 2px solid black;
	border-radius: 2px;
}

.layout-main {
	flex: 1;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	text-align: center;
	min-height: 400px;
	padding-bottom: 10px;
	overflow: auto;
}

.layout-main-inner {
	display: inline-block;
	width: 450px;
}

div.layout-main-top{
	display: none;
}

div.layout-main-bottom{
	display: none;
}

/* ---------------------------------- */
/* Header */
.social_icons {
	border-spacing: 0px 0px;
	color: rgb(255, 255, 255);
	float: right;
	line-height: 20px;
	margin-right: 30px;
	margin-top: 20px;
}

.social_icons a {
	background-color: rgb(200, 200, 200);
	border-radius: 4px;
	display: inline-block;
	height: 25px;
	width: 25px;
	line-height: 40px;
	margin-right: 10px;
	margin-top: 10px;
	text-align: center;
	transition-delay: 0s;
	transition-duration: 0.4s;
	transition-property: all;
	transition-timing-function: ease-in-out;
}

.social_icons a:hover {
	background-color: rgb(98, 149, 153);
	border-radius: 4px;
}

.social_icons a i {
	color: rgb(255, 255, 255);
	font-family: FontAwesome;
	font-size: 20px;
	font-style: normal;
	font-weight: 400;
	line-height: 5px;
	position: relative;
	text-align: center;
	top: 10px;
}

/* ---------------------------------- */
/* Main */
.welcome {
	text-indent: -99999px;
	text-align: left;
	color: rgb(98, 149, 153);
	display: block;
	font-size: 50px;
	height: 109px;
	width: 371px;
	clear: both;
	margin-top: 2px;
}

.layout-main input[type=submit] {
	background-color: rgb(98, 149, 153);
	border-color: rgb(98, 149, 153);
	border-radius: 4px;
	border-style: solid;
	border-width: 1px;
	color: rgb(255, 255, 255);
	display: block;
	float: left;
	font-size: 16px;
	line-height: 19px;
	margin-top: 5px;
	margin-right: 10px;
	padding-bottom: 12px;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 12px;
	position: relative;
	text-decoration: none;
	transition-delay: 0s;
	transition-duration: 0.4s;
	transition-property: all;
	transition-timing-function: ease-in-out;
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
	-o-transition: .5s;
	-ms-transition: .5s;
	-moz-transition: .5s;
	-webkit-transition: .5s;
	/* ...and now for the proper property */
	transition: .5s;
}

.layout-main input[type=submit]:hover {
	background-color: #fbb031;
	border-color: #fbb031;
}

.nav-link {
	color: rgb(98, 149, 153);
	float: right;
	font-size: 14px;
	line-height: 20px;
	margin-top: 20px;
	text-decoration: none;
}

.nav-link-center {
	float: left;
}

.nav-link:hover {
	/*color: #fbb031;*/
	text-decoration: underline;
}

.login-label { /*hide the labels in browsers that support placeholder */
	display: none;
}

.layout-main input[type=text], .layout-main input[type=password] {
	background-color: rgb(242, 242, 242);
	border-left-color: rgb(98, 149, 153);
	border-left-width: 5px;
	border-right-width: 0px;
	border-top-width: 0px;
	border-bottom-width: 0px;
	border-left-style: solid;
	border-right-style: none;
	border-top-style: none;
	border-bottom-style: none;
	clear: both;
	color: rgb(51, 51, 51);
	display: block;
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 17px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	padding-bottom: 18px;
	padding-left: 15px;
	padding-right: 15px;
	padding-top: 18px;
	width: 450px;
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
}

.layout-main p {
	margin-bottom: 12px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 12px;
	text-align: left;
	font-size: 12px;
	line-height: 16px;
	width: 450px;
	color: rgb(51, 51, 51);
}

.small_title {
	text-align: left;
	border-spacing: 0px 0px;
	color: rgb(98, 149, 153);
	font-size: 24px;
	font-weight: 700;
	line-height: 70px;
	margin-bottom: 0px;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
}

.alert-error {
	background-color: rgb(242, 222, 222);
	border-color: rgb(185, 74, 72);
	border-style: solid;
	border-width: 1px;
	border-spacing: 0px 0px;
	box-sizing: border-box;
	color: rgb(185, 74, 72);
	line-height: 32px;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
	width: 451px;
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
}

.alert-error-smaller {
	font-size: 12px;
}

.alert-error-squeeze {
	padding-right: 5px;
}

.alert-error .fa-exclamation-triangle {
	margin-left: 2px;
	margin-right: 6px;
}

.alert-success {
	background-color: rgb(217, 237, 247);
	border-color: rgb(58, 135, 173);
	border-style: solid;
	border-width: 1px;
	border-spacing: 0px 0px;
	box-sizing: border-box;
	color: rgb(58, 135, 173);
	margin-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
}
/*TODO fix this. */
.alert-success p {
	width: 100%;
}

.alert-success .fa-info-circle {
	float: left;
	font-size: 22px;
	margin-left: 2px;
	margin-right: 6px;
	margin-top: 12px;
	margin-bottom: 12px;
	font-color: blue;
}

.alert-success h3 {
	text-align: left;
	margin-top: 12px;
	margin-bottom: 12px;
}

.admin-alert-success {
	background-color: rgb(217, 237, 247);
	border-color: rgb(58, 135, 173);
	border-style: solid;
	border-width: 1px;
	border-spacing: 0px 0px;
	box-sizing: border-box;
	color: rgb(58, 135, 173);;
	line-height: 32px;
	margin-bottom: 10px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 15px;
	padding-right: 15px;
	text-align: left;
	width: 451px;
	-moz-border-bottom-colors: none;
	-moz-border-left-colors: none;
	-moz-border-right-colors: none;
	-moz-border-top-colors: none;
}

.admin-alert-success .fa-info-circle {
	margin-left: 2px;
	margin-right: 6px;
}

/* Post Login Message */
.layout-post-message {
	width: 650px;
	text-align: left;
}

.pre-login-message p {
	color: #629599;
	font-size: 20px;
	line-height: 20px;
}

p.post-login-message {
	color: rgb(101, 101, 101);
	font-size: 20px;
	line-height: 23px;
	text-align: left;
	white-space: pre-line;
	width: 100%;
}

div.checkbox {
	color: rgb(51, 51, 51);
	font-size: 14px;
	margin-bottom: 20px;
}

div.checkbox input[type="checkbox"] {
	padding-top: 10px;
	vertical-align: middle;
	margin-top: 0px;
}

.layout-post-message input[type="submit"] {
	float: none;
}

.layout-500 {
	width: 650px;
}

.layout-500 p, .layout-500 a {
	width: 650px;
	font-size: 14px;
	text-align: center;
	float: none;
}

/* Admin page */
.admin-container {
	padding-left: 10px;
	padding-right: 10px;
}

.admin-container fieldset {
	border-width: 0px;
}

.admin-form-element {
	padding-bottom: 5px;
}

.admin-container h2 {
	padding-left: 10px;
	text-align: left;
}

.admin-container .layout {
	width: 100%;
	text-align: left;
}

.admin-container textarea {
	min-width: 450px;
	min-height: 150px;
	max-width: 1000px;
	max-height: 300px;
}

#login_screen_text {
	min-height: 80px;
}

.admin-container .error {
	color: RED;
}

.admin-container .fa-exclamation-triangle {
	float: left;
	padding-top: 7px;
}

.admin-container .nav-link {
	display: block;
	float: none;
}

.admin-links ul {
	text-align: left;
}

.admin-links .nav-link {
	display: inline-block;
	float: none;
}

.admin-metadata {
	padding-top: 10px;
	padding-left: 10px;
}

.admin-metadata p {
	color: grey;
}


.admin-form-section {
	background-color: rgb(250, 250, 250);
	border-color: rgb(185, 74, 72);
	border-width: 1px;
	width: 600px;
	padding-left: 15px;
	padding-right: 15px;
}

.admin-form-section input[type=text] {
	background-color: rgb(255, 255, 255);

	border-width: 1px;
	border-style: solid;
	clear: both;
	color: rgb(51, 51, 51);
	display: block;
	font-family: Arial, sans-serif;
	font-size: 16px;
	line-height: 17px;
	margin-bottom: 10px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	padding-bottom: 5px;
	padding-left: 5px;
	padding-right: 5px;
	padding-top: 5px;
	width: 450px;
}



/* Admin login page */
.layout-admin-login .welcome {
	/* reset these */
	background-image: none;
	text-indent: 0px;
	height: auto;
	font-size: 28px;
}

/* ---------------------------------- */
/* Footer */
.layout-footer {
	border-top-color: rgb(204, 204, 204);
	border-top-style: solid;
	border-top-width: 1px;
	margin-bottom: 10px;
}

.footer-notice {
	border-spacing: 0px 0px;
	color: rgb(131, 141, 141);
	font-size: 10px;
	line-height: 14px;
	padding-left: 20px;
	padding-right: 20px;
	margin-top: 2px;
	margin-bottom: 10px;
}

.contact {
	color: rgb(51, 51, 51);
	font-size: 14px;
	display: inline-block;
	margin-bottom: 2px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 0px;
	padding-bottom: 0px;
	padding-left: 20px;
	padding-right: 20px;
	padding-top: 0px;
}

.layout-footer .contact a, a.validation-contact {
	color: rgb(98, 149, 153);
	text-decoration: none;
}

.footer-graphic {
	float: right;
	width: 351px;
	background-image:
		url("../images/footer.png");
	background-attachment: scroll;
	background-clip: border-box;
	background-color: transparent;
	background-origin: padding-box;
	background-position: 0% 0%;
	background-position-x: 0%;
	background-position-y: 0%;
	background-repeat: no-repeat;
	background-size: auto auto;
	clear: right;
	height: 38px;
	margin-top: -12px;
}
/* Alternative css for full barcode at bottom. */
/* 
.footer-graphic {
	height: 20px;
	width: 100%;
	background-image: url("http://www.collectionhq.com/login/resources/chqimages/footer.png");
	background-attachment: scroll;
	background-clip: border-box;
	background-color: transparent;
	background-repeat: repeat-x;
	clear: right;
	margin-top: 12px;
}
.layout-footer {
	margin-bottom: 0px;
}
*/

/* Admin footer page */
.admin-footer {
	border-top-color: rgb(98, 149, 153);
	border-top-style: solid;
	border-top-width: 3px;
	border-bottom-color: rgb(98, 149, 153);
	border-bottom-style: solid;
	border-bottom-width: 3px;
	width: 100%;
	height: 30px;
	font-size: 10px;
	text-align: center;
	background-color: #fbb031;
	color: black;
}

.admin-footer h1 {
	margin-top: 2px;
	margin-bottom: 0px;
}

.admin-footer:hover {
	background-color: rgb(98, 149, 153);
	color: white;
}

.admin-footer h1 {
	display: inline;
}

.admin-footer form {
	display: inline;
}

.admin-footer a {
	
}

.admin-nav-link {
	color: black;
	font-size: 14px;
	line-height: 20px;
	margin-top: 20px;
	text-decoration: none;
}

.optanon-show-settings-popup-wrapper .optanon-show-settings-left,
.optanon-show-settings-popup-wrapper .optanon-show-settings-middle,
.optanon-show-settings-popup-wrapper .optanon-show-settings-right{
	background:none !important;border:0 !important;
}

.optanon-show-settings-popup-wrapper .optanon-show-settings-middle a.optanon-show-settings{
	font-size: 14px;
	font-weight: normal !important;
	font-family: AvenirLT-Book, sans-serif;
}
.optanon-show-settings-popup-wrapper .optanon-show-settings-left{display:none;}
.optanon-show-settings-popup-wrapper .optanon-show-settings-middle{float:none !important;}
.optanon-show-settings-popup-wrapper {
	height: 22px;
	display: inline-block;

}

.optanon-show-settings-popup-wrapper .optanon-show-settings-middle a.optanon-show-settings:hover
{
	text-decoration: none;
	color: #4fa4ab!important;
}

/* --- SSO Login styles --- */
.sso-wrap {
    max-width: 520px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
    text-align: center;
}
.sso-wrap .message {
    margin: .25rem 0 1.25rem;
    color: #444;
}
.sso-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .75rem 1.1rem;
    border: 1px solid #8a8a8a;
    border-radius: 6px;
    background: #fff;
    color: #1f1f1f;
    text-decoration: none;
    font: 500 15px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    transition: background .15s ease, box-shadow .15s ease, border-color .15s ease, transform .02s ease;
}
.sso-btn:hover   { background: #f5f5f5; }
.sso-btn:active  { background: #ececec; transform: translateY(1px); }
.sso-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, .35);
    border-color: #3a96dd;
}

.sso-logo { width: 18px; height: 18px; }

.sso-btn-row {
    text-align: left;
    margin-top: 1rem;
}

/* Provider-specific small tweaks */
.btn-microsoft .sso-logo rect:nth-child(1) { fill: #F35325; }
.btn-microsoft .sso-logo rect:nth-child(2) { fill: #81BC06; }
.btn-microsoft .sso-logo rect:nth-child(3) { fill: #05A6F0; }
.btn-microsoft .sso-logo rect:nth-child(4) { fill: #FFBA08; }

/* Override shared button style for AWS image button */
.btn-aws {
    border: none !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.btn-aws img {
    display: block;
    border: none;
    outline: none;
    height: 44px;
    border-radius: 6px;
}

.alert-error {
    margin: 1rem auto;
    max-width: 520px;
    color: #8a1f11;
    background: #fdecea;
    border: 1px solid #f5c2c7;
    padding: .75rem 1rem;
    border-radius: 6px;
    text-align: left;
}
.support-link { text-decoration: underline; }