/*
    Layout v2.5 Mark 2

    Table of Contents

    1. Variables
	2. Defaults & General Elements
	3. Page
		3.1 Layout Header
		3.2 Layout Page Content
		3.3 Layout Footer
		3.4 Accordians
		3.5 General Classes
    4. Inputs
		4.1 Flex Config
		4.2 Input Default Classes
		4.3 Control Validator
		4.4 Label
		4.5 Checkboxes/Radio Buttons
	5. Buttons
		5.1 Navigation Button Container
		5.2 Primary Button
		5.3 Minor Button
		5.4 Next & Back Button
		5.5 Other Buttons
    6. Control Specific
		6.1 Panel
		6.2 Product Services
		6.3 Address
		6.4 Employment History
		6.5 Income
		6.6 Documents
		6.7 Disclosures
		6.8 Product Relationship
		6.9 Default ACH
		6.10 Credit Card
		6.11 One Time Passcode
		6.12 HMDA
		6.13 ProductFunding
		6.14 Individual Details
		6.15 Individual List
		6.16 IDAuth
		6.17 Progress Bar
		6.18 Beneficial Ownership
		6.19 Phone Control
		6.20 Beneficiaries
		6.21 Account Selection
		6.22 Prove
		6.23 SMS Options
		6.99 ID Specific (Always Last)
    7. Specific Pages
		7.1 Default
		7.2 Application Summary
		7.3 Applicant New Security
		7.4 Funding Methods
		7.5 Fund Accounts
		7.6 Joint Owners
		7.7 PEP Questions/Restricted Countries (applicant, joint)
    8. Mobile
		8.1 Tablet & Phone in Landscape (600px to 1200px)
		8.2 8.2 Smallest (<751px)
		8.3 Ultra Wide
    9. IE Only
		9.1 Variable Conversion
		9.2 Always Required
	10. Admin Console/Branch
		10.1  Branch Specific Controls
		10.1a Person Search
*/
/*
    1. Variables
*/
:root {
	--primary-yellow: #fdb414;
	--primary-gray: #eeeeef;

	--font-control-color: #040707;
    --font-label-color: #040707;
    --font-color: #040707;
	
    --primary-color: #286090;
    --primary-color-focus: #3498db;
    --secondary-color: #aaa;
    --secondary-color-focus: #d4d4d4;
    --box-background-color: #f6f6f6;
    --box-border-color: #3498db;
    --primary-shadow: .8rem 1.2rem 1.2rem rgba(0, 0, 0, 0.17);
    --primary-shadow-focus: 0px 5px 40px -5px rgba(0, 0, 0, 0.4);
    --secondary-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
    --secondary-shadow-focus: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    --page-width: 100rem;
    --control-width: 40rem;
    --control-height: 4rem;
    --font-size: 1.6rem;
    --rem-size: 10px;

    --link-font-color: #286090;
    --link-font-color-hover: #1e77b3;
}

/*
    2. Defaults & General Elements
*/
html {
    font-size: var(--rem-size);
}

body,
.AdminConsole {
    font-size: 1.4rem;
    line-height: 150%;
}

h1,
h2,
h3,
h4 {
    width: 100%;
    margin: 1.6rem 0;
    color: var(--font-color);
}

h1 {
    font-size: 3.2rem;
}

h2 {
    font-size: 2.4rem;
    font-weight: 500;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 2rem;
    margin-top: 1.6rem;
    margin-bottom: .8rem;
}

legend {
    display: none;
}

p {
    width: 100%;
}

a {
    color: var(--font-color);
	font-weight: 600;
	text-decoration: underline;
}

a:hover {
    color: var(--font-color);
}

label {
    margin-bottom: 0;
    font-size: 1.6rem;
}

select::-ms-expand {
    background-color: white;
    border-color: white;
    padding-right: 1.6rem;
}

::-webkit-scrollbar {
    -webkit-appearance: none;
    -webkit-overflow-scrolling: Auto;
}

::-webkit-scrollbar:vertical {
    width: 8px;
}

::-webkit-scrollbar:horizontal {
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #7F7F7F;
    border: 2px solid #7F7F7F;
    border-radius: 5px;
}

::-webkit-scrollbar-track {
    background-color: #ffffff;
    border: 1px solid #7F7F7F;
    border-radius: 5px;
}

@viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
    font-size: 1.6rem !important;
}

select {
	color: unset !important;
}


/*
    3. Page
*/
#Content {
    width: calc(var(--page-width) + 20px);
}

.centerform {}

.Layout {
    background-color: #fff;
}


/*
    3.1 Layout Header
*/
#LayoutHeader {
    width: 100%;
    background-color: white;
    z-index: 1;
    border-bottom: 3px solid var(--primary-gray);
    position: relative;
    padding: 0 1.6rem;
}

#LayoutHeaderContents {
    margin: 2rem auto;
    width: var(--page-width);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

#HeadLogo img {
	width: 200px;
}

#HeadContact {
    margin-right: 3rem;
}

.headerText,
.headerText a{
	color: var(--font-color);
	padding-right: 2rem;
	font-weight: 600;
}

.headerText a
{
	text-decoration: underline;
}

.iconText {
    padding-left: 0.5rem;
}

.HeaderContactInfo {
    padding-top: 0.5rem;
}

/*
    3.2 Layout Page Content
*/
#LayoutPage {
    width: var(--page-width);
    background-color: white;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
}

.form-section {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

/*
    3.3 Layout Footer
*/
#LayoutFooter {
    width: 100%;
}

#LayoutFooterContents {
    margin: 0 auto;
    padding: 1.6rem 0;
    width: calc(var(--page-width) + 6.4rem + 2px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
}

#LayoutFooterContents>div {
    margin: .4rem 0;
}

.footerBar {
    border-top: 2px solid #515456;
    width: 80px;
    margin: 20px auto;
    display: none;
}

.footerImages>img {
    padding-right: 10px;
    padding-left: 10px;
}

/*
    3.4 Accordians
*/
.CursorPointer {
    cursor: pointer;
}

.panel-group {
    width: 80% !important;
    padding: 0 1rem;
    margin-top: 0rem !important;
    margin-bottom: 0rem !important;
}

.panel {
    border: none;
    box-shadow: none;
    border-radius: 1rem !important;
    background-color: var(--primary-gray);
}

.panel-default {
    margin-bottom: 5rem !important;
}

.approve-pending-panel {
	background-color: #ffdc8d !important;
}

.panel-body {
    width: 100%;
    padding: 4rem 8rem;
    background-color: #ededed;
    border-radius: 0 0 1rem 1rem;
}

.panel-default>.panel-heading {
    background-image: none;
    background-color: var(--font-color);
    border-radius: 1rem 1rem 0 0;
    margin: 0;
    padding: .8rem .8rem .8rem .8rem;
    color: #ffffff;
}

.panel-heading.collapsed {
    background-color: var(--font-color);
    box-shadow: 0px 3px 6px rgba(177, 177, 177, .16);
    border-radius: .8rem;
    border: none;
    color: #ffffff;
}

.panel-title {
    text-align: left;
    position: relative;
    text-align: center;
    font-size: 1.8rem;
    padding: .3rem 0;
    font-weight: 600;
}

.panelArrow {
    float: none !important;
    font-size: 1em !important;
    position: absolute;
    top: .40rem;
    right: 0rem;
}

/*
    3.5 General Classes
*/
/*
.SectionBox {
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, .075), 0 0 3px rgba(102, 175, 233, .6);
	background-color: var(--box-background-color);
	border-radius: 1.6rem;
	border: 1px solid var(--box-border-color);
	width: calc(100% + 2px) !important;
	padding: 1.6rem 3.2rem !important;
	margin: 3.2rem 0 !important;
}
*/
.TitleDefault {
	padding-bottom: 3rem;
	width: var(--page-width);
	display: flex;
	justify-content: center;
	flex-direction: column;
	align-items: center;
}

.PageHeader {
    font-size: 3.2rem;
    font-weight: 500;
    line-height: 150%;
    margin: 0;
    color: var(--font-color);
    text-align: center;
    width: 100%;
}

.PageDesc {
    margin: 0;
    font-size: 2rem;
    text-align: center;
}

.page-header-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	width: 100%;
}

.page-header-panel {
	width: 100%;
	display: flex;
	justify-content: center;
}

.page-header-line {
	border-bottom: 3px solid var(--primary-yellow);
	width: 100%;
}

.page-header-spacer {
	margin-top: 4rem;
}

.error-container {
	display: flex;
	flex-direction: row;
}

