/**************************************
 * THEME NAME: orange
 *
 * Files included in this sheet:
 *
 *   orange/orangechoc.css
 **************************************/

/***** orange/orangechoc.css start *****/

/*******************************************************************
in this theme's config.php file you should use:
$THEME->standardsheets = array('styles_layout');// for 1.6
 Styles are organised (more or less) into the following sections:
  core
  header
  footer
  admin
  blocks
  calendar
  course
  doc
  login
  message
  tabs
  user
+  various modules from Kubrik &  JR
*******************************************************************/

/*** Core ***/
/* html body etc.*/

html {
  overflow-y: scroll; /*workaround to stop un-needed horiz scrollbar in IE within frame*/	
  scrollbar-face-color: #ffe019;
  height: 100.02%;/*workaround to force display of vertical scrollbar in Mozilla at all times*/
}
body {
  background-color:#fd7c7c;
  background:url(bg.gif) top right repeat;
  color: #000000;
  font-size: 100%;
  font-family: Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;
  margin:auto;
  margin-bottom:5px!important;
  margin-left:auto;
  margin-top:5px;
  padding: 0px;
  padding-bottom:10px; 
  width: 1000px;/*moved up from 760px for Moodle 1.8 version to have a bit more real estate ...*/
}
#page {
  background-color:#69bec9;
  padding:0px;
  padding-bottom:10px;
}
#content {
  background-color:#ffffff;
  margin:0px;
  padding:0px;
  padding-bottom:4px;
  padding-top:4px;
}

#footer {
  background-color:#bff705!important;
  font-size:0.8em;
  line-height:1.8em;
  padding-right:5px;
  margin-top:0px!important;
  padding-top:0px;!important;
}
                            
h1.main, h2.main, h3.main, h4.main, h5.main, h6.main {
  font-weight:bold;
  text-align: center;
}
body, td, th, li {
  font-family: Verdana, Lucida, Geneva, Helvetica, Arial, sans-serif;
  font-size:small;
}
/*for example in lesson mod: td > small > a*/
small {
  font-size:100%;
}

/* layout*/
#layout-table {
  width:100%;
  border-collapse:separate;
  margin-top: 8px;
}
/*DO NOT REMOVE LEFT-COLUMN FORMATTING, needed for chat & quiz left blocks*/
#layout-table #left-column, 
#layout-table #middle-column,
#layout-table #right-column {
  vertical-align:top;
}
#site-index #layout-table #middle-column {
  padding-left:10px;
  padding-right:10px;
}
#layout-table #middle-column {
  padding-left:0px;
  padding-right:0px;
}

.clearer {
  background:transparent;
  border:none;
  clear:both;
  font-size:1px;
  height:4px;
  margin:0px;
  padding:0px;
}
h1 {
  font-size: 1.2em;
  margin-bottom:0.6em;
}
h2 {
  font-size: 1.0em;
  margin-bottom:0.8em;
}
h3 {
  font-size:0.9em;
}
h4 {
  font-size:0.85em;
}
/*various deprecated elements*/
.bold {
  font-weight:bold;
}

hr {
  background-color:#000000;
  border-style:none;
  height:1px!important;
}

/*-----------------*/
.warning {
  font-weight: bold;
  font-style: italic;
}
.paging {
  text-align: center;
  margin: 10px 0px 10px 0px;
}
.paging a {
}
.pagingbar {
  margin-bottom:0px!important;
  padding-bottom:0px!important;
  padding-top:5px;
  text-align:center;
}
.pagingbar a {
  margin-left: 5px;
  padding-left:2px;
  padding-right:2px;
}
.pagingbar .thispage {
  font-weight: bold;
  padding-left: 10px;
}
.pagingbar .title {
  font-weight: bold;
}
.helplink {
  font-size: inherit;
}
.helplink img {
  vertical-align: middle;
  margin: 0px 2px;
}
.headingblock {
  border:0px solid #000000;
  font-weight: bold;
  padding:5px;
}
#course-view .headingblock {
  display:none;
}
#course-info {
  width:auto;
}

table.files {
  background-color:#FBFBF5;
  font-size: inherit;
  margin-bottom:10px;
  margin-top:10px;
}
table.files .header {
  color: #FFFFFF!important;
}
table.files .folder .size {
  font-weight: bold;
}
#files-index #content table {
  background-color:#FFFAE6;
}
#files-index table .header {
  background-image:none;
  color:#4D1700;
}

/* links */
a {
  text-decoration:none;
}
a:link, 
a:visited {
  border-bottom-color: #f03c3c;
  border-bottom-width:1px;
  border-bottom-style: inset;
  color:#f03c3c;
}
/* hack because MSIE6 does not treat groove the same as MOZ*/

* html  a:link,
* html a:visited {
  border-bottom-color: #f03c3c;
  border-bottom-style:dotted;
}

a:hover,
a:focus {
  border-bottom-color: #f03c3c;
  border-bottom-style:dotted;
}
a.autolink:link, a.autolink:visited {
  background-color:#F1F1DF;
  border-bottom: thin dotted #FF0000;
}
a.glossary.autolink:hover,
a.glossary.autolink:focus {
  background-color:#FF4D00;
  border-bottom: thin solid #FF0000;
  cursor: pointer;
}
.tablink a:focus {
  color:#000000!important;
}

/*to fight back potential pesky autolinks within nolink tags!!!*/
.nolink a{
  background-color:inherit!important;
  border:none!important;
  color:inherit!important;
  cursor:default!important;
  font-weight:inherit!important;
}
a.dimmed:link, a.dimmed:visited {
  color: #999999;
  text-decoration:none;
}
a:link img,
a:visited img   {
  border:none;
}
/* ---------------------------------------------- */
.continuebutton {
  text-align: center;
}
form {
  margin-bottom:0px;
}
form.popupform {
  display: inline;
}
table {
  border-spacing: 0px;
  border-collapse: collapse;
}
.generaltable {
  border-width: 0px;
  border-style: none;
  width:95%;
}

.generaltable .cell {
  border-width: 0px;
  border-style: none;
  border-collapse: collapse;
}
.tabledivider {
  border-color:#FF4D00;
  border-width:2px;
  border-style:solid;
  border-left:0px;
  border-right:0px;
  border-top:0px;
}
/* notification messages (can be good or bad) */
.notifyproblem {
  background-color:#FBFBF5;
  border:2px solid red;
  color:red;
  padding: 10px;
  text-align: center;
}
.notifysuccess {
  background-color:#FBFBF5;
  border-color:#190055;
  border-style:double;
  border-width:medium;
  color: #190055;
  margin:auto;
  padding: 10px;
  text-align:center;
  width:50%;
}
.required {
  background-color:#FFCC00;
  color:#000000;
}
#question-edit #notice {
  padding-left:5px;
  padding-right:5px;
}
#notice.box.generalbox {
  background-color:#FFFFFF;
  border-color:#FF0000;
  border-style: double;
  border-width: thick;
  padding-left:5px;
  padding-right:5px;
}
#question-edit #notice.generalbox .generalboxcontent div br {
  margin:10px;
}
#notice .singlebutton {
  border:none!important;
  text-align:center;
}
.singlebutton {
  margin:5px;
}
.noticebox,
.errorbox {
  border:2px solid #FF4D00;
}
.errorbox,
.errorboxcontent {
  background-color: #FF4D00;
  color: #ffffff;
  margin: 1em 15%;
  text-align:center;
  width: 70%;
}
.errorbox td {
  background-color:#FF4D00;
}
.errorbox .title {
  font-weight: bold;
  font-size: inherit;
  text-align: center;
  padding: 5px;
}
.informationbox {
  border:1px solid #DDDDDD;
}
.feedbackbox {
  border:1px solid #888888;
}
.feedbackby {
  background-color:#BBBBBB;
}
.initialbar {
  text-align: center;
}
#help {
  margin-top:15px;
  width:auto;
}
#help .indent {
  margin-left:3em;
}
.tabledivider {
}
.sitetopic {
  margin-bottom:20px;
}
.sitetopiccontent {
  background-color:#FFFFFF;
  border:1px solid #DDDDDD;
}
table.formtable {
  margin: auto;
}
table.formtable tbody th {
  font-weight: normal;
  text-align: right;
  vertical-align: top;
}
table.formtable tbody td,
table.formtable tbody th {
  padding: 5px;
}

/* general table rows and cells*/
.cell {
  vertical-align: top;
}
/* Alternate rows even */
.r0 {  
  background-color:#FBFBF5;
}
/* Alternate rows odd */
.r1 {  
  background-color:#F1F1DF;
}
th.header,
td.header,
div.header {
}
/* navigation */

.navbar {
  background-color:#000000;
  background-image:url(choc_gradient01.gif);   
  background-repeat:repeat-x;
  width:100%;
  border-style:none;
}
.navbar .menu {
  float:right;
}
.breadcrumb {
  color:#FFCC00;
  font-weight:bold;
  padding-bottom:5px;
  padding-left:5px;
}

.breadcrumb a:link,
.breadcrumb a:visited {
  border-bottom-color: #FFCC00;
  border-bottom-style: solid;
  border-bottom-width:1px;
  color:#FFFFFF;
}
.breadcrumb a:hover {
  border-bottom-color:#4D1700;
}
.navbar .navbutton form { /* compatibility 1.7 dev*/
  float: left;
}
.navbutton form{
  padding:3px;
}

