body, div, section, header, footer {
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
}

* {
  font-size: 20px;
  font-family: sans-serif;
  position: relative;
}

body {
  margin: 0 auto;
  min-width: 36em;
  max-width: 48em;
  text-align: center;
  padding: 1em 2em;
}

body>* {
  margin-bottom: 1em;
}

body>header {
  font-size: 2em;
  font-weight: bold;
}

fieldset {
  padding: 0.5em 0;
  border: none;
}

label.column {
  display: inline-block;
  width: 8em;
  padding-right: 1em;
  text-align: right;
}

input:not([type=radio]):not([type=checkbox]) {
  max-width: 16em;
  width: 16em;
}

.panel {
  display: none;
}

.panel[data-state=active] {
  display: block;
}

.panel>* {
  margin-bottom: 1em;
}

div#member-set {
  display: inline-block;
  max-width: 16em;
  width: 16em;
  vertical-align: top;
}

div#member-set>label {
  display: block;
  text-align: left;
  
}

button {
  width: 100%;
  margin-top: 1em;
  padding: 0.3em;
  background-color: #2962FF;
  border: none;
  border-radius: 5px;
  color: #FFF;
}

button:disabled {
  background-color: #CCC;
  color: #999;
}

div.cover {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #00000055;
  padding: 5%;
  z-index: 10;
}

div.cover[data-state=active] {
  display: block;
}

div#pending>span#circle {
  display: inline-block;
  width: 2.8em;
  height: 2.8em;
  border: 0.4em solid;
  border-color: #888 #888 #888 transparent;
  border-radius: 50%;
  vertical-align: middle;
  margin: 0;
  line-height: 5em;
  -webkit-animation: spin 1s infinite;
     -moz-animation: spin 1s infinite;
          animation: spin 1s infinite;
}

@-webkit-keyframes spin { 100% { -webkit-transform: rotate(-360deg); } }
   @-moz-keyframes spin { 100% {    -moz-transform: rotate(-360deg); } }
        @keyframes spin { 100% {         transform: rotate(-360deg); } }

div#modal>div#modal-container {
  display: inline-block;
  vertical-align: middle;
  background: #FFF;
  width: 80%;
  height: 80%;
  padding: 2em;
  border-radius: 1em;
}

#announce {
  border: 1px solid transparent;
  font-size: 80%;
  margin-top: 1em;
  padding: 1em 2em;
  text-align: left;
}

#announce.info {
  border-color: #3366CC;
  background: #3366CC22;
}

#announce.warning {
  border-color: #FF9900;
  background: #FF990022;
}

#announce.alert {
  border-color: #DC3912;
  background: #DC391222;
}

#announce.success {
  border-color: #109618;
  background: #10961822;
}

#results {
  border-top: #AAA solid 1px;
}

#results>header {
  padding: 0.5em;
}

#results>#result-list {
  margin: 0 auto;
  display: inline-block;
}

#results>#result-list>ul {
  margin: 0.5em auto;
  list-style-type: square;
}

#results>#result-list>ul>li {
  text-align: left;
  padding: 0 1em;
}

#results>#result-list>ul>li.new {
  background: #FF0;
}
