/* Copyright (C) 2019 West Tech Solutions B.V. (CombiTrip) - All Rights Reserved
 * All rights reserved. No part of this code may be reproduced, distributed, or transmitted in any form or by any means, including photocopying, recording, or other
 * electronic or mechanical methods, without the prior written permission of West Tech Solutions B.V., except in the case of brief quotations embodied in critical reviews and
 * certain other noncommercial uses permitted by copyright law. For permission requests, write to West Tech Solutions B.V., addressed “Attention: Permissions Coordinator,” at info@combitrip.com.
 */

.abgeo-popup-container{
    display: none;
    z-index: 99999;
    position:absolute;
    background: #FFF;
    -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.5);    
}

.abgeo-popup-container > ul{
    padding: 0;
    margin: 0;
    width: 100%;
    display: block;
    list-style: none;    
}

.abgeo-popup-container > ul > li{
    cursor: default;
    padding: 0 4px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    line-height: 30px;
    text-align: left;
    border-top: 1px solid #e6e6e6;
    font-size: 11px;
    color: #999;
}

.abgeo-popup-container > ul > li > a{
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    padding-right: 3px;
}

.abgeo-popup-container > ul > li.active,
.abgeo-popup-container > ul > li:hover{
    background: #85a9dd;
}

.abgeo-popup-container > ul > li.active > a,
.abgeo-popup-container > ul > li.active,
.abgeo-popup-container > ul > li:hover > a,
.abgeo-popup-container > ul > li:hover{
    color: #FFF;
}

.result-icon{
    width: 16px;
    height: 16px;
    display: inline-block;
    background-image: url("../images/pin.png");
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: text-bottom;
    margin-right: 5px;
}

.abgeo-popup-container > ul > li.active .result-icon,
.abgeo-popup-container > ul > li:hover .result-icon{
    background-image: url("../images/pin-active.png");
}

.abgeo-error{
    color: #c0392b !important;
}

.abgeo-error .result-icon{
    background-image: url("../images/error.svg");
    width: 12px;
    height: 12px;
}

.abgeo-popup-container > ul > li.abgeo-error.active .result-icon,
.abgeo-popup-container > ul > li.abgeo-error:hover .result-icon{
    background-image: url("../images/error.svg");
}

.abgeo-input-container{
    position:relative;
}

.abgeo-input-container.loading .abgeo-input{
    position: relative;
    z-index: 1;
}

.abgeo-input-container.loading{
    position:relative;
    display: inline-block;
    pointer-events: none;
    width: 100%;
}

.abgeo-input-container.loading:before{
    content: "";
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.75);
    left: 0;
    top: 0;
    position: absolute;
    z-index: 2;
    border-radius: 20px;
}

.abgeo-input-container.loading:after{
    content: "";
    width: 16px;
    height: 16px;
    background-image: url(../images/spinner-of-dots.png);
    background-repeat: no-repeat;
    background-position: center;    
    position: absolute;
    right: 5px;
    background-color: #FFF;
    top: 50%;
    margin-top: -8px;
    -webkit-animation: spin 2s infinite linear;
    animation: spin 2s infinite linear;    
    z-index: 3;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from {transform:rotate(0deg);}
    to {transform:rotate(360deg);}
}