/* ------------------------------------ */
table.formtable tbody th {
  background: none;
}
.highlight {
  background-color:#FFCC00;
}
.highlight2 {
  color:#AA0000; /* highlight missing terms in forum search */
}
#mod-quiz-review table table table {
  float:left; /*added 07 MAR 2006*/
}
#mod-quiz-review td p {
  text-align:left;
}
#header,
#header-home,
#footer,
.generalbox,
.sideblock {
  background-color:#FFFAE6;
  border-color:#000000;
  border-style:solid;
  border-width:0px;
  border-left-color: #ffffff;
  border-top-color: #ffffff;
}
.generalbox#intro {
  width:90%;
}
.dimmed_text {
  color:#AAAAAA;
}
.teacheronly {
  color:#990000;
}
.unread {
  background: #FFD991;
  padding-right:2px;
}  
.censoredtext {
  color:#000000;
  background:#000000;
}

/* kept for backward compatibility with some non-standard modules
   which use these classes for various things */
.generaltab, .generaltabinactive {
  background-color:#BBBBBB;
}
.generaltabselected {
  background-color:#DDDDDD;
}
.generaltabinactive {
  color:#CCCCCC;
}

/*** Header ***/
#header,
#header-home {
  background-color:#bff705!important;
  color:#000000;
  float:left;
  margin: 0px;
  padding:0px;
  padding-left:0px;
  padding-bottom:2em;
  padding-top:0.6em;
}
.headermain {
  float:left;
  font-size: inherit;
  font-weight:bold;
  background-color: #FFFFFF;
  width: 1000px;
}
.headermenu {
  float:right;
  text-align:right;
}
.logininfo,
#header-home .headermenu font {
  font-size: inherit;
}
.logininfo {
  padding-right:2px;
}
#site-index .headermenu {
  float:none;
}
#site-index table.coursebox {
  width:100%!important;
}
#site-index .logininfo {
  padding-bottom: 5px;
}


#footer .navbar {
}
/*reportlink a:link etc. formatted like home button*/
.reportlink {
  font-size:12px;
  padding-top:2px;
  text-align:right;
}

/*** Footer ***/
.performanceinfo {
  font-size: inherit;
  margin: 2em;
}
.performanceinfo span {
  display: block;
}
.sitelink {
  text-align:center;
  margin-top:0px;
  padding-top:0px;
}
.homelink {
  margin-bottom:2px;;
  margin-left:5px;
  margin-top:2px;
}
/* ------------------------------------------- */
.homelink a:link, .homelink a:visited,
.reportlink a:link, .reportlink a:visited{
  background-color:#ffffff;
  color:#f03c3c;
  border-bottom:1px solid black;
  border-left:1px solid white;
  border-right:1px solid black;
  border-top-color: white;
  border-top-style:solid;
  border-top-width:10px;
  padding-bottom:10px;
  padding-left:10px;
  padding-right:10px;
  padding-top:2px;
}
.homelink a:hover, 
.reportlink a:hover {
  color:#FBFBF5;
  background-color:#f03c3c;
  text-decoration: none;
}

/*** Admin ***/
.admin,
#user-editadvanced,
#course-index {
  width:auto;
} 
.admin #middle-column,
#course-index #middle-column {
  margin-left:15px;
  margin-right:15px;
  float:left;
  border-style: outset;
  border-width: 1px;
  border-color:#4D1700;
  width:auto;
} 
#admin-auth .generalbox td{
  background-color:#F1F1DF;
}
#admin-blocks table#incompatible td.c0 {
  font-weight: bold;
}
#admin-index .generalbox font {
  font-size:small;
  line-height:140%;
} 
#admin-index .r0 {
  background-color:#FBFBF5;
} 
#admin-index .r1 {
  background-color: #F1F1DF;
}

#admin-modules .generaltable td.cell,
#admin-modules .generaltablecell {
  padding-top: 2px;
  padding-bottom: 2px;
} 
#admin-blocks table#blocks,
#admin-blocks table#incompatible {
  width: auto;
  margin: auto;
}

#admin-blocks table#blocks th,
#admin-blocks table#incompatible th,
#admin-blocks table#blocks td.cell,
#admin-blocks table#incompatible td.cell {
  padding: 4px;
  text-align: center;
  vertical-align: middle;
} 

#admin-blocks table#blocks td.c0,
#admin-blocks table#blocks th.c0,
#admin-blocks table#incompatible td.c0,
#admin-blocks table#incompatible th.c0 {
  text-align: left;
}

#admin-blocks 
#admin-config .confighelp {
  display: block;
  padding-bottom: 20px;
}
#admin-blocks #blocks.generaltable,
#admin-settings.admin,
#theme-index  {
  width:auto;
}
#admin-settings #middle-column  {
  width:auto;
}

.admin .generalboxcontent {
  background-color:#F1F1DF; 
}

.admin .generalbox {
  border-color:#BBBBBB; 
}

.admin .informationbox {
  border-color:#BBBBBB; 
  background-color:#FFFFFF; 
}
.admin .c3 a:hover {
  background-color: #ffe019;
}
/*alternate rows shown in # colors*/
#admin-blocks table#blocks .r0,
#admin-blocks table#incompatible .r0 {
  background-color: #FBFBF5;
}
#admin-blocks table#blocks .r1,
#admin-blocks table#incompatible .r1 {
  background-color: #F1F1DF;
}
#admin-blocks table#incompatible td.c0 {
  color: #ff0000;
}
#admin-config #content table.generalbox {
  margin-top:10px;
}
#admin-lang #content {
  background-color: #FBFBF5;
}
#admin-lang pre {
	white-space:normal;  
}
#course-scales .generalbox {
  width:auto
}
/*** Blocks ***/
/* side block: header content footer*/
.sideblock {
  margin-bottom:5px;;
  width: 100%;
}
.sideblock .header {
  background-color:#D5CEBC; /*in case the header's height overgrows the gradient*/
  border:1px solid #000000;
  font-weight: bold;
  padding:4px;
}
.editing .sideblock .header {
  padding-bottom:0px;
}
.sideblock .header .hide-show {
  float:right;
}
.sideblock .header .hide-show img.hide-show-image {
  background-image:url(pix/t/switch_minus.gif);
  height:11px;
  margin-top:0.25em;
  width:11px;
}
.sideblock.hidden .header .hide-show img.hide-show-image {
  background-image:url(pix/t/switch_plus.gif);
}
.sideblock .header .commands {
  background-color:#D5CEBC;
}
.sideblock .header .commands a {
  margin-left:2px;
  margin-right:2px;
}
.sideblock .content {
  font-size: 85%;
}
.sideblock .content .head {
}/*
/* hack for MSIE */
* html .sideblock .content li {
  display: inline;
}
* html .block_online_users li {
  display: block!important;
}
/* end MSIE hack*/
.sideblock .content a {
  border-bottom-style:none;
  padding-bottom:1px;
  padding-top:1px;
}
.sideblock .content h3, .sideblock .content h2 {
  text-align: left;
}
.sideblock .footer {
  text-align:right;
}
.sideblock .footer a {
  line-height:1.6em;
}
.sideblock .footer a {
  border-left:6px solid #FF4D00;
}
.sideblock .date {
  font-style: italic;
}
.sideblock .list {
  width: 100%;
}

.sideblock .list a {
  font-size: 85%;
/*  width:95%; /* only needed for MSIE < 7.0 in fact */
}
.sideblock .list .c0{
}
.useredit.blink {
  color:#FF0000;
  text-decoration:blink;
  display:none!important;
}
/*- to set an orange border-left -*/
.block_activity_modules .content,
.block_admin .content,
.block_course_list .content {
  padding-left:0px!important;
  padding-right:0px!important;
}
.block_admin .content a,
.block_activity_modules .content a,
.block_course_list .content .list a {
  padding-left:8px;
 }
.block_admin .content a:hover,
.block_admin .content a:focus,
.block_activity_modules .content a:hover,
.block_activity_modules .content a:focus,
.block_course_list .content .list a:hover,
.block_course_list .content .list a:focus  {
  border-left-color:#FF4D00;
  border-left-style:solid;
  border-left-width:8px;
  padding-left:0px;
}
.block_recent_activity h3 {
  margin:0px;
}
.block_recent_activity .activity {
  margin:0px;
  padding:0px;
}
.block_course_summary .content {
  background-color:#ffe019!important;
}
.block_site_main_menu a:link,
.block_site_main_menu a:visited {
  display: inline!important;
}
.block_online_users .listentry {
  background-color:white;
  padding-top:5px;
  text-align:left;
}
.block_online_users .listentry a {
  display: run-in;
}
.block_online_users .content center{
  text-align:left;
}
.blockconfigtable {
  background-color:#F1F1DF;
  background-color:#FFFFFF;
  border-bottom:1px solid;
  border-color:#AAAAAA;
  border-left:1px solid;
  border-right:1px solid;
  margin-top: 0;
}
.blockconfiginstancecontent div{
  background-color:#4D1700;
}
.blockconfiginstancecontent .tabs {
  margin-bottom: 0px;
}
.block_quiz_results,
.block_quiz_results a  {
  font-size:85%;
}
.block_quiz_results h1 {
  font-size:small;
}
.block_quiz_results caption {
  text-align:left
}
.block_news_items .newlink {
  background-color:#FBFBF5;
  text-align:left;
}
.block_news_items .name {
  background-color:#FBFBF5;
  font-weight:bold!important;
  text-align:left;
}
.block_news_items .info a:link,
.block_news_items .info a:visited {
  border-left:6px solid #FFCC00;
}
.block_news_items .info a:hover {
  background-color:#4D1700;
}
.block_glossary_random .content h2 {
  margin-bottom:2px;
  margin-top:2px;
}
.block_glossary_random .footer {
  border-top:1px solid #4D1700;
}
#left-column .hidden .content,
#right-column .hidden .content  {
  display: none;
}

