/* Sidebar Manager — front end */

.sm-sidebar {
	width: 100%;
}

.sm-sidebar__inner > *:first-child {
	margin-top: 0;
}

.sm-sidebar__inner > *:last-child {
	margin-bottom: 0;
}

.sm-sidebar .sm-widget {
	margin-bottom: 1.75em;
}

.sm-sidebar .sm-widget:last-child {
	margin-bottom: 0;
}

.sm-sidebar .sm-widget-title {
	margin-top: 0;
}

/* Sticky */
.sm-sidebar.sm-is-sticky .sm-sidebar__inner {
	position: sticky;
	top: var( --sm-sticky-offset, 40px );
}

/* Inline placement inside content */
.sm-sidebar--inline {
	margin: 1.5em 0;
}

.sm-sidebar--empty {
	padding: 1em;
	border: 1px dashed #c3c4c7;
	color: #646970;
	font-size: 0.9em;
}

/* Device visibility */
@media ( min-width: 1025px ) {
	.sm-hide-desktop {
		display: none !important;
	}
}

@media ( min-width: 768px ) and ( max-width: 1024px ) {
	.sm-hide-tablet {
		display: none !important;
	}
}

@media ( max-width: 767px ) {
	.sm-hide-mobile {
		display: none !important;
	}

	.sm-sidebar.sm-is-sticky .sm-sidebar__inner {
		position: static;
	}
}
