html,
body {
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body,
input,
textarea {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: calc(14px + 0.5vw);
}
body {
  display: flex;
  flex-direction: column;
}
a {
  text-decoration: underline #aaf;
}
a:visited {
  text-decoration: underline #d9d;
}
a:hover {
  background-color: rgb(255, 255, 220);
}
h1 {
  font-size: calc(14px + 3vw);
  text-align: center;
  padding: 0.5em 0;
  margin: 0;
  line-height: 1.5;
  color: rgb(66, 95, 66);
  background-color: rgb(172, 236, 172);
  border-bottom: 1px solid rgb(66, 95, 66);
  z-index: 1;
}
h2 {
  font-size: calc(14px + 2.5vw);
}
h3 {
  font-size: calc(14px + 1.5vw);
}
h4 {
  font-size: calc(14px + 1vw);
}
h5 {
  font-size: calc(14px + 0.5vw);
}
h2,
h3,
h4,
h5,
p,
dl {
  margin: 1em 1vw 0.5em;
  line-height: 1.5;
}
input,
textarea {
  line-height: 1.5;
  border: 1px solid #999;
  border-radius: 3px;
  box-sizing: border-box;
}
p,
dl {
  margin-top: 0.5em;
}

h2:first-child {
  margin-top: 1vw;
}
dt {
  clear: left;
  float: left;
  margin-right: 0.5em;
  color: rgb(66, 95, 66);
  font-weight: bold;
}
dd {
  margin-left: 1.5em;
  margin-bottom: calc(0.5em + 0.5vh);
}
li {
  margin-bottom: 1em;
}
textarea {
  border: 1px solid #aaa;
  width: 100%;
  height: 4em;
  padding: 0.5em;
  box-sizing: border-box;
  margin: 0.5em 0;
}
.logger-radio {
  min-width: 50%;
  max-width: 20em;
  box-sizing: border-box;
  border: 1px solid #aaa;
  border-radius: 3px;
  position: relative;
}
.logger-radio > input {
  position: absolute;
  left: 0.5em;
  display: inline-block;
  height: 100%;
  margin: 0;
  width: 1em;
}
.logger-radio > label {
  vertical-align: middle;
  display: inline-block;
  box-sizing: border-box;
  width: 100%;
  padding: 1em 1em 1em 2em;
}
.ol-ishare-pane {
  position: relative;
  height: 100%;
}
.ol-ishare-pane li {
  position: relative;
}
.ol-ishare-pane img.legend {
  vertical-align: middle;
}
.ol-ishare-pane > .ishare-logger-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 2.5em;
  overflow-y: scroll;
}
.ol-ishare-pane > .ishare-logger-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}
.ishare-logger-controls > * {
  height: 1.5em;
}
.output-cancel {
  float: left;
}
.output-submit {
  float: right;
}
.assets-by-layer li > a {
  display: block;
  padding: 0.25em;
}
#ol-ishare-logger,
#ol-ishare-submitted {
  width: 100%;
  border-bottom: 1px solid black;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 1;
  overflow-y: auto;
}
#ol-ishare-submitted {
  padding: 2.5em 10vw 0;
  box-sizing: border-box;
  overflow: auto;
  min-height: 0;
}
#ol-ishare-logger-select {
  padding: 2em;
  width: 100%;
  box-sizing: border-box;
}
#ol-ishare-logger-select > form {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  height: 100%;
}
#ol-ishare-logger-select > form > * {
  width: 100%;
  max-width: 60vw;
  min-width: 20rem;
}
#ol-ishare-logger-select > form > .logger-radio,
#ol-ishare-logger-select > form > input[type="submit"] {
  width: 100%;
  max-width: 20em;
  margin: 0.5em;
}
#ol-ishare-logger-select > form > input[type="submit"] {
  padding: 1em;
}
#ol-ishare-map {
  flex: 6;
  z-index: 0;
}
#ol-ishare-panes {
  display: none;
}
#ol-ishare-panel {
  flex: 3;
  border-top: 1px solid #999;
  display: none;
  z-index: 1;
  padding: 0.5em;
}

@media all and (orientation: landscape) and (min-width: 480px) {
  #ol-ishare-logger {
    flex-direction: row-reverse;
  }
  #ol-ishare-panel {
    border-right: 1px solid #999;
    border-top: 0;
  }
}
@media all and (min-width: 640px) and (min-height: 640px) {
  h1 {
    position: relative;
    text-align: left;
    padding: 0.3em 0.5em 0.5em 0.5em;
  }
  h1 {
    text-align: left;
  }
  #ol-ishare-logger,
  #ol-ishare-submitted {
    position: relative;
    top: auto;
    bottom: auto;
    width: auto;
    margin: 2em;
    height: 75%;
    border: 1px solid #999;
  }
  #ol-ishare-submitted {
    justify-content: start;
  }
}
@media all and (min-width: 800px) {
  body,
  input,
  textarea {
    font-size: 18px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 26px;
  }
  h4 {
    font-size: 22px;
  }
  h5 {
    font-size: 18px;
  }
}
