Merge branch 'MDL-40975-master' of git://github.com/andrewnicols/moodle
[moodle.git] / theme / base / style / course.css
1 /**
2  * CSS for displaying courses and everything in them
3  */
4 .section_add_menus {text-align:right;}
5 .dir-rtl .section_add_menus {text-align:left;}
6 .section_add_menus .horizontal div,
7 .section_add_menus .horizontal form {display:inline;}
8 .section_add_menus optgroup {font-weight:normal;font-style: italic;}
9 .section_add_menus .urlselect { margin-left: .4em;}
10 .dir-rtl .section_add_menus .urlselect { margin-right: .4em; margin-left: 0;}
11 .section_add_menus .urlselect select { margin-left: .2em;}
12 .dir-rtl .section_add_menus .urlselect select { margin-right: .2em; margin-left: 0;}
13 .section_add_menus .urlselect img.iconhelp { padding: 0; margin: 0; vertical-align: text-bottom;}
15 .site-topic ul.section,
16 .course-content ul.section { margin: 1em;}
17 .sitetopic .section .activity img.activityicon,
18 .course-content .section .activity img.activityicon {
19     vertical-align: text-bottom;
20     margin-right: 3px;
21     margin-left: 3px;
22     width: 24px;
23     height: 24px;
24 }
26 .sitetopic .section .activity .activityinstance,
27 .course-content .section .activity .activityinstance,
28 .section .activity .activityinstance {
29     display: inline-block;
30 }
32 .section .activity .editing_move {
33     position: absolute;
34     left: 0;
35     top: 0;
36 }
38 .dir-rtl .section .activity .editing_move {
39     left: auto;
40     right: 0;
41 }
43 .section .activity .mod-indent {
44     padding-left: 24px;
45 }
47 .dir-rtl .section .activity .mod-indent {
48     padding-left: auto;
49     padding-right: 24px;
50 }
52 .section .activity .actions {
53     position: absolute;
54     right: 0;
55     top: 0;
56 }
58 .dir-rtl .section .activity .actions {
59     left: 0;
60     right: auto;
61 }
63 .sitetopic .section .activity .activityinstance div,
64 .course-content .section .activity .activityinstance div { display: inline;}
65 .course-content .section .activity .activityinstance form { display: inline;}
66 .sitetopic .section .activity .activityinstance,
67 .course-content .section .activity .activityinstance {
68     height: 2em;
69 }
71 .editing .sitetopic .section .activity .activityinstance,
72 .editing .course-content .section .activity .activityinstance {
73     padding-right: 200px;
74     height: 2em;
75     display: table-cell;
76 }
78 .dir-rtl.editing .sitetopic .section .activity .activityinstance,
79 .dir-rtl.editing .course-content .section .activity .activityinstance {
80     padding-left: 200px;
81     padding-right: auto;
82 }
84 .course-content .section .activity .filler {
85     width: 16px;
86     height: 16px;
87     margin: 4px;
88     display: inline-block;
89     vertical-align: text-bottom;
90 }
92 .dir-rtl .sitetopic .section .activity .activityinstance,
93 .dir-rtl .course-content .section .activity .activityinstance { padding-right: 0; padding-left: 3em;}
94 .sitetopic .section .activity .commands,
95 .course-content .section .activity .commands {
96     white-space: nowrap;
97     display: inline-block;
98 }
99 .dir-rtl .sitetopic .section .activity .commands,
100 .dir-rtl .course-content .section .activity .commands { padding: 0 0 0 3em;}
102 .section .activity .moodle-actionmenu .menu > li > *,
103 .section .activity .moodle-actionmenu .menubar > li > * {
104     display: inline-block;
105     min-height: 16px;
107 .section .activity .moodle-actionmenu[data-enhanced] .menu > li > * {
108     display: block;
110 .section .activity .moodle-actionmenu[data-enhanced] .menu {margin-left: -2.8em;}
111 .section img.iconsmall {
112     vertical-align: text-bottom;
113     width: 16px;
114     height: 16px;
115     margin: 4px;
117 .section .editing_title img.iconsmall {
118     width: 12px;
119     height: 12px;
120     margin: 4px 8px 4px 0;
123 .section .activity.editor_displayed a.editing_title,
124 .section .activity.editor_displayed .moodle-actionmenu {
125     display: none;
128 .single-section h3.sectionname {text-align:center;clear:both;}
129 .sitetopic .section li.activity,
130 .course-content .section li.activity {padding: .2em;}
131 .section .activity .activityinstance .groupinglabel { padding-left: .45em; }
132 .sitetopic .section .activity .availabilityinfo,
133 .sitetopic .section .activity .contentafterlink,
134 .course-content .section .activity .availabilityinfo,
135 .course-content .section .activity .contentafterlink { margin-top: 0.5em; margin-left: 30px;}
136 .dir-rtl .sitetopic .section .activity .availabilityinfo,
137 .dir-rtl .sitetopic .section .activity .contentafterlink,
138 .dir-rtl .course-content .section .activity .availabilityinfo,
139 .dir-rtl .course-content .section .activity .contentafterlink { margin-left: 0; margin-right: 30px;}
140 .section .activity .contentafterlink p { margin:.5em 0; }
141 .sitetopic .section .activity:hover,
142 .course-content .section .activity:hover { background-color: #EEE; }
143 .course-content .section-summary { border: 1px solid #DDD; margin-top: 5px; list-style: none; }
144 .course-content .section-summary .section-title  { margin: 2px 5px 10px 5px; }
145 .course-content .section-summary .summarytext { margin: 2px 5px 2px 5px; }
146 .course-content .section-summary .section-summary-activities .activity-count {margin-right: 10px;color: #AAA; font-size: 12px; margin-right: 15px;}
147 .course-content .section-summary .summary { margin-top: 5px; }
148 .course-content .single-section { margin-top: 1em; }
149 .course-content .single-section .section-navigation { display: block; padding: 0.5em; margin-bottom: -0.5em; }
150 .course-content .single-section .section-navigation .title { font-weight: bold; font-size: 108%; }
151 .course-content .single-section .section-navigation .mdl-left { font-weight: normal; float: left; margin-right: 1em; }
152 .dir-rtl .course-content .single-section .section-navigation .mdl-left {float:right;}
153 .course-content .single-section .section-navigation .mdl-left .larrow { margin-right: 0.1em; }
154 .course-content .single-section .section-navigation .mdl-right { font-weight: normal; float: right; margin-left: 1em; }
155 .dir-rtl .course-content .single-section .section-navigation .mdl-right {float: left;}
156 .course-content .single-section .section-navigation .mdl-right .rarrow { margin-left: 0.1em; }
157 .course-content .single-section .section-navigation .mdl-bottom { margin-top: 0; }
159 #page-site-index .subscribelink {text-align:right;}
160 #site-news-forum h2,
161 #frontpage-course-list h2,
162 #frontpage-category-names h2,
163 #frontpage-category-combo h2 {margin-bottom: 9px;}
164 #page-site-index .clearfloat {float: none;clear: both; height:0px;}
166 .path-course-view a.reduce-sections {padding-left: 0.2em;}
167 .path-course-view .subscribelink {text-align:right;}
168 .path-course-view .unread {margin-left: 3em;}
169 .path-course-view .block.drag .header {cursor: move;}
170 .path-course-view .completionprogress { text-align: right; }
171 .dir-rtl.path-course-view .completionprogress { text-align: left; }
172 .path-course-view .single-section .completionprogress { margin-right: 5px; }
173 .path-course-view .section .summary {line-height:normal;}
175 .path-site li.activity > div,
176 .path-course-view li.activity > div {position:relative;}
177 .path-course-view li.activity form.togglecompletion .ajaxworking {position:absolute; right: 22px; width: 16px; height: 16px; background: url([[pix:i/ajaxloader]]) no-repeat;}
178 .path-course-view li.activity form.togglecompletion div {display:inline;}
179 .dir-rtl.path-course-view li.activity form.togglecompletion,
180 .dir-rtl.path-course-view li.activity span.autocompletion {left:1.7em;right:auto;padding:0px;}
181 .dir-rtl.path-course-view .completionprogress {float: none;}
182 .dir-rtl.path-course-view li.activity form.togglecompletion .ajaxworking {right: -22px;}
184 li.section.hidden span.commands a.editing_hide,
185 li.section.hidden span.commands a.editing_show {cursor:default;}
187 .section img.movetarget {height:16px;width:80px;}
189 .course ul.section {margin:5px;padding:0;}
191 .weeks-format, /* Window-width: 800 pixels.IE doesn't support, see inline IE conditional comment. */
192 .topics-format {margin-top: 8px;min-width: 763px;}
194 #page-course-pending .singlebutton,
195 #page-course-index .singlebutton,
196 #page-course-index-category .singlebutton,
197 #page-course-editsection .singlebutton {text-align:center;}
199 #coursesearch {margin-top: 1em;text-align:center;}
201 #page-course-pending .pendingcourserequests {margin-bottom: 1em;}
202 #page-course-pending .pendingcourserequests .singlebutton {display: inline;}
203 #page-course-pending .pendingcourserequests .cell {padding: 0 5px;}
204 #page-course-pending .pendingcourserequests .cell.c6 {white-space: nowrap;}
206 /* Courses and categories lists */
208 .coursebox {width: 100%;margin-bottom:15px;}
209 .coursebox.collapsed {margin-bottom:0}
210 .coursebox.collapsed > .content {display:none;}
211 .coursebox > .info > .coursename a {display:block;background-image:url([[pix:moodle|i/course]]);background-repeat: no-repeat;padding-left:21px;background-position: left top;}
212 .coursebox.remotehost .coursename a {background-image:url([[pix:moodle|i/mnethost]]);}
213 .coursebox > .info > .coursename,
214 .coursebox .content .teachers,
215 .coursebox .content .courseimage,
216 .coursebox .content .coursefile {float:left;width:40%;clear:left;}
217 .coursebox .content .teachers li {list-style-type:none;padding:0;margin:0;}
218 .coursebox .enrolmenticons {padding:3px 0;float:right;}
219 .coursebox .moreinfo {padding:3px 0;float:right;}
220 .coursebox .enrolmenticons img,
221 .coursebox .moreinfo img {margin:0 .2em;}
222 .coursebox .content {clear:both;overflow: hidden;}
223 .coursebox .content .summary,
224 .coursebox .content .coursecat {float:right;width: 55%;}
225 .coursebox .content .coursecat {text-align:right;clear:right;}
226 .coursebox.remotecoursebox .remotecourseinfo {float:left;width: 40%;}
227 .coursebox .content .courseimage img {max-width:100px;max-height:100px;}
229 .coursebox >.info >.coursename {margin: 5px;padding:0;}
230 .coursebox .content .teachers,
231 .coursebox .content .coursecat,
232 .coursebox .content .summary,
233 .coursebox .content .courseimage,
234 .coursebox .content .coursefile,
235 .coursebox.remotecoursebox .remotecourseinfo {margin:3px 5px;padding:0;}
237 .dir-rtl .coursebox > .info > .coursename a {padding-left:0;padding-right:21px;background-position: top right;}
238 .dir-rtl .coursebox > .info > .coursename,
239 .dir-rtl .coursebox .teachers,
240 .dir-rtl .coursebox .content .courseimage,
241 .dir-rtl .coursebox .content .coursefile {float:right;clear:right;}
242 .dir-rtl .coursebox .enrolmenticons,
243 .dir-rtl .coursebox .moreinfo {float:left;}
244 .dir-rtl .coursebox .summary,
245 .dir-rtl .coursebox .coursecat {float:left;}
246 .dir-rtl .coursebox .coursecat {text-align:left;clear:left;}
248 .course_category_tree .category .numberofcourse {font-size: 0.85em;}
249 .dir-rtl .course_category_tree .category .numberofcourse {padding-right: 20px;}
251 .course_category_tree .controls {visibility: hidden;}
252 .course_category_tree .controls div {display:inline;cursor:pointer;}
253 .jsenabled .course_category_tree .controls {visibility: visible;}
255 .course_category_tree .category >.info > .categoryname {background-image:url([[pix:moodle|t/collapsed_empty]]);background-repeat: no-repeat;background-position:center left;margin:0.5em 5px;}
256 .dir-rtl .course_category_tree .category >.info > .categoryname {background-image:url([[pix:moodle|t/collapsed_empty_rtl]]);background-position:center right;margin:0.5em 5px;}
257 .course_category_tree .category.with_children >.info > .categoryname {background-image:url([[pix:moodle|t/expanded]]);}
258 .course_category_tree .category.with_children.collapsed >.info > .categoryname {background-image:url([[pix:moodle|t/collapsed]]);}
259 .dir-rtl .course_category_tree .category.with_children.collapsed >.info .categoryname {background-image:url([[pix:moodle|t/collapsed_rtl]]);}
260 .course_category_tree .category.collapsed >.content {display:none;}
261 .course_category_tree .category > .info > .categoryname {padding:2px 18px;margin:3px;}
262 .course_category_tree .category > .content {padding-left:16px;overflow: hidden;}
264 .dir-rtl .course_category_tree .category > .content {padding-left:0;padding-right:16px;}
266 .course_category_tree .subcategories > .paging,
267 .courses > .paging {margin:0;padding:5px;text-align:center;}
269 .courses > .paging.paging-morelink,
270 .course_category_tree .subcategories > .paging.paging-morelink {text-align:left;}
272 .dir-rtl .courses > .paging.paging-morelink,
273 .dir-rtl .course_category_tree .subcategories > .paging.paging-morelink {text-align:right;}
275 #page-course-info .generalbox.info,
276 #page-enrol-index .generalbox.info {border:none;}
278 .path-course .clearfloat {float:none; clear:both;height:0px;}
280 .section .spinner {
281     height: 16px;
282     width: 16px;
284 .section .activity .spinner {
285     margin: 4px;
288 /* Quick edit of module name */
290 .sitetopic .section .activity form.activityinstance,
291 .course-content .section .activity form.activityinstance { display: inline; vertical-align: middle; }
292 span.editinstructions {
293     position: absolute;
294     top: 0px;
295     left: 0px;
296     margin-top: -22px;
297     margin-left: 30px;
298     line-height: 16px;
299     font-size: .85em;
300     padding: .1em .4em;
301     background-color: #ffc;
302     color: #000;
303     text-decoration: none;
304     z-index:9999;
305     box-shadow:2px 2px 5px 1px #ccc;
306     border:1px solid #ddd;
308 .dir-rtl span.editinstructions { left: auto; right: 32px;}
309 input.titleeditor { vertical-align: text-bottom; }
310 .editing .course-content .section .activity.editor_displayed .activityinstance {
311     padding: initial;
314 /* Course drag and drop upload styles */
315 #dndupload-status {width:40%;margin:0 30%;padding:6px;border:1px solid #ddd;text-align:center;background:#ffc;position:absolute;z-index:9999;box-shadow:2px 2px 5px 1px #ccc;border-radius:0px 0px 8px 8px;z-index: 0;}
316 .dndupload-preview {color:#909090;border:1px dashed #909090;list-style:none; margin-top: .2em; padding: .3em; line-height: 16px;}
317 .dndupload-preview img.icon { vertical-align: text-bottom; padding: 0;}
318 .dndupload-progress-outer {width:70px;border:1px solid black;border-radius:4px;height:10px;display:inline-block;margin:0;padding:0;overflow:hidden;position:relative;}
319 .dndupload-progress-inner {width:0%;height:100%;background-color:green;display:inline-block;margin:0;padding:0;float:left;box-shadow: 0 0 4px #229b15;border-radius:2px;background-repeat:repeat-x;background-position:top;background-image:url([[pix:theme_base|progress]])}
320 .dndupload-hidden {display:none;}
322 /** Course category management **/
323 #course-category-listings {background-color:#fff;border:1px solid #e1e1e8;margin-bottom:200px;}
325 /** Two column layout */
326 #course-category-listings.columns-2 > #category-listing > div {border-right:1px solid #e1e1e8;}
327 #course-category-listings.columns-2 > #course-listing > div {border-left:1px solid #e1e1e8;margin-left:-1px;}
328 #course-category-listings.columns-2.viewmode-courses.course-selected > #course-listing > div {border-right:1px solid #e1e1e8;margin-right:-1px;}
329 #course-category-listings.columns-2 > #course-detail > div {border-left:1px solid #e1e1e8;}
331 /** Three column layout */
332 #course-category-listings.columns-3 #category-listing > div {border-right:1px solid #DDD;}
333 #course-category-listings.columns-3 #course-listing > div {border-right:1px solid #e1e1e8;border-left:1px solid #e1e1e8;margin-right:-1px;margin-left:-1px;}
334 #course-category-listings.columns-3 #course-detail > div {border-left:1px solid #DDD;}
336 #course-category-listings > div {}
337 #course-category-listings > div > div {min-height:300px;}
338 #course-category-listings h3 {margin:0;padding:0.6em 1em 0.5em;text-align:left;background-color:#f7f7f9;border-bottom:1px solid #e1e1e8;}
339 #course-category-listings h4 {margin:1em 0 0;padding:0.6em 1em 0.5em;text-align:left;}
340 .coursecat-management-header .moodle-actionmenu,
341 #course-category-listings .moodle-actionmenu {white-space:nowrap;}
342 #course-category-listings .listing-actions {text-align:center;padding:0.4em 0.3em 0.3em;}
343 #course-category-listings .listing-actions > * {display:inline-block;line-height:2.2em;}
344 #course-category-listings .listing-actions > .moodle-actionmenu {display:inline-block;}
345 .coursecat-management-header .moodle-actionmenu[data-enhanced].show .menu a,
346 #course-category-listings .listing-actions > .moodle-actionmenu .menu a {padding-left:1em;}
347 #course-category-listings .listing-actions .iconsmall {margin-left:0.5em;}
348 #course-category-listings ul.ml {list-style: none;margin:1em 0;}
349 #course-category-listings ul.ml ul.ml {margin:0;}
350 #course-category-listings li {line-height:2.2em;}
351 #course-category-listings li > div {border-bottom:1px solid #fff;border-top:1px solid #fff;}
352 #course-category-listings li > div:hover {background-color:#fafafa;}
353 #course-category-listings li.highlight {background-color:transparent;}
354 #course-category-listings li.highlight > div,
355 #category-listing li.highlight.listitem > div > .ba-checkbox,
356 #course-category-listings li.highlight > div:hover,
357 #course-category-listings li[data-selected='1'].highlight > div {background-color:#ddffaa;}
358 #course-category-listings li+li > div,
359 #course-category-listings li:first-child > div {border-top-color:#f7f7f9;}
360 #course-category-listings li .tree-icon {vertical-align:text-top;margin-right:0.5em;width:12px;height:12px;}
361 #course-category-listings li[data-selected='1'] > div {background-color:#FFFFD8;border-top-color: #e1e1e8;border-bottom-color:#f7f7f9;}
362 #course-category-listings li[data-selected='1'] li:first-of-type > div,
363 #course-category-listings li[data-selected='1'][data-expandable='0']+li > div {border-top-color:#e1e1e8;}
364 #course-category-listings li[data-selected='1']:last-of-type > div {border-bottom-color:#e1e1e8;}
365 #course-category-listings > div > div > ul.ml > li:first-child > div {border-top:0;}
367 #course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) li {line-height:normal;}
368 #course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menubar a,
369 #course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menu .menu-action-text {display:inline-block;}
370 #course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menubar a {color:inherit;}
371 #course-category-listings .listing-actions .moodle-actionmenu:not([data-enhanced]) > .menubar a > img {display:none;}
373 .jsenabled #course-category-listings .moodle-actionmenu[data-enhance] .toggle-display img {
374     width: auto;
377 .jsenabled #course-category-listings .moodle-actionmenu[data-enhance] .toggle-display.textmenu {
378     padding-right: 4px;
380 .jsenabled #course-category-listings .moodle-actionmenu[data-enhance] .toggle-display.textmenu .caret {
381     margin-top: 10px;
384 #course-category-listings .item-actions {margin-right:1em;display:inline-block;display:initial;}
385 #course-category-listings .item-actions img {margin: 0 4px;vertical-align:inherit;}
386 #course-category-listings .item-actions .menu img {max-width:none;width:12px;}
387 #course-category-listings .item-actions .menu a {padding:4px 1em 4px 4px;}
389 #course-category-listings li .tree-icon {margin-left:0;}
390 #course-category-listings li li .tree-icon {margin-left:1em;}
391 #course-category-listings li li li .tree-icon {margin-left:2em;}
392 #course-category-listings li li li li .tree-icon {margin-left:3em;}
393 #course-category-listings li li li li li .tree-icon {margin-left:4em;}
394 #course-category-listings li li li li li li .tree-icon {margin-left:4.5em;}
395 #course-category-listings li li li li li li li .tree-icon {margin-left:5em;}
396 #course-category-listings li li li li li li li li .tree-icon {margin-left:5.5em;}
398 #course-listing .listitem .drag-handle {margin-right:0.5em;}
399 #course-listing .listitem .categoryname {display:inline-block;margin-left:1em;color:#a1a1a8;}
400 #course-listing .listitem .coursename {display:inline-block;}
402 #category-listing .course-count {color:#a1a1a8;margin-right:2em;min-width:3.5em;display:inline-block;}
403 #category-listing .listitem.collapsed > ul.ml {display: none;}
404 #category-listing .course-count .smallicon {width:0.8em;height:0.8em;vertical-align:middle;margin:0 0.3em;}
406 #category-listing .listitem > div > .ba-checkbox {vertical-align:middle;width:2.2em;text-align:center;margin:-1px 0;padding-top:2px;margin-right:0.5em;}
407 #category-listing .listitem[data-selected='1'] > div > .ba-checkbox {margin:0 0.5em 0 0;padding:0;}
408 .category-bulk-actions {margin: 0 0.5em 0.5em;}
410 #course-category-listings .listitem .idnumber {color:#a1a1a8;margin-right:2em;}
411 #course-category-listings .listitem > div > .float-left {float:left;}
412 #course-category-listings .listitem > div > .float-right {float:right;text-align:right;}
413 #course-category-listings .listitem[data-visible="0"],
414 #course-category-listings .listitem[data-visible="0"] a.categoryname,
415 #course-category-listings .listitem[data-visible="0"] > div > a {color:#AAA;}
416 #course-category-listings .listitem > div .item-actions .action-hide,
417 #course-category-listings .listitem[data-visible="0"] > div .item-actions .action-show {display:inline;}
418 #course-category-listings .listitem > div .item-actions .action-show,
419 #course-category-listings .listitem[data-visible="0"] > div .item-actions .action-hide,
420 #course-category-listings .listitem[data-visible="0"] > ul .item-actions.category-item-actions .action-hide,
421 #course-category-listings .listitem[data-visible="0"] > ul .item-actions.category-item-actions .action-show,
423 #category-listing .listitem:first-child > div .item-actions .action-moveup,
424 #category-listing .listitem:last-child > div .item-actions .action-movedown,
425 #course-listing > .firstpage .listitem:first-child > div .item-actions .action-moveup,
426 #course-listing > .lastpage .listitem:last-child > div .item-actions .action-movedown {display: none;}
428 #course-category-listings .listitem > div a.without-actions {color: #333;}
430 #course-listing li > div {padding-left:1em;}
432 #course-category-listings .detail-pair {border-bottom:1px solid #e1e1e8;margin:0 1em;}
433 #course-category-listings .detail-pair > * {display:inline-block;line-height:2.2em;}
434 #course-category-listings .detail-pair .pair-key {font-weight:bold;text-align:right;}
435 #course-category-listings .detail-pair .pair-key span {margin-right: 1em;display:block;}
436 #course-category-listings .detail-pair:last-child {border-bottom-width:0;}
438 #course-category-listings .bulk-actions .detail-pair > * {display:block;width:100%;text-align:left;}
439 #course-category-listings .bulk-actions .detail-pair .pair-value {margin-left:2.2em;}
441 #course-category-listings .select-a-category .notifymessage,
442 #course-category-listings .select-a-category .alert {margin: 1em;}
444 /** Management header styling **/
445 .coursecat-management-header {vertical-align:middle;}
446 .coursecat-management-header  h2 {display:inline-block;text-align:left;}
447 .coursecat-management-header  > div {display:inline-block;float:right;margin-left:1em;}
448 .coursecat-management-header .view-mode-selector img {margin-left:0.5em;vertical-align: baseline;}
449 .coursecat-management-header  select {max-width: 300px;white-space: nowrap;}
451 .listing-pagination,
452 .listing-pagination-totals {text-align:center;}
453 .listing-pagination .yui3-button {background-color:#FFF;border:0;margin:0.4em 0.2em 0.45em;font-size:10.4px;}
454 .listing-pagination .yui3-button.active-page {background-color:#E5EFFD;}
455 .listing-pagination-totals.dimmed {color:#999;margin:0.4em 1em 0.45em;}
457 #category-listing .bulk-action-checkbox {vertical-align:middle;margin:0 0 0.5em 3px;}
458 #course-listing .bulk-action-checkbox {margin-right:0.6em;vertical-align:middle;margin-bottom:0.5em;}
460 /**
461  * Display sizes:
462  * Large displays                   1200        +
463  * Default displays                  980     1199
464  * Tablets                           768      979
465  * Small tablets and large phones    481      767
466  * Phones                              0      480
467  */
469 @media (min-width: 1200px) and (max-width: 1600px) {
470     #course-category-listings.columns-3 {background-color:transparent;border:0;}
471     #course-category-listings.columns-3 #category-listing,
472     #course-category-listings.columns-3 #course-listing {width:50%;}
473     #course-category-listings.columns-3 #category-listing > div,
474     #course-category-listings.columns-3 #course-listing > div,
475     #course-category-listings.columns-3 #course-detail {border:1px solid #e1e1e8;background-color:#FFF;}
476     #course-category-listings.columns-3 #course-detail > div {border:0;}
477     #course-category-listings.columns-3 #course-detail {width:100%;margin-top:1em;}
480 @media (max-width: 1199px) {
481     #course-category-listings.columns-2,
482     #course-category-listings.columns-3 {background-color:transparent;border:0;}
483     #course-category-listings.columns-2 #category-listing,
484     #course-category-listings.columns-2 #course-listing,
485     #course-category-listings.columns-2 #course-detail,
486     #course-category-listings.columns-3 #category-listing,
487     #course-category-listings.columns-3 #course-listing,
488     #course-category-listings.columns-3 #course-detail {width:100%;margin-bottom:1em;}
489     #course-category-listings.columns-2 #category-listing > div,
490     #course-category-listings.columns-2 #course-listing > div,
491     #course-category-listings.columns-2 #course-detail > div,
492     #course-category-listings.columns-3 #category-listing > div,
493     #course-category-listings.columns-3 #course-listing > div,
494     #course-category-listings.columns-3 #course-detail > div {border:1px solid #e1e1e8;background-color:#FFF;}
497 /** Custom YUI grid CSS **/
498 .grid-col {
499     display: inline-block;
500     zoom: 1; *display: inline;
501     letter-spacing: normal;
502     word-spacing: normal;
503     vertical-align: top;
504     text-rendering: auto;
506 .grid-col-1{display:block;}
507 .grid-col-1-2{width: 50%;}
508 .grid-col-1-3{width: 33.33333%;}
509 .grid-col-2-3{width: 66.66667%;}
510 .grid-col-1-4{width: 25%;}
511 .grid-col-3-4{width: 75%;}
512 .grid-col-1-5{width: 20%;}
513 .grid-col-2-5{width: 40%;}
514 .grid-col-3-5{width: 60%;}
515 .grid-col-4-5{width: 80%;}
516 .grid-col-1-6{width: 16.66667%;}
517 .grid-col-5-6{width: 83.33333%;}
518 .grid-col-1-7{width: 14.28571%;}
519 .grid-col-2-7{width: 28.57143%;}
520 .grid-col-3-7{width: 42.85714%;}
521 .grid-col-4-7{width: 57.14286%;}
522 .grid-col-5-7{width: 71.42857%;}
523 .grid-col-6-7{width: 85.71429%;}
524 .grid-col-1-8{width: 12.5%;}
525 .grid-col-3-8{width: 37.5%;}
526 .grid-col-5-8{width: 62.5%;}
527 .grid-col-7-8{width: 87.5%;}
528 .grid-col-1-9{width: 11.11111%;}
529 .grid-col-2-9{width: 22.22222%;}
530 .grid-col-4-9{width: 44.44444%;}
531 .grid-col-5-9{width: 55.55556%;}
532 .grid-col-6-9{width: 66.66667%;}
533 .grid-col-7-9{width: 77.77778%;}
534 .grid-col-8-9{width: 88.88889%;}
535 .grid-col-1-10{width: 10%;}
536 .grid-col-3-10{width: 30%;}
537 .grid-col-7-10{width: 70%;}
538 .grid-col-9-10{width: 90%;}
539 .grid-col-1-11{width: 9.09091%;}
540 .grid-col-2-11{width: 18.18182%;}
541 .grid-col-3-11{width: 27.27273%;}
542 .grid-col-4-11{width: 36.36364%;}
543 .grid-col-5-11{width: 45.45455%;}
544 .grid-col-6-11{width: 54.54545%;}
545 .grid-col-7-11{width: 63.63636%;}
546 .grid-col-8-11{width: 72.72727%;}
547 .grid-col-9-11{width: 81.81818%;}
548 .grid-col-10-11{width: 90.90909%;}
549 .grid-col-1-12{width: 8.33333%;}
550 .grid-col-5-12{width: 41.66667%;}
551 .grid-col-7-12{width: 58.33333%;}
552 .grid-col-9-12{width: 75%;}
553 .grid-col-11-12{width: 91.66667%;}
554 .grid-row-r {
555     letter-spacing: -0.31em;
556     *letter-spacing: normal;
557     word-spacing: -0.43em;
560 .opera-only :-o-prefocus,
561 .grid-row-r {word-spacing: -0.43em;}
562 .grid-row-r img {max-width: 100%;}
564 @media (min-width:980px) {
565     .grid-visible-phone     { display: none; }
566     .grid-visible-tablet    { display: none; }
567     .grid-visible-desktop   { }
568     .grid-hidden-phone      { }
569     .grid-hidden-tablet     { }
570     .grid-hidden-desktop    { display: none; }
573 @media (max-width:480px) {
574     .grid-row-r > [class ^= "grid-col"] {
575         width:100%;
576     }
579 @media (max-width:767px) {
580     .grid-row-r > [class ^= "grid-col"] {
581         width:100%;
582     }
583     .grid-visible-phone     { }
584     .grid-hidden-phone      { display: none; }
585     .grid-hidden-desktop    { }
586     .grid-visible-desktop   { display: none; }
589 @media (min-width:768px) and (max-width:979px) {
590     .grid-visible-tablet    {}
591     .grid-hidden-tablet     { display: none; }
592     .grid-hidden-desktop    {}
593     .grid-visible-desktop   { display: none; }