/************************************************************ 
 * catme_td.css - CSS that may represent technical debt
 * This is the CSS file for items using tabular layout
 * AND general items that haven't been moved to/tested in 
 * the catme.css file.
 * The idea is that eventually everything here will move to 
 * catme.css or go away.
 ************************************************************/ 

/* COMMON, used throughout site */
td { text-align: left; }
td.allocleft { text-align: left; }
td.alloccenter { text-align: center; }
td.allocright { text-align: right; }

table.survey { font-size: 100%; border: 0; background: #e6e6e6; }
tr.tblhdr { background: #999; }
tr.survey_header { 
    background: #bbbbbb; 
    text-align: left;
    text-align: start; /* not a typo - rtl translations look better */
}
tr.survey { background: #ededed; }
td.survey_text_cells { height: 75px;
		min-height: 75px;
}
td.survey { vertical-align: middle; }
td.empty { background: #ffffff; }
td.question_error { background: red; }
th.invisible, td.invisible { border:0; background: #ffffff; }
td.invisiblewide { border:0; background: #ffffff; padding-left: 5px; padding-right: 5px; }
td.formlabel { font-weight: bold; font-size: 80%; text-align: right; padding-right: 5px; }
td.buttonlabel, label.buttonlabel { font-weight: bold; font-size: 80%; text-align: left; padding-left: 5px; }
td.survey_buttons { background: #ffffff; border: 0; vertical-align: middle; cursor: pointer; }
td.nobr { white-space: nowrap; }

/* .../faculty/view_{results,raw_data} */
.vert_survey_header { background: #bbbbbb; }
.vert_survey_blacktop_header { border-top: 1px solid #000000; background: #bbbbbb; }
.vert_survey { background: #ededed; }
.vert_survey_blacktop_header { border-top: 1px solid #000000; background: #bbbbbb; }
.survey_leftbox { border-left: 1px solid #000000; }
.survey_blacktop { border-top: 1px solid #000000; }
.survey_blacktop_box { border-top: 1px solid #000000; border-left: 1px solid #bbbbbb; }
.survey_blacktop_leftbox { border-top: 1px solid #000000; border-left: 1px solid #000000; }
.survey_graytop { border-top: 1px solid #bbbbbb; }
.survey_graytop_box { border-top: 1px solid #bbbbbb; border-left: 1px solid #bbbbbb; }
.survey_graytop_leftbox { border-top: 1px solid #bbbbbb; border-left: 1px solid #000000; }

/* .../[student|login]/survey_take for training mode */
.teampopup { width: 70% }

/* .../faculty/tm_display_results */
.tm_regular { padding-right: 20px; }
.tm_regular_blacktop { padding-right: 20px; border-top: 1px solid #000000; }
.tm_regular_whitetop { padding-right: 20px; border-top: 1px solid #ffffff; }
.tm_detail { border-left: 1px solid #000000; padding-left: 10px; padding-right: 10px; }
.tm_detail_blacktop { padding-left: 10px; padding-right: 10px; border-left: 1px solid #000000; border-top: 1px solid #000000; }
.tm_detail_blackbottom { padding-left: 10px; padding-right: 10px; border-left: 1px solid #000000; border-bottom: 1px solid #000000; }
.tm_detail_whitetop { padding-left: 10px; padding-right: 10px; border-left: 1px solid #000000; border-top: 1px solid #ffffff; }
.tm_comment { padding-left: 10px; padding-right: 10px; }
.tm_comment_blacktop { padding-left: 10px; padding-right: 10px; border-top: 1px solid #000000; }
.tm_comment_whitetop { padding-left: 10px; padding-right: 10px; border-top: 1px solid #ffffff; }
.tm_control_chute_vert { background-color: #67a1d2; }
.tm_control_chute_horiz { background-color: #67a1d2; border-top: 5px solid #ffffff; }

/* various places in student surveys */
td.name_chute_left { text-align: center; vertical-align: middle; width: 25px; border-left: 1px solid #000000; background: #dddddd; }
td.name_chute_left_topline { text-align: center; width: 28px; border-left: 1px solid #000000; border-top: 1px solid #ffffff; }
td.name_header_left { padding-left: 5px; font-weight: bold; text-align: left; border-top: 1px solid #000000; border-left: 1px solid #000000; background: #dddddd; }
td.survey_text_cells { vertical-align: middle; height: 60px; border-top: 1px solid #ffffff; border-left: 1px solid #000000; }
td.description_rating { padding-left: 5px; font-weight: bold; text-align: center; border-top: 1px solid #000000; border-left: 1px solid #000000; background: #bbbbbb; }
td.followup_left { vertical-align: middle; border-left: 1px solid #000000; border-top: 1px solid #ffffff; }
td.followup_right { padding-left: 5px; vertical-align: middle; border-left: 1px solid #000000; border-top: 1px solid #ffffff; }
td.surveykey { text-align: center; vertical-align: middle; font-size: 80%; }

/* .../admin/index */
td.surveydate { vertical-align: middle; text-align: center; }

table.buttontable {
    border-width: 0; 
    border-spacing: 0;
    border-collapse: collapse !important;
    float: right;
}
td.buttontable {
    padding: 0;    
}
