/* ----- CONSTANTS ----- */
/* header color: #484848                  */
/* standard border-color: #e9e9e7         */
/* standard box background-color: #fafaf8 */
/* standard highlight color: #ffffaa */
/* dark blue color: #181A6F */

/* ----- GENERAL ----- */

body {
	background-color: white;
	color: #484848;
	margin: 0;
}

body, p, ol, ul, td, a {
  font-family: tahoma, arial, helvetica, sans-serif;
  font-size:   13px;
  line-height: 18px;
}

p {
  margin-bottom: 1em;
}

input[type="text"], input[type="password"] {
  padding: 0.2em;
}

pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

.fieldWithErrors {
  padding: 2px;
  background-color: red;
  display: table;
}

#ErrorExplanation {
  color: red;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

#ErrorExplanation h2 {
  text-align: left;
  font-weight: bold;
  padding: 5px 5px 5px 15px;
  font-size: 12px;
  margin: -7px;
  background-color: #c00;
  color: #fff;
}

#ErrorExplanation p {
  color: #333;
  margin-bottom: 0;
  padding: 5px;
}

#ErrorExplanation ul li {
  font-size: 12px;
  list-style: square;
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid grey;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}

img {
	padding: 0;
	margin: 0;
	border: 0;
}

.links {
	padding-top: 3em;
}

.dialog {
  margin: 5em;
  //margin: 5em auto;
  border: 1px solid #e9e9e7;
  padding: 2em;
  background-color: #fafaf8;
}

.formBox {
  border: 1px solid #e9e9e7;
  margin-top: -1em;
  padding: 1em;
}

.highlight {
  background-color: #ffffaa;
}

.message {
  font-weight: bold;
  color: #484848;
  font-size: 30px;
  line-height: 1.1em;
  text-align: center;
}

a, a:active, a:link, a:hover, a:visited {
  color: #181A6F;
}

.help {
  text-align: center;
  padding-top: 1em;
}

.formNote {
  font-size: 88%;
  color: #777;
}


body#helpBody {
  padding: 2em;
}

.standardTable {
  padding: 0;
  margin: 0 0 0 1.5em;
  border-collapse: collapse;
}

.standardTable td {
	vertical-align: top;
  margin: 0;
}

td.standardTableDooDad {
  background-color: #181A6F;
}

td.standardTableLeftColumn {
  width: 155px;
}

td.standardTableLeftColumn p {
  width: 155px;
}

td.standardTableSpacer {
  width: 2em;
}

td.standardTableTopRow {
  padding: 0.5em 0;
}

td.standardTableHeader {
  border-bottom: 1px solid #181A6F;
}

td.standardTableContents {
  width: 600px;
  padding-top: 1em;
}

body.demoMode {
  background-image: url("/images/demo_mode.gif");
  background-attachment: fixed;
  background-position: bottom right;
  background-repeat: no-repeat;
}

body.developmentMode {
  background-image: url("/images/development_mode.gif");
  background-attachment: fixed;
  background-position: bottom right;
  background-repeat: no-repeat;
}

sub, sup {
  font-size: 70%;
}

table.boringTable {
  border-collapse: collapse;
  width: 100%;
}

.boringTable td, .boringTable th {
  padding: 5px;
  border: 1px solid #ddd;
  background-color: white;
  margin: 0;
}

.boringTable th {
  background-color: #eee;
  font-size: 10pt;
}

.boringForm th {
  text-align: left;
  font-size: 10pt;
  background-color: #eee;
}

table.boringForm {
  border-collapse: collapse;
}

.boringForm td, .boringForm th {
  padding: 5px;
  border: 1px solid #ddd;
  margin: 0;
}

.boringTable td.actions, .boringForm td.actions {
  font-weight: bold;
}

.formError {
  font-weight: bold;
  color: red;
}

.warning {
  font-size: 90%;
  color: red;
}

/* ----- HEADER ----- */

.header {
	margin: 0;
	padding: 0;
	border: 0;
  color: white;
  background-image: url("/images/header-background.gif");
  background-color: #484848;
  background-repeat: repeat-x;
  background-position: bottom;
  height: 4em;
  text-align: left;
}

.header #title {
  margin-left: 2em;
  margin-top: 1.2em;
}

.header #cred {
  float: right;
  padding-right: 2em;
  padding-top: 1.3em;
}

.header a, .header a:active, .header a:link, .header a:hover, .header a:visited {
  color: white;
}