/*** *** Calendar ***/
#calendar {
  margin-left:auto;
  margin-right:auto;
  padding-top:10px;
  width: 90%;
}
#calendar td.maincalendar {
  border-right:5px;
  border-right-color:#D5CEBC;
  border-right-style:solid;
}
#calendar .header {
  font-weight:bold;
  padding: 5px;
}
#calendar .maincalendar .day {
  font-weight: bold;
}
#calendar .maincalendar .eventlist {
  padding: 10px;
}
#calendar .maincalendar .eventlist .event .referer {
  font-weight:bold;
}
#calendar .maincalendar .eventlist .event .description {
  font-weight: normal;
}

#calendar .maincalendar .eventlist .event .description .commands {
  text-align: right;
}
#calendar .sidecalendar .filters a {
  font-size:85%;
}
.block_calendar_month .filters td {
  margin:0px;
  padding:0px;
}
.block_calendar_month .filters {
  background-color:#F1F1DF;
  padding:0px;
}
.block_calendar_month .filters td a {
  font-size: xx-small;
}
.block_calendar_month .calendar-controls a {
  font-size:85%;
  font-weight:bold;
}
#calendar .maincalendar td {
  font-size: 85%;
}
table.minicalendar th,
table.minicalendar td {
  font-size: xx-small;
}
.cal_popup_caption {
  border-width:0px 0px 1px 0px;
  border-style:solid;
  font-family: Verdana,sans-serif;
  font-size: xx-small;
  font-weight:bold;
  padding-bottom:2px;
}
.cal_popup_close {
  font-family:sans-serif;
  font-size: xx-small;
  font-weight:bold;
  margin-right:5px;
}
#calendar .maincalendar, 
.calendar-controls .current {
  font-weight: bold;
}
#calendar h2,
#calendar h3 {
  font-size: xx-small;
  text-align: center;
}
#calendar .maincalendar,
#calendar .sidecalendar {
  vertical-align: top;
  border: 1px solid;
  padding: 0px;
}
#calendar .sidecalendar {
  width: 25%;
}
#calendar .maincalendar table.calendarmonth {
  border-collapse: separate;
  margin: 0px auto;
  width: 98%;
}
#calendar .maincalendar table.calendarmonth th {
  padding:10px;
  border-bottom:2px solid;
}
#calendar .maincalendar table.calendarmonth td {
  height: 5em;
  padding-left: 4px;
  padding-top: 4px;
  line-height:1.2em;
}
#calendar .maincalendar table.calendarmonth td,
table.minicalendar td,
table.minicalendar th {
  width:14%;
  vertical-align:top;
}
table.minicalendar td {
  text-align: center;
}
#calendar .maincalendar table.calendarmonth td table td {
  height: auto;
}
#calendar .maincalendar .buttons {
  float: right;
}
#calendar .maincalendar .filters table,
#calendar .sidecalendar .filters table {
  border-collapse:separate;
  border-spacing: 2px;
  padding: 2px;
  width: 100%;
}
div.block_calendar_month div.content {
  padding-top:5px!important;
}
.calendar-controls a {
  padding-left:0px!important;
}
#calendar .maincalendar .filters {
  padding: 0px 10px;
}
#calendar .sidecalendar .filters {
  padding: 5px;
}
#calendar .maincalendar .controls {
  clear:both;
  padding:10px;
}
#calendar .maincalendar table.calendarmonth ul.events-new,
#calendar .maincalendar table.calendarmonth ul.events-underway {
  padding:0px;
  margin:0px;
  list-style-type:none;
}
#calendar .maincalendar table.calendarmonth ul li {
  margin-top: 4px;
}
.minicalendarblock {
  padding: 0px 4px;
}
table.minicalendar {
  border-color:#4D1700;
  margin: 10px auto;
  border-width:1px;
  border-style:solid;
  border-collapse:separate;
  border-spacing:1px !important;
  padding:0px;
  width: 100%;
}
table.minicalendar th {
  padding: 0px 2px;
}
#calendar .maincalendar .eventlist .topic {
  padding: 5px;
  border-style:solid; 
  border-width: 0px;
  border-bottom-color: #F1F1DF;
  border-bottom-width: 1px;
}
#calendar .maincalendar .eventlist .event {
  width:100%;
  margin-bottom:10px;
  border-spacing:0px;
  border-collapse:separate;
  border-width:1px;
  border-style:solid;
}
#calendar .maincalendar .eventlist .event .name {
  float:left;
}
#calendar .maincalendar .eventlist .event .course {
  float:left;
  clear:left;
}
#calendar .maincalendar .eventlist .event .date {
  float:right;
}
#calendar .maincalendar .eventlist .event .description .commands {
  width:100%;
}
#calendar .maincalendar .eventlist .event .description {
  padding:5px;
}
#calendar .maincalendar .eventlist .event .picture {
  padding:8px;
}
#calendar .maincalendar .eventlist .event .side {
  width:32px;
}
#calendar #selecteventtype table {
  margin:auto;
}
#calendar .event_global,
#calendar .event_course,
#calendar .event_group,
#calendar .event_user,
.minicalendar .event_global,
.minicalendar .event_course,
.minicalendar .event_group,
.minicalendar .event_user {
  border:1px solid !important;
}
#calendar .duration_global,
#calendar .duration_course,
#calendar .duration_group,
#calendar .duration_user,
.minicalendar .duration_global,
.minicalendar .duration_course,
.minicalendar .duration_group,
.minicalendar .duration_user {
  border-top:1px solid !important;
  border-bottom:1px solid !important;
}
#calendar .today,
.minicalendar .today {
  border:1px solid !important;
}
.cal_popup_bg {
  border-color:#000000;
  background-color:#FFFFFF;
  padding:0px;
  margin:0px;
  border:1px solid;
}
.cal_popup_fg {
  background-color:#FFFFFF;
}
table.calendar-controls {
  width: 100%;
}
table.calendar-controls .previous,
table.calendar-controls .next {
  width: 12%;
}
table.calendar-controls .previous {
  text-align: left;
}
table.calendar-controls .current {
  text-align: center;
}
table.calendar-controls .next {
  text-align: right;
}

#calendar .maincalendar .calendar-controls .previous,
#calendar .maincalendar .calendar-controls .next
{
  width: 30%;
}


#calendar .maincalendar,
#calendar .sidecalendar {
background-color:#FBFBF5;
  border-color: #330000;
}

#calendar .maincalendar table.calendarmonth th {
  border-color: #4D1700;
}


#calendar .maincalendar .eventlist .event {
  border-color:#DDDDDD;
}

#calendar .maincalendar .eventlist .event .topic,
#calendar .maincalendar .eventlist .event .picture,
#calendar .maincalendar .eventlist .event .side {
  background-color:#F1F1DF;
}

#calendar .maincalendar table.calendarmonth ul.events-underway {
  color:#999999;
}
#calendar .event_global,
.minicalendar .event_global,
.block_calendar_month .event_global {
  border-color:#4D1700 !important;
  border-style:none;
  background-color:white/*#4D1700*/;
}

#calendar .event_course,
.minicalendar .event_course,
.block_calendar_month .event_course {
  background-color:#FF4D00;
  border-style:none;
}

#calendar .event_group,
.minicalendar .event_group,
.block_calendar_month .event_group {
  background-color:#FFCC00;
  border-style:none;
}

#calendar .event_user,
.minicalendar .event_user,
.block_calendar_month .event_user {
  background-color:#D5CEBC;
  border-style:none;
}
#calendar .event_course a,
#calendar .event_global a,
#calendar .event_group a,
#calendar .event_user a {
  font-size:85%;
  font-weight:normal;
}

#calendar .duration_global,
.minicalendar .duration_global {
  border-top-color:#4D1700 !important;
  border-bottom-color:#4D1700 !important;
}

#calendar .duration_course,
.minicalendar .duration_course {
  border-bottom-color:#FF4D00 !important;
}

#calendar .duration_group,
.minicalendar .duration_group {
  border-top-color:#FFCC00 !important;
  border-bottom-color:#FFCC00 !important;
}

#calendar .duration_user,
.minicalendar .duration_user {
  border-top-color:#D5CEBC !important;
  border-bottom-color:#D5CEBC !important;
}

#calendar .weekend,
.minicalendar .weekend {
  color:#FF0000;
}

#calendar .today,
.minicalendar .today {
  border-color:#000000 !important;
}

#calendar .maincalendar .filters table,
#calendar .sidecalendar .filters table {
  background-color: #F1F1DF;
}

/*** *** Course ***/
.section_add_menus .horizontal {
}
.section_add_menus .horizontal .helplink {
}
.section_add_menus optgroup {
  font-weight:bold;
  font-style: italic;
  font-size: 0.85em;
}

