/*
    Layout v2.6 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
		7.3 AdditionalInfo
    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-color: #0c2340;
  --primary-blue: #0c2340;
  --primary-color-focus: #3498db;
  --secondary-color: #ff6720;
  --secondary-color-yellow: ##d64304;
  --secondary-color-focus: #d4d4d4;
  --box-background-color: #f6f6f6;
  --box-border-color: #d64304;
  --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: #303030;
  --font-label-color: #202020;
  --font-color: #575757;
  --link-font-color: #0c2340;
  --link-font-color-hover: #9e2f00;
  --font-family-header: "Open Sans", sans-serif;
  --font-family-body: "Source Sans Pro", sans-serif;
}

/*
    2. Defaults & General Elements
*/
html {
  font-size: var(--rem-size);
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow-x: hidden;
}

body,
.AdminConsole {
  font-size: 1.4rem;
  line-height: 150%;
  font-family: var(--font-family-body);
}

h1,
h2,
h3,
h4 {
  width: 100%;
  margin: 1.6rem 0;
  color: var(--primary-color);
}

h1 {
  font-size: 3.2rem;
  font-family: var(--font-family-header);
  font-weight: 300;
  color: white;
}

h2 {
  font-size: 2.4rem;
  font-weight: 500;
  font-family: var(--font-family-body);
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 2rem;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}

legend {
  display: none;
}

p {
  width: 100%;
}

a,
.btn-link {
  color: var(--link-font-color);
  text-decoration: none;
}

a:hover {
  color: var(--link-font-color-hover);
  text-underline-offset: 3px;
  display: inline-block;
  transition: all 0.3s ease 0s;
}

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;
}

/*
    3. Page
*/
#Content {
  width: calc(var(--page-width) + 20px);
}

.centerform {
}

.Layout {
  background-color: #fff;
}

.AdminConsole footer,
.AdminConsole header {
  display: none;
}

/*
    3.1 Layout Header
*/
#fdic-disclaimer {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#LayoutHeader {
  width: 100%;
  background-color: white;
  /* box-shadow: 0 .4rem .4rem rgba(0, 0, 0, 0.17); */
  z-index: 1;
  position: relative;
  padding-bottom: 1.6rem;
}

#LayoutHeaderContents {
  margin: 0 auto;
  width: var(--page-width);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  padding: 1.2rem;
}

#HeadContact {
  margin-right: 3rem;
}

.iconText {
  padding-left: 0.5rem;
}

.HeaderContactInfo {
  padding-top: 0.5rem;
}

.stripes div:first-child {
  background-color: #dc4405;
  width: 100%;
  height: 4px;
}

.stripes div:nth-child(2) {
  background-color: #ff6720;
  width: 100%;
  height: 4px;
}

.stripes div:last-child {
  background-color: var(--secondary-color-yellow);
  width: 100%;
  height: 4px;
}

#horizontal-logo {
  display: none;
}

/*
    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%;
}

#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;
}
 */
/* Beneficial State Bank Footer Styling  */
footer {
  clear: both;
  background: var(--primary-blue);
  text-align: center;
  padding-top: 6em;
  color: #ffffff;
  font-family: var(--font-family-header);
  font-size: 18px;
}

footer.page-footer .nav.nav-footer h4 {
  text-transform: uppercase;
  letter-spacing: 2px;
}

footer.page-footer .nav.nav-footer .nav-item,
footer.page-footer .nav.nav-footer h4 {
  font-family: "Open Sans";
  font-size: 14px;
  color: #fff;
  font-weight: 400;
  text-align: left;
}

footer .nav-item {
  padding: 0 2em;
}

footer .nav-footer a {
  font-family: "Source Sans Pro", sans-serif;
  text-transform: none !important;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
}

footer .nav-footer a:hover {
  background-color: var(--primary-blue);
}

