



/* HTML Tag Styling
 * ================ */

body {
	font-family: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif;
	color: #333;
	font-size: 12px;
	line-height: 1.3em;
}


h1 {
	font-size: 22px;
	line-height: 1.3em;
	font-weight: bold;
	color: #222;
}

h2 {
	font-size: 13px;
	line-height: 1.3em;
	font-weight: bold;
}

h3 {
	font-size: 11px;
	line-height: 1.3em;
	font-weight: bold;
}

p {
	margin-bottom: 0.8em;
}

a {
	color: #0071a6;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

img.inline {
	vertical-align: text-top;
	margin-right: 4px;
}

img.inline.icon {
	float: left;
}


/* Class Styling
 * ============= */

.font-tiny {
	font-size: 9px;
}

.font-small {
	font-size: 11px;
}

.font-normal {
	font-size: 13px;
}

.font-large {
	font-size: 18px;
}

.time-stamp {
	color: #7d8993;
}

/* Layout Styling
 * ============== */

#topbar {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 50px;
	background: #002D49;
}

#logo {
	position: absolute;
	top: 13px;
	left: 20px;
	width: 117px;
	height: 30px;
	background: url(../images/logo.png) no-repeat;
}
	
#navbar {
	position: absolute;
	top: 50px;
	right: 0;
	left: 0;
	height: 51px;
	background: url(../images/bg-navbar.png) repeat-x;
}

#questions_pane {
	position: absolute;
	top: 100px;
	bottom: 0;
	left: 0;
	width: 336px;
	background: #FFFFFF;
	overflow-y: scroll;
	overflow-x: hidden;
}

#question_container {
	position: absolute;
	top: 100px;
	right: 0;
	bottom: 0;
	left: 336px;
	min-width: 890px;
	background: #002D49;
}

#question_container #qa_panel {
	position: absolute;
	top: 0;
	right: 250px;
	bottom: 0;
	left: 0;
	margin: 10px;
	padding: 20px 0px;
	min-width: 580px;
	background: #FFFFFF;
	border: 1px solid #FFFFFF;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}

#question_container #qa_panel #scroll_area_container {
	height: 100%;
	padding: 0 20px;
	overflow-y: scroll; /* TODO: is there a way to hide the scrollbar if the content fits, or move it inward so it doesn't interfere with the rounded corners??? */
}

#question_container #qa_sidebar {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 250px;
	background: #002D49;
}


/* Navbar Styling
 * ============== */

#navbar a {
	text-decoration: none;
}

#navbar .navbar_section {
	height: 50px;
	line-height: 50px;
	color: #FFF;
	text-shadow: 0px 1px 0px #001B42;
	text-align: center;
	border-right: 1px solid #002D49;
}

#course_list_placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 336px;
	font-weight: bold;
	font-size: 20px;
}

#buttons_placeholder {
	position: absolute;
	top: 0;
	left: 337px;
	width: 400px;
}

#buttons_placeholder ul {
	width: 100%;
	height: 100%;
}

#buttons_placeholder ul li {
	display: inline;
	height: 100%;
	margin: 0 10px;
}

#buttons_placeholder ul a {
	color: #FFF;
	text-decoration: none;
	padding: 3px 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

#buttons_placeholder ul a:hover {
	background-color: #002D49;
	border-bottom: 1px solid  #509ac8;
}


/* Questions Pane Styling
 * ====================== */

#questions_pane .question_group .header_bar {
	height: 24px;
	background: url(../images/bg-questions-pane-header.png) repeat-x top;
	color: #333;
	text-shadow: 0px 1px 0px #DDD;
	font-weight: bold;
	line-height: 24px;
	padding: 0 10px;
	text-transform: uppercase;
	font-size: 11px;
}

#questions_pane ul {
	color: #333;
}

#questions_pane li {
	display: block;
	position: relative;
	border-bottom: 1px solid #DDD;
	padding: 10px;
	min-height: 35px;
	cursor: default;
	font-size: 12px;
	line-height: 18px;
	color: #666;
}

