@charset "UTF-8";
body,
header,
footer,
main,
.section--tours-zell {
  background-color: #fff3aa;
}

header {
  color: black;
}

.alerts {
  background-color: #89a;
}

.tile {
  background-color: rgba(255, 255, 255, 0.7333333333);
}

.list {
  background-color: white;
  box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1333333333);
}

.list--zell {
  background-color: #fe3;
}

.list--past {
  background-color: #eee;
  color: #555;
}

.button {
  background-color: rgb(6, 54, 128);
  color: white;
}

.button.button--secondary {
  color: rgb(6, 54, 128);
  border: 1px solid currentColor;
  background-color: transparent;
}

.text--link {
  color: rgb(6, 54, 128);
}

.tour-item--zell {
  background-color: #fff;
  box-shadow: 0 0 7px 0px rgba(0, 0, 0, 0.1333333333);
}

.tour-item--zell--past {
  background-color: rgba(255, 255, 255, 0.8);
}

h1, h2, h3 {
  margin: 0 0 0.75em;
  font-weight: normal;
}

h1 {
  font-size: 1.4rem;
}

h2 {
  font-size: 1.2rem;
}

h3 {
  font-size: 1rem;
}

h1.brand {
  font-size: 1.75rem;
}

h1 a {
  color: inherit;
  text-decoration: none;
}

.text--dimmed {
  opacity: 0.5;
}

.lead {
  font-size: 1.3rem;
}

.lead--smaller {
  font-size: 1.1rem;
}

.text--smaller {
  font-size: 0.85rem;
}

.header-title {
  font-size: 1.1rem;
}

.section--changelog h2 {
  font-size: 1rem;
}

.section--changelog h3 {
  font-size: 0.95rem;
  text-decoration: underline;
}

.control + .control {
  margin-top: 1rem;
}

.input--string,
textarea {
  font-family: Arial, Helvetica, sans-serif;
}

.control__hint {
  font-size: 0.85rem;
  color: rgb(50, 175, 196);
  margin: 2px 0 0;
}

.button,
.input--string,
textarea,
select {
  font-size: 0.85rem;
  padding: 8px;
  width: 100%;
}

.radio-item,
.checkbox-item {
  font-size: 0.85rem;
  padding: 10px 8px;
  width: 100%;
}

.button,
.input--string,
.radio-item,
.label,
textarea {
  font-size: 1rem;
}

select,
option,
input[type=date] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  /*font-size: 0.85rem;*/
  font-size: 1rem;
}

.input--string,
textarea,
select,
option {
  border-radius: 5px;
  border: 1px solid #999;
}

.input--string,
textarea,
select {
  background-color: white;
}

.button {
  display: block;
  border: none;
  font-size: 0.85rem;
  font-weight: bold;
  padding: 12px 18px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
}

.button[disabled] {
  background-color: rgb(133, 169, 223);
  color: rgba(255, 255, 255, 0.6);
}

.button.button--confirm {
  background-color: #3B0;
}

.button.button--cancel {
  background-color: #C30;
}

.label {
  font-size: 0.85rem;
  line-height: 1em;
  display: block;
  margin-bottom: 4px;
}

.label--required {
  font-weight: bold;
}

.form-group {
  margin: 3rem 0;
}

.radio-group,
.checkbox-group {
  background-color: white;
  border-radius: 5px;
  border: 1px solid #999;
}

.radio-item {
  display: block;
  font-size: 1rem;
}

.radio-item input {
  /*display: none;*/
}

.radio-item input + span {
  margin-left: 8px;
}

.radio-item input:checked + span {
  /*color: lime;*/
}

.radio-item + .radio-item {
  border-top: 1px solid #999;
}

.checkbox-item {
  display: block;
  font-size: 1rem;
}

.checkbox-item input + span {
  margin-left: 8px;
}

.checkbox-item + .checkbox-item {
  border-top: 1px solid #999;
}

.form__error {
  color: #c00;
  margin: 1rem 0;
  padding: 1rem;
  background-color: #fdd;
  font-size: 0.85rem;
}

header {
  transition: top 100ms ease-in-out;
}

main {
  transition: top 150ms ease-out;
}

.stack > * + * {
  margin-top: 2rem;
}

