@charset "utf-8";

/* CSS Document */
@media screen and (min-width:0) and (max-width:800px), (min-resolution:288dpi), (-webkit-min-device-pixel-ratio: 3) {
  /*------------------------------------*
		$Main Menu - Responsive
	*------------------------------------*/
  #ContentDiv {
    padding: 10px;
  }

  #ContentWrapper {
    position: relative;
    background-color: #ffffff;
  }

  #HeaderDiv {
    padding-bottom: 20px;
  }

  #HeaderDivContent {
    padding: 5px;
  }

  #LeftSideDiv {
    position: absolute;
    z-index: 10;
    top: -107px;
    right: 0;
    margin: 0;
    padding: 0;
    background: transparent;
  }

  .LoginContainer {
    margin-top: 10px !important;
    padding: 5px 5px !important;
  }

  .MobileMenu {
    margin: 0;
    padding: 0;
    font-size: 0.750rem;
  }

  .MainMenu ul {
    margin: 0;
    padding: 0;
  }

  .MobileMenu li {
    float: right;
    list-style: none;
  }

  .MobileMenu li a {
    display: block;
    width: 100%;
    padding: 5px;
    padding-top: 40px;
    background: #fff;
    background-position: center;
    background-size: 55px;
    background-repeat: no-repeat;
    color: #000;
    text-align: center;
  }

  .MobileMenu li.AccountSummaryMenuItem a {
    background-image: url(../Images/icons/menu-accountsummary.png);
  }

  .MobileMenu li.LogOffMenuItem a {
    background-image: url(../Images/icons/menu-logoff.png);
  }

  .MobileMenu li.InboxMenuItem a {
    background-image: url(../Images/icons/menu-inbox.png);
  }

  .MobileMenu li a.ToggleMobileMenu {
    padding: 40px;
    background-image: url(../Images/icons/menu-show.png);
    background-position: center;
    background-color: #8cc63e;
    color: #2e2e2e;
  }

  .ExpandedPanel .MainMenu::after {
    display: none;
    content: "";
  }

  .ExpandedPanel .MobileMenu li a.ToggleMobileMenu {
    background-image: url(../Images/icons/menu-hide.png);
    background-position: center;
  }

  .MobileMenu li a:hover,
  .MobileMenu li a:focus,
  .ExpandedPanel .MobileMenu li a.HideMenuButton {
    text-decoration: none;
  }

  .CollapsedPanel .Expanded,
  .ExpandedPanel .Collapsed {
    top: 80px;
    width: 100%;
  }

  .ExpandedPanel .MainMenu {
    width: 100% !important;
    margin-right: 0 !important;
  }

  .AccSumMenuItem,
  .AccountNav {
    clear: both;
    width: 100%;
  }

  .CollapsedPanel .MainMenu,
  .CollapsedPanel .HideMenuButton,
  .ExpandedPanel .ShowMenuButton,
  .AccountSubMenu,
  .ArtBackground,
  .ArtForeground {
    display: none;
  }

  .ExpandedPanel .MainMenu {
    position: absolute;
    right: 0;
    display: block;
    width: 300px;
    margin-right: 20px;
    padding: 0;
  }

  .NavContainer ul.TopNav {
    width: 100%;
  }

  .NavContainer ul.TopNav li {
    display: block;
    width: 100%;
  }

  .ExpandedPanel .MainMenu li {
    float: none;
  }

  .ExpandedPanel .MainMenu li a,
  .NavContainer ul.TopNav a {
    display: block !important;
    margin-left: 0 !important;
    padding-left: 18px;
    background: #6e2f92 !important;
    color: #ffffff !important;
    border-top: 2px solid #ffffff;
  }

  .ExpandedPanel .MainMenu li a:hover,
  .ExpandedPanel .MainMenu li a:focus,
  .NavContainer ul.TopNav a:hover {
    background: #4c4c4c !important;
  }

  .AccountContextMenu {
    right: 0;
    left: 0;
    min-height: 0;
  }

  .AccountContextMenu ul li {
    float: left;
    width: 100%;
  }

  .AccountContextMenu ul li a {
    display: block;
    border: 1px solid #efefef;
    text-align: center;
  }

  .InboxPage .AccountContextMenu ul li {
    width: 50%;
  }

  .RememberMe .CheckBoxQuestion {
    margin: 9px 20px 25px 0 !important;
  }

  .NavContainer {
    padding: 0;
  }

  .SavingsGoalSummaryControl .SavingsGoalSummary {
    width: 100% !important;
  }

  #Savings_pnlAccountStatusControl {
    background: none;
  }

  .C2CSummary {
    clear: both;
    width: 100%;
  }

  .HeadContent,
  .HeadContent p {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    color: inherit;
  }

  .ProductHeadContainer {
    min-height: 0;
  }

  .AdContent{
    width: 100%;
  }
}

