/* Dead Simple Grid (c) 2015 Vladimir Agafonkin */

.row .row { margin:  0 -1.5em; }
.col      { padding: 0  1.5em; }

.row:after {
    content: "";
    clear: both;
    display: table;
}

@media only screen { .col {
    float: left;
    width: 100%;
    box-sizing: border-box;
}}
/* End DSG */

.results { max-width: 40em; }

@media only screen and (min-width: 34em) {
  .players, .planets { width: 50%; }
}

@media only screen and (min-width: 54em) {
  .rounds-header { width: 33.33%; }
  .rounds-body { width: 66.66%; }
  .orders, .results { width: 50%; }
}

@media only screen and (min-width: 76em) {
  .targeting-section { width: 20%; }
  .menu-section { width: 40%; }
  .bottom-section { width: 40%; }
  .rounds-header { width: 100%; }
  .rounds-body { width: 100%; }
  .players, .planets { width: 100%; }
  .orders, .results { width: 100%; }
}

body {
  background: white;
  font-family: "Helvetica Neue", helvetica, arial, sans-serif;
}

@keyframes fadeIn {
  from { opacity: 0; }
   to { opacity: 1; }
}

#instruction-frame {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.7);
  animation: fadeIn 0.5s;
}

#instruction-dialog {
  display: inline-block;
  margin: 1em;
  padding: 1em;
  background: white;
  border: solid black 2px;
  border-radius: 5px;
  box-shadow: 0 3px 13px rgba(1, 1, 1, 0.36);
}

#instruction-title {
  margin-top: 0;
}

#instructions {
  border: 3px dashed #f79521;
  width: 716px;
  height: auto;
  max-width: 100%;
}

#instruction-dialog footer {
  background-color: #f5f5f5;
  margin: 0.5em;
  padding: 1em;
}

.button {
  margin: 0 0 5px 10px;
  font-size: 15px;
  border: none;
  border-radius: 5px;
  padding: 16px 20px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  margin: 0 10px 5px 0;
  padding: 9px 11px;
}

.primary.button {
  background-color: #f79521;
  color: #fff;
}

.primary.button:hover {
  background-color: black;
}

.cancel {
  color: #f79521;
  text-decoration: underline;
}

.cancel:hover {
  text-decoration: none;
}

.menu-section button {
  background-color: #333;
  border: none;
}

.menu-section button:hover {
  background-color: #088;
}

fieldset {
  border: none;
}

legend {
  font-size: 150%;
  font-weight: bold;
}

ul {
  padding-left: 0;
}

li {
  list-style-type: none;

}

.menu li {
  display: inline-block;
  margin: 0.1em;
  padding: 0.1em 0.2em;
}

.menu-item button {
  position: relative;
  font-size: 13px;
}

.menu-code {
  position: absolute;
  bottom: 0.2em;
  left: 0.2em;
  padding: 0.2em 0.4em;
  background-color: #0FF;
}

.menu-donation {
  position: absolute;
  bottom: 0.2em;
  right: 0.2em;
  padding: 0.2em 0.4em;
  background-color: #0F0;
}

.order-item ul {
  display: inline-block;
  margin: 0;
}

.code {
  width: 3em;
  text-align: left;
  padding-left: 0.5em;
}

.line-total {
  text-align: right;
}

.donation {
  width: 2em;
  text-align: right;
  padding-right: 0.5em;
}

.quantity {
  text-align: left;
}

.builds {
  text-align: left;
}

.build {
  display: inline-block;
}

.text {
  background-color: #eee;
}
