/* padding and borders count inside width: 100% instead of adding to it */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  background-color: #ADD8E6;
}

/* visited links keep the normal link color */
a:visited {
  color: LinkText;
}

hr {
  width: 100%;
}

ul {
  list-style-type: none;
  padding: 0;
}

.container {
  max-width: 640px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 1rem;
}

.flex-row {
  display: flex;
  flex-direction: row;
  max-width: auto;
}

.space-between {
  justify-content: space-between;
}


/* map widget of the ride form, sized like the event map */
.dj_map_wrapper {
  float: none;
}

.dj_map {
  width: 100%;
  height: 300px;
}

/* user dropdown in the top bar */
.menu {
  position: relative;
}

.menu summary {
  cursor: pointer;
}

.menu form {
  position: absolute;
  right: 0;
  /* above the OpenLayers map controls (z-index ~1000) */
  z-index: 2000;
  padding: 0.5rem;
  background-color: #fff;
  border: 1px solid #ccc;
}
