/* Geofence create/edit sidebar: location tools partial
   (Tobuli/Views/Frontend/Geofences/partials/location_tools.blade.php) */

.geofence-tools .geofence-location-group {
    position: relative;
}

.geofence-tools .geofence-location-results {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: 220px;
    overflow-y: auto;
    margin-top: 2px;
    padding: 4px 0;
    z-index: 1050;
    /* Own colours: the theme's .dropdown-menu is dark in some skins, which
       left inherited text unreadable. Match the white search input instead. */
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 3px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.geofence-tools .geofence-location-results > li > a {
    display: block;
    padding: 6px 12px;
    white-space: normal;
    line-height: 1.3;
    color: #333333;
    text-decoration: none;
}

.geofence-tools .geofence-location-results > li > a:hover,
.geofence-tools .geofence-location-results > li > a:focus {
    color: #000000;
    background-color: #f0f4f8;
}

.geofence-tools .geofence-draw-help {
    padding: 8px 10px;
    margin-bottom: 12px;
    font-size: 12px;
}

.geofence-tools .geofence-draw-actions {
    margin-top: 6px;
}

.geofence-tools .geofence-draw-actions .btn {
    margin: 2px 4px 2px 0;
}

.geofence-tools .geofence-circle-fields .row {
    margin-left: -5px;
    margin-right: -5px;
}

.geofence-tools .geofence-circle-fields .row > [class*="col-"] {
    padding-left: 5px;
    padding-right: 5px;
}
