/*Custom Search Box*/
.leaflet-container{
    font: inherit;
}

#jsMap {
    position: relative;
}
#search {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 90%;
    -webkit-box-shadow: 0 9px 19px -15px rgba(0,0,0,0.72);
    -moz-box-shadow: 0 9px 19px -15px rgba(0,0,0,0.72);
    box-shadow: 0 9px 19px -15px rgba(0,0,0,0.72);
    direction: rtl;
    text-align: right;
    z-index: 12;
    transform: translateX(-50%);
}
#searchbox {
    width: 100%;
    padding: 7px 35px 7px 7px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background-color: rgba(255, 255, 255, 0.85);
    background-image: url('../../../img/icons/svg/search-icon.svg');
background-repeat: no-repeat;
background-position: calc(100% - 0.4rem) 50%;
}
#searchbox:focus {
    outline: none;
}

.autocomplete-suggestions {
    border-radius: 8px;
}
.form-component {
    margin-bottom: 15px;
}

.form-component label {
    float: right;
    width: 50px;
}
.autocomplete-suggestion {
    padding: 10px;
}
.autocomplete-suggestion .address {
    float: right;
    width: 80%;
}
.autocomplete-suggestion .address span {
    display: block;
    color: #999;
}
.autocomplete-suggestion .street-type {
    width: 20%;
    float: left;
    text-align: left;
    padding-top: 5px;
}
.autocomplete-suggestion .street-type span {
    display: block;
    text-align: left;
    font-size: 11px;
}
#location {
    display: none;
}

/*Auto Complete style*/
.autocomplete-suggestions {
    font-size: 11px;
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, .1);

    /* core styles should not be changed */
    position: absolute;
    display: none;
    z-index: 9999;
    max-height: 254px;
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.autocomplete-suggestion {
    direction: rtl;
    text-align: right;
    position: relative;
    padding: 0 .6em;
    line-height: 23px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.02em;
    color: #333;
    font-family: IRANSans;
}

.autocomplete-suggestion b {
    font-weight: normal;
    color: #1f8dd6;
}

.autocomplete-suggestion.selected {
    background: #f0f0f0;
}
