$navigationBtnWidth: 50px;

.bp-is-fullscreen .bp-navigate {
    display: none;
}

.bp-navigate {
    position: absolute;
    top: 50%;
    display: block;
    width: $navigationBtnWidth;
    height: 64px;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    background-repeat: no-repeat;
    border: 0 none;
    transform: translateY(-50%);
    cursor: pointer;
    opacity: 0;

    // Override default animations to only animate opacity since width animation to auto doesn't work
    transition: opacity .5s ease;
    pointer-events: all;

    &:hover,
    &:focus {
        opacity: 1;
    }

    // Custom focus
    &:focus {
        height: 64px;
        outline: 1px solid $downtown-grey;
        box-shadow: inset 0 0 0 1px fade-out($white, .5), 0 1px 2px fade-out($black, .9);
    }

    &:active {
        outline: none;
        box-shadow: none;
    }
}

.bp-is-navigation-visible .bp-navigate {
    opacity: .8;

    &:hover {
        opacity: 1;
    }
}

.bp-navigate-left {
    left: 20px;
    border-radius: 0 2px 2px 0;
}

.bp-navigate-right {
    right: 20px;
    border-radius: 2px 0 0 2px;
}
