﻿@charset "utf-8";
/* CSS Document */


/* ---- mgrid ---- */

.mgrid {
    width: 100%;
    clear: both;
    position: relative;
}
    /* clearfix */
    .mgrid:after {
        content: '';
        display: block;
        clear: both;
    }
/* ---- mgrid-item ---- */


.mgrid-sizer, .mgrid-item, section .mgrid-sizer, section .box.mgrid-item {
    width: 100%;
    padding: 0px;
    margin: 0px 0px 15px 0px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

section.riservata .mgrid {
    /*    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;*/
}
section.riservata .mgrid-item .box_img.full {
    width: 100%;
    position: relative;
    height: auto;
    margin-bottom: 0px;
    float: right;
    clear: inherit;
    padding: 10px;
    display: table;
    height: 220px;
}

section.riservata .box.mgrid-item .box_img.full div {
    display: table-cell;
    height: 200px;
    width: 100%;
    vertical-align:middle;
}

section.riservata .box.mgrid-item .box_img.full img {
    max-height: 200px;
    max-width: 100%;
}
section.riservata .box.mgrid-item {
    width: 48%;
    margin: 1%;
    position: relative;
    float: left;
    height: 222px;
    overflow: hidden;
}
section.riservata .mgrid-item .box_img img {
    max-height: 134px;
    max-width: 100%;
}
section.riservata  .mgrid-item .box_img {
    width: 50%;
    position: relative;
    height: auto;
    margin-bottom: 0px;
    float: right;
    clear: inherit;
    padding: 10px;
    display: table;
}
    section.riservata .box.mgrid-item .box_img div {
        display: table-cell;
        height: 134px;
        width: 100%;
    }

section.riservata .tabelle_carrello .mgrid {
    -webkit-column-count: auto;
    -moz-column-count: auto;
    column-count: auto;
}

section.riservata .tabelle_carrello .box.mgrid-item {
    break-inside: auto;
    -webkit-column-break-inside: auto;
}

section.riservata .mgrid-sizer, section.riservata .box.mgrid-item {
    /*    height: 345px;
        padding-bottom: 50px;*/
}

.mgrid-item a {
    outline: none
}

.mgrid-item {
    border: 1px solid #d0d3d6
}

.tabelle_carrello .mgrid-sizer, .tabelle_carrello .mgrid-item {
    width: 47%;
    margin: 10px;
    padding: 20px;
}

    .mgrid-item, .tabelle_carrello .mgrid-item:hover {
    }

article .mgrid-item h2 {
    text-align: left;
    font-size: 20px;
    color: #333;
}

.mgrid-item.box h4 {
    margin: 5px 0px;
    font-size: 14px;
}

.mgrid-item .testo {
    position: relative;
    float: left;
    width: 50%;
    padding: 10px;
}

.mgrid-item .box_img {
    width: 50%;
    position: relative;
    height: auto;
    margin-bottom: 0px;
    float: right;
    clear: inherit;
    padding: 10px;
}

.mgrid-item .testo p {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: #696a6f;
    margin-bottom: 0px
}

    .mgrid-item .testo p a {
        text-decoration: underline;
    }

.mgrid-item h3 {
    font-size: 22px;
    font-weight: 500;
    color: #cc0522;
    text-align: center;
    margin: 20px 0px;
}

.mgrid-item a:hover {
    text-decoration: none;
    color: #242425
}

.mgrid-item:hover {
}

@media screen and (max-width:1024px) {
}

@media screen and (max-width:778px) {

    .mgrid {
        padding-right: 20px;
        margin: 20px 0px;
    }
}

@media screen and (max-width:778px) {
    .tabelle_carrello .mgrid-sizer, .tabelle_carrello .mgrid-item {
        width: 100%;
        margin: 0px 0px 20px 0px;
    }
}


@media screen and (max-width:500px) {

    section.riservata .mgrid {
    }

    section.riservata .box.mgrid-item {
        width: 100%;
        margin: 0px 0px 20px 0px;
        position: relative;
        float: left;
        height:auto;
    }

    .mgrid {
        padding-right: 0px;
        margin: 20px 0px;
    }
}
