:root {
  --yellow: #ffb555;
  --green: #527a54;
  --light-gray: #ddd;
  --white: #ffffff;
  --black: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Barlow", sans-serif;
}

body {
  background-color: var(--white) !important;
}

.barlow-thin {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.barlow-extralight {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.barlow-light {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.barlow-regular {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-medium {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.barlow-semibold {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.barlow-bold {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.barlow-extrabold {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: normal;
}

.barlow-black {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: normal;
}

.barlow-thin-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 100;
  font-style: italic;
}

.barlow-extralight-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 200;
  font-style: italic;
}

.barlow-light-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.barlow-regular-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.barlow-medium-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 500;
  font-style: italic;
}

.barlow-semibold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 600;
  font-style: italic;
}

.barlow-bold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.barlow-extrabold-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 800;
  font-style: italic;
}

.barlow-black-italic {
  font-family: "Barlow", sans-serif;
  font-weight: 900;
  font-style: italic;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.8); /* Makes the overlay darker */
}

#msform ul {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.previewContainer img {
  width: 100% !important;
}

#msform fieldset .form-card {
  background-color: var(--white);
  border: 0 none;
  border-radius: 8px;
  border: 2px dashed var(--light-gray);
  padding: 20px 40px 40px 40px;
  box-sizing: border-box;
  width: 94%;
  /* margin: 0 3% 20px 3%; */
  margin: auto;
  position: relative;
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  /* padding-bottom: 20px; */

  /*stacking fieldsets above each other*/
  position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

#msform fieldset .form-card {
  text-align: left;
  color: #9e9e9e;
}

#msform input,
#msform textarea {
  padding: 0px 8px 4px 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0px;
  margin-bottom: 25px;
  margin-top: 2px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2c3e50;
  font-size: 16px;
  letter-spacing: 1px;
}

#msform input:focus,
#msform textarea:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none;
  font-weight: bold;
  border-bottom: 2px solid skyblue;
  outline-width: 0;
}

/* Welcome Modal */
#welcomeModal {
  background: #000000a8;
  backdrop-filter: blur(1.5px);
}

#welcomeModal.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

#instructionModal.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

#instructionModal .modal-content {
  height: unset;
}

.modal-content {
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
  justify-content: center;
}
#instructionModal .modal {
  height: unset !important;
}

#instructionModal .modal-content {
  margin: 0px 10px;
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: unset !important;
  max-width: 100% !important;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#continueBtn {
  margin-top: 5px;
}

.modal-content h2 {
  color: var(--green);
  font-weight: 500;
  font-size: 32px;
  text-align: center;
}

/*Blue Buttons*/
#msform .action-button {
  width: 100px;
  background: skyblue;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
}

/*Previous Buttons*/
#msform .action-button-previous {
  width: 100px;
  background: #616161;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

/*Dropdown List Exp Date*/
select.list-dt {
  border: none;
  outline: 0;
  border-bottom: 1px solid #ccc;
  padding: 2px 5px 3px 5px;
  margin: 2px;
}

select.list-dt:focus {
  border-bottom: 2px solid skyblue;
}

/*The background card*/
.card {
  padding: 10px 0px;
  border-radius: 8px !important;
  border: 2px dashed var(--light-gray) !important;
  /* box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px !important; */
}

/*FieldSet headings*/
.fs-title {
  font-size: 25px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
}

/*progressbar*/
#progressbar {
  margin-bottom: 16px;
  overflow: hidden;
  color: lightgrey;
}

#progressbar li {
  list-style-type: none;
  font-size: 12px;
  position: relative;
}

#progressbar .active {
  color: var(--black);
}

/*Icons in the ProgressBar*/
#progressbar #document:before {
  font-family: FontAwesome;
  content: "\f023";
}

#progressbar #selfie:before {
  font-family: FontAwesome;
  content: "\f007";
}

#progressbar #fingerprint:before {
  font-family: FontAwesome;
  content: "\f09d";
}

#progressbar #confirm:before {
  font-family: FontAwesome;
  content: "\f00c";
}

/*form styles*/
#msform {
  text-align: center;
  position: relative;
  /* margin-top: 20px; */
}

.previewContainer img {
  /* width: 250px !important; */
  width: 100% !important;
  /* height: 300px !important; */
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  /* padding-bottom: 20px; */

  /*stacking fieldsets above each other*/
  position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

#msform input,
#msform textarea {
  padding: 0px 8px 4px 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0px;
  margin-bottom: 25px;
  margin-top: 2px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2c3e50;
  font-size: 16px;
  letter-spacing: 1px;
}

