﻿.bm-boat-gallery-wrapper {
    position: relative;
    padding: 10px;
    /*padding-bottom: 10px;*/
    background-color: #f6f6f6;
    /*border-bottom: solid 1px #e3e3e3;*/
    /*margin-bottom: 10px;*/
}

.bm-boat-gallery {
    display: flex;
    overflow: hidden;
    position: relative;
}

    .bm-boat-gallery ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
    }

        .bm-boat-gallery ul li {
            padding: 15px;
        }

            .bm-boat-gallery ul li img {
                height: 600px;
                cursor: pointer;
                box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
            }

                .bm-boat-gallery ul li img.selected {
                    outline: 6px solid #7a8591; /* Bordo interno */
                    outline-offset: -6px; /*Sposta il bordo verso l'interno*/
                }

.bm-boat-main-data {
    margin-top: 20px;
    margin-left: 10px;
}

    .bm-boat-main-data ul {
        list-style: none;
        padding: .8rem;
        margin: 0;
        color: white;
        display: flex;
        font-size: 2.1rem;
        gap: 10px;
        justify-content: center;
        align-items: center;
        color: #02172E;
    }

        .bm-boat-main-data ul li:last-child {
            margin-left: 2.4rem;
            color: #02172E;
        }

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-20px);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

    .scroll-btn.left {
        left: 10px;
    }

    .scroll-btn.right {
        right: 10px;
    }

    .scroll-btn:hover {
        background: rgba(0, 0, 0, 0.8);
    }


.bm-boat-gallery-footer {
    display: flex;
    justify-content: center;
    background-color: #f6f6f6;
    padding-top: 0px;
    padding-bottom: 20px;
}

    .bm-boat-gallery-footer ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

        .bm-boat-gallery-footer ul li {
            max-width: 100px;
            margin: 3px;
        }

            .bm-boat-gallery-footer ul li img {
                width: 100%;
                height: 76px;
                border: solid 1px #e3e3e3;
                /*box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;*/
            }


.bm-boat-body {
    margin: 0;
    padding: 0;
    margin-left: 120px;
    margin-right: 120px;
    padding-right: 10px;
    padding-left: 10px;
}

    .bm-boat-body ul {
        list-style: none;
        padding: 0;
        margin: 0;
        padding-left: 15px;
    }

        .bm-boat-body ul li {
            display: flex;
            line-height: 30px;
        }

            .bm-boat-body ul li b {
                width: 270px;
                font-size: 1rem;
            }

            .bm-boat-body ul li label {
                font-size: .9rem;
                border-bottom: solid 1px #E7E8E8;
                width: 100%;
            }

    .bm-boat-body p {
        padding-left: 15px;
        white-space: pre-wrap;
    }

.bm-boat-subtitle {
    background-color: #02172e;
    padding-top: 6px;
    padding-bottom: 6px;
    padding-left: 15px;
    text-align: left;
    color: #fff;
    border-radius: 5px;
    font-weight: 300;
    margin-top: 1rem !important;
    font-size: 1.3rem;
}

.bm-boat-contractual-data {
    border-bottom: solid 4px #f1f1f1;
    border-top: solid 4px #f1f1f1;
    margin-top: 3rem;
    margin-bottom: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.bm-slider {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    z-index: 101;
    background-color: #f6f6f6;
}

.bm-slider-title {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    border-bottom: solid 1px #e3e3e3;
    z-index: 150;
}

    .bm-slider-title h3 {
        font-weight: 300;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .bm-slider-title h3 small {
            font-size: 1rem;
            margin-left: 10px;
            font-weight: 500;
        }

.bm-slider-content {
    padding: 20px;
    padding-top: 120px;
    padding-bottom: 10px;
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bm-slider-item {
    position: relative;
    /*box-shadow:rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;*/
    margin-bottom: 20px;
}

#btn-close-slider {
    z-index: 10;
    border-color: transparent;
    font-size: 1rem;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
}

    #btn-close-slider i {
        margin-right: 3px;
    }

#btn-contact-slider {
    z-index: 10;
    border-color: transparent;
    font-size: 1rem;
    border: none;
    background-color: transparent;
    display: flex;
    align-items: center;
}

