.bg__link-form {
    > .btn-primary {
        background-color: #468dcb;
        color: #fff;
        box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
        border-radius: 2px;
        cursor: pointer;
        text-transform: uppercase;
        padding: 3px 7px;
        line-height: 20px;
        margin-top: 5px;
        float: right;
    }

    > .filter {
        padding: 0 0 5px;
        display: flex;
        justify-content: start;
        align-items: center;
        margin-bottom: 5px;
        border-bottom: 1px solid $clGreyTint;
        select {
            margin-left: 10px;
            border: 1px solid $clMediumGrey;
            border-radius: 4px;
            background: white;
        }
    }

    > .link-form {
        width: 100%;
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        .link-row {
            display: flex;
            flex-direction: row;
            align-items: center;
            margin-bottom: 5px;

            &.input-row {
                position: relative;
            }

            strong {
                white-space: nowrap;
            }

            input {
                flex-grow: 1;
                min-width: 40px;
                width: 100%;
                margin: 0 0 0 15px;
                border: 1px solid $clGreyTint;
                border-radius: 2px;
                padding: 0 5px;
                line-height: 30px;
            }

            .clear {
                display: block;
                width: 30px;
                height: 30px;
                position: absolute;
                right: 0px;
                top: 0px;
                &:after {
                    content: '+';
                    color: $clDark;
                    font-weight: bold;
                    transform: rotate(45deg);
                    display: block;
                    font-size: 24px;
                    position: absolute;
                    right: 6px;
                    top: -1px;
                    opacity: 0.6;
                    transition: opacity 0.3s ease-out;
                    cursor: pointer;
                }
                &:hover {
                    &:after {
                        opacity: 1;
                    }
                }
            }
        }
    }

    > .link-search-results {
        width: 100%;
        display: flex;
        flex-direction: column;

        .clear {
            margin-top: 5px;
            cursor: pointer;
            display: block;
            padding: 5px;
            text-align: center;
            font-weight: bold;
            text-transform: uppercase;

            opacity: 0.7;
            transition: opacity 0.3s ease-out, color 0.3s ease-out;
            &:hover {
                color: $clPrimary;
                opacity: 1;
            }
        }

        .link-result-list {
            width: 100%;
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            max-height: 35vh;
            min-height: 200px;
            overflow-y: auto;

            .link-result {
                user-select: none;
                cursor: pointer;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                justify-content: space-evenly;
                border-bottom: 1px solid $clGreyTint;
                padding: 5px 5px 5px 10px;
                border-left: 3px solid $clGreyTint;
                transition: background-color 0.3s ease-out,
                    border-color 0.3s ease-out;
                &:hover {
                    background-color: white;
                    border-left: 3px solid $clPrimary;
                }
            }
        }
    }
}
