/* print.css - Make Moodle print prettier. For Moodle 1.9.  GKJ 20080320 
In your selected theme folder:
(1) Store this file as: print.css
(2) Add this line to meta.php:
  <link rel="stylesheet" type="text/css" media="print" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/print.css" />
 (3) In config.php, set: $THEME->metainclude = true;
*/

/*  Address Firefox 2 bug in printing only first page of large floats.  See moodle.org/mod/forum/discuss.php?d=42437#p356208 */
table, td {
float: none !important;
}
/* Suppress body background for print */
body {
background: #fff;
margin: 0;
padding: 0;
}

/* Suppress login, navigation and other info usually unwanted on print. */
#header, #footer, .navbar, .logininfo, .navbutton {
display: none !important;
}
#course-view #header, .navbar { /* Show course title on course main page */
display: block !important;
}
#calendar-view .header, .button, .filters, .bottom {
display: none !important;
}

table.boxaligncenter {
width: 100% !important;
}

/**** MODULES ****/
/* Suppress icons, tabs, links, and other elements not wanted on print. */

#mod-chat-report .box {
border: 0;
}

#mod-forum-view .subscription, #newdiscussionform {
display: none !important;
}
#mod-forum-view .topic {
background: #fff;
}
#mod-forum-view a {
color: #000;
}
#mod-forum-view table {
border: 0;
}
#mod-forum-discuss .popupform {
display: none !important;
}

#mod-glossary-view td.icons, .singlebutton, .glossarysearchbox, .glossarycontrol {
display: none !important;
}
#mod-glossary-view .entrybox, td.entry, td.entrylowersection {
border: 0;
}

#mod-lesson-edit .addlinks, .iconsmall, .iconhelp, .tabtree, .tabrow0, .tabrow1 {
display: none !important;
margin: 0;
}
#mod-lesson-edit table.generalbox {
border-color: #fff; /* Hides sides.  Why doesn't border: 0; kill this in IE7? */
}
#mod-lesson-edit .generalbox>tbody>tr>th {
display: none !important;
margin: 0;
}
#mod-lesson-view>#page>#content>.box {
display: none !important; /* Suppress "Points earned..." */
margin: 0;
}
#mod-lesson-view>#page>#content>p {
display: none !important; /* Suppress "Ongoing score..." */
margin: 0;
}
#mod-lesson-view generalbox, .box, #layout-table, .notifysuccess {
border-width: 0;
border-color: #fff; 
}
#mod-lesson-view .progress_bar, input, .lessonbutton, .notifyproblem {
display: none !important;
margin: 0;
}

#mod-quiz-attempt td.cell c3, .btn, .submitbtns {
display: none !important;
}
#mod-quiz-attempt input, .answer, .grade, .prompt, .edit {
display: none !important;
}
#mod-quiz-attempt .que {
border: 0;
}

#mod-resource-view .box {
border: 0;
}

/* End print.css */