#ErrorSummary1 {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.errors {
	border: 2px solid red;
	background-color: #FFFFFF;
	width: 80%;
	padding: 2rem;
	margin-bottom: 5rem;
	border-radius: 1rem;
}

.page-container {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.page-container .fiviPanel .fiviPanelContainer {
	justify-content: center;
	align-items: center;
}

.panel-text-section,
.page-text-section {
	width: 100%;
	/* margin: 0 auto; */
}

.tcpa-section {
	/* width: var(--control-width); */
}

.page-container>h4 {
	font-size: 1.6rem;
	font-weight: 600;
	padding: 2rem 0;
}

.SectionHeaders {
    font-size: 2.4rem;
    width: 100%;
    margin: 3.2rem 0 .5rem 0rem;
    padding: 0 0 .8rem 0;
    color: var(--font-color);
    border-bottom: 3px solid var(--primary-gray);
    font-weight: 600;
}

.SectionDesc {
    margin: .8rem 0 .8rem 0;
    width: 100%;
}

.indentLeft {
    margin: 0 0 0 1.6rem;
}

.LeftFlush {
    margin-left: 0;
}

.AddInd {
    font-size: 1.6rem;
}

.flexBreak {
    flex-basis: 100%;
    height: 0;
}

.fiviMultiSeperator {
    margin: 1.6rem auto .40rem auto;
    width: 24rem;
    height: 2px;
    background-color: var(--primary-color);
    box-shadow: 0 0 3px rgba(102, 175, 233, .6);
}

.fiviNoPadding {
    padding: 0;
}

.fiviLineMargins {
    margin: 1.6rem 0 .8rem 0 !important;
}

.fiviHide {
    display: none !important;
}

.fiviCenterControl {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.DefaultTooltipClass {
    position: absolute;
    right: 1.6rem;
    top: 3.6rem;
}

.tooltip-arrow {
    display: none;
}

.tooltip-inner {
    width: max-content;
    max-width: 350px !important;
}

.SectionBox .table-striped>tbody>tr:nth-child(even)>td,
.SectionBox .table-striped>tbody>tr:nth-child(even)>th {
    background-color: white;
}

.SectionBox .table-hover>tbody>tr:not(:first-of-type):hover>td {
    background-color: #E8E8E8;
}

.SectionBox .table-hover>tbody>tr:first-of-type:hover>td {
    background-color: inherit;
}

.SectionBox th {
    border-top: none !important;
}

/*
    4. Inputs
    4.1 Flex Config
*/
.form-flex,
.form-inline {
    width: 100%;
    padding: 0 0 1.6rem 0;
    display: flex;
}

.fiviAddress .fiviSameAs {
	display: none;
}

.fiviMultiInput {
    width: 100%;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.form-flex,
.form-flex .fiviMultiInput {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.form-inline,
.form-inline .fiviMultiInput {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*
    4.2 Input Default Classes
*/
.fiviInput {
    display: flex;
    position: relative;
    width: 100%;
    margin: 0 0 1.6rem 0;
    flex-direction: column;
}

.form-control {
    width: 100% !important;
    height: 4rem;
    margin: 5px 0px 5px 0px;
    padding: 0px 1.6rem 0px 1.6rem;
    background-color: white;
    color: var(--font-control-color);
    border: 1px solid var(--font-color);
    border-radius: 0;
    border-bottom: 1px solid var(--font-color);
    box-shadow:none;
}

.form-control:focus {
	box-shadow: none;
	border-color: var(--primary-yellow)
} 

.fiviTransparent {
    color: transparent;
}

.TwoControls {
    margin: 5px 0px 5px 0px;
    padding: 0 1.6rem 0 1.6rem;
    width: 48% !important;
}

.fiviInput.TwoControls {
    padding: 0;
    margin: 0;
}

select.TwoControls {
    padding: 0px 10px 0px 10px;
}

.fiviTwoInput {
    justify-content: space-between;
}

.fiviLongInput {
    width: 100%;
    flex-direction: row;
    justify-content: flex-start;
}

.fiviLongInput>.TwoControls {
    width: 19.2rem !important;
    margin-right: 1.6rem;
}

.fiviFullWidth {
    width: 100% !important;
}

.fiviThirdWidth {
    width: 33% !important;
    display: block;
}

.fiviInput.TwoControls>.DefaultTooltipClass {
    top: 1.6rem;
}

.fiviCheckBox>.DefaultTooltipClass {
    display: inline-block;
    position: relative;
    top: unset;
    right: unset;
    margin-left: 1rem;
}

/*
    4.3 Control Validator
*/
.CtlValidator {
    position: absolute;
    top: 3.6rem;
    right: .40rem;
    font-weight: 700;
    z-index: 2;
    width: 1rem;
}

.fiviInput.TwoControls>.CtlValidator {
    top: 1.6rem;
}

.fiviProductFundingItem .CtlValidator {
    top: 2.4rem;
}

.fiviCheckBox.fivicbNoLabel > .CtlValidator {
    top: 0;
    left: -1rem;
}

/*
    4.4 Label
*/
.DefaultLabelClass {
    position: relative;
    left: 0;
    top: 0;
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 26px;
    color: var(--font-label-color);
    cursor: text;
    transition: all .2s ease-in-out;
    text-align: left;
    width: 100%;
    pointer-events: none;
}

.fiviTwoInput>.DefaultLabelClass,
.fiviLongInput>.DefaultLabelClass {
    top: 0;
    left: 0;
    font-size: 1.6rem;
}

.fiviInput.fiviLongInput.fiviPhoneControl>.DefaultLabelClass {
    left: 1.6rem;
    top: 3.4rem;
    font-size: 1.8rem;
}

.FocusLabelClass,
.fiviInput.fiviLongInput.fiviPhoneControl>.FocusLabelClass {
    top: 0;
    left: 0;
    font-size: 1.6rem;
}

.fiviOutsideLabel {
    margin: 2.4rem 0 .8rem 0;
}

label.label-inline {
    font-weight: normal;
    display: inline;
    font-size: 1.4rem;
}

/*
    4.5 Checkboxes/Radio Buttons
*/
.fiviCheckBox {
    align-items: center;
    margin: .40rem 0px;
    padding: 0;
	flex-direction: row;
}

.rbGroupTwoAnswers>.fiviCheckBox {
    margin: 0;
    padding: 0;
    width: 8rem;
}

.cbButtonGroup {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 0 calc(1.6rem + 5px) 0;
    padding: 0 0 0 32rem;
}

.rbButton {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: .8rem 0 .8rem 0;
}

.rbButton>.fiviCheckBox {
    width: 3.2rem;
}

.rbLabel {
    font-size: 1.6rem;
    margin: 0 0 0 0;
}

.rbButtonGroup {
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    margin: 1.6rem 0;
}

.rbGroupQuest {
    width: 50%;
    min-width: 200px;
    padding-right: 3%;
    font-size: 1.6rem;
}

.rbGroupAnswer {
    min-width: 140px;
    width: 50%;
}

.rbGroupTwoAnswers {
    padding: 0px 10px;
    min-width: 140px;
    width: 30%;
    display: flex;
}

.rbButtonGroup>.cbButtonGroup {
    padding: 0 0 0 3.2rem;
    margin: 1.6rem 0 0 0;
}

.rbButtonGroup label {
    font-weight: 500;
}

.rbGroupAddInfo {
    margin: 0 0 0 3.2rem;
    width: 40rem;
}

.fivicbNoLabel {
    display: inline;
    margin: .8rem 0;
    padding: 0;
}

.rbGroupTwoAnswers>span>.form-control,
.rbGroupAnswer>span>.form-control {
    width: 90% !important;
}

.fiviCheckBox.TwoControls {
    padding: 8px 10px 0px 10px;
}

.icheckbox_square,
.icheckbox_square-red,
.icheckbox_square-green,
.icheckbox_square-blue,
.icheckbox_square-aero,
.icheckbox_square-grey,
.icheckbox_square-orange,
.icheckbox_square-yellow,
.icheckbox_square-pink,
.icheckbox_square-purple {
    background-color: white;
}

.iradio_square,
.iradio_square-red,
.iradio_square-green,
.iradio_square-blue,
.iradio_square-aero,
.iradio_square-grey,
.iradio_square-orange,
.iradio_square-yellow,
.iradio_square-pink,
.iradio_square-purple {
    background-color: white;
    border-radius: 50%;
}

/* Special Radio Controls - Mail Diff */
.mail-diff-group {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-direction: row;
}

.mail-diff-group-buttons {
	display: flex;
	justify-content: space-between;
}

#rbMailDiffYes,
#rbMailDiffNo {
	width: 125px;
	height: 40px;
	background-color: #ffffff;
	display: flex;
	margin: .4rem;
}

#rbMailDiffYes .iradio_square,
#rbMailDiffNo .iradio_square,
#rbMailDiffYes .iradio_square input,
#rbMailDiffNo .iradio_square input {
	width: 100% !important;
	height: 40px !important;
	padding: 0;
	top: 0 !important;
	left: 0 !important;
	position: relative !important;
	margin: 0;
	border-radius: .4rem;
}

#rbMailDiffYes .iradio_square,
#rbMailDiffNo .iradio_square {
	background-image: none;
}

#rbMailDiffYes .iradio_square:before,
#rbMailDiffNo .iradio_square:before {
	color: var(--font-color);
	position: absolute;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 125px !important;
	height: 40px !important;
	font-weight: 600;
	border: 1px solid var(--font-color);
	border-radius: .4rem;
}

#rbMailDiffYes .iradio_square:before{
	content: "YES";
}

