body {
  padding: 0;
  margin: 0;
  font-family: "Roboto", sans-serif;
  width: 100vw;
}

a {
  color: #006AC3;
  text-decoration: none;
  width: fit-content;
}

a:hover {
  text-decoration: underline;
}

.hidden {
  display: none;
}

.modern-container {
  display: flex;
  flex-wrap: wrap;
}

.delete-modal-container {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: #25252580;
  justify-content: center;
  align-items: center;
}

.delete-modal {
  position: relative;
  background-color: #FFFFFF;
  padding: 32px;
  border-top: #FFBA00 solid 4px;
}

.modal-close {
  background: url('../images/icons/close-xs.svg') no-repeat center center;
  position: absolute;
  top: 0px;
  right: 0;
  width: 48px;
  height: 48px;
  padding: 16px 16px;
  cursor: pointer;
  pointer-events: visible;
  border: none;
  color: transparent;
}

.delete-modal-content {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  width: 236px;
  height: 284px;
}

.delete-modal-content .title-content {
  display: flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: flex-start;
}

.delete-modal-content .title-content h1 {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 400;
  margin: 0 16px;
}

.delete-modal-content span {
  font-family: "Roboto", sans-serif;
  color: #1F1F1F;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.delete-modal-content .delete-modal-action {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 24px;
}

.delete-modal-content .delete-modal-action .rbc-button,
.delete-modal-content .delete-modal-action .rbc-button-secondary {
  max-width: 236px !important;
  min-height: 64px !important;
}

.splash-image-container {
  display: contents;
}

.splash-image {
  background: url('../images/layout/hero-tablet-mobile.jpg') no-repeat center center;
  background-size: cover;
  width: 100vw;
  height: 164px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
}

.splash-image-container .full-screen {
  width: 100vw;
  height: 100vh;
}

.splash-image .logo {
  background: url('../images/rbc-logo.svg') no-repeat center center;
  height: 42px;
  width: 56px;
  background-size: contain;
  margin-bottom: 8px;
}

.splash-image h1 {
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 4px;
}

.splash-image h2 {
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 4px;
}

.splash-image h3 {
  font-size: 12px;
  font-style: normal;
  font-weight: 300;
  line-height: 4px;
}

.login-form-div {
  display: contents;
}

.login-form {
  background: white;
  width: 100vw;
  padding: 48px 24px 12px 24px;
  overflow-y: auto;
}

.login-form #errorBannerDiv {
  display: content;
}

.login-form .error-banner {
  padding: 24px 16px;
  border: 1px #6F6F6F solid;
  border-top: 4px solid #B91A0E;
  max-width: 368px;
  margin: 0 auto 24px auto;
}

.login-form .error-banner#emptyEmailPwd,
.login-form .error-banner#invalidPasscode,
.login-form .error-banner#infoBanner {
  display: none;
}

.login-form .error-banner p::before {
  content: url('../images/modern/exclamation.svg');
  margin-right: 16px;
}

.login-form .error-banner p {
  display: flex;
  padding: 0;
  margin: 0;
}

.login-form-div .hide {
  display: none;
  visibility: hidden;
  width: 0;
}

.login-form .login-form-container {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.login-form .login-form-container .input-field {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  margin-bottom: 24px;
  gap: 8px;
}

.login-form .login-form-container .input-field .password-input {
  display: inline-flex;
  flex-direction: row;
}

.login-form .login-form-container .input-field .password-input input {
  /* Edge and Chrome */
  width: -webkit-fill-available;
  /* FireFox */
  width: -moz-available;
}

.login-form .login-form-container .input-field .password-input input[type=password]::-ms-reveal,
.login-form .login-form-container .input-field .password-input input[type=password]::-ms-clear {
  display: none;
}

.login-form .login-form-container .input-field button#togglePasswordIcon,
.login-form .login-form-container .input-field button#deleteSaveEmailIcon {
  background-color: white;
  margin-top: 10px;
  margin-left: -30px;
  cursor: pointer;
  color: #006AC3;
  z-index: 1;
}

