/*
    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.24 Lien Information
		6.99 ID Specific (Always Last)
    7. Specific Pages
		7.1 Default
		7.2 Application Summary
    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 {
  --hdr-bg-color: #ffffff;
  --ftr-bg-color: #366b93;
  --primary-blue: #366b93;
  --primary-red: #820024;

  --primary-color: #366b93;
  --primary-color-focus: #366b93;
  --secondary-color: #820024;
  --secondary-color-focus: #820024;
  --box-background-color: #f5f5f5;
  --box-border-color: #366b93;
  --primary-shadow: 0.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: 86rem;
  --control-width: 40rem;
  --control-height: 4rem;
  --font-size: 1.6rem;
  --rem-size: 10px;
  --font-control-color: #212529;
  --font-label-color: #212529;
  --font-color: #212529;
  --link-font-color: #366b93;
  --link-font-color-hover: #366b93;
}

/*
    2. Defaults & General Elements
*/
html {
  font-size: var(--rem-size);
}

body {
  font-weight: 400;
  font-family: "Montserrat", sans-serif;
}

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: 0.8rem;
}

legend {
  display: none;
}

p {
  width: 100%;
}

a {
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: underline;
}

a:hover {
  color: var(--primary-red);
  text-decoration: none;
}

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;
}

<style > .errors {
  color: red;
  padding: 15px;
  font-weight: bold;
  font-size: medium;
}
</style > 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;
}

/*
    3. Page
*/
#Content {
  width: calc(var(--page-width) + 20px);
}

.centerform {
}

.Layout {
  background-color: #fff;
}

/*
    3.1 Layout Header
*/
#LayoutHeader {
  width: 100%;
  background-color: white;
  box-shadow: none;
  z-index: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#LayoutHeaderContents {
  margin: 0 auto;
  width: calc(var(--page-width) + 15rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 2rem 0;
}

#fdic-header {
  width: 100%;
  text-align: center;
  padding: 5px 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

#fdic-header img {
  max-width: 100%;
  height: auto;
  margin: 0;
  width: 500px;
}

#HeadContact,
#fdic-header {
  margin-right: 3rem;
}
#HeadContact div {
  padding: 0.5rem 0;
}

#HeadContact i,
#HeadContact a {
  color: var(--primary-red);
  text-decoration: none;
}

#HeadContact a:hover {
  text-decoration: underline;
}

.iconText {
  padding-left: 0.5rem;
}

.HeaderContactInfo {
  padding-top: 0.5rem;
}

/*
    3.2 Layout Page Content
*/
#LayoutPage {
  margin: 0 auto;
  width: calc(var(--page-width) + 6.4rem + 2px);
  background-color: white;
  padding: 4.8rem 3.2rem 1.6rem 3.2rem;
}

.form-section {
  margin: 0 1.6rem;
}

/*
    3.3 Layout Footer
*/
#LayoutFooter {
  width: 100%;
  background-color: var(--ftr-bg-color);
  color: #ffffff;
}

#LayoutFooterContents {
  margin: 0 auto;
  padding: 2rem 1.6rem;
  width: calc(var(--page-width) + 15rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#LayoutFooterContents > div {
}

.footerLine1,
.footerLine2 {
  display: flex;
  padding: 3rem 0 1.5rem 0;
}

.footerLine1 {
  width: 700px;
}
.nav-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}

.nav-menu li {
  height: 45px;
}

.nav-menu > li > a {
  color: #ffffff;
  font-weight: 300;
  margin-inline-end: 12px;
  text-decoration: none;
}

.nav-menu > li > a:hover {
  text-decoration: underline;
}

.footerLine2 {
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #ffffff66;
}

.footerLine2 li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 calc(48px / 2);
}

.footerLine2 li:first-child {
  padding-left: 0;
}

.listitem:after {
  content: "";
  position: relative;
  width: auto;
  left: auto;
  right: calc(-48px / 2);
  height: 22px;
  border-left: 2px solid #ffffff66;
  display: inline-block;
  transform: rotate(21deg);
  bottom: 0;
}

.footerLine2-right {
  display: flex;
  align-items: center;
}