#course-index .coursebox,
#course-category .coursebox {
  background-color:#FBFBF5;
}
#course-view .section {
  font-size: inherit;
  line-height: normal;
}
#course-view .section .activity {
  padding:0.2em 0;
}
#course-view .section .activity a {
  line-height:1em;
}
#course-view .section .left {
  font-weight:bold;
  text-align:right;
}
.activitydate, .activityhead {
  font-size: inherit;
  text-align:left;
}
.weeklydatetext {
  font-size: inherit;
  font-weight:bold;
}
.coursebox .info {
  font-size: inherit;
}
.coursebox .teachers,
.coursebox .cost {
  font-size: inherit;
}
.coursebox .summary {
  font-size: inherit;
}
#course-recent table.generalbox {
  margin-bottom:0px;
  margin-top:0px!important;
}
#course-recent h2.main {
  font-size: inherit;
}
#course-view .section td {
  vertical-align:top;
}
#course-view .section .side {
  border:none!important;
  padding:5px!important;
  width:10px!important;
}

#course-view .current .side{
  background-color:#FFCC00;
}
#course-view .section .spacer {
  background-color:transparent!important;
  height:0.5em;
}

#course-view .section .weekdates {
  color:#4D1700;
}
.section .activity img.activityicon {
  vertical-align:middle;
  height:16px;
  width:16px;
}
.section img.movetarget {
  height:16px;
  width:80px;
}
#course-view .unread {
  margin-left: 3em;
} 
#course-enrol .generalbox {
  margin-top: 20px;
}
#course-enrol .coursebox {
  margin-top: 20px;
}
#course-user .graph {
  text-align: center;
}
#course-user .section, 
#course-user .content {
  margin-left: 30px;
  margin-right: 30px;
}
#course-user .section {
  background-color:#FFFAE6;
  padding:10px;
  margin-bottom: 20px;
}
#course-user .section td{
  border-bottom:1px solid #4D1700;
  font-size:85%;
}
#course-user .section h2 {
  margin-top: 0px;
}
/* modifi le 03 dc. sinon invisible, noir sur marron fonce */
#course-user .header {
  background-image:none;
  color: #FFFFFF;
  font-size:x-small;
}
#site-index .headingblock,
#course-view .headingblock {
  margin-bottom: 9px;
}
.courseboxcontent .summary {
  font-size:85%;
}
.coursebox {
  margin-bottom: 8px;
}
#site-index .categorybox {
  background-color:#FBFBF5;
}
.categorybox .category {
  font-size: inherit;
  font-weight:bold;
}
.categoryboxcontent,
.courseboxcontent {
  border-width:1px;
  border-style:solid;
}
.courseboxcontent .cost {
  padding-top: 20px;
}

/* course, entry-page, login */
.headingblock {
  border-color:#DDDDDD;
  color:#FFFAE6;
}

/* course */
.headingblock .outline {
  border-color:#DDDDDD;
}
#course-view .section .content,
#site-index .coursebox,
#mod-quiz-attempt #timer .generalbox {
  background-color:#FBFBF5;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  border-bottom-color: #4D1700;
  border-left-color: #FBFBF5;
  border-left-style:solid;
  border-left-width:1px;
  border-right-width: 2px;
  border-right-style: solid;
  border-right-color: #4D1700;
  border-top-color: #FBFBF5;
  border-top-style:solid;
  border-top-width:1px;
  padding:5px;
}
#course-view .topics,
#course-view .weeks {}
#course-view .topics .content,
#course-view .weeks .content {
  background-color:#FBFBF5;
}
.categoryboxcontent,
.courseboxcontent {
  border-color:#DDDDDD;
  width:70%;
}
#course-user .section {
  border-color:#AAAAAA;
}
/* from Moodle 1.6 to accomodate "Weeks CSS no tables" course format */
/*Accessibility: No-tables course format. */
#course-view ul.weekscss, .weekscss li { 
}
/* Window-width: 800 pixels.
   IE doesn't support, see inline IE conditional comment. */
.weekscss-format {
  min-width: 763px;
}
.weekscss-format .block_adminblock select,
.weekscss-format .block_calendar_month .minicalendar {
  width: 100%;
  padding: 0;
}
.weekscss-format .block_calendar_month .minicalendar th,
.weekscss-format .block_calendar_month .minicalendar td {
  padding: 0.1em 0 0.1em 1px;
}
.weekscss-format #middle-column {
/*  margin: 0 12.5em 0 12.5em;*/
  margin-left:2px;
}
.weekscss-format #left-column {
  width: 11.5em;
}
.weekscss-format #right-column {
  margin-left:2px;
  width: 13.5em;
}

.weekscss-format #left-column {
  float: left;
}
.weekscss-format #right-column {
  float: right;
}
.weekscss li.section {
  border-style: none;
  margin-bottom: 0.5em;
}
.weekscss .content, 
.weekscss .side {
  padding: 5px;
}
.weekscss .content {
  margin: 0 1.7em 0 1.7em;
}
.weekscss .right {
  width: 1.6em;
  float: right;
  text-align:center;
}
#course-view .weekscss .current,
#course-view .current .side {
  background-color:#FF4D00;
}
/*** *** Doc ***/
#doc-view {
  background-color:#FBFBF5;
}
#doc-view a:hover {
  background-color:transparent;
  border:none;
}
#doc-contents #content {
}
#doc-contents h1 {
  font-size: inherit;
}
#doc-contents ul {
  color:#00CC00;
  font-size: inherit;
}
#doc-contents h1 {
  margin: 1em 0px 0px 0px;
}
#doc-contents ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  width: 90%;
}

/*** *** Grades ***/
#grade-index {
  width:auto;
}

#grade-index #content table {
  width:96%;
}
#grade-index #content tr.header {
  background-color:#FFFAE6;
}
#grade-index #content tr {
  background-color:#FBFBF5;
}
/*
#grade-index #content th.assignment a,
#grade-index #content th.lesson a,
#grade-index #content th.quiz a,
#grade-index #content th.hotpot a,
#grade-index #content th.forum a {
  writing-mode : tb-rl;
}
*/
#grade-index #content .tabs tr {
  background-color:#4D1700;
}
#grade-index .grades .header {
  background-color:#FFFAE6;
  font-weight: bold;
  font-size: 85%;
}
#grade-index .grades {
  border-color:black;
  background-color:#FFCC00;
  border-width:1px;
  border-style:solid;
  border-collapse: separate;
}
#grade-index .grades td {
  border-width:0px 1px 0px 1px;

  border-style:solid;
  border-collapse: collapse;
}
#grade-index .grades .header {
  vertical-align: top;
}
#grade-index .grades .points,
#grade-index .grades .percent,
#grade-index .grades .weighted {
  text-align: right;
}
#grade-index .grades td,
#grade-index .grades th {
  border-color:#e0e0e0;
  font-size:85%;
}
#grade-index font{
  font-size:inherit;
}
#grade-index a font{
  font-size:85%;
}
.header a{ /* when a header has a link it should be displayed in white */
  color:#FFFFFF;
}

/*** *** Login ***/
#login-index .content {
  background-color:#F1F1DF;
  font-size: inherit;
}
.loginbox .content {
  border-color:#DDDDDD;
  border-style:solid;
  border-width:1px;
  padding:15px;
}
.login #content {
  padding-top:15px;
}
/*** *** Message ***/
.message .link {
  font-size: inherit;
}

.message_form {
  font-size: inherit;
}

.message .heading {
  font-size: inherit;
  font-weight:bold;
}

.message .date,
.message .contact,
.message .summary {
  font-size: inherit;
}

.message .note, 
.message .pix {
  font-size: inherit;
}

.message .author {
  font-weight: bold;
  font-size: inherit;
}
.message .time {
  font-style: italic;
  font-size: inherit;
}
.message .content {
  font-size: inherit;
}
#message-user .commands span {
  font-size: inherit;
  white-space:nowrap;
}
#message-user .name {
  font-weight: bold;
  font-size: inherit;
}
.message .link {
  vertical-align:middle;
}

table.message .searchresults td {
  padding:5px;
  border-width:1px;
  border-style:solid;
  border-collapse:collapse;
  border-spacing:0px;
}
.message .summary .link {
  text-align:right;
}
.message .heading {
  text-align:center;
}

.message .note {
  text-align:center;
  padding:10px;
}

#message-user .commands span {
  margin-left:10px;
  margin-right:10px;
}

#message-messages {
  padding:10px;
}


table.message_search_results td {
  border-color:#DDDDDD;
}

.message.other .author {
  color: #8888CC;
}

.message.me .author {
  color: #999999;
}

.message .time {
  color: #999999;
}

.message .content {
}

.messagepreview {
  background-color:#FBFBF5;
}
/***
 *** Question
 ***/

.que {
	width: 90%;
	text-align: left;
	margin: 0px auto 0px auto;
	border: 1px solid;
	clear: both;
}
.que .info {
	float: left;
	margin: 5px;
	width: 8%;
}
.que .grade {
	margin-top: 0.5em;
}
.que .content {
	float: right;
	margin: 5px;
	width: 88%;
}
.que .qtext {
	margin-bottom: 0.0em;
}
.que .ablock {
	margin: 0.7em 0 0.3em 0;
	margin-top:0px!important;
}
.que .prompt { /*removed JR because useless & takes up space*/
  display:none;
}

.que .submit {
	position: relative;
	clear: both;
	float: left;
}
/* MSIE Hack */
* html .que .submit {
	float: none;
}
.que .c0,
.que .c1 {
	padding: 0.3em 0 0.3em 0.3em;
	vertical-align: top;
}

