/*------------------------------------
CONTENTS
------------------------------------*/


/*
Font
Resets & Hides
Layout
Header
Inputs
Content
Footer
Headers
Hyperlinks
Tables
Navigation
Modal
Loader / Spinner
*/

@font-face {
    font-family: "FordF1Light";
    src: url(../stylesheets/fonts/FordF-1-Light.otf) format("opentype");
}

@font-face {
    font-family: "FordF1Regular";
    src: url(../stylesheets/fonts/FordF-1-Regular.otf) format("opentype");
}

@font-face {
    font-family: "FordF1Medium";
    src: url(../stylesheets/fonts/FordF-1-Medium.otf) format("opentype");
}

@font-face {
    font-family: "FordF1Semibold";
    src: url(../stylesheets/fonts/FordF-1-Semibold.otf) format("opentype");
}

@font-face {
    font-family: "FordF1Bold";
    src: url(../stylesheets/fonts/FordF-1-Bold.otf) format("opentype");
}


/*------------------------------------
$Resets & Hides
------------------------------------*/

* {
    box-sizing: border-box;
    font-weight: 200;
}

.questionNumber,
.DirectDebitAccountHeader,
.DirectDebitAccount,
.LogoMobile,
#LeftSideDiv,
.AerControlHeading,
.RateControlHeading,
.ISAOpenedQuestion {
    display: none;
}

html,
body,
#form1 {
    height: 100%;
}

html {
    position: relative;
}

body {
    font-family: "FordF1Regular", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    padding: 0;
    color: #0F0F0F;
    margin: 0 auto;
}

.ClearFloat,
.clearer {
    clear: both;
    height: 0;
    font-size: 0;
}

/* iOS Resets */

input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox,
select {
    -webkit-appearance: none;
    border-radius: 0;
}
select{
  	padding-right: 30px !important;
  	border: 1px solid #C7C8CA;
  	-webkit-appearance: none;
  	-moz-appearance: none;
  	appearance: none;
  	background: #fff url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='black'><polygon points='0,0 100,0 50,50'/></svg>") no-repeat right 10px top 19px / 12px;
}
select::-ms-expand {
    display: none;
}
a[href^="tel"] {
    color: inherit;
    text-decoration: none;
}
p {
    margin: 0.5em 0;
}

/*------------------------------------
$Layout
------------------------------------*/

#FullPage {
    display: flex;
    flex-direction: column;
    height: 100vh;
}
.LogOffPage #ContentWrapper {
    color: #00095B;
    background: #fff;
}
.PageSummary h1,
.PageHeading h1 {
    color: #00095B;
    display: inline-block;
}
.TransactionWizardPage .PageSummary{display:none;}
/* Hide Page Header */

.MoreInfoPage span.PageSummary,
.MoreInfoPage span.PageHeading,
.LogOffPage span.PageSummary,
.LogOffPage span.PageHeading,
.ChangeContactPreferencesPage span.PageSummary,
.ChangeContactPreferencesPage span.PageHeading {
    display: none;
}

.StatementPage .PageHeading,
.AccountMaintenancePage .PageHeading,
.InterestStatementChoicePage .PageHeading,
.MonthlyStatementChoicePage .PageHeading,
.StatementPage .PageSummary,
.AccountMaintenancePage .PageSummary,
.InterestStatementChoicePage .PageSummary,
.MonthlyStatementChoicePage .PageSummary {
    background: none;
    margin: 0 !important;
    padding:0;
}

.StatementKey strong, .DGS_Wording strong{font-weight:600;}

/*------------------------------------
$Inputs
------------------------------------*/
input:not([type="image"]),
textarea,
select {
    border: 2px solid #CCC;
    padding: 16px 12px 16px 12px;
    border-radius: 8px;
    line-height: normal !important;
    font: inherit;
    color: #00095B;
}

input:not([type="image"]):hover,
textarea:hover,
select:hover {
    border: 2px solid #373a81;
}

input:not([type="image"]):focus,
textarea:focus,
select:focus,
input:not([type="image"]):active,
textarea:active,
select:active {
    border: 2px solid #373a81;
	box-shadow: none;
	outline: 3px solid #d0cdfb;
    outline-offset: 0;
}