.fa-warehouse {
  font-size: 1.2rem;
  padding-right: 0.5rem;
}

/*
    3.4 Accordians
*/
.CursorPointer {
  cursor: pointer;
}

.panel-group {
  margin: 0 0 1.6rem 0;
  width: 100%;
}

.panel {
  border: none;
  box-shadow: none;
}

.panel-body {
  padding: 0;
  margin: 0;
}

.panel-default > .panel-heading {
  background-image: none;
  background-color: white;
  border-radius: 0.8rem;
  margin: 0;
  padding: 0.8rem 0.8rem 0.8rem 0.8rem;
}

.panel-heading.collapsed {
  background-color: var(--box-background-color);
  box-shadow: 0px 3px 6px rgba(177, 177, 177, 0.16);
  border-radius: 0.8rem;
  border: 1px solid var(--font-color);
}

.panel-title {
  text-align: left;
  position: relative;
}

.panelArrow {
  float: none !important;
  font-size: 1em !important;
  position: absolute;
  top: 0.4rem;
  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;
}
*/
.PageHeader {
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 150%;
  margin: 0 0 1.6rem 0;
  color: var(--font-color);
}

.PageDesc {
  margin: 1.6rem 0;
  font-size: 1.6rem;
}

.SectionHeaders {
  font-size: 2.4rem;
  width: 100%;
  margin: 3.2rem 0 0.5rem 0rem;
  padding: 0 0 0.8rem 0;
  color: var(--font-color);
  border-bottom: 1px solid var(--font-color);
  box-shadow: none;
}

.SectionDesc {
  margin: 0.8rem 0 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 0.4rem auto;
  width: 24rem;
  height: 2px;
  background-color: var(--primary-color);
  box-shadow: 0 0 3px rgba(102, 175, 233, 0.6);
}

.fiviNoPadding {
  padding: 0;
}

.fiviLineMargins {
  margin: 1.6rem 0 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;
}

.fiviMultiInput {
  width: 100%;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

.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;
  padding-top: 20px;
  width: var(--control-width);
  margin-bottom: 0.8rem;
}

.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 #c0c0c0;
  border-radius: 0.4rem;
  border-bottom: 1px solid var(--primary-color);
  box-shadow: 0 4px 6px -6px var(--primary-color);
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: none;
}

.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: 0.4rem;
  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: absolute;
  left: 1.6rem;
  top: 3.4rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 26px;
  color: var(--font-label-color);
  cursor: text;
  transition: all 0.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 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: 0.4rem 0px;
  padding: 0;
}

.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: 0.8rem 0 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: 0.8rem 0;
  padding: 0;
}

.rbGroupTwoAnswers > span > .form-control,
.rbGroupAnswer > span > .form-control {
  width: 90% !important;
}

.fiviCheckBox.TwoControls {
  padding: 8px 10px 0px 10px;
}

.icheckbox_square-black,
.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;
}
.icheckbox_square-blue.checked.disabled {
  background-position: -48px 0;
}
.icheckbox_square-blue.disabled {
  background-position: -24px 0;
}
.iradio_square-black,
.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%;
}

/*
    5. Buttons
    5.1 Navigation Button Container
*/
#pnlDirectionButtons > .fiviPanelContainer,
#pnlASC > .fiviPanelContainer,
.pnlDirectionButtons {
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  width: 100%;
  margin: 1.6rem 0 1.6rem 0;
}

#pnlASC > .fiviPanelContainer {
  margin: 1.6rem 0 -1.6rem 0;
}

/*
    5.2 Primary Button
*/
.PrimaryButton {
  background-color: var(--primary-red);
  border: none;
  color: #fff;
  padding: 1.2rem 0px;
  margin: 0rem 1.6rem 0rem 1.6rem;
  box-shadow: none;
  width: 32rem !important;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  border-radius: 0.8rem;
  transition: all 0.4s ease 0s;
}

.PrimaryButton:hover,
.PrimaryButton:active,
.PrimaryButton:focus {
  background-color: var(--primary-red);
  border: none;
  color: #fff;
  border-radius: 0.8rem;
  box-shadow: none;
  transition: all 0.4s ease 0s;
  outline: none;
  text-decoration: underline;
}