.login-form label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.login-form label span {
  color: #1F1F1F;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.login-form-checkbox-group {
  display: inline-flex;
  justify-content: flex-start;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.login-form .login-form-container .input-field input {
  max-height: 45px;
  padding: 8px;
  height: 18px;
  border-radius: 0;
}

.login-form .login-form-container .input-field input:focus {
  outline: #006AC3 solid 1px;
  border-color: #006AC3;
}

.login-form .login-form-container input.error-highlight {
  border: 1px solid #B91A0E;
}

.login-form .login-form-container input.rbc-button,
.login-form .login-form-container input.rbc-button-secondary {
  margin-bottom: 16px;
  min-height: 48px;
}

a.rbc-button,
a.rbc-button-secondary {
  height: 44px;
  text-decoration: none !important;
  /* Edge and Chrome */
  width: -webkit-fill-available;
  /* FireFox */
  width: -moz-available;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input[type=text],
input[type=password] {
  border: 1px solid #6F6F6F;
}

input[type=checkbox] {
  -moz-appearance: none;
  -webkit-appearance: none;
  -o-appearance: none;
  border: 1px solid #6F6F6F;
  width: 22px;
  height: 22px;
}

.checkbox-container {
  display: flex;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  gap: 0px;
}

.checkbox-container input[type=checkbox] {
  position: absolute;
  cursor: pointer;
}

.checkmark {
  top: 0;
  left: 0;
  height: 23px;
  width: 23px;
  background-color: white;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #006AC3;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked~.checkmark:after {
  display: flex;
}

.checkbox-container .checkmark:after {
  left: 8px;
  top: 4px;
  width: 6px;
  height: 9px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.login-form .login-form-container span.copygray {
  color: #6F6F6F;
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
}

.login-form .login-form-container input {
  font-size: 16px;
}

.login-form .login-form-container .login-form-checkbox-group input {
  width: 24px;
  height: 24px;
  margin: 0px;
}

.login-form .login-form-container .login-form-checkbox-group input:checked {
  accent-color: #006AC3;
}

a:focus {
  outline: #006AC3 solid 1px;
}

.login-form .login-form-container .input-field .login-form-checkbox-group label.darkgray,
.login-form .login-form-container .input-field .login-form-label-container label span.darkgray {
  color: #1F1F1F;
  font-size: 14px;
  font-weight: 300;
  line-height: 20px;
}

.login-form-label-container {
  display: inline-flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
}

.rbc-button {
  display: flex;
  min-width: 120px;
  padding: 14px 20px !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  background: #006AC3;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s cubic-bezier(0.7, 0, 0.3, 1), border 0.15s cubic-bezier(0.7, 0, 0.3, 1);
}

.rbc-button:hover {
  background-color: #0051a5;
}

.rbc-button:active {
  background-color: #003168;
}

button:focus,
.rbc-button:focus {
  outline: #006AC3 solid 1px;
  outline-offset: 2px;
}

.rbc-button-secondary {
  display: flex;
  min-width: 120px;
  padding: 14px 20px !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1 0 0;
  background: white;
  color: #006AC3;
  border: 2px solid #006AC3;
  cursor: pointer;
}

@media (min-width: 992px) {
  .modern-container {
    flex-wrap: nowrap;
  }

  .delete-modal {
    padding: 48px;
  }

  .delete-modal-content {
    width: 464px;
    height: 176px;
  }

  .delete-modal-content .delete-modal-action {
    flex-direction: row-reverse;
  }

  .delete-modal-content .delete-modal-action .rbc-button,
  .delete-modal-content .delete-modal-action .rbc-button-secondary {
    max-width: 220px !important;
  }

  .splash-image,
  .login-form {
    width: 50vw;
  }

  .splash-image {
    height: 100vh;
    background: url('../images/layout/hero-desktop.jpg') no-repeat center center;
    background-size: cover;
  }

  footer {
    width: 50vw;
    bottom: 0;
    position: absolute;
    margin-left: -12px !important;
  }

  footer .privacy-content {
    max-width: 400px !important;
  }

  footer .footer-links-container .link-items a .privacy-normal {
    display: inline-flex !important;
  }

  footer .footer-links-container .link-items a .privacy-mobile {
    display: none !important;
  }

  .footer-contents .footer-links-container.fr-footer-links-container {
    display: list-item !important;
  }

  .external-link-icon.privacy-security {
    margin-left: 8px !important;
  }
}

@media not (min-height: 750px) {
  footer {
    position: relative;
  }

  @media (min-width: 992px) {
    .login-form {
      height: 90vh;
      overflow-x: hidden;
    }
  }
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 12px 0;
  bottom: 0;
}

.footer-contents {
  max-width: 400px;
  width: 400px;
}

.footer-contents .footer-links-container {
  padding: 0;
  display: list-item;
}

.footer-contents .footer-links-container.fr-footer-links-container {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contents .footer-links-container .link-items {
  display: inline-flex;
  flex-direction: row;
  margin-right: 10px;
}

footer hr {
  border: 0;
  border-top: 1px solid #E0E0E0;
}

footer p {
  margin: 0;
  font-size: 12px;
  padding: 16px 0;
}

footer .footer-links-container {
  list-style-type: none;
  padding: 0;
  display: flex;
  font-size: 14px;
  margin: 0;
}

footer .footer-links-container .link-items {
  display: inline;
  margin-right: 10px;
  margin-bottom: 4px;
}

footer .footer-links-container .link-items:last-child {
  margin-top: 4px;
  margin-right: 0;
}

footer .footer-links-container .link-items a,
footer .footer-links-container .link-items a .privacy-mobile-second-line {
  display: inline-flex;
  flex-direction: row;
  align-items: flex-end;
}

.privacy-normal {
  display: none !important;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
}

.privacy-mobile {
  display: flex !important;
  flex-direction: column;
}

footer .footer-links-container .link-items a.branch-link {
  margin-right: 10px;
}

footer .privacy-content {
  max-width: 200px;
}

.loader-div {
  display: contents;
}

.loader-container {
  display: none;
  flex-direction: column;
  align-items: center;
  visibility: hidden;
}

.loader-div .show {
  visibility: visible;
}

.loader {
  margin-top: 24px;
  border: 2px solid #1F1F1F;
  border-radius: 50%;
  border-top: 2px solid #FEDF01;
  width: 72px;
  height: 72px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.help-icon {
  background: url('../images/icons/help-xs.svg') no-repeat center center;
  height: 16px;
  width: 16px;
}

.external-link-icon {
  background: url('../images/icons/external-link-xs.svg') no-repeat center center;
  height: 16px;
  width: 16px;
  margin-left: 8px;
}

.external-link-icon.privacy-security {
  margin-left: 2px;
}

.global-icon {
  background: url('../images/icons/global-xs.svg') no-repeat center center;
  height: 16px;
  width: 16px;
  margin-right: 8px;
}

.eye-icon {
  background: url('../images/icons/show-xs.svg') no-repeat center center;
  height: 16px;
  width: 16px;
  border: none;
}

.hide-icon {
  background: url('../images/icons/hide-xs.svg') no-repeat center center;
  height: 16px;
  width: 16px;
  border: none;
}

.rsa-icon {
  background: url('../images/icons/rsa-logo.png') no-repeat center center;
  height: 40px;
  width: 90px;
  background-size: contain;
  margin-bottom: 12px;
}

.lock-icon {
  background: url('../images/icons/lock.svg') no-repeat center center;
  width: 32px;
  height: 32px;
  margin: auto;
}

.warning-grey-icon {
  background: url('../images/icons/warning-grey.svg') no-repeat center center;
  width: 32px;
  height: 32px;
  margin: auto;
}

.branch-icon {
  background: url('../images/icons/branch-xs.svg') no-repeat center center;
  height: 16px;
  width: 16px;
  margin-right: 8px;
}

.delete-icon {
  background: url('../images/icons/delete-xs.svg') no-repeat center center;
  height: 16px;
  width: 16px;
  border: none;
}

.warning-icon {
  background: url('../images/icons/warning.svg') no-repeat center center;
  height: 24px;
  min-width: 24px;
  border: none;
  background-size: contain;
}



.popup {
  position: relative;
  display: inline-block;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: white;
  border: none;
}

/* The actual popup */
.popup .popup-container {
  display: none;
  flex-direction: column;
  visibility: hidden;
  width: 144px;
  background-color: white;
  text-align: center;
  padding: 32px 32px;
  position: relative;
  z-index: 99;
  top: 32px;
  left: -27px;
  margin-left: -80px;
  border: 1px solid;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.08);
  border-color: #B3B3B3;
  pointer-events: none;
}

/* popup arrow */
.popup .popup-container::after {
  content: "";
  position: absolute;
  left: 48%;
  border: 1px solid #E0E0E0;
  border-radius: 0;
  background-color: white;
  border-width: 0 1px 1px 0;
  width: 16px;
  height: 16px;
  transform: rotate(225deg);
  top: -10px;
}

.login-form .login-form-container .login-form-checkbox-group input.close,
.login-form .login-form-container .input-field input.close {
  background: url('../images/icons/close-xs.svg') no-repeat center center;
  position: absolute;
  top: 0;
  right: 0;
  width: 32px;
  height: 32px;
  padding: 8px 8px;
  pointer-events: visible;
  cursor: pointer;
  border: none;
  color: transparent;
}

.popup .popup-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 129px;
  text-align: left;
  max-height: 30%;
  color: #1F1F1F;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

/* Toggle this class - hide and show the popup */
.popup .show {
  visibility: visible;
}

.global-error {
  display: content;
  text-align: center;
}

.global-error .global-error-container {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  padding-top: 20px;
  gap: 24px;
}

.global-error h3 {
  font-size: 18px;
  font-weight: 400;
  color: #1F1F1F;
  padding: 0;
  margin: 0;
}

.global-error p {
  font-size: 16px;
  font-weight: 300;
  color: #1F1F1F;
  padding: 0;
  margin: 0;
}

.global-error a,
.global-error input {
  font-size: 14px;
}

.global-error .contact-helper {
  border-top: 1px solid #E0E0E0;
  padding-top: 20px;
}