/* SECTION: Content
-----------------------------------*/

#content {
  background: url(images/content-bg.png) no-repeat left top;
  float: left;
  margin-top: 3px;
  width: 69%;
}

#content-extra-one {
  background: url(images/content-bg.png) no-repeat right top;
  margin-left: 20px;
  padding: 18px 20px 1px 0;
}

#content-extra-two {
  background: url(images/content-bg.png) no-repeat left bottom;
  padding-left: 20px;
}

#content-extra-three {
  background: url(images/content-bg.png) no-repeat right bottom;
  height: 20px;
}

/* Breadcrumb */

#content #breadcrumb {
  font-size: 0.8571em;
  margin: 0 0 20px;
  padding: 0;
}

#breadcrumb:before {
  content: "Breadcrumb: ";
}

#breadcrumb li {
  display: inline;
  list-style: none;
}

/* SECTION: Sidebar
-----------------------------------*/

#sidebar {
  border: solid #6a92a0;
  border-width: 2px 0;
  float: right;
  padding: 4px 0;
  margin: 57px 0 15px;
  width: 29%;
}

#page_help #remove_page_help {
  font-size: 0.85em;
  margin-top: 0;
}

#page_help h2 {
  background-image: url(images/icons/help.gif);
  background-position: left 2px;
  background-repeat: no-repeat;
  padding-left: 20px;
}

#page_help p {
  margin-top: 1em;
}

#page_help ul {
  margin: 1em 20px;
}

#page_help li {
  background-position: left 2px;
  background-repeat: no-repeat;
}

#page_help li.group { background-image: url(images/icons/user.gif); }
#page_help li.test { background-image: url(images/icons/graph.gif); }
#page_help li.package { background-image: url(images/icons/document.gif); }

/* GENERAL: General styling
-----------------------------------*/

#content p.back-link {
  margin: 0 0 20px;
  text-align: right;
}

#content p.back-link a {
  background-image: url(images/icons/arrow_left.png);
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 20px;
}

#content dt {
  font-size: 1.1667em;
  font-weight: bold;
  line-height: 1.2857;
  margin-top: 0.7857em;
}

#content dd,
#alerts-list li,
#group-summary li {
  background-position: left 2px;
  background-repeat: no-repeat;
  list-style: none;
  padding-left: 25px;
}

#content dd.last,
#alerts-list li.last {
  border-bottom: 0;
}

/*
#content dd.odd,
#content li.odd { background-color: #fdffbf; }
#content dd.even,
#content li.even { background-color: #ebff99; }
*/

#content table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.75em;
}

#content table th,
#report table.comparison-table thead th {
  background: #8ec73f;
  color: #fff;
  padding: 0.3em 10px;
  text-align: left;
  vertical-align: middle;
}

#content table th.action {
  text-align: center;
  width: 1%;
}

#content table td {
  padding: 0.3em 10px;
  vertical-align: middle;
}

#content table tr.odd td { background-color: #fff; }
#content table tr.even td { background-color: #e8f4d9; }

#content table td.action {
  padding: 0;
}

#content table td.action a {
  background-repeat: no-repeat;
  background-position: 2px 50%;
  display: block;
  margin-left: 10px;
  padding: 0 2px 0 22px;
  white-space: nowrap;
}

/* PAGE: Dashboard
-----------------------------------*/

#dashboard-history dd.group { background-image: url(images/icons/user.gif); }
#dashboard-history dd.package { background-image: url(images/icons/document.gif); }
#dashboard-history dd.test { background-image: url(images/icons/graph.gif); }

ul#alerts-list {
  list-style: none;
  margin: 0 0 20px;
}

#alerts-list li {
  background-image: url(images/icons/exclamation.png);
}


/* PAGE: Groups
-----------------------------------*/

#pending-invitations td.accept-invite a { background-image: url(images/icons/tick.gif); }
#pending-invitations td.reject-invite a { background-image: url(images/icons/cross.gif); }

#group-summary { margin-top: 2em; }

#groups-summary dd span.email,
#group-summary li span.email {
  font-size: 0.85em;
  font-weight: normal;
}

#groups-summary dd.member,
#group-summary li.member {
  background-image: url(images/icons/user-reverse.gif);
}