/*
    5.3 Minor Button
*/
.MinorButton {
  background-color: #ffffff;
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  padding: 1.2rem 0;
  margin: 0.5rem 0 1.6rem 0;
  box-shadow: none;
  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-red);
  border: 1px solid var(--primary-red);
  color: #fff;
  box-shadow: var(--secondary-shadow-focus);
  transition: all 0.4s ease 0s;
  border-radius: 0.8rem;
  outline: none;
}

.btn-Default {
  background-color: #ffffff;
  border: 1px solid var(--primary-red);
  color: var(--primary-red);
  margin: 0.5rem 0 1.6rem 0;
  box-shadow: none;
  width: auto !important;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.4s ease 0s;
  text-shadow: none;
}

.btn-Default:hover,
.btn-Default:active,
.btn-Default:focus {
  background-color: var(--primary-red);
  border: 1px solid var(--primary-red);
  color: #ffffff;
}
/*
    5.4 Next & Back Button
*/
.NextButton {
  /*box-shadow: none;*/
}

.NextButton:active,
.NextButton:hover,
.NextButton:focus {
}

.BackButton {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.BackButton:active,
.BackButton:focus,
.BackButton:hover {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  text-decoration: underline;
}

.pnlDirectionButtons > #btnBackButton2 > .BackButton {
  text-align: center;
}

/*
    5.5 Other Buttons
*/
.SaveButton {
  color: var(--primary-red);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
}

.SaveButton:active,
.SaveButton:hover,
.SaveButton:focus {
  color: var(--primary-red);
  background: transparent !important;
  border: none !important;
  box-shadow: none;
  text-align: center;
  text-decoration: underline;
  transition: all 0.4s ease 0s;
  text-shadow: none;
  text-decoration: underline;
}

.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.4rem !important;
}

.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 {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
  width: calc(100% - 1.6rem) !important;
  margin: 0 0 0.8rem 0;
}

.StartButton:active,
.StartButton:hover,
.StartButton:focus {
  background-color: var(--primary-blue);
  border-color: var(--primary-blue);
}

/*
    6. Control Specific
    6.1 Panel
*/
.fiviPanel {
  width: 100%;
}

.fiviPanelContainer {
  width: 100%;
}

.fiviPanel .PageDesc {
  margin: 0;
}

/*
    6.2 Product Services
*/
.ProductGroupTitles {
  margin: 0 0 0.8rem 0;
}

.fiviProdServControl {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  padding: 0rem 0rem 1.6rem 0rem;
  position: relative;
}

.fiviProdServ {
  width: var(--control-width);
  margin: 1.6rem 0;
  padding: 1.6rem;
  background-color: var(--box-background-color);
  box-shadow: 0.8rem 1.2rem 1.2rem rgba(0, 0, 0, 0.1);
  border-radius: 1.6rem;
  position: relative;
}

.fiviProdServ > .fiviCheckBox > .DefaultTooltipClass {
  position: absolute;
  right: 1.6rem;
  top: 2.2rem;
  margin: 0;
}

.fiviNoProd {
  padding: 0.8rem 0 1.6rem 2.4rem;
}

.Product_MoreInfo,
.Service_MoreInfo {
  margin: 0.8rem 0 0.4rem 1.6rem;
}

.fiviProdInnerPanel > .Service_MoreInfo {
  margin: 0.8rem 0 0.8rem 3.2rem;
}

.fiviProductFundingItem > .Product_MoreInfo {
  margin: auto;
  width: 80%;
}

.fiviProdPanel {
  padding: 0 0 0 1.6rem;
}

.fiviProdPanel > .fiviInput {
  width: 100%;
}

.fiviProductFundingItem > .fiviProdPanel {
  width: 80%;
  margin: auto;
}

.fiviProductFundingItem > .fiviInput {
  width: 80%;
  justify-content: space-between;
  padding-top: 0.8rem;
  margin: auto;
  align-items: center;
  padding: 0.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: 0.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 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 0.6rem;
}

.ProductServiceTitle.fiviCheckBox {
  margin: 0.8rem 0 0 0;
}

/*
    6.3 Address
*/
.DefaultAddressVerifyingClass {
  display: block;
  width: 100%;
  text-align: center;
}

