html {
  background: #444 url('http://quiz-resources.beneaththelabel.com/images/background-tile.png');
  font-family: verdana, arial, sans-serif;
  font-size: 12pt;
}

html {
  position: relative;
}

a, a:visited, a:active {
  color: #33E;
}

#content {
  background-color: white;
  margin: 1.75em auto 1.25em auto;
  padding: 0 1em 1em;
  position: relative;
  min-height: 585px;
  _height: 585px;
}

*:first-child+html #content, * html #content {
  margin-top: 0.75em;
}

#footer {
  text-align: right;
  margin: 0 auto;
  width: 800px;
  position: relative;
  top: -36px;
  right: 1em;
}

*:first-child+html #footer, * html #footer {
  height: 5px;
} 

#header {
  padding: 0;
  margin-bottom: 0.5em;
  position: relative;
  min-height: 100px;
}

#header #logo {
  height: 100px;
}

#title-box {
  float: right;
  padding-top: 4px;
  width: 489px;
}

#title {
  font-size: 28pt;
  font-weight: bold;
  color: #363D54;
  margin: 0 1px 0.15em 13px;
  text-align: right;
}

#title-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

#title-links li {
  float: right;
  text-align: center;
}

#title-links a, #title-links .no-link {
  display: block;
  margin-left: 5px;
  background-color: #D8E4F3;
  border: solid 1px #A2B7CA;
  color: #363D54;
  font-weight: bold;
  font-size: 9pt;
  padding: 0.5em 0.3em;
  width: 12em;
  text-decoration: none;
}

#title-links a.active, #title-links .no-link.active {
  background-color: #B5C9F3;
  border: solid 1px #8995A5;
}

#title-links a:hover, #title-links .no-link:hover {
  background-color: #A5B9E3;
  border: solid 1px #8995A5;
}

a img {
  border: none;
}

#notice, #content {
  width: 800px;
}

#notice {
  margin: 0 auto 1em auto;
  font-size: 10pt;
  color: #222;
  position: relative;
  top: -20px;
}

*:first-child+html #notice, * html #notice {
  top: -5px;
} 

#notice a {
  color: #111;
}

#notice a:hover {
  text-decoration: underline;
}

#notice ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#notice ul li {
  display: block;
  float: left;
  padding-right: 0.3em;
}

#copyright-left {
  float: left;
  padding-left: 1.5em;
}

#copyright-right {
  float: right;
  padding-right: 1em;
}

#copyright-bottom {
  clear: both;
  padding-left: 1.8em;
  padding-right: 1em;
  padding-top: 1em;
  font-size: 8pt;
}

#choices {
  width: 520px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

#choices .product {
  border: solid 2px #FFF;
  width: 246px;
  float: left;
  padding: 0 5px;
}

#choices .product:hover, #choices .product:hover img, #choices .product.hovered, #choices .product.hovered img {
  border: solid 2px #EE0;
  background-color: #FF6;
}

.product {
  text-align: center;
}

.product .product-image {
  margin-top: 0.5em;
}

.product .product-name {
  margin-bottom: 0.5em;
}

.product .product-image img, #result-details .details img, #question-summaries .details img {
  border: 2px solid #eee;
  margin-bottom: 0.5em;
}

#choices img {
  max-height: 210px;
}

.product a {
  text-decoration: none;
}

.product a .product-name {
  border: none;
  font-size: 10pt;
  font-weight: bold;
  color: #444;
}

.question, #results, #signup {
  padding: 0.5em 1em 1em;
}

#signup {
  padding-bottom: 0;
}

.question-statement {
  font-size: 14pt;
  color: #222;
  margin: 0 0 0.8em;
}

.question-statement .question-header {
  font-size: 12pt;
  display: block;
  color: #383838;
  font-weight: bold;
}

.question-statement .prompt {
  font-weight: bold;
}

.question .instructions {
  display: none;
  margin-top: 2.5em;
  font-size: 10pt;
  color: #222;
  border: solid 1px #BBA;
  background-color: #FFE;
  padding: 1em;
}

.question-result, #introduction, #errors {
  border: solid 1px #FFF;
}

