.aa-overlay {
    height: 100vh;
    position: fixed;
    background: #FFFFFF;
    width: 100vw;
    top: 40vh;
    left: 0;
}

.ap-footer, .aa-input-search.aa-hint {
    display: none !important;
}

.aa-input-container, .algolia-autocomplete {
    display: inline-block;
    position: relative;
    width: 100%;
    z-index: 2;
}

.aa-input-container > .twitter-typeahead {
    width: 100%;
}

.aa-input-search {
    width: 100% !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #FFF !important;
}

.aa-input-search::-webkit-search-decoration, .aa-input-search::-webkit-search-cancel-button,
.aa-input-search::-webkit-search-results-button, .aa-input-search::-webkit-search-results-decoration {
    display: none;
}

.aa-input-search:focus {
    outline: 0;
    border-color: #3a96cf;
    box-shadow: 4px 4px 0 rgba(58, 150, 207, 0.1);
}

.aa-input-icon {
    /*height: 65px;
    width: 69px;
    position: absolute;
    right: 0;
    fill: #FFF;
    padding: 20px;;
    background: #f30d49;
    bottom: 0;
    border-radius: 0 4px 4px 0;
    z-index: 10;
    cursor: pointer;*/
    height: 65px;
    width: 120px;
    position: absolute;
    right: 0;
    padding: 10px;
    background: #f30d49;
    bottom: 0;
    border-radius: 0 4px 4px 0;
    z-index: 10;
    cursor: pointer;
    color: white;
    font-weight: 700;
    font-size: 19px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media screen and (max-width: 425px){
    .aa-input-icon {
        display: none;
    }
}

.aa-hint {
    color: #000;
}

.aa-dropdown-menu {
    background-color: #fff;
    border: 1px solid #DDD;
    width: 100%;
    margin-top: -1px;
    -webkit-box-shadow: 0 120px 0 120px #FFF;
    -moz-box-shadow: 0 120px 0 120px #FFF;
    box-shadow: 0 120px 0 120px #FFF;

    /*-webkit-box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    -moz-box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);
    box-shadow: 0 7px 14px rgba(50, 50, 93, .1), 0 3px 6px rgba(0, 0, 0, .08);*/
    font-size: 15px;
    border-radius: 0 0 4px 4px;
    box-sizing: border-box;
    display: none !important;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: calc(100% - 120px);
}

@media screen and (max-width: 425px){
    .aa-dropdown-menu {
        max-width: none;
    }
}

.aa-dropdown-menu.shown {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.aa-dataset-neighborhood,
.aa-dataset-streets,
.aa-dataset-places {
    flex: 1 0 100% !important;
}

[class*="aa-dataset-"] {
    flex-basis: 50%;
    min-width: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.aa-dataset-places .aa-suggestion[role="option"] {
    flex-wrap: wrap;
}

.aa-suggestion.u-noPadding {
    flex: 1 0 100%;
    padding: 10px 17px !important;
}

.aa-dataset-neighborhood span.aa-suggestions {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.aa-suggestions {
    padding: 5px 0 0;
}

.aa-dataset-neighborhood .aa-suggestion[role="option"] {
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-pack: inherit;
    -ms-flex-pack: inherit;
    justify-content: inherit;
    -webkit-box-align: inherit;
    -ms-flex-align: inherit;
    align-items: inherit;
    display: inline-block;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    /*max-width: 320px;
    width: 33%;*/
    flex: 1 0 100%;
}

@media screen and (max-width: 768px){
    .aa-dataset-neighborhood .aa-suggestion[role="option"] {
        width: 50%;
    }

    .aa-dataset-neighborhood .aa-suggestion[role="option"]:nth-child(n+7){
        display: none;
    }
}

@media screen and (max-width: 520px){
    .aa-dataset-neighborhood .aa-suggestion[role="option"] {
        width: 100%;
    }

    .aa-dataset-neighborhood .aa-suggestion[role="option"]:nth-child(n+4){
        display: none;
    }
}

.aa-suggestion, .aa-empty, .aa-footer {
    padding: 9px 0;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 17px;
}

.aa-suggestion:hover {
    text-decoration: none !important;
}

.aa-suggestion .col {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    flex-direction: row;
    padding: 0;
    min-width: 0;
}

.aa-suggestion .block-image {
    border-radius: 2px;
}

.aa-suggestion .col .u-noWrapWithEllipsis {
    line-height: 1.5;
}

.aa-suggestion .col a.image-container {
    position: relative;
    display: inline-block;
    width: 80px;
    min-width: 80px;
    height: 70px;
    margin-right: 10px;
}

.aa-suggestion .col a.image-container:hover,
.aa-suggestion .col a.image-container:focus {
    text-decoration: none;
}

.aa-suggestion .col .content-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    align-content: center;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
}

.aa-suggestion .col .content-container a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    align-self: center;
    min-width: 0;
}

.aa-suggestion .col .content-container a:hover,
.aa-suggestion .col .content-container a:focus {
    text-decoration: none;
}

.aa-suggestion:hover, .aa-suggestion.aa-cursor {
    background-color: rgba(241, 241, 241, 0.35);
}

.aa-dataset-places .aa-suggestion[role="option"]:hover,
.aa-dataset-places .aa-suggestion.aa-cursor[role="option"]:hover {
    background-color: transparent;
}

.aa-suggestion > span:first-child {
    color: #333;
}

.aa-suggestion > span:last-child {
    color: #282828;
}

.aa-suggestions-category {
    text-transform: uppercase;
    border-bottom: 1px solid #DDD;
    padding: 10px 16px;
    color: #000000;
    font-size: 17px;
    font-weight: 700;
    background: rgba(242, 242, 242, 1);
    margin-bottom: 10px;
    -webkit-box-shadow: 0 7px 10px -10px #BBB;
    -moz-box-shadow: 0 7px 10px -10px #BBB;
    box-shadow: 0 7px 10px -10px #BBB;
    display: none;
}

[class*="aa-dataset-"]:not(:first-child) .aa-suggestions-category {
    margin-top: 10px;
}

[class*="aa-dataset-"]:not(:first-child) .aa-suggestion:last-child {
    /*margin-bottom: 10px;*/
}

.aa-dropdown-menu em {
    text-decoration: none;
    font-style: normal;
    /*background: rgba(46, 138, 247, .12);*/
    border-radius: 0;
}

.aa-footer {
    background: #39a0ea;
    background: -webkit-linear-gradient(top, #51b5ef, #39a0ea);
    background: linear-gradient(to bottom, #51b5ef, #39a0ea);
    text-shadow: 1px 1px 1px rgba(14, 116, 195, .75);
    color: #FFF;
    margin: 7px 17px 17px;
    border-radius: 3px;
}

.aa-footer:hover,
.aa-footer:focus {
    text-decoration: none;
    color: white;
}

.aa-footer span {
    text-align: center;
    width: 100%;
}

@media screen and (max-width: 768px) {
    [class*="aa-dataset-"] {
        flex-basis: 100%;
    }
}

@media screen and (max-width: 425px) {

    #query {
        padding-right: 50px !important;
    }

    .aa-suggestion:not(:first-child) {
        display: none;
    }

    .aa-suggestion .col a.image-container {
        display: none;
    }
}

.frame { width: 100%; height: 160px; padding: 0; }
.frame .slidee { margin: 0; padding: 0; height: 100%; list-style: none; }
.frame .slidee li { float: left; margin: 0 5px 0 0; padding: 0; width: 120px; height: 100%; }