.fiviSameAs {
  width: 50%;
  padding: 0.8rem 0;
  margin: 1.6rem 0 0.8rem 0;
}

.AddressContainer {
  width: var(--control-width);
  position: relative;
}

.AddressContainer > .fiviAddress {
  position: static;
}

.AddressContainer .fiviSameAs {
  position: absolute;
  top: 0;
  left: 17rem;
  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;
  font-size: 1.5rem;
}

.fiviAddManual {
  width: 100%;
  margin: 1.6rem 0 0 0;
}

/*
	6.4 Employment History
*/
.fiviEmpHistoryControl {
  width: 100%;
}

.fiviEmpHistHeadText {
  margin: 0.8rem 0 0.8rem 0.4rem;
  display: block;
}

/*
	6.5 Income
*/
.fiviIncomeControl {
  width: 100%;
}

/*
	6.6 Documents
*/
.fiviDocumentList {
  width: 100%;
  margin: 1.6rem 1.6rem 0rem 1.6rem;
}

.fiviDocumentList table {
  margin-top: 2rem;
}

.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 td,
.fiviDocumentList tr {
  border: none;
}

.fiviDocumentList .DefaultTooltipClass {
  position: relative;
  right: unset;
  top: 0.4rem;
}

/*
	6.7 Disclosures
*/
.fiviDisclosureList {
  display: flex;
  flex-direction: column;
  margin: 0.8rem 0 1.6rem 0.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: 0.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: space-between;
  border-top: 1px solid var(--font-color);
  box-shadow: none;
  padding: 0.8rem 1.6rem 0 1.6rem;
  width: 80%;
  margin: 1.6rem auto;
}

.fiviFundingMethods {
  width: 100%;
}

.fiviFundingMethods .fiviMultiInput {
  justify-content: space-around;
}

.fiviFundingDetails {
  width: 100%;
}

/*
	6.14 Individual Details
*/
.fiviIndDetailTitle {
  font-size: 2rem;
  margin: 0.4rem 0;
  color: var(--font-color);
  display: flex;
  align-items: baseline;
}

.IndDetailSingle,
.IndDetailGroupTitle {
  font-weight: 700;
}

.IndDetailGroup {
  margin: 0 0 0 0.4rem;
}

.fiviIndDetails {
  margin: 0 0 0 0.4rem;
  display: block;
}

.fiviEmptyIndList {
  width: 50%;
}

/*
	6.15 Individual List
*/
.IndividualLists {
  display: flex;
  justify-content: space-around;
}

.IndividualLists > .fiviPanel {
  margin: 1.6rem 3.2rem 0.8rem 3.2rem;
  display: block;
}

/*
	6.16 IDAuth
*/
.fiviIDAuth {
  margin: 1.6rem 0 0 0;
}

.fiviIDAuth label {
  font-weight: normal !important;
  padding-left: 0.4rem;
}

#IDAuthenticationQuestions td {
  padding-bottom: 0.2rem;
}

/*
	6.17 Progress Bar
6.17 Progress Bar
*/
#progBar,
#journeyBar {
  background: #fff;
  display: flex;
  width: calc(var(--page-width) + 15rem);
  position: relative;
  margin: auto 0;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 100%;
}

#journeyBar {
  display: flex;
  margin: 0 auto 0 auto;
  padding-right: 160px;
}

@media all and (max-device-width: 100%), all and (max-width: 100%) {
  #journeyBar {
    margin: 0;
    padding-right: 0;
  }
}

@media all and (max-device-width: 100%), all and (max-width: 100%) {
  #progBar {
    display: flex;
  }

  #journeyBar {
    display: none !important;
  }
}

.ProgressBarOuter {
  background-color: #366b93;
  height: 16px;
  border: 1px #366b93;
  border-radius: 8px;
  /*box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;*/
  max-width: 300px;
  width: 300px;
  /* width: 32rem; */
  order: 2;
}

.ProgressBarInner {
  background-color: #820024;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  margin-left: 1px;
}

.TextClass {
  color: #366b93;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
  order: 1;
  flex-shrink: 0;
}

