.blocco-I {
    position: relative; 
    margin-bottom: var(--H-I-margin-y-mobile);
}
.blocco-H + .blocco-I,
.blocco-I + .blocco-I {
    margin-top: var(--H-I-margin-y-mobile--negativo);
}

.blocco-I .altezza {padding-bottom:0;}
.blocco-I .position-absolute {position: relative;}
.blocco-I .container-fluid {height: 100%}

.blocco-I .wrapper-img {
    height: var(--standard-height--mobile);
    border-radius: var(--b-radius-standard--mobile);
    overflow: hidden;
}

.blocco-I .caption {
    position: absolute;
    z-index: 1;
    padding: 35px 95px 35px 35px;
    top:0;
    left: 0;
}

.blocco-I .altezza-mob {padding-bottom: 100%;}
/* .blocco-I .box-overlay .wrapper-img {min-height: 300px; transition: height 250ms ease-in;} */


/* box overlay */
.blocco-I .box-overlay .content-overlay {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #000000;
    overflow: hidden;
    
    transition: all 250ms ease-in-out;
    margin-left: 100%;
}

.blocco-I .box-overlay .content-overlay.open {
    margin-left: 0;
}


.blocco-I .box-overlay .content-overlay .wrapper-scroll {
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    padding-right: 17px; /* Increase/decrease this value for cross-browser compatibility */
    box-sizing: content-box; /* So the width will be 100% + 17px */
}
.blocco-I .box-overlay .content-overlay .padding-overlay {
    padding: 30px 60px 30px 30px;
    position: relative;
}
.blocco-I .box-overlay .content-overlay .padding-overlay div:last-child {margin-bottom: 0;}

.blocco-I .box-overlay .content-overlay .padding-overlay .altezza-overlay-mob {
    position: absolute;
    width: 10px;
    height: 100%;
    top:0;
}


.blocco-I .box-overlay .content-overlay .sopratitolo {color:#B1AAA0;}
.blocco-I .box-overlay .content-overlay .sopratitolo,
.blocco-I .box-overlay .content-overlay .p--big,
.blocco-I .box-overlay .content-overlay .h4 {margin-bottom: 10px;}

/* bottoni schedine progetto */

.blocco-I .box .button {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 10.5%;
    min-width: 65px;
    border-radius: 0;
    padding: 0;
    z-index: 3;
    background-image: url("../imgs/button_triangolo_2_black_sup.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
}
.blocco-I .box .button.open {
    background-image: url("../imgs/button_triangolo_2_sup.svg");
}
.blocco-I .box .button:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom:0;
    right:0;
    background-image: url("../imgs/button_triangolo_1_black_sup.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    transition: all 170ms ease-in-out;
}
.blocco-I .box .button.open:after {
    background-image: url("../imgs/button_triangolo_1_sup.svg");
}

.blocco-I .box .button .altezza {
    padding-bottom: 100%;
}

.blocco-I .box:hover .button:after,
.blocco-I .box .button:hover:after {
    border-radius: 100%;
    transform: scale(.8);
    transform-origin: center center;
    opacity: 0;
}
.blocco-I .box .button:before {
    content: "";
    display: block;
    position: absolute;
    bottom:0;
    right:0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    z-index: 2;
}
.blocco-I .box .button.plus:before {
    background-image:url("../imgs/ico_plus_black.svg");
    background-size: 18px auto;
    background-position: bottom 26% right 26%;
}
.blocco-I .box .button.arrow.right:before {
    background-image:url("../imgs/ico_arrow-right_white.svg");
    background-size: 18px auto;
    background-position: top 26% right 26%;
}
.blocco-I .box .button.arrow.right.open:before {
    background-image:url("../imgs/ico_arrow-right_black.svg");
    transform: rotate(180deg);
    background-position: bottom 26% left 26%;
}

.blocco-I .btn.terziaria {
    width: fit-content;
    padding: 15px 20px;
    margin-top: var(--quadruple-general-gutter);
    border-radius: var(--b-radius-small);
    border: 1.5px solid #FFFFFF;
}

/*-----------*/
/*** Media Query comuni ***/
@media (min-width: 768px) /* MD. Da cambiare MD in HTML se si vuole usare questa query */ {
    /* .blocco-I .row {height: var(--standard-height);}
    .blocco-I .position-relative.wrapper-img {aspect-ratio: auto;} */
}

@media (min-width: 992px) /* LG */ {
    .blocco-I {margin-bottom: var(--H-I-margin-y);}
    .blocco-H + .blocco-I,
    .blocco-I + .blocco-I {margin-top: var(--H-I-margin-y--negativo);}

    .blocco-I .row {height: var(--standard-height);}
    
    .blocco-I .lista .box:nth-of-type(1) .caption {max-width: 520px;}
    .blocco-I .caption .sopratitolo {margin-bottom: 13px;}

    .blocco-I .position-absolute {
        position: absolute;
        top:0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .blocco-I .wrapper-img {
        height: var(--standard-height);
        border-radius: var(--b-radius-standard);
    }
    .blocco-I .altezza-mob {padding-bottom: 0;}
    .blocco-I .h-100-desktop {height: 100%;}
    .blocco-I .caption {padding:40px 60px;}
    /* .blocco-I .box-overlay .content-overlay .padding-overlay {padding:60px 120px 60px 120px} */
    .blocco-I .box-overlay .content-overlay .sopratitolo,
    .blocco-I .box-overlay .content-overlay .p--big,
    .blocco-I .box-overlay .content-overlay .h4 {margin-bottom: 20px;}

    .blocco-I .box .button {
        min-width: 83px;
        bottom:20px;
        right:20px;
        top:auto;
        left: auto;
        background-image: url("../imgs/button_triangolo_2_black.svg");
    }
    .blocco-I .box .button.open {
        background-image: url("../imgs/button_triangolo_2.svg");
    }
    .blocco-I .box .button:after {
        background-image: url("../imgs/button_triangolo_1_black.svg");
    }
    .blocco-I .box .button.open:after {
        background-image: url("../imgs/button_triangolo_1.svg");
    }
    .blocco-I .box .button.arrow.right:before {
        background-image:url("../imgs/ico_arrow-right_white.svg");
        background-size: 18px auto;
        background-position: bottom 26% right 26%;
    }
    .blocco-I .box .button.arrow.right.open:before {
        background-position: top 26% left 26%;
    }

    .blocco-I .btn.terziaria {margin-top: var(--general-gutter);}
}

@media (max-width: 992px) /* LG */ {
    .blocco-I.mt_viola {margin-top: 10px !important;}
    .blocco-I.mb_viola {margin-bottom: 10px !important;}
}
@media (max-width: 768px) /* MD */ {}
@media (max-width: 576px) /* SM */ {
    .blocco-I .h2 {font-size: 32px;}
    .blocco-I .box-overlay .content-overlay .h4 {font-size: 18px;}
}

/* orientamento finestra/dispositivo */
@media all and (orientation:portrait) {}
@media all and (orientation:landscape) {}

/* solo dispositivi touch */
@media (hover: none) {}