.sidebar-category-filter {
	font-size: 80%;
	padding-top: 7rem;

	/* The switch - the box around the slider */
	.switch {
		position: relative;
		display: inline-block;
		width: 30px;
		height: 17px;
	}

	/* Hide default HTML checkbox */
	.switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}

	/* The slider */
	.slider {
		position: absolute;
		cursor: pointer;
		top: 5px;
		left: 0;
		right: 0;
		bottom: -5px;
		background-color: #bbb;
		-webkit-transition: 0.4s;
		transition: 0.4s;
	}

	.slider:before {
		position: absolute;
		content: "";
		height: 14px;
		width: 14px;
		left: 2px;
		bottom: 2px;
		background-color: white;
		-webkit-transition: 0.4s;
		transition: 0.4s;
	}

	input:checked + .slider {
		background-color: #15944a;
	}

	input:focus + .slider {
		box-shadow: 0 0 1px #bbb;
	}

	input:checked + .slider:before {
		-webkit-transform: translateX(13px);
		-ms-transform: translateX(13px);
		transform: translateX(13px);
	}

	/* Rounded sliders */
	.slider.round {
		border-radius: 17px;
	}

	.slider.round:before {
		border-radius: 50%;
	}
	.sidebar-calendar-filter-controls {
		display: flex;
		justify-content: space-between;
		margin-top: 1rem;
		button {
			font-size: 75%;
		}
		.show-all {
			background-color: #15944a;
		}
	}
}

/* MODAL STYLES
-------------------------------*/
.jw-modal {
	/* modals are hidden by default */
	display: none;

	/* modal container fixed across whole screen */
	position: fixed;
	inset: 0;

	/* z-index must be higher than everything else on the page */
	z-index: 10000;

	/* semi-transparent black background exposed by padding */
	background-color: rgba(0, 0, 0, 0.75);
	padding: 40px;

	/* enables scrolling for tall modals */
	overflow: auto;
}

.jw-modal.open {
	display: block;
}

.jw-modal-body {
	padding: 20px;
	background: #fff;
	position: relative;
}
.jw-modal-close {
	position: absolute;
	right: 10px;
	line-height: 0;
	cursor: pointer;
	display: table-cell;
	vertical-align: middle;
	top: 0;
	padding: 5px;
}

body.jw-modal-open {
	/* body overflow is hidden to hide main scrollbar when modal window is open */
	overflow: hidden;
}