/*-------------------------------
// RADIO BUTTON and CHECK BOX
---------------------------------*/
.AnswerOptionsCheckBox,
.AnswerOptionsRadio,
.CheckBoxQuestion,
#ChoiceRadioList .HideEvent,
#ChoiceRadioList .ShowEvent,
.QuestionWrapper.SavingsGoalTargetDate .Question,
.QuestionWrapper.SavingsGoalMonthlyContribution .Question,
.QuestionWrapper.SavingsAccounts li span {
	gap: 0.8rem 0;
	display: grid;
    grid-template-columns: 2.5rem auto;
    padding: 0.25rem 0;
}

input[type='radio'], 
input[type='checkbox'] {
    position: relative;
    accent-color: #00095B;
    width: 2rem;
    height: 1.5rem;
    margin: 0 0.5rem 0 0;
	padding: 0;
	vertical-align: middle;
}

.AnswerOptionsCheckBox label,
.AnswerOptionsRadio label,
.CheckBoxQuestion label,
#ChoiceRadioList .HideEvent label,
#ChoiceRadioList .ShowEvent label {
    padding-top: 0.15rem;
}

/*------------------------------------
$Header
------------------------------------*/

.logo,
.logo-default {
    height: 65px;
}

.account-summary.logo {
	display: none;
}

.AccountSummaryPage .logo,
.ActiveISAAccountSummaryPage .logo,
.DeletedAccountSummaryPage .logo {
	display: none;
}

.AccountSummaryPage .account-summary.logo,
.ActiveISAAccountSummaryPage .account-summary.logo,
.DeletedAccountSummaryPage .account-summary.logo {
	display: block;
}

#HeaderDiv {
    display: flex;
	flex-direction: column;
}

.full-width-header-container {
    width: 100%;
	border-bottom: 1px solid #efefef;
}

.AccountSummaryPage .full-width-header-container,
.ActiveISAAccountSummaryPage .full-width-header-container,
.DeletedAccountSummaryPage .full-width-header-container {
	border: none;
}

.inner-header-container {
    display: flex;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    justify-content: space-between;
	align-items: center;
}

.header-right-container {
    display: flex;
    flex-direction: row;
    gap: 1rem;
	width: 30%;
	align-items: center;
}

.header-right-container,
.InboxNotificationControl {
    position: relative;
    z-index: 20;
    display: flex;
}

.Navigation {
	width: 30%;
    display: flex;
    justify-content: flex-start;
	align-items: center;
}

#HeaderDivContent {
    display: flex;
    justify-content: center;
    align-items: center;
}

#HeaderDiv .InboxNotificationControl {
	flex-grow: 1;
	text-align: right;
	display: flex;
    align-items: center;
	justify-content: flex-end;
}

.UserWelcome {
    order: 3;
	display: flex;
	align-items: center;
	background: url(../images/icons/OnlineMember-blue.svg) left center / 30px no-repeat;
}
.UserWelcome a {
	color: #00095B;
	padding: 1rem 0 0.8rem 2.5rem;
	display: block;
	text-decoration: none;
	font-family: "FordF1Medium", Arial, Helvetica, sans-serif;
}
.AccountSummaryPage .UserWelcome,
.ActiveISAAccountSummaryPage .UserWelcome,
.DeletedAccountSummaryPage .UserWelcome {
	background: none;
}
.AccountSummaryPage .UserWelcome a,
.ActiveISAAccountSummaryPage .UserWelcome a,
.DeletedAccountSummaryPage .UserWelcome a {
	background: url("../images/icons/OnlineMember.svg") left center / 30px no-repeat;
	color: #fff;
}

.AccountSummaryPage .Navigation,
.AccountSummaryPage #HeaderDiv .InboxNotificationControl,
.AccountSummaryPage .UserWelcome,
.ActiveISAAccountSummaryPage .Navigation,
.ActiveISAAccountSummaryPage #HeaderDiv .InboxNotificationControl,
.ActiveISAAccountSummaryPage .UserWelcome,
.DeletedAccountSummaryPage .Navigation,
.DeletedAccountSummaryPage #HeaderDiv .InboxNotificationControl,
.DeletedAccountSummaryPage .UserWelcome {
    display: inline-block;
}

#ScaNotificationControl,
.WelcomeControl {
    max-width: 1400px;
    margin: 0 auto;
	width: 100%;
	padding: 0 1.5rem;
	text-align: center;
	min-height: 880px;
    display: flex;
    align-items: center;
	justify-content: center;
}

.WelcomeControl {
	color: #fff;
}

#HeaderDiv #ScaNotificationControl + .WelcomeControl {
    display: none;
}

.LogoffHeader {
    display: none;
}

