:root {
  --header-width: auto;
}

body {
  background: url( /images/background.png );
  background-repeat: repeat;
  font-family: sans;
  cursor: default;
  margin: 0;
}

body div.top-banner {
  color: #99185F;
  background: #2C9928;
  width: var(--header-width);
  display: block;
  box-sizing: border-box;
  background: linear-gradient( 356deg , #2C9928 0%, #7AFF75 95%);
}

body div.top-banner h1 {
  margin: 0;
}

body em.waiting {
  display: inline-block;
  margin-top: 30px;
}

button {
  border-radius: 3px;
  color: #222222;
  background: #7AFF75;
  border: 1px solid #2C9928;
  background: linear-gradient( 356deg , #2C9928 0%, #7AFF75 65%);
}

button.copy {
  margin-bottom: 5px;
}

button.collab {
  margin-bottom: 5px;
}

button:hover {
  color: #99185F;
  cursor: pointer;
  border: 1px solid #99185F;
}

button.add-spot {
  padding: 10px;
}

label.edit-check::before {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  visibility: visible;
  position: relative;
  cursor: pointer;
  content: "";
  background-size: 16px 16px;
  box-sizing: border-box;
  display: inline-block;
  background-image: url( /images/edit-icon.svg );
  left: -10px;
}

:checked[type="checkbox"] + label.edit-check::before {
  border-radius: 50%;
  border: 2px solid #7AFF75;
}

input.edit-check {
  cursor: pointer;
  visibility: hidden;
}

label.lock-check::before {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  visibility: visible;
  position: relative;
  cursor: pointer;
  content: "";
  background-size: 16px 16px;
  box-sizing: border-box;
  display: inline-block;
  background-image: url( /images/lock-icon.svg );
  left: -10px;
}

:checked[type="checkbox"] + label.lock-check::before {
  border-radius: 50%;
  border: 2px solid #7AFF75;
}

input.lock-check {
  cursor: pointer;
  visibility: hidden;
}

div.main ol.spots {
  list-style-type: none;
}

div.main ol.spots li.spot:hover {
  border-bottom: 1px solid #58E653;
}

div.main div.spot {
  display: block;
  border-radius: 50%;
  width: 20px;
  height: 20px;
}

div.main details.tools ul {
  padding-left: 10px;
  list-style-type: none;
}

div.main details {
  margin-bottom: 10px;
}

div.main input.collaborator {
  margin-bottom: 5px;
}

div.main div.chart-title {
  width: 400px;
  margin-left: auto;
  margin-right: auto;
}

div.main div.chart-title h2 {
  display: inline-block;
  box-sizing: border-box;
}

div.main div.chart-title input {
  margin-bottom: 30px;
  box-sizing: border-box;
  height: 30px;
}

div.main div.chart-title label.edit-check::before {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  top: -7px;
  position: relative;
  left: 0px;
  background-size: 32px 32px;
}

div.main div.chart-title :checked[type="checkbox"] + label.edit-check::before {
  margin-top: 25px;
}

div.main div.chart-title :checked[type="checkbox"] ~ input {
  margin-bottom: 32px;
}

div.main div.chart-title input {
  font-size: 1.5em;
  box-sizing: border-box;
  position: relative;
  top: 11px;
}

div.main div.picker {
  display: inline-block;
}

div.main div.picker.open {
  width: 100px;
  height: 50px;
  border: black 1px solid;
  padding: 5px;
  position: fixed;
  margin-left: 5px;
  border-radius: 10%;
  background: #DDDDDD;
  padding-left: 8px;
}

div.main div.picker.open div.spot {
  display: inline-block;
  margin-right: 5px;
}

div.main div.picker.closed {
  width: 25px;
  margin-left: 10px;
  height: 15px;
}

div.main button.remove {
  margin-left: 10px;
}

div.main div.main-wrapper {
  display: flex;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  flex-wrap: wrap;
}

div.main div.main-wrapper div.two-by-two div.x-axis {
  margin-top: 10px;
}

div.main div.main-wrapper div.two-by-two div.y-axis {
  transform: rotate( -90deg );
  left: -190px;
  top: 211px;
  width: 400px;
  display: inline-block;
  position: absolute;
}

div.main div.main-wrapper div.two-by-two div.two-by-twos {
  position: relative;
  box-sizing: border-box;
  display: block;
  margin-left: 30px;
  width: 400px;
  height: 400px;
}

div.main div.main-wrapper div.two-by-two div.two-by-twos div.row {
  height: 200px;
}

div.main div.main-wrapper div.two-by-two div.two-by-twos div.quadrant {
  display: inline-block;
  box-sizing: border-box;
  background: white;
  width: 200px;
  height: 200px;
  border: solid 1px black;
}

div.main div.main-wrapper div.two-by-two div.spot-holder {
  position: absolute;
  top: 0;
  width: 400px;
  height: 400px;
}

div.main div.main-wrapper div.two-by-two div.spot-holder div.spot-rack {
  position: absolute;
}

div.main div.main-wrapper div.two-by-two div.spot-holder div.spot-rack:hover {
  color: #99185F;
  cursor: move;
}

div.main div.main-wrapper div.list-container {
  margin-left: 10px;
  width: 400px;
}

div.main div.main-wrapper div.list-container ol {
  padding: 0;
}

div.main div.main-wrapper div.list-container div.edit-spot {
  display: inline;
}

@media (max-width: 840px) {

  div.main div.main-wrapper {
    display: inline-block;
  }
  
  div.main div.main-wrapper div.list-container {
    margin-top: 30px;
  }

}

@media (max-width: 440px) {

  div.main div.main-wrapper {
    width: auto;
    margin-left: 0;
    margin-right: 0;
  }
  
  div.main div.main-wrapper div.two-by-two {
    transform: scale( 75% );
    position: relative;
    left: -30px;
  }

}