/*------------------------------------*\
				CONTENTS
\*------------------------------------*/
/*
	Last edited by RB 10/08/2020	
	
	FONTS
	MAIN
	TYPOGRAPHY
	HEADER
	LOGIN
	CARDS
	BREADCRUMBS
	LISTS
	BUTTONS
	TABLES
	IMAGES
	FORMS
	ALERTS
	FOOTER
*/

/*------------------------------------*\
				MAIN
\*------------------------------------*/
html,
body {
	overflow-x: hidden; /* Prevent scroll on narrow devices */
	background: url('https://b2c.aec.gov.au/era/b2clogin/css/img/login-bg.jpg') 0 0 no-repeat;
	background-size: cover;
	justify-content: center;
}
html {
	height: 100%;
}
body {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
	-webkit-text-size-adjust: 100%;
	-moz-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	text-size-adjust: 100%;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	color: #414042;
	background-color: #efefef;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.main__content{
	position: relative;
}
/*------------------------------------*\
				TYPOGRAPHY
\*------------------------------------*/

*+ul:not([class]), 
*+ol:not([class]), 
*+dl:not([class]), 
*+pre {
    margin-top: 24px;
    margin-top: 1.5rem;
}
ul:not([class]), 
ol:not([class]), 
dl:not([class]), 
pre {
    margin: 0;
}
ul:not([class])>li,  
ol:not([class])>li {
    margin-top: 8px;
    margin-top: .5rem;
    list-style-type: none;
}
a {
	color: #337ab7;
	border-bottom: 1px solid #ddd;
	text-decoration: none;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
	-webkit-text-decoration-skip: ink;
	text-decoration-skip-ink: auto;
}
a:focus, a:hover {
	color: #337ab7;
	border-bottom: 1px solid #337ab7;
	text-decoration: none;
}
p {
	max-width: 42em;
	margin: 0;
}
*+p {
	margin-top: 24px;
	margin-top: 1.5rem;
}
h1, 
h2, 
h3, 
h4, 
h5, 
h6,
.display-xxxl,
.display-xxl, 
.display-xl, 
.display-lg, 
.display-md, 
.display-sm, 
.display-xs{
	font-family: "roboto", Helvetica, Arial, sans-serif;
	display: block;
	margin: 0;
	font-weight: 300;
}
.display-xxxl {
    font-size: 48px;
    font-size: 3rem;
    line-height: 1.25;
}
h1,
.display-xxl{
	font-size: 40px;
	font-size: 2.5rem;
	line-height: 1.3
}
h2,
.display-xl{
	font-size: 32px;
	font-size: 2rem;
	line-height: 1.25
}
h3,
.display-lg{
	font-size: 24px;
	font-size: 1.5rem;
	line-height: 1.33333
}
h4,
.display-md{
	font-size: 20px;
	font-size: 1.25rem;
	line-height: 1.2
}
h5,
.display-sm {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.25
}
h6,
.display-xs{
	font-size: 14px;
	font-size: .875rem;
	line-height: 1.14286
}
*+h1, 
*+h2 {
	margin-top: 48px;
	margin-top: 3rem
}
h1+h2, 
h2+h3, 
*+h3, 
*+h4, 
*+h5,
*+.display-md,
*+.display-sm,
*+.display-xs,
*+h6 {
	margin-top: 24px;
	margin-top: 1.5rem
}
/*------------------------------------*\
				HEADER
\*------------------------------------*/

.header {
	background-color: #fff;
}
.header a {
	border-bottom: none;
}
.header__logo {
	display: none;
}