#rbMailDiffNo .iradio_square:before {
	content: "NO";
}

#rbMailDiffYes label,
#rbMailDiffNo  label {
	width: 125px !important;
	height: 40px !important;
	padding: 0;
	top: 0 !important;
	left: 0 !important;
	position: absolute;
}

#rbMailDiffNo .iradio_square.checked:before,
#rbMailDiffYes .iradio_square.checked:before {
	background-color: var(--primary-yellow);
}


/*
    5. Buttons
    5.1 Navigation Button Container
*/
#pnlDirectionButtons>.fiviPanelContainer,
#pnlASC2>.fiviPanelContainer,
#pnlASC2,#pnlPageASC2,
#pnlPageASC2>.fiviPanelContainer,
#pnlPageDirectionButtons,
#pnlProveButtons {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: auto !important;
}

#pnlASC2,
#pnlPageASC2,
{
	width: max-content;
	margin-right: 2rem;
}

#pnlProveButtons {
	display: flex;
	flex-direction: column;
}

.button-container-savesubmit {
	margin: 3rem 1rem 1rem 1rem;
}

.button-container-back {
	margin: 1rem;
}

.button-container-savesubmit,
.button-container-back {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

.button-container-chat {
	position: fixed;
	display: flex;
	width: fit-content;
	right: 20px;
	z-index: 9999;
	justify-content: space-between;
	bottom: 20px;
	flex-direction: column;
}

/*
    5.2 Primary Button
*/

.primary-yellow-button {
    background-color: var(--primary-yellow) !important;
    border: 2px solid var(--primary-yellow);
    color: var(--font-color);
    box-shadow: none;
    width: 20rem !Important;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 3.2rem;
    transition: all 0.4s ease 0s;
    padding: .4rem 2rem;
    text-transform: uppercase;
    height: 4rem;
    line-height: 3rem;
    margin: 0 1rem;
}

.primary-yellow-button:hover,
.primary-yellow-button:active,
.primary-yellow-button:focus {
	background-color: #ffffff !important;
    border: 2px solid var(--font-color);
    color: var(--font-color);
}

.chat-button-style {
	display: flex;
	width: 150px!important;
	height: auto !important;
	border-radius: 5px;
	text-transform:unset;
	border: 2px solid var(--font-color);
	align-items: center;
	margin-top: 2rem;
}

.chat-button-style:hover,
.chat-button-style:active,
.chat-button-style:focus {
	
}

.primary-white-button,
.btn-default {
    background-color: #ffffff !important;
    border: 2px solid var(--font-color);
    color: var(--font-color);
    box-shadow: none;
    width: 20rem !Important;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    border-radius: 3.2rem;
    transition: all 0.4s ease 0s;
    padding: 0.4rem 2rem;
    text-transform: uppercase;
    height: 4rem;
    line-height: 3rem;
    margin: 0 1rem;
	text-shadow: none !important;
}

.primary-white-button:hover,
.primary-white-button:active,
.primary-white-button:focus,
.btn-default:hover,
.btn-default:active,
.btn-default:focus
{
	background-color: var(--primary-yellow) !important;
    border: 2px solid var(--font-color);
    color: var(--font-color);	
}

.btn-default {
	width: auto !important;
}

.primary-link-button {
    background-color: transparent !important;
    color: var(--font-color);
    border: none;
    box-shadow: none;
    width: auto !important;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
    transition: all 0.4s ease 0s;
    /* padding: .2rem 2rem; */
    text-transform: uppercase;
}

.primary-link-button:hover,
.primary-link-button:active,
.primary-link-button:focus {
	text-decoration: underline;
}

.primary-large-button {
	width: auto !important;
}

.PrimaryButton {
    background-color: var(--primary-yellow);
    border: 2px solid var(--primary-yellow);
    color: var(--font-color);
    box-shadow: none;
    width: 32rem !Important;
    text-align: center;
    font-size: 2.4rem;
    font-weight: 500;
    border-radius: 3.2rem;
    transition: all 0.4s ease 0s;
}

.PrimaryButton:hover,
.PrimaryButton:active,
.PrimaryButton:focus {
    background-color: #ffffff;
    border-color: var(--font-color);
    border-radius: 3.2rem;
    color: var(--font-color);
    box-shadow: none;
    transition: all 0.4s ease 0s;
    outline: none;
}

/*
    5.3 Minor Button
*/
.MinorButton {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    padding: 1.2rem 0;
    margin: .5rem 0 1.6rem 0;
    box-shadow: var(--secondary-shadow);
    width: 25.6rem !important;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 500;
    transition: all 0.4s ease 0s;
}

.MinorButton:hover,
.MinorButton:active,
.MinorButton:focus {
    background-color: var(--primary-color-focus);
    color: #fff;
    box-shadow: var(--secondary-shadow-focus);
    transition: all 0.4s ease 0s;
    border-radius: 3.2rem;
    outline: none;
}

/*
    5.4 Next & Back Button
*/
.NextButton {
    /*box-shadow: none;*/
}

.NextButton:active,
.NextButton:hover,
.NextButton:focus {}

.BackButton {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.BackButton:active,
.BackButton:focus,
.BackButton:hover {
    background-color: var(--secondary-color-focus);
    border-color: var(--secondary-color-focus);
}

.left-arrow::after {
	content: "<";
	font-size: 2rem;
	position: relative;
	left: 10;
	top: -1;
}

.pnlDirectionButtons>#btnBackButton2>.BackButton {
    text-align: center;
}

/*
    5.5 Other Buttons
*/
.SaveButton {
    color: var(--primary-color);
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: center;
    font-size: 1.40rem;
}

.SaveButton:active,
.SaveButton:hover,
.SaveButton:focus {
    background: transparent !important;
    border: none;
    box-shadow: none;
    text-align: center;
    text-decoration: underline;
    transition: all 0.4s ease 0s;
    color: var(--primary-color-focus);
}

.DeclineButton {
    box-shadow: none !important;
}

.DeclineButton:active,
.DeclineButton:hover,
.DeclineButton:focus {}

.MobileScanButton {
    border-radius: 13px;
    margin: 0 0 0 0 !important;
    width: 100% !important;
    font-size: 1.40rem !important;
	text-wrap: wrap;
}

.MobileScanButton:active,
.MobileScanButton:hover,
.MobileScanButton:focus {}


.fiviRemoveBtn {
    position: absolute;
    left: 48.5%;
    top: -2rem;
    z-index: 2;
    background-color: var(--box-background-color);
    color: var(--primary-color);
}

.fiviRemoveBtn:active,
.fiviRemoveBtn:hover,
.fiviRemoveBtn:focus {
    color: var(--primary-color-focus);
}

.fiviCenterBtn {
    display: flex;
    justify-content: space-around;
    margin: 1.6rem 0 1.6rem 0;
}

.StartButton {
    max-width: 20rem !important;
    margin: 0 0 3rem 0;
    font-size: 1.6rem;
    line-height: 1.6;
    font-weight: 600;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: .5rem;
}

/*
    6. Control Specific
    6.1 Panel
*/
.fiviPanel {
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.fiviPanelContainer {
    width: 100%;
}

.fiviPanel .PageDesc {
    margin: 0;
}

/*
    6.2 Product Services
*/
.ProductGroupTitles {
    margin: 0 0 .8rem 0;
}

.fiviProdServControl {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: auto;
    position: relative;
    /* margin: 0 1.6rem 1.6rem 3.2rem; */
}

.fiviProdServ {
    width: 100%;
    margin: 0;
    padding: 1.6rem;
    background-color: var(--primary-gray);
    box-shadow: none;
    border-radius: 1.6rem;
    position: relative;
}

.fiviProdServ>.fiviCheckBox>.DefaultTooltipClass {
    position: absolute;
    right: 1.6rem;
    top: 2.2rem;
    margin: 0;
}

.fiviNoProd {
    padding: 0;
    margin-left: 1.6rem;
}

.Product_MoreInfo,
.Service_MoreInfo {
    margin: .8rem 1rem .4rem 3rem;
    width: unset;
    text-align: left;
}

.fiviProdInnerPanel>.Service_MoreInfo {
    margin: .8rem 0 .8rem 3.2rem;
}

.fiviProductFundingItem>.Product_MoreInfo {
    margin: auto;
    width: 80%;
}

.fiviProdPanel {
    padding: 0 0 0 1.6rem;
}

.fiviProdPanel>.fiviInput {
    width: initial;
    margin: 1.6rem 1.6rem 1.6rem 1.6rem;
    padding: 0;
}

.fiviProductFundingItem>.fiviProdPanel {
    width: 80%;
    margin: auto;
}

.fiviProductFundingItem>.fiviInput {
    width: 80%;
    justify-content: space-between;
    padding-top: .8rem;
    margin: auto;
    align-items: center;
    padding: .8rem 0 0 1.6rem;
}

.fiviProductFundingItem>.fiviInput>input {
    order: 1;
}

.fiviProdInnerPanel {
    display: flex;
    flex-direction: column;
    margin: 0 0 0 0;
    position: relative;
}

.fiviProdInnerPanel>.DefaultTooltipClass {
    right: 0rem;
    top: .5rem;
}

.fiviProdDesc {
    margin: 0 2.4rem 0 2.4rem;
}

.fiviCDWizardInfo {
    width: 100%;
    justify-content: space-between;
    background-color: white;
    box-shadow: none;
    margin: 0 0rem;
    padding: 1.6rem 0;
}

.fiviCertDesc {
    margin: 0 .8rem;
}

.fiviMultiInput.fiviCDWizardInfo {
    flex-direction: row;
}

.ProductServiceTitle {
    align-items: center;
    display: flex;
}

.ProductServiceTitle>div {
    margin: 0;
}

.ProductServiceTitle>label {
    font-weight: 700;
    font-size: 1.6rem;
    margin: 0 0 0 .6rem;
}

.ProductServiceTitle.fiviCheckBox {
    margin: .8rem 0 0 0;
}

/*
    6.3 Address
*/
.DefaultAddressVerifyingClass {
    display: block;
    width: 100%;
    text-align: center;
}

.fiviSameAs {
    width: 50%;
    padding: .8rem 0;
    margin: 1.6rem 0 .8rem 0;
}

.AddressContainer {
    width: var(--control-width);
    position: relative;
}

.AddressContainer>.fiviAddress {
    position: static;
}

.AddressContainer .fiviSameAs {
    position: absolute;
    top: .5rem;
    right: 0rem;
    z-index: 1;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    width: calc(var(--control-width) / 2);
    height: 45px;
}

.AddressContainer .fiviSameAs>label {
    font-weight: normal;
    text-indent: -3px;
    margin-left: 3px;
}

.fiviAddManual {
    width: 100%;
    margin: 1.6rem 0 0 0;
}

/*
	6.4 Employment History
*/
.fiviEmpHistoryControl {
    width: 100%;
}

.fiviEmpHistHeadText {
    margin: .8rem 0 .8rem .40rem;
    display: block;
}

/*
	6.5 Income
*/
.fiviIncomeControl {
    width: 100%;
}

/*
	6.6 Documents
*/
.fiviDocumentList {
    width: 100%;
    margin: 1.6rem 0;
    background-color: transparent !important;
    text-align: left;
}

.fiviDocumentList table {
	margin-top: 2rem;
}

.fiviDocumentList th,
.fiviDocumentList tr,
.fiviDocumentList td
{
    background-color: transparent !important;
	border-color: var(--font-color) !important;
}

.fiviDocListBtn {
    display: flex;
    justify-content: center;
}

.fiviDocumentList .fiviCenterBtn {
    margin-bottom: 0;
}

.fiviDocumentList td {
    vertical-align: middle !important;
}

.fiviDocumentList tr:nth-of-type(1)>td {
    font-weight: bold;
    text-align: left !important;
    border: none;
}

.fiviDocumentList .DefaultTooltipClass {
    position: relative;
    right: unset;
    top: .40rem;
}

/*
	6.7 Disclosures
*/
.fiviDisclosureList {
    display: flex;
    flex-direction: column;
    margin: .8rem 0 1.6rem .8rem;
    width: 100%;
}

.fivi-disclosure-modal .modal-header {
    font-weight: bold;
    font-size: 1.8rem;
}

.fivi-disclosure-modal .modal-body > div {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    width: 65rem;
    margin: 0 auto;
}

.fivi-disclosure-modal .modal-body .NextButton {
    margin-left: 5rem;
}

.fiviDisclosure-checkbox-container {
    display: flex;
    align-items: center;
}

.fiviDisclosure-checkbox-container .SaveButton {
    width: auto !important;
    margin: 0 0 0 1rem;
    padding: 0;
    font-size: 1.6rem;
    outline: none;
    border-radius: 0;
}

/*
	6.8 Product Relationship
*/
.fiviProductRelationship {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.fiviProductRelationship td {
    padding: .8rem 3.2rem !important;
    margin: 3.2rem 0;
    vertical-align: middle !important;
}

.fiviProductRelationship table {
    overflow-x: auto;
    white-space: nowrap;
    border: none;
}

.fiviProductRelationship tr:nth-of-type(1)>td {
    font-weight: bold;
    text-align: left !important;
    border: none;
}

.fiviProductRelationship td,
.fiviProductRelationship tr {
    border: none;
}

/*
	6.9 Default ACH
*/
.fiviACHStatus {
    width: var(--control-width);
    margin: 0 0 0 1.6rem;
    display: block;
}

.fiviACHStatus>span {
    font-weight: normal !important;
}

.fiviACHcbCont {
    width: 50%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
}

.fiviACHControl>.fiviCheckBox {
    width: 100%;
    margin: 5px 0 15px 16.5px;
}

/*
	6.10 Credit Card
*/

/* Has Just A CC Controls */
.fiviCreditCardControl {
    display: flex;
    justify-content: space-around !important;
    align-items: center;
}

.fiviCCCardInfo,
.fiviCCIndNameInfo {
    width: var(--control-width);
}

.fiviCCCardInfo>.DefaultAddressVerifyingClass {
    text-align: right;
    margin: 0 0 0 0;
    padding-right: 1.6rem;
}

/*Has CC and Name*/
.fiviCreditCardControl.ccControl-has-name .fiviCCIndInfo {
    width: var(--control-width);
}

.fiviCreditCardControl.ccControl-has-name .fiviCCIndInfo,
.fiviCreditCardControl.ccControl-has-name .fiviCCCardInfo,
.fiviCreditCardControl.ccControl-has-name .fiviCCIndNameInfo {
    width: 100%;
}

.fiviCreditCardControl.ccControl-has-name .fiviCCCardInfo {
    flex-direction: row;
}

.fiviCreditCardControl.ccControl-has-name .fiviCCCardInfo>.DefaultAddressVerifyingClass {
    text-align: left;
    order: 3;
}

/*Has CC, Name, Address*/
.fiviCreditCardControl.ccControl-has-name.ccControl-has-address {
    flex-direction: column-reverse;
    justify-content: flex-start;
    align-items: flex-start;
}

.fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviCCIndInfo {
    width: 100%;
}

.fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviCCCardInfo,
.fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviCCIndNameInfo,
.fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviCCIndAddy {
    width: var(--control-width);
}

.fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviCCCardInfo>.DefaultAddressVerifyingClass { 
    text-align: right;
}


#CreditCard_Month {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

#CreditCard_Year {
    border-radius: 0;
    border-left: none;
    border-right: none;
}

#CreditCard_CVV {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}


/*
	6.11 One Time Passcode
*/
.fiviOTPDest {
    padding: 0;
}

.fiviOTPDest:first-of-type {
    padding: 0;
    margin-top: 1.6rem;
}

.fiviOTPButtonGroup {
    padding: 1.6rem;
    margin: 0 auto;
    width: 100%;
}

.fiviPanelContainer>span>.fiviInput {
    margin: 0 auto;
}

/*
	6.12 HMDA
*/
.fiviHMDA {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

#hmdaEthnicityGender {
    width: 50%;
}

.fiviHMDAControl {
    width: 50%;
}

.fiviHMDAControl>.fiviMultiInput {
    padding-left: 1.6rem;
}

.fiviHMDAControl>.fiviMultiInput>.fiviCheckBox,
.fiviHMDAControl>.fiviMultiInput>div>.fiviCheckBox {
    width: 100%;
    margin: 0;
    padding: 0;
}

/*
	6.13 ProductFunding
*/
.fiviProductFunding {
    width: 100%;
    margin: auto;
}

.DefaultProductFundingTextBoxClass {
    width: 33% !important;
}

.fiviFundingAmount {
    display: flex;
    flex-direction: row;
    justify-content: center;
    /* border-top: 1px solid var(--primary-color); */
    /* box-shadow: 0 -4px 6px -6px var(--primary-color); */
    padding: .8rem 1.6rem 0 1.6rem;
    width: 80%;
    margin: 3rem auto;
	font-size: 1.6rem;
}

.fiviFundingAmount span {
	margin: 0 1.6rem;
	
}

.fiviFundingMethods {
    width: 100%;
}

.fiviFundingMethods .fiviMultiInput {
    justify-content: space-around;
}

.fiviFundingDetails {
    width: 100%;
}

/*
	6.14 Individual Details
*/
.fiviIndDetailTitle {
    font-size: 2rem;
    margin: .40rem 0;
    color: var(--font-color);
    display: flex;
    align-items: baseline;
    font-weight: 600;
}

.IndDetailSingle,
.IndDetailGroupTitle {
    font-weight: 700;
}

.IndDetailGroup {
    margin: 0 0 0 .40rem;
}

.fiviIndDetails {
    margin: 0 0 0 .40rem;
    display: block;
}

.fiviEmptyIndList {
    width: 50%;
}

/*
	6.15 Individual List
*/
.IndividualLists {
    display: flex;
    justify-content: space-around;
}

.IndividualLists>.fiviPanel {
    margin: 1.6rem 3.2rem .8rem 3.2rem;
    display: block;
}

/*
	6.16 IDAuth
*/
.fiviIDAuth {
    margin: 1.6rem 0 0 0;
}

.fiviIDAuth label {
    font-weight: normal !important;
    padding-left: .40rem;
}

#IDAuthenticationQuestions td {
    padding-bottom: 1rem;
}

/*
	6.17 Progress Bar
*/

#pnlJourneyBar .page-header-line {
	display: none;
}

