/* overrides */

body {
  font-family: "Myriad Pro";
  color: #6c6d74;
}

.table {
  color: #6c6d74;
}

.table > :not(:last-child) > :last-child > * {
  border-bottom-color: #e5e5e7;
}

.nav-link {
  color: #b4b5ba;
  text-transform: uppercase;
}

.nav-link:hover {
  color: #2d2e33;
}

.btn {
  margin: 0;
  border: none;
  border-radius: 0;
  padding: 0 20px;
  vertical-align: middle;
  font-size: 12px;
  line-height: 38px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
}

.btn {
  border: 1px solid transparent;
}

.btn-primary {
  background-color: #21427f;
  color: #fff;
}

.btn-info:focus, .btn-info:hover, .btn-primary:focus, .btn-primary:hover {
  background-color: transparent;
  color: #21427f;
  border-color: #21427f;
}

.input-group .btn {
  padding: 8px 12px;
  line-height: 0;
  border: 1px solid #ced4da;
}

.form-control.datepicker {
  width: 120px;
  flex: unset;
}

/* customs */

.hidden {
  display: none;
}

.form-floating-group input {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
}

.stat-widget {
  background-color: #21427f;
  color: #fff;
  display: block;
  text-decoration: none;
  padding: 20px;
  text-align: center;
}

.stat-widget:hover {
  color: #cbcbcb;
}

.stat-widget h3 {
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.stat-widget h4 {
  font-size: 36px;
  margin-bottom: 0;
}

@media only screen and (max-width: 992px) {
  .stat-widget {
    padding: 10px;
    background: #fff;
    color: #666;
    border-bottom: 1px solid #ccc;
  }

  .stat-widget h3 {
    display: inline-block;
    text-align: right;
    width: 50%;
    text-transform: lowercase;
    font-size: 14px;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 1px solid #ccc;
  }

  .stat-widget h4 {
    display: inline-block;
    text-align: left;
    font-size: 32px;
    width: 10%;
  }

  br {
    display: none;
  }
}

.heading {
  font-size: 36px;
  line-height: 1.3;
  color: #21427f;
  margin-bottom: 20px;
  text-align: center;

  overflow: hidden;
}

.heading > * {
  display: inline-block;
  position: relative
}

.heading > ::after, .heading > ::before {
  content: "";
  position: absolute;
  top: calc(50% - (calc(.6px + .03em) / 2));
  width: 2000px;
  border-bottom: calc(.6px + .03em) solid #e5e5e7
}

.heading > ::before {
  right: 100%;
  margin-right: calc(5px + .3em)
}

.heading > ::after {
  left: 100%;
  margin-left: calc(5px + .3em)
}

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

/* old */

.depends_on {
  display: none
}

.powered {
  margin-top: 30px;
  font-size: 14px;
}

.made-by {
  font-size: 14px;
}

#qr-reader {
  width: 100%;
  min-height: 400px;
  position: relative;
  padding: 0px;
}

.reg-card {
  border: 1px solid #e5e5e7;
  padding: 30px 30px 20px 30px;
  margin: 50px 0 50px 0;
}

#qr-reader {
  width: 100%;
  min-height: 400px;
  border: 1px solid #e5e5e7;
  padding: 10px;
  border-radius: 3px;
}

.mt10 {
  margin-top: 10px;
}

.mt15 {
  margin-top: 15px;
}

.mt20 {
  margin-top: 20px;
}

.mt30 {
  margin-top: 30px;
}

.mt50 {
  margin-top: 50px;
}

.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb50 {
  margin-bottom: 50px;
}

footer {
  margin-top: 60px;
}

.form-help {
  position: relative;
  z-index: 2;
}

.form-help img {
  position: absolute;
  top: 0;
  right: 0;
  max-width: 500px;
  display: none;
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.question-help {
  margin-bottom: 5px;
  margin-top: 5px;
  color: #999999;
  border: 1px solid #ccc;
  padding: 5px 15px;
  border-radius: 5px;
}

.question-help-collapsed {
  max-height: 55px;
  overflow: hidden;
  cursor: pointer;
}

.question {
  margin-bottom: 30px;
}

.span120 {
  width: 120px;
}

#steps {
  display: flex;
  justify-content: space-evenly;
  list-style: none;
}

#steps > li > a {
  display: flex;
  align-items: center;
  color: #21427f;
}

#steps h2 {
  font-size: 60px;
  margin: 0;
}

#steps ul {
  margin: 0;
}

#steps a {
  text-decoration: none;
  padding: 0px 30px;
}

.steps-active {
  margin: 50px 0;
}

#steps a {
  border-top: 1px solid #e5e5e7;
  border-bottom: 1px solid #e5e5e7;
}

#steps a.active {
  border-top: 2px solid #21427f;
  border-bottom: 2px solid #21427f;
}

.questions-table {
  table-layout: fixed;
}

.questions-table tr td:first-child {
  width: 200px;
}

.stage-approved {
  opacity: 0.6
}

.stage-approved input {
  opacity: 0.5
}

.sticky-progress {
  position: sticky;
  top: 10px;
  z-index: 300;
}

.btn-block {
  width: 100%;
}