.breadcrumbs {
  padding: 5px 2em;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  text-align: left;
}

.mainContent {
  padding: 2em;
  text-align: left;
}

.pageActions {
  float: right;
  padding: 5px 2em;
  font-weight: bold;
}

/* ----- LOGIN ----- */

div#login {
  width: 35em;
}

div#signup {
  width: 35em;
}

/* ----- EXAM ----- */

div#exams {
  width: 35em;
}

div#labValues {
  margin-left: 2em;
  float: right;
}

div.helpBox {
  border: 1px solid #ff0;
  background-color: #ffa;
  padding: 1em;
}

/* ----- TIMER ----- */

#timeRemaining {
  /*border: 1px solid red;*/
  padding: 0 15px 5px 15px;
  vertical-align: top;

}

.timerWarning {
  background-color: #ffffaa;
}

.timerZero {
  background-color: #ffffaa;
  color: red;
}

/* ----- QUESTION ----- */

body {
  margin: 0;
}

td#questionTableControls {
  width: 155px;
  vertical-align: top;
  padding: 0;
  background-color: white;
  border: 0;
  color: black;
}

td#questionTableContents {
  padding-left: 2em;
  width: 600px;
  vertical-align: top;
}

#questionControls {
  text-align: center;
  margin-bottom: 2em;
}

div#bottomQuestionControls {
  padding: 1em 0;
  text-align: center;
}

#questionTableControls h4 {
  margin-bottom: 0;
}

div#helpAndLabs {
  border-top: 1px solid #181A6F;
  padding-top: 0.5em;
}

#questionTableContents > p, #questionTableContents div {
}

#adminQuestionTable td {
  border: 1px solid #e9e9e7;
}

#adminQuestionTable {
  border-collapse: collapse;
}

#questionList .current {
}

td#questionList {
  background-color: #ddd;
}

#questionChooserTable {
  width: 100%;
  margin-top: 0;
  border-collapse: collapse;
}

#questionChooserTable td {
  text-align: center;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  width: 19%;
  margin: 0;
}

#questionChooserTable td.firstLinkedPart {
  border-left: 1px solid #ccc;
  border-right: 1px dashed #ccc;
}

#questionChooserTable td.middleLinkedPart {
  border-left: 1px dashed #ccc;
  border-right: 1px dashed #ccc;
}

#questionChooserTable td.lastLinkedPart {
  border-left: 1px dashed #ccc;
  border-right: 1px solid #ccc;
}

#questionChooserTable td.nonLinkedPart {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

#questionChooserTable td.empty {
  border: 0;
}

.choice {
	font-weight: bold;
}

#questionChooserTable td.correct {
	background-color: #ccffcc;
  border-color: #ccffcc;
}

#questionChooserTable td.incorrect {
	background-color: #ffdddd;
  border-color: #ffdddd;
}

#questionChooserTable td.current {
  /*color: black;*/
  /*border-color: #181A6F;*/
  color: black;
  background-color: #ffa;
}

#questionChooserTable td.inactive {
  color: gray;
}

#examTable span.correct {
  color: green;
}

#examTable span.incorrect {
  color: red;
}

#questionTable .correct {
  color: green;
}

#questionTable .incorrect {
  color: red;
}

#examTable {
  width: 100%;
}

#examTable th {
  text-align: left;
  font-size: 13px;
}

span.chosen {
  color: blue;
}

.chosen {
  background-color: #bbf;
}

#questionSpecTable td {
  vertical-align: top;
  padding-right: 2em;
}

#question img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid black;
  margin-top: 1.5em;
  margin-bottom: 1.5em;
}

/* ----- ANSWERS ----- */

#longExplanation {
  padding-top: 1em;
}

.blurb {
}

.answerLetterLink {
  text-decoration: underline;
}

.answerContentLink {
  text-decoration: none;
}

.answerContentLink:hover {
  text-decoration: underline;
}

div.answer {
  margin-bottom: 0.5em;
}

.answerButton {
  cursor: pointer;
  width: 3em;
  border: 0;
  color: white;
  background-color: #000080;
  text-align: center;
}

td.answerLetterDisabled .answerButton {
  background-color: #777;
  color: white;
  cursor: default;
}

td.correct .answerButton {
  background-color: green;
}

td.incorrect .answerButton {
  background-color: red;
}

td.answerContent {
  padding: 0.5em;
}