#msform input:focus,
#msform textarea:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none;
  font-weight: bold;
  border-bottom: 2px solid skyblue;
  outline-width: 0;
}

/*Blue Buttons*/
#msform .action-button {
  width: 100px;
  background: skyblue;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
}

/*Previous Buttons*/
#msform .action-button-previous {
  width: 100px;
  background: #616161;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

/*Dropdown List Exp Date*/
select.list-dt {
  border: none;
  outline: 0;
  border-bottom: 1px solid #ccc;
  padding: 2px 5px 3px 5px;
  margin: 2px;
}

select.list-dt:focus {
  border-bottom: 2px solid skyblue;
}

/*FieldSet headings*/
.fs-title {
  font-size: 25px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
}

/*progressbar*/
#progressbar {
  margin-bottom: 16px;
  overflow: hidden;
  color: lightgrey;
}

/*Icons in the ProgressBar*/
#progressbar #document:before {
  font-family: FontAwesome;
  content: "\f023";
}

#progressbar #selfie:before {
  font-family: FontAwesome;
  content: "\f007";
}

#progressbar #fingerprint:before {
  font-family: FontAwesome;
  content: "\f09d";
}

#progressbar #confirm:before {
  font-family: FontAwesome;
  content: "\f00c";
}

/*ProgressBar connectors*/
#progressbar li:after {
  content: "";
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: skyblue;
}

/*Imaged Radio Buttons*/
.radio-group {
  position: relative;
  margin-bottom: 25px;
}

.radio {
  display: inline-block;
  width: 204;
  height: 104;
  border-radius: 0;
  background: lightblue;
  box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  cursor: pointer;
  margin: 8px 2px;
}

.radio:hover {
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

/*Fit image in bootstrap div*/
.fit-image {
  width: 100%;
  object-fit: cover;
}
#cameraContainer {
  position: relative;
  width: auto;
  height: auto;
}

#videoFeed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-sm {
  font-size: 12px;
}

.retake_btn {
  display: flex;
  justify-content: center;
  align-content: center;
}
#retakebutton {
  margin-right: 3px;
}
#next_step {
  margin-left: 3px;
}
#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* Ensure it's on top of all other elements */
}

.spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#content {
  /* Hide content until loader is removed */
  display: none;
}

.modal-backdrop {
  width: 0 !important;
}

.error {
  color: red;
}

#overlayCanvas {
  position: absolute;
  top: 5px !important;
  left: 0;
  width: 100%;
  height: 96%;
  opacity: 0.7;
}

.previewContainer img {
  /* width: 250px !important; */
  width: 100% !important;
  /* height: 300px !important; */
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  /* padding-bottom: 20px; */

  /*stacking fieldsets above each other*/
  position: relative;
}

.fd-margin {
  /* margin: 60px auto; */
  padding-top: 60px !important;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

#msform input,
#msform textarea {
  padding: 0px 8px 4px 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0px;
  margin-bottom: 25px;
  margin-top: 2px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2c3e50;
  font-size: 16px;
  letter-spacing: 1px;
}

#msform input:focus,
#msform textarea:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none;
  font-weight: bold;
  border-bottom: 2px solid skyblue;
  outline-width: 0;
}

/*Blue Buttons*/
#msform .action-button {
  width: 100px;
  background: skyblue;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
}

/*Previous Buttons*/
#msform .action-button-previous {
  width: 100px;
  background: #616161;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

/*Dropdown List Exp Date*/
select.list-dt {
  border: none;
  outline: 0;
  border-bottom: 1px solid #ccc;
  padding: 2px 5px 3px 5px;
  margin: 2px;
}

select.list-dt:focus {
  border-bottom: 2px solid skyblue;
}

/*FieldSet headings*/
.fs-title {
  font-size: 25px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
}

/*progressbar*/
#progressbar {
  margin-bottom: 16px;
  overflow: hidden;
  color: lightgrey;
}

/*Icons in the ProgressBar*/
#progressbar #document:before {
  font-family: FontAwesome;
  content: "\f023";
}

#progressbar #selfie:before {
  font-family: FontAwesome;
  content: "\f007";
}

#progressbar #fingerprint:before {
  font-family: FontAwesome;
  content: "\f09d";
}

#progressbar #confirm:before {
  font-family: FontAwesome;
  content: "\f00c";
}

/*ProgressBar connectors*/
#progressbar li:after {
  content: "";
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: skyblue;
}

/* Check Icon */
.check-icon {
  position: absolute;
  bottom: 25px;
  transform: translate(-50%, -50%);
  font-size: 13px;
  color: white;
  right: 13px;
}

