﻿.aa-dropdown-menu {
    position: relative;
    top: -6px;
    border-radius: 3px;
    margin: 6px 0 0;
    padding: 0;
    text-align: left;
    height: auto;
    /*  position: relative;*/
    background: white;
    border: none;
    width: 100%;
    left: 0 !important;
    box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.2), 0 2px 3px 0 rgba(0, 0, 0, 0.1);
}

    .aa-dropdown-menu:before {
        position: absolute;
        content: '';
        width: 14px;
        height: 14px;
        background: #fff;
        top: -7px;
        border-top: 1px solid #D9D9D9;
        border-right: 1px solid #D9D9D9;
        transform: rotate(-45deg);
        border-radius: 2px;
        z-index: 999;
        display: block;
        left: 24px;
    }

    .aa-dropdown-menu .aa-suggestions {
        position: relative;
        z-index: 1000;
    }

    .aa-dropdown-menu [class^="aa-dataset-"] {
        position: relative;
        border: solid 1px #D9D9D9;
        border-radius: 3px;
        overflow: auto;
        /* padding: 8px 8px 8px;*/
        padding: 8px;
    }

    .aa-dropdown-menu * {
        box-sizing: border-box;
    }

.aa-suggestion {
    font-size: 1.1em;
    padding: 4px 4px 0;
    display: block;
    width: 100%;
    /*  height: 38px;*/
    position: relative;
    min-height: 38px !important;
    height: auto !important;
    clear: both;
}

.aa-suggestions {
    /* width: 100% !important;*/
    min-width: 340px;
    max-width: 380px;
}

.aa-dataset-1 {
    padding: 2px 3px !important;
}

.aa-suggestion span {
    /*  white-space: nowrap !important;
  text-overflow: ellipsis;*/
    white-space: normal !important;
    float: none !important;
    padding-left: 28px;
    overflow: hidden;
    display: block;
    /*float: left;*/
    line-height: 2em;
    width: 100%;
    cursor: pointer;
}

.aa-suggestion.aa-cursor {
    background: #eee;
}

.aa-suggestion em, .no-result em {
    color: #4098CE;
    font-style: normal;
}

    .aa-suggestion span img {
        position: absolute;
        top: 2px;
        left: 2px;
        bottom: 0;
        float: none;
        height: 30px;
        width: 20px;
        margin-right: 6px;
        vertical-align: middle;
    }

#small-search-box-form span {
    float: left;
    width: auto;
}

.branding {
    text-align: center;
    width: 100%;
    font-size: 12px;
    padding: 2px;
}

    .branding img {
        height: 12px;
        display: inline-block;
        position: absolute;
        margin: 2px;
    }

.no-result {
    padding: 6px;
    width: 100%;
}