#pnlJourneyBar {
	width: 100%;
	display: flex;
	justify-content: center;
}

#progBar {
    background: white;
    display: flex;
    width: 80%;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 0 .8rem;
    margin: 0 1.2rem 0 0;
    align-self: center;
}

.ProgressBarOuter {
    background-color: var(--secondary-color);
    height: 16px;
    border: 1px var(--secondary-color);
    border-radius: 1em;
    /*box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;*/
    width: 70%;
    /* width: 32rem; */
    margin: 5px 10px 5px 2px;
    cellpadding: 0px;
    cellspacing: 0px;
    order: 2;
}

.ProgressBarInner {
    background-color: var(--primary-color);
    border-radius: 1em;
    height: 14px;
    overflow: hidden;
}

.TextClass {
    font-weight: bold;
    vertical-align: middle;
    margin: 5px 0px 5px 0px;
    width: 30%;
    order: 1;
}

#progBar td {
	border: none !important;
	padding: 0;
	margin: 0;
	width: 150px !important;
	max-width: 150px !important;
}

#progbar td span {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-weight: 600;
}

.journey-complete #progBar .journeyBarFuture span:before {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	content: "\A";
	border: 3px solid var(--primary-yellow);
	display: inline-block;
	background-color: var(--primary-yellow);
	white-space: pre;
	margin-bottom: 25px;
	position: relative;
}

