﻿
.owl-carousel .item {
    background: none repeat scroll 0 0 #4dc7a0;
    height: 10rem;
    padding: 1rem;
}

.TitServ {
    margin-top: 20px;
    display: block;
    text-align: left;
}

nav {
    font-size: small;
}

.TooltipIFH + .tooltip > .tooltip-inner {
    background-color: #FFFFFF;
    border: 1px solid #00408a;
    padding: 5px 10px 10px 10px;
    color: #808080;
}

.bt_resize_video {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

.linkCat {
    margin-bottom: 10px;
}

    .linkCat a:hover {
        text-decoration: underline;
    }

@media (max-width: 767px) {

    .modal-dialog {
        display: block;
    }

    .w60 {
        width: 100%;
    }
}


.bigVideo {
    overflow: hidden;
    height: 50vh;
}

.bt_gallery {
    position: absolute;
    right: 30px;
    bottom: 20px;
}

.dettHotel {
    display: inline-block;
}


@media all and (min-width: 1200px) {
    .bigVideo {
        border-radius: 15px;
        margin: 15px;
    }
}

.stelle {
    color: #FCb434;
    font-size: 14px;
    margin: 20px 0
}


.divFirstPhoto {
    height: 100%;
}

.imgFirstPhoto {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}

/* ========================================
   GALLERIA FOTOGRAFICA HOTELDET
   ======================================== */

.images-grid {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 8px;
}

    /* Contenitori delle fotografie */
    .images-grid > * {
        min-width: 0;
        min-height: 0;
        overflow: hidden;
    }

        /* Prima fotografia: grande a sinistra */
        .images-grid > *:first-child {
            grid-column: span 2;
            grid-row: span 2;
        }

    /* Elementi picture */
    .images-grid picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    /* Tutte le fotografie */
    .images-grid img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Smartphone: mostra solo la prima fotografia */
@media (max-width: 767px) {
    .images-grid > * {
        display: none;
    }

        .images-grid > *:first-child {
            display: block;
            grid-column: span 4;
            grid-row: span 2;
        }
}