footer .nav-social .nav-item {
  padding: 0 0.5em;

  svg.fa-x-twitter {
    background: #333f48;
  }

  svg {
    padding: 14px;
    border-radius: 0.1em;
    cursor: pointer;
    width: 58px;
    height: 58px;

    path {
      fill: white;
      font-size: 100rem !important;
    }
  }
}

footer .nav-social span {
  display: none;
}

footer .nav-footer {
  padding: 2em 0;
}

.nav.nav-footer h4 {
  margin-bottom: 2rem;
}

footer .nav-footer a {
  font-family: "Source Sans Pro", sans-serif;
  text-transform: uppercase;
  font-weight: 400;
  color: white;
  text-decoration: none;
  padding: 0 !important;
  margin: 1em 0;
}

footer .nav-footer a:hover {
  color: white;
}

footer .nav-footer .nav-item {
  /* border-right: 1px solid $orange-100; */
  padding: 0 1em;
}

footer .nav-footer .nav-item:last-child {
  border-right: 0;
}

footer.page-footer .nav.nav-footer .nav-item {
  border: none;
  padding: 0 !important;
  margin: 8px 0;
}

footer .fa {
  padding: 14px;
  font-size: 30px;
  width: 56px;
  text-align: center;
  text-decoration: none;
  color: white;
  /* background: $orange-100; */
  border-radius: 0.1em;

  @media (max-width: 350px) {
    padding: 8px;
    font-size: 24px;
    width: 48px;
  }
}

footer .fa-facebook-f {
  background: #3b5998;
}

footer .fa-twitter {
  background: #1da1f2;
}

footer .fa-instagram {
  background: #c32aa3;
}

footer .fa-youtube {
  background: red;
}

footer .fa-linkedin-in {
  background: #007bb5;
}

footer .nav-item a .fa-2x:hover {
  transition: all 0.3s ease 0s;
  opacity: 0.7;
}

footer .nav-item {
  border-bottom: 0 !important;
}

.nav > li > a:hover,
.nav > li > a:focus {
  text-decoration: none;
  background-color: transparent;
}

.nav-social {
  display: flex;
  /* margin-left: auto;
    margin-right: auto; */
  margin-bottom: 40px;
  justify-content: center;
  /* flex-wrap: wrap !important; */
  /* max-width: 100% */
}

.nav-social > .nav-item {
  /* background: pink; */
}

.page-footer .nav-social .nav-item {
  /* max-width: 20%; */
  padding: 0 0.5em;
}

.nav > li > a {
  padding: 0;
}

footer > ol li,
footer > ul li {
  font-size: 1.8rem;
  line-height: 2.6rem;
}

.logos {
  display: flex;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.fdic-footer .eho {
  display: inline-block;
  padding: 0 1px 3px;
  height: 18px !important;
  width: auto;
  vertical-align: text-bottom;
}

.pt-60 {
  padding-top: 60px;
  font-size: 16px;
}

.fdic-footer,
.copyright,
.routing {
  padding-top: 20px;
}

.copyright {
  padding-bottom: 20px;
}

/* Footer Media queries  */
@media (max-width: 475px) {
  .col-xs-6 {
    width: 100%;
  }

  .nav > li > a {
    /* padding: 0; */
  }
}

@media (max-width: 767px) {
  footer.page-footer .nav.nav-footer {
    margin: 16px 0;
    padding: 0;
  }

  .logos {
    justify-content: center;
  }
}

@media screen and (max-width: 1023px) {
  .page-footer .logos > div {
    margin-bottom: 20px;
    width: 50%;
  }
}

/*
    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(--box-border-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: 40px;
  line-height: 150%;
  margin: 0 0 1.6rem 0;
  margin-top: -1.4em;
  color: var(--primary-color);
  padding: 0.25em 0 0.5em;
  /* background-image: url("/_assets/layoutcontent/20147/default/Header_Mobile_Orange_Tall2x.png"); */
  background-size: cover;
  background-position: center;
  /* min-height: 200px; */
  display: flex;
  align-items: center;

  @media (max-width: 768px) {
    padding-top: 20px;
    height: auto;
    min-height: initial;
    font-size: 28px;
  }
}

