.prossimo-progetto {margin-bottom: 0;}
.prossimo-progetto .sopratitolo {margin-bottom: 20px; text-align: center;}

.prossimo-progetto .main-wrap {
    border-radius: 15px 15px 0 0;
    background-color: #000000;
    padding: 12% 0;
}

.prossimo-progetto .h2 {
    font-size: 36px;
    line-height: 135%;
    margin-top: 20px;
}

.prossimo-progetto .box .img {
    border-radius: 30px;
}

.prossimo-progetto .box .img .altezza {
    padding-bottom: 100%;
}

/* bottoni schedine progetto */
.prossimo-progetto .box .button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 10.5%;
    min-width: 65px;
    border-radius: 0;
    padding: 0;
    z-index: 3;
    background-image: url("../imgs/button_triangolo_2.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
}
.prossimo-progetto .box .button:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    bottom:0;
    right:0;
    background-image: url("../imgs/button_triangolo_1.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    transition: all 170ms ease-in-out;
}
.prossimo-progetto .box .button .altezza {
    padding-bottom: 100%;
}

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

/*-----------*/
/*** Media Query comuni ***/

/* sopra 000px -> bootstrap ref. */
@media (min-width: 576px) /* SM */ {}
@media (min-width: 768px) /* MD */ {
    .prossimo-progetto .main-wrap {
        border-radius: 30px 30px 0 0;
        padding: 6% 0;
        text-align: left;
    }
    .prossimo-progetto .h2 {
        font-size: 40px;
    }
}
@media (min-width: 992px) /* LG */ {}
@media (min-width: 1200px) /* XL */ {}

@media (min-width: 1367px) {
    .prossimo-progetto .sopratitolo {text-align: left;}
}
@media (min-width: 1920px) {}

/* sotto 000px -> bootstrap ref. */
@media (max-width: 1200px) /* XL */ {}
@media (max-width: 992px) /* LG */ {}
@media (max-width: 768px) /* MD */ {}
@media (max-width: 576px) /* SM */ {}

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

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