/**
 * Admin
 **/
.formtable tbody th {font-weight: normal;text-align: right;}

.path-admin .manageauthtable {width:100%;}

#page-admin-index .c0 {vertical-align: top;}
#page-admin-index .c1 {vertical-align: middle;}

#page-admin-blocks .generaltable th,
#page-admin-filters .generaltable th,
#page-admin-auth .generaltable th,
#page-admin-modules .generaltable th,
#page-admin-modules .generaltable td.c0 {white-space: nowrap;padding: 4px;}

#page-admin-blocks .generaltable td.cell,
#page-admin-filters .generaltable td.cell,
#page-admin-modules .generaltable td.cell,
#page-admin-auth .generaltable td.cell{padding: 4px;}

.path-admin .incompatibleblockstable td.c0 {font-weight: bold;}

#page-admin-course-category .addcategory {padding: 10px;}
#page-admin-course-category #movecourses .action-icon .smallicon {margin-right: 0.5em;}
#page-admin-course-index .buttons,
#page-admin-course-category .buttons {margin-bottom: 15px;}
#page-admin-course-index .editcourse {margin:20px auto;}
#page-admin-course-index .editcourse th,
#page-admin-course-index .editcourse td {padding-left:10px;padding-right:10px;}
#page-admin-course-index .editcourse .count {text-align:right;}

#page-admin-report-unittest-index .exception pre {padding: 8px;}
#page-admin-report-unittest-index .unittestsummary {padding: 8px;margin-top: 1em;}
#page-admin-report-unittest-index span.notice {color: teal;}
#page-admin-report-unittest-index b.pass {color: green;}
#page-admin-report-unittest-index b.fail, b.exception {color: red;}
#page-admin-report-unittest-index .exception, .exception pre {background-color: #FDD;}
#page-admin-report-unittest-index .unittestsummary {color: white;}
#page-admin-report-unittest-index .unittestsummary.failed {background-color: red;}
#page-admin-report-unittest-index .unittestsummary.passed {background-color: green;}

#page-admin-report-security-index .timewarninghidden {display:none;}
#page-admin-report-security-index .statuswarning {background-color: #f0e000;}
#page-admin-report-security-index .statusserious {background-color: #f07000;}
#page-admin-report-security-index .statuscritical {background-color: #f00000;}
#page-admin-report-capability-index .rolecaps th {text-align: left;}
#page-admin-report-capability-index #settingsform #capabilitysearch {width: 30em;}

#page-admin-qbehaviours .disabled {color: gray;}
#page-admin-qbehaviours th {white-space: normal;}
#page-admin-qbehaviours .cell.c1,
#page-admin-qbehaviours .cell.c2 {text-align: right;}
#page-admin-qbehaviours .cell.c3 {font-size: 0.7em;}
#page-admin-qbehaviours #qbehaviours div,
#page-admin-qbehaviours #qbehaviours form {display: inline;}
#page-admin-qbehaviours #qbehaviours img.spacer {width: 16px;}

#page-admin-qtypes .disabled {color: gray;}
#page-admin-qtypes th {white-space: normal;}
#page-admin-qtypes .cell.c1,
#page-admin-qtypes .cell.c2 {text-align: right;}
#page-admin-qtypes .cell.c3 {font-size: 0.7em;}
#page-admin-qtypes #qtypes div,
#page-admin-qtypes #qtypes form {display: inline;}
#page-admin-qtypes #qtypes img.spacer {width: 16px;}

.path-admin-roles .buttons .singlebutton,
#page-admin-course-index .buttons .singlebutton,
#page-admin-course-category .buttons .singlebutton {display: inline;padding: 5px;}

.path-admin-roles .capabilitysearchui {text-align: left;margin-left: auto;margin-right: auto;}
#page-admin-roles-define .topfields {margin: 1em 0 2em;}
#page-admin-roles-define .mform {width: 100%;}
#page-filter-manage .backlink,
.path-admin-roles .backlink {margin-top: 1em}
#page-admin-roles-explain #chooseuser h3,
#page-admin-roles-usersroles .contextname {margin-top: 0;}
#page-admin-roles-explain #chooseusersubmit {margin-top:0;text-align: center;}
#page-admin-roles-usersroles p {margin: 0;}
#page-admin-roles-override .cell.c1,
#page-admin-roles-assign .cell.c3,
#page-admin-roles-assign .cell.c1 {padding-top: 0.75em;}
#page-admin-roles-override .overridenotice,
#page-admin-roles-define .definenotice {margin: 1em 10% 2em 10%;text-align: left;}

