#gridshadebox_content,
.course-content {

	#gridmiddle-column {
		line-height: inherit !important;
	}

	ul {

		&.buttons {
			ul {
				&.section {
					padding: 0;

					li {
						&.activity {
							.activityinstance {
								a {
									color: inherit;
								}
							}

							&:hover {
								background-color: rgba(0,0,0,.04);

								.activityinstance {
									a {
										color: $linkcolor;
									}
								}
							}
						}
					}
				}
			}
		}

		&.mb2sections0,
		&.weeks,
		&.topics,
		&.ctopics,
		&.gtopics,
		&.buttons {
			margin: 0;
			padding: 0;
			list-style: none;

			@include clearfix();

			li.section,
			#section-0 {

				.content {
					margin: 0;
					padding: 0;
				}

				&.main {
					border-bottom: 0;
				}

				.summary {
					margin-left: 0;
				}

			}

			> li {


				&.hidden {
					opacity: .5;
					display: block !important;
				}

				.content {

					ul {
						&.section {

							padding: 0;

							li {
								&.activity {
									@include mb2_transition1(all, .15s);
									margin-top: .7rem;
									margin-bottom: .7rem;

									&.hasinfo {
										border: 0;
										padding-top: 0;
										padding-bottom: 0;
									}

									.activityicon {
										margin-right: .85rem;
										position: relative;
										top: -.1rem;
									}

									> div {
										padding: 0;
									}

									.activityinstance {

										min-height: 0;
										padding: .28rem .4rem .28rem 0;

										a {
											color: inherit;
										}
									}

									.contentafterlink {
									    margin-top: 0;
									    font-size: $fssmall;
									    color: $textcolor_lighten;

										p {
											margin-top: 0;
										}
									}

									&:hover {
										background-color: rgba(0,0,0,.04);

										.activityinstance {
											a {
												color: $textcolor;
											}
										}
									}

									&.modtype_label {

										padding-left: 0;
										padding-right: 0;

										&:hover {
											background-color: transparent;
										}
									}

								}
							}
						}
					}

					span.the_toggle > h3, // Require for topcoll format in ipad
					a.the_toggle > h3, // Require for topcoll format in ipad
					.sectionname,
					.section-title /* Require for topcoll course filter */ {

						@include mb2_course_section();

					}
				}

			}


			#section-0 {
				.content {
					span.the_toggle > h3, // Require for topcoll format in ipad
					a.the_toggle > h3, // Require for topcoll format in ipad
					.sectionname,
					.section-title /* Require for topcoll course filter */ {

						@include mb2_course_section_main();
						margin-top: 0;

					}
				}
			}


		}

	}


	.editing & {
		ul {
			li {
				&.modtype_label {
					> div {
						padding-top: 2rem !important;
					}
				}
			}
		}
	}


	.section-summary {
		border: 0;

		.section-summary-activities {

			.activity-count {
				font-size: $fssmall;
				color: $textcolor_lighten;
			}

		}
	}





}


.section {
	.activity {
		&.modtype_label {
			&.label {
				font-weight: inherit;
				padding: 0;

				.mod-indent-outer {
					padding-left: 0;
				}

				.contentwithoutlink {
					padding-right: 0;
				}
			}
		}
	}
}


.section_availability {
	&:empty {
		display: none;
	}
}


.path-course-view {
	.completionprogress {
		float: none;
		font-size: $fssmall;
		color: $textcolor_lighten;
		margin: .5rem 0 1.5rem 0;
	}
}


.section-modchooser-link.btn.btn-link {
    border: solid 1px $color_success !important;
    font-size: $fssmall;
	color: $color_success !important;

	&:hover,
	&:focus,
	&:active {
		color: $color_success !important;
	}

	i {
	    font-size: inherit;
	}
}

.path-mod div.activity-information {
	border: 0;
}

.isguestuser {
	.activity-information {
		display: none;
	}
}

.path-mod-scorm {
	.fsmod-wrap {
		#page-content {
			> .btn-secondary {
				display: none;
			}
		}
	}
}
