body {
  background: #f7f7f7;
  color: #000;
  font-family: "Source Sans Pro", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

h1,
h2,
h3,
h4,
h5,
h6,
legend {
  font-family: "Ubuntu", sans-serif;
  font-weight: normal;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

header {
  background: #fff;
  color: #000;
  align-items: center;
}

main {
  flex: 1;
  padding-top: 1rem;
}

footer {
  background-color: #4c4c4c;
  color: #fff;
}

legend {
  font-size: 1.5rem;
  padding: 1rem;
}

fieldset {
  margin-bottom: 1rem;
}

input {
  border: 1px solid #939598;
  border-radius: 0;
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 400;
  padding: 8px 12px;
  border-color: #005b70;
  border-bottom-left-radius: 22px;
  border-top-left-radius: 22px;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  height: 45px;
  padding: 12px 16px 12px 24px;
  width: calc(100% - 150px);
  border-radius: 2em;
  width: 100%;
}

input[type="radio"] {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
  padding: 0;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}
input[type="checkbox"] {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  overflow: visible;
  box-sizing: border-box;
  padding: 0;
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

.inputwrapper {
  width: 100%;
  border: 10px solid #e9eff2;
  border-radius: 2em;
}

button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;
  background: transparent;
  cursor: pointer;
  color: #005b70;
  font: inherit;
  line-height: normal;
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;
  -webkit-appearance: none;
  /*font-size: 18px;*/
  line-height: 24px;
  border: 2px solid #005b70;
  border-radius: 2rem;
  display: inline-block;
  font-family: "Ubuntu", sans-serif;
  font-weight: 500;
  min-height: 45px;
  /*padding: 8px 22px 9px;*/
  padding: 0.5rem 1rem 0.5rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  text-decoration: none;
  transition: background-color 50ms linear, color 50ms linear;
}

button:hover {
  background-color: #005b70;
  color: #ffffff;
}

.lightblue {
  background-color: #f1f9fb;
}

.green {
  background-color: #005b70;
  color: #fff;
}

button.green:hover {
  color: #005b70;
  background-color: #ffffff;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.link-button {
  border: none;
  background: transparent;
  text-decoration: underline;
}

.link-button:hover {
  color: #005b70;
  background: transparent;
}

.container {
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  margin-right: auto;
  margin-left: auto;
  max-width: 75ch;
}

header .container {
  display: flex;
  align-items: center;
  /*padding-top: 1rem;
  padding-bottom: 1rem;*/
  max-width: 100%;
}

header .logo {
  width: 200px;
  margin-right: auto;
}

footer .container {
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 2rem;
  max-width: 100%;
}
footer a {
  color: inherit;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

.error {
  background-color: #d14827;
  color: white;
  padding: 1rem;
  transition: opacity 4s ease-in-out;
}
.err_noerror {
  opacity: 0;
}

.hidden {
  display: none;
}

.smaller {
  font-size: smaller;
}

.card {
  background-color: #ffffff;
  padding: 0.5rem 1rem 0.5rem 1rem;
  margin-bottom: 1rem;
}

:focus {
  outline: 2px dashed #005b70;
  outline-offset: 2px;
}

nav button {
  margin-top: 0;
  margin-bottom: 0;
}
header nav {
  text-align: right;
}

#showprofile {
  margin-top: -1rem;
}
