/* 1rem = 16px */

:root {
  --bs-body-color: #151919;
  --bs-link-color-rgb: 220, 77, 11;
}

body {
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background-color: #E5E4DF;
}

.main-panel {
	background-color: #FFFFFF;
	padding: 1.5rem;
}

.navbar-nav .nav-item .nav-link:hover {
  text-decoration: underline;
}

.footer {
  padding: 3rem;
  line-height: 20px;
  border-top: 1px solid #D4D2CD;
}

.footer a {
  color: #255E99;
  text-decoration: none;
}

.footer a.policy {
  color: #151919;
  text-decoration: underline;
}

.btn {
  --bs-btn-border-radius: 0;
  --bs-btn-padding-y: 0.625rem;
}

.btn-sm {
  --bs-btn-padding-y: 0.25rem;
}

.btn-primary {
  --bs-btn-bg: #DC4D0B;
  --bs-btn-border-color: #DC4D0B;
  --bs-btn-hover-bg: #D03707;
  --bs-btn-hover-border-color: #D03707;
  --bs-btn-active-bg: #C42303;
  --bs-btn-active-border-color: #C42303;
  --bs-btn-disabled-bg: #83817D;
  --bs-btn-disabled-border-color: #83817D;
}

.btn-outline-secondary {
  --bs-btn-color: #28363B;
  --bs-btn-border-color: #28363B;
  --bs-btn-hover-bg: #212E32;
  --bs-btn-hover-border-color: #212E32;
  --bs-btn-active-bg: #182326;
  --bs-btn-active-border-color: #182326;
  --bs-btn-disabled-color: #83817D;
  --bs-btn-disabled-border-color: #83817D;
}

.dropdown-menu {
  --bs-dropdown-border-radius: 0;
}

.btn-mw6 {
  min-width: 6em;
}

.form-label {
  margin-bottom: 0;
  margin-top: 0.5rem;
}

.form-control[type=text],
.form-control[type=date],
.form-control[type=tel],
.form-select {
  background-color: #F1F1EE;
  border-radius: 0;
}

.form-check {
  font-size: 14px;
}

.form-check-input {
  background-color: #F1F1EE;
  border-color: #000000;
}

.form-check-input:checked {
  background-color: #DC4D0B;
  border-color: #DC4D0B;
}

.modal {
  --bs-modal-margin: 1rem;
  --bs-modal-border-radius: 0;
}

.alert {
  --bs-alert-border-radius: 0;
}

input[type='text'].ui-autocomplete-loading {
  background-image: url( './../res/loading-16x16.gif' );
  background-repeat: no-repeat;
  background-position: 98% center;
}

/* PROGRESSBAR */

div.pbar {
  display: flex !important;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

div.pbar div {
  border-top: solid 2px #E5E4DF;
  text-align: left;
  flex: 1 1 auto;
  padding: 4px 4px 0px 0px;
}

div.pbar div:before {
  content: url( './../res/pbar-item.svg' );
  width: 16px;
  height: 16px;
  margin-right: 4px;
  display: inline-flex;
  vertical-align: text-top;
}

div.pbar div.pbar-curr:before {
  content: url( './../res/pbar-curr.svg' );
}

div.pbar div.pbar-done {
  border-top: solid 2px #DC4D0B;
}

div.pbar div.pbar-done:before {
  content: url( './../res/pbar-done.svg' );
}

/* END PROGRESSBAR */

#loading {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.5);
  z-index: 2;
}

.spinner-border-lg {
  width: 4rem;
  height: 4rem;
  border-width: 0.4rem;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
  border-width: 0.1rem;
}

.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.text-blue {
  --bs-text-opacity: 1;
  color: rgb(0, 159, 205) !important;
}

.text-primary {
  --bs-text-opacity: 1;
  color: #DC4D0B !important;
}

.text-optional {
  font-size: 0.75rem;
  color: #83817D;
}

.bi-doc-type {
  font-size: 48px;
  line-height: 1.0;
}

.rb-card {
  cursor: pointer;
}

.rb-card-active {
  --bs-border-opacity: 1;
  border-color: rgb(0, 159, 205) !important;
}

div.list-hint {
  counter-reset: list-number;
  border-left: 2px solid #DC4D0B;
  padding-left: 34px;
  font-size: 14px;
  line-height: 18px;
}

div.list-hint div {
	padding: 4px 0px;
}

div.list-hint div:before {
  content: counter(list-number);
  counter-increment: list-number;
  margin-left: -24px;
  margin-right: 8px;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: text-top;
  font-size: 10px;
  background-color: #DC4D0B;
  border-radius: 50%;
  color: #FFFFFF;
}

div.list-check div:before {
  content: '';
  background-image: url( './../res/checkmark.svg' ) !important;
}

.img-mobileid {
  width: 4em;
  margin: 2rem;
}

.img-qr {
  width: 15rem;
}

.div-qr {
  border: solid 1px black;
  padding: 0.5rem 1rem;
}

.div-qr .qr-text {
  font-size: 12px;
  text-transform: uppercase;
}

.div-qr .qr-code {
  font-size: 24px;
  font-weight: bold;
}

.div-btn-panel {
  margin-top: auto !important;
  padding-top: 1rem;
  display: flex !important;
  flex-direction: row;
  align-self: center !important;
}

.div-btn-panel .btn {
  width: 100%;
  margin: .5rem 0.25rem 0 0.25rem !important;
}

@media (max-width: 767.98px) {
  .div-btn-panel {
    flex-direction: column-reverse;
    align-self: stretch !important;
  }
  .div-btn-panel .btn {
    margin: .5rem 0 0 0 !important;
  }
}