/*Imaged Radio Buttons*/
.radio-group {
  position: relative;
  margin-bottom: 25px;
}

.radio {
  display: inline-block;
  width: 204;
  height: 104;
  border-radius: 0;
  background: lightblue;
  box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  cursor: pointer;
  margin: 8px 2px;
}

.radio:hover {
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

/*Fit image in bootstrap div*/
.fit-image {
  width: 100%;
  object-fit: cover;
}

#videoFeed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-sm {
  font-size: 12px;
}

#captureButton {
  position: absolute;
  bottom: -31px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--green);
  border-color: var(--light-gray);
  box-shadow: inset 0 1px 0 hsla(0, 0%, 100%, 0.2),
    0 1px 2px 0 rgba(24, 25, 22, 0.06);
  color: white;
  font-size: 14px;
}

#continueBtn {
  background-color: var(--green);
  border-color: var(--light-gray);
  color: white;
  font-size: 16px;
}

#captureButton:hover {
  background-color: #d14200;
  border-color: #d14200;
}

.retake_btn {
  display: flex;
  justify-content: center;
  align-content: center;
}

#retakebutton {
  margin-right: 3px;
  border: 1px solid #be400f;
  color: #be400f;
  background-color: white;
}

#next_step {
  margin-left: 3px;
}

#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* Ensure it's on top of all other elements */
}

.spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#content {
  /* Hide content until loader is removed */
  display: none;
}

#videoLive {
  position: relative;
  width: 100%;
  height: auto;
}

#overlay {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  height: 240px;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 0 0 2000px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  z-index: 1;
}

.form-card h2 {
  color: var(--green) !important;
}

#counter {
  position: absolute;
  top: 290px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2em;
  color: white;
  z-index: 2;
}

#instruction {
  position: absolute;
  top: 78%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9em;
  color: white;
  z-index: 2;
  display: none;
  padding: 2px 6px;
  background-color: #ff5e24;
  border-radius: 2px;
}

.animation-arrow {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 2;
  display: none;
}

.left-arrow {
  left: 10%;
  animation: arrowBounceLeft 2s infinite;
}

.right-arrow {
  right: 10%;
  animation: arrowBounceRight 2s infinite;
}

@keyframes arrowBounceLeft {
  0%,
  100% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(0);
  }
}

@keyframes arrowBounceRight {
  0%,
  100% {
    transform: translateX(10px);
  }

  50% {
    transform: translateX(0);
  }
}

@media only screen and (max-width: 426px) {
  .card h2 {
    font-size: 20px;
  }

  .form-card h4 {
    font-size: 20px;
  }
}

@media only screen and (max-width: 376px) {
  .card h2 {
    font-size: 20px;
  }

  .card p {
    font-size: 12px;
  }

  .form-card h4 {
    font-size: 17px;
  }
}

@media only screen and (max-width: 321px) {
  .card h2 {
    font-size: 20px;
  }

  .card p {
    font-size: 10px;
  }

  .form-card h4 {
    font-size: 14px;
  }

  #captureButton {
    font-size: 11px;
  }
}

.previewContainer img {
  /* width: 250px !important; */
  width: 100% !important;
  /* height: 300px !important; */
}

#msform fieldset {
  background: white;
  border: 0 none;
  border-radius: 0.5rem;
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  /* padding-bottom: 20px; */

  /*stacking fieldsets above each other*/
  position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
  display: none;
}

#msform input,
#msform textarea {
  padding: 0px 8px 4px 8px;
  border: none;
  border-bottom: 1px solid #ccc;
  border-radius: 0px;
  margin-bottom: 25px;
  margin-top: 2px;
  width: 100%;
  box-sizing: border-box;
  font-family: montserrat;
  color: #2c3e50;
  font-size: 16px;
  letter-spacing: 1px;
}

#msform input:focus,
#msform textarea:focus {
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none;
  font-weight: bold;
  border-bottom: 2px solid skyblue;
  outline-width: 0;
}

/*Blue Buttons*/
#msform .action-button {
  width: 100px;
  background: skyblue;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button:hover,
#msform .action-button:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px skyblue;
}

/*Previous Buttons*/
#msform .action-button-previous {
  width: 100px;
  background: #616161;
  font-weight: bold;
  color: white;
  border: 0 none;
  border-radius: 0px;
  cursor: pointer;
  padding: 10px 5px;
  margin: 10px 5px;
}

#msform .action-button-previous:hover,
#msform .action-button-previous:focus {
  box-shadow: 0 0 0 2px white, 0 0 0 3px #616161;
}

