/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

#back-to-top {
    position: fixed;
    bottom: 0;
    right: 0;
    display: none;
    background: #333;
    color: #fff;
    padding: 0 7px 0 5px;
    border-radius: 0;
    cursor: pointer;
    z-index: 999;
}

#back-to-top .dashicons-arrow-up {
    font-size: 42px;
    width: fit-content;
    height: fit-content;
}

/* Mobile Responsive - Remove padding on mobile */
@media (max-width: 767px) {
    #back-to-top {
        padding: 0;
    }
    
    /* 
     * IMPORTANT: Position Pojo accessibility toolbar ONLY when back-to-top is active
     * This rule ONLY applies when <body> has the class "bisc-back-to-top-active"
     * If checkbox is unchecked, body class is not added, so this rule doesn't apply
     */
    body.bisc-back-to-top-active .pojo-a11y-toolbar-toggle {
        bottom: 50px !important;
    }
}