.journeybar {
  text-align: center;
  border-top: none;
  margin-bottom: 0;
}

.journeybar .hidden-xs.hidden-sm {
  display: unset !important;
}

.journeybar > tbody > tr {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.journeybar > tbody > tr > td {
  width: 20%;
}

.journeybaricons {
  display: block;
  max-height: 24px;
  margin: 0 auto;
}

.journeybarcurrent,
.journeybarfuture,
.journeybarprevious {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  border-top: none !important;
  border-bottom: solid 6px #366b93;
  border-radius: 0.5em 0.5em 0 0;
  padding: 11px 5px 5px 5px !important;
  min-width: 110px;
  width: fit-content;
  font-size: 16px;
}

.journeybarcurrent {
  font-weight: 700;
  background-color: #ffffff;
  bottom-border: #820024;
}

.journeybarfuture {
  opacity: 0.4;
  border-bottom: #366b93;
}

.journeybarprevious {
  opacity: 0.75;
  border-bottom: #366b93;
}

/*
.journeybarcurrent {
	display: inline-block;
	width: 16%;
	border-bottom: solid 6px #820024;
	border-radius: 0.5em 0.5em 0 0;
	margin-right: 0.5%;
	font-weight: bold;
	color: #000000;
	border-top: none !important;
	background-color: #ffffff;
}

.journeybarfuture {
	display: inline-block;
	width: 16%;
	border-bottom: solid 6px #366b93;
	border-radius: ;
	margin-right: 0.5%;
	color: #366b93;
	opacity: 0.4;
	border-top: none !important;
}

.journeybarprevious {
	display: inline-block;
	width: 16%;
	border-bottom: solid 6px #366b93;
	border-radius: em;
	margin-right: 0.5%;
	color: #366b93;
	opacity: 0.75;
	border-top: none !important;
}
*/

/*
	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: 0.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: 0.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: 0.5rem 0 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
*/

.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;
}

.prove-error-message {
  margin-top: 2rem;
  text-align: center;
}

.prove-previous-app > #ProvePreviousAppDescDiv {
  text-align: center;
  margin: 5rem 0;
  font-size: 1.6rem;
}

.prove-disclosure {
  margin-top: 1rem;
}

.prove-check-phone-image-container {
  display: flex;
  justify-content: center;
}

.prove-check-phone-image-container img {
  width: 400px;
}

/*
	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: 0.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%;
}

.form-element label:hover {
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
}

.form-element input:checked + label {
  border: 2px solid var(--primary-blue);
  background: var(--primary-blue);
  color: #fff !important;
}

/*
	6.24 Lien Information
*/

.fiviLienInfoControl {
  width: 100%;
}

.fiviLienInfoControl .fiviMultiContainer {
  margin-bottom: 2rem;
}

.fiviLienInfoControl table {
  width: 100%;
  margin-bottom: 20px;
}

.fiviLienInfoControl table span {
  top: 0;
  left: 0;
}

.fiviLienInfoControl input::placeholder {
  color: transparent;
}

/*
    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;
  /* padding-top: 1.5rem; */
}

#DefaultContents .SectionHeaders {
  margin-top: 2.4rem;
  margin-bottom: 1.6rem;
  font-size: 2.2rem;
}

.fa-li {
  color: var(--primary-red);
  padding-top: 0.2rem;
}

.RequiredList > li {
  font-size: 1.6rem;
  margin: 0.2rem;
}

.thumbnailGroup {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 2.4rem 0 0 0;
}

.thumbnailMiniGroup {
  justify-content: space-around;
}

.thumbnail {
  width: 27.2rem;
  text-align: center;
  box-shadow: none;
  background-color: #ffffff;
  border-radius: 10px;
  border: 2px solid var(--primary-red);
  padding: 0.8rem 0.8rem 0 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thumbIcon {
  width: 68px;
  margin: auto;
  font-size: 27px;
  color: var(--primary-red);
  padding: 18px 20px;
  background-color: #ffffff;
  border: solid 2px var(--primary-red);
  border-radius: 50%;
  text-align: center;
}

.thumbnail p {
  padding: 0 0.8rem 0.8rem 0.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: 0.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-red);
  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-red);
  filter: none;
}