.multichoice .c0 {
  width: 5%;
	vertical-align: top;
	padding-top: 0.4em;
}
.calculated .answer,
.numerical .answer,
.shortanswer .answer,
.regexp .answer,
.truefalse .answer {
	padding: 0.3em 0 0.3em 0.3em;
}
.calculated .feedback,
.numerical .feedback,
.shortanswer .feedback,
.regexp .feedback,
.truefalse .feedback {
  clear: both;
	float: left;
	width: 83%;
	padding: 0 0 0.3em 0.3em;
	margin-bottom:0.6em;;
  border: 1px solid;
}	

.que .grading,
.que .comment,
.que .commentlink,
.que .history {
  clear:both;
  padding-left:6em;
}

.que {
  margin:2px;
  width: auto;
}
.que .history {
  margin-left:5px;
  width: auto;
}

/*** Logs ***/
.logtable td {
  font-size: 85%;
}
.logtable th {
  font-size: inherit;
}

.logtable td, .logtable th {
  padding-left: 10px;
  padding-right: 10px;
  text-align:left;
}

.logtable th {
}
.logtable .r1 {
  background-color:#F1F1DF;
}


/*** Tabs ***/
/* pre 1.8 tab formatting kept for compatibility */
.tablink {
  font-size:85%;
}
.tablink a:link, .tablink a:visited {
  border:1px;
  border-color:#FFCC00;
  border-style:solid;
  color:#FBFBF5;
  display: block;
  padding-bottom:2px;
  padding-left:5px;
  padding-right:5px;
  padding-top:2px;
/*  position:relative; removed JR 25 Jan. 2006: caused a pb in MSIE*/
}
.tablink a:hover,
.tablink a:focus,
.tabrow .selected {
  background-color:#FFCC00;
  color:#4D1700;
  text-decoration: none;
}
/*JR to center this table, set margins to auto!*/
.tabs {
  margin-left:auto; 
  margin-right:auto;
  margin-bottom: 15px;
  border-collapse: collapse;
}

.tabs td {
  padding: 6px;
}
.tabrow {
  border-collapse:collapse;
  width:100%;
  margin: 1px 0px 0px 0px;
}
.tabs .side,
.tabrow td {
  border:none;
  width:auto;
  }
/* over-ride any potential tab gifs in standard theme*/
.tabrow td,
.tabrow td .tablink,
.tabrow td:hover,
.tabrow td:hover .tablink,
.tabrow .last,
.tabrow .selected,
.tabrow .selected .tablink,
.tabrow td.selected:hover,
.tabrow td.selected:hover .tablink {
  background-image:none;
}
.tabrow td .tablink {
  padding-bottom:2px;
  padding-left:0px;
  padding-right:0px;
  padding-top:2px;
  text-align:center;
  text-decoration:none;
}
.tabrow .last {
  background: transparent;
  display:block;
  float:left;
}
.tabrow .inactive {
  color:#999999;
}   
.tabrow .selected .tablink {
  font-weight:bold;
  padding-left:10px;
  padding-right:10px;
}
.selected .tablink a:link, .selected .tablink a:visited {
  color:#FBFBF5;
}
.tabs {
  background-color:#4D1700;
}
.tabrow td {
  padding:2px;
}
.tabrow td .tablink {
  background:#4D1700;
}
.tabrow .selected {
#  background-color:#4D1700;
}
.tabrow .selected .tablink, .tablink a:hover {
  background-color: #FFCC00;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: #4D1700;
  border-left-color: #FBFBF5;
  border-left-style:solid;
  border-left-width:1px;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: #4D1700;
  border-top-color: #FBFBF5;
  border-top-style:solid;
  border-top-width:1px;
  color:#4D1700!important;
}
/* END OF pre 1.8 tab formatting kept for compatibility */
/* new TABS formatting system from Moodle 1.8 *************************************************** */
.tabtree {
/*  background-color:#4D1700;*/
  margin-left:5px;
  margin-top:0px;
  margin-right:5px;
  margin-bottom:1.5em;
  padding-bottom:1.3em;
  padding-top:0px; /*result is # in FF and MSIE */
}
UL.tabrow0 {
  padding: 0px;
}
UL.tabrow0 LI,
UL.tabrow1 LI {
}

UL.tabrow0 LI A,
UL.tabrow1 LI A {
#  display: inline;
  padding:0.3em;
  margin:0.0em;
  border-width: 1px;
  border-color: #ffe #aaab9c #ccc #fff;
  border-style: solid;
  color: #777!important;
  text-decoration: none;
  background: #f7f2ea;
  font-size:0.85em!important;
  font-weight:bold;
}
UL.tabrow0 LI A:focus {
}
UL.tabrow0 LI A span{
#  padding:0px;
}
.tabtree ul.tabrow0 li a {

}
ul.tabrow0 li a.here {
  background: #f0e7d7;
  color: #800000;
}
ul.tabrow0 li a:hover,
UL.tabrow0 LI A:focus {
  color: #FBFBF5!important;
  background:transparent;
  background-color:#4D1700;
  border-color: #aaab9c #fff #fff #ccc;
}
ul.tabrow1 {
/*  background-color:#4D1700!important;*/
  border-style:none;
  margin-top:10px;
  padding-top:0px;
  padding-bottom:0.8em;
}
.here.selected a {
  color:#4D1700!important;
}
.here.selected a:hover {
  border-width: 1px;
  border-color: #ffe #aaab9c #ccc #fff;
  border-style: solid;
  background:#f7f2ea;
  color:#4D1700!important;
}
.here.selected .tabrow1 a:hover {
  background:#4D1700!important;
  color:#FBFBF5!important;
}


ul.tabrow1.empty,
ul.tabrow2.empty {
  display:none;
}
/*override tab gifs in standard theme*/
.tabrow0 A,
.tabrow0 A span,
.tabrow0 A.here span,
.tabrow0 .last span,
.tabrow0 A:hover,
.tabrow0 A.here:hover,
.tabrow0 A:hover span,
.tabrow0 A.here:hover span,
.tabrow0 UL,
.tabrow0 .here a:hover,
.tabrow0 a:hover span,
.tabrow0 .here a:hover span {
  background-image: none;
}

.tabrow0 A span {
  padding:0.0em;
}
/* end tabs * *********************************************************************/


/*** User ***/
.userinfobox .username {
  font-weight: bold;
}

.userinfobox .links {
  font-size: inherit;
}

#user-index #longtimenosee {
  font-size: inherit;
}

img.userpicture,
img.icon.message {
  display:inline!important;
}

.userinfobox {
  background-color:#FBFBF5;
}
.groupinfobox {
  background-color:#FBFBF5;
}
.userinfobox {
  margin-bottom:5px;
  border-width: 1px;
  border-style: solid;
  border-collapse: separate;  
}

.userinfobox .left {
  padding: 10px;
  width: 100px;
  vertical-align: top;
}
.userinfobox .content {
  padding: 10px;
  vertical-align: top;
}
.userinfobox .links {
  width: 100px;
  padding: 5px;
  vertical-align: bottom;
}
.userinfobox .list td {
  padding: 3px;
}
.userinfobox .username {
  padding-bottom: 20px;
}  

table.userinfobox {
  margin:auto;
  margin-bottom:5px;
  width: 90%;
}

table.groupinfobox {
  width: 60%;
  margin-left: 20%;
  margin-right: 20%;
  border-width:1px;
  border-style:solid;
  margin-bottom: 20px;
}

.groupinfobox .left {
  padding: 10px;
  width: 100px;
  vertical-align: top;
}

#user-index h2 {
  text-align: center;
}

#user-index #longtimenosee,
#user-index #showall {
  text-align: center;
}

#user-index #showall {
  margin: 10px 0px;
}

#user-index table#teachers, 
#user-index table#students {
  margin: auto;
  width: 90%!important;
}
#user-index table#teachers td,
#user-index table#teachers th,
#user-index table#students td,
#user-index table#students th {
  vertical-align: middle;
  text-align: left;
  padding: 4px;
}

#user-index table.controls {
  background-color:#FFFAE6;
  margin:auto;
  width: 90%!important;
}
#user-index table.controls tr {
  vertical-align: top;
}
#user-index table.controls td.right,
#user-index table.controls td.left {
  padding: 4px;
}
#user-index table.controls .right {
  text-align: right;
}
#user-index td.links {
  font-size:85%;
}
/*** Modules: Assignment ***/

#mod-assignment-view #intro .generalboxcontent{
  background-color:#FBFBF5;
  padding:10px;
}
#mod-assignment-index .cell {
  font-size: inherit;
}
#mod-assignment-view .reportlink {
  margin:5px;
}
#mod-assignment-submissions table.submissions td,
#mod-assignment-submissions table.submissions th {
  font-size:85%
}
/*** *** Modules: Chat ***/
#mod-chat-gui_header_js-jsupdate,
#mod-chat-gui_header_js-users {
  background-color: #FFFFFF;
}
#mod-chat-gui_header_js-jsupdate td {
  background-color:white!important;
}
.chat-message .title {
  color:#FF4D00;
  font-weight:bold;
}
#mod-chat-index td {
  font-size: inherit;
}
/*** *** Modules: Choice ***/
#mod-choice-index .cell {
  font-size: inherit;
}
#mod-choice-view form {
  background-color:#FBFBF5;
}
/*** *** Modules: Forum ***/
.forumpost {
  margin-top: 15px;
  font-size: inherit;
}
.forumpost .topic .subject,
.forumpost .topic .subject a{
  color:#999;
}
.forumpost .topic .author {
  font-size: 85%;
}
.forumpost a:hover {
  color:white!important;
}
.forumpost:hover .topic .subject,
.forumpost:hover .topic .subject a {
    color: #4D1700;
}
.forumpost .commands, .forumpost .commands a,
.forumpost .footer a {
    color: #999;
}
.forumpost .author, .forumpost .author a {
    color: #777;
}