.marked {
  background-image: url("/images/marked.gif");
  background-position: right top;
  background-repeat: no-repeat;
}


/* ----- FEEDBACK ----- */

div#feedback {
  background-color: #ffa;
  border: 1px solid #ff0;  
  margin-top: 1em;
  padding: 0.25em 1em;
}

/* ----- ADMIN ----- */

#admin {
	border-bottom: 1px solid #4e4e4e;
	background-color: #ffffdd;
	padding: 1em;
  margin-bottom: 1em;
}

.adminDialog {
  border: 1px solid #4e4e4e;
  background-color: #ffffdd;
  padding: 1.5em;
  margin: 1.5em;
}

.adminText {
  background-color: #ffffaa;
}

#adminBadge {
  border: 1px solid white;
  font-size: 9px;
  padding: 1px 3px;
}

.adminMenu {
  padding: 5px 10px;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}

.adminContent {
  padding: 10px;
}

/* ----- NEWS ----- */

div.news {
  margin: 40px auto;
  color: red;
  width: 602px;
}

/* ----- PITCH ----- */

.pitch {
  margin: 20px auto 0 auto;
  width: 602px;
}

.pitch td {
  vertical-align: top;
}

.pitch td, .pitch a {
  font-size: 16px;
}

.pitch a {
  font-weight: bold;  
}

td.copyright {
  font-size: 10px;
  padding-top: 3em;
}

table.pitch {
  margin-top: 2em;
}

td.news {
  font-size: 13px;
  color: red;
  padding-bottom: 2em;
}

td.loginForm {
  background-color: #eee;
  border: 1px solid #aaa;
  padding: 1em;
}

td.loginForm a {
  font-size: 11px;
  font-weight: bold;
}

td.loginForm form {
  margin: 0;
  padding: 0;
  border: 0;
}

/* ----- MASTERS ----- */

.masterListAnswerTable td {
  border: 0;
}

.masterForm textarea {
  width: 100%;
  height: 4em;
  font-family: tahoma, arial, helvetica, sans-serif;
  font-size: 13px;
}

.zoomControl {
  font-size: 80%;
  color: blue;
  text-decoration: underline;
  cursor: pointer;
  
}

.inactiveMaster td {
  background-color: #ffecec;
}

.masterTable .correct td {
  color: green;
}

.masterTable th {
  font-size: 13px;
  text-align: left;
  vertical-align: top;
  padding: 5px 1em;
  white-space: nowrap;
}

.masterTable {
  vertical-align: top;
  border-collapse: collapse;
}

.masterTable td {
  padding: 5px 2px;
}

.masterSuperTable {
  border-collapse: collapse;
  border: 1px solid #ddd;
}

.masterSuperTable td {
  vertical-align: top;
  padding: 5px 1em;
}

td.masterTableActions {
  font-weight: bold;
  border-bottom: 1px dotted #ddd;
}

/* ----- ROTATION ----- */

.rotationsTable {
  border-collapse: collapse;

}

.rotationsTable table {
  width: 100%;
}

.rotationsTable th {
  font-size: 13px;
  font-weight: bold;
}

.rotationsTable th, .rotationsTable td {
  margin: 0;
  padding: 7px;
  border: 0;
  border-bottom: 1px solid #eee;
  border-collapse: collapse;
}

.rotationsTable .status {
  border-left: 1px solid #eee;
}

.rotationsTable .controls {
  border-right: 1px solid #eee;
}

.rotationsTable .inProgress {
  color: orange;
}

.rotationsTable .finished {
  color: green;
}

.rotationsOverviewTable {
  border-right: 1px solid #eee;
  border-collapse: collapse;
  margin-bottom: 2em;
}

.rotationsOverviewTable th {
  font-size: 13px;
  text-align: center;
  font-weight: bold;
}

.rotationsOverviewTable .student {
  font-weight: bold;
}

.rotationsOverviewTable td {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.rotationsOverviewTable td, .rotationsOverviewTable th {
  padding: 7px;  
}

.rotationsOverviewTable .subject {
  border-left: 1px solid #eee;
}

.rotationsOverviewTable .status {
  border-left: 1px solid #eee;
}

.rotationsOverviewTable .inProgress {
  color: orange;
}

.rotationsOverviewTable .finished {
  color: green;
}

.rotationsOverviewTable .rowHeader {
  font-weight: bold;
}
