/*** MPL csomagpont-választó (Leaflet térkép, js/mpl-leaflet-map.js) ***/

#mpl-picker
{
    clear: both;
    max-width: 100%;
    margin: 10px 0 15px;
}

#mpl-picker .mpl-filter-row
{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 10px;
}

#mpl-picker #mpl-search
{
    display: inline-block;
    width: auto;
    max-width: 260px;
    height: 38px;
    margin-right: 8px;
    border: 1px solid #ccc;
    border-radius: 0;
    box-shadow: none;
}

#mpl-picker .mpl-btn,
.leaflet-popup-content .mpl-pick-btn
{
    color: #fff;
    background: #FDB819;
    border: 1px solid #FDB819;
    border-radius: 0;
    text-transform: uppercase;
    transition: .2s;
}

#mpl-picker .mpl-btn
{
    height: 38px;
    padding: 0 24px;
}

#mpl-picker .mpl-btn:hover,
#mpl-picker .mpl-btn:focus,
.leaflet-popup-content .mpl-pick-btn:hover,
.leaflet-popup-content .mpl-pick-btn:focus
{
    color: #FDB819;
    background: #fff;
}

#mpl-leaflet-map
{
    width: 100%;
    height: 480px;
    border: 1px solid #dadada;
    z-index: 0;
}

#mpl-map-status
{
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #888;
}

/* a themes/main/css/main.css az üzlet térképe miatt minden Leaflet-buborékot elrejt; itt kellenek */
#mpl-leaflet-map .leaflet-popup.leaflet-zoom-animated
{
    display: block !important;
}

/* a Leaflet rem-ben méretez, a téma viszont 10 px-es html betűméretet ad, ezért a buborék szövege pixelben */
#mpl-leaflet-map .leaflet-popup-content
{
    min-width: 200px;
    margin: 14px 18px;
    font-size: 14px;
    line-height: 1.45;
}

.leaflet-popup-content .mpl-popup
{
    color: #333;
}

.leaflet-popup-content .mpl-popup strong
{
    font-size: 15px;
}

.leaflet-popup-content .mpl-popup small
{
    font-size: 13px;
    color: #777;
}

.leaflet-popup-content .mpl-pick-btn
{
    margin-top: 10px;
    padding: 6px 14px;
    font-size: 13px;
}

@media (max-width: 575px)
{
    #mpl-picker #mpl-search
    {
        width: 100%;
        max-width: 100%;
        margin: 0 0 8px;
    }

    #mpl-picker .mpl-btn
    {
        width: 100%;
    }

    #mpl-leaflet-map
    {
        height: 380px;
    }
}
