body {
  color: #4c4c4c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}
a {
  color: #003366;
}
fieldset {
  border: 1px solid #c0cdda;
  margin-bottom: 8px;
  padding: 8px 16px;
}
legend {
  font-size: 18px
  font-weight: bold;
  color: #003366;
  padding: 0 8px;
  margin: 0;
}
.submit {
  display: none;
}
.type {
  display: block;
  padding-left: 24px;
  margin: 8px 0;
  position: relative;
}
.type input {
  position: absolute;
  left: -4px;
}
.year,
.earning {
  display: block;
  margin: 8px 0;
}
.year .label,
.earning .label {
  display: inline-block;
  width: 45px;
}
.year input,
.earning input,
.year select,
.earning select {
  width: 100px;
}
.year .info,
.earning .info {
  display: block;
  margin-left: 49px;
  font-size: 12px;
  color: #809ab3;
}
.assessmentbase {
  visibility: hidden;
  font-size: 12px;
  color: #809ab3;
  margin: 0;
}
.assessmentbase.visible {
  visibility: visible;
}
.result {
  position: relative;
  max-width: 350px;
}
.result table {
  width: 100%;
  border-collapse: collapse;
}
.result table th,
.result table td {
  text-align: left;
  border: 0;
  margin: 0;
  padding: 5px 0;
  border-top: 1px solid #c0cdda;
}
.result table tr:first-child th,
.result table tr:first-child td {
  border-top: 0;
}
.result table th {
  text-align: left;
}
.result table td {
  text-align: right;
}
.result table .total th,
.result table .total td {
  border-top: 2px solid #809ab3;
}
.result .hint {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}
.result .hint.hidden {
  display: none;
}
.result .hint .bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: #E4F1E4;
  opacity: 0.75;
  filter: alpha(opacity=75);
}
.result .hint .text {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  color: #56BD66;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  text-shadow: 0 0 3px #fff;
  background: #E4F1E4;
  padding: 8px;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
}
.result .hint .text ol {
  margin: 0;
  padding: 2px 0 0 20px;
}
.popup {
  display: none;
  position: fixed;
  top: 20%;
  left: 50%;
  width: 75%;
  max-width: 500px;
  -webkit-transform: translate(-50%, -20%);
  -moz-transform: translate(-50%, -20%);
  -ms-transform: translate(-50%, -20%);
  -o-transform: translate(-50%, -20%);
  transform: translate(-50%, -20%);
  text-shadow: 0 0 3px #fff;
  background: #E4F1E4;
  padding: 24px;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.75);
  border: 1px solid #56BD66;
}
.popup.visible {
  display: block;
}
.popup .close {
  position: absolute;
  top: 4px;
  right: 8px;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
}
