/* Zemelapis: OpenStreetMap (leaflet) isvaizda */

#open-map {
    position: relative;
    display: block;
    width: 100%;
    z-index: 1;
    background: #f4f3f1;
}

/* ploksteles ir zymekliai yra <img> - svetaines img { max-width: 100% } juos iskraipo */
#open-map img {
    max-width: none;
}

/* pilkas zemelapis (kaip buvo) */
#open-map .leaflet-tile-pane {
    filter: grayscale(1);
}

/* stilius "Sviesus" */
#open-map.open-map--sviesus .leaflet-tile-pane {
    filter: grayscale(1) contrast(.8) brightness(1.1);
    opacity: .75;
}

/* priartinimo mygtukai - apvalus, desineje virsuje */
#open-map .leaflet-control-zoom {
    border: 0;
    box-shadow: none;
    margin: 12px 10px 0 0;
}

#open-map .leaflet-control-zoom a {
    width: 28px;
    height: 28px;
    line-height: 24px;
    margin-bottom: 20px;
    border: 1px solid #000;
    border-radius: 50%;
    background: #fff;
    color: #000;
    font-size: 20px;
    font-weight: 400;
}

#open-map .leaflet-control-zoom a:hover,
#open-map .leaflet-control-zoom a:focus {
    background: #000;
    color: #fff;
}

/* iskylantis langelis */
#open-map .leaflet-popup-content-wrapper,
#open-map .leaflet-popup-tip {
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    border: 1px solid #e9e9e9;
}

#open-map .leaflet-popup-content {
    margin: 25px;
}

#open-map .leaflet-popup-tip-container {
    display: none;
}

.custom-popup {
    width: 236px;
    max-width: 236px;
    max-height: 500px;
}

.custom-popup .pop-title {
    font-size: 14px;
    color: #444;
    line-height: 20px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    margin-bottom: 10px;
}

.custom-popup .pop-description {
    font-size: 14px;
    color: #444;
    line-height: 20px;
    font-family: Arial, sans-serif;
    margin-bottom: 10px;
}

.custom-popup form {
    margin: 0;
    padding: 0;
}

.custom-popup form input[type='text'] {
    width: 100% !important;
    margin-top: 10px;
    box-sizing: border-box;
    -webkit-appearance: none;
    font-size: 11px;
    color: #4d4d4d;
    border: 1px solid #d0d0d0;
    border-radius: 0;
    padding: 10px;
}

.custom-popup form input[type='submit'] {
    width: 100% !important;
    padding: 10px;
    margin-top: 10px;
    border-radius: 0;
    border: 1px solid #d0d0d0;
    background: #ececec;
    -webkit-appearance: none;
    font-size: 11px;
    color: #4d4d4d;
    font-weight: bold;
    cursor: pointer;
}