#groups-summary dd.invitee,
#group-summary li.invitee {
  background-image: url(images/icons/user-reverse-grey.gif);
  color: #777;
}

#groups-summary dd.leader,
#group-summary li.leader {
  background-image: url(images/icons/user-reverse.gif);
}

#groups-summary dd.self,
#group-summary li.self {
  background-image: url(images/icons/user.gif);
  font-weight: bold;
}

/* GENERAL: Icons
-----------------------------------*/

td.remove-member a { background-image: url(images/icons/cross.gif); }
td.resend-invite a { background-image: url(images/icons/arrow-right.gif); }
td.revoke-invite a { background-image: url(images/icons/cross.gif); }

td.view-report a { background-image: url(images/icons/report_go.png); }

/* PAGE: Type test
-----------------------------------*/

#type-test div.intro {
  font-size: 16px;
}

#type-test div.results {
  font-size: 14px;
}

#type-test div.results h2 {
  margin-bottom: 0.5em;
  text-align: center;
}

#type-test div.intro p.start,
#type-test div.results p.continue {
  margin: 0;
}

#type-test div.intro p.start a,
#type-test div.results p.continue a {
  background-color: #fff;
  border: 3px solid #2e9fcf;
  color: #2e9fcf;
  display: block;
  font-size: 24px;
  margin: 0 auto;
  padding: 5px;
  text-align: center;
  text-decoration: none;
  width: 250px;
}

#type-test div.intro p.start a:hover,
#type-test div.results p.continue a:hover {
  background-color: #2e9fcf;
  color: #fff;
}

#type-test p.progress {
  background: url(images/test-progress-bar.png) no-repeat -567px 0;
  height: 23px;
  margin: 5px 0;
  padding: 0;
  text-indent: -9999px;
  width: 590px;
}

#type-test form div {
  padding: 0;
}

#type-test #image-pair {
  width: 590px;
}

#type-test #image-pair input {
  border: 3px solid #8ec73f;
}

#type-test #image-pair input:hover {
  border-color: #496a31;
}

#type-test #image-one {
  float: left;
}

#type-test #image-two {
  float: right;
}

/* PAGE: View Report
-----------------------------------*/

#report-metadata ul {
  margin: 0 44px;
}

#report-formats h2 {
  margin: 2em 0 0;
}

#report-formats ul {
  list-style: none;
  margin: 0 20px;
}

#report-formats li {
  background-position: left center;
  background-repeat: no-repeat;
  padding-left: 24px;
}

#report-formats li.pdf { background-image: url(images/icons/page_white_acrobat.png); }
#report-formats li.download { background-image: url(images/icons/page_white_get.png); }
#report-formats li.email { background-image: url(images/icons/email_go.png); }

#report h2,
#report h3,
#report h4,
#report h5 {
  clear: both;
}

#report table th {
  border-bottom: 1px solid white;
}

#report table.barchart th {
  width: 150px;
  background: none;
  border-bottom: none;
  border-right: solid 1px silver;
  color: black;
  line-height: 1.2;
  text-align: right;
}

#report table td {
  vertical-align: top;
}

#report table.barchart td {
}

#report table.barchart div {
  padding: 0.25em 0.5em;
}

#report div.bar1 {
  background: #a4cc4d;
}

#report div.bar2 {
  background: #7b993a;
}

#report div.bar3 {
  background: #d7c02b;
}

#report div.bar4 {
  background: #a49220;
}

#report div.bar5 {
  background: #63afcf;
}

#report div.bar6 {
  background: #4b849c;
}

#report div.bar7 {
  background: #d7481d;
}

#report div.bar8 {
  background: #a43716;
}

dl.ei, dl.ei dd.left-bar { background: #d7481d; }
dl.ei dd.right-bar { background: #a43716; }
dl.sn, dl.sn dd.left-bar { background: #4b849c; }
dl.sn dd.right-bar { background: #63afcf; }
dl.tf, dl.tf dd.left-bar { background: #d7c02b; }
dl.tf dd.right-bar { background: #a49220; }
dl.jp, dl.jp dd.left-bar { background: #a4cc4d; }
dl.jp dd.right-bar { background: #7b993a; }

#report {
  line-height: 1.6;
}

#report img.left {
  display: block;
  float: left;
  margin: 0;
}

#report img.right {
  display: block;
  float: right;
  margin: 0;
}

#report div.figure img {
  display: inline;
  margin: 0;
}

#report div.figure {
  text-align: center;
  margin: 0 0 1.5em;
}

/* ratio contrast charts */

#report dl.ratio-chart {
  height: 50px;
  margin: 0 120px 20px;
  position: relative;
}

#report dl.ratio-chart dt {
  bottom: 5px;
  color: #000;
  font: normal 12px/1 "Lucida Grande", "Lucida Sans", sans-serif;
  position: absolute;
  z-index: 1;
}

#report dl.ratio-chart dt.left-bar {
  left: -115px;
}

