﻿.bm-map-list-items {
    padding-left: 40px;
    padding-bottom: 10px;
    padding-top: 10px;
    font-size: .9rem
}

    .bm-map-list-items ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }


.bm-map-item {
    border: solid 1px #f6f6f6;
    padding-bottom: 10px;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    border-top: solid 4px #6FE3FF;
    margin-bottom: 10px;
}

.bm-map-item-title {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.bm-map-item-body {
    display: flex;
    align-items: start;
}

    .bm-map-item-body > img {
        width: 50%;
        margin-right: 10px;
    }

    .bm-map-item-body > div {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        position: relative;
    }

        .bm-map-item-body > div > div.bm-map-item-content {
            background-color: #f6f6f6;
            padding: 8px;
            /*border: solid 1px #e3e3e3;*/
        }

            .bm-map-item-body > div > div.bm-map-item-content a {
                color: #42A8C1;
                text-decoration: none;
                font-weight: 500;
            }



        .bm-map-item-body > div > div.bm-map-item-footer {
            display: flex;
            flex-direction: row;
            margin-top: 8px;
            flex-wrap:wrap;
        }

            .bm-map-item-body > div > div.bm-map-item-footer > div.bm-map-item-price {
                text-align: right;
                width: 100%;
                font-weight: 500;
            }

                .bm-map-item-body > div > div.bm-map-item-footer > div.bm-map-item-price span {
                    display: inline-block;
                    background-color: #f6f6f6;
                    /*border: solid 1px #e3e3e3;*/
                    padding: 10px;
                    width: 100%;
                    line-height: 20px;
                    text-align: center;
                }

            .bm-map-item-body > div > div.bm-map-item-footer > a {
                display: inline-block;
                text-decoration: none;
                /*border: solid 1px #e3e3e3;*/
                padding: 10px;
                width: 100%;
                text-align: center;
                background-color: #FFCC01;
                color: #02172e;
                font-weight: 500;
                line-height: 20px;
                margin-top:5px;
            }

                .bm-map-item-body > div > div.bm-map-item-footer > a:hover {
                   color:white;
                }

.bm-map-wrapper {
    border: solid 1px #e3e3e3;
    margin: 10px;
    position: sticky;
    top: 8px;
}

#map {
    width: 100%;
    min-height: 900px;
}

.pin-sede {
    position: relative;
}

.map-icon i {
    font-size: 2rem;
    color: red;
}

.map-icon-details {
    display: none;
    background-color: white;
    position: absolute;
    top: -50px;
    left: -50px;
    z-index: 10;
    white-space: nowrap;
    padding: 10px;
    font-size: .9rem;
    border: solid 1px #e3e3e3;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.2);
}

    .map-icon-details > div.logo {
        width: 100%;
        margin-bottom: 6px;
        padding: 5px;
        text-align: center;
    }

    .map-icon-details > div.title {
        display: flex;
        flex-direction: row;
        justify-content: end;
        align-items: end;
        width: 100%;
    }

    .map-icon-details > div.logo img {
        width: 70%;
    }

    .map-icon-details > div.contenuto {
        display: flex;
        flex-direction: column;
    }

        .map-icon-details > div.contenuto > div.nome {
            font-weight: bold;
        }

        .map-icon-details > div.contenuto > div.links {
            margin-top: 15px;
            text-align: center;
        }

div.pin-selected .map-icon-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}