.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(--primary-color);
  border-bottom: 1px solid var(--primary-color);
  /* box-shadow: 0 4px 6px -6px var(--primary-color); */
}

.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);
}

.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;
}

.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: #0c2340;
  border: 0.4rem solid #0c2340;
  color: #fff;
  padding: 1.2rem 0px;
  margin: 0rem 1.6rem 0rem 1.6rem;
  /* box-shadow: var(--primary-shadow); */
  width: 32rem !important;
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s ease 0s;
}

.PrimaryButton:hover,
.PrimaryButton:active,
.PrimaryButton:focus {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  color: #fff;
  transform: translateY(-2px);
  transition: all 0.3s ease 0s;
}

/*
    5.3 Minor Button
*/
.MinorButton {
  background-color: #003057;
  /* border: none; */
  color: #fff;
  padding: 1.2rem 0;
  margin: 0.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;
  border: 2px solid #003057;
  font-weight: 600;
  text-shadow: none;
  font-family: var(--font-family-body);
}

.MinorButton:hover,
.MinorButton:active,
.MinorButton:focus {
  background-color: #fff;
  color: #003057;
  outline: none;
  border: 2px solid #003057;
}

/*
    5.4 Next & Back Button
*/
.NextButton {
  /*box-shadow: none;*/
}

.NextButton:active,
.NextButton:hover,
.NextButton:focus {
}

.BackButton {
  color: #0c2340 !important;
  border: 1px solid #0c2340;
  background: transparent;
}

.BackButton:active,
.BackButton:focus,
.BackButton:hover {
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.pnlDirectionButtons > #btnBackButton2 > .BackButton {
  text-align: center;
}

/*
    5.5 Other Buttons
*/

.btn-default {
  background-color: #003057;
  color: #fff;
  margin: 0.5rem 0 1.6rem 0;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.4s ease 0s;
  border: 2px solid #003057;
  text-shadow: none;
  font-family: var(--font-family-body);
}

.btn-default:hover {
  background-color: #fff;
  color: #003057;
  outline: none;
  border: 2px solid #003057;
}

.SaveButton {
  color: var(--primary-color);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  text-align: center;
  font-size: 1.4rem;
  text-decoration: underline;
}

.SaveButton:active,
.SaveButton:hover,
.SaveButton:focus {
  text-decoration: underline;
  color: var(--link-font-color-hover);
  text-underline-offset: 3px;
  display: inline-block;
  transition: all 0.3s ease 0s;
}

.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 {
  width: calc(100% - 1.6rem) !important;
  margin: 0 0 0.8rem 0;
}

#disclosuresAccept {
  background-color: #003057;
  color: #fff;
}

#RealTimeInputSubmit:disabled {
  display: none;
}

/*
    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;
}

#CDWizard .DefaultTooltipClass {
  position: static;
}

.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.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: 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;
}

.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;
}

.DocUploadGridText td:has(input) {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

/*
	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;
}

.fa-check {
  color: var(--primary-color) !important;
}

/*
	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(--primary-color);
  box-shadow: 0 -4px 6px -6px var(--primary-color);
  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(--primary-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
*/
#progBar {
  position: absolute;
  background: white;
  z-index: 1;
  right: 0rem;
  /* bottom: -4rem; */
  display: flex;
  width: var(--control-width);
  justify-content: space-between;
  align-items: center;
  padding: 0 0 0 0.8rem;
  margin: 0 1.2rem 0 0;
  border-radius: 0.8rem;
  box-shadow: 0 0.4rem 0.4rem rgba(0, 0, 0, 0.17);
}