#progbar .journeyBarFuture span:before {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	content: "\A";
	border: 3px solid var(--primary-yellow);
	display: inline-block;
	background-color: white;
	white-space: pre;
	margin-bottom: 25px;
	position: relative;
}

#progbar .journeyBarPrevious span:before {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	content: "\A";
	border: 3px solid var(--primary-yellow);
	display: inline-block;
	background-color: var(--primary-yellow);
	white-space: pre;
	margin-bottom: 25px;
	position: relative;
}

#progbar .JourneyBarCurrent span:before {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	content: "\A";
	border: 3px solid var(--primary-yellow);
	display: inline-block;
	background-color: var(--primary-yellow);
	white-space: pre;
	top: -7.5;
	position: relative;
	margin-bottom: 10px;
}

#progbar td:before {
	content: "_";
	border-top: 3px solid var(--primary-yellow);
	top: 31px;
	position: relative;
	color: transparent;
	width: 100%;
	max-width: 185px;
	display: inline-flex;
	z-index: 3;
	left: 105;
}

#progbar td:nth-child(4):before {
	border-color: transparent;
}

.journey-complete .page-header-line {
	display: none;
}

/*
	6.18 Beneficial Ownership
*/
.fiviBeneOwnership {
    margin: 1.6rem auto 0 auto;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.fiviBeneOwnership .fiviCenterBtn {
    margin-bottom: 0;
}

.fiviBeneOwnership table {
    overflow-x: auto;
    white-space: nowrap;
    border: none;
}

.fiviBeneOwnership td {
    padding: .8rem 3.2rem !important;
    margin: 3.2rem 0;
    vertical-align: middle !important;
}

.fiviBeneOwnership tr:nth-of-type(1)>td {
    font-weight: bold;
    text-align: left !important;
    border: none;
}

.fiviBeneOwnership td,
.fiviBeneOwnership tr {
    border: none;
}

/*
	6.19 Phone Control
*/
/*
.fiviInput.fiviLongInput.fiviPhoneControl {
	width: 60rem;
	margin-left: 16.4rem;
}
*/

.fiviPhoneControl>.fiviCheckBox {
    border: none;
    box-shadow: none;
    width: 12.8rem !important;
}

.fiviPhoneControl>.fiviCheckBox>label {
    font-weight: normal;
}

.fiviLongInput.fiviPhoneControl>.CtlValidator {
    left: 17.6rem;
}

/*
	6.20 Beneficiaries
*/
.fiviBeneficiaries {
    margin: 1.6rem auto 0 auto;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

.fiviBeneficiaries .fiviCenterBtn {
    margin-bottom: 0;
}

.fiviBeneficiaries table {
    overflow-x: auto;
    white-space: nowrap;
    border: none;
}

.fiviBeneficiaries td {
    padding: .8rem 3.2rem !important;
    margin: 3.2rem 0;
    vertical-align: middle !important;
}

.fiviBeneficiaries tr:nth-of-type(1)>td {
    font-weight: bold;
    text-align: left !important;
    border: none;
}

.fiviBeneficiaries td,
.fiviBeneficiaries tr {
    border: none;
}

/*
	6.21 Account Selection
*/
.fiviAccountSelection {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0 0 calc(1.6rem + 5px) 0;
    padding: 0 0 0 0;
    align-items: center;
}

#indProdRel div {
    text-align: left !IMPORTANT;
    justify-content: flex-start;
    padding: .5rem 0 .5rem 0;
    flex-direction: row;
}

#indProdRel label:first-child {
    font-size: 1.8rem;
    font-weight: bold;
}

#indProdRel label {
    font-weight: normal;
}

#AccountSelectionCheckboxList label {
    font-weight: normal;
}

/*
	6.22 Prove
*/

#pnldisclaimer {
	text-align: left !important;
	padding-bottom: 2rem;
}

.fiviMultiInput.fiviProveIndividualLookup {
	flex-direction: column;
	align-items: center;
}

.fiviMultiInput.fiviProveIndividualLookup > .ProveButtons,
.prove-previous-app>.ProveButtons {
	margin-top: 2rem;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.fiviProveIndividualLookup > .loading {

}

.prove-error-message {
    margin-top: 2rem;
    text-align: center;
}

.prove-previous-app > #ProvePreviousAppDescDiv {
    text-align: center;
    margin: 5rem 0;
    font-size: 1.6rem;
}

/*
	6.23 SMS Options
*/
.fiviPhoneControl {
	flex-wrap: wrap;
}

[id$="_pnlSMSOptInOut"] {
	width: 100%;
	max-width: var(--control-width);
	padding-top: 1.6rem;
}

[id$="_smsOptionsOuterDiv"] {
	width: 100%;
}