.tiles {
  display: grid;
  grid-gap: 1rem;
  /*grid-template-columns: var(--tiles-layout);*/
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tiles--single {
  display: block;
}

.tile {
  padding: 1rem;
}

.statistics-tile__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.statistics-tile__title {
  font-size: 1rem;
  font-weight: bold;
  color: black;
  margin: 0;
}

.statistics-tile__values {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 8px 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0;
}

.statistics-tile__values .statistics-tile__value {
  margin: 0;
  font-size: 1rem;
}

.statistics-tile__values .statistics-tile__unit {
  font-size: 0.85rem;
}

.statistics-tile__values > * {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #999;
  padding: 8px 1rem;
}

.statistics-tile__values > * {
  transition: color 0.2s linear;
}

.statistics-tile__item--focus {
  color: black;
}

.statistics-tile__values .statistics-tile__item--focus .statistics-tile__value {
  font-size: 1.1rem;
}

.statistics-tile__values .statistics-tile__item--focus .statistics-tile__unit {
  font-size: 1rem;
}

.statistics-tile__value {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 0 8px;
}

.statistics-tile__tour {
  margin: 0;
}

.statistics-tile__date {
  font-size: 0.85rem;
  color: black;
}

.tabs {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 1rem;
}

.tabs > * {
  padding: 8px 0;
}

.tab-item--active {
  text-decoration: underline;
}

.tabber-contents {
  margin-top: 1rem;
}

.tabber-content {
  display: none;
}

.tabber-content--visible {
  display: block;
}

.alerts {
  margin: -1rem;
  padding: 1rem;
  overflow: hidden;
}

.alerts__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.alerts__list > * + * {
  margin-top: 2px;
}

.alert__item {
  background-color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.85rem;
  padding: 8px 1rem;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3333333333);
}

.alert__item--danger,
.alert__item--damaged {
  background-color: #fdd;
  color: #700;
}

.box {
  padding: 1rem;
  border-radius: 3px;
}

.box--white {
  background-color: white;
}

.box--damaged {
  background-color: #f00;
  color: white;
}

.section--tours-zell {
  margin: -1rem;
  padding: 1rem;
}

.list {
  list-style-type: none;
  margin: 0 0 1rem;
  padding: 0;
}