.ProgressBarOuter {
  background-color: var(--box-border-color);
  height: 16px;
  border: 1px var(--box-border-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;
}

/*
	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;
}

.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: 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%;
}

/*
	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(--secondary-color);
  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: inset 0 1px 3px rgba(0, 0, 0, .075), 0 0 3px rgba(102, 175, 233, .6); */
  background-color: #f6f6f6;
  border-radius: 10px;
  border: 1px solid var(--box-border-color);
  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(--box-border-color);
  padding: 18px 20px;
  background-color: #ffffff;
  border: solid 1px var(--box-border-color);
  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-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(--secondary-color-yellow);
  filter: none;
}

/* 7.3 Additional Info */
#HousingInfo_1 .fivimultiseperator {
  margin-bottom: 1.5em;
}

[id^="HousingInfo_"] .fivimultiinput {
  margin-top: 2em;
}

#HousingInfo_2_RemoveHousing {
  top: -1.5em;
}

[id^="HousingInfo_"][id$="_HousingAddressInput_pnlAddress"] {
  display: flex !important;
  gap: 40px;
}

#pnlAdditionalInfo {
  width: fit-content;
}

@media all and (max-device-width: 825px), all and (max-width: 825px) {
  [id^="HousingInfo_"][id$="_YearsMonthsDurationInput"] input {
    margin-top: 2em;
  }
}

@media all and (max-device-width: 750px), all and (max-width: 750px) {
  [id^="HousingInfo_"][id$="_HousingAddressInput_pnlAddress"] .fiviinput {
    margin: auto;
  }

  [id^="HousingInfo_"][id$="_HousingAddressInput_pnlAddress"] {
    display: block !important;
  }
}

/*
    8. Mobile
    8.1 Tablet & Phone in Landscape (600px to 1200px)
*/
@media all and (max-device-width: 900px), all and (max-width: 900px) {
  .centerform {
    margin: 0 auto;
    width: 100%;
  }

  #LayoutHeaderContents {
    margin: 0.8rem 0rem 0 0rem;
    width: 100%;
  }

  #HeadLogo,
  #HeadContact,
  #horizontal-logo {
    max-width: 50%;
  }

  #HeadLogo > img {
    /* width: 100%; */
  }

  #LayoutFooterContents {
    width: 100%;
  }

  #LayoutPage {
    width: 100%;
    padding: 3.2rem 1rem 1.6rem 1rem;
  }

  .form-section {
    margin: 0;
  }
}

@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) {
  .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;
  }
}

/*
    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;
  }

  #LayoutHeaderContents {
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-start;
  }

  #horizontal-logo > img {
    width: 220px;
  }

  #HeadLogo {
    display: none;
  }

  #horizontal-logo {
    display: block;
  }

  #HeadContact {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-direction: row;
  }

  #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 {
    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;
  }
}

/*
    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: 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: 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
*/

#Content {
  width: 100% !important;
}

.AdminContent {
  width: 100%;
}

.AdminContent > table > tbody > tr > td:nth-child(2) > table > tbody > tr {
  display: flex;
  justify-content: center;
}

.AdminContent > table > tbody > tr > td:nth-child(2) > table > tbody > tr > td {
  display: flex;
  align-items: center;
  justify-content: center;
}

.AdminContent
  > table
  > tbody
  > tr
  > td:nth-child(2)
  > table
  > tbody
  > tr
  > td:last-of-type
  .form-control {
  max-width: 200px;
  margin-top: 0;
}

.AdminContent
  > table
  > tbody
  > tr
  > td:nth-child(2)
  > table
  > tbody
  > tr
  > td
  input[type="checkbox"] {
  appearance: auto;
  position: static;
  width: inherit;
  height: inherit;
  margin: 0;
}

.AdminContent .aspNetDisabled {
  display: flex;
  width: fit-content;
  align-items: center;
  min-width: 200px;
}

.AdminContent .aspNetDisabled > input {
  width: 20px;
}

.layout.AdminConsole {
  min-height: auto;
}

.layout.AdminConsole > header,
.layout.AdminConsole > footer {
  display: none;
}

