/* Reset CSS */
body {
  min-height: 100vh;
}

/* Container styles */
.container {
  max-width: 148mm;
  margin: auto;
  padding: 0 0.5em;
}
.brand {
    white-space: nowrap;
    color:var(--red) !important;
}
/* Navigation styles */
#NAV nav {
  margin-bottom: 1em;
}
/* Semantic UI styles */
.pusher{
  flex-grow:1;
}


/* User Interface styles */
#UI {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0px 0px 10px rgb(0, 0, 0);
}
#MAIN{
    padding-bottom:5rem;
}
/* Typography reset */
h1, h2, h3, h4, h5, body {
  margin: 0;
  padding: 0;
}

/* Header styles */
header dl {
  border: 2px solid #000;
  margin: 0;
  padding: 0.6rem 0;
  display: flex;
  flex-direction: row;
  text-align: center;
}

header dl div {
  flex-grow: 1;
  border-left: 2px solid #000;
}

header dl div:first-child {
  border-left: 0px !important;
}

header dt {
  font-size: 0.9rem;
  margin-bottom: 0.2em;
  font-weight: 700;
  text-transform: uppercase;
}

header dd {
  font-size: 1.5rem;
  margin-left: 0;
}

header .authors {
  font-size: 1rem;
  padding: 0.2rem 0 0.5rem 0;
}

/* Data-related styles */
data-brand-name, data-logo {
  display: inline-block;
  white-space: nowrap;
}

data-list, nav {
  display: block;
}

data-login {
  width: 50%;
  margin: auto;
}

/* Message styles */
.message {
  padding: 1em;
}

/* Navigation item styles */
nav .item {
  cursor: pointer;
  padding: 0.4em 0em;
}

#NAV .item{
  padding: 0.5em;
}

/* List styles */
.list.vertical > .item {
  padding: 0.8rem;
  border-bottom: 1px solid lightgrey;
}

.list.vertical > .item:last-child {
  border-bottom: 0;
}

.list.inline {
  display: flex;
}

.list.inline > .item {
}

.list.inline > .item:after {
  content: ' ⋅ ';
}

.list.inline > .item:last-child:after {
  content: '';
}


/* Data content styles */
data-content {
  display: block;
}

/* Miscellaneous styles */
data-key,
header.harmony .value {
  text-transform: none !important;
}

data-signature data-note {
  color: teal;
}

.ui.menu.main,
.unrounded {
  border-radius: 0;
}


.page.head .ui.header img {
  width: 4em;
}

/* Avatar styles */
.avatar {
  width: 6em;
  height: auto;
  font-size: 0.78571429rem;
  border-radius: 500rem;
}

.avatar.small {
  width: 3.5em;
}

.avatar.mini {
  width: 2.5em;
}

.item .avatar {
  margin-right: 0.2em;
}

.list.items.sortable {
  counter-reset: list-counter;
}

.list.items.sortable .item:not(.break) {
  counter-increment: list-counter;
}

.list.items.sortable .item:not(.break)::before {
  content: counter(list-counter) ". ";
  padding-right:1rem;
}