[id$="_smsOptionsOuterDiv"] br {
	display: none;
}

[id$="_innerButtonDivOptIn"],
[id$="_innerButtonDivOptOut"]
{
	width: 100%;
	display:flex;
	justify-content:center;
	align-items: center;
}

[id$="_innerButtonDivOptIn"] span,
[id$="_innerButtonDivOptOut"] span
{
	padding: .75rem;
}

[id$="_outerButtonDiv"] {
	width: 100%;
	margin-bottom: 1.6rem;
}

[id$="_smsOptionsDiv"]
{
	width: 100%;
	min-width: 100% !important;
	padding: 1.6rem !important;
}

[id$="_smsOptionsDiv"] span {
	width: 100%;
}
/*
    6.99 ID Specific
*/
#pnlNewIndividualList>div>h4,
#pnlExistingIndividualList>div>h4 {
    margin-top: 0;
}

#pnlIRSDisclosures .SectionBox {
    margin: 0 0 3.2rem 0;
}

#pnlBackupWithholding {
    margin: 0 0 1.6rem 1.6rem;
}

#Comments {
    padding: 0;
}

#pnlTransferFunds,
#pnlTransferFunds2 {
    margin: 1.6rem 0 0 0;
}

/*
    7. Specific Pages
    7.1 Default
*/
#DefaultContents .ApplicationHeader {
    text-align: center;
}

#DefaultContents .SectionHeaders {
    margin-top: 2.4rem;
    margin-bottom: 1.6rem;
    font-size: 2.2rem;
    line-height: 3.2rem;
}

.default-page-container {
	display: flex;
}

.default-page-container-require,
.default-page-container-select {
	display: flex;
	padding: 3rem 2rem;
	width: 50%;
	flex-direction: column;
}

.select-header {
	text-align: center;
	margin-top: 2.4rem;
	font-size: 2.2rem;
	font-weight: 600;
}

.RequiredList {
	padding: 0 !important;
}

.RequiredList li {
	padding: 1rem;
	display: flex;
	align-items: center;
}

.RequiredList li span {
	padding: 1rem;
	display: flex;
	align-items: center;
}

.fa-li {
    color: var(--font-color);
    padding-top: .2rem;
}

.RequiredList>li {
    font-size: 1.6rem;
    margin: .2rem;
}

.thumbnailGroup {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2.4rem 0 0 0;
}

.thumbnailMiniGroup {
    justify-content: space-around;
}

.thumbnail {
    width: 90%;
    text-align: center;
    background-color: #f6f6f6;
    border-radius: 10px;
    padding: .8rem .8rem 0 .8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
}

.thumbtitle {
	display: flex;
	justify-content: center;
	text-align: center;
	padding: 1rem 2rem;
}

.thumbtitle h2 {
	font-size: 1.6rem;
	font-weight: 600;
}

.thumbnail p {
    padding: 0 .8rem .8rem .8rem;
    text-align: left;
    font-size: 1.6rem;
}

/*
    7.2 Application Summary
*/
.SumGroup {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    align-items: baseline;
    margin-bottom: .8rem;
}

.SumGroup>.fiviPanel {
    width: 50%;
}

.SumItem>div,
.SumItem>span,
.SumGroup>.SelectedProdGroup>.fiviIndDetailTitle {
    display: block;
    margin: 1.6rem 0 1.6rem 1.6rem;
}

.SumItem {
    width: 45%;
    position: relative;
}

.SumGroup>.fiviPanel .SumItem {
    width: 100%;
}

.SumGroup>.SelectedProdGroup {
    width: 45%;
    position: relative;
    justify-self: right;
}

.SelectedProdGroup .MinorButton {
    width: 10rem !Important;
    margin: 1.6rem 0 0 1.6rem;
}

.SumItem .MinorButton {
    width: 16rem !important;
}

.IconButton {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-left: 1.6rem;
    filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.2));
    cursor: pointer;
}

.IconButton:active,
.IconButton:hover,
.IconButton:focus {
    color: var(--primary-color-focus);
    filter: none;
}

/*
	7.3 Applicant New Security/Applicant New Employment
*/
#cbAddJointOwners,
#cbAddBene {
	display: flex;
	flex-direction: row;
	width: 50%;
	margin-left: auto;
}

.add-joint-bene-container {
	display: flex;
	align-items: center;
}

#addJointYes,
#addJointNo,
#addBeneYes,
#addBeneNo {
	padding-left: 1rem;
}

/*
	7.4 Funding Method
*/

#pnlACHTransfer .fiviPanelContainer,
#pnlMail .fiviPanelContainer,
#pnlCreditCard .fiviPanelContainer,
#pnlTransferFunds .fiviPanelContainer
{
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	text-align: left;
}

#pnlACHTransfer .fiviPanelContainer .fiviCheckBox,
#pnlMail .fiviPanelContainer .fiviCheckBox,
#pnlCreditCard .fiviPanelContainer .fiviCheckBox,
#pnlTransferFunds .fiviPanelContainer .fiviCheckBox
{
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-direction: row;
}

#achDiv {
	width: 100%;
	text-align: ;
}

#RealTimeInput>div {
	width: 100% !important;
	margin: 0 auto !important;
}

/* 
	7.5 Fund Accounts
*/
#pnlTransferFunds1 li,
#pnlTransferFunds2 li {
	text-align: left;
	
}

/*
	7.6 Joint Owners
*/
	 #pnlNewJointOwnerList .fiviPanelContainer {
		 display: flex;
		 justify-content: center;
		 align-items: center;
		}

/*
	7.7 PEP / Restricted Countries
*/

/*
	7.6 PEP Items / Resident
*/
/*
	7.6 PEP Items / Resident
*/
/* PEP / Probibited Countries */
.prohibited-buttons {
	width: 75%;
	display: flex;
	justify-content: space-evenly;
}

.request-exception-message {
	color: black;
	font-weight:normal;
}

.resident-alien-warning {
    font-weight: 700;
    color: red;
    padding: 1rem;
    margin: 1rem auto;
    display: flex !important;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.resident-alien-withdraw {
    width: auto !important;
    margin: auto;
    background-color: red;
    color: white;
    border: 1px solid red;
    border-radius: 4px;
    padding: 1rem;
    cursor: pointer;
}

.resident-alien-withdraw:hover {
    background-color: transparent;
    color: red;
    border: 1px solid red;
}

.resident-alien-question {
    width: 100%;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    margin: 1rem auto;
    border: 1px solid black;
    padding: 1rem;
}

.resident-alien-answer {
    width: 100%;
    display: flex !important;
    justify-content: center;
}

.resident-alien-answer span {
    padding: 0 1rem;
}

.pep-header{
	text-align: left;
}

.pep-label {
    padding-bottom: 1rem;
    padding-top: 1rem;
    font-size: 1.6rem;
    font-weight: bold;
}

.pep-question {
    width: 100%;
    display: flex !important;
    flex-direction: column;
	justify-content: flex-start;
	text-align: left;
    margin: 1rem auto;
    border: 1px solid black;
    padding: 1rem;
}

.pep-question p {
    width: 100%;
    display: flex !important;
}

.pep-question .fiviCheckBox {
	width: auto;
    padding-right: 2rem;
}
.pep-question .fiviMultiInput {
    text-align: left !important;
	justify-content: flex-start !important;
	align-items: flex-start !important;
}

.pep-question .DefaultLabelClass {
	width: 80%;	
}

.pep-question .DefaultTooltipClass {
	top: 0;
	position: relative;
	padding-left: 2rem;
	font-size: medium !important;
}

#tbPEPRoleTitlePosition .DefaultTooltipClass {
	position: absolute;
	left: 264px;
	top: 5px;
}
.pep-answer {
    width: 100%;
    display: flex !important;
    justify-content: flex-start;
}

.pep-answer textarea {
    width: 100% !important;
}

.pep-answer-column {
    flex-direction: column;
}

.pep-info {
    color: #0047AB;
}

.pep-info i {
    padding-right: 1rem;
}

.pep-warning-info {
	padding-left: 2.5rem;
	color: red;
}

.pep-warning-info .fa-exclamation-circle {
	font-size:larger
}

.pep-header {
    align-self: flex-start;
    text-align: left;
}

/*Expected Account Activity*/
.add-country-button {
    width: auto !important;
}

