:root {
  /* space */
  --space-1: 1rem;
  --space-2: 2rem;
  --space-4: 4rem;
}

/* Button CSS */
.DefaultPrevButton {
  background: #f9ba4d;
}

.DefaultNextButton {
  background: #003c70;
  color: #fff;
}

.DefaultNextButton:hover,
.DefaultNextButton:active,
.DefaultNextButton:focus,
.DefaultCollateralCommandButton:hover,
.DefaultCollateralCommandButton:active,
.DefaultCollateralCommandButton:focus,
.DefaultCompleteButton:hover,
.DefaultCompleteButton:active,
.DefaultCompleteButton:focus,
.DefaultIndividualCommandButton:hover,
.DefaultIndividualCommandButton:active,
.DefaultIndividualCommandButton:focus {
  color: #190707;
}
.DefaultCollateralCommandButton {
  background: #003c70;
  color: #fff;
}

.SmallButton {
  width: 100px !important;
}

.MediumButton {
  width: 175px !important;
}

.LargeButton {
  width: 250px !important;
}

.DefaultCompleteButton {
  background: #003c70;
  color: #fff;
  width: 180px !important;
}

.DefaultIndividualCommandButton {
  background: #003c70;
  color: #fff;
}
.SecondaryButton {
  background: #eeecec;
}

.MobileScanButton {
  background: #5cb85c;
  color: #ffffff;
  text-align: center;
  padding: 10px;
  /* width: 60%; */
  min-height: 40px;
  border-radius: 0.5em;
  border: thin solid #999;
}

.RemoteAuthNavContainer {
  display: flex;
  justify-content: space-evenly;
  padding-top: 1rem;
}

.RemoteAuthCBContainer {
  width: fit-content;
  margin: 0 auto;
}

.AgreementContainer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Dynamically hies and shows agree/disagree button for remote auth JO start*/
div[role="navigation"]:has(#pnlRemoveAuthDeny[style*="display: block"]) #pnlAgreeDirectionButtons,
div[role="navigation"]:has(#pnlRemoveAuthDeny[style*="display:block"]) #pnlAgreeDirectionButtons {
  display: none !important;
}

/* End Button CSS */
.centerform {
  margin: 0 auto;
  width: 960px;
}

.SectionHeaders {
  border-top-left-radius: 20px;
  font-size: 14px;
  padding: 15px;
  background: #6699cc;
  color: #fff;
  height: 45px;
}

.DefaultLabelClass {
  font-size: 14px;
  text-align: right;
  vertical-align: middle;
  width: 35%;
  padding-right: 10px;
}

.DefaultFormControlClass {
  width: 45% !important;
  margin-top: 5px;
  margin-bottom: 5px;
}

.AddressControlClass {
  margin-left: 32%;
  width: 50% !important;
}

.FullWidthLabel {
  font-size: 14px;
  width: 100%;
}

.FullWidthFormControl {
  width: 100%;
}

.CCMonthClass {
  width: 20% !important;
}

.CCYearClass {
  width: 20% !important;
}

.CCNameClass {
  width: 30% !important;
}

.CCNumberClass {
  width: 40% !important;
}

.CCCVVClass {
  width: 10% !important;
}

.DefaultProductFundingTextBoxClass {
  width: 190px !important;
}

.CursorPointer {
  cursor: pointer;
}
body {
  font-size: 12px;
  line-height: 150%;
}

a {
  color: #0066cc;
}

a:hover {
  color: #00aeef;
}

.MainBorder {
  border: solid;
  border-radius: 1em;
  border-width: 2px;
  border-color: #003c70;
}

.Header {
  background-color: #fff;
  padding: 30px 10px 10px 30px;
  border-top-left-radius: 1em;
  border-top-right-radius: 1em;
}

.TopBar {
  background-color: #787878;
  padding: 20px 10px 20px 15px;
}

.PageHeader {
  font-size: 1.25em;
  font-weight: bold;
  color: #6699cc;
  line-height: 150%;
}

.TopBarText {
  padding-left: 30px;
}

h1 {
  color: #6699cc;
}

h2 {
  color: #6699cc;
}

h3 {
  color: #6699cc;
}

h4 {
  color: #6699cc;
}

.ContentTable {
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  background-color: #fff;
  width: 100%;
  font-family: Open Sans;
  text-align: left;
  color: #575757;
}

.ProgBarBg {
  background-repeat: no-repeat;
  background-position: top right;
}

.HdrBar {
  background-color: #666666;
  color: #ffff99;
  font-weight: bold;
  padding: 4px;
}

fieldset {
  padding: 10px;
}

.errors {
  color: #f00;
}

.SmlTxt {
  font-style: italic;
  font-size: 0.75em;
  vertical-align: top;
  line-height: 12px;
}

.SmlTxtIndent {
  font-style: italic;
  font-size: 0.75em;
  vertical-align: top;
  line-height: 12px;
  margin-left: 40px;
}

.JOSidebar {
  width: 200px;
  vertical-align: top;
  padding: 10px;
}

.JOMidSpace {
  padding-left: 20px;
}

.ProdServBox {
  background-color: #e6e6e6;
  border-radius: 1em;
  cellspacing: 0px 15px 15px 0px;
  padding: 20px;
  vertical-align: top;
  border: #007d8b 1px solid;
}

.Footer {
  background-color: #787878;
  border-radius: 0.5em;
  width: 100%;
  border-top: thin solid #999;
}

.FooterText {
  font-size: 0.75em;
  color: white;
  padding-left: 10px;
}

.HighlightBackground {
  background-color: #e6e6e6;
  border: thin solid #999;
  padding: 5px;
}

/* Progress Bar CSS */

.ProgressBarOuter {
  background-color: #787878;
  height: 16px;
  border: 1px #787878;
  border-radius: 1em;
  /*box-shadow: 0 1px 5px #000 inset, 0 1px 0 #444;*/
  width: 40%;
  float: right;
  margin: 5px 10px 5px 2px;
  cellpadding: 0px;
  cellspacing: 0px;
}
.ProgressBarInner {
  background-color: #003c70;
  border-radius: 1em;
  height: 14px;
  overflow: hidden;
}
.TextClass {
  float: right;
  font-weight: bold;
  vertical-align: middle;
  margin: 5px 0px 5px 0px;
}
#status {
  width: 50%;
  padding: 10px;
  outline: none;
  height: 36px;
}
.focusField {
  border: solid 2px #73a6ff;
  background: #eff5ff;
  color: #000;
}
.idleField {
  background: #eee;
  color: #6f6f6f;
  border: solid 2px #dfdfdf;
}
.wideLogo {
  margin-bottom: 6px;
  width: 100%;
}

