/* Core */

#shrinkwrapper {
  width: 900px;
  margin: 0 auto;
}

.singlebutton {
  margin: 10px;
}

.generalbox.sitetopic {
  background: none;
  border: none;
}

legend.ftoggler,
#notice.generalbox p,
table.translator,
#course-index .categorylist,
.loginbox,
#login-forgot_password .generalbox {
  border: 0.1em solid #ddd;
  background: #f5f5f5;
  padding:0 2px;
}

.loginbox.twocolumns .loginpanel {
  border-right-color: #ddd;
  border-right-style: dashed;
}

.htmlarea table td {
  padding: 0 !important;
}

/* Header */

#header-home {
  height: 150px;
}

#header-home .headermain {
  position: absolute;
  left: -9999px;
}

#header .headermain {
  padding-top: 25px;
}

.headerimg  img{
  padding-top: 55px;
  width: 500px;
}

#header-home .description {
}

#header-home .headermenu .logininfo {
  float: left;
  margin-right: 1em;
  line-height: 2em;
}

.headermenu {
  background: #cfd8dd;
  padding: .5em 1em;
  font-size: .85em;
}

/* Footer*/

#footer {
  padding-top: 20px;
}

/* Breadcrumb */

.navbar {
  border-width: 1px 0 1px 0;
  margin: 5px 0 10px;
}

.navbar .breadcrumb {
  margin-top: 0.3em;
}

.navbutton table {
  margin-bottom: 0;
}

/* Admin */ 

body#admin-index .copyright {
  text-align: center;
  font-size: 0.8em;
}

.environmenttable {
  font-size: 0.8em;
}

.backup #form1 table {
  background: #f9f9f9;
}

.backup #form1 table td {
  padding: 3px;
}

.backup table {
  margin: auto;
}

.settingsform fieldset {
  border-width: 1px;
}

.admin .boxwidthnormal {
  border: 0.1em dashed #ddd;
  background: #eee;
}

#admin-calendar_weekend table {
  width: 77% !important;
}

.logselectform {
  text-align: center;
}
/* Sideblocks */

.sideblock .title h2 {
  font-size: 1em;
}

.sideblock ul li {
  padding:2px 7px;
}

.sideblock .content {
  padding-top: 0;
  background: none;
}

.block_online_users ul li,
.block_blog_tags ul li,
.block_rss_client ul li .link {
  border: 0;
}

.block_messages .content .listentry,
.block_online_users .content .listentry {
  font-size:0.85em;
}

.sideblock .date {
  font-size: 0.85em;
}

.sideblock h3 {
  padding:1em 0 0;
}

#left-column .hidden .header,
#right-column .hidden .header
{
  border-bottom:none;
}

.sideblock .footer {
  font-size: 0.9em;
}

.sideblock .hide-show-image {
  display:none;
}
/* Course */

.section .content {
  border-color: #ddd;
}

.section .side {
  border-color: #ddd;
  background: #f5f5f5;
}

#course-view .current .side {
  background: #e2ff80;
}

.coursebox {
  border-bottom: 1px dashed #ddd;
  padding-bottom: 10px;
}

#course-index table.categorylist td.category{
  padding-top: 25px;
}

#course-index .categorylist,
#course-category .courseboxes {
  width: 75%;
  margin: auto;
}

#course-index .categorylist {
  margin-bottom: 20px;
}

.categorybox td.category {
  font-weight: bold;
}

.categorybox td.course {
  padding-left: 15px;
}

#coursesearch {
  margin-top: 20px;
}

#course-view .section  {
  background-color:#f9f9f9;
  /*border-bottom:1px solid #fff;*/
  padding:0.2em 0;
}



#course-view .section .activity {
  background-color:#f9f9f9;
  /*border-bottom:1px solid #fff;*/
  padding:0.2em 0;
  clear: left;
}

#course-view .section .csactivity {
  background-color:#f9f9f9;
 /* border-bottom:1px solid #fff;*/
  padding:0.2em 0;
  margin-right: 5px;
  float: left;
}


#course-view .section .label {
  background:none !important;
}

#course-recent .generalbox {
  padding:5px 10px 0;
}

.groupmanagementtable td {
  padding: 25px;
  background: #f9f9f9;
}

/* Calendar */

#calendar .maincalendar .controls .current {
  font-weight: bold;
  text-transform: uppercase;
}

#eventform table td p {
  padding:10px;
  text-align: center;
}

#calendar .sidecalendar,
#calendar .maincalendar {
  border: none;
}

#calendar-export .header {
  text-align: center;
  font-weight: bold;
}

#calendar-export fieldset {
  border: 1px solid #ddd;
  width: 50%;
  margin: auto;
  padding: 10px 20px;
}

#calendar-export legend {
  border: 1px solid #ddd;
  padding: 1px;
  background: #eee;
}

/* Forums */

.forumpost .topic {
  border-bottom: 1px solid #e0e4e7;
  background: #f9f9f9;
}

.forumpost .content {
  border-bottom: 3px solid #e0e4e7;
}
.forumpost .subject {
  font-size: 1.1em;
  color: #2b4135;
}

.forumpost .author {
  font-size: 0.9em;
  line-height: 0.9;
}

.subscription {
  margin: 0 0 15px;
}

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

.forumheaderlist .discussion .lastpost {
  font-size: 0.8em;
}