.question-result, #introduction, #errors {
  font-size: 11pt;
  padding: 1em;
}

.question-result {
  margin-bottom: 0.5em;
}

#introduction p b {
  font-size: 11pt;
}

#introduction p {
  font-size: 10pt;
}

.question-result.correct, #introduction.notice {
  border-color: #ABA;
  padding-left: 2.5em;
  background: #DED url('http://quiz-resources.beneaththelabel.com/images/correct.gif') no-repeat 1em 1.25em;
}

#introduction.notice {
  background: #DED url('http://quiz-resources.beneaththelabel.com/images/correct.gif') no-repeat 1em 1.1em;
}

.question-result.incorrect, #errors {
  border-color: #CAA;
  padding-left: 2.5em;
  background: #FFE8E8 url('http://quiz-resources.beneaththelabel.com/images/incorrect.gif') no-repeat 1em 1.25em;
}

#errors {
  background: #FFE8E8 url('http://quiz-resources.beneaththelabel.com/images/incorrect.gif') no-repeat 1em 1.1em;
}

.question-result .label {
  font-weight: bold;
  font-size: 14pt;
}

.question-result a {
  font-weight: bold;
}

.question-result.correct .label {
  color: #181;
}

.question-result.incorrect .label {
  color: #A22;
}

#results .header, h3 {
  font-weight: bold;
  font-size: 12pt;
  min-height: 0;
  margin: 0 0 0.25em;
}

#results-container p {
  margin: 0 0 1em;
  padding: 0;
}

#results-container {
  position: relative;
  margin-top: 1em;
  min-height: 17em;
}

#results, #signup {
  width: 342px;
}

#results { 
  _height: 400px;
}

#signup {
  position: absolute;
  right: 0;
  top: 0;
  _right: 1em;
}

#introduction, #signup {
  border: solid 1px #BBA;
  background-color: #FFE;
}

#introduction p {
  margin: 0;
  padding: 0;
}

#introduction p + p {
  margin-top: 1em;
}

form ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

form ul li {
  position: relative;
  margin-bottom: 0.5em;
}

label {
  padding-top: 2pt;
  font-size: 10pt;
  color: #222;
  float: left;
  max-width: 100px;
  _width: 100px;
}

#facebox label {
  max-width: 150px;
  width: 175px;
  padding-top: 4pt;
}

label.check-box-label {
  float: left;
  max-width: 300px;
  _width: 300px;
}

.check-box {
  float: left;
}

.text-input, .text-area-input {
  width: 215px;
  padding: 4pt;
  margin-left: 10px;
  float: right;
  border: solid 1px #CCC;
  color: #777;
  font-size: 11pt;
  margin-bottom: 0.25em;
  font-family: Verdana, Arial, sans-serif;
}

.text-input {
  height: 13pt;
}

/* Facebox specific form stuff... */
#facebox .text-input, #facebox .text-area-input {
  width: 325px;
}

#facebox #result-details {
  display: block;
}

.text-area-input {
  height: 5em;
}

.check-box {
  position: relative;
  top: 2pt;
  margin-right: 1em;
}

#submit {
  float: right;
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.formError {
  display: block;
  margin-top: 0;
  color: #DF3838;
  font-size: 8pt;
  font-weight: bold;
  text-align: right;
  margin-bottom: 0.75em;
  clear: both;
}

.fieldWithErrors {
  display: inline;
}

#result-details {
 display: none;
}

#result-details .prompt-text {
  max-width: 470px;
  width: 470px;
}

#result-details .prompt, #question-summaries .prompt {
  font-size: 14pt;
  padding-bottom: 0.5em;
  clear: both;
}

#question-summaries .prompt {
  padding-bottom: 0.25em;
}

#question-summaries .prompt:first-child {
  padding-bottom: 0.75em;
}

#question-summaries .prompt-text {
  max-width: 600px;
  width: 600px;
}


#result-details .prompt .prompt-label, #question-summaries .prompt .prompt-label {
  font-weight: bold;
  float: left;
  width: 120px;
}

#result-details .prompt .prompt-text, #question-summaries .prompt .prompt-text {
  float: left;
}