h1.HeaderDivContentLogo {
    margin: 0;
    padding: 0;
	display: flex;
    justify-content: center;
}

@media only screen and (max-width: 980px) {
	.logo-default {
		margin: 0;
	}
}

/*------------------------------------*
	$Secure Message & Inbox
*------------------------------------*/
.NotificationMessage .AccLabel,
#InboxNotification_NewInboxNotificationMessageDiv {
	display: none;
}

.InboxNotificationControl .ActionButton {
	margin: 0;
	padding-top: 1rem;
	text-align: right;
    margin-right: 2rem;
}

.InboxNotificationControl .ActionButton a {
    position: relative;
    background-image: url(../Images/icons/inbox-icon-blue.svg);
    background-repeat: no-repeat;
    text-align: left;
    background-color: transparent;
    width: 32px;
    height: 32px;
    background-size: contain;
    border-radius:0;
    padding: 0;
	border: none;
}

.AccountSummaryPage .InboxNotificationControl .ActionButton a,
.ActiveISAAccountSummaryPage .InboxNotificationControl .ActionButton a,
.DeletedAccountSummaryPage .InboxNotificationControl .ActionButton a {
    background-image: url(../Images/icons/inbox-icon.svg);
}

.InboxNotificationControl .ActionButton a:hover,
.InboxNotificationControl .ActionButton a:focus {
	background-color: transparent;
	border: none;
}

.InboxNotificationControl .NewMessageCount {
    position: absolute;
    top: -12px;
    right: -15px;
    display: inline-block;
    width: 25px;
    line-height: 28px;
    height: 25px;
    text-align: center;
    border-radius: 100px;
    font-size: 0.75rem;
    background: #066FEF;
    color: #fff;
}

.InboxNotificationControl .NewMessageCount.Waiting {
    background-color: #066FEF;
}

/*------------------------------------
$Content
------------------------------------*/

#ContentWrapper {
    clear: both;
    width: 100%;
    flex: 1 0 auto;
    padding: 0;
    margin: 0 auto;
}

#ContentDiv {
    width: 100%;
    margin: 0 auto;
	max-width: 1400px;
	padding: 1rem 1.5rem 0;
}

#LeftSideDiv:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#RightSideDiv {
	width: 100%;
	margin: 0 auto 5rem;
    padding: 0 1.5rem;
	max-width: 1400px;
}

/*------------------------------------
$Footer
------------------------------------*/

#FooterDiv {
    flex-shrink: 0;
}

.FooterPhone {
    background: #00095B;
    text-align: center;
    padding: 0;
}

.FooterPhone h2 {
    font-size: 2rem;
	padding: 1.5em 0.5em 1.75em 0.5em;
    margin: 0 auto;
    max-width: 1400px;
}

.FooterPhone h2 a {
	color: #fff;
}

.FooterPhone h3.ContactNo {
    font-size: 40px;
    margin: 0;
    color: #fff;
}

.FooterPhone p {
    font-size: 18px;
    margin: 0;
    color: #fff;
}

.FooterBottom {
    padding: 1em 1.5em;
	max-width: 1400px;
    margin: 0 auto;
	display: flex;
    justify-content: space-between;
	align-items: center;
}

.FooterBottom img.fscs-logo {
    max-width: 200px;
}

.FooterBottom img.footer-logo {
    max-width: 170px;
}

.FooterBottom p {
    color: #000;
    text-align: center;
}

@media only screen and (max-width: 840px) {
    .FooterBottom {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 0.5em;
		align-items: center;
    }
    .FooterBottom :nth-child(2) { order: 2; }
    .FooterBottom img {
        margin: 1em 0;
        flex-grow: 1.5;
    }
	.FooterBottom img.fscs-logo {
    	max-width: 120px;
	}
    .FooterBottom img.footer-logo {
        max-width: 150px;
		height: max-content;
    }
    .FooterBottom p {
        flex-grow: 2;
        width: 100%;
        border-top: 1px solid #efefef;
        padding: 1em;
        margin: 0;
    }
    h1 {
        font-size: 1.5rem;
    }
    h2 {
        font-size: 1.375rem;
    }
    .FooterPhone h2 {
        font-size: 1.5rem;
    }
}

/*------------------------------------
$Headers & Font Styles
------------------------------------*/

h1,
h2,
h3,
h4 {
    font-family: "FordF1Medium", Arial, Helvetica, sans-serif;
    display: block;
    margin: 0.5em 0;
    padding-bottom: 0.25em;
    color: #00095B;
    font-weight: 400;
	font-style: normal;
    line-height: normal;
}

