.hoverbox {
    position: relative;
    list-style: none;
    text-align: center;
    width: 100%;
    clear: both;
    overflow: hidden
}
    /* Common style */
    .hoverbox figure {
        position: relative;
        overflow: hidden;
        margin: 20px 1%;
        min-width: 320px;
        max-width: 406px;
        max-height: 406px;
        width: 31%;
        background: #3085a3;
        text-align: center;
        cursor: pointer;
        display: inline-table;
    }

    .hoverbox.secondari figure {
        position: relative;
        overflow: hidden;
        margin: 20px 1%;
        min-width: 320px;
        max-width: inherit;
        max-height: 150px;
        width: 47%;
        text-align: center;
        cursor: pointer;
        display: inline-table;
    }

    .hoverbox figure img {
        position: relative;
        display: block;
        min-height: 100%;
        opacity: 0.8;
        max-width: 406px;
    }

    .hoverbox.secondari figure img {
        max-width: 587px;
        max-height: 380px;
    }

    .hoverbox figure figcaption {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

        .hoverbox figure figcaption::before, .hoverbox figure figcaption::after {
            pointer-events: none;
        }

        .hoverbox figure figcaption, .hoverbox figure figcaption > a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
            /* Anchor will cover the whole item by default */
            /* For some effects it will show as a button */
            .hoverbox figure figcaption > a {
                z-index: 1000;
                /*text-indent: 200%;
	white-space: nowrap;*/
                font-size: 0;
                opacity: 0;
            }

    .hoverbox figure h2 {
        /*	word-spacing: -0.15em;
	font-weight: 300;*/
    }

        .hoverbox figure h2 span {
            font-weight: 800;
        }

    .hoverbox figure h2, .hoverbox figure span {
        margin: 0;
    }

    .hoverbox figure span {
        letter-spacing: 1px;
        font-size: 68.5%;
    }


.grid.marchi {
    position: relative;
    margin: 0px auto 30px auto;
    width: 100%;
    list-style: none;
    text-align: center;
    display: inline-block;
}

.catalogo .grid.marchi {
    margin: 0px auto 6px auto;
    width: 102%;
    left: -7px;
}

    .catalogo .grid.marchi figure {
        width: 48%;
        margin: 1%;
    }
/* Common style */
.grid.marchi figure {
    position: relative;
    float: left;
    overflow: hidden;
    width: 50%;
    text-align: center;
    cursor: pointer;
    height: 330px;
    margin: 0px;
    /* margin-bottom: 12px; */
    border: 1px solid white;
}

    .grid.marchi figure img {
        position: relative;
        display: block;
        max-width: 100%;
        opacity: 0.6;
    }

    .grid.marchi figure figcaption {
        padding: 2em;
        color: #fff;
        text-transform: uppercase;
        font-size: 1.25em;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

        .grid.marchi figure figcaption::before, .grid.marchi figure figcaption::after {
            pointer-events: none;
        }

        .grid.marchi figure figcaption, .grid.marchi figure figcaption > a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }
            /* Anchor will cover the whole item by default */
            /* For some effects it will show as a button */
            .grid.marchi figure figcaption > a {
                z-index: 1000;
                text-indent: 200%;
                white-space: nowrap;
                font-size: 0;
                opacity: 0;
                color: white;
            }

    .grid.marchi figure h2 {
        color: white;
        font-size: 40px;
        text-align: center;
        padding: 10px 0px;
        font-weight: 500;
    }

        .grid.marchi figure h2 span {
            font-weight: 800;
        }

    .grid.marchi figure h2, .grid figure p {
        margin: 0;
    }

    .grid.marchi figure p {
        text-align: center;
        color: #38617a;
        line-height: inherit;
        margin: 0px;
        text-transform: uppercase;
        font-size: 23px;
        font-weight: 500;
    }

        .grid.marchi figure p a {
            color: #38617a;
            line-height: inherit;
            text-decoration: none;
            font-weight: 500;
        }


    .grid.marchi figure .btn {
        float: inherit
    }
/* Individual effects */
/*---------------*/
/***** Duke *****/
/*---------------*/
figure.effect-duke {
    background: #232e2e;
    /*	background: -webkit-linear-gradient(-45deg, #34495e 0%, #cc6055 100%);
	background: linear-gradient(-45deg, #34495e 0%, #cc6055 100%);*/
}

    figure.effect-duke img, figure.effect-duke span {
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
    }

    figure.effect-duke:hover img {
        opacity: 0.5;
        -webkit-transform: scale3d(2, 2, 1);
        transform: scale3d(2, 2, 1);
    }

.grid figure p img {
    position: relative;
    /* display: block; */
    height: 80px;
    opacity: 1;
    margin: auto;
}

.grid.marchi figure p img {
    max-height: 80px;
    height: auto
}

figure.effect-duke:hover p img {
    opacity: 1;
    -webkit-transform: none;
    transform: none
}

figure.effect-duke h2 {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
}

figure.effect-duke span {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 2%;
    padding: 22px;
    /* border: 1px solid #fff; */
    text-transform: none;
    /* font-size: 100%; */
    opacity: 0;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transform-origin: 50% -100%;
    transform-origin: 50% -100%;
    display: inline-block;
    width: 96%;
    color: white;
    text-align: center;
    background: white;
}

figure.effect-duke:hover h2, figure.effect-duke:hover span {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

@media (max-width: 1034px) {
    .grid.marchi figure h2 {
    }

    .grid.marchi {
        margin: 0px auto 0px auto;
    }

        .grid.marchi figure {
            width: 46%;
            height: 174px;
        }

    .grid figure h2 {
        font-size: 30px;
    }

    .grid figure {
        height: 290px;
    }

    .hoverbox.secondari figure img {
        max-width: 466px;
    }

    .grid.marchi .hoverbox.secondari figure img {
        max-width: 455px;
    }
}

@media (max-width: 875px) {

    .grid.marchi figure h2 {
        font-size: 60px;
        /* font-weight: 500; */
    }

    .grid.marchi figure {
        width: 100%;
        height: 340px;
        margin: 10px;
    }

    figure.effect-honey h2 {
        font-size: 55px;
    }

    .hoverbox.secondari figure img {
        max-width: 367px;
        max-height: 238px;
    }

    .grid figure {
        height: 400px;
        width: 100%;
        margin: 1% 0%;
    }

        .grid figure h2 {
            font-size: 40px;
        }
}


@media (max-width: 500px) {
    .grid.marchi figure img {
        max-width: initial;
        height: 100%;
    }
    .grid.marchi figure h2 {
    }

    .catalogo .grid.marchi figure {
        width: 100%;
        margin: 0px 0px 20px 0px;
    }

    .catalogo .grid.marchi {
        margin: 0px 0px 20px 0px;
        width: 100%;
        left: 0px;
    }

    .grid.marchi figure {
        height: 320px;
        margin: 0px 0px 20px 0px;
        width: 100%;
    }

    .hoverbox.secondari figure img {
        max-height: initial;
    }

    .hoverbox.secondari figure {
        margin: 0px 0px 20px 0px;
        min-width: 320px;
        max-height: 300px;
        width: 100%;
    }

    .grid.marchi .hoverbox figure {
        display: inline-block;
        float: none;
        margin: 10px auto;
        width: 100%;
    }

    .grid figure {
        height: 280px;
        width: 100%;
        margin: 1% 0% 2% 0%;
    }

        .grid figure figcaption {
            padding: 2em 1em;
        }

        .grid figure h2 {
            font-size: 25px;
        }

    figure.effect-duke span {
        padding: 10px;
        width: 89%;
        font-size: 15px
    }
}
