﻿.bm-ins-banner-wrapper {
    position: relative;
    height:400px;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    color:white;
}

.bm-ins-banner-wrapper h1 {
    font-weight:200;
}

.bm-ins-banner-overlay {
    background-color: #052b556e;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bm-ins-header img {
    max-height: 100px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.bm-ins-header h1 {
    font-weight: 300;
    font-size:1.8rem;
}

.bm-ins-header a {
    color: #7BC2E6;
    text-decoration: none;
    font-weight: 500;
    text-decoration: none;
}

.bm-ins-body {
    text-align: justify;
    padding-left: 10rem;
    margin-top: 2rem;
}

.bm-ins-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 10rem;
    margin-bottom: 2rem;
}

    .bm-ins-images img {
        width: 20%;
        border: solid 2px white;
        cursor:pointer;
    }

        .bm-ins-images img:hover {
            border-color: #8FCFFF;
        }

.bm-ins-form {
    background-color: rgb(243 249 255 / 60%);
    padding: 1rem;
    margin-top: 2rem;
    margin-right: 10rem;
}

    .bm-ins-form img {
        margin-top: 20px;
        width: 24%;
    }

    .bm-ins-form h5 {
        font-weight: 300;
        margin: 0;
        padding: 0;
        margin-top: 10px;
    }

    .bm-ins-form h4 {
        background-color: #8FCFFF;
        font-size: 1.1rem;
        font-weight: 300;
        padding: 10px;
        margin-top: 20px;
        text-align: center;
    }

.bm-list-sedi {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
}

.bm-list-contatti {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: .9rem;
}


@media screen and (max-width:800px) {
    .bm-ins-body {
        padding-left: 0;
        padding: 30px;
    }

    .bm-ins-form {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
