/* For Bootstrap5 */
/* mixins, variables, etc. */
/* universal */
body {
  padding-top: 60px;
}

section {
  overflow: auto;
}

textarea {
  resize: vertical;
}

.center {
  text-align: center;
}
.center h1 {
  margin-bottom: 10px;
}

/* typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1;
}

h1 {
  font-size: 3em;
  letter-spacing: -2px;
  margin-bottom: 30px;
  text-align: center;
}

h2 {
  font-size: 1.2em;
  letter-spacing: -1px;
  margin-bottom: 30px;
  text-align: center;
  font-weight: normal;
  color: #999;
}

p {
  font-size: 1.1em;
  line-height: 1.7em;
}

/* header */
#logo {
  float: left;
  margin-right: 10px;
  font-size: 1.7em;
  color: white;
  text-transform: uppercase;
  letter-spacing: -1px;
  padding-top: 9px;
  font-weight: bold;
}
#logo:hover {
  color: white;
  text-decoration: none;
}

/* footer */
footer {
  margin-top: 45px;
  padding-top: 5px;
  border-top: 1px solid #eaeaea;
  color: #999;
}
footer a {
  color: #777;
}
footer a:hover {
  color: #333;
}
footer small {
  float: left;
}
footer ul {
  float: right;
  list-style: none;
}
footer ul li {
  float: left;
  margin-left: 15px;
}

@media (max-width: 800px) {
  footer small {
    display: block;
    float: none;
    margin-bottom: 1em;
  }
  footer ul {
    float: none;
    padding: 0;
  }
  footer ul li {
    float: none;
    margin-left: 0;
  }
  footer ul {
  }
  footer {
  }
}
/* miscellaneous */
.debug_dump {
  clear: both;
  float: left;
  width: 100%;
  margin-top: 45px;
}

/* sidebar */
aside section.user_info {
  margin-top: 20px;
}
aside section {
  padding: 10px 0;
  margin-top: 20px;
}
aside section:first-child {
  border: 0;
  padding-top: 0;
}
aside section span {
  display: block;
  margin-bottom: 3px;
  line-height: 1;
}
aside section h1 {
  font-size: 1.4em;
  text-align: left;
  letter-spacing: -1px;
  margin-bottom: 3px;
  margin-top: 0px;
}

.gravatar {
  float: left;
  margin-right: 10px;
}

.gravatar_edit {
  margin-top: 15px;
}

/* forms */
input,
textarea {
  border: 1px solid #bbb;
  width: 100%;
  margin-bottom: 15px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

input {
  height: auto !important;
}

#error_explanation {
  color: red;
}
#error_explanation ul {
  color: red;
  margin: 0 0 30px 0;
}

.field_with_errors {
  /* For Bootstrap5 */
}
.field_with_errors .form-control {
  color: #a94442;
}

/* Dropdown menu */
.dropdown-menu.active {
  display: block;
}

.header-guest {
  display: block;
}

.header-user {
  display: none;
}