.mh-modal-header {
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  letter-spacing: 1px;
  text-align: center;
}

.mh-modal-subheader {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--good-color-dark);
  text-align: center;
}

.mh-modal-subheader a {
  color: var(--good-color) !important;
  cursor: pointer !important;
  transition: 0.3s !important;
}

.mh-modal-subheader a:hover {
  color: var(--good-color-dark) !important;
}

.mh-modal-container {
  background-color: white;
  border-radius: 25px 25px;
  width: 85%;
  margin: 15px auto;
  padding: 25px;
  font-family: 'Roboto', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 4px 4px rgb(34 49 63 / 15%);
}

.mh-modal-container hr,
.mh-modal-rows hr {
  background: var(--good-color-dark);
  color: var(--good-color-dark);
  height: 1px;
  width: 100%;
}

.mh-modal-container table hr,
.mh-modal-rows table hr {
  background: unset;
  color: unset;
  height: unset;
  width: unset;
}

.mh-modal-cols,
.mh-modal-cols-no-stack,
.mh-modal-cols-no-grow {
  display: flex;
  justify-content: space-evenly;
  flex: 1 1 0;
  gap: 10px;
}

.mh-modal-cols-no-grow {
  flex: 0 1 0;
}

.mh-modal-half-col {
  display: inline-flex;
  flex-direction: column;
  flex: 1 1 0;
  width: 50%;
}

.mh-modal-half-col.left-border {
  border-left: 1px solid black;
  padding-left: 5px;
}

.mh-modal-half-col > .mh-input-container {
  flex: unset;
}

.mh-modal-half-col > .mh-modal-info-container {
  flex: unset;
}

.mh-modal-rows {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
}

.mh-modal-info-container {
  align-items: center;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: start;
  padding: 5px;
  position: relative;
  width: 100%;
}

.mh-modal-info-container label.header {
  color: var(--good-color-dark);
  font-weight: 500;
  padding: 10px 0 0;
  text-align: center;
}

.mh-modal-info-container input,
.mh-modal-info-container label.info {
  height: 15px;
  font-weight: 400;
  -ms-box-sizing: content-box;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

.mh-modal-info-container .blue {
  color: var(--good-color);
}

.mh-modal-info-container .red {
  color: var(--bad-color);
}

.mh-modal-info-container .pointer {
  cursor: pointer;
}

.mh-modal-info-container .hidden {
  color: rgb(0, 0, 0, 0);
}

.mh-modal-cols-no-stack > .mh-modal-info-container > label.info {
  height: 35px !important;
}

.mh-modal-info-container .radio {
  display: flex;
  align-items: center;
}

.mh-modal-info-container .radio label {
  font-size: 18px;
  padding-left: 5px;
}

.mh-modal-info-container label.large {
  height: auto !important;
}

.mh-modal-cols-no-stack > .mh-modal-info-container > label.info.large {
  height: auto !important;
}

.mh-modal-input-group-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--good-color-dark);
  padding: 10px 0 0;
}

.mh-modal-info-group-label {
  font-size: 18px;
  font-weight: 500;
  color: var(--good-color-dark);
  padding: 10px 0 0;
  text-align: center;
}

.mh-modal-info-group-sublabel {
  font-size: 17px;
  font-weight: 500;
  color: var(--good-color-dark);
  opacity: 0.75;
  padding: 10px 0 0;
  text-align: center;
}

.mh-modal-spacer {
  flex: 1 1 0;
  padding: 5px;
  width: 100%;
}

.mh-modal-mobile-line {
  display: none;
}

.mh-modal-mobile-only {
  display: none;
}

.mh-modal-disclaimer {
  color: var(--bad-color);
  font-size: 13px;
  padding: 15px 0 0;
  text-align: center;
  width: 100%;
}

.mh-modal-disclaimer.caution {
  color: var(--caution-color-dark);
}

.mh-modal-beta {
  color: var(--bad-color);
  font-size: 16px;
  text-align: center;
}

.mh-modal-tab {
  display: none;
}

.mh-modal-steps {
  display: flex;
  justify-content: center;
}

.mh-modal-step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbbbbb;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

.mh-modal-step.active {
  opacity: 1;
}

.mh-modal-step.finished {
  background-color: var(--good-color);
  opacity: 1;
}

