header, .hero {
        position: relative;
        overflow: visible;
        overflow: visible;
        width: 100%;
        height: calc(70svh);
        margin: 0;
        z-index: 2;

        @media only screen and (max-width: 980px) {
            min-height: calc(70svh);
            height: min-content;
        }

        .cont-slide {
            position: relative;
        overflow: visible;
            display: block;
            width: 100%;
        }

        #slidepreview,
        #slidepreview1 {
            position: relative;
        overflow: visible;
            display: block;
            z-index: 1 !important;
            width: 100% !important;
            height: calc(70svh);
            margin: 0;
            padding: 0;
            transform: none !important;
            background-color: var(--grigio01);

            @media only screen and (max-width: 980px) {
                min-height: calc(70svh);
                height: min-content;
            }

            .flickity-slider {
                transform: none !important;
            }

            .flickity-page-dots {
                bottom: 3rem;
            }

            .cella {
                position: relative;
                overflow: visible;
                z-index: 1 !important;
                left: 0 !important;
                /*float:left;*/
                list-style: none;
                width: 100vw;
                height: calc(70svh);
                margin: 0;
                padding: 0;

                background-position: 50% 50%;
                background-repeat: no-repeat;
                background-size: cover;
                transition: none;

                display: flex;
                align-items: flex-end;
                justify-content: flex-end;

                @media only screen and (max-width: 980px) {
                    min-height: 70svh;
                    height: min-content;
                }

                &::before {
                    content: '';
                    position: absolute;
                    overflow: clip;
                    display: block;
                    z-index: 2;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    background: linear-gradient(180deg, rgba(30, 30, 30, 0.32) 35%, rgba(30, 30, 30, 0.8) 100%);
                    opacity: .8;
                }

                /* @media only screen and (max-width: 1440px) {
					width: 100vw;
					height: 100vh;
					height: calc(var(--vh, 1vh) * 100 - 96px);

				} */

                picture,
                #picture {
                    position: absolute;
                    overflow: clip;
                    display: block;
                    z-index: 1 !important;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;

                    img {
                        position: absolute;
                        margin: auto auto;
                        left: -10000%;
                        right: -10000%;
                        top: -10000%;
                        bottom: -10000%;
                        /*queste caratteristiche sotto x effetto COVER*/
                        max-width: 10000% !important;
                        min-width: 1000%;
                        min-height: 1000%;
                        -webkit-transform: scale(0.1);
                        transform: scale(0.1);
                        object-fit: cover;
                    }
                }

                video,
                #video {
                    position: absolute;
                    overflow: clip;
                    z-index: 1;
                    margin: auto auto;
                    left: -10000%;
                    right: -10000%;
                    top: -10000%;
                    bottom: -10000%;
                    /*queste caratteristiche sotto x effetto COVER*/
                    min-width: 1000%;
                    min-height: 1000%;
                    -webkit-transform: scale(0.1);
                    transform: scale(0.1);
                    object-fit: cover;
                }

                


                &.is-selected {
                    opacity: 1;

                    .intro {
                        opacity: 1;
                        transform: translateY(0px);
                    }
                }
            }

            .intro {
                    
                    position: relative;
                    overflow: clip;
                    display: block;
                    z-index: 5;
                    margin: 0 auto;
                    padding: 5rem 0;
                    transition: all 0.56s cubic-bezier(0.52, 0.16, 0.24, 1);
                    
                    display: flex;
                    flex-direction: column;
                    justify-content: flex-end;
                    align-items: center;

                    text-align: center;

                    @media only screen and (max-width: 1440px) {
                        padding: 4rem 0;
                    }

                    @media only screen and (max-width: 980px) {
                        padding: 4rem 0;
                    }


                    /* .tit {
                        margin: 1rem 0 0;
                        font-size: clamp(3rem, 5svw, 4.5rem);
                        font-weight: 900;
                        line-height: 1;
                        color: var(--bianco);
                        text-transform: uppercase;

                        b, strong {
                            font-weight: 800;
                        }
                    }


                    .intro-txt{
                        font-size: clamp(1.2rem, 3svw, 1.5rem);
                        color: var(--bianco);
                        text-transform: uppercase;
                        letter-spacing: .25em;
                        margin: 0;
                    }

                    .tit, .intro-txt, .quote{
                        text-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);

                    } */


                    .head_ico {
                        position: relative;
                        overflow: clip;
                        display: block;
                        flex-shrink: 0;
                        width: auto;
                        height: 4.4rem;
                        margin: 0 1rem 0 0;
                        padding: 0;

                        @media only screen and (max-width: 1600px) {
                            margin: 0 0 2rem 0;
                            align-self: center;
                        }
                    }

                    .cont_btn {
                        display: flex;
                        justify-content: flex-end;
                        gap: 1rem;
                    }
                    
                }
        }



        &.w-video{
            min-height: 0;
            max-height: calc(56svw);
            height: calc(100svh - 124px);
            overflow: clip;

            #slidepreview,
            #slidepreview1 {
                min-height: 0;
                max-height: calc(56svw);
                height: calc(100svh - 124px);

                .cella {
                    min-height: 0;
                    max-height: calc(56svw);
                    height: calc(100svh - 124px);

                    .intro{
                        .tit{
                            font-size: clamp(1.8rem, 5svw, 4rem);
                        }

                        @media only screen and (max-width: 980px) {
                            padding: 2rem 0;
                        }
                    }

                    
                }
            }



        }


}

/* //header */





