/* Normalize box-sizing */
div, ul, li, a, section, nav, h1, h2, h3, h4, h5, h6, hr, input, textarea, footer, header {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
ol, ul {
    list-style: outside none none;
}

/* Style input */
input[type="search"] {
    background-color: white;
    border: 1px solid #cccccc;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
    color: rgba(0, 0, 0, 0.75);
    display: block;
    font-family: inherit;
    height: 45px;
    padding: 7px;
    width: 100%;
}

/* Set parameters on controls (geocoder and reverse)*/
.photon-local-search input.photon-input,
.photon-local-search input.photon-input:focus {
    width: 100%;
    max-width: 100%;
}

.photon-local-search {
    position: relative;
    z-index: 1001;
}

.photon-local-search .photon-autocomplete {
    position: absolute;
    left: 0;
    top: 100%;
    width: 100%;
    z-index: 1002;
    margin-top: 4px;
    padding: 4px 0;
    background: #ffffff;
    border: 1px solid #c8c8c8;
    border-radius: 4px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
}

.photon-local-search .photon-autocomplete li {
    display: block;
    padding: 9px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eeeeee;
    background: #ffffff;
    color: #333333;
    line-height: 1.35;
}

.photon-local-search .photon-autocomplete li:last-child {
    border-bottom: 0;
}

.photon-local-search .photon-autocomplete li:hover,
.photon-local-search .photon-autocomplete li.on {
    background: #f3f7fb;
}

.photon-local-search .photon-autocomplete li strong {
    display: block;
    font-weight: 600;
}

.photon-local-search .photon-autocomplete li small {
    display: block;
    margin-top: 2px;
    color: #6f6f6f;
}

.photon-local-search .photon-autocomplete .type {
    float: right;
    margin-left: 8px;
    color: #8a8a8a;
    font-size: 12px;
    font-weight: 400;
}

.photon-local-search .photon-autocomplete .photon-no-result {
    color: #6f6f6f;
    cursor: default;
}