.forumpost:hover .commands a,
.forumpost:hover .author a,
.forumpost:hover .footer a {
    color: #190055;
}

.forumpost:hover .commands,
.forumpost:hover .author {
    color: #190055;
}

.forumthread {
  font-size: inherit;
  line-height:1.5em;
}
.forumnodiscuss{
}
.forumpost .commands,
.forumpost .link {
  font-size: inherit;
}
.forumheaderlist .discussion .lastpost {
  font-size: inherit;
}
#mod-forum-search .introcontent {
  font-weight:bold;
}
#mod-forum-index .generalbox .cell {
  font-size: 85%;
}
#mod-forum-index .generaltable {
  width:90%;
}


.forumpost .topic {
  padding: 4px;
  border-style:solid;
  border-width: 0px;
  border-bottom-width: 1px;
}

.forumpost .commands {
  padding-top: 0.5em;
  text-align:right;
  clear: both;
}

.forumpost .ratings {
  padding-top: 1em;
  text-align:right;
}

.forumpost .attachments {
  padding: 7px;
  text-align:right;
}


.forumpost .footer {
  padding-top: 0.5em;
  text-align:right;
}

.forumpost .link {
  padding-top: 0.5em;
  text-align:right;
}
.mod-forum .indent {
  margin-left: 20px;
}
#mod-forum-discuss .forumthread {
  background-color:#FBFBF5;
  border-left-color:transparent;
  border-left-style:solid;
  border-left-width:8px;
  font-size:85%;
}
#mod-forum-discuss .forumthread:hover {
  background-color:#FBFBF5;
  border-left-color:#FF0000;
  border-left-style:solid;
  border-left-width:8px;
  font-size:85%;
}
.forumpost .header {
  background-image:none!important;
  background-color:#D5CEBC;
}
#user-view .forumpost,
.course .forumpost {
  width: 100%;
}

#mod-forum-search .c0 {
  text-align: right;
}

#mod-forum-search .introcontent {
  padding: 15px;
}

.forumolddiscuss {
  text-align: right;
}

.forumheaderlist {
  width: 100%;
}

.forumheaderlist td {
  border-width:1px 0px 0px 1px;
  border-style:solid;
}

.forumheaderlist .replies {
  text-align: center;
  white-space: nowrap;
}

.forumheaderlist .picture {
  width: 35px;
}

.forumheaderlist .discussion .starter {
  vertical-align: middle;
}

.forumheaderlist .lastpost {
  white-space: nowrap;
  text-align: right;
}

.forumheaderlist .discussion .author {
  white-space: nowrap;
}
.forumolddiscuss {
  text-align:right;
}
.forumaddnew, .forumnodiscuss, .noticeboxcontent {
  padding-bottom:10px;
  text-align:center;
}
#mod-forum-view .unread {
  padding-left: 3px;
  padding-right: 3px;
}
#mod-forum-discuss .forumpost.unread .content {
  border-style: solid;
  border-width: 2px;
}
#mod-forum-index .unread img,
#mod-forum-view .unread img 
{
  margin-left: 5px;
}
#email {  
  background-color:#FFFAE6;
}
#email .unsubscribelink {
  margin-top:20px;
  border-width: 0px 1px 0px 0px;
  border-style: solid;
  text-align:center;
}

.forumheaderlist, .forumpost {
  border-collapse:separate;
  border-color:#DDDDDD;
  border-style:solid;
  border-width:1px;
}
.forumpost .content {
  background: #FFFFFF;
  padding: 4px;
}
.forumpost .left {
  padding: 4px;
  text-align: center;
  vertical-align: top;
  width: 35px;
}

.forumpost .topic {
  background:#FFFAE6; 
  border-bottom-color: #F1F1DF;
}
.forumpost .starter {

  background:#FFCC00; 
}
.forumheaderlist .discussion .starter {
  background:#FFFAE6; 
}

.forumheaderlist td {
  border-color: #FFFFFF;
}

.forumthread .unread {
  background: #FFD991;
}
#mod-forum-discuss .forumpost {
  background: none;
  padding-right:4px;
}
#mod-forum-discuss .forumpost.unread .content {
  border-color: #FFD991; 
} 
#mod-forum-discuss .forumthread .unread {
} 
#mod-forum-index .unread {
}

/*** Modules: Glossary ***/
#mod-glossary-view #content {
  margin-bottom:0px;
  padding-bottom:0px;
}
#mod-glossary-view #page {
  margin-bottom:0px;
  padding-bottom:0px;
}

#mod-glossary-view #intro {
  margin-bottom:5px;
}
#mod-glossary-view .glossarydisplay .entrybox {
  background-color:#FBFBF5;
  padding-top:2em;
}
#mod-glossary-view .glossarydisplay .categoryheader {
  background-color:#FFCC00;
}
.tabrow {  
  background-color:transparent;
}
.glossaryaddentry {
  margin-top:0px;
  margin-bottom:0px;
  padding-bottom:0px;
  padding-top:0px;
}

.glossarypost .commands {
  font-size: inherit;
}
.glossarypost .entryheader .author, .glossarypost .entryheader .time {
  font-size: inherit;
}
.glossarypost .entryheader .time {
  font-size: inherit;
}
.glossarypost .dictionary {
  font-size: inherit;
}
.concept {
  font-weight: bold;
}
.glossarycomment .time {
  font-size: inherit;
  font-style: italic;
}
.entrylowersection .aliases {
  font-size: inherit;
  text-align:center;
}
.entrylowersection .icons,
.entrylowersection .ratings {
  font-size: inherit;
}

#mod-glossary-index .cell {
  font-size: inherit;
}
.glossarypopup {
  font-size: inherit;
  width: 95%;
}
.glossarypost {
  background-color:#FBFBF5;
  border-width:1px;
  border-style:solid;
  border-collapse:separate;
  font-size: inherit;
  margin-bottom: 5px;
  text-align: left;
  width: 95%;
}
.glossarypost .commands {
  width: 200px;
  white-space: nowrap;
}
.entrylist {
  border-width:0px;
}
.entrylowersection {
  padding-top: 10px;
}
.entrylowersection table{
  width: 100%;
}
.entrylowersection .icons,
.entrylowersection .ratings {
  text-align:right;
  padding-right: 5px;
}
.icons a {
  padding-right:5px;
}
.entrylowersection .ratings {
  padding-bottom: 2px;
}
.categoryheader {
  background-color: #dddddd;
  width: 95%;
}
.glossaryformatheader {
  background-color:#FF4D00!important;
  line-height:140%;
  width: 90%;
}
.glossarycomment {
  border-color: #DDDDDD;
  border-width:1px;
  border-style:solid;
  border-collapse:separate;
  margin-bottom: 5px;
  text-align: left;
}
.glossarycomment .entry {
  background-color:#FFFAE6;
  padding: 3px;
}
.glossarycomment .picture {
  width: 35px;
}
.glossarycomment .icons {
  text-align: right;
}
.glossarydisplay {
  width:100%;
}
.glossarydisplay .separator {
  width: 4px;
}
.glossaryapproval {
  width: 100%;
}
.mod-glossary .tabs {
  margin-bottom: 0px;
}
.mod-glossary .tabs .side {
  border-style: none;
  border-width: 0px;
  width: auto;
}
.entrybox {
  border-color: #BBBBBB;
}
.entry {}
.glossarypost {
  border-color: #DDDDDD;
}

.glossarypost .entryheader,
.glossarypost .entryapproval,
.glossarypost .picture,
.glossarypost .entryattachment,
.glossarypost .left {
  background-color: #FBFBF5;
}
.glossarycomment .entryheader,
.glossarycomment .picture,
.glossarycomment .left {
  background-color: #FBFBF5;
  font-size:85%;
}
.glossarypost .entry {
  padding:5px;
}
.glossarypost .picture {
  width: 35px;
}
#mod-glossary-report .generalbox .teacher {
  background: #FBFBF5;
}
.glossaryformatheader {
  background-color: #dddddd;
}
#mod-glossary-showentry {
  width:auto;
}
/*JR to hide potentially pesky links to course glossaries & parts of course*/
/*this one works in Mozilla only*/
#mod-glossary-showentry p[align="right"] {
  display:none;
}
#mod-glossary-showentry .entrylowersection,
#mod-glossary-showentry .logininfo,
#mod-glossary-showentry .navbar {
  display: none;
}

/*** Modules: Journal ***/
#mod-journal-view .lastedit,
#mod-journal-view .editend {
  font-size: inherit;
  margin: 5px;
  text-align: center;
}
#mod-journal-view .feedbackbox {
  width: 75%;
  border-collapse: separate;
}
#mod-journal-view .entrycontent {
  padding: 3px;
}
#mod-journal-view .picture {
  width: 35px;
}
#mod-journal-view .grade {
  font-weight: bold;
  font-style: italic;
  text-align: right;
}
#mod-journal-view .info {
  margin-bottom: 5px;
  text-align: right;
}
#mod-journal-view .feedbackbox .left,
#mod-journal-view .feedbackbox .entryheader {
  background-color: #dddddd;
}
#mod-journal-view .author {
  font-size: inherit;
  font-weight: bold;
}
#mod-journal-view .time {
  font-size: inherit;
  font-style: italic;
}
#mod-journal-index .cell {
  font-size: inherit;
}

