#slide-sorter {
	white-space: nowrap;
	overflow-x: hidden;
	overflow-y: visible;
	background: var(--color-background-lighter);
	max-height: 95%;
	scrollbar-color: var(--color-background-darker) var(--color-background-lighter);
	scrollbar-width: thin;
}

#sidebar-panel {
	height: 100%
}

#first-drop-site {
	padding: 0px;
}

.preview-frame {
	white-space: nowrap;
	text-align: center;
	padding: 1em 0;
}

.preview-helper {
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}

.preview-img {
	/* In draw docs, the width of previews are small, but we want a min of 160px to align it with document's left edge */
	min-width: 160px;
	vertical-align: middle;
	max-width: 164px;
	cursor: pointer;
	border: 3px solid transparent !important;
	outline: 3px solid var(--color-border);
	box-sizing: border-box;
	margin-left: 10px;
	margin-right: 10px;
}

/* The current part the user is on. */
.preview-img-currentpart {
	border-color: var(--color-background-lighter) !important;
	outline-color: var(--color-primary-dark);
}

/* One of (potentially many) selected parts, but not the current. */
.preview-img-selectedpart {
	border-color: var(--color-primary) !important;
}

/* Highlight where a slide can be dropped when reordering by drag-and-drop. */
.preview-img-dropsite {
	border-bottom: 20px solid var(--color-primary);
}

.hidden-slide {
	opacity: 0.5;
}