#questions_pane li.unanswered {
	background-color: #FCC;
}

/*#questions_pane li:hover,
#questions_pane li.unanswered:hover {
	background-color: #E6F4FF;
}*/
#questions_pane li.selected,
#questions_pane li.selected:hover {
	background-color: #EDF7FC;
}

/*#questions_pane li.unanswered img {
	vertical-align: text-top;
	margin-right: 2px;
}*/

#questions_pane li .question_title {
	width: 240px;
}

#questions_pane li.unread .question_title {
	font-weight: bold;
	color: #333;
}

#questions_pane li .question_metadata {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 60px;
	text-align: right;
}

#questions_pane li .question_timestamp {
	display: block;
}

#questions_pane li ul.question_icons {
	display: block;
	position: relative;
}

#questions_pane li ul.question_icons li {
	margin: 0;
	padding: 0;
	min-height: 0;
	border: none;
	height: 16px;
	width: 12px;
}

#questions_pane li ul.question_icons li.instructors-response {
	background: url(../images/icon-instructors-response.png) no-repeat right;
	position: absolute;
	top: 0px;
	right: 36px;
}

#questions_pane li ul.question_icons li.students-response {
	background: url(../images/icon-students-response.png) no-repeat right;
	position: absolute;
	top: 0px;
	right: 20px;
}

#questions_pane li ul.question_icons li.notification {
	background: url(../images/icon-notification-bg.png) no-repeat right;
	width: 16px;
	position: absolute;
	top: 0px;
	right: 0px;
	text-align: center;
	display: none; /* TODO: Remove this */
}

#questions_pane li ul.question_icons li.notification span {
	color: #FFF;
	font-weight: bold;
	font-size: 10px;
	line-height: 16px;
	text-shadow: 0px 1px 0px #900;
}


/* Q&A Panel - Post History Styling
 * ================================ */

#post_history {
	border-top: 1px solid #CCC;
	border-bottom: 1px solid #CCC;
	padding: 5px;
	font-size: 11px;
	color: #888;
}

#post_history #view_history { float: right; }


/* Q&A Panel - Generic Section Styling
 * =================================== */

.content {
	display: block;
}

.content .section {
	display: block;
}

.content .bar {
	display: block;
	border-top: 1px solid #AAA;
	text-align: center;
	padding: 4px 10px;
	color: #666;
	font-weight: bold;
}

.content .section.main_text {
	margin: 10px;
}

.content .section.followups {
	margin: 0px 30px;
	padding: 0 10px 10px 10px;
	color: #555;
}

.content .section.followups li {
	border-top: 1px solid #ddd;
}

.content .section.followups .time-stamp {
	float: right;
}

.content .section.feedback {
	margin-left: auto;
	margin-right: auto;
	margin-top: 1px;
	width: 75%;
	display: none;
}

.content .section.feedback li {
	background-color: #e2e5eb;
	padding: 4px 10px;
	margin-bottom: 1px;
	border: 1px solid #cfd3d7;
}

.content .section.feedback li .comment {
	margin-left: 20px;
}

.divider {
	display: block;
	height: 4px;
	background: url(../images/double-bar.png) repeat-x;
	margin-bottom: 10px;
}


.content.answer {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	width: 75%;
}

#answer_area {
	display: block;
	background-color: #CCC;
}

/* Q&A Panel - Page History Styling
 * ================================ */
 
#page_history h2 {
	background-image: url(../images/icon-clock-large.png);
	background-repeat: no-repeat;
	background-position: left center;
}

ul#history_items li.history_item {
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	background-color: #F00;
	margin-bottom: 5px;
	padding: 5px 10px;
	border: 1px solid;
}

ul#history_items li.history_item.question {
	background-color: #EDF7FC;
	border-color: #C5DDEC;
}

ul#history_items li.history_item.students_response {
	background-color: #edf6e2;
	border-color: #cde1b1;
}

ul#history_items li.history_item.instructors_response {
	background-color: #f9eed7;
	border-color: #f7cf94;
}