#report dl.ratio-chart dt.right-bar {
  right: -115px;
  text-align: right;
}

#report dl.ratio-chart dd {
  bottom: 0;
  color: #fff;
  font: bold 48px/50px "Lucida Grande", "Lucida Sans", sans-serif;
  letter-spacing: -2px;
  margin: 0;
  padding: 0 9px 0 7px;
  position: absolute;
}

#report dl.ratio-chart dd.left-bar {
  text-align: right;
  left: -120px;
}

#report dl.ratio-chart dd.right-bar {
  right: -120px;
}

#report h2 {
  color: #000;
  font-size: 3em;
  font-weight: normal;
  margin-top: 0.5em;
}

#report h3 {
  background: #8ec73f;
  color: #fff;
  font-size: 1.5em;
  font-weight: normal;
  margin: 0 0 1.5em;
  padding: 0 3px;
}

#report h4 {
  color: #8ec73f;
  font-size: 1.3333em;
  font-weight: normal;
}

#report h5,
#report dt {
  font-size: 1.15em;
  font-weight: bold;
}

#report h5 span {
  font-weight: normal;
  margin-left: 2em;
}

/*
#report div.epigraph {
  background: #99cc66;
  padding: 0.75em;
}
*/

#report div.sidebar,
#report div.note {
  background: #eee;
  font-size: 0.9166em;
  margin-bottom: 2em;
  padding: 1.5em 2em 1em;
}

#report div.sidebar p,
#report div.note p {
  margin-bottom: 1em;
}

#report div.sidebar h4 {
  color: #5b7f04;
  font-size: 1.2727em;
}

#report img {
  display: block;
  margin: 2em 0;
}

#report div.attribution {
  text-align: right;
  margin-bottom: 2em;
}

/* Side-by-side comparison tables */

#report table.comparison-table th,
#report table.comparison-table td {
  background: #eaeaea;
  border: 0;
  vertical-align: top;
  width: 50%;
}

#report table.comparison-table th.first-child,
#report table.comparison-table td.first-child {
  border-left: 0;
  border-right: 20px solid #fff;
}

#report table.comparison-table th {
  color: #5b7f04;
  border-top: 20px solid #fff;
  padding: 10px 15px 0;
  text-transform: uppercase;
}

#report table.comparison-table tr.first-child th {
  border-top: 0;
}

#report table.comparison-table td {
  padding: 0 15px 10px;
}

#report table.comparison-table ul {
  margin: 0 0 0 1.5em;
}

/* Action points */

#report ul.action-points {
  margin: 0;
}

#report ul.action-points li {
  font-size: 1.1667em;
  font-weight: bold;
  list-style: none;
  padding-bottom: 6em;
}

/* Answer blocks for workbooks */

#report div.answers-section p {
  margin: 0;
}

#report div.answer {
  background-color: #f2f2f2;
  height: 25em;
  margin: 0em 0 2em 0;
}

#report div.answer-short {
  height: 10em;
}

/* ELEMENT: Inline edit form
---------------------------------------------*/

/* TODO: needs making look like whatever it is in, not custom for H2 */

#inline-edit {
  margin-bottom: 20px;
}

#inline-edit input {
  font-size: 1.5em;
  font-weight: bold;
  margin-right: 5px;
  padding: 2px 5px;
}

ul.questions.inline li {
  display: inline;
  margin-right: 0.5em;
}

/* Packages UI
---------------------------------------------*/

ul.package-summaries {
  list-style: none;
  margin: 0 ! important;
}

ul.package-summaries li {
  margin-bottom: 1em;
}

ul.package-summaries p {
  margin-bottom: 0 ! important;
}