/*** *** Modules: Label ***/

/*** *** Modules: Lesson ***/
#mod-lesson-report table.generalbox {
  width:90%;
}
#mod-lesson-report td{
}
#mod-lesson-report .c0{
  text-align:left;
}
#mod-lesson-report .c1{
  border-left:1px solid black;
}
#mod-lesson-report .header {
  background-color:#4D1700;
  background-image:none;
  font-size:85%;
}
.mod-lesson img {
  border:0;
}
.mod-lesson .hidden-label {
  display: none;
}
.mod-lesson .footer {
  padding-top:40px; margin-top:40px;
}
.mod-lesson .footer a:link, 
.footer v:link, 
.footer a:visited {}
.mod-lesson .leftmenutable {
  height:400px;
  overflow:auto;    
  vertical-align:top;
  width:170px;
}
.mod-lesson .leftmenu a:link, 
.leftmenu a:active, 
.leftmenu a:visited, 
.leftmenu1 a:link, 
.leftmenu1 a:active, 
.leftmenu1 a:visited{
  font-size:.7em;
  vertical-align:top;
}
.mod-lesson .main a:link, .main a:active, .main a:visited{
}
.mod-lesson .separator {
  border-top:#660033 thin solid;
  padding-bottom:1em;
}
.mod-lesson .viewpos {}
#mod-lesson-view .generalbox {
  margin-left:auto;
  margin-right:auto;
  width: inherit;
  background-color:#FBFBF5;
}
#mod-lesson-view .generalbox .generalbox {
  border-style:hidden;
}
#mod-lesson-view .generalboxcontent table {
  width:auto;
}
/*to reduce oversize table row spacing between questions*/
#mod-lesson-view .generalboxcontent table tr td br{
  font-size:1px;
  line-height:1px;
  margin:0px;
  padding:0px;
}
#mod-lesson-view .generalbox table td{
  text-align:left;
  vertical-align: middle;
  width:auto;
}
/* Lesson buttons in 1.6 */
.mod-lesson .lessonbutton {
  margin-bottom:0.5em;
}
.mod-lesson .lessonbutton a {
  font-size:85%!important;
}

.mod-lesson .lessonbutton a:link,
.mod-lesson .lessonbutton a:visited, 
.mod-lesson .lessonbutton a:hover {
  background-color:#4D1700;
  border-bottom:1px solid black;
  border-left:1px solid white;
  border-right:1px solid black;
  border-top:1px solid white;
  color:#FBFBF5;
  padding-bottom:2px;
  padding-left:10px;
  padding-right:10px;
  padding-top:2px;
  font-size:12px;
  width:auto;
}

.mod-lesson .lessonbutton a:hover,
.mod-lesson .lessonbutton a:focus {
  background-color:#FFCC00;
  color:#4D1700!important;
}
.branchbuttoncontainer {
  text-align:left!important;
}
.branchbuttoncontainer .lessonbutton {
  text-align:left!important;
}
.branchbuttoncontainer br{
  line-height:0px;
}
.branchbuttoncontainer .standardbutton.standardvertical{
  padding-top:5px;
}
/*** *** Modules: Quiz ***/

.editorhelptext {
  font-size: inherit;
}
#mod-quiz-attempt form input {
  margin-top:5px;
}

#mod-quiz-attempt .que,
#mod-quiz-review .que,
#question-preview .que {
  background-color:#FFFAE6;
}
body#question-preview {
  width:auto;
}
#mod-quiz-attempt .prompt,
#question-preview .prompt  {
 display:none;
}
#mod-quiz-attempt .answer,
#mod-quiz-review .answer,
#question-preview .answer {
  background-color:#FFFAE6!important;
  float:left;
  width:auto;
}
#mod-quiz-attempt .answer td.feedback,
#question-preview .answer td.feedback {
}

#mod-quiz-attempt .answer td.feedback,
#question-preview .answer td.feedback {
}

.mod-quiz .generalbox .generalboxcontent {
  text-align:left !important
}
.mod-quiz .generalboxcontent table[align=right],
.mod-quiz .generalboxcontent p[align=right] {
  float:left
}
* html .mod-quiz .generalboxcontent table,
* html .mod-quiz .generalboxcontent p {
  float:left
}

#mod-quiz-attempt .singlebutton form input {
  margin-top:0px;
}
#mod-quiz-index table.generalbox {
  width:100%;
}
#mod-quiz-index .cell {
  font-size: inherit;
}
#mod-quiz-preview {
  width:auto;
}
#mod-quiz-report {
  width:auto;
}
#mod-quiz-report #content {/*JR+*/
  font-size: inherit;
}
#mod-quiz-report table#attempts td {
  border-color: #dddddd;
  border-left-width: 1px;
  border-right-width: 1px;
  border-left-style: solid;
  border-right-style: solid;
  vertical-align: bottom;
}
#mod-quiz-report table#attempts .r1 {
  background-color: #F1F1DF;
}
.feedbacktext {
  background-color:inherit;
  border-left-color: #4D1700;
  border-left-style:solid;
  border-left-width:5px;
/* color depends on correctness (see below)*/
  display:block;
  padding-left:0.5em;
  text-align:left;
}
.correct {
  color:blue!important;
}
.incorrect {
  color:red!important;
}
.que.multianswer .correct {
  background-color:#afa;
  color:#000000!important;
}
.que.multianswer .partialcorrect {
  background-color:#FFE680;
  color:#000000!important;
}
.que.multianswer .incorrect {
  background-color: #FFA680;
  color:#000000!important;
}
.que.multianswer .correctness {
  background-color: inherit;
}

#mod-quiz-report table#attempts,
#mod-quiz-report table#commands,
#mod-quiz-report table#itemanalysis
{
  margin: auto;
}
#mod-quiz-report table#attempts .header,
#mod-quiz-report table#attempts .cell
{
  padding: 4px;
}
#mod-quiz-report table#attempts .header .commands {
  display: inline;
}
#mod-quiz-report table#attempts .picture {
  width: 40px;
}
#mod-quiz-report table#attempts .header {
  text-align: left;
}
#mod-quiz-report table#attempts .picture {
  text-align: center !important;
}
#mod-quiz-report .controls {
  text-align: center;
}
.quiz-report-title {
  text-align: center;
  font-weight : bold;
}
.grade {
  font-size: small;
  margin-top: 10pt
}
.gradingdetails {
  font-size: small;
}
#mod-quiz-report table#itemanalysis {
  margin: 20px auto;
}
#mod-quiz-report table#itemanalysis .header,
#mod-quiz-report table#itemanalysis .cell
{
  padding: 4px;
}
#mod-quiz-report table#itemanalysis .header .commands {
  display: inline;
}
#mod-quiz-report table#itemanalysis td {
  border-width: 1px;
  border-style: solid;
}
#mod-quiz-report table#itemanalysis .header {
  text-align: left;
}
#mod-quiz-report table#itemanalysis .numcol {
  text-align: center;
  vertical-align : middle !important;
}
#mod-quiz-report table#itemanalysis .partialcorrect {
  color: green !important;
}
#mod-quiz-report table#itemanalysis .qname {
  color: green !important;
}
#mod-quiz-view #middle-column table.generalbox {
  margin-left: auto;
  margin-right: auto;
  width:85%;
}
#mod-quiz-attempt #timer {
  left:10px;
  position: absolute;
  top:100px;
}
/*** *** Modules: Resource ***/
#mod-resource-view .generalbox {
  background-color:#FBFBF5;
}
#mod-resource-index .cell {
  font-size: inherit;
}
#mod-resource-index #content {
  margin-bottom:5px!important;
  padding-bottom:10px!important;
}

/*** *** Modules: Scorm ***/
#mod-scorm-index .cell {
  font-size: inherit;
}

/*** *** Modules: Survey ***/
#mod-survey-index .cell {
  font-size: inherit;
}
#mod-survey-view .r0 {
  background-color: #F1F1DF;
}
#mod-survey-view .r1 {
  background-color: #DDDDDD;
}

/*** *** Modules: Wiki ***/
#mod-wiki-index .cell {
  font-size: inherit;
}

/*** *** Modules: Workshop ***/
#mod-workshop-index .cell {
  font-size: inherit;
}
.workshoppostpicture {
  background-color:#FEE6B9;
}
.workshopassessmentheading {
  background-color:#DDDDDD;
}
/*JR+ 22 JUIN 2005 affichage dans les feedbacks des quiz*/
.correctness,
.feedbacktext {
  font-size:85%;
}
.correctness {
  border-left-style:solid;
  border-left-width:5px;
  padding-left:0.5em;
}
.correctness.correct {
  border-left-color:blue;
}
.correctness.incorrect {
  border-left-color:red;
}
.correctness.partiallycorrect {
  border-left-color:orange;
}

.editing .commands a:hover {
  background-color:#FFCC00;
  color:#4D1700;
}
.right a:hover,
#admin-filters .c1 a:hover,
#admin-filters .c2 a:hover {
  background-color:#FFCC00;
}
#admin-filters .c3 a:hover {
  background-color: #4D1700;
}

