﻿body {
	margin: 0 0 0 0;
	padding: 0 0 0 0;
	font-family: "Source Sans Pro", sans-serif;
}

.page-wrapper {
}

.content-wrapper {
}

.account-container {
	padding: 15px;
}

.account-content {
	box-sizing: border-box;
}

.application-info {
}

.application-logo {
	padding-bottom: 25px;
}

.brand-icon {
	width:178px;
}

.application-title {
	font-size: 18px;
	font-weight: bold;
	color: #5E6774;
	padding-bottom: 30px;
}

.notification-text {
	margin-bottom: 30px;
	padding: 12px 20px;
	line-height: 18px;
	font-size: 16px;
	color: #721C24;
	background-color: #FFE6E6;
	border: 1px solid #F5C6CB;
	border-radius: 3px;
}

.notification-success {
	color: #155724;
	background-color: #CBF1C0;
	border-color: #C3E6CB;
}

.form-inputs {
	font-size: 14px;
}

.form-section {
	padding-bottom: 30px;
}

.form-label {
	padding-bottom: 15px;
	color: #205D80;
}

.form-input input {
	/* Inside padding between text and left border. */
	padding-left: 7px;
	/* Calculating width because otherwise it extends beyond its parent because of the padding. */
	width: calc(100% - 9px);
	height: 30px;
	font-size: 16px;
	border: 1px solid #98AFBF;
	border-radius: 3px;
	color: #686F77;
}

.error-message {
	padding-bottom: 30px; /* The extra padding isn't needed while the remember me checkbox is hidden */
	color: #C83726;
	font-size: 14px;
}

	.error-message ul {
		list-style: none;
		margin: 0px;
		padding: 0px;
	}

.action-buttons {
	padding-bottom: 50px;
	display: flex;
	flex-direction: column-reverse;
}

	.action-buttons a {
		font-size: 14px;
		color: #205D80;
		text-decoration: underline;
		text-align: center;
	}

.submit-button {
	height: 30px;
	margin-bottom: 30px;
	color: #FFFFFF;
	background-color: #1C4054;
	border: 1px solid #1C4054;
	border-radius: 3px;
	box-shadow: 2px 2px 4px #AAA;
	cursor: pointer;
}

	.submit-button:hover {
		background-color: #436C7C;
		border-color: #436C7C;
	}

	.submit-button:disabled {
		opacity: .7;
		cursor: default;
	}

.support-link {
	padding-bottom: 15px;
	font-size: 12px;
}

	.support-link a {
		color: #868E96;
	}

.support-information {
	font-size: 12px;
	color: #868E96;
}

/* Media Query for the Desktop application login dialog */
@media screen and (min-width: 768px), screen and (max-width: 566px) and (min-width: 446px) {
	.account-container {
		border-radius: 16px;
		border: solid 1px #CFD5DD;
		background-color: #fff;
		padding: 42px 24px 24px 25px;
	}

	.account-content {
		box-sizing: border-box;
	}

	.application-title {
		padding-bottom: 35px;
	}

	.notification-text {
		/* Spacing between title and notification should be 20 => 35 - 15 */
		margin-top: -15px;
	}

	.action-buttons {
		flex-direction: row;
		justify-content: flex-end;
		align-items: center;
	}

	.submit-button {
		margin-left: 20px;
		/* Fallback solution for IE not supporing 'initial' value */
		margin-bottom: auto;
		margin-bottom: initial;
		width: 100px;
	}

	.action-buttons a {
		text-align: right;
	}
}


/* Adds background style and worklines for larger screens including desktops, laptops */
@media only screen and (min-width: 768px) {
	body {
		color: #333;
		background-color: #EFF2F5;
	}

	.page-wrapper {
		max-width: 625px;
		box-sizing: border-box;
		margin:auto;
		margin-top:158px;
	}

	.content-wrapper {
		width: 445px;
		margin: auto;
	}
}

/* Handles landscape view on mobile phones */
@media only screen and (max-width: 767px) and (orientation: landscape) {
	body {
		background: #FFFFFF;
	}

	.application-title {
		padding-bottom: 30px;
	}

	.notification-text {
		/* Spacing between title and notification should be 20 => 30 - 10 */
		margin-top: -10px;
	}

	.account-container {
		padding: 20px;
	}

	.account-content {
		width: 400px;
		margin: auto;
	}

	.page-wrapper, .content-wrapper {
		width: auto;
		max-width: initial;
	}
}


