:root {
  font-size: 12pt;
}

html,
body {
  overscroll-behavior-y: none;
}

body {
  font-family: inter, verdana, arial, helvetica, sans-serif;
  font-size: 11pt;
  background-color: #efefef;
  margin: 0;
  padding: 0;
}

a.linked {
  color: #0869D8;
  text-decoration: underline;
}

a {
  color: #222;
}

a,
.pointered {
  cursor: pointer;
}

a,
a:hover,
a:visited,
a:active,
a:focus {
  outline: 0;
  text-decoration: none;
}

a {
  font-weight: 400;
}

a small {
  font-weight: normal;
}

label {
  font-size: 0.9em;
  font-weight: 600;
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  white-space: nowrap;
  border-radius: 4px;
}

.comment,
.disabled,
.subtle {
  color: #888;
}

#error {
  background-color: #a00;
  color: #fff;
  padding: 10px 20px;
}

#wrapper {
  margin: 0;
  padding: 0;
}

#box {
  background-color: #fff;
  max-width: 800px;
  min-height: 800px;
  margin: 1em auto 1em auto;
  padding: 0.6em 1em !important;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow-x: hidden !important;
  overflow-wrap: break-word;
}

#bottombar {
  position: relative;
  bottom: 0;
  height: 3em !important;
  white-space: nowrap;
  text-align: center;
  font-size: 0.8em;
  overflow-x: auto;
  overflow-y: none;
  -webkit-overflow-scrolling: touch;
  color: rgba(0, 0, 0, 0.6);
  width: 100%;
  margin: 0;
  padding: 0;
}

#bottombar div {
  padding: 0.3em 0.5em 0 0.5em;
}

#bottombar a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
}

#bottombar span {
  color: #444;
}

#content {
  position: absolute;
  top: 46px;
  bottom: 0;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: scroll;
  overflow-x: hidden;
}

#content ul.flash,
#content div.flash {
  margin-top: 0.2em;
  margin-bottom: 0.8em;
  padding-top: 1em;
  padding-bottom: 1em;
}

#content div.flash {
  padding-left: 20px;
}

#content .flash.info {
  background: rgba(0, 255, 0, 0.5);
}

#content .flash.warning {
  background: rgba(255, 255, 0, 0.5);
}

#content .flash.error {
  background: rgba(255, 0, 0, 0.5);
}

.btn {
  display: block !important;
  width: 100% !important;
  max-width: 300px;
  padding-top: 1em;
  padding-bottom: 1em;
  margin-bottom: 0.5em;
}

.medium-font {
  font-weight: 500;
}

.small-font {
  font-size: 0.8em;
  color: #888;
  font-weight: normal;
}

.small-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  background-color: #f0f0f0;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  background-color: #f0f0f0;
}

.big-sticker,
.big-avatar {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 8px solid #fff;
  object-fit: cover;
  overflow: hidden;
}

.big-avatar {
  background-color: #f0f0f0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
}

.hidden {
  display: none !important;
}

.backbutton i,
.backbutton span,
.actionbutton i,
.actionbutton span {
  display: inline-block;
  vertical-align: middle;
}

.backbutton i,
.actionbutton i {
  font-size: 1.5em;
  padding-right: 0.1em;
}

.backbutton a,
.actionbutton a {
  font-weight: normal;
  color: #0869D8;
}

ul li.empty-placeholder {
  display: none;
}

ul li:only-child {
  display: list-item;
}

@media (max-width: 840px) {
  body {
    background-color: #fff;
  }

  #content {
    top: 0 !important;
  }

  #box {
    margin: 0;
    border: 0;
    background: transparent;
  }
}