.content {
  display: flex;
  flex-direction: row;
}
@media (max-width: 800px) {
  .content {
    flex-direction: column;
  }
}
@media (min-width: 801px) {
  .content form {
    position: sticky;
    top: 60px;
    height: max-content;
  }
}
#section-metartaf > div {
  margin: 0 1rem;
}
.station-list .error {
  color: #f00;
}
.station-list .warning {
  color: #ff8c00;
}
.station-list .station {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.station-list .station input[type=button],
.station-list .station .details {
  display: flex;
  flex-direction: column;
}
.station-list .station .icao {
  font-weight: bold;
  margin-left: 1rem;
}
.station-list .station .summary {
  margin-left: 1rem;
  font-size: x-small;
}
#results-info {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
}
#results-actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: stretch;
}
#results-actions a {
  flex: auto;
  margin: 4px;
}
#results-list {
  flex: 1 0 50%;
}
#results-list article {
  margin: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  font-family: monospace;
  white-space: pre-wrap;
}
#results-list article.metar {
  background-color: #ebebeb;
}
@media (prefers-color-scheme: dark) {
  #results-list article.metar {
    background-color: #141414;
  }
}
#results-list article.taf {
  background-color: #dbdbdb;
}
@media (prefers-color-scheme: dark) {
  #results-list article.taf {
    background-color: #242424;
  }
}
#results-list > div {
  position: relative;
}
#results-list > div .quote {
  position: absolute;
  top: 3px;
  right: 12px;
  display: none;
}
#results-list > div:hover .quote {
  display: block;
}
dialog {
  display: none;
  position: fixed;
  max-width: 50%;
  z-index: 20;
  border: 1px solid #808080;
  border-radius: 5px;
  box-shadow: 2px 2px 4px #a9a9a9;
}
dialog[open] {
  display: block;
}
dialog > p {
  margin: 0;
}
dialog > input[type=text] {
  margin: 8px 0;
}
dialog > textarea {
  width: 300px;
  max-width: 100%;
}
dialog .buttonbox {
  margin: 1em 0;
}
dialog[img] input[type=text] {
  box-sizing: border-box;
  width: 100%;
}
dialog[img] div:nth-of-type(2) {
  display: flex;
  margin: 1em 0;
}
dialog[img] div:nth-of-type(2) label:not(:last-of-type) {
  margin-right: 1em;
}