/*------------------------------------*
	$Responsive - Desktop Style Display
*------------------------------------*/
@media screen and (min-width:801px) {
  /*------------------------------------*
		$Site Layout - Responsive
	*------------------------------------*/
  .InboxPage #RightSideDiv,
  .StatementPage #RightSideDiv,
  .MaturityOptionsPage #RightSideDiv,
  .AccountMaintenancePage #RightSideDiv,
  .InterestHistoryPage #RightSideDiv,
  .InterestStatementChoicePage #RightSideDiv,
  .MortgageInsurancePage #RightSideDiv,
  .MortgagePaymentBreakdownPage #RightSideDiv,
  .MortgageRateChangePage #RightSideDiv,
  .MortgageStatementPage #RightSideDiv,
  .MortgageTransactionSummaryPage #RightSideDiv {
    position: absolute;
    top: 70px;
    left: 2%;
    width: 21%;
  }

  /*------------------------------------*
		$Main Menu - Responsive
	*------------------------------------*/
  div.Collapsed.MainMenu {
    display: block;
  }

  .MobileMenu {
    display: none;
  }

  .SelectControlHeading,
  .RateControlHeading,
  .AerControlHeading,
  .AmountControlHeading,
  .IncludeInterestControlHeading {
    display: none;
  }
}

@media screen and (min-width:0) and (max-width:800px) and (orientation : landscape) {
  #SubMenu ul li {
    float: left;
    width: 50%;
  }
}

@media screen and (max-width:700px) {
  .AccountSummaryOptions .OptionsList li {
    width: 50%;
  }
}

@media screen and (min-width:0) and (max-width:650px) {
  .RememberMe,
  .RememberMe .ActionButton {
    width: 100%;
  }
}