.mh-modal-fieldset {
  margin-top: 10px;
}

.mh-modal-fieldset legend {
  font-family: 'Roboto', sans-serif;
  font-size: var(--medbodyfont);
  font-weight: 500;
  color: var(--good-color-dark);
  padding: unset;
  margin-bottom: 0;
  max-width: unset;
  width: unset;
}

.mh-modal-fieldset .mh-modal-cols .mh-input-container label {
  font-size: 14px;
  font-weight: normal;
  padding: 0;
}

.mh-modal-signature-container {
  align-items: center;
  padding: 30px 0;
}

.mh-modal-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 33%;
}

.mh-modal-signer {
  color: var(--good-color-dark);
  font-weight: 500;
}

.mh-modal-signature .blue {
  color: var(--good-color);
}

.mh-modal-signature img {
  max-width: 300px;
}

.mh-modal-button-label {
  display: flex;
  align-items: center;
}

.mh-modal-card {
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgb(34 49 63 / 25%);
  display: flex;
  flex-direction: column;
  margin: 10px;
  padding: 16px;
  width: 100%;
}

.mh-modal-card > label.header {
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}

.mh-modal-card > label.header.bh-engine {
  padding-bottom: 10px;
}

.mh-modal-card > hr {
  background: unset;
  color: unset;
  height: unset;
}

.mh-modal-card > .data {
  padding: 10px 0;
}

.mh-modal-card .section {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 28px;
}

.mh-modal-card .section a {
  color: var(--good-color) !important;
  cursor: pointer !important;
  font-weight: 500 !important;
  transition: 0.3s !important;
}

.mh-modal-card .section a:hover {
  color: var(--good-color-dark) !important;
}

.mh-modal-card .section > .header {
  color: #4a5568;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}

.mh-modal-card .section > .data {
  font-weight: 500;
  white-space: pre-wrap;
}

.mh-modal-card div.bh-engine {
  display: flex;
  justify-content: space-around;
}

.mh-modal-card div.bh-engine .section {
  flex-direction: column;
}

.mh-modal-card div.rins {
  display: flex;
  justify-content: space-around;
}

.mh-modal-card div.rins .section {
  flex-direction: column;
  text-align: center;
}

.mh-modal-card div.rins .section strong {
  color: black;
  font-weight: 500;
}

.mh-modal-container .mh-log-tab:not(.selected, :hover) {
  background-color: #f3f7fa;
}

.mh-modal-container .section .icons {
  display: flex;
  gap: 20px;
}

.mh-modal-container .section .icons a {
  color: var(--good-color);
  cursor: pointer;
  transition: 0.3s;
}

.mh-modal-container .section .icons a:hover {
  color: var(--good-color-dark);
}

@media screen and (max-width: 1080px) {
  .mh-modal-cols {
    flex-direction: column;
    gap: 10px !important;
  }

  .mh-modal-half-col.left-border {
    border-left: none;
    padding-left: unset;
  }

  .mh-modal-spacer {
    display: none;
    flex: unset;
  }

  .mh-modal-mobile-line {
    display: block;
    color: var(--neutral-color);
  }

  .mh-modal-mobile-only {
    display: block;
  }

  .mh-modal-no-mobile {
    display: none;
  }

  .mh-modal-signature {
    width: 100%;
  }

  .mh-modal-cols {
    flex: unset;
  }

  .mh-modal-cols > .mh-input-container {
    flex: unset;
  }

  .mh-modal-cols > .mh-modal-info-container {
    flex: unset;
  }

  .mh-modal-cols-no-stack {
    flex: unset;
  }

  .mh-modal-half-col {
    flex: unset;
    width: unset;
  }

  .mh-modal-info-container label.large {
    height: auto !important;
    text-align: center;
  }

  .mh-modal-card {
    box-sizing: border-box;
    box-shadow: 0px 2px 4px rgb(34 49 63 / 25%);
    margin: unset;
    padding: 10px;
  }

  .mh-modal-card div.bh-engine {
    flex-direction: column;
  }
}

@media screen and (max-width: 1400px), screen and (max-height: 840px) {
  .mh-modal-info-container input,
  .mh-modal-info-container label.info {
    height: 22px !important;
    font-size: 18px !important;
  }

  .mh-modal-info-container label.large {
    height: auto !important;
  }
}