/*Radio button/expected activity*/
.rbButtonGroup {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  flex-wrap: wrap;
  margin: 15px 15px 15px 15px;
}

.rbGroupQuest,
.cbGroupQuest {
  width: 50%;
  min-width: 200px;
  padding-right: 25px;
  font-weight: 700;
}

.cbGroupQuest {
  width: 100%;
}

.rbGroupAnswer {
  padding: 0px 10px;
  min-width: 140px;
  width: 50%;
}

.rbGroupTwoAnswers {
  padding: 0px 10px;
  min-width: 140px;
  width: 50%;
  display: flex;
  justify-content: flex-start;
}

.rbGroupTwoAnswers > span {
  width: 30%;
}

.rbGroupTwoAnswers > span > .DefaultFormControlClass {
  width: 90% !important;
}

.rbGroupAnswer > span > .DefaultFormControlClass {
  width: 90% !important;
}

.rbGroupYesNoCont {
  min-width: 140px;
  display: flex;
  justify-content: space-evenly;
}

.rbGroupSubInputCont {
  width: 50%;
  display: block;
  margin-left: 50px;
}

.cbQuestion {
  margin: 0 15px 10px 15px;
}

.cbButtonGroup {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 10px 0 0 25px;
  width: 100%;
}

.cbButtonGroup > span {
  display: flex;
  width: 50%;
}

.rbGroupSubHeader {
  margin-left: 50px;
}

.rbGroupSubInputContMulti {
  display: flex;
  flex-direction: column;
  margin-left: 50px;
}

.rbGroupAddInfo {
  display: flex;
  flex-direction: column;
  margin: 5px 0 0 0px;
  width: 100%;
}

.rbGroupAddInfo .rbButtonGroup {
  margin: 10px 15px 0 15px;
}

.rbGroupAddInfo .rbGroupQuest,
.rbGroupAddInfo .cbGroupQuest,
.rbGroupAddInfo .form-control,
.rbGroupAddInfo p {
  font-weight: normal;
  padding: 0 15px 0 15px;
  margin: 0 0 0 0;
}

.rbGroupAddInfo label {
  font-weight: normal;
}

.rbGroupAddInfo .DefaultLabelClass {
  padding: 0 15px 0 15px;
  text-align: left;
  font-weight: normal;
  width: 25%;
}

.rbButtonGroup .rbGroupAddInfo .rbButtonGroup {
  margin: 10px 0 0 0;
  width: 100%;
}

#cbJointApproved {
  padding-top: 1rem;
}

#cbJointApproved,
#cbJointNotApproved {
  display: flex;
  gap: 1rem;
}

/* End normal size */

.checkbox-toggle {
  margin-top: 20px;
}