#searchform .searchbox {
  border: 1px dashed #ddd;
  background: #eee;
}

#searchform .searchbox td {
  padding: 5px;
}
#searchform .searchbox .submit {
  text-align: center;
  padding: 10px;
}
/* Blog */

#blog-preferences .generalbox {
  width: 55%;
}

#blog-preferences .generalbox td {
  text-align: center;
  padding: 5px;
}

#blog-tags table {
  margin: 25px;
}
/* Users */

.userinfobox {
  margin-bottom: 20px;
}

.userinfobox .content {
  border:3px solid #ddd;
  background: #f5f5f5;
}

/* Tables */

table {
  margin-bottom: 1em;
}

th,td {
  height: 1em;
  padding: 0.2em;
}

th {
  font-weight: bold;
}

.forumheaderlist,
.generaltable,
.tabledivider,
.generaltable.generalbox,
.logtable,
#categoryquestions,
.grades,
.quizquestions table,
table.editcourse,
#movecourses table {
  border:0.1em solid #ddd;
}

#theme-index table th,
#movecourses table th,
.editcourse th,
#rolesform table th,
.generaltable th,
.forumheaderlist th,
.files th,
.logtable th,
#theform table th,
#categoryquestions th,
td.generaltableheader,
.quizquestions table th {
  border-bottom: 0.3em solid #ccc;
  background: #ddd;
  text-align: center;
  text-transform: uppercase;
  padding-bottom: 0;
}

#movecourses table td,
.editcourse td,
#rolesform td,
.forumheaderlist td,
.generaltable .cell,
.logtable td,
#categoryquestions td,
.grades td {
  border: none !important;
  padding: 3px;
}

.editcourse td {
  font-size: 0.9em;
}

#theme-index table td,
#movecourses table td,
.logtable td,
#theform table td,
.files td,
.grades td,
#grade-index .generalbox td,
body#mod-quiz-report table#attempts .header,
body#mod-quiz-report table#attempts .cell {
  padding-left: 10px;
  padding-right:10px;
}

.forumheaderlist .r1,
.generaltable .r1,
.logtable .r1,
.grades .r0 {
  background: #f5f5f5;
}

/* Quiz */

.que {
  border: 0.1em solid #ddd;
  background: #f7f7f7;
}

.questionbank table {
  margin: 10px auto;
}

.questionbank p {
  text-align: center;
  font-weight: bold;
  padding:5px;
}

#question-import .generalbox,
#question-export .generalbox{
  width:50%;
  margin:20px auto;
  border:0.1em dashed #ddd;
  background: #eee;
}

#question-import .generalbox table td,
#question-export .generalbox table td {
  padding:4px;
}

#mod-quiz-attempt #page .generalbox {
  text-align: left;
}

#mod-quiz-attempt #page .generalbox .boxaligncenter,
.quizquestions #showbreaks,
#attemptsform table#commands td,
#options #overview-options td {
  text-align: center;
}
/* Gradebook */

.grades {
  width: 100%;
}

.grade table th.header {
  text-align: center;
  padding-bottom: 10px;
}

#grade-index #new_category,
#grade-index #delete_category {
  text-align: center;
}

/* Gradebook full of bugs as a result of inadequate hooks in Moodle (ex: buttons align right) */

/* Glossary */

.glossarysearchbox {
  text-align: center;
}

.mod-glossary table.generalbox {
  margin: auto;
}

/* Message */

#message-index table .tabtree{
  margin-top: 10px;
}

#message-history .generalbox table td {
  text-align: center;
  padding: 5px 25px;
}

#message-user .name {
  text-align: center;
  font-size: 1.2em;
  text-transform: uppercase;
}

#message-user .commands span {
  margin-left:0;
  margin-right:5px;
  font-size: 0.8em;
}

.message .time {
  font-style: italic;
}

.message-discussion-noframes {
  padding: 10px 25px;
}

.message-discussion-noframes ul li {
  list-style: none;
}

.message.other {
  color: #222;
}

#message_contacts .heading {
  text-transform: uppercase;
  font-size: 1.1em;
  padding: 7px;
}

#user-messageselect .generalbox table input {
  margin: 35px 0px;
}

/* Help */

#help h1 {
  text-align: center;
}

/* Popups */

#blog-tags #shrinkwrapper,
#message-index #shrinkwrapper,
#message-history #shrinkwrapper,
#message-user #shrinkwrapper,
#message-messages #shrinkwrapper,
#message-send #shrinkwrapper,
#message-discussion #shrinkwrapper,
#help #shrinkwrapper,
#course-info #shrinkwrapper,
#mod-glossary-showentry #shrinkwrapper {
  width: auto;
}


/* Misc. Hacks*/

#user-action_redir .boxaligncenter table td input {
  margin:20px 0 0 325px;
}

.gradeprefs input {
  margin-left: 100px;
}

.singlebutton,
table.generalbox td div,
.branchbuttoncontainer,
#answerform {
  text-align: center;
}

#dates table {
  margin:auto;
}

.debugwarn {
  text-align: center;
  background: #FDD;
}

.my .courseboxcontent .overview .info {
  font-size:0.7em;
}

.sitelink {
  display: none
}

#logo_sm {
  display: none;
}

#site-index #logo_sm {
  display:block !important;
  margin:15px;
}

.firstleveltest {
	clear: both;

}