/* Back-to-top button, moved to the left of the screen.
 *
 * The theme pins it bottom-right (right: 30px). `right` has to be cleared
 * as well as `left` set, or the two would fight and the button would
 * stretch across the page.
 */

.scroll-to-top {
    right: auto;
    left: 30px;
}

/* The mobile drawer opens from the left and shares this button's
 * z-index, so on the left they now overlap -- the button would float on
 * top of the menu. `locked` is put on <body> by the theme whenever the
 * drawer is open, which makes it the hook for getting out of the way.
 */
body.locked .scroll-to-top {
    display: none;
}