@media screen and (min-width:0) and (max-width:600px) {
  .InterestPanel .Answer {
    width: auto;
  }

  .SecureMessageConfirmValue,
  .SecureMessageDeletePage .ConfirmationRow p,
  .SecureMessageCreatePage .ConfirmationRow label,
  .SecureMessageCreatePage .ConfirmationRow span {
    width: 100%;
  }

  .SecureMessageReplyPage .SecureMessageConfirmValue,
  .SecureMessageDeletePage .ConfirmationValue,
  .SecureMessageCreatePage .ConfirmationValue {
    margin: 0;
    padding-left: 0;
  }

  .SecureMessageCreatePage .ConfirmationRow p {
    margin: 5px 0;
  }

  .SecureMessageReplyPage .RowInput textarea,
  .SecureMessageCreatePage .RowInput textarea {
    width: 100%;
  }

  .Answer.Confirmation {
    display: block;
    padding-left: 0;
  }

  /* Login and Reset Password Overrides */
  .InternetSignInControl .Question,
  .ResetPasswordWizard .Question {
    float: left;
    width: 35%;
    margin: 0.5em 0;
  }

  .InternetSignInControl .Answer,
  .ResetPasswordWizard .Answer {
    float: left;
  }

  /*------------------------------------*
		$Buttons
	*------------------------------------*/
  .ActionButton.Inline {
    margin: 0 0 0.25em 0;
    text-align: left;
  }

  /*------------------------------------*
		$Account Details
	*------------------------------------*/
  .maintenancevalue {
    float: none;
    display: block;
    margin: 0.25em 0;
    padding-left: 0;
  }

  .maintenanceinformationbutton {
    float: none;
    margin: 0;
  }

  .AccountStatusControl.baby .QuestionWrapper,
  .AccountStatusControl.car .QuestionWrapper,
  .AccountStatusControl.eductaion .QuestionWrapper,
  .AccountStatusControl.gift .QuestionWrapper,
  .AccountStatusControl.holiday .QuestionWrapper,
  .AccountStatusControl.home .QuestionWrapper,
  .AccountStatusControl.rainy-day .QuestionWrapper,
  .AccountStatusControl.wedding .QuestionWrapper {
    width: 100%;
  }

  /*------------------------------------*
		$Maturity
	*------------------------------------*/

  /* Hide Rate and AER Column */
  #MaturityOptionsControl .Cell3,
  #MaturityOptionsControl .Heading3 {
    display: none;
  }

  #MaturityOptionsControl .Cell5 input {
    width: 7em;
  }

  .MaturityRateInformation {
    display: block;
  }

  .MaturityOption {
    border-bottom: 1px solid #2e2e2e;
  }

  /*------------------------------------*
		$Account Status Control
	*------------------------------------*/
  .AccountStatusControl .Balance {
    position: static;
    top: 0;
    right: 0;
    width: 50%;
    margin-right: 0;
    text-align: left;
  }

  .AccountStatusControl .CompanyName,
  .AccountStatusControl .ProductName,
  .AccountStatusControl .AccountStatus,
  .AccountStatusControl .Balance,
  .AccountStatusControl .UserDetails,
  .AccountStatusControl .PseudoName {
    width: auto;
  }

  /*------------------------------------*
		$Summary & Statement Tables
	*------------------------------------*/
  .MiniStatementTable tr,
  .MiniStatementTable td,
  .MiniStatementTable th {
    position: relative;
    display: inline-block;
    overflow: hidden;
    width: 100%;
  }

  /* Statement Tables (includes Mini/Custom Statement, Pending Transactions, Mortgage Transactions) */
  #PendingTransactionsControl .MiniStatementTable table {
    border: #2e2e2e solid;
    border-width: 2px 0;
  }

  #StatementControl .MiniStatementTable table tr,
  #PendingTransactionsControl .MiniStatementTable table tr {
    position: relative;
    display: block;
    overflow: hidden;
  }

  /* Reset table data display to allow for restyling */
  .MonthlyStatementPage .MiniStatementTable table td,
  #StatementControl .MiniStatementTable table td,
  #PendingTransactionsControl .MiniStatementTable table td {
    display: block;
    box-sizing: border-box;
    padding: 0.5em 0.75em;
    border: 0 none;
  }

  .MonthlyStatementPage dd {
    margin: -2.40rem 0 0 130px;
  }

  /* Hide headings 'off screen' to allow usage by accessibility tool */
  .MonthlyStatementPage .MiniStatementTable th,
  #StatementControl .MiniStatementTable th,
  #PendingTransactionsControl .MiniStatementTable th {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  /* Hide Transaction Status, Debit Amount, Credit Amount */
  .MonthlyStatementPage td.Column3,
  .MonthlyStatementPage td.Column5,
  .MonthlyStatementPage td.Column6,
  #StatementControl td.Column3,
  #StatementControl td.Column5,
  #PendingTransactionsControl td.Column3,
  #PendingTransactionsControl td.Column5 {
    display: none;
  }

  #StatementControl td.Column5,
  #StatementControl td.Column6,
  #PendingTransactionsControl td.Column5,
  #PendingTransactionsControl td.Column6 {
    position: absolute;
    bottom: 0;
    color: #73b52d;
    font-weight: 700;
  }

  /* Transaction Date */
  .MonthlyStatementPage td.Column2,
  #StatementControl td.Column2,
  #PendingTransactionsControl td.Column2 {
    display: block;
    width: 100%;
  }

  /* Transaction Description */
  .MonthlyStatementPage td.Column4,
  #StatementControl td.Column4,
  #PendingTransactionsControl td.Column4 {
    display: block;
    width: 50%;
  }

  .MonthlyStatementPage .OpeningBalanceRow .TransactionAmountColumn {
    display: none;
  }

  .MonthlyStatementPage .ClosingBalanceAmount {
    width: auto;
  }

  /* Transaction Amount Column */
  .MonthlyStatementPage .TransactionAmountColumn,
  #StatementControl .TransactionAmountColumn,
  #PendingTransactionsControl .TransactionAmountColumn {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    color: green;
    font-weight: bold;
    text-align: right;
  }

  .TransactionAmountColumn .CreditAmount {
    color: #009309;
  }

  #PendingTransactionsControl .TransactionAmountColumn {
    bottom: 2.214em;
  }

  /* Transaction Balance */
  .MonthlyStatementPage td.Column7,
  #StatementControl td.Column7,
  #PendingTransactionsControl td.Column7 {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    color: #666;
    text-align: right;
  }

  /* Transaction Details Link Column */
  #PendingTransactionsControl td.Column8 {
    width: 100%;
    text-align: left;
  }

  /* Transaction Balance Rows */
  .StartingBalanceDescription,
  .ProcessedBalanceDescription,
  .ClearedBalanceDescription,
  .OpeningBalanceDescription {
    width: 60%;
  }

  .StartingBalanceValue,
  .ProcessedBalanceAmount,
  .ClearedBalanceAmount,
  .OpeningBalanceAmount {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 40%;
    text-align: right;
  }

  /* Hide Transaction Amount Column from Transaction Balance Rows */
  #StatementControl table tr.OpeningBalanceRow .TransactionAmountColumn,
  #StatementControl table tr.ProcessedBalanceRow .TransactionAmountColumn,
  #StatementControl table tr.ClearedBalanceRow .TransactionAmountColumn {
    display: none;
  }

  /*------------------------------------*
		$Change Details
	*------------------------------------*/

  /*prevent select menu from going outside mobile screen */
  #EditMemorableDetails_pnlEditState select {
    width: 100%;
  }

  .ViewEmailAddressControl,
  .ViewAddressControl,
  .ViewContactDetailsControl,
  .ChangeSecurityDetailsControl {
    float: none;
    width: auto;
  }

  .PersonaliseAccountControl .QuestionWrapper .Question,
  .PersonaliseAccountControl .QuestionWrapper .Answer {
    display: block !important;
    width: 100% !important;
  }

  .ViewContactDetailsControl,
  .ChangeSecurityDetailsControl,
  .ViewNameControl,
  .ViewEmailAddressControl,
  .ViewAddressControl,
  .ViewNominatedAccountControl,
  .ViewContactPreferencesControl {
    display: block !important;
    width: 100% !important;
    margin-bottom: 10px;
    border-spacing: 0;
  }

  .ChangeDetailsBox {
    display: block;
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width:500px) {
  .AccountSummaryOptions .OptionsList li {
    width: 100%;
  }

  .maintenancelabel {
    float: none;
    display: block;
    width: auto;
    padding: 0.25em 0 0 0;
    font-size: 0.875em;
  }

  .Question {
    float: none !important;
    display: block;
    width: auto !important;
  }
}

