.leaflet-popup-content {
    min-width: 450px !important;
}

.map-item-header {
    display: flex;
    flex-direction: row;
}

.leaflet-popup-content {
    margin: 15px;
}

.placemark-details {
    display: flex;
    flex-direction: column;
}

.placemark-details .contacts {
    margin-top: auto;
}

.placemark-details .contacts > a {
    padding: 5px;
}

.placemark-description > p {
    max-width: 90%;
}

.placemark-image img {
    width: 170px;
    height: 160px;
    object-fit: cover;
}

.leaflet-container a.leaflet-popup-close-button {
    top: -18px;
    right: -17px;
    font: 30px / 20px Tahoma, Verdana, sans-serif;
    border: 1px solid var(--c-red);
    border-radius: 50%;
    background: var(--c-white);
    color: var(--c-red);
}

.leaflet-bar .filter-menu {
    min-width: 200px !important;
}

.filter-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-layer-btn svg {
    border: 1px solid #F0ECE2;
    border-radius: 50% !important;
    width: 28px;
    height: 28px;
    padding: 3px;
}

.filter-menu {
    display: none;
    background: white;
}

.leaflet-bar.leaflet-control.leaflet-control-custom {
    background-color: hsla(0, 0%, 100%, .9);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .2);
}

.filter-menu > label {
    color: #89807A;
    font-size: 14.88px;
    font-weight: 500;
    line-height: 22.32px;
    text-align: left;
    margin-bottom: 0 !important;
    width: 100%;
}

.map-layer-container img {
    width: auto;
    height: 24px;
    padding-right: 10px;
}

.filter-menu > input {
    padding-left: 25px;
    text-align: right;
}

.filter-menu > span {
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 10px;
    text-align: center;
}

.map-layer-container .form-check {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.map-layer-container .form-check label {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.map-layer-container .form-check-input[type=checkbox] {
    border-radius: 50%;
    font-size: 16px;
}

@media screen and (max-width: 770px) {
    .leaflet-popup-content {
        min-width: 100% !important;
    }

    .placemark-image img {
        width: 100px;
        height: 120px;
    }
}
