﻿.sa-autocomplete-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.sa-autocomplete-input {
    width: 100%;
    box-sizing: border-box;
}

/* Selected item styled to look like a textfield */
.sa-selected-item {
    display: inline-flex;
    align-items: center;
    background-color: #c7eceb;
    color: #000;
    border: 1px solid #8cd0cc;
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 14px;
    max-width: 100%;
}

/* New wrapper border to mimic textfield box */
.sa-selected-wrapper {
    border: 1px solid #43BEBB;
    padding: 2px;
    box-sizing: border-box;
    background-color: white;
}

    .sa-selected-wrapper.has-image .sa-selected-item {
        background: linear-gradient(to right, white 120px, #c7eceb 120px);
    }

.sa-display-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/*Important to apply the margin to the text, for situations where onlyimage is used and text is not visible*/
.has-image .sa-display-text {
    margin-left: 20px;
}

.sa-clear-btn {
    margin-left: 5px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
}

    .sa-clear-btn:hover {
        color: #000;
        cursor: pointer;
    }

/*image command text*/
.has-image .sa-clear-btn {
    margin-left: 10px;
}

/*image only*/
.has-image.image-only .sa-clear-btn {
    margin-left: 20px;
}

/*logo image styles*/
.sa-logo-image {
    width: 100px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    /*margin-right: 10px;*/

    /*background-color: white;
    padding: 5px;
    border-right: 1px solid #8cd0cc;*/
}

