﻿.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;
}
.soluzioni .mgrid-sizer, .soluzioni .mgrid-item, section .soluzioni .box.mgrid-item {
    width: 100%;
    padding: 0px;
    margin: 0px 0px 30px 0px;
	text-align: center
}

.soluzioni .mgrid-item p,
article .soluzioni .mgrid-item h2,
article section  .soluzioni .mgrid-item ul {
	text-align: center
}
article .soluzioni .mgrid-item h2
{
    border-bottom: none;
    padding: 0px;
    margin: 40px 0px 40px 0px;
    font-weight: bold;
    font-size: 40px;
   
}

article .soluzioni .mgrid-item .form h2 {

    margin: 20px 0px 50px 0px;

   
}
article section  .soluzioni .mgrid-item ul li::before {
content: "";
    color: #e6222a;
    font-weight: bold;
    font-family: "Font Awesome 5 Free";
    margin-right: 0px;
}
article section  .soluzioni .mgrid-item ul li {
display: inline-block;
    width: 16%;
    text-align: center;
    margin: 0px;
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
}

article section  .soluzioni .mgrid-item ul li svg {
    display: block;
    font-size: 70px;
    /* margin-bottom: 37px; */
    color: #e6222a;
    margin: 0px auto 29px auto;

}
 .soluzioni .disclaimer {
     text-align: center;
    font-size: 18px;
    margin: 20px 0px;
}
article section  .soluzioni .mgrid-item ul li:nth-child(2) svg,
article section  .soluzioni .mgrid-item ul li:nth-child(4) svg,
article section  .soluzioni .mgrid-item ul li:nth-child(6) svg{
  opacity:0.6


}
 .mgrid-item.modulo, section  .box.mgrid-item.modulo {
    padding: 20px;
    width: 100%;
    margin: 0px;
}
/* ---- mgrid-item ---- */
.mgrid-sizer, .mgrid-item, section .box.mgrid-item {
    width: 33%;
    padding: 15px;
    margin: 0px;
     
}
section.contenuto .box.mgrid-item, section.contenuto .mgrid-item, section.contenuto .mgrid-sizer {
  border: none;
}
 .box.mgrid-item .testo {
  /* padding: 30px */
}
 .mgrid-item {
  cursor: auto
}
 .mgrid-item:hover {
  /* Webkit for Chrome and Safari */
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  transform: none;
}

article section  .mgrid-item ul li::before {
    position: absolute;
    left: 8px;
}


 .mgrid-item h2 {
  font-size: 34px;
  color: #444444;
  line-height: 22px;
  margin-bottom: 10px;
  font-weight: 300;
  margin: 20px 0px;
  border-bottom: 1px dotted #ccc;
  padding: 0px 0px 20px 0px;
}
 .mgrid-item p {
  display: inherit;
  font-size: 18px;
  color: #696a6f;
  margin-bottom: 0px;
  font-weight: 300;
  line-height: 31px;
  text-align: left
}
.boxes  .testo div {
  height: inherit;
  overflow: inherit;
}
 .box.mgrid-item .testo p,  .box.mgrid-item .testo ul {
  display: inherit;
  font-size: 18px;
  color: #696a6f;
  margin-bottom: 15px;
  font-weight: 300;
  line-height: 28px;
}
 .mgrid-sizer,  .mgrid-item, section  .box.mgrid-item {
    width: 48%;
    padding: 10px;
    margin: 1%;
}
.loghi .mgrid-sizer, .loghi .mgrid-item, section .loghi .box.mgrid-item {
    width: 33%;
    margin: 0%;
    padding: 20px;
    text-align: center;

}
 .mgrid-sizer img,  .mgrid-item img, section  .box.mgrid-item img {
  width: 100%;    margin: 0px;    
}

section .box.mgrid-item.immagini img {
    margin: 0px 0px 20px 0px;
}


.about  .mgrid-item, section  .about  .box.mgrid-item {
padding:20px
}

article section .mgrid-item ul li {
    text-align: left;
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    line-height: 23px;padding-left: 20px;
	}
	
.box.mgrid-item iframe {
  width: 100%;
  height: 340px;
  margin:  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  .mgrid-item h2 {
  text-align: left;
  font-size: 30px;
  color: #333;
  line-height: 40px;
}
.mgrid-item.box h4 {
  font-size: 18px;
  margin: 15px 0px 10px 0px;
  line-height: 23px;
}
.mgrid-item.box h4 a {
  color: #444444
}
.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: #444444;
  text-align: left;
  margin: 0px;
  background: white;

}
.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:875px) {
	
	article section .soluzioni .mgrid-item ul li {
     width: 25%;
}
	
  .mgrid-sizer, .mgrid-item, section .box.mgrid-item {
    width: 50%;
  }
   .mgrid-item p {
    font-size: 16px;
    line-height: 25px;
  }
  .box.mgrid-item iframe {
    height: 208px;
    margin: 20px 0px;
  }
   .mgrid-sizer,  .mgrid-item, section  .box.mgrid-item {
    width: 50%;
    padding: 0px;
    margin: 0%;
  }
  article  .mgrid-item h2, .form h2, article  .mgrid-item .form h2 {
    font-size: 21px;
    line-height: 35px;
  }
   .box.mgrid-item .testo p,  .box.mgrid-item .testo ul {
    font-size: 16px;
    line-height: 25px;
  }
}
@media screen and (max-width:778px) {
	
		article section .soluzioni .mgrid-item ul li {
    width: 33%;
}
	
  .box.mgrid-item iframe {
    height: 410px;
    margin: 20px 0px;
  }
  article  .mgrid-item h2, .form h2, article  .mgrid-item .form h2 {
    font-size: 36px;
    line-height: 35px;
  }
  .mgrid-sizer, .mgrid-item, section .box.mgrid-item,  .mgrid-sizer,  .mgrid-item, section  .box.mgrid-item {
    width: 100%;
    padding: 0px;
    margin: 0px
  }
}
@media screen and (max-width:670px) {
	
			article section .soluzioni .mgrid-item ul li {
    width: 50%;
}
	
  section .loghi .box.mgrid-item {
      width: 100%;
    padding-bottom: 40px;
	margin-bottom:20px
  }
}
@media screen and (max-width:500px) {
	
				article section .soluzioni .mgrid-item ul li {
    width: 100%;
}
	.mgrid-item.modulo, section .box.mgrid-item.modulo {
    padding: 0px;
    margin: 0px;
}
  .box.mgrid-item iframe {
    height: 186px;
  }
  .img_principale, .img_principale iframe {
    height: 130px;    background-size: cover;
  }
  article ul.soluzioni li img {
    height: auto;
  }
  article ul.soluzioni li {
    width: 100%;
    margin: 0px 0px 20px 0px;
  }
  section.unico h1 {
    font-size: 30px;
    margin: 20px 0px;
  }
  section header h2 {
    font-size: 19px;
  }
  section.unico article {
    margin: 0px
  }
  .mgrid-sizer, .mgrid-item, section .box.mgrid-item, .mgrid-sizer, .mgrid-item, section .box.mgrid-item,  .mgrid-sizer,  .mgrid-item, section  .box.mgrid-item {
    border: none;
    margin-bottom: 20px;
  }
  article  .mgrid-item h2 {
    font-size: 30px;
    line-height: 32px;
  }
  article  .mgrid-item .form h2 {
    font-size: 27px;
    line-height: 32px;
  }
   .box.mgrid-item .testo {
    padding: 0px;
  }
}