.btn-remove-country {
    border: none;
    background-color: transparent;
    font-size: small;
    position:absolute;
    right: -35;
    top: 38;
}
/*
    8. Mobile
    8.1 Tablet & Phone in Landscape (600px to 1200px)
*/
@media all and (max-device-width: 900px),
all and (max-width: 900px) {
	.TitleDefault {
		width: 100%;
	}
	
    .centerform {
        margin: 0 auto;
        width: 100%;
    }

    #LayoutHeaderContents {
        margin: .8rem 0rem 2rem 0rem;
        width: 100%;
    }

    #HeadLogo,
    #HeadContact {
    }

    #HeadLogo>img {
    }

    #LayoutFooterContents {
        width: 100%;
    }

    #LayoutPage {
        width: 100%;
        padding: 1.6rem 1rem 1.6rem 1rem;
    }

    .form-section {
        margin: 0;
        display: flex;
        flex-direction: column;
        width: 100%;
    }
}

@media all and (max-device-width: 850px),
all and (max-width: 850px) {
    .thumbnailGroup {
        justify-content: space-around;
    }

    .thumbnail {
        margin: 0 1rem 2rem 1rem;
    }
}

@media all and (max-device-width: 825px),
all and (max-width: 825px) {
	
	#progbar td:before {
	    content: "_";
	    border-top: 3px solid var(--primary-yellow);
	    top: 31px;
	    position: relative;
	    color: transparent;
	    width: 100%;
	    max-width: 146px;
	    display: inline-flex;
	    z-index: 3;
	    left: 83;
	}
	
    .fiviMultiInput.fiviCDWizardInfo {
        flex-direction: column;
    }

    .fiviProdServ {
        width: 35rem;
    }

    ;

    h3 {
        width: var(--control-width);
    }

    h3.panel-title {
        width: 100%;
    }

    .fiviInput,
    .AddressContainer,
    .fiviACHStatus {
        width: 35rem;
    }

    .fiviLongInput {
        width: 100%;
    }

    .fiviCheckBox.TwoControls {
        padding: 8px 0 0px 0;
        margin-right: 0;
    }

    .fiviPhoneControl>.fiviCheckBox {
        width: 12.8rem !important;
    }

    .fiviLongInput>.TwoControls {
        width: 17.2rem !important;
    }

    .fiviPhoneControl {
        overflow-x: visible;
    }

    .cbButtonGroup {
        padding: 0 0 0 28rem;
    }

    .fiviProductFundingItem>.fiviInput,
    .fiviFundingAmount {
        width: 100%;
        margin: 0 0 0 0;
        padding: 1rem 0 0 0;
    }

    .fiviFundingAmount {
        margin-top: 1rem;
    }

    .fiviCreditCardControl.ccControl-has-name .fiviMultiInput {
        align-items: center;
        justify-content: center;
    }
    .fiviCreditCardControl.ccControl-has-name .fiviCCCardInfo {
        width: 100%;
        flex-direction: column;
    }
    .fiviCreditCardControl.ccControl-has-name .fiviCCCardInfo .DefaultAddressVerifyingClass,
    .fiviCreditCardControl.ccControl-has-name .fiviCCIndNameInfo {
        width: 35rem;
    }

    .fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviMultiInput {
        align-items: center;
        justify-content: center;
    }
    .fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviCCCardInfo {
        width: 100%;
        flex-direction: column;
    }
    .fiviCreditCardControl.ccControl-has-name.ccControl-has-address .fiviCCCardInfo .DefaultAddressVerifyingClass {
        width: 35rem;
    }

}


@media all and (max-device-width: 768px),
all and (max-width: 768px) {
	
	#progbar td:before {
	    content: "_";
	    border-top: 3px solid var(--primary-yellow);
	    top: 31px;
	    position: relative;
	    color: transparent;
	    width: 100%;
	    max-width: 135px;
	    display: inline-flex;
	    z-index: 3;
	    left: 81;
	}
}

/*
    8.2 Smallest (<751px)
*/
@media (max-device-width: 750px), (max-width: 750px) {
	#pnlJourneyBar .page-header-line {
		display: unset;
	}

	#pnlReviewDisclosureButton {
		display:none;
	}
	
	.panel-group {
		margin-top: 0 !important;
	}
	
	#progbar {
	    display: none;
	}

	#pnlMail .fiviPanelContainer fieldset {
		/* display: contents; */
	}

	#pnlMail .fiviPanelContainer .fiviCheckBox {
	}
	
	.button-container-savesubmit {
		flex-direction: column-reverse;
		margin: 0;
	}

	.button-container-savesubmit #btnDecline {
		margin-top: 2rem;
	}

	#pnlPageDirectionButtons,
	#pnlDirectionButtons {
		margin-top: 2rem
	}
	
	#pnlASC2, #pnlPageASC2 {
		margin: 2rem 0;
	}
	
	.errors {
	    width: 100% !important;
	    margin: 2rem 1rem;
	}

	.default-page-container {
		flex-direction: column;
	}

	.default-page-container-require, 
	.default-page-container-select {
		width: 100%;
		padding: 2rem 1rem;
	}

	.panel-body {
		padding: 2rem;
	}

	.panel-group {
		width: 100% !important;
	}

	.thumbnail {
		width: 100%;
		margin: 0 0 2rem 0;
	}
	
    .form-flex,
    .form-flex .fiviMultiInput {
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }

	#LayoutHeaderContents {
		flex-direction: column;
	}

    #HeadLogo {
        width: 100%;
    }

    #HeadContact {
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: row;
        align-items: center;
        margin: 1rem;
    }

    #HeadPhone,
    #HeadEmail {
        margin-left: 1rem;
    }

    #HeadContact>br {
        display: none;
    }

    #progBar {
        width: 100%;
        position: relative;
        bottom: -2rem;
    }

    .fiviProdServControl {
        flex-direction: column;
        align-items: center;
    }

    .ProgressBarOuter {
        margin-right: 5px;
    }

    .TextClass {
        font-size: 1.2rem;
    }

    #pnlDirectionButtons>.fiviPanelContainer,
    #pnlASC>.fiviPanelContainer,
    .pnlDirectionButtons {
        align-items: center;
    }

    .PrimaryButton {
        width: 30rem !important;
        margin: 0 0 2rem 0;
    }

    .StartButton {
        width: 100% !important;
    }

    .fiviInput {
        width: 100%;
    }

    .fiviLongInput {
        flex-direction: column;
        margin-left: 0;
    }

    .DefaultLabelClass {
        width: calc(100% - 1.6rem);
    }

    .fiviLongInput>.TwoControls {
        width: 30rem !important;
    }

    .fiviProdServ {
        width: 30rem;
    }

    .AddressContainer .fiviSameAs {
        position: relative;
        left: 0;
        right: 0;
        top: 0;
        justify-content: flex-start;
        width: 30rem;
    }

    .rbButtonGroup {
        flex-direction: column;
        align-items: flex-start;
    }

    .cbButtonGroup {
        margin: 0 0 0 0;
        padding: 0 0 0 0;
    }

    .rbGroupQuest {
        width: 100%;
        margin-bottom: 1rem;
    }

    #btnBackButton {
        order: 2;
    }

    #btnNextButton {
        order: 3;
    }

    #pnlASC {
        order: 1;
    }

    #pnlASC>.fiviPanelContainer {
        margin-top: 0;
    }

    h4 {
        width: 30rem;
    }

    h3 {
        width: 30rem;
    }

    h3.panel-title {
        width: 100%;
    }

    .AddressContainer {
        width: 100%;
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .SumGroup {
        flex-direction: column;
        align-items: center;
    }

    .SumItem>div,
    .SumItem>span,
    .SumGroup>.SelectedProdGroup>.fiviIndDetailTitle {
        margin-left: 0;
    }

    .SumItem,
    .SumGroup>.SelectedProdGroup {
        width: 30rem;
    }

    #pnlIRSDisclosures h4 {
        width: 100%;
    }

    #pnlBackupWithholding {
        margin-left: 0;
    }

    .DefaultProductFundingTextBoxClass {
        width: 50% !important;
    }

    #pnlACHDetails h4,
    #pnlYesFundingOptions2 h4,
    #pnlCreditCardDetails h4 {
        width: 100%;
    }

    .fiviPanelContainer>span>.fiviInput {
        margin: 0 0;
    }

    .fiviACHStatus {
        width: 30rem;
    }

    .fiviCCIndInfo>.fiviInput,
    .fiviCCIndInfo>.fiviMultiInput>.fiviInput,
    .fiviCCCardInfo>.fiviInput,
    .fiviCCIndInfo,
    .fiviCCCardInfo {
        width: 30rem;
    }

    .fiviCCCardInfo .fiviTwoInput {
        flex-wrap: wrap;
    }

    .fiviCCCardInfo .fiviTwoInput>.TwoControls {
        width: 100% !important;
    }

    .fiviCCCardInfo .fiviTwoInput>.TwoControls {
        width: 15rem !important;
    }

    #CreditCard_Month {
        border-radius: .4rem;
    }

    #CreditCard_Year {
        border-radius: .4rem;
        border: 1px solid #C0C0C0;
    }

    .fiviDocumentList {
        margin-left: 0;
    }

	.mail-diff-group {
		flex-direction: column;
	}
	
	.mail-diff-group-buttons {
		display: flex;
		justify-content: space-between;
	}	

	.add-joint-bene-container {
		margin-bottom: 1rem;
	}
	
	.add-joint-bene-container label {
		width: 80%;
	}

	.add-joint-bene-container .fiviCheckBox {
		width: max-content !important;
	}


	/*Document List */
	.fiviDocumentList tbody > tr:first-of-type {
		display: none;
	}

	.fiviDocumentList table > tbody > tr {
		flex-direction: column;
		padding: calc(var(--column-spacer) / 2);
		gap: calc(var(--column-spacer) / 2);
	}

	.fiviDocumentList table > tbody > tr > td {
		display: flex;
		flex-direction: column;
		align-items: center;
		max-width: 100%;
		padding: 0 !important;
		margin: 1rem;
	}

	.fiviDocumentList table > tbody > tr > td::before {
		font-size: var(--font-size-h3);
		line-height: var(--font-lineheight-h4);
		color: var(--font-color-h4);
		font-weight: var(--font-weight-h4);
		font-family: var(--font-family-h4);
		margin-top: 1rem;
	}

	.fiviDocumentList table > tbody > tr > td:nth-of-type(1):before {
		content: "Applicant Name";
		font-weight: 600;
	}

	.fiviDocumentList table > tbody > tr > td:nth-of-type(2):before {
		content: "Document Type";
		font-weight: 600
	}

	.fiviDocumentList table > tbody > tr > td:nth-of-type(3) {
		max-width: 100%;
	}

	.fiviDocumentList .DefaultTooltipClass {
		position: relative;
		height: fit-content;
		margin: var(--gap-vertical-25) 0 !important;
	}

	.fiviDocumentList > input:first-of-type {
		display: none !important;
	}	

	.fiviDocumentList .btn-default {
		margin-top: 2rem
	}
}

