body {
  font: 14px 'Roboto', Arial, Helvetica, sans-serif;
  background-color: #e8e5c5;
  display: block;
  margin: 0;
  padding: 0;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  padding-bottom: 3em;
  max-width: 961px;
}

nav {
  flex: 0 0 200px;
  align-self: stretch;
}

nav .menu {
  width: 200px;
  height: 100%;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

nav li {
  list-style: none;
}

nav ul li a {
  display: block;
  padding: 0.5em 1em;
  font-weight: bold;
  text-decoration: none;
  color: #47478f;
}

a.addItem {
  text-decoration: none;
  background-color: #47478f;
  color: #fff;
  padding: 2px 6px 2px 6px;
  border: 1px solid #a6a48c;
  border-radius: 10px;
}

a.addItem:link, a.addItem:active, a.addItem:visited {
  color: #fff;
  background-color: #47478f;
  cursor: pointer;
}

a.addItem:hover {
  color: #000;
  background-color: #e8e5c5;
  cursor: pointer;
}

a:link,
a:active,
a:visited {
  color: #47478f;
}

a:hover {
  color: #fff;
  background-color: #47478f;
  cursor: pointer;
}

table {
  width: 561px;
  border-collapse: collapse;
}

tr {
  border-bottom: 1px solid #000;
}

td {
  width: 50%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

caption {
  color: #000064;
  font-size: 1.25em;
  font-weight: bold;
  border-bottom: 1px solid #000;
}

select {
  border: 0;
  box-shadow: none;
  width: 100%;
  font: 14px 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: bold;
  background-color: #e8e5c5;
}

option {
  font-weight: bold;
}

input {
  border: 0;
  box-shadow: none;
  width: 100%;
  font: 14px 'Roboto', Arial, Helvetica, sans-serif;
  font-weight: bold;
  background-color: #e8e5c5;
}

#lotteryNameTableCaption::after {
  content: " Lump Sum Fantasy Worksheet";
}

.imgcenter {
  width: 561px;
}

.jackpotText {
  font-size: 20pt;
}

.cashText {
  font-size: 12pt;
}

.cashText::before {
  content: "(";
}

.cashText::after {
  content: " Cash Value)";
}

#content {
  display: flex;
  align-items: start;
}

#headerContent {
  flex: 0 0 1000px;
}

#mainContent {
  border: 2px solid #a6a48c;
  background-color: #fff;
  margin-bottom: 1em;
}

#yearlyBurn {
  margin-bottom: 1em;
}

div {
  display: block;
}

div.megamillions {
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}

div.megamillions h2 {
  font-size: 0;
  background: url("/images/megamillions.png");
  background-repeat: no-repeat;
  background-size: auto;
  width: 232px;
  height: 110px;
  align-self: center;
  display: block;
  cursor: pointer;
}

div.megamillions p {
  line-height: 0.5em;
}

div.powerball {
  justify-content: center;
  white-space: nowrap;
  text-align: center;
}

div.powerball h2 {
  font-size: 0;
  background: url("/images/powerball.png");
  background-repeat: no-repeat;
  background-size: auto;
  width: 329px;
  height: 110px;
  align-self: center;
  display: block;
  cursor: pointer;
}

div.powerball p {
  line-height: 0.5em;
}

div.spacer {
  line-height: 3em;
}

.financialTracker {
  display: flex;
  align-items: start;
  position: fixed;
  bottom: 0;
  left: 200px;
  width: 561px;
  color: #fff;
  background-color: #fff1a9;
  border: 2px solid #ccc;
}

.financialTracker td {
  color: #000;
}

.financialTracker tr {
  border-bottom: 0;
}

#fedTaxRate::after {
  content: "%";
}

#yearlyBurn tr:last-child {
  border-bottom: 0;
}

#floatingOverlay {
  opacity: 0.5; 
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #444;
  z-index: 9998;
  display: none !important;
}

.floatingBox {
  position: fixed;
  top: calc(30%);
  left: 200px;
  background-color: #fff;
  width: 561px;
  height: auto;
  max-height: 561px;
  overflow: auto;
  padding-top: 0;
  border: 2px solid #a6a48c;
  display: none !important;
  z-index: 9999;
}

.floatingBox tr {
  border-bottom: 0 !important;
}

.floatingBox td {
  text-align: center;
  padding-bottom: 2em;
}

.floatingBox input, .floatingBox select {
  text-align: center;
  width: 60%;
}

.floatingBox input::placeholder {
  text-align: center;
}

.floatingBox h2 {
  color: #000064;
  font-size: 1.25em;
  font-weight: bold;
}

.floatingBox h3 {
  color: #000064;
  font-size: 1.10em;
  font-weight: bold;
}

button.floatingBoxClose {
  margin-bottom: -3em;
  background-color: #fff;
  color: #000;
  font-size: 1em;
  font-weight: bold;
  border: none;
  width: auto;
  float: right;
  cursor: pointer;
}

button.addItem {
  background-color: #fff;
  color: #47478f;
  font-size: 1.05em;
  font-weight: bold;
  cursor: pointer;
}

.eyeTracking:hover {
  background-color: #f5f5ff;
  background-image: url("/images/pencil.png");
  background-repeat: no-repeat;
  /*background-attachment: fixed;*/
  background-position: right center;
}
