﻿.mgrid {
    width: 100%;
    clear: both;
    position: relative;
}

.mgrid-item .box_img img {
    position: inherit;
    height: auto;
    width: 100%;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    transform: none;
}

.mgrid .grid {
    width: 100%;
    clear: both;
    position: relative;
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}
/* clearfix */
.mgrid:after {
    content: '';
    display: block;
    clear: both;
}
/* ---- mgrid-item ---- */
.mgrid-sizer, .mgrid-item, section .box.mgrid-item {
    width: 33%;
    padding: 15px;
    margin: 0px;
    border: 10px solid #f6f5f3;
}

section.contenuto .testo {
    padding: 0px;
}

.tabelle_carrello .mgrid-sizer, .tabelle_carrello section .box.mgrid-item {
    border: none;
}

.tabelle_carrello .mgrid-item {
    border: 1px solid #d0d3d6;
    background: white;
}

.tabelle_carrello .mgrid-sizer, .tabelle_carrello .mgrid-item {
    width: 48%;
    margin: 10px;
    padding: 20px;
    position: relative;
    float: left
}

section.contenuto .testo ul li {
    /*font-size: 15px;
    margin-bottom: 15px;
    color: #313131;
    font-weight: 600;*/
    font-size: 15px;
    color: #696a6f;
    margin-bottom: 15px;
    font-weight: 300;
    line-height: 28px;
}

section.contenuto .box.mgrid-item, section.contenuto .mgrid-item, section.contenuto .mgrid-sizer {
    border: none;
}

    section.contenuto .mgrid-item.box img {
        margin: 0px;
    }

.about .box.mgrid-item .testo {
    /* padding: 30px */
}

    .about .box.mgrid-item .testo .form {
        background: #f6f5f3;
        padding: 30px;
    }

.about .mgrid-item {
    cursor: auto
}

    .about .mgrid-item:hover {
        /* Webkit for Chrome and Safari */
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .about .mgrid-item h2 {
        font-size: 34px;
        color: #313131;
        line-height: 22px;
        margin-bottom: 10px;
        font-weight: 300;
        margin: 0px 0px 20px 0px;
        border-bottom: 1px dotted #ccc;
        padding: 0px 0px 20px 0px;
    }

    .about .mgrid-item p {
        /*  font-size: 14px;
  color: #696a6f;
  line-height: 20px;
  margin-bottom: 0px;*/
        display: inherit;
        font-size: 18px;
        color: #696a6f;
        margin-bottom: 0px;
        font-weight: 300;
        line-height: 31px;
        text-align: left
    }

.boxes .about .testo div {
    height: inherit;
    overflow: inherit;
}

.about .box.mgrid-item .testo p, .about .box.mgrid-item .testo ul {
    display: inherit;
    font-size: 15px;
    color: #696a6f;
    margin-bottom: 15px;
    font-weight: 300;
    line-height: 28px;
}

.about .mgrid-sizer, .about .mgrid-item, section .about .box.mgrid-item {
    width: 48%;
    padding: 0px;
    margin: 1%;
}

.box.mgrid-item iframe {
    width: 100%;
    height: 340px;
    margin: 20px 0px
}

.box.mgrid-item .testo p, .box.mgrid-item .testo ul {
    display: none
}

.tabelle_carrello .grid-sizer, .tabelle_carrello .grid-item {
    padding: 15px;
    width: 100%;
    break-inside: avoid-column;
    -webkit-column-break-inside: avoid;
}

.mgrid-item, .tabelle_carrello .mgrid-item:hover {
    cursor: pointer;
    -webkit-transform: scale(1, 1);
    -webkit-transition-duration: 500ms;
    -webkit-transition-timing-function: ease-out;
    /* Webkit for Mozila Firefox */
    -moz-transform: scale(1, 1);
    -moz-transition-duration: 500ms;
    -moz-transition-timing-function: ease-out;
    /* Webkit for IE( Version: 11, 10 ) */
    -ms-transform: scale(1, 1);
    -ms-transition-duration: 500ms;
    -ms-transition-timing-function: ease-out;
    transform: scale(1, 1);
    transition-duration: 500ms;
    transition-timing-function: ease-out;
}

article .mgrid-item h2 {
    text-align: left;
    font-size: 20px;
    color: #333;
}

article .about .mgrid-item h2 {
    /* text-align: left;
    font-size: 35px;
    color: #333;
    line-height: 40px;*/
    color: #3e6789;
    line-height: 40px;
    border: none;
    font-size: 30px;
    text-align: left;
    font-weight: 300;
    padding: 0px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dotted #ccc;
    margin-top: 0px;
}

.mgrid-item.box h4 {
    font-size: 18px;
    margin: 15px 0px 10px 0px;
    line-height: 23px;
}

    .mgrid-item.box h4 a {
        color: #313131
    }

.mgrid-item .box_img {
    width: 100%;
    clear: both;
    position: relative;
    height: auto;
    overflow: hidden;
    text-align: center;
    margin-bottom: 0px;
}

.mgrid-item .testo {
    font-size: 18px;
    font-weight: 300;
    color: #313131;
    text-align: left;
    margin: 0px;
    background: white;
    padding: 30px;
}

.riservata .mgrid-item .testo {
    background: #f1f1f1;
}

.boxes .mgrid-item .testo h3 a, .boxes .mgrid-item .testo h3 a:hover {
    font-weight: 300
}

.boxes .mgrid-item .testo h3 {
    margin: 0px
}

.mgrid-item:hover {
    /* Webkit for Chrome and Safari */
    -webkit-transform: scale(1.02, 1.02);
    -webkit-transition-duration: 200ms;
    -webkit-transition-timing-function: ease-out;
    /* Webkit for Mozila Firefox */
    -moz-transform: scale(1.02, 1.02);
    -moz-transition-duration: 200ms;
    -moz-transition-timing-function: ease-out;
    /* Webkit for IE( Version: 11, 10 ) */
    -ms-transform: scale(1.02, 1.02);
    -ms-transition-duration: 200ms;
    -ms-transition-timing-function: ease-out;
    transform: scale(1.02, 1.02);
    transition-duration: 200ms;
    transition-timing-function: ease-out;
}

@media screen and (max-width:1034px) {
}

@media screen and (max-width:875px) {
    .about .mgrid-item h2 {
        font-size: 30px;
        color: #313131;
        line-height: 22px;
        margin-bottom: 10px;
        font-weight: 300;
        margin: 20px 0px;
        border-bottom: 1px dotted #ccc;
        padding-bottom: 20px;
    }

    .mgrid-sizer, .mgrid-item, section .box.mgrid-item, .about .mgrid-sizer, .about .mgrid-item, section .about .box.mgrid-item {
        width: 100%;
        padding: 0px;
        margin: 0px 0px 20px 0px
    }

    .tabelle_carrello .mgrid-sizer, .tabelle_carrello .mgrid-item {
        margin: 0px 0px 20px 0px;
        width: 100%;
        padding: 20px;
    }
}

@media screen and (max-width:600px) {

    .mgrid-item .testo {
        padding: 0px 10px;
    }
}

@media (max-width:400px) {
}
