/*
 *  Copyright (c)2006  Fidelity Corp.  All rights reserved.
 *
 *  This software and all information contained herein is the property of
 *  Fidelity Corp. Any dissemination, disclosure, use,
 *  or reproduction of this material for any reason inconsistent with the
 *  express purpose for which it has been disclosed is strictly forbidden.
 *
 *                    Restricted Rights Legend
 *                    ------------------------
 *
 *  Use, duplication, or disclosure by the government is subject to
 *  restrictions as set forth in paragraph (b)(3)(B) of the Rights in
 *  Technical Data and Computer Software clause at DAR 7-104.9(a).
 */

body {
	font-family: 'Open Sans', sans-serif;
	margin: 0;
	color: #fff;
	background-color: #000;
}

h1 {
	font-weight: 400;
	font-size: 24px;
	line-height: 32px;
	margin-bottom: 5px;
}

.logo, .white-logo {
	margin: 60px auto 40px;
	max-width: 100%;
}

.logo {
	display:none;
}

.white-logo {
	display: block;
}

#auth-content, #accreditations, #auth-footer {
	position: relative;
	z-index: 2;
}

#auth-content {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	justify-content: space-between;
}

#auth-content > div:first-of-type {
	width: 100%;
	max-width: 400px;
	padding: 16px;
	margin: 0 auto;
	flex: 1 1 auto;
	box-sizing: border-box;
}

#auth-content > div + br {
	display: none;
}

#accreditations {
	display: flex;
	background-color: #494D65;
	width: 100%;
	height: 88px;
	padding: 16px;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
}

#accreditations img {
	max-width: 100%;
}

#accreditations .desktop {
	display: none;
}

#accreditations a {
	width: 33%;
}

#accreditations a.verisign {
	width: 38%;
	max-width: 115px;
}

#accreditations a.isae3000 {
    width: 36%;
    max-width: 70px;
}

#accreditations a.iso {
	max-width: 115px;
}

#accreditations a + a {
	margin-left: 20px;
}

#auth-footer {
	height: 40px;
	background-color: #282D3E;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
}

#auth-footer ul {
	list-style: none;
	font-size: 13px;
	padding: 0;
	margin: 0;
}

#auth-footer ul li {
	display: inline;
	padding: 0 8px;
}

#auth-footer ul li + li {
	border-left: 1px solid #fff;
}

#auth-footer a {
	color: #fff;
}

#git-version {
    color: transparent;
    position: absolute;
    bottom: 50px;
}

#auth-background {
	background: url("/mco/images/auth-background.jpg") center no-repeat;
	background-size: cover;
	width: 100vw;
	min-height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0.4;
}

.portlet-msg-alert-system, .portlet-msg-alert-logon {
	border-radius: 4px;
	padding: 16px;
	background-color: rgba(39,44,63,0.7);
	margin: 24px 0 16px;
}

.portlet-msg-alert-system {
	border: 1px solid rgba(174,182,198,0.15);
}

.portlet-msg-alert-system p, .portlet-msg-alert-logon p {
	margin: 0;
}

.portlet-msg-alert-logon {
	border: 1px solid #D1200E;
}

.inline-error {
	font-size: 11px;
	color: #d1200e;
	margin: 0 0 0 6px;
	height: 16px;
}

::-webkit-input-placeholder {
	color: #AEB6C4;
}

:-ms-input-placeholder {
	color: #AEB6C4;
}

::placeholder {
	color: #AEB6C4;
}

@media(min-width: 900px) {
	body {
		color: #282D3E;
	}

	.logo {
		display: block;
	}

	.white-logo {
		position: fixed;
		left: 24px;
		bottom: 60px;
		max-width: 160px;
		margin: 0;
	}

	#auth-container {
		display: flex;
		flex-direction: row-reverse;
	}

	#auth-content {
		flex: 2;
		background-color: #fff;
	}

	#auth-background {
		position: relative;
		flex: 1;
		min-width: 360px;
		opacity: 0.7;
	}

	#accreditations {
		background-color: #F5F7FA;
		height: 120px;
	}

	#accreditations a + a {
		margin-left: 30px;
	}

	#accreditations .mobile {
		display: none;
	}

	#accreditations .desktop {
		display: inline;
	}

	#accreditations a.verisign {
		max-width: 132px;
	}

    #accreditations a.isae3000 {
        max-width: 92px;
    }

	#accreditations a.iso {
		max-width: 124px;
	}

	#auth-footer {
		background-color: transparent;
		position: fixed;
		height: 60px;
		left: 16px;
		z-index: 3;
		bottom: 0;
	}

	.portlet-msg-alert-system {
		background-color: #F5F7FA;
		border-width: 0;
	}

	.portlet-msg-alert-logon {
		color: #D1200E;
		background-color: hsl(6, 87%, 96%);
	}
}