#page-admin-langimport .generalbox table {margin:auto;width:100%;}

#page-admin-index .adminerror .singlebutton,
#page-admin-index .adminwarning .singlebutton,
#page-admin-index #layout-table .singlebutton {margin:20px;}

#page-admin-user-user_bulk #users .fgroup {white-space: nowrap;}
#page-admin-report-stats-index .graph {text-align: center;margin-bottom: 1em;}
#page-admin-report-courseoverview-index .graph {text-align: center;margin-bottom: 1em;}
#page-admin-lang .translator {border-width: 1px;border-style: solid;}

#page-admin-uploaduser table#uuresults {margin-bottom: 2em;}
#page-admin-uploaduser table#uupreview,
#page-admin-uploaduser table#uuresults td.cell {padding:3px;}

/** This is the CSS for the role assignment control **/
.path-admin .roleassigntable {width: 100%;}
.path-admin .roleassigntable td {vertical-align: top;padding: 0.2em 0.3em}
.path-admin .roleassigntable p {text-align: left;margin: 0.2em 0;}
.path-admin .roleassigntable #existingcell,
.path-admin .roleassigntable #potentialcell {width: 42%;}
.path-admin .roleassigntable #existingcell label,
.path-admin .roleassigntable #potentialcell label {font-weight: bold;}
.path-admin .roleassigntable #buttonscell {width: 16%;}
.path-admin .roleassigntable #buttonscell #add,
.path-admin .roleassigntable #buttonscell #remove {width: 100%;margin: 0.3em 0;padding: 0.5em 0;}
.path-admin .roleassigntable #buttonscell p {margin: 0.3em 0;}
.path-admin .roleassigntable #buttonscell #assignoptions {font-size: 0.75em;}
.path-admin .roleassigntable #buttonscell #assignoptions .collapsibleregioncaption {font-weight: bold;}
.path-admin .roleassigntable #buttonscell #addcontrols {margin-top: 3em;height: 13em;}
.path-admin .roleassigntable #removeselect_wrapper,
.path-admin .roleassigntable #addselect_wrapper {width: 100%;}
.path-admin .roleassigntable #removeselect_wrapper label,
.path-admin .roleassigntable #addselect_wrapper label {font-weight: normal;}

.path-admin table.rolecap {margin-left: auto;margin-right: auto;}
.path-admin table.rolecap tr.rolecap th {text-align: left;font-weight: normal;}
.path-admin.dir-rtl table.rolecap tr.rolecap th {text-align: right;}
.path-admin .rolecap .hiddenrow {display: none;}
.path-admin .rolecap .inherit,
.path-admin .rolecap .allow,
.path-admin .rolecap .prevent,
.path-admin .rolecap .prohibit {text-align:center;}
.path-admin .rolecap .cap-name,
.path-admin .rolecap .note {display: block;padding: 0 0.5em;}
.path-admin .rolecap label {display: block;width: 100%;min-height: 2.5em;}

#page-admin-enrol .enrolplugintable {width:100%;}

.plugincheckwrapper {width: 100%;}
.adminsearchform {padding-top:10px;}
.environmentbox {margin-top: 1em;}
#mnetconfig table,
.environmenttable {margin-left:auto;margin-right:auto;}
.environmenttable .cell {padding: 0.15em 0.5em;}
#trustedhosts .generaltable {margin-left: auto;margin-right: auto;width: 500px;}
#trustedhosts .standard {width: auto;}
.form-buttons {margin: 10px 0 0 13em;}