/*
    8.3 Ultra Wide
*/
@media all and (min-device-width: 2400px),
all and (min-width: 2400px) {}

/*
    9. IE Only
    9.1 Variable Conversion
*/
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    html {
        font-size: 10px;
    }

    h1,
    h2,
    h3,
    h4 {
        color: #286090;
    }

    a {
        color: #286090;
    }

    a:hover {
        color: #1e77b3;
    }

    #Content {
        width: calc(86rem + 20px);
    }

    #LayoutHeaderContents {
        width: 86rem;
    }

    #LayoutPage {
        width: calc(86rem + 6.4rem + 2px);
    }

    #LayoutFooterContents {
        width: calc(86rem + 6.4rem + 2px);
    }

    .panel-heading.collapsed {
        background-color: #f6f6f6;
    }

    .PageHeader {
        color: #286090;
    }

    .SectionHeaders {
        color: #286090;
        border-bottom: 1px solid #286090;
        box-shadow: 0 4px 6px -6px #286090;
    }

    .fiviMultiSeperator {
        background-color: #286090;
    }

    .fiviInput {
        width: 40rem;
    }

    .form-control {
        color: #303030;
        border-bottom: 1px solid #286090;
        box-shadow: 0 4px 6px -6px #286090;
    }

    .DefaultLabelClass {
        color: #202020;
    }

    .PrimaryButton {
        background-color: #286090;
        border: .40rem solid #286090;
        box-shadow: .8rem 1.2rem 1.2rem rgba(0, 0, 0, 0.17);
    }

    .PrimaryButton:hover,
    .PrimaryButton:active,
    .PrimaryButton:focus {
        background-color: #3498db;
        border-color: #3498db;
        box-shadow: 0px 5px 40px -5px rgba(0, 0, 0, 0.4);
    }

    .MinorButton {
        background-color: #286090;
        box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
    }

    .MinorButton:hover,
    .MinorButton:active,
    .MinorButton:focus {
        background-color: #3498db;
        box-shadow: 0px 5px 40px -10px rgba(0, 0, 0, 0.57);
    }

    .BackButton {
        background-color: #aaa;
        border-color: #aaa;
    }

    .BackButton:active,
    .BackButton:focus,
    .BackButton:hover {
        background-color: #d4d4d4;
        border-color: #d4d4d4;
    }

    .SaveButton {
        color: #286090;
    }

    .SaveButton:active,
    .SaveButton:hover,
    .SaveButton:focus {
        color: #3498db;
    }

    .fiviRemoveBtn {
        background-color: #f6f6f6;
        color: #286090;
    }

    .fiviRemoveBtn:active,
    .fiviRemoveBtn:hover,
    .fiviRemoveBtn:focus {
        color: #3498db;
    }

    .fiviProdServ {
        width: 40rem;
        background-color: #f6f6f6;
    }

    .AddressContainer {
        width: 40rem;
    }

    .fiviACHStatus {
        width: 40rem;
    }

    .fiviCCIndInfo,
    .fiviCCCardInfo {
        width: 40rem;
    }

    .fiviFundingAmount {
        border-top: 1px solid #286090;
        box-shadow: 0 -4px 6px -6px #286090;
    }

    .fiviIndDetailTitle {
        color: #286090;
    }

    #progBar {
        width: 40rem;
    }

    .ProgressBarOuter {
        background-color: #aaa;
        border: 1px #aaa;
    }

    .ProgressBarInner {
        background-color: #286090;
    }

    .IconButton {
        color: #286090;
    }

    .IconButton:active,
    .IconButton:hover,
    .IconButton:focus {
        color: #3498db;
    }
}

/*
    9.2 Always Required
*/
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .fiviTransparent {
        color: white !important;
    }

    .fiviLongInput {
        width: 100%;
    }

    .fiviCreditCardControl {
        flex-direction: row-reverse !important;
    }
}

/*
    10. Admin Console/Branch
*/
.AdminConsole>#LayoutPage {
    padding: 1.6rem 3.2rem 1.6rem 3.2rem;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.AdminConsole .form-inline,
.AdminConsole .form-flex {
    padding: 0 0 1.6rem 0;
}

.AdminConsole .form-inline>.rbButton,
.AdminConsole .form-flex>.rbButton {
    padding-left: .8em;
}

.AdminConsole .form-inline>.rbButton,
.AdminConsole .form-flex>.rbButton {
    padding-left: .8em;
}

.AdminConsole .SectionHeaders {
    margin-left: 0;
}

.AdminConsole .FocusLabelClass,
.AdminConsole .fiviInput.fiviLongInput.fiviPhoneControl>.FocusLabelClass {
    top: 0;
    left: 0;
}

.AdminConsole .fiviPanelContainer>span>.fiviInput {
    margin: 0;
}

.fiviBranchScanner>.pnlDirectionButtons {
    justify-content: center;
    flex-wrap: wrap;
}

.fiviBranchScanner>.pnlDirectionButtons>.btn {
    margin: .5rem 4rem 1.6rem 4rem;
}

/*
    10.1  Branch Specific Controls
    10.1a Person Search
*/
.fiviPersonSearch {
    width: 100%;
    display: block;
}

.fiviPersonSearch .form-control {
    width: 30% !important;
}

.fiviPersonSearch .form-inline {
    display: block;
    padding: 0 0 0 0;
}

.fiviPersonSearch .form-inline .form-control {
    width: 30% !important;
}

.fiviPersonSearch td {
    vertical-align: middle !important;
}

.fiviPersonSearch tr:nth-of-type(1)>td {
    text-align: left !important;
    border: none;
}

.fiviPersonSearch td,
.fiviPersonSearch tr {
    border: none;
}

.fiviPersonSearch .fiviCenterBtn {
    display: inline-block;
}

/*
Unused?


@viewport {
    width: device-width;
}

@-ms-viewport {
    width: device-width;
}

select,
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
    font-size: 1.6rem !important;
}

*/
@media(-o-min-device-pixel-ratio: 5/4),(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi) {
    .icheckbox_square,.iradio_square {
        background-image:url(square@2x-square.png);
        -webkit-background-size: 240px 24px;
        background-size: 240px 24px
    }
}