.layout.AdminConsole > main {
  padding: 40px 10px;
}

.layout.AdminConsole > main > .layout-container {
  width: 100%;
  max-width: calc(980px - 40px);
}

.layout.AdminConsole .page-navigation-container {
  max-width: 100%;
}
/*
    MCRD
*/

.fiviViewFormHeader {
  max-width: var(--column-width-9);
  margin-right: auto;
  margin-left: auto;
  padding: 0;
  & > .fiviSCDropDown {
    width: 100vw;
    max-width: var(--fiviInput-width);
    flex-direction: column;
    margin: 10px 0;
    & > label {
      font-size: 16px !important;
      font-weight: 500;
    }
    & > .form-control {
      margin-top: 5px;
    }
  }
}

.fiviViewFormHeader + div > .layout {
  & > header,
  & > footer,
  & .progress-container {
    display: none;
  }
  & > main {
    max-width: var(--column-width-9);
    & > .layout-container {
      margin: 0;
    }
  }
}

#showTimeout {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

/*
    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;
}

*/

#pnlDomesticWires .fiviMultiInput,
#pnlForeignWires .fiviMultiInput {
  display: flex;
  flex-direction: column;

  & #pnlDomesticWiresOutgoing > div,
  #pnlDomesticWiresIncoming > div,
  #pnlForeignWiresOutgoing > div,
  #pnlForeignWiresIncoming > div {
    display: flex;
    flex-direction: row;
  }
}

.pnlRateInfo {
  padding-left: 8px;
}

#pnlCreditLimitIncrease {
  width: fit-content;
}
.description-class {
  font-weight: 600;
}

.question-class {
  font-weight: 600;
}

.answer-class label {
  font-weight: 300;
}

/* Expected Activity - Mobile */

@media (max-width: 750px) {
  .ExpectedActivity-page.form-flex {
    flex-direction: row !important;
  }
}

@media (max-width: 600px) {

  #ddlAccountPurpose {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow-x: visible;
  }
  #ddlAccountPurpose label {
    font-size: 1.2rem;
    width: 100% !important;
    box-sizing: border-box;
  }
  #ddlAccountPurpose .form-control,
  #ddlAccountPurpose select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  #ddlAccountPurpose .form-control::placeholder,
  #ddlAccountPurpose input::placeholder {
    font-size: 1.2rem;
    white-space: normal;
  }

  /* Expected Activity page */
  .ExpectedActivity-page {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow-x: visible;
  }
  .ExpectedActivity-page label {
    font-size: 1.4rem;
    width: 100% !important;
    box-sizing: border-box;
  }
  .ExpectedActivity-page .form-control,
  .ExpectedActivity-page select {
    width: 100%;
    /* min-width: 0;
    max-width: 100%; */
    box-sizing: border-box !important;
  }
  .ExpectedActivity-page .form-control::placeholder,
  .ExpectedActivity-page input::placeholder {
    font-size: 1.3rem;
    white-space: normal;
  }

  .ExpectedActivity-page .fiviMultiInput {
    align-items: start !important;
    width: 100%;
  }

  .ExpectedActivity-page .rbGroupAddInfo {
    margin: 0 0.5em;
    width: 100%;
  }

  .rbGroupAddInfo .fiviInput {
    width: 85vw;
    max-width: 400px;
  }
  .rbGroupAddInfo {
    width: 300px;
  }
}

/* Survey */

#workflowSurvey01 {
  textarea {
    width: 500px;
    height: 6em;
    margin-bottom: 2em;
  }
}

@media (max-width: 650px) {
  #workflowSurvey01 {
    textarea {
      width: 90vw;
    }
  }
}

#workflowSurvey01_submitbutton {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  font-size: 1.1em;
  padding: 12px;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 600px) {
  #div_workflowSurvey01_panel {
    padding: 4px;
  }
  #workflowSurvey01_submitbutton {
    font-size: 1em;
    padding: 10px;
  }
}
