html, body {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  color: #676767;
  font-family: 'Helvetica Neue', 'Open Sans', Helvetica, Arial, sans-serif;
  height: 100%;
  margin: 0;
  padding:0;
}

.main-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.main-content {
  flex-grow: 1;
}

.wrapper {
  max-width: 70rem;
  margin: 0 auto;
  padding: 0 1rem;
}

header {
  border: none;
  border-bottom: 4px solid #9aca3c;
}

.logo {
  display: inline-block;
  margin-top: 25px;
  margin-bottom: 10px;
}

.logo img {
  max-height: 50px;
  width: auto;
}

h1, h2, h3, h4, h5 {
  color: #325f74;
}

a {
  color: #0080ac;
  text-decoration: none;
}

.columns-container {
  display: flex;
  flex-direction: row;
}

.well {
  border-radius: 0.5rem;
  border: 2px solid #edf0f2;
  padding: 1rem;
}

.well > :first-child {
  margin-top: 0;
}

.column {
  flex-basis: 20rem;
  flex-grow: 1;
  flex-shrink: 0;
}

.column:not(:last-child) {
  margin-right: 1rem;
}

form p:first-child {
  margin-top: 0;
}

form p {
  margin-top: 2em;
}

form .row {
  margin-bottom: 0.3em;
}

.g-recaptcha {
  margin-top: 1em;
}

.fancy-textfield {
  position: relative;
  padding: 0.7em 0 0;
}

.fancy-textfield label {
  background: #fff;
  font-size: 90%;
  left: 0.7em;
  padding: 0 0.4em;
  position: absolute;
  top: 0.1em;
}

.fancy-textfield label.disabled {
  background: linear-gradient(35deg, #edf0f2, #edf0f200 1em),
              linear-gradient(325deg, #edf0f2, #edf0f200 1em),
              linear-gradient(0deg, #edf0f2, #fff 0.3em),
              linear-gradient(#fff, #fff);
  border-radius: 0.3em;
}

input {
  border: 1px solid #c7caca;
  font-size: 1.125rem;
  line-height: 1.375rem;
  padding: 0.875rem 1.125rem;
  width: 100%;
  box-sizing: border-box;
  color: #676767;
  background: #fff;
  border-radius: 0.4em;
}

input::placeholder {
  color: #ccc;
}

input[type="text"]:focus {
  border-color: #9aca3c;
}

input[type="text"]:disabled {
  background: #edf0f2;
  cursor: not-allowed;
}

input.error {
  border-color: red;
}

.errors {
  color: red;
}

div.errors {
  font-size: 85%;
  margin: 0.2em 0.6em 0;
}

.submit-row {
  text-align: right;
}

.hr-text {
  border: 0;
  line-height: 1em;
  position: relative;
  text-align: center;
  height: 1.5em;
  font-size: 14px;
}

.hr-text::before {
  content: "";
  background: #c7caca;
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
}

.hr-text::after {
  content: attr(data-content);
  position: relative;
  padding: 0 7px;
  line-height: 1.5em;
  color: black;
  background-color: #fff;
}

.upload-file-note {
  color: #939292;
  font-size: 80%;
  padding: 0;
  margin-top: 0px;
}

.upload-file-row {
  display: flex;
  align-items: center;
  margin-bottom: 18px;

  input {
    display: inline-block;
    border: none;
    line-height: normal;
    padding-left: 0px;
    padding-right: 0px;
  }

  #clearFile {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 4px 4px;
    border-radius: 50%;
    margin-left: 8px;
    cursor: pointer;
  }

  #clearFile:hover {
    background: #f3f3f3;
  }
}



.button {
  background-color: #9aca3c;
  border-radius: 4px;
  border: none;
  color: #fff;
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 500;
  margin-left: 0.25rem;
  margin-right: 0.7rem;
  margin-top: 0.6rem;
  padding: 0.5em 1.15em;
}

table.success-results {
}

table.success-results th {
  padding: 0.5em;
  text-align: left;
  padding: 0.1em 0.5em 0.1em 0;
}

.infobox {
  align-items: flex-start;
  display: flex;
  flex-direction: row;
  padding: 1em;
}

.infobox img:first-child {
  flex-basis: 5em;
  flex-grow: 0;
  flex-shrink: 1;
  margin-right: 1em;
  min-height: 8rem;
  margin-top: 2rem;
  width: auto;
}

.infobox > :not(img) {
  flex-basis: 5rem;
  flex-grow: 1;
  flex-shrink: 0;
}

.infobox h3 {
  margin: 0 0 0.5em;
}

.infobox p {
  line-height: 1.4;
  margin-top: 0.5em;
}

.footnote {
  color: #939292;
  font-size: 80%;
  padding: 1rem;
}

.upload-status .success,
.upload-status .try-it-out {
  display: none;
}

footer {
  background-color: #325F74;
  color: #fff;
  font-size: 0.75rem;
  padding: 0.5rem 0 1rem;
  text-align: center;
  margin: 1em 0 0;
}

.Mui-colorYubico {
  color: #9aca3c;
}

.icon {
  height: 1.5rem;
  width: 1.5rem;
  margin-bottom: -0.2em;
}

.not-started {
  display: none;
}

.completed .spinner {
  display: none;
}

.upload-status :not(.completed) > .checkmark {
  display: none;
}

.completed .checkmark {
  display: inline-block;
}

.upload-status :not(.timed-out) > .error {
  display: none;
}

.timed-out .spinner {
  display: none;
}