#adminsettings fieldset {margin-top: 1em;padding: 1em 0.5em;}
#adminsettings legend {display: none;}
#adminsettings fieldset.error {margin: 0.2em 0 0.5em 0;padding: 0.5em 0 0 0;}
#adminsettings fieldset.error legend {display: block;}
#adminsettings .form-item {clear: both;margin: 1em 0 2em 0;}
#adminsettings .form-item .form-label {display: block;float: left;width: 12.5em;text-align: right;}
#adminsettings .form-item .form-label .form-shortname {display:block;line-break: break;}
#adminsettings .form-item .form-setting {display: block;margin-left: 13.5em;text-align: left;}
#adminsettings .form-item .form-setting .form-htmlarea {width:  640px;display:inline;}
#adminsettings .form-item .form-setting .form-htmlarea .htmlarea {width:  640px;display:block;}
#adminsettings .form-item .form-setting .form-multicheckbox li {list-style: none;}
#adminsettings .form-item .form-setting .form-multicheckbox ul {padding:0;margin:0;}
#adminsettings .form-item .form-setting .defaultsnext {margin-right: 0.5em;display: inline;}
#adminsettings .form-item .form-setting .form-password .unmask,
#adminsettings .form-item .form-setting .form-defaultinfo {display: inline;}
#adminsettings .form-item .form-description {display: block;margin: 0.5em 0 0em 14.25em;text-align: left;}
#adminsettings .form-item .pathok,
#adminsettings .form-item .patherror {margin-left: 0.5em;}
#adminsettings #admin-emoticons table td input {width: 8em;}
#adminsettings #admin-emoticons table td.c0 input {width: 4em;}

#adminthemeselector .selectedtheme td.c0 {border:1px solid;border-right-width:0;}
#adminthemeselector .selectedtheme td.c1 {border:1px solid;border-left-width:0;}

.admin_colourpicker,
.admin_colourpicker_preview {display:none;}
.jsenabled .admin_colourpicker_preview {display:inline;}
.jsenabled .admin_colourpicker {display:block;height:102px;width:410px;margin-bottom:10px;}
.admin_colourpicker .loadingicon {vertical-align:center;margin-left:auto;}
.admin_colourpicker .colourdialogue {float:left;border:1px solid #000;}
.admin_colourpicker .previewcolour {border:1px solid #000;margin-left:301px;}
.admin_colourpicker .currentcolour {border:1px solid #000;margin-left:301px;border-top-width:0;}

/** Overide for RTL layout **/
.dir-rtl #adminsettings .form-item  .form-setting,
.dir-rtl #adminsettings .form-item  .form-label,
.dir-rtl #adminsettings .form-item .form-description { float: right;text-align: right}
.dir-rtl.path-admin .roleassigntable p {text-align: right;}

/** Plugins check */
#page-admin-index #plugins-check-info {text-align:center;margin:1em;}
#page-admin-index #plugins-check {margin-left:auto; margin-right:auto;}
#page-admin-index #plugins-check .displayname .pluginicon {width:16px;}
#page-admin-index #plugins-check .missingfromdisk .displayname {background-color:#ffd3d9;}
#page-admin-index #plugins-check .standard .source {color:#999;}
#page-admin-index #plugins-check .extension .source {background-color:#f3f2aa;}
#page-admin-index #plugins-check .msg td {text-align:center;}
#page-admin-index #plugins-check .status-downgrade .status {background-color:#ffd3d9;}
#page-admin-index #plugins-check .status-missing .status {background-color:#ffd3d9;}
#page-admin-index #plugins-check .status-new .status {background-color:#e7f1c3;}
#page-admin-index #plugins-check .status-nodb .status {color:#999;}
#page-admin-index #plugins-check .status-upgrade .status {background-color:#d2ebff;}
#page-admin-index #plugins-check .status-uptodate .status {color:#999;}

/** Plugins management */
#page-admin-plugins #plugins-control-panel {margin-left:auto; margin-right:auto;}
#page-admin-plugins #plugins-control-panel .displayname .pluginicon {width:16px;}
#page-admin-plugins #plugins-control-panel .missingfromdisk .displayname {background-color:#ffd3d9;}
#page-admin-plugins #plugins-control-panel .disabled .availability {background-color:#eee;}
#page-admin-plugins #plugins-control-panel .extension .source {background-color:#f3f2aa;}
#page-admin-plugins #plugins-control-panel .msg td {text-align:center;}