.STILE_altscuro {

    article{
        background-color: var(--grigio01);
        box-shadow: -50vw 0px 0px 0px var(--grigio01), 50vw 0px 0px 0px var(--grigio01);

        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0;
        row-gap: 0;
        align-items: center;

        padding: 0 !important;

        @media only screen and (max-width: 1600px) {
            
        }

        @media only screen and (max-width: 850px) {
            grid-template-columns: 1fr;
            padding-right: 5svw;
            
        }

        .immagine,
        .testo {
            width: 100%;
        }

        .immagine{
            order: -1;

            @media only screen and (max-width: 850px) {
                order: -1 !important;
            }
        }


        .immagine {

			position: relative;
        	overflow: clip;
			display: block;
			width: 100%;
			margin: 0 auto;

			&::before {
				content: '';
				display: block;
				padding-top: 80%;
			}

			picture,
			#picture {
				position: absolute;
        		overflow: clip;
				top: 0%;
				left: 0%;
				width: 100%;
				height: 100%;

				img {
					position: absolute;
					margin: auto auto;
					left: -10000%;
					right: -10000%;
					top: -10000%;
					bottom: -10000%;
					/*queste caratteristiche sotto x effetto COVER*/
                    max-width: 10000% !important;
                    min-width: 1000%;
                    min-height: 1000%;
                    -webkit-transform: scale(0.1);
                    transform: scale(0.1);
                    object-fit: cover;
					/*queste caratteristiche sotto x effetto CONTAIN
					object-fit: contain;
					max-width: 100%;
					max-height: 100%;
					-webkit-transform: scale(1);
					transform: scale(1);*/
				}
			}
		}

        .testo{

            .sec-ico{
                width: auto;
                height: 84px;
            }

            padding-right: calc(50svw - 630px);
            padding-left: 6rem;

            @media only screen and (max-width: 1600px) {
                padding-right: 5svw;
                padding-left: 4rem;
                
            }

            @media only screen and (max-width: 850px) {

                .sec-ico{
                    width: auto;
                    height: 64px;
                }

                padding: 3rem 5svw;
            }
        }



        
        &:nth-child(even){
            background-color: var(--grigio02);
            box-shadow: -50vw 0px 0px 0px var(--grigio02), 50vw 0px 0px 0px var(--grigio02);

            .immagine{
                order: 999;
            }

            .testo{

                /*text-align: right;*/
                padding-left: calc(50svw - 630px);
                padding-right: 6rem;

                @media only screen and (max-width: 1600px) {
                    padding-left: 5svw;
                    padding-right: 4rem;
                }

                @media only screen and (max-width: 850px) {
                    text-align: left;
                    padding: 3rem 5svw;
                }
            }
        }

        @media (max-width: 768px) {
            grid-template-columns: 1fr;

            .immagine,
            .testo {
                order: initial;
            }
        }
    }


    &.decor article{
        &::before, &::after{
            content: "";
            position: absolute;
            display: block;
            width: 464px;
            height: 100%;

            top: 0;
            left: calc(50% + 8px);
            transform: translateX(-50%);

            background-image: url('/css/images/bgrighe.png');
            background-size: 128px 1px;
            z-index: 1;

            opacity: .15;
        }

        >*{
            z-index: 2;
        }

    }

    
}



.STILE_trecol{
    article{
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2.5rem;
        row-gap: 0;

        div{
            width: 100%;
        }

        @media only screen and (max-width: 850px) {
            grid-template-columns: 1fr;

            div{
                padding: 1.5rem 0;
            }

            div:nth-child(even){
                width: 100%;
                background-color: var(--grigio06);
                box-shadow: -50vw 0px 0px 0px var(--grigio06), 50vw 0px 0px 0px var(--grigio06);

            }
        }
    }
}



.STILE_duecol02{
    article{
        row-gap: 0;
    }
}



#mappa{
    position: sticky;
    top: 0;
    min-height: 100%;
    height: 50svh;

    @media only screen and (max-width: 850px){
        width: 100svw;
        margin: 0 -5svw;        
    }
}




.imgtit{

    position: relative;
    display: grid;
    grid-template-columns: 1fr 200px;
    align-items: center;
    gap: 1rem;

    @media only screen and (max-width: 1260px){
         grid-template-columns: 1fr 160px;
        gap: 1rem;
    }

    @media only screen and (max-width: 360px){
         grid-template-columns: 1fr;
        gap: 1rem;

        img{
            order: -1;
            width: 120px;
            margin: 0 auto;
        }

        h2{
            text-align: center;
        }
    }


}


.decor{
    
        &::before{
            content: "";
            position: absolute;
            display: block;
            width: 128px;
            height: 100%;
            background-image: url('/css/images/bgrighe.png');
            background-size: 128px 1px;
            z-index: 0;
            opacity: .6;
        }

        >*{
            z-index: 1;
        }

        &::before{
            top: 0;
            left: calc(30% + 8px);
            transform: translateX(-50%);
            width: 400px;
        }
    }



.STILE_video{
    overflow: visible;
    video{
        width: var(--larghezzamin);
        min-width: 100%;
        box-shadow: 0px 10px 80px -40px rgba(0, 0, 0, 0.4);

        @media only screen and (max-width: 480px){
            max-width: 100svw !important;
            width: 100svw;
            margin: 0 -10svw;
        }
    }

    .no-edge{
        @media only screen and (max-width: 480px){

            article{
                padding-bottom: 0 !important;
                height: 62svw;
            }
        }
    }
}