html {
    font-size: 100%;
}

body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-size: 0.875rem;
    background-color: transparent;
    background: radial-gradient(circle at 50% 0, #393e47, #10201F) no-repeat center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url('/images/vanilla_login_background_1.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
}

a {
	color: #222e88;
    font-weight: bold;
}

    a:focus {
        outline: 2px solid #393e47;
        outline-offset: 2px;
    }

/* Theme Colours */
.cs-bg-primary {
    background-color: #10201F;
    color: #fff !important;
}

.cs-bg-accent {
    background-color: #328170;
    color: #fff !important;
}

.cs-bg-danger {
    background-color: #e04d79;
    color: #fff !important;
}

/* Logo */
.cs-logo-gradient-bar,
.cs-logo-solid-bar {
    fill-rule: evenodd;
}

.cs-logo-gradient-bar {
    fill: url(#linear-gradient);
}

.cs-logo-solid-bar,
.cs-logo-text {
    fill: #fff;
}

.cs-logo-large .cs-logo-gradient-bar{
	fill:url(#linear-gradient-logo-layout);
}

/* Layout */
.cs-header {
    /* position: fixed;
    top: 0;
    left: 0; */
    width: 100%;
    z-index: 2;
}

.cs-header-row {
    display: flex;
    padding: 32px;
}

.cs-header-spacer {
    flex: 0 0 20%;
    max-width: 20%;
}

.cs-header-usermenu {
    float: right;
}

    .cs-header-usermenu.nav > li > a:hover,
    .cs-header-usermenu.nav > li > a:focus,
    .cs-header-usermenu.nav .open > a,
    .cs-header-usermenu.nav .open > a:hover,
    .cs-header-usermenu.nav .open > a:focus {
        background-color: transparent;
        border: 0;
    }

    .cs-header-usermenu.nav .dropdown-menu {
        left: auto;
        right: 0;
    }

    .cs-header-usermenu a {
        color: #fff;
    }

.cs-header--logo {
    flex: 1 1 auto;
	text-align: center;
	height: 31px;
}

.cs-header--logo svg,
.cs-header--logo img {
    height: 100%;
    width: auto;
    max-width: 100%;
}

.cs-footer-row {
    padding: 16px;
}

.cs-footer-row.cs-signature-row {
    display: flex;
    justify-content: flex-end;
}
    
    .cs-signature {
        background-color: rgba(0,0,0,.35);
        padding: 16px;
        margin: 0 16px;
    }
        a {
            font-weight: inherit;
            color: inherit;
        }

        a:hover {
            text-decoration: none;
            cursor: pointer;
        }

        .cs-signature-deloitte {
            display: flex;
            flex-direction: column;
            color: #ffffff;
        }

        .cs-signature-corestream {
            color: #ffffff;
        }

        .cs-signature-corestream svg {
            max-width: 150px; /** IE11 fix */
            max-height: 16px; /** FF & IE11 fix */
        }

		.cs-signature-corestream-text {
			display: block;
			margin-bottom: 8px;
		}

		.cs-signature-corestream-text:hover,
		.cs-signature-corestream-text:focus {
			color: #ffffff;
		}

		.cs-signature-corestream-logo {
			border-top: 1px solid #fff;
			padding-top: 8px;
		}

        .cs-signature-logos {
            border-top-width: 2px;
            border-top-style: solid;
            border-top-color: #ffffff;
            padding-top: 12px;
            margin-top: 12px
        }

        .cs-signature-logos > svg:first-child {
            border-right-width: 2px;
            border-right-style: solid;
            border-right-color: #ffffff;
            padding-right: 12px;
            margin-right: 14px;
        }

        .cs-signature-logos svg {
            height: 10px;
        }

.cs-hidden {
    display: none;
}

.cs-body-content {
    display: flex;
    flex: 1 1 100%;
    justify-content: center;
    align-items: center;
}

.cs-login-options,
.cs-login-external-providers {
    display: flex;
    flex-direction: column;
}

.cs-login-choice-button {
    border: 0;
    background-color: #fff;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), 0 3px 1px -2px rgba(0,0,0,.2), 0 1px 5px 0 rgba(0,0,0,.12);
    flex: 1 0 auto;
    cursor: pointer;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    padding: 24px 16px;
}

    .cs-login-choice-button:hover {
        background-color: #f8f8f8;
        transition: color 100ms ease-in-out;
    }

    .cs-login-choice-button:focus {
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #328170;
        outline: none;
    }

.cs-login-choice-button-icon {
    padding: 0 24px 0 8px;
    height: 40px;
    width: 72px;
}

.cs-login-choice-button-icon-sso-default {
    font-size: 40px;
    line-height: 46px;
}

.cs-login-choice-button-icon-image {
    width: 100%;
}

    .cs-login-choice-button-icon-image .cs-logo-solid-bar {
        fill: #424854;
    }

.cs-login-choice-button-text-title {
    font-weight: 500;
    font-size: 1rem;
    color: #2b2f36;
}

.cs-login-choice-button-text-subtitle {
    font-size: 0.8125rem;
    color: #888888
}

.cs-login-choice-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cs-login-options.inactive {
    display: none;
}

.cs-login-mfa-detail {
    display: none;
}

    .cs-login-mfa-detail.active {
        display: block;
    }

.cs-form {
    display: flex;
    flex-direction: column;
}

.cs-forgot-password-link {
    padding-top: 16px;
}

.cs-form-field-container {
    margin-bottom: 32px;
}

.cs-form-field {
    border: 0;
    border-bottom: 1px solid #979797;
    transition: border-color 100ms cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    width: 100%;
    background-color: transparent;
}

    .cs-form-field:focus {
        border-bottom-color: #328170;
        border-bottom-width: 2px;
        outline: none;
    }

.cs-form-field-label {
	font-size: 1rem;
    font-weight: 300;
    color: #252525;
    margin-bottom: 8px;
}

.cs-form-group a {
    font-weight: 500;
}

.cs-list {
    padding-inline-start: 16px;
}

.cs-btn {
    min-width: 64px;
    height: 40px;
    border-radius: 4px;
    box-shadow: 0 1.5px 3px 0 rgba(0, 0, 0, 0.16);
    padding: 0 28px;
}

    .cs-btn:focus {
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #328170;
        outline: none;
    }

.cs-btn-action {
    text-transform: uppercase;
}

.cs-btn-sso > i {
    margin-right: 8px;
}

.cs-separator {
    display: flex;
    flex: 0;
    flex-direction: row;
    align-items: center;
	justify-content: space-around;
	margin: 16px 0;
}

.cs-separator-line {
    width: 100%;
    height: 2px;
    background-color: #328170;
}

.cs-separator-text {
    font-weight: 300;
    color: #252525;
    padding: 8px;
}

.validation-summary-valid,
.validation-summary-errors {
    margin-bottom: 16px;
}

    .validation-summary-valid ul,
    .validation-summary-errors ul {
        padding: 0;
    }

        .validation-summary-valid ul li,
        .validation-summary-errors ul li {
            list-style-type: none;
        }

.cs-text-danger {
    color: #e04d79;
    font-weight: 500;
}

/* Page */
.cs-page {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    z-index: 5;
    padding: 32px;
}

    .cs-page > .cs-card {
        min-height: 448px;
    }

    /*.cs-page.cs-login-single-col {
        max-width: 900px;
    }*/
    .cs-page-header {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        width: 100%;
    }

.cs-btn-with-icon {
    display: flex;
    align-items: center;
}

    .cs-btn-with-icon span {
        flex: 1 0 0%;
        margin-right: 6px;
    }

    .cs-btn-with-icon svg {
        flex: 1 0 0%;
        width: auto;
        height: 8px;
    }

.cs-page-header h1,
.cs-page-header .cs-page-header-terms {
    flex: 1 1 25%;
}

    .cs-page-header h1 {
        color: #fff;
        font-size: 1.25rem;
		font-weight: 300;
		text-transform: capitalize;
    }

    .cs-page-header .cs-card-logo {
		flex: 0 1 auto;
		display: none;
    }

    .cs-page-header .cs-page-header-terms {
        display: flex;
        justify-content: flex-end;
    }

.cs-card .toggleable-icon svg {
    transition-property: all;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.cs-card .toggleable-icon svg path {
    fill: #fff;
}
.cs-card.expanded .toggleable-icon svg {
    transform: rotateZ(180deg);
}

.cs-card {
    display: flex;
    flex-direction: column;
    background-color: #f6f7f8;
}

.cs-card-heading {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 12px 16px;
}

    .cs-card-heading h1 {
        margin: 0;
    }

    .cs-card-heading .cs-card-logo {
        width: 30px;
    }

    .cs-card-heading {
        color: #fff;
    }

    .cs-card-admin-login {
        display: flex;
        align-items: flex-end;
        justify-content: center;
        min-width: 100%;
        margin-top: auto;
    }

    .cs-card-admin-login a {
        font-size: 0.75rem;
        color: #fff;
        text-decoration: none;
    }

.cs-card-terms {
    display: flex;
    align-items: center;
    height: 0;
    overflow: auto;
    transition-duration: 200ms;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

    .cs-card-terms > div {
        opacity: 0;
        transition-duration: 200ms;
        transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }

    .cs-card-terms.visible {
        height: 200px;
    }

        .cs-card-terms.visible > div {
            opacity: 1;
        }

.cs-card-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.cs-card-title {
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 400;
    color: #1b1e24;
    margin: 0;
    margin-bottom: 16px;
}

.cs-card-title.inactive {
    display: none;
}

.cs-card-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 16px;
}

.cs-card-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    .cs-card-buttons > .cs-btn {
        flex: 0 0 auto;
        text-align: center;
        padding: 0 24px;
    }

    .cs-card-buttons form .cs-btn {
        margin-bottom: 16px;
    }

/* .cs-login-form {
    padding-top: 16px;
    padding-bottom: 32px;
} */

.cs-login-announcement-container {
    display: flex;
    flex-direction: column;
}

.cs-login-alt-providers-body {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cs-login-card-consent-list {
    padding-left: 0;
    margin-bottom: 20px;
    list-style-type: none;
}

.cs-login-card-consent-list-group-item {
    padding: 8px 16px 8px 0;
    border-bottom: 1px solid #ccc;
}

.cs-login-card-consent-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-login-card-consent-buttons {
    text-align: right;
}

/* Logout */
.cs-logged-out {
    display: flex;
    background-color: #10201F;
    padding: 16px;
}

    .cs-logged-out h4 {
        color: #fff;
        font-weight: 400;
    }

/* MFA */
.cs-mfa-code-input {
	visibility: hidden;
	width: 0;
	height: 0;
	padding: 0;
	margin: 0;
}

.cs-mfa-set-up-instruction {
    overflow: auto;
}

.cs-white-space-pre-line {
    white-space: pre-line;
}

.cs-qr-code-text-desktop {
    display: none;
}

.cs-qr-code-text:focus {
    outline: 2px solid #328170;
    outline-offset: 2px;
}

.cs-qr-code {
	background-color: #fff;
    padding: 16px;
}

.cs-mfa-token-fields-container {
	margin-top: 32px;
}

.cs-form-mfa-field-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	/* justify-content: space-between; */
	/* max-width: 220px; */
}

.cs-form-mfa-field-group {
	display: flex;
	flex-direction: row;
	align-items: center;
    justify-content: flex-start;
	margin-right: 31px;
}
.cs-form-mfa-field-container .cs-form-mfa-field-group:last-child {
    margin-right:0;
}

.cs-form-mfa-field-group .cs-mfa-field-box:first-child {
    margin-left: 0;
}

	.cs-form-mfa-field-group .cs-mfa-field-box:last-child {
		margin-right: 0;
	}

.cs-mfa-field-box {
	width: 28px;
	height: 37px;
	background-color: #fff;
	border-radius: 4px;
	border: solid 2px #10201F;
	text-align: center;
	margin: 2px;
}

	.cs-mfa-field-box:focus {
        box-shadow: 0 0 0 2px #fff, 0 0 0 4px #328170;
        outline: none;
	}

input[type="number"].cs-mfa-field-box {
    -moz-appearance: textfield;
}
    input[type="number"].cs-mfa-field-box::-webkit-inner-spin-button,
    input[type="number"].cs-mfa-field-box::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .cs-mfa-field-separator {
        width: 4px;
        height: 1px;
        background-color: #10201F;
    }

.cs-mfa-card-buttons {
	display: flex;
    justify-content: flex-end;
}

.cs-form-field-meter {
    position: relative;
    height: 16px;
    width: 100%;
    background: #fff;
    border: 1px solid #aab0be;
    margin: 12px 0 4px;
    border-radius: 4px;
}

.cs-password-meter-header {
    margin-bottom: 8px;
}

.cs-password-meter-label {
    font-size: 0.75rem;
    opacity:0.7;
}

#cs-password-meter-label span {
    display: none;
    text-transform: uppercase;
    font-weight: 500;
}

    #cs-password-meter-label.score0 .score0 {
        display: inline;
        color: #BABABA;
    }
    #cs-password-meter-label.score1 .score1 {
        display: inline;
        color: #E81E64;
    }
    #cs-password-meter-label.score2 .score2 {
        display: inline;
        color: #FF5722;
    }
    #cs-password-meter-label.score3 .score3 {
        display: inline;
        color: #FF5722;
    }
    #cs-password-meter-label.score4 .score4 {
        display: inline;
        color: #31A851;
    }