.bm-ricerche-correlate {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 90%;
    margin: auto;
    margin-bottom: 2rem;
}

    .bm-ricerche-correlate h3 {
        margin-bottom: 20px;
        color: #42a8c1;
        font-size: 23px;
        text-align: center;
        font-weight: unset;
    }

    .bm-ricerche-correlate ul {
        display: flex;
        margin: 0;
        padding: 0;
        align-items: flex-start;
        justify-content: flex-start;
        list-style: none;
    }

        .bm-ricerche-correlate ul li {
            padding-right: 30px;
            padding-left: 10px;
            padding-top: 10px;
            padding-bottom: 10px;
            font-size: .8rem;
            text-align: center;
        }

            .bm-ricerche-correlate ul li a {
                text-decoration: none;
                color: white;
            }

            .bm-ricerche-correlate ul li:first-child {
                background-color: #a0c1d1;
                z-index: 10;
                clip-path: polygon(20px 0%, 0% 50%, 20px 100%, 100% 100%, 100% 0%);
                padding-left: 30px;
            }

            .bm-ricerche-correlate ul li:nth-child(2) {
                background-color: #8cb9ce;
                z-index: 9;
                padding-left: 30px;
            }

            .bm-ricerche-correlate ul li:nth-child(3) {
                background-color: #78b0cb;
                z-index: 8;
                padding-left: 30px;
            }


            .bm-ricerche-correlate ul li:nth-child(4) {
                background-color: #6492A9;
                z-index: 7;
                padding-left: 50px;
            }

            .bm-ricerche-correlate ul li:last-child {
                background-color: #468eb1;
                z-index: 6;
                clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
            }


.bm-boat-toolbar {
    margin-top: 15px;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
}

    .bm-boat-toolbar .btn-group {
        width: 100%;
    }

.bm-boat-form img {
    margin-top: 20px;
    width: 24%;
}

.bm-boat-form h5 {
    font-weight: 300;
    margin: 0;
    padding: 0;
    margin-top: 10px;
}

.bm-boat-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;
}

.bm-accessori-wrapper {
    padding-left: 15px;
}

.bm-categoria-accessorio {
    font-weight: bold;
    border-bottom: solid 1px #02172E;
    margin-bottom: 10px;
    margin-top: 10px;
}

.bm-accessorio {
    display: inline-block;
    border: solid 1px #e3e3e3;
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 10px;
    background-color: #f6f6f6;
    margin-bottom: 4px;
}

    .bm-accessorio div:first-child {
        display: flex;
        flex-wrap: nowrap; /* impedisce l’andare a capo, se vuoi */
        align-items: center; /* opzionale: allineamento verticale */
    }

    .bm-accessorio img {
        height: 23px;
        width: auto !important;
        margin-right: 10px;
    }

    .bm-accessorio .bm-img-placeholder {
        height: 30px;
        width: 0px;
    }

.bm-livelli-wrapper {
    padding-left: 15px;
}

.bm-livello {
    font-weight: bold;
    border-bottom: solid 1px #02172E;
    margin-bottom: 10px;
    margin-top: 10px;
}

.bm-componente {
    display: inline-block;
    border: solid 1px #02172E;
    padding: 4px;
    padding-left: 8px;
    padding-right: 8px;
    border-radius: 10px;
    background-color: #f6f6f6;
    margin-bottom: 4px;
}

@media screen and (max-width:800px) {
    .bm-boat-body {
        margin-left: 0;
        margin-right: 0;
    }

    .bm-boat-main-data {
        /*left: 2rem;*/
        display: none;
    }

    /*.bm-boat-main-data ul li {
            font-size: .9rem;
        }*/

    .bm-boat-gallery-footer {
        display: none;
    }

    .bm-boat-toolbar b {
        display: none;
    }

    .bm-ricerche-correlate ul {
        flex-direction: column;
        width: 100%;
    }

        .bm-ricerche-correlate ul li {
            width: 100%;
        }

            .bm-ricerche-correlate ul li:first-child {
                clip-path: none;
            }

            .bm-ricerche-correlate ul li:last-child {
                clip-path: none;
            }

    .bm-boat-gallery ul li img {
        height: 300px;
    }

    .scroll-btn {
        display: none;
    }
}
