.vel-btns-wrapper .btn__prev {
	left: 0 !important;
	padding: 45px 12px !important;
	padding-right: 30px !important;
}

.vel-btns-wrapper .btn__next {
	right: 0 !important;
	padding: 45px 12px !important;
	padding-left: 30px !important;
}

/* The viewer's controls are <button>s (they were boxes with a click handler): no button chrome, so they look as they
   did — the library's sheet still places, sizes and colours them. */
.vel-modal button.btn__prev,
.vel-modal button.btn__next,
.vel-modal button.btn__close,
.vel-modal button.toolbar-btn {
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	margin: 0;
	font-family: inherit;
	line-height: inherit;
}

.vel-modal button.btn__prev,
.vel-modal button.btn__next,
.vel-modal button.btn__close {
	background: transparent;
}

.vel-modal button.btn__close {
	padding: 0;
}

/* The library takes the outline away; the keyboard's focus needs to show (WCAG 2.4.7). */
.vel-modal button.btn__prev:focus-visible,
.vel-modal button.btn__next:focus-visible,
.vel-modal button.btn__close:focus-visible,
.vel-modal button.toolbar-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
	opacity: 1;
}

.vel-modal[tabindex='-1']:focus {
	outline: none;
}
