.bp-find-bar {
    $bdlGray10: #e8e8e8;

    position: absolute;
    top: 0;
    right: 17px; // Prevents overlap with scroll-bar
    z-index: 3;
    display: flex;
    align-items: center;
    padding: 6px;
    font-size: 12px;
    font-family: Lato, 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: $white;
    border: 1px solid $bdlGray10;

    // Removes "clear field" x at the end of input fields in IE10+ on Windows 8+
    ::-ms-clear {
        display: none;
    }

    .bp-doc-find-field {
        width: 200px;
        height: 34px;
        padding: 6px 6px 6px 25px;
        color: $better-black;
        line-height: 20px;
        border: 1px solid $bdlGray10;
        border-radius: 2px 0 0 2px;
        outline-style: none;
        transition-timing-function: ease;
        transition-duration: 150ms;
        transition-property: border-color;

        &:focus,
        &:hover {
            border-color: $box-blue;
        }
    }

    .bp-doc-find-results-count {
        position: absolute;
        top: 37%;
        right: 120px;
        margin: 0;
        padding: 0;
        color: fade-out($better-black, .75);
        line-height: 1;
        text-align: right;
        cursor: default;
        user-select: none;
    }

    .bp-doc-find-search,
    .bp-doc-find-prev,
    .bp-doc-find-next,
    .bp-doc-find-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        padding: 0;
        line-height: 1;
        vertical-align: middle;
        background: none;
        border: 1px solid $off-white;
        border-left: 0;
        cursor: pointer;

        svg {
            width: 17px;
        }

        .icon {
            fill: fade-out($better-black, .25);
        }
    }

    .bp-doc-find-prev,
    .bp-doc-find-next,
    .bp-doc-find-close {
        &:hover .icon {
            fill: $better-black;
        }
    }

    .bp-doc-find-search {
        position: absolute;
        top: 15%;
        left: 5px;
        margin: 0;
        line-height: 1;
        text-align: left;
        border: 0;
        pointer-events: none;

        svg {
            width: 12px;
            height: 12px;
        }
    }

    .bp-doc-find-close {
        border: 0;

        svg {
            width: 22px;
        }
    }

    .bp-find-match-not-found,
    .bp-find-match-not-found:hover,
    .bp-find-match-not-found:focus {
        border-color: fade-out($great-balls-of-fire, .5);
    }

    .bp-doc-find-controls {
        display: flex;
    }
}