/*JR --------------------------------------------*/
#course-view .c1 a,
#site-index .c1 a {
  display: block;
  text-align:left;
}
/* Adds all the nice finish to the standard theme  */
.header {
  background-color:#4D1700;
  background-image:url(choc_gradient01.gif);   
  background-position:top;  
  background-repeat:repeat-x;
  color:#FBFBF5;
}
th.header a:link,
th.header a:visited {
  color:#FFCC00!important;
}
/*JR customization of input buttons works in firefox and MSIE 7+*/
input[type="submit"], 
input[type="button"] {
  background-color:#4D1700;
  border-bottom:1px solid black;
  border-left:1px solid white;
  border-right:1px solid black;
  border-top:1px solid white;
  color:#FBFBF5;
  padding-bottom:2px;
  padding-top:2px;
  font-size:0.9em;
  width:auto;
}
.searchform button[type="submit"],
input[type="submit"]:hover, 
input[type="button"]:hover,
input[type="submit"]:focus, 
input[type="button"]:focus {
  color:#4D1700;
  background-color:#FFCC00;
  text-decoration: none;
}
.searchform button[type="submit"]:hover {
}
input[type="text"] { /* for better legibility, to replace default MS Dlg font (= Arial-like)*/
  font-family:Verdana, Arial, Helvetica, sans-serif;
  font-size:0.9em;
}
.headermenu input[type="submit"] {
  font-weight:bold;
  height:22px;
  width:10px;
}
.headermenu input[type="submit"]:hover {
  background-color:#FF4D00;
}

/*truc du theme Kubrik*/
/* hide icons in sideblocks */

#right-column .sideblock .c0 {
  display:none;
}


#right-column .block_calendar_upcoming .content img { /*MODIF 1.6*/
}
.block_calendar_upcoming .content .footer br {
  display: block;
}
.block_calendar_upcoming .content .footer {
  text-align:left;
}

/* hide move sideblock left controls */
a.left {
    display: none;
}
#my-index a.right,
#my-index #right-column {
    display: none;
}
#my-index .coursebox {
  background-color:#FFFAE6;
  width:95%;
}
/*ATTENTION pour eviter blocage s'il reste des blocs a gauche d'un theme precedent: on peut toujours les voir et les ramener  droite en mode edit*/

#course-view #left-column,
#site-index #left-column {
	display: none;
}
.editing#course-view #left-column,
.editing#site-index #left-column {
  display:block;
  width:auto!important;
}
.editing#course-view .weekscss-format #left-column {
  display:block;
  width:11.5em!important;
}

#site-index .coursebox,
#site-index #left-column {
  width:auto!important;
}

/* END KUBRIK theme*/
/* JR various */
/* removes topic collapse for students see http://moodle.org/mod/forum/discuss.php?d=10468#152616*/
#course-view .section .right.side a {
  display:none;
}
.editing#course-view .section .side a {
  display: inline;
}
/*to override the (deprecated & pesky) nowrap table attribute in some Moodle tables MODIFIED 07 MAR 2006*/

.entrybox td {
  white-space: normal;
}
#mod-lesson-view form td,
#course-mod td {
  white-space: normal!important;
}
#site-index td .logininfo {
  white-space:nowrap;
}

.blockconfigglobal {
  background-color:#F1F1DF;
}
.blockconfiginstance {
  background-color:#F1F1DF;
}
#right-column,
#right-column .content {
  padding-right:8px;
}
#right-column .content {
  background-color:#FFFAE6;
}

a.icon {
  border-bottom-style:hidden;
}
#course-log h2 {
  font-size:85%
}
#course-import .generalbox {
  margin-left:auto;
  margin-right:auto;
  width:auto;
}
#course-import .generalbox td {
  font-size:90%;
}
/*to use for local help provided through the title attribute*/
span.help {
  color:red;
  cursor:help;
  font-weight:bold;
}
/*to display and print title tags - works in Firefox, not MSIE 6*/
#mod-glossary-print #page #content td {
  font-size: 80%!important;
}
#mod-glossary-print span.help:after {
	content:""attr(title);
    color:black;
    font-style:italic;
	font-weight:normal;
}
#mod-glossary-print a:after {/*to display external sites resources*/
	content:" "attr(href);
    color:black;
    font-style:italic;
	font-weight:normal;
}
#mod-glossary-print a.glossary:after {/*to NOT display inside glossary links*/
	content:"";
}
#mod-glossary-print .entrylowersection {
  display:none;
}
#mod-glossary-print td.entry {
    page-break-inside:avoid;
}

/* s'utilise en lien avec le script wz_tooltips.js */
acronym {
	background-color:#F1F1DF;
	border-bottom: thin dotted #FF0000;
	cursor: help;
	padding-bottom:1px;
}
/* --- external sites hyperlinks ---*/
.n_external-site:link,  .n_external-site:active,  .n_external-site:visited {
	color: #4D1700!important;
}
.n_external-site:hover {
  background-color:#FF4D00!important;
  color:#FFFFFF!important;
}
.n_external-site span{
	background-color: #FF4D00;
	color: #ffffff;
}
.n_external-site:hover span {	border-bottom-width:0px!important;
}
/* styles to be used within the HTML editor */
#myresource p {
}
/* added 20 NOV 2005*/
/* 	see forum http://moodle.org/mod/forum/discuss.php?d=34652&parent=161294 */
body.message,
body.message #page {
  background: #FFFAE6;
  width: auto;
  margin: 0;
  padding: 0;
}

#message-user,
#message-user #page,
#message-user #content {
  padding: 0;
  background: #FFFAE6;
}
/* -------------------- */
/*1.6 from normal theme*/
/*Accessibility: resizable icons. */
img.resize {
  width: 1.2em;
  height: 1.2em;
}
/* do NOT resize this GIF: it looks horrible! JR  */
.breadcrumb img.resize {
  width: 20px;
  height: 17px;
}
.breadcrumb img {
  vertical-align: middle;
}

/*Accessibility: Skip block link, for screen reader users. */
a.skip-block, .skip-block {
  display:none;
}
/* RSS to override moodle\blocks\rss_client\styles.php */
.blockconfigtable #rssfeeds tr.r0 {
  background-color: #FFCC00;
}

.blockconfigtable #rssfeeds tr.r1 {
  background-color: #FF4D00;
}
.block_rss_client .title {
  font-weight:bold;
}
.block_rss_client .link a {
  display:block;
}
.block_rss_client .link {
  padding:0px;
}
.block_rss_client .description {
  padding-bottom:2px;
}

#rssfeeds .title,
#rssfeeds .url,
#rssfeeds .description {
  background-color:#FFFAE6;
}
body#mod-quiz-edit #page { /*to allow more horizontal space for editing quizzes*/
  width:900px;
  padding-right:10px;
}
body#mod-quiz-edit .generalbox .generalbox a:hover {
  background-color: #FFCC00;
}
body#question-edit #page #content table {
  width:100%;
}
#categoryquestions a:hover {
  background-color: #FFCC00;
}
body#question-edit #page #content table.tabs {
  width:auto!important;
}
body#question-export #content p,
body#question-export #content .notifyproblem,
body#question-import #content p,
body#question-import #content .notifyproblem {
  background-color:#FBFBF5;
  margin-left:8px;
  margin-right:8px;
  padding:8px;
}
.categoryquestions tr {
  vertical-align:top;
}
.multichoice .text,
.multichoice .feedback {
  width: auto!important;
}
span.right {
font: italic bold 18pt "Tahoma", "sans-serif";
color: lime;
}
span.right:before {
content: url(pix/mod/quiz/icon.gif);
display: inline;
}
span.wrong {
font: italic bold 18pt "Tahoma", "sans-serif";
color: maroon;
}
span.wrong:before {
content: url(pix/mod/glossary/export.gif);
display: inline;
}
/*----------------------------------*/
form.popupform option,
form.popupform select {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  color:#4D1700;
  background-color:white;
}
form.popupform option {
  background-color:white;
}
abbr {
  cursor:help;
}
.generalboxcontent .generaltable {
  width:100%;
}
.generalbox .generalboxcontent .generaltable {
  width:100%!important;
}
#files-index .generalboxcontent {
  background-color:#FFCC00;
}
/*JR works in FF only*/
input[name="saveattempt"] {
  display:none;
}
#overDiv table td div {
  font-size:0.9em!important;
  font-family:Verdana, Arial, Helvetica, sans-serif!important;
  text-align:left!important;
}
/* ----------------------------- */
/* 1.8 */
div .box.copyright {
  margin-left:20px;
}

.felement.error {
  background-color: #FFFAE6;
}
.felement.error {
  width:75%!important;
}
.felement.fstatic {
  width:80%!important;
}
form.mform {
  width: 95%; /* JR (instead of ???) */
}

form.mform .fitemtitle {
  display: block;
  float: left;
  width: auto; /* JR (instead of 30%) */
  min-width:15%;
  padding: 0;
  margin: 5px 0 0 10px;
  text-align: left;
}
.nocoursepage #page p a{
  background-color:#F1F1DF;
  padding:2px;
}
.nocoursepage #page p a:hover,
.nocoursepage #page p a:active{
  background-color:#FFCC00;
  color: #000000!important;
}/***** orange/orangechoc.css end *****/