/*
    8. Mobile
    8.1 Tablet & Phone in Landscape (600px to 1200px)
*/
@media all and (max-device-width: 900px), all and (max-width: 900px) {
  .centerform {
    #LayoutHeader {
      padding: 0 1rem;
    }
    margin: 0 auto;
    width: 100%;
  }

  #LayoutHeaderContents {
    margin: 0.8rem 0rem 0 0rem;
    width: 100%;
  }

  #HeadLogo,
  #HeadContact {
    max-width: 50%;
  }

  #HeadLogo > img {
    /* width: 100%; */
  }

  #LayoutFooterContents {
    width: 100%;
  }

  #LayoutPage {
    width: 100%;
    padding: 3.2rem 1rem 1.6rem 1rem;
  }

  .footerLine2 {
    flex-direction: column;
  }

  .footerLine2 div {
    justify-content: center;
  }

  .form-section {
    margin: 0;
  }
}

@media all and (max-device-width: 850px), all and (max-width: 850px) {
  .thumbnailGroup {
    justify-content: space-around;
    width: 100%;
  }

  .thumbnail {
    margin: 0 1rem 2rem 1rem;
  }
}

@media all and (max-device-width: 825px), all and (max-width: 825px) {
  .fiviMultiInput.fiviCDWizardInfo {
    flex-direction: column;
    width: 100%;
  }

  .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;
  }
}

/*
    8.2 Smallest (<751px)
*/
@media all and (max-device-width: 750px), all and (max-width: 750px) {
  .form-flex,
  .form-flex .fiviMultiInput {
    /*flex-direction: column;*/
    justify-content: space-around;
    align-items: center;
    width: 100%;
  }

  #LayoutHeaderContents {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }

  #HeadLogo {
    max-width: 75%;
    width: 100%;
  }

  #HeadContact {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding-top: 2rem;
  }

  #HeadPhone,
  #HeadEmail {
    margin-left: 1rem;
  }

  #HeadContact > br {
    display: none;
  }

  .footerLine1 ul,
  .footerLine2 ul {
    flex-direction: column;
    align-items: center;
  }

  .footerLine1 {
    padding-bottom: 0;
  }

  .footerLine2 {
    padding-top: 0;
    border: 0;
  }

  .listitem:after {
    border: 0;
  }

  .footerline2-right {
    padding-top: 3rem;
  }

  #progBar {
    width: calc(var(-page-width) + 15rem);
    position: relative;
    margin: 0 auto;
  }

  .fiviProdServControl {
    flex-direction: column;
    align-items: center;
  }

  .ProgressBarOuter {
    margin-right: 5px;
  }

  .TextClass {
    font-size: 1.2rem;
  }

  #pnlDirectionButtons > .fiviPanelContainer,
  #pnlASC > .fiviPanelContainer,
  .pnlDirectionButtons {
    flex-direction: column-reverse;
    align-items: center;
  }

  .PrimaryButton {
    width: 30rem !important;
    margin: 0 0 2rem 0;
  }

  .StartButton {
    width: 100% !important;
  }

  .fiviInput {
    width: 30rem;
  }

  .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: 0.4rem;
  }

  #CreditCard_Year {
    border-radius: 0.4rem;
    border: 1px solid #c0c0c0;
  }

  .fiviDocumentList {
    margin-left: 0;
  }
}
@media all and (max-device-width: 650px), all and (max-width: 650px) {
  .journeybar td > span.hidden-xs.hidden-sm {
    display: none !important;
  }

  .journeybarcurrent,
  .journeybarfuture,
  .journeybarprevious {
    min-width: auto;
  }
}

/*
    8.3 Ultra Wide
*/
@media all and (min-device-width: 2400px), all and (min-width: 2400px) {
  width: 100%;
}

/*
    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: 100%;
  }

  #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: 0.4rem solid #286090;
    box-shadow: 0.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: calc(var(-page-width) + 15rem);
    position: relative;
    margin: 0 auto;
  }

  .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: 0.8em;
}

.AdminConsole .form-inline > .rbButton,
.AdminConsole .form-flex > .rbButton {
  padding-left: 0.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: 0.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;
}

*/