.checkbox-toggle > span:has(> .icheckbox_square-grey) {
  min-height: auto;
  display: flex;
  position: relative;
  flex-direction: row-reverse;
  justify-content: flex-start;
  align-items: center;
  padding: 0 0 0 0;
  width: fit-content;
  height: auto;
  margin: 0 0 0 0;
  & input,
  & > .icheckbox_square-grey {
    display: none;
  }
  & > label {
    display: inline-flex;
    margin-bottom: 0px;
    font-weight: bold;
    position: relative;
    justify-content: center;
    align-items: center;
    &:before {
      content: "";
      margin: 0 0 0 10px;
      width: 40px;
      border: 1px solid #bfbfbf;
      border-radius: 40px;
      height: 24px;
      order: 2;
      cursor: pointer;
    }
    &:after {
      content: "";
      width: 18px;
      height: 18px;
      border-radius: 50%;
      margin: 0 -32px 0 14px;
      background-color: #bfbfbf;
      transition: 120ms transformease-in-out;
      z-index: 2;
      display: inline;
      cursor: pointer;
    }
  }
}

.checkbox-toggle > span:has(input:checked) > label {
  &:before {
    border: 1px solid #bfbfbf;
    background-color: #bfbfbf;
  }
  &:after {
    background-color: #05273f;
    transition: 120ms transformease-in-out;
    margin: 0 -48px 0 30px;
  }
}

/* "large" in bootstrap - large desktops */
@media all and (min-device-width: 1200px), all and (min-width: 1200px) {
  /* use the line below to debug and see which media setting the window uses */
  /*body::before{ content: "large - tablet to some desktop media query > 1200 fired"; }*/
}

/* "medium" in bootstrap - desktops */
@media all and (max-device-width: 1200px), all and (max-width: 1200px) {
  /* use the line below to debug and see which media setting the window uses */
  /*body::before{ content: "mediom - tablet to some desktop media query < 1200 fired"; }*/
}

/* "small" in bootstrap - tablets */
@media all and (max-device-width: 992px), all and (max-width: 992px) {
  /* use the line below to debug and see which media setting the window uses */
  /*body::before{ content: "small - tablet to some desktop media query > 769 and < 992 fired"; }*/

  .DefaultPrevButton {
    width: 38% !important;
  }

  .DefaultNextButton {
    width: 38% !important;
  }

  .DefaultCollateralCommandButton {
    width: 38% !important;
  }

  .WideButton {
    width: 30% !important;
  }

  .SmallButton {
    width: 30% !important;
    height: 60px !important;
  }

  .MediumButton {
    width: 38% !important;
    height: 60px !important;
  }

  .LargeButton {
    width: 50% !important;
    height: 60px !important;
  }

  .DefaultCompleteButton {
    width: 30% !important;
  }

  .DefaultLabelClass {
    text-align: left;
    width: 100%;
    font-size: 14px;
  }

  .DefaultFormControlClass {
    width: 100% !important;
  }

  .AddressControlClass {
    width: 100% !important;
  }

  .CCMonthClass {
    width: 33% !important;
  }

  .CCYearClass {
    width: 33% !important;
  }

  .CCNumberClass {
    width: 100% !important;
  }

  .CCNameClass {
    width: 100% !important;
  }

  .CCCVVClass {
    width: 33% !important;
  }

  .DefaultProductFundingTextBoxClass {
    width: 100% !important;
  }

  .ContentTable {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
    width: 100%;
  }
  .wideLogo {
    margin-bottom: 6px;
    width: 100%;
  }
  .Footer {
    width: 100%;
  }
  .JOSidebar {
    width: 170px;
  }
  .ProgressBarOuter {
    /*float: left;*/
    width: 90%;
  }
  .TextClass {
    float: left;
  }
  body {
    padding-top: 0px;
  }
}

/* "extra-small" in bootstrap - phones */
@media all and (max-device-width: 769px), all and (max-width: 769px) {
  /* use the line below to debug and see which media setting the window uses */
  /*body::before{ content: "extra-small < 769 fired"; }*/

  .centerform {
    margin: 0 auto;
    width: 100%;
  }
  .ProgressBarOuter {
    /*float: left;*/
    width: 60%;
  }

  .WideButton {
    width: 53% !important;
  }

  .SmallButton {
    width: 100% !important;
  }

  .MediumButton {
    width: 100% !important;
  }

  .LargeButton {
    width: 100% !important;
  }

  .DefaultCompleteButton {
    width: 53% !important;
  }
}

@viewport {
  width: device-width;
}
@-ms-viewport {
  width: device-width;
}

/* copied from old fiVI-style.css file */
/*

@-ms-viewport{
    width: extend-to-zoom;
    zoom: 1.0;
}
*/

/* to prevent iOS devices from zooming in */
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: 16px !important;
}

.EmpYearClass,
.EmpMonthClass {
  margin-top: 5px;
  margin-bottom: 5px;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #ccc;
  border-radius: 4px;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  width: 22.5% !important;
}

/* Utility classes */
.mt-neg-4 {
  margin-top: calc(var(--space-4) * -1);
}

.mt-neg-2 {
  margin-top: calc(var(--space-2) * -1);
}

.pt-1 {
  padding-top: var(--space-1);
}

.pb-1 {
  padding-bottom: var(--space-1);
}

.py-1 {
  padding-top: var(--space-1);
  padding-bottom: var(--space-1);
}