h1 {
	font-size: 2.5rem;
    margin: 2em 0 1.25em 0;
    letter-spacing: -2px;
}

h2 {
    font-size: 1.75rem;
    color: #0F0F0F;
    letter-spacing: -1.4px;
    margin: 1.5em 0;
    padding: 0;
}

.FAQpage h2{font-weight:600;}

h3 {
	font-size: 1.375rem;
    margin: 1.5em 0 1em 0;
    padding: 0;
    letter-spacing: -1.2px;
}

h4 {
	font-size: 1.250rem;
}

strong {
	font-family: "FordF1Bold", Arial, Helvetica, sans-serif;
}

@media only screen and (max-width: 980px) {
	h1 {
        font-size: 1.5rem;
        letter-spacing: -1.2px;
        line-height: 1.4;
    }
	h2,
    h3 {
        font-size: 1.375rem;
        letter-spacing: -1.1px;
        line-height: 1.4;
    }
}

/*------------------------------------
$Hyperlinks
------------------------------------*/

a {
    text-underline-offset: .3em;
    color: #00095B;
}

a:hover,
a:focus {
    text-decoration: underline;
    text-decoration-thickness: max(3px, .1875rem, .12em);
}


/*------------------------------------
$Tables
------------------------------------*/

table {
    margin: 1em 0;
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 16px;
}

tr:nth-child(2n+1) {
    background: #f3f3f3;
}

.InterestStatementHeader tr {
    background: none;
}

.InterestStatementAddress {
    text-align: right;
}

table,
th,
td {
    border: none 0;
}

tr {
    display: flex;
}

th,
td {
    padding: 20px;
    text-align: left;
    vertical-align: top;
    flex-grow: 1;
}

th {
    background: #00095B;
    color: #ffffff;
}

tr:nth-child(2n 1) {
    background: #DBDBDB;
}

dd,
dt {
    margin: 0 0 10px 0;
    display: block;
}

dt {
	float: left;
}

.Information table tr {
    flex-direction: row;
}

/*------------------------------------
$Navigation
------------------------------------*/
.Collapsed.MainMenu {
	/* width: 100%; */
	display: none;
}

.MainMenu ul {
    list-style: none;
    margin: 0;
    display: flex;
    flex-direction: row;
}

.MainMenu ul:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.MainMenu ul li {
    margin: 0;
    padding: 0 1rem;
}

.MainMenu li a {
    display: inline-block;
    padding: 2rem 0 1rem 0;
    text-decoration: none;
    color: #fff;
    font-size: 1rem;
}

.MainMenu li:hover,
.MainMenu li:focus,
.MainMenu li.ActivePage {
    color: #fff;
	opacity: 0.7;
}

/* .LogOffMenuItem a {
    padding: 10px 20px !important;
    margin-top: 1.3rem;;
    background: #00095B;
    border-radius: 3px;
    color: #fff !important;
} */

.MainMenu .MenuItem.InboxMenuItem {
    display: none;
}

#AccountMenu {
    margin: 1.5rem auto 0;
    padding: 0 1.5rem;
    text-align: center;
    max-width: 1400px;
}

#AccountMenu ul {
    padding: 0;
    margin: 0;
    display: flex;
}

#AccountMenu ul li {
    list-style: none;;
	padding: 0 1.5rem 1rem;
	text-decoration:none;
}

#AccountMenu a {
    font-family: "FordF1Medium", Arial, Helvetica, sans-serif;
	text-decoration: none;
}

#AccountMenu li.ActivePage,
#AccountMenu li:hover {
    font-family: "FordF1Medium", Arial, Helvetica, sans-serif;
	border-bottom: 4px solid;
}

#AccountMenu li a {
    color: #00095B;
}

/*------------------------------------*
$ModalWindow
*------------------------------------*/

#ModalWrapper {
    display: none;
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 999;
}

#ModalBackGround {
    background: #000;
    filter: alpha(opacity=75);
    opacity: 0.75;
    z-index: 999;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
}

#ModalMessage {
    display: none;
    padding: 1rem 1rem 2rem 1rem;
    margin: 100px 0 0 0;
    background: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1003;
    text-align: center;
	color: #00095B;
}

#ModalMessage p {
    color: #00095B;
}

/*------------------------------------*
$Loader / Spinner
*------------------------------------*/

.loader {
    border: 5px solid #e6e6e6;
    border-top: 5px solid #00095B;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