ul.actions {
  margin: 0.5em 0 ! important;
}

ul.actions li {
  background: no-repeat left center;
  display: block;
  float: left;
  list-style: none;
  margin-right: 25px;
  padding-left: 22px;
}

ul.actions li.more-details {
  background-image: url(images/icons/document-beige.gif);
  font-weight: bold;
}

ul.actions li.start-package {
  background-image: url(images/icons/arrow-right.gif);
}

ul.actions li.take-test {
  background-image: url(images/icons/graph.gif);
}

ul.actions li.back {
  background-image: url(images/icons/arrow-left.gif);
}

ul.actions li.buy-package {
  background-image: url(images/icons/cart.png);
}

ul.actions li.buy-package a {
  color: #2e9fcf;
  font-weight: bold;
}

ul.actions li.buy-package a:hover {
  background-color: #2e9fcf;
  color: #fff;
}

ul.package-summaries dl.date {
  margin: 0.5em 0;
}

#content ul.package-summaries dl.date dt {
  float: left;
  font-size: 1em;
  font-weight: normal;
  line-height: 11px;
  margin: 0 0.5em 0 0;
}

#content ul.package-summaries dl.date dd {
  float: left;
  font-size: 1em;
  font-weight: bold;
  line-height: 11px;
  padding: 0;
}

dl.progress {
  margin: 0.5em 0;
}

dl.progress dt {
  float: left;
  font-size: 1em ! important;
  line-height: 11px ! important;
  margin: 0 0.5em 0 0 ! important;
}

dl.progress dd {
  background: #fff;
  border: 1px solid #ccc;
  float: left;
  padding: 0 ! important;
  width: 100px;
}

dl.progress dd span {
  display: block;
  height: 10px;
  text-indent: -9999px;
}

dl.progress dd.percent-10 span { background: #f3b64a; width: 10%; }
dl.progress dd.percent-20 span { background: #f3b64a; width: 20%; }
dl.progress dd.percent-30 span { background: #f3b64a; width: 30%; }
dl.progress dd.percent-40 span { background: #f4ef73; width: 40%; }
dl.progress dd.percent-50 span { background: #f4ef73; width: 50%; }
dl.progress dd.percent-60 span { background: #f4ef73; width: 60%; }
dl.progress dd.percent-70 span { background: #b0ea5f; width: 70%; }
dl.progress dd.percent-80 span { background: #b0ea5f; width: 80%; }
dl.progress dd.percent-90 span { background: #b0ea5f; width: 90%; }

div.package-in-progress,
div.package-complete {
  background: #e8e8e8;
  padding: 1.5em 2em 1px;
  margin-top: 1em;
}

#content div.package-complete h3,
#content div.package-in-progress h3 {
  color: #5b7f04;
  font-size: 1.2727em;
  margin-top: 0;
}


div.package-in-progress dl.progress {
  margin-bottom: 1.5em;
}

/* Draggable lists
---------------------------------------------*/

#content div.drag_container fieldset {
  border: 1px solid #8ec73f;
  float: left;
  margin-right: 15px;
  padding: 0;
  width: 30%;
}

#content div.drag_container fieldset.cols_4 {
  width: 22%;
}

#content div.drag_container fieldset.cols_2 {
  width: 45%;
}

#content div.drag_container fieldset.last-child {
  margin-right: 0;
}

#content div.drag_container fieldset.hidden {
}

#content div.drag_container legend {
  color: #8ec73f;
  margin-left: 15px;
}

#content div.drag_container ul {
  list-style-position: inside;
  margin: 0;
  padding: 1px;
  min-height: 25px;
}

li.sortable {
  background: #eee no-repeat 2px 2px;
  list-style: none;
  padding-left: 22px;
}

#content div.drag_container li {
  background: #eee no-repeat 2px 2px;
  list-style: none;
  margin: 2px;
  padding-left: 22px;
  cursor: move;
}

#content div.drag_container li.individual,
li.individual {
  background-image: url( images/icons/user-beige.gif );
}

#content div.drag_container li.group,
li.group {
  background-image: url( images/icons/docs-beige.gif );
}

#content div.drag_container ul.sortableactive {
  background: #ccc;
}

#content div.drag_container ul.sortablehover {
  background: #8ec73f;
}