/*Dropdown List Exp Date*/
select.list-dt {
  border: none;
  outline: 0;
  border-bottom: 1px solid #ccc;
  padding: 2px 5px 3px 5px;
  margin: 2px;
}

select.list-dt:focus {
  border-bottom: 2px solid skyblue;
}

/*FieldSet headings*/
.fs-title {
  font-size: 25px;
  color: #2c3e50;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: left;
}

.headingH3 {
  font-size: 42px;
  line-height: 42px;
  color: #1c2022;
}

.pg-text {
  font-family: Barlow, sans-serif;
  color: rgb(0 0 0);
  text-align: left;
  font-size: 16px;
  line-height: 24px;
  opacity: 0.7;
}

/*progressbar*/
#progressbar {
  margin-bottom: 16px;
  overflow: hidden;
  color: var(--green);
}

/*Icons in the ProgressBar*/
#progressbar #document:before {
  font-family: FontAwesome;
  content: "\f023";
}

#progressbar #selfie:before {
  font-family: FontAwesome;
  content: "\f007";
}

#progressbar #fingerprint:before {
  font-family: FontAwesome;
  content: "\f09d";
}

.check-icon.selfie-icon {
  right: -3px !important;
}

#progressbar #confirm:before {
  font-family: FontAwesome;
  content: "\f00c";
}

/*ProgressBar before any progress*/
#progressbar li:before {
  width: 50px;
  height: 50px;
  line-height: 45px;
  display: block;
  font-size: 18px;
  color: var(--green);
  background-color: var(--white);
  border: 1px solid var(--green);
  border-radius: 0.5rem;
  margin: 0 auto 10px auto;
  padding: 2px;
}

#progressbar li > strong {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
}

/*ProgressBar connectors*/
#progressbar li:after {
  content: "";
  width: 100%;
  height: 2px;
  background: lightgray;
  position: absolute;
  left: 0;
  top: 25px;
  z-index: -1;
}

/*Color number of the step and the connector before it*/
#progressbar li.active:before,
#progressbar li.active:after {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--light-gray);
}

/*Imaged Radio Buttons*/
.radio-group {
  position: relative;
  margin-bottom: 25px;
}

.radio {
  display: inline-block;
  width: 204;
  height: 104;
  border-radius: 0;
  background: lightblue;
  box-shadow: 0 2px 2px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  cursor: pointer;
  margin: 8px 2px;
}

.radio:hover {
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
}

.radio.selected {
  box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1);
}

/*Fit image in bootstrap div*/
.fit-image {
  width: 100%;
  object-fit: cover;
}

#videoFeed {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-sm {
  font-size: 12px;
  border: 1px solid #be400f;
  color: #be400f;
  background-color: white;
}

.retake_btn {
  display: flex;
  justify-content: center;
  align-content: center;
}

#retakebutton {
  margin-right: 3px;
}

#next_step {
  margin-left: 3px;
  background-color: var(--green);
  border-color: var(--light-gray);
  color: white !important;
}

.selfie-retake-btn {
  background-color: var(--green);
  border-color: var(--light-gray);
}

.selfie-retake-btn:hover {
  background-color: #d14200;
  border-color: #d14200;
}

#loader {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  /* Semi-transparent background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  /* Ensure it's on top of all other elements */
}

.spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#content {
  /* Hide content until loader is removed */
  display: none;
}

@media only screen and (max-width: 426px) {
  .card h2 {
    font-size: 20px;
  }

  .form-card h4 {
    font-size: 20px;
  }
}

@media only screen and (max-width: 376px) {
  .card h2 {
    font-size: 20px;
  }

  .form-card h4 {
    font-size: 17px;
  }
}

@media only screen and (max-width: 321px) {
  .card h2 {
    font-size: 20px;
  }

  .card p {
    font-size: 10px;
  }

  .form-card h4 {
    font-size: 14px;
  }

  #captureButton {
    font-size: 11px;
  }
}

@media only screen and (max-width: 426px) {
  .card h2 {
    font-size: 20px;
  }

  .form-card h4 {
    font-size: 20px;
  }
}

@media only screen and (max-width: 376px) {
  .card h2 {
    font-size: 20px;
  }
  .card p {
    font-size: 12px;
  }
  .form-card h4 {
    font-size: 17px;
  }
}
@media only screen and (max-width: 321px) {
  .card h2 {
    font-size: 20px;
  }
  .card p {
    font-size: 10px;
  }
  .form-card h4 {
    font-size: 14px;
  }
  #captureButton {
    font-size: 11px;
  }
}