.list--interactive {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.list__item {
  padding: 1rem;
}

.list--condensed .list__item {
  padding: 12px 1rem;
}

.list__item--button {
  padding: 0;
}

.list__item--button > .button {
  display: block;
  width: 100%;
}

.list__item + .list__item {
  border-top: 1px solid rgba(0, 0, 0, 0.1333333333);
}

.list--interactive .list__item {
  padding: 4px 0;
}

.list--interactive .list__item > * {
  padding: 12px 16px;
}

.list--interactive a {
  display: block;
  color: black;
  text-decoration: none;
}

.vaunit__value {
  font-weight: bold;
}

.vaunit__unit {
  font-weight: normal;
}

.usage {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: white;
  border-radius: 3px;
  font-size: 0.85rem;
  min-height: 52px;
  box-shadow: 0 0 10px 1px rgba(255, 255, 255, 0.6);
}

.usage--ok {
  box-shadow: 0 0 10px 1px rgba(153, 255, 153, 0.6);
}

.usage--warning {
  box-shadow: 0 0 10px 1px rgba(255, 255, 153, 0.6);
}

.usage--critical {
  box-shadow: 0 0 10px 1px rgba(255, 153, 153, 0.6);
}

.usage > * {
  padding: 8px;
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.usage > * > * {
  display: block;
  width: 100%;
}

.usage > * > *:nth-child(2) {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.usage__item--ok {
  background-color: #cfc;
}

.usage__item--warning {
  background-color: #ffc;
}

.usage__item--critical {
  background-color: #fcc;
}

.icon-close {
  stroke: black;
}

.icon-add,
.icon-edit {
  stroke: black;
}

.icon-edit__pencil {
  transform-origin: center;
  transition: transform 0.3s ease-in-out;
}

.icon-edit--using .icon-edit__pencil {
  transform: rotate(58deg);
}

.locationbar {
  display: flex;
  list-style-type: none;
  margin: 0 0 1.5rem;
  padding: 0;
  gap: 4px;
  align-items: stretch;
}

.navbar {
  display: flex;
  list-style-type: none;
  margin: 0;
  padding: 0;
  gap: 4px;
  height: 100%;
  justify-content: space-around;
  align-items: stretch;
}

.navbar__item > * {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.85rem;
  text-align: center;
  padding: 4px 1rem;
}

.navbar__item a {
  text-decoration: none;
  color: rgba(0, 0, 0, 0.4666666667);
  position: relative;
  stroke: rgba(0, 0, 0, 0.4666666667);
}

.navbar__item a.active {
  color: #000;
  stroke: #000;
}

.navbar__text {
  position: relative;
}

.navbar-badge {
  background-color: #000;
  border-radius: 16px;
  position: absolute;
  width: 10px;
  height: 10px;
  display: inline-block;
  top: -5px;
  right: -10px;
}

.navbar-badge--damaged {
  background-color: #c00;
}

/* FX */
.navbar__item a {
  transition: color 50ms linear;
}

.news-item__title {
  font-size: 0.85rem;
  line-height: 125%;
  font-weight: bold;
  display: inline;
}

.news-item__date {
  font-size: 0.75rem;
  line-height: 125%;
}

.news-item__date::before {
  content: "—";
  display: inline-block;
  padding: 0 4px;
}

.news-item__text {
  font-size: 0.85rem;
  line-height: 125%;
  margin-top: 4px;
  color: rgba(0, 0, 0, 0.7333333333);
}

.bike {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bike__label {
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
}

.bike__label + span {
  color: #777;
}

.bike__manufacturer,
.part__manufacturer,
.bike__model,
.part__model {
  font-size: 0.85rem;
}

.bike__manufacturer {
  font-weight: bold;
  margin-right: 0.5ch;
}

.properties {
  background-color: white;
  padding: 1rem;
  border-radius: 3px;
}

.properties--dimmed {
  background-color: rgba(255, 255, 255, 0.6);
}

.property {
  display: flex;
  font-size: 0.85rem;
  line-height: 1em;
}

.property + .property {
  margin-top: 8px;
}

.property > *:nth-child(1) {
  width: 50%;
  text-align: end;
  padding-right: 1rem;
  flex-shrink: 0;
}

.property__value {
  font-weight: bold;
}

.property__unit {
  font-weight: normal;
}

.bike-parts__title {
  /*
  display: flex;
  align-items: center;
  justify-content: space-between;
  */
  margin-bottom: 18px;
}

.bike-parts__title > h2 {
  margin: 0;
}

.bike-parts__filter {
  list-style-type: none;
  padding: 0;
  margin: 0 -8px;
  display: flex;
  align-items: center;
}

.bike-parts__filter > * {
  padding: 8px;
}

.bike-parts__filter--active {
  text-decoration: underline;
}

.tour-list--zell {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.tour-item--zell {
  padding: 1rem;
}

.tour-list {
  list-style-type: none;
  margin: 0 0 1rem;
  padding: 0;
}

.tour-item + .tour-item {
  margin-top: 1rem;
}

.tour__properties {
  font-size: 0.85rem;
}

.tour__title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 4px 0;
}

.list-item--past {
  background-color: #eee;
  color: #555;
}

.tour__title {
  display: block;
  font-size: 1.1rem;
}

.tour__title--zell {
  font-weight: bold;
  text-transform: uppercase;
}

.tour__title--mambach {
  font-size: 0.9rem;
  font-weight: normal;
}

.tour__location {
  font-size: 0.85rem;
  color: #444;
}

.tour__manufacturer {
  margin-right: 1ch;
}

.tour__participation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

.tour__participation-count {
  font-size: 0.85rem;
  line-height: 1rem;
}

.tour__participation-icon {
  background-color: rgba(119, 119, 119, 0.6);
  border-radius: 30px;
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  color: white;
  font-size: 0.7rem;
  line-height: 1.25rem;
}

.tour__participation-icon--confirmed {
  background-color: #0a0;
}

.tour__participation-icon--checked_in {
  background-color: #C4F;
}

.tour__participation-icon--checked_out {
  background-color: #7BA;
}

.tour__participation-icon--cancelled {
  background-color: #c00;
}

.tour__participation-icon::after {
  content: "?";
  display: inline-block;
}

.tour__participation-icon--confirmed::after {
  content: "✓";
}

.tour__participation-icon--cancelled::after {
  content: "✗";
}

.tour__participation-icon--checked_in::after {
  content: "!";
}

.tour__participation-icon--checked_out::after {
  content: "✓";
}

.list-item--past .tour__participation-icon,
.list-item--past .badge {
  background-color: #BBB;
}

.list-item--past .tour__participation-icon--confirmed {
  background-color: #ACA;
}

.list-item--past .tour__participation-icon--checked_in {
  background-color: #CAC;
}

.list-item--past .tour__participation-icon--cancelled {
  background-color: #CAA;
}

.tour-participation {
  display: flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.0666666667);
}

.tour-participation--confirmed {
  background-color: rgba(0, 170, 0, 0.0666666667);
}

.tour-participation--checked_in {
  background-color: rgba(204, 68, 255, 0.0666666667);
}

.tour-participation--cancelled {
  background-color: rgba(204, 0, 0, 0.0666666667);
}

.tour-participation > *:first-child {
  text-align: center;
  padding: 0 1rem;
}

.part {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.part > *:nth-child(2) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.part__manufacturer {
  font-weight: bold;
  margin-right: 0.5ch;
}

.part__model {
  display: inline-block;
  /*white-space: nowrap;*/
}

.part__has-note-sign {
  display: inline-block;
  width: 10px;
  height: 12px;
  background-color: #fff6e4;
  border: 1px solid #dbcaa8;
  margin-left: 1ch;
}

.part-condition {
  padding: 1rem;
}

.part-condition--good {
  background-color: #58e358;
}

.part-condition--bad {
  background-color: #c298ff;
}

.part-condition--damaged {
  background-color: #ff6f6f;
}

.part-list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.part-list__item:first-child {
  border-top: 1px solid rgba(0, 0, 0, 0.2666666667);
}

.part-list__item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.2666666667);
  padding: 4px 0;
  margin: 0;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  line-height: 1em;
}

.part__type {
  font-size: 0.85rem;
  font-weight: bold;
}

.part div {
  color: #777;
}

.part__patches {
  font-size: 10px;
  line-height: 1em;
  background-color: #a89;
  padding: 2px 7px;
  border: 3px solid #555;
  border-radius: 10px;
  color: white;
  height: 20px;
  vertical-align: middle;
  display: flex;
  align-items: center;
}

.part__patches--zero {
  background-color: #698;
}

.setting__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  background-color: rgba(0, 0, 0, 0.5333333333);
  color: white;
  border-radius: 16px;
  padding: 2px 8px;
  font-size: 0.6rem;
}

.setup {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.setup--active {
  font-weight: bold;
}

.setup-usage__item,
.part-usage__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.setup-usage__bike-label {
  margin-inline-start: 1ch;
}

.part-usage__item > span > span:not(:last-child) {
  margin-inline-end: 1ch;
}

* {
  box-sizing: border-box;
}

h1,
h2,
h3,
p,
label,
.list__item,
.tile,
.bike-parts__filter,
.usage,
.part-list,
.properties,
.notes,
.tabs,
.navbar {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/*
:root {
  --tiles-layout: repeat(2, 1fr);
}
*/
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

.body--arial {
  font-family: Arial, Helvetica, sans-serif;
}

header,
main,
footer {
  left: 0;
  right: 0;
}

header,
footer {
  position: fixed;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  height: 40px;
  overflow: hidden;
  padding: 4px 1rem;
  z-index: 1;
}

header a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
}

main {
  position: absolute;
  padding: 1rem;
  overflow-y: auto;
}

.main--logged-out {
  top: 0;
  bottom: 0;
}

.main--logged-in {
  top: 40px;
  bottom: 48px;
}

.page--no-header header {
  top: -40px;
}

.page--no-header main {
  top: 0;
}

footer {
  bottom: 0;
  height: 48px;
  padding: 8px 1rem;
}

.header-title {
  margin: 3px 0 0;
  font-size: 1.1rem;
}

.header-title--brand {
  margin: 0;
  font-size: 1.5rem;
}

.intro {
  margin: 3rem 0;
}

.title--action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.9rem;
}

.title--action h2 {
  margin: 0;
}