.cs-password-strength-meter-fill {
    background: transparent;
    height: 14px;
    position: absolute;
    width: 0;
    border-radius: inherit;
    transition: width 200ms ease-in-out, background-color 200ms;
}

    .cs-password-strength-meter-fill.score1 {
        background: #E81E64;
        width: 25%;
    }

    .cs-password-strength-meter-fill.score2 {
        background: #FF5722;
        width: 50%;
    }

    .cs-password-strength-meter-fill.score3 {
        background: #FF5722;
        width: 75%;
    }

    .cs-password-strength-meter-fill.score4 {
        background: #31A851;
        width: 100%;
    }

/* Google Recaptcha */ 
.grecaptcha-badge { visibility: hidden; }

.cs-recaptcha--container {
	align-self: flex-end;
	font-size: 12px;
	margin-top: 48px;
    max-width: 100%;
}

@media screen and (min-width: 375px) {
	.cs-mfa-field-box {
		width: 34px;
		height: 45px;
		margin: 4px;
	}
}

@media screen and (min-width: 414px) {
	.cs-mfa-field-box {
		width: 36px;
		height: 48px;
	}
}

@media screen and (min-width: 576px) {
    .cs-signature-deloitte {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .cs-signature-logos > svg {
        height: 10px;
    }

    /* .cs-card-body {
        padding: 32px 16px;
    } */

    .cs-card-buttons form .cs-btn:not(:last-child) {
        margin-right: 8px;
    }

    /* .cs-card-body .cs-separator {
        padding: 32px 0;
    } */

    .cs-login-no-alt-providers .cs-card-buttons button,
    .cs-login-alt-providers .cs-card-buttons button {
        width: auto;
    }

    .cs-login-alt-providers .cs-login-alt-providers-heading {
        margin-bottom: 48px;
    }

    .cs-login-alt-providers .cs-card-buttons form {
        display: flex;
        flex-direction: column;
    }

    .cs-qr-code-text-desktop {
        display: inline-block;
	}
	
	.cs-qr-code-text-mobile {
		display: none;
	}
}

@media screen and (min-width: 768px) {
    .cs-page {
        max-width: 450px;
        padding: 100px 32px 32px;
    }

    .cs-page.cs-page-has-announcements,
    .cs-page.cs-page-wide-mode {
        max-width: 1200px;
    }

	.cs-card-heading {
		padding: 20px 32px;
	}
		
	.cs-page-header h1 {
		font-size: 2rem;
	}

	.cs-page-header .cs-card-logo {
		width: 35px;
		height: 35px;
	}

	.cs-page-header .cs-card-logo > svg {
		width: 100%;
		height: 100%;
	}

    .cs-card {
        /* max-height: 500px; */
    }

        .cs-card.expanded {
            /*max-height: 700px;*/
        }

    .cs-card-body {
		flex-direction: row;
		/*flex-wrap: wrap;*/
		padding: 38px 32px
	}
	
		.cs-card-body-column {
			flex: 1 1 0%;
			margin: 4px 0;
		}

            .cs-card-body-column.cs-card-body-column-reverse-large {
                display: flex;
                flex-direction: column-reverse;
            }

                .cs-card-body-column.cs-card-body-column-reverse-large .cs-password-policy {
                    flex: 1 0 auto;
                }

                .cs-card-body-column.cs-card-body-column-reverse-large .cs-password-strength {
                    flex: 1 1 50%;
                }

    .cs-card-body .cs-register-form {
        flex: 0 0 100%;
    }
		
		/* .cs-card-body .cs-form-column,
        .cs-card-body .cs-login-form,
        .cs-card-body .cs-login-no-alt-providers,
        .cs-card-body .cs-login-alt-providers {
            flex: 0 0 50%;
        } */

    .cs-separator {
        flex-direction: column;
        margin: 0 20px;
    }

    .cs-separator-line {
        width: 2px;
        height: 100%;
    }
	
	.cs-mfa-field-box {
		width: 32px;
		height: 43px;
	}
}

@media screen and (min-width: 992px) {
    .cs-page {
        padding: 12px 32px;
        max-width: 800px;
	}

    .cs-page-header {
        flex-direction: column-reverse;
        margin-bottom: 28px;
    }
	
		.cs-page-header h1 {
			font-size: 1.75rem;
		}

		.cs-page-header .cs-card-logo {
			display: block;
		}
		
	.cs-page-header-terms button {
		display: none;
	}

    .cs-card {
        flex-direction: row;
    }

        .cs-card .cs-card-heading {
            padding: 32px;
        }

            .cs-card .cs-card-heading .cs-card-logo {
				width: 56px;
				height: 56px;
				margin: 36px;
            }

    .cs-card-heading {
		flex: 0 0 45%;
		max-width: 45%;
    }

    .cs-page-has-announcements .cs-card-heading,
    .cs-page-wide-mode .cs-card-heading {
        flex: 0 0 33%;
        max-width: 33%;
    }

    .cs-card-terms {
        height: 100%;
        min-height: 30px;
    }
    .cs-card-terms.cs-card-terms-login-visible {
        height: auto;
    }
        .cs-card-terms > div {
            opacity: 1;
		}

	.cs-card-body {
		padding-left: 40px;
		padding-right: 40px;
	}

		.cs-card-body-column.cs-login-no-alt-providers,
		.cs-card-body-column.cs-login-alt-providers {
			flex: 0 1 30%;
		}

        /*
	.cs-separator {
		margin: 0 32px;
        flex: 0;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        margin: 16px 0;
    }

    .cs-separator-line {
        width: 100%;
        height: 2px;
    }*/

	.cs-mfa-field-box {
		width: 36px;
		height: 48px;
	}

}

@media screen and (min-width: 1440px) {
    .cs-page.cs-page-has-announcements {
        max-width: 1200px;
    }
    /*.cs-page.cs-login-single-col {
        max-width: 900px;
    }*/

	.cs-card .cs-card-heading .cs-card-logo {
		width: 68px;
		height: 68px;
	}

	.cs-card-body {
		padding-left: 50px;
		padding-right: 50px;
	}

	.cs-card-body-column.cs-login-no-alt-providers,
	.cs-card-body-column.cs-login-alt-providers {
		flex: 1 1 0%;
	}

	.cs-separator {
		margin: 0 40px;
	}
}

/** IE11 */
@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    body .cs-body-content {
        flex: 1 1 auto;
    }

    body .cs-page {
        flex: 1 1 100%;
    }

    body .cs-card-terms {
        padding-top: 24px;
        text-align: center;
        width: 100%;
        height: 100%;
        align-items: flex-start;
        justify-content: center;
    }
        body .cs-card-terms.visible {
            height: auto;
        }

    body .cs-page-header-terms .cs-btn-with-icon {
        flex: 0 0 0px;
        min-width: 112px
    }

    body .cs-page-header-terms .cs-btn-with-icon .toggleable-icon {
        flex: 0 0 0px;
        min-width: 7px
    }

    body .cs-footer .cs-signature-logos svg:first-child {
        max-width: 68px;
    }
    body .cs-footer .cs-signature-logos svg:last-child {
        max-width: 122px;
    }

    .cs-recaptcha--container {
        align-self: auto;
    }
}

@media screen and (min-width: 768px) and (-ms-high-contrast: active), screen and (min-width: 768px) and (-ms-high-contrast: none) {
    .cs-header--logo svg {
		/* width: 635px; */
		width: 244px; 
		height: 20px;
    }
}
