body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: sans-serif;
}
body > header {
  padding: 2rem;
}
body > header > nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
body > header > nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
body > header > nav ul li {
  margin-right: 1rem;
}
body > header > nav ul li#sign-out-form-container {
  margin-right: 0;
}
body > header > nav ul li#sign-out-form-container #sign-out-form {
  display: inline;
}
body > header > nav ul li#sign-out-form-container #sign-out-form button {
  background: none;
  border: none;
  color: green;
  cursor: pointer;
  font-size: 1rem;
  padding: 0;
}
body > header > nav ul li#sign-out-form-container #sign-out-form button:hover {
  color: gray;
}
body > main {
  flex-grow: 1;
  padding: 1rem 4rem 2rem;
}
body > footer {
  padding: 1rem;
  margin-top: auto;
}
body > footer p {
  text-align: center;
  font-size: 0.8rem;
  color: gray;
}

a {
  color: green;
  text-decoration: none;
}

a:hover {
  color: gray;
}

/* Layout */
.row {
  display: flex;
  flex-direction: row;
}
.row .column-80 {
  width: 80%;
}
.row .column-70 {
  width: 70%;
}
.row .column-30 {
  width: 30%;
}
.row .column-20 {
  width: 20%;
}

.pr-2 {
  padding-right: 2rem;
}

/* Alerts */
.alert {
  padding: 1rem;
  margin-bottom: 2rem;
}

.alert-success {
  background: green;
  color: yellow;
}

.alert-info {
  background: dodgerblue;
  color: white;
}

.alert-warning {
  background: yellow;
  color: black;
}

.alert-danger {
  background: red;
  color: white;
}

/* To fade out elements */
.fade {
  opacity: 1;
  max-height: 3000px;
  transition: opacity 1s ease-in-out, max-height 1s ease-in-out, margin 1s ease-in-out, padding 1s ease-in-out;
}

.invisible {
  opacity: 0;
  max-height: 0;
  margin: 0;
  padding: 0 !important;
}

/* Forms */
input[type=submit], button, a.button {
  display: inline-block;
  border: none;
  padding: 0.5rem 1rem;
  margin-right: 0.5rem;
  font-size: 1rem;
  line-height: 1.25rem;
}

input[type=submit]:hover, button:hover, a.button:hover {
  cursor: pointer;
}

.button-standard {
  background: green;
  color: white;
}

.button-standard:hover {
  background: yellowgreen;
  color: white;
}

.button-cancel {
  background: #ccc;
  color: black;
}

.button-cancel:hover {
  background: #e4e4e4;
}

div.field {
  width: 90%;
  margin-bottom: 1rem;
}
div.field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
}
div.field input[type=text], div.field input[type=email], div.field input[type=password], div.field input[type=number],
div.field input[type=file], div.field textarea {
  border: 1px solid #ccc;
  padding: 0.5rem;
  width: 100%;
}
div.field textarea {
  height: 10rem;
}

div.checkbox-field label {
  display: inline;
  margin-bottom: 0;
  vertical-align: baseline;
}