#facebox .body {
  width: 600px !important;
  padding-top: 2em !important;
  padding-left: 2em !important;
  padding-right: 2em !important;
  _width: 670px !important;
}

#result-details .details {
  color: #333;
  max-height: 350px;
  overflow-y: auto;
  margin-bottom: 1em;
  padding: 0 0.5em 0 0;
  margin-top: 1em;
}

#result-details .details, #question-summaries .details {
  clear: both;
}

#result-details .source, #question-summaries .source, .disclaimer {
  font-size: 10pt;
  color: #444;
}

.note {
  font-size: 9pt;
  color: #777;
  padding-top: 0.75em;
  padding-bottom: 1.25em;
}

#facebox .note {
  padding-bottom: 0;
}

#result-details .details {
  font-size: 10pt;
}

#question-summaries .details {
  font-size: 10pt;
  padding-top: 0.75em;
}

.disclaimer {
  color: #555;
}

#result-details .source .source-label, #question-summaries .source .source-label {
  font-weight: bold;
  display: inline;
  _padding-right: 0.5em;
}

#result-details .source .source-text, #question-summaries .source .source-text {
  display: inline;
}

#question-summaries .details img {
  float: left;
  margin-right: 0.75em;
  max-width: 100px;
  _width: 100px;
}

#question-summaries .details p, #question-summaries .source {
  margin-left: 120px;
}

#question-summaries .details p {
  padding: 0;
  margin-top: -3px;
}

#question-summaries li {
  list-style: none;
  margin-bottom: 3em;
}

#question-summaries {
  margin: 2em 0 1em;
  padding: 0 1em;
}

#result-details .details img {
  float: right;
  margin-left: 0.75em;
  max-width: 160px;
}

#result-details .details p {
  margin: 0 0 1em;
}

.social-links {
  list-style: none;
  margin: 0;
}

.social-links li {
  display: inline;
}

.clear {
  clear: both;
}

.subtle {
  font-size: 8pt;
  color: #888;
}

.waiting {
  background-image: url('http://quiz-resources.beneaththelabel.com/images/spinner.gif');
  background-repeat: no-repeat;
  background-position: 103px center;
}

.waiting.short {
  background-position: 248px center;
}

#facebox .waiting {
  background-position: 258px center;
}

.question-names {
  font-size: 12pt;
  color: #444;
}

.static-content {
  font-size: 10pt;
  padding: 1em 3em 7em 2em;
}

.static-content h2 {
  font-size: 14pt;
  color: #363D54;
}

#facebox-blind {
  filter: alpha(opacity=33);
  background-color: #000;
  opacity: 0.33;
  -moz-opacity: 0.33;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 500px;
}

#facebox .b {
  background:url(http://quiz-resources.beneaththelabel.com/images/facebox/b.png);
}

#facebox .tl {
  background:url(http://quiz-resources.beneaththelabel.com/images/facebox/tl.png);
}

#facebox .tr {
  background:url(http://quiz-resources.beneaththelabel.com/images/facebox/tr.png);
}

#facebox .bl {
  background:url(http://quiz-resources.beneaththelabel.com/images/facebox/bl.png);
}

#facebox .br {
  background:url(http://quiz-resources.beneaththelabel.com/images/facebox/br.png);
}

#facebox {
  position: absolute;
  width: 100%;
  top: 5px;
  left: 0;
  z-index: 100;
  text-align: left;
}

#facebox .popup {
  position: relative;
}

#facebox table {
  margin: auto;
  border-collapse: collapse;
}

#facebox .body {
  padding: 10px;
  background: #fff;
  width: 600px;
}

#facebox .loading {
  text-align: center;
  margin-bottom: 22px;
}

#facebox .image {
  text-align: center;
}

#facebox img {
  border: 0;
}

#facebox .footer {
  border-top: 1px solid #DDDDDD;
  padding-top: 5px;
  margin-top: 10px;
  text-align: right;
}

#facebox .tl, #facebox .tr, #facebox .bl, #facebox .br {
  height: 10px;
  width: 10px;
  overflow: hidden;
  padding: 0;
}

#facebox td, #facebox th {
  padding: 0;
}
