﻿/*autocomplete*/
.autocomplete-group {
    position: relative;
}


.autocomplete-group__input > .ui-widget.ui-autocomplete-loading::after {
    content: '';
    position: absolute;
    right: 7px;
    top: 15px;
    z-index:1;
    width: 16px;
    height: 16px;
    background: transparent url('../../../assets/images/loading.gif') center center no-repeat;
    background-size: 16px;
}

.autocomplete-group__results ul {
    max-height: 61vh;
    overflow: auto;
    z-index: 10;
    background: white;
    /*box-shadow: 0 6px 10px rgba(0,0,0,.1);*/
    box-shadow: 0 6px 10px rgba(0,0,0,.2);
    width: auto !important;
    position: absolute !important;
    top: 46px !important;
    left: 0 !important;
    right: 0;
    border: 0;
    margin: 0;
}
.autocomplete-group__results li > a,
.autocomplete-group__results li > .no-result {
    display: block;
    padding: 6px 10px 6px 32px;
    cursor: pointer;
    font-size: 14px !important;
    line-height: 20px !important;
    color: #333 !important;
    text-decoration: none;
    margin: 0;
    float: none;
    text-align: left;
    font-family: Arial;
}
.autocomplete-group__results li > .no-result {
    padding-left: 10px;
}

.autocomplete-group__results li > a.ui-state-active {
    background-color: #ddd !important;
    border: 0;
}

.autocomplete-group__results li.Club > a {
    background: transparent url('../../../assets/images/list-icon.svg') 7px 9px no-repeat;
    background-size: 16px;
}
.autocomplete-group__results li.Club:hover > a,
.autocomplete-group__results li.Club:focus > a,
.autocomplete-group__results li.Club.active-item > a {
    background: #ddd url('../../../assets/images/list-icon.svg') 7px 9px no-repeat;
    background-size: 16px;
}
.autocomplete-group__results li.Place > a {
    background: transparent url('../../../assets/images/map-pin-icon.svg') 7px 6px no-repeat;
    background-size: 16px;
}
.autocomplete-group__results li.Place:hover > a,
.autocomplete-group__results li.Place:focus > a,
.autocomplete-group__results li.Place.active-item > a {
    background: #ddd url('../../../assets/images/map-pin-icon.svg') 7px 6px no-repeat;
    background-size: 16px;
}

.autocomplete-group__results .ui-autocomplete-term {
    font-weight: bold !important;
    color: #333 !important;
    font-size: 14px !important;
    line-height: 20px !important;
    padding: 0;
    margin: 0;
}



/*playFootball*/
#iyaform .autocomplete-group {
    float: left;
}
#iyaform  .autocomplete-group .fa-input-field {
    padding: 0;
}
#iyaform .autocomplete-group input {
    float: none;
}
#iyaform .autocomplete-group__input > .ui-widget.ui-autocomplete-loading::after {
    top: 11px;
    right: 48px;
}

#iyaform .autocomplete-group__results ul {
    top: 35px !important;
    padding: 0;
}
#iyaform .iyasearch {
    top: 0;
}
#iyaform .autocomplete-group__results ul li {
    border: 0;
}
#iyaform .autocomplete-group__results ul li > a {
    padding: 6px 8px 6px 32px;
    text-align: left;
}
#iyaform .autocomplete-group__results ul li > a.ui-state-active {
    margin: 0;
}

@media only screen and (min-width: 737px) {

    #iyaform .autocomplete-group__results ul {
        top: 35px !important;
    }
}




/* overwrites */
.formRow .autocomplete-group span {
    float: none;
}