@media screen and (min-width:0) and (max-width:480px) {
  #pageLogo {
    display: inline-block;
    max-width: 225px;
  }

  #MaturityOptionsControl table {
    display: block;
  }

  /* Force table to not be like tables anymore */
  #MaturityOptionsControl table,
  #MaturityOptionsControl thead,
  #MaturityOptionsControl tbody,
  #MaturityOptionsControl th,
  #MaturityOptionsControl td,
  #MaturityOptionsControl tr {
    display: block;
  }

  /* Hide table headers (but not display: none;, for accessibility) */
  #MaturityOptionsControl thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  #MaturityOptionsControl tr {
    border: 1px solid #ccc;
  }

  .SelectControlHeading,
  .RateControlHeading,
  .AerControlHeading,
  .AmountControlHeading,
  .IncludeInterestControlHeading {
    display: inline;
    padding-left: 1rem;
  }

  td.Cell5 .MaturityAmount {
    margin-left: 25%;
  }

  .QuestionHead {
    margin-bottom: 20px;
    background-size: 670px 110px;
  }

  .QuestionHead h2,
  .MatTerms,
  .MatSummary {
    float: none;
    margin-left: 0;
    padding-left: 0;
  }

  .MatSummary {
    margin-top: 10px;
  }

  .MatMargin {
    width: 98%;
    padding: 0 0.5rem;
  }

  #LeftSideDiv {
    top: -85px;
  }
}

@media screen and (max-width:414px) {
  .MonthlyStatementChoiceMenuItem a,
  .ActionButton a,
  .ActionButtons a,
  .WizardButtons a,
  .maintenanceinformationbutton a,
  .InLineFormButton,
  .ExportToButton,
  .FilterButton,
  .ShowAllButton,
  .ShowDeletedButton,
  .ShowActiveButton,
  .InlineFormButton,
  .PrintButton,
  .ActionButtons.Action .Button,
  .SecureMessageCreateMenuItem a,
  a.WorkWithDescription,
  .maturityButtonDiv a,
  .RefreshButton,
  a.maturitybackButton,
  .ActionButtons input,
  .InboxMessage-ActionButtons a,
  a.downloadpdfbutton,
  .moreinfobackbutton a,
  #MaturityOptionsControl .maturityendButton,
  .ActionButton .ResetPassword,
  .LoginContainer .CheckBoxQuestion,
  .TimeoutPromptMessage a {
    width: 100% !important;
  }

  .IsaTransferControlStep2 .GoToPageName a {
    margin-left: 0 !important;
  }

  .AccountContextMenu,
  .AccountSummariesMenu {
    border-bottom: none;
  }

  .AccountSummariesMenu ul li {
    width: 100%;
    border: 1px solid #eeeeef;
  }

  .RememberMe .ActionButton,
  .RememberMe {
    float: none !important;
    width: 100%;
    margin: 0 !important;
  }

  .MonthlyStatementChoice ul li .ActionButton,
  .MonthlyStatement .companyAddress {
    width: 100%;
  }

  .OverviewLeft,
  .OverviewRight {
    clear: both;
    width: 100%;
  }

  .CSCSumTR,
  .CSCSumTH,
  .CSCSumTD {
    clear: both;
    display: block;
    width: 100% !important;
  }
}

@media screen and (min-width:0) and (max-width:400px) {
  .Answer {
    float: none;
    width: 100%;
    margin: 0.25em 0;
  }

  .InfoBoxes {
    display: block;
  }

  .InfoBoxes a {
    display: block;
    width: 100% !important;
    margin-bottom: 20px;
  }
}

@media screen and (max-width:360px) {
  .MustAgreeToTerms .AgreementLink a {
    min-width: auto;
    text-align: left;
  }

  .ApplicationQuestion .ExtraInfo {
    clear: both;
    display: block;
    width: 100%;
  }

  .HideMob {
    display: none;
  }

  .CSCSumTD {
    border: 0;
  }
}