@media screen and (min-width: 768px) {
	.header__logo {
		display: block;
		padding: 24px 0;
		padding: 1.5rem 0;
		color: #6e267b;
		background-color: #fff;
	}
}
.header__brand {
	background: #6e267b;
	background: -moz-linear-gradient(-45deg, #6e267b 0%, #002b64 50%);
	background: -webkit-linear-gradient(-45deg, #6e267b 0%, #002b64 50%);
	background: linear-gradient(135deg, #6e267b 0%, #002b64 50%);
 	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#6e267b', endColorstr='#002b64', GradientType=1 );
	display: flex;
	align-items: center;
	padding: 0;
	height: 50px;
}
.header__heading {
	display: inline-block;
	margin-right: 66px;
	line-height: 1;
}
.header__heading a {
	color: #fff;
    font-family: "roboto", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size: 16px;
    font-size: 1rem;
	-webkit-transition: none;
	-moz-transition: none;
	transition: none;
}
@media screen and (min-width: 768px) {
	.header__heading a {		
		font-size: 28px;
		font-size: 1.75rem;
	}
}
.header__heading a:hover {
	border-bottom: 1px solid #fff;
	color: #fff;
}
.header__menu {
	position: absolute;
	right: 0;
	background-color: #009cde;
	width: 60px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
}
@media screen and (min-width: 768px) {
	.header__menu {		
		width: 80px;
	}
}
.navbar-toggler {
	font-size: 1.75rem;
	color: white;
}
.header__menu:before {
	content: '';
	position: absolute;
	top: 0;
	right: 60px;
	border-top: 50px solid transparent;
	border-right: 30px solid #009cde;
	width: 0;
}
@media screen and (min-width: 768px) {
	.header__menu:before {		
		right: 80px;
	}
}
.offcanvas-collapse {
	position: fixed;
	top: 153px; /* Height of navbar */
	bottom: 0;
	left: 100%;
	width: 33%;
	padding-right: 1rem;
	padding-left: 1rem;
	overflow-y: auto;
	visibility: hidden;
	background-color: #efefef;
	transition: visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
	transition: transform .3s ease-in-out, visibility .3s ease-in-out;
	transition: transform .3s ease-in-out, visibility .3s ease-in-out, -webkit-transform .3s ease-in-out;
}

@media (max-width: 768px) {
	.offcanvas-collapse {
		top: 50px; /* Height of navbar */
		width: 100%;
	}
}
.offcanvas-collapse.open {
	visibility: visible;
	-webkit-transform: translateX(-100%);
	transform: translateX(-100%);
	z-index: 99;
}
@media (min-width: 992px) {
	.navbar-expand-lg .navbar-toggler {
		display: block;
	}
}
/*------------------------------------*\
				LOGIN PAGE
\*------------------------------------*/

.body__login{
	background: #efefef;
}
@media only screen and (min-width : 576px) {
	.body__login{
		background: url('https://{{storageAccountURL}}/b2cuiassets/Login/css/img/login-bg.jpg') 0 0 no-repeat;
		background-size: cover;
		height: 100vh;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
}
@media only screen and (min-width : 991px) {
	.logo-login {
		position: absolute;
		top:16px;
		right:16px;
	}
}
.login__container{
	background-color: #fff;
	min-height: 60vh;
	height: auto;
	border-radius: 10px;
	box-shadow: 2px 3px 9px 3px rgba(110, 38, 123, 0.2);
}

.login__form{
	position: relative;
	padding: 16px;
	padding: 1rem;
	margin-top:16px;
	margin-top:1rem;
}
.login__form h2 {
	margin-top:16px;
	margin-top:1rem;
}
@media only screen and (min-width : 576px) {
	.login__form {
		margin-top:0;
	}
	.login__form h2 {
		margin-top:0;
	}
	.login__form .alerts {
		margin-top:24px;
		margin-top:1.5rem;
	}
}
.login__form-blurb{
	margin-bottom: 2rem;
    margin-top: 1rem;
}

/*-----------B2C Special Styles ---------*\
\*------------------------------------*/
div.verificationControlContent > ul {
    padding-left: 0px;
}

/*------------------------------------*\
				CARDS
\*------------------------------------*/

	.flex-row.row {
		display: flex;
	 	flex-wrap: wrap;
   	}
   	.flex-row.row > [class*='col-'] {
	 	display: flex;
	 	flex-direction: column;
   	}
  	.flex-row.row:after, 
  	.flex-row.row:before {
	 	display: flex;
  	}
		
.card {
	position: relative;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: column;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 1px solid rgba(0,0,0,.25);
	border-radius: .25rem;
}
.card__header{
	padding-top: 1rem;
	padding-top: 16px;
}
.card__body {
	display: flex;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	padding: 0px 16px 16px 16px;
	padding: 0rem 1rem 1rem 1rem;
	min-height: 125px;
	height: auto;
	-webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.card__body--user{
	flex-direction: column;
	align-items: flex-start;
}
.card a .card__body{
	color: #414042;
}
.card a:hover .card__body{
	border-bottom:none;
	background-color:#efefef; 
}
.card__title {
	font-family: "roboto", Helvetica, Arial, sans-serif;
	font-weight: 400;
	font-size:14px;
}
.card__image--profile{
	border-radius: 100%;
	height: 140px;
	width: 140px;
	background-color: #fff;
	margin: 0 auto;
	overflow: hidden;
	border:1px solid #efefef;
}
.card-user__buttons{
	width: 100%;
	text-align: center;
}
.card__body--user .fa-ul.link-list{
	margin-left: 1.5em;
}
.card__user {
	margin-top:16px;
	margin-top:1rem;
}
.card__todo {
	margin-top:24px;
	margin-top:1.5rem;
	height: 100%;
}
.card__todo .card-header{
	background-color: #f5f5f5;
	font-size: 1.25rem;
	font-size: 20px;
	font-weight: 600;
	padding: 0.5rem 1.25rem;
}
.todo__list a{
	color: #414240;
	display: block;
	padding:12px 20px;
	padding:.75rem 1.25rem
}
.list-group-item{
	padding:0;
}
.todo__list a, .todo__list a:hover{
	border-bottom: none;
}
.todo__list li:hover{
	background-color: #efefef;
}
.card__body--list-list{
	margin: 8px 0px;
}

/*------------------------------------*\
				BREADCRUMBS
\*------------------------------------*/

.breadcrumbs {
	font-size: 14px;
	font-size: .875rem;
	line-height: 1.14286;
	margin: 16px 0;
	margin: 1rem 0;
	width: 100%;
	color: #313131;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.breadcrumbs>.link-list>li {
	margin: 0;
	background: none;
	display: inline-block;
}
.breadcrumbs li a {
	text-decoration: none;
	border-bottom: none;
}
.breadcrumbs li a:hover {
	border-color: #337ab7;
}
.breadcrumbs>.link-list>li:after {
	content: "/";
	display: inline-block;
	width: 4px;
	width: .25rem;
	height: 8px;
	height: .5rem;
	margin: 0 8px;
	margin: 0 .5rem;
	background-size: 100%;
	background-repeat: no-repeat;
}
.breadcrumbs.breadcrumbs--secondary>.link-list>li:after {
	content: ">";
}
.breadcrumbs>.link-list>li:last-child:after {
	display: none
}
/*------------------------------------*\
				LIST
\*------------------------------------*/

.link-list {
	margin: 0;
	padding: 4px 0;
	padding: .25rem 0;
}
.link-list {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	display: block;
	list-style-type: none;
	margin: 0;
	padding: 4px 0;
	padding: .25rem 0;
}

.link-list.link-list--inline {
	display: inline-block;
}
/*------------------------------------*\
				BUTTONS
\*------------------------------------*/

.btn__wrapper {
	margin-top: 26px;
	margin-top: 1rem;
}
.aec-btn {
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	padding: 8px 24px;
	padding: .5rem 1.5rem;
	display: inline-block;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	background-color: #6e267b;
	border: 1px solid #6e267b;
	cursor: pointer;
	vertical-align: middle;
	-webkit-transition: background 0.1s ease, border 0.1s ease, color 0.1s ease;
	transition: background 0.1s ease, border 0.1s ease, color 0.1s ease;

}
.btn__wrapper > .aec-btn{
	margin-right:8px;
	margin-right:.5rem;
	margin-top:4px;
	margin-top:.25rem;
	margin-bottom:4px;
	margin-bottm:.25rem;
	text-align: center
}
.aec-btn i{
	margin-right:12px;
	margin-right:.75rem;
}
.aec-btn.aec-btn--default {
	background-color: #6e267b;
}
.aec-btn.aec-btn--default:disabled,  
.aec-btn.disabled{
	cursor: not-allowed;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	opacity: 0.3;
	background-color:#999;
	border-color:#999;
}
.aec-btn.aec-btn--default:focus, 
.aec-btn.focused {
	color: #fff;
	outline: #009cde 3px solid;
	outline-offset: 2px;
}
.aec-btn.aec-btn--default:hover,  
.aec-btn.hover {
	background-color: #4c0d61;
	color: #fff;
}
.aec-btn.aec-btn--default:active,  
.aec-btn.active {
	background-color: #009cde;
	border-color: #009cde;
}
.aec-btn.aec-btn--secondary {
	background-color: #fff;
	color: #6e267b;
	border-color: #6e267b;
}
.aec-btn.aec-btn--secondary:focus,  
.aec-btn.btn--secondary.focussed {
	color: #6e267b;
	outline: #009cde 3px solid;
	outline-offset: 2px;
}
.aec-btn.aec-btn--secondary:hover,  
.aec-btn--secondary.hover {
	background-color: #4c0d61;
	color:#fff;
}
.aec-btn.aec-btn--secondary:active,  
.aec-btn--secondary.active {
	color:#fff;
	background-color: #009cde;
	border-color: #009cde;	
}
.aec-btn.aec-btn--secondary:disabled,
.aec-btn.aec-btn--secondary.disabled{
	cursor: not-allowed;
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	opacity: 0.3;
	border-color:#999;
	color:#999;
}
.aec-btn.aec-btn--secondary.disabled:hover{
	background-color: #fff;
	color: #999;
}
.aec-btn.aec-btn--secondary.focused:hover{
	background-color: #fff;
	color: #6e267b;
}
.aec-btn.aec-btn--secondary.active:hover{
	color: #fff;
	background-color: #009cde;
}

.card-user__buttons .aec-btn{
	width: 100%;
	margin: 4px 0px;
}

.input-group-append .aec-btn, .input-group-prepend .aec-btn {
    position: relative;
    z-index: 2;
}
.input-group>.input-group-append>.aec-btn, .input-group>.input-group-prepend:not(:first-child)>.aec-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/*------------------------------------*\
				TABLES
\*------------------------------------*/

.aec-table {
    font-size: 16px;
    font-size: 1rem;
    line-height: 1.5;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
	border: none;
}
*+.aec-table,
.table-responsive>.aec-table{
	margin-top: 24px;
	margin-top: 1.5rem
}
.aec-table caption {
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 1.6;
    font-weight: bold;
    text-align: left;
    display: table-caption;
    padding-bottom: 8px;
    padding-bottom: .5rem;
	padding-top: 0;
    color: #333;
    caption-side: top;
}
.aec-table thead th,
.aec-table tbody td{
	padding: 12px;
	padding: .75rem;
	background:#fff;
}
.aec-table tbody tr td:hover {
	background-color: #E3E3E3;
}
.aec-table.table--default thead th {
	background-color: #4c4c4c;
	color: #fff;
}
.aec-table.table--light thead th {
	background-color: #f5f5f5;
	color: #000;
}
.aec-table.table--striped tbody tr:nth-child(odd) td {
	background-color: #f2f2f2;
}
.aec-table.table--striped tbody tr:nth-child(even) td {
	background-color: #fff;
}
.aec-table.table--bordered tbody td, 
.aec-table.table--bordered thead th {
	border: 1px solid #dee2e6;
}
.aec-table__pac thead th{
	background-color: #efefef;
}
/*------------------------------------*\
				IMAGES
\*------------------------------------*/
img {
    border: 0 none;
    max-width: 100%;
}
/*------------------------------------*\
				FORMS
\*------------------------------------*/

label {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	color: #313131;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;

}
.custom-control {
	position: relative;
	display: -ms-inline-flexbox;
	display: inline-flex;
	min-height: 1.5rem;
	padding-left: 1.5rem;
	margin-right: 1rem;
}
.custom-control-input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.custom-radio .custom-control-input:checked~.custom-control-indicator {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23fff'/%3E%3C/svg%3E")
}
.custom-checkbox .custom-control-input:checked~.custom-control-indicator {
	background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E")
}
.custom-control-input:checked~.custom-control-indicator {
	color: #fff;
	background-color: #007cde;
}
.custom-radio .custom-control-indicator {
	border-radius: 50%;
}
.custom-control-indicator {
	position: absolute;
	top: .25rem;
	left: 0;
	display: block;
	width: 1rem;
	height: 1rem;
	pointer-events: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	background-color: #ddd;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 50% 50%;
}
.custom-checkbox .custom-control-indicator {
	border-radius: .25rem;
}
.invalid-feedback {
	display: none;
	margin-top: .5rem;
	font-size: .875rem;
	color: #dc3545;
}
.needs-validation input {
	border-color: #dc3545;
	color: #dc3545;
}
.needs-validation .invalid-feedback {
	display: block;
}
.needs-validation .custom-control-description {
	color: #dc3545;
}
.needs-validation .custom-control-indicator {
	background-color: rgba(220,53,69,.25);
}
.helper-text {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
	color: #6f777b;
	display: block;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
}
/*------------------------------------*\
				ALERTS
\*------------------------------------*/

.alerts {
	padding: 16px;
	padding: 1rem;
	margin-top: 16px;
	margin-top: 1rem;
	font-size: 16px;
	font-size: 1rem;
	line-height: 1.5;
	position: relative;
	border: solid 3px #007cde;
	border-left-width: 48px;
	border-left-width: 3rem;
	border-radius: 4px;
	word-wrap: break-word;
	background-color: #fff;
	box-shadow: none;
}
.alerts:before {
	font-family: 'Font Awesome 5 Pro';
	font-size: 20px;
	font-size: 1.5rem;
	color: #fff;
	position: absolute;
	content: "\f05a";
	font-weight:800;
	top: 12px;
	top: .75rem;
	left: -36px;
	left: -2.25rem;
	width: 24px;
	width: 1.5rem;
	height: 24px;
	height: 1.5rem;
	border-left-width: -12px;
	border-left-width: -.75rem;
	display: block;
	background-repeat: no-repeat;
	background-color: #007cde;
}
.alerts--warning {
	border-color: #ECBE1C;
}
.alerts--warning::before {
	content: "\f071";
	background-color: #ECBE1C;
}
.alerts--error {
	border-color: #BD0000;
}
.alerts--error::before {
	content: "\f057";
	background-color: #BD0000;
}
.alerts--success {
	border-color: #8bc340;
}
.alerts--success::before {
	content: "\f058";
	background-color: #8bc340;
}
/*------------------------------------*\
				FOOTER
\*------------------------------------*/

.aec__footer {
	margin-top: 48px;
	margin-top:4rem;
	padding: 16px 0;
	background-color: #333;
	color: #fff;
	position: relative;
}
.back-top{
	display: block;
	position: absolute;
	right:15px;
	bottom:10px;
}
.back-top a {
	border-bottom: none;
	color: #fff;
}
/*------------------------------------*\
				CUSTOM
\*------------------------------------*/

.error.pageLevel:has(p:empty){
display: none;
} 
