/* iPads  */
@media only screen and (min-device-width : 1024px) and (max-device-width : 1366px) and (orientation : landscape) {
	.list-opere {  display: grid; grid-template-columns: 1fr 1fr 1fr; }	
}
@media only screen and (min-device-width : 1024px) and (max-device-width : 1366px) and (orientation : portrait) {
	.list-opere {  display: grid; grid-template-columns: 1fr 1fr 1fr;  }
}
/* iPads  mini */
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
	.list-opere {  display: grid; grid-template-columns: 1fr 1fr 1fr; }	
	.list-opere li {  margin-bottom:40px; }
	.list-opere img {  align-self: flex-end; }
	.list-opere li figure { height:200px; }
	}
@media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : portrait) {
	.list-opere {  display: grid; grid-template-columns: 1fr 1fr 1fr; }
	.list-opere li {  margin-bottom:40px; }
	.list-opere img {  align-self: flex-end; }
	.list-opere li figure { height:200px; }
}

/* mobile */
@media only screen and (max-width: 800px){

	.phone_show { display:block; }
	.phone_hide { display:none; }
	body { font-size:14px; }

	form .row { margin-bottom:0px; }
	form input { margin-bottom:10px; }
	input, select, textarea { text-align: left; line-height:normal; padding: 5px 10px; border-radius: 0; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
	input, select  { height:45px; }
	::-webkit-input-placeholder { line-height:normal; font-size:12px; }
	input[type='submit'], input[type='reset'] { text-align:center; }
	
	.wrapper { min-width:0px; width:auto; }
	.content { padding:0 20px; }
	.mb40 { margin-bottom:20px; }
	
	.col { margin:0px; }
	.span_1_of_2 { width: 100%; }

	.span_1_of_3 { width: 100%; }
	.span_2_of_3 { width: 100%; }
	.span_3_of_3 { width: 100%; }

	.span_1_of_4 { width: 100%; }
	.span_2_of_4 { width: 100%; }
	.span_3_of_4 { width: 100%; }

	.span_1_of_5 { width: 100%; }
	.span_2_of_5 { width: 100%; }
	.span_3_of_5 { width: 100%; }
	.span_4_of_5 { width: 100%; }
	.span_5_of_5 { width: 100%; }

	.span_1_of_6 { width: 100%; }
	.span_2_of_6 { width: 100%; }
	.span_3_of_6 { width: 100%; }
	.span_4_of_6 { width: 100%; }
	.span_5_of_6 { width: 100%; }
	.span_6_of_6 { width: 100%; }

	.span_1_of_8 { width: 100%; }
	.span_2_of_8 { width: 100%; }
	.span_3_of_8 { width: 100%; }
	.span_4_of_8 { width: 100%; }
	.span_5_of_8 { width: 100%; }
	.span_6_of_8 { width: 100%; }
	.span_7_of_8 { width: 100%; }
	.span_8_of_8 { width: 100%; }

	.span_1_of_10 { width: 100%; }
	.span_2_of_10 { width: 100%; }
	.span_3_of_10 { width: 100%; }
	.span_4_of_10 { width: 100%; }
	.span_5_of_10 { width: 100%; }
	.span_6_of_10 { width: 100%; }
	.span_7_of_10 { width: 100%; }
	.span_8_of_10 { width: 100%; }
	.span_9_of_10 { width: 100%; }
	.span_10_of_10 { width: 100%; }

	.span_50 { width: 100%; float:none; }

	.mt40 { margin-top:20px; }
	.pt40 { padding-top:20px; }
	.pb40 { padding-bottom:20px; }
	p.preview { font-size:15px; line-height:20px; }
	.tabs .span_1_of_3 { width: 32.2%; }
	.tabs .col { margin-left: 1.6%; }
	.tabs .col:first-child{ margin-left: 0; }
	.tabs a { padding: 10px; line-height:20px; }
	.tabcontent { padding: 10px; }
	.title_accordion { padding: 10px; }
	.size { text-align: left; font-weight:bold; }
	.page-break { margin-top:20px }
	
	h1 { font-size: 20px; margin-bottom:20px; line-height: 30px; }
	h1.title { font-size: 20px; margin:20px 0 40px 0; padding-bottom:10px;  }
	h2 { font-size:30px; }
	h2.section { font-size: 25px; margin: 0 0 20px 0; line-height:30px; }
	h3 { font-size: 16px; line-height: 20px; }

	.header { height:90px; }
	.header .logo img { width:200px; height:auto;  }
	.header .menu li a { margin:0px; padding:10px; }
	.header.smaller { display:none; }
	
	.maps iframe { height: 400px; }
	.footer .social { margin:10px 0; position:relative; text-align:center; right:inherit; left:inherit; bottom:inherit;  }
	.submenu li { font-size: 12px; margin: 0 5px; }
	
	#main { margin-top: 90px; }
	.home .text { bottom:150px; }
	.home .text .btn { width:200px; line-height:18px; }
	.flex { display: block; align-items: inherit;  justify-content: inherit; }
	.text { padding:20px; }
	
	.header-section h1 { margin: 0 0 10px 0; font-size: 30px; }
	.header-section h2 { font-size: 20px; }
	.header-section img { margin-bottom:20px; }
	.ingredients .fasce li { height:60px; }
	
	.list-ingredients { margin-top:40px; }
	.list-ingredients li { width:100%; padding:0px 20px 20px 130px; min-height:120px; }
	.list-ingredients li img { left:20px; }

	.main-slide .d img { height: 30%; }
	.cover { background:#000; }
	.cover h2 { top: 20px; right: 20px; font-size: 20px; line-height:normal; position:relative; margin-bottom:50px; }
	.list li a { padding: 20px 40px; font-size: 20px; font-weight:300; }
	.linee .color { position: relative; width: 100%; text-align:left; padding:0px; }
	.linee .color ul { margin:0 auto; text-align:center; padding:20px 0;}
	.linee .color li { width:80px; display:inline-grid; margin:0 15px; }
	.linee .color li img { height:70px; width:auto; }
	.linee .color li p { min-height:40px; margin-top:20px; }
	.linee .img-product { position: relative;  bottom:inherit; right: inherit; max-width:100%; text-align:center; }
    .linee .img-product img { height:250px; width:auto; display:inline; margin: 20px 0; }
    .linee .item-row { margin-top: 80px; }
    .linee .item-row .text { padding: 20px; position: relative; left:0; max-width: 100%; }
    .linee .title { padding: 20px; font-size:35px; line-height: 36px; }
    .linee.technical .img-product.large { max-width: 100% }
 	.linee.technical .text, .box-color h3, .box-color h4 { color: #222; }
 	.linee .item-row .cover-text h2 { color:#222; }
 	.linee .item-row .cover-text { position: relative; bottom: 0px; left: 0px; max-width:100%; font-size: 14px; line-height: 18px; padding:20px; color:#222; }
 	.linee .item-row .image .bg { display:none; }
 	.box-color .pics img.pic2 { left:80px;top:-60px;z-index:3 }
	.box-color .pics img.pic3 { left:180px;top:-100px;z-index:2 }
	
    
    
	.grid .col { display: block; float:left; margin: 0 0 5% 5%; }
	.grid .col:first-child { margin-left: 0; }
	.grid .span_1_of_3:nth-child(n) { margin-left:5%; }
	.grid .span_1_of_6:nth-child(2n+1) { margin-left:0px; }
	.grid .span_1_of_5:nth-child(2n+1) { margin-left:0px; }
	.grid .span_1_of_4:nth-child(2n+1) { margin-left:0px; }
	.grid .span_1_of_3:nth-child(2n+1) { margin-left:0px; }
	.grid .span_1_of_2:nth-child(2n+1) { margin-left:0px; }
	.grid .span_1_of_3 { width: 47.5%; }
	.grid .span_1_of_2 { width: 47.5%; }
	.grid .span_1_of_4 { width: 47.5%; }
	.grid .span_1_of_5 { width: 47.5%; }
	.grid .span_1_of_6 { width: 47.5%; }

	div.top { right:20px; bottom:20px; z-index:200;}
	
	.map { height:300px; }

	.nav .divider { border-right:0px; margin-right:0px; padding-right:0px; }
	.nav-mobile { display:block; position:fixed; top:20px; right:10px; left:inherit; z-index:2222; color:#FFF; }
	.nav { width:100%; padding:0px; margin:0; background:#000; }
	.nav-list { display:none; position:absolute; z-index:2; top:0px; right:0px; left:0px; }
	.nav-item { width:100%; float:none; position:relative; border-bottom:1px solid #222; }
	.nav-item > a { display:block; background:#000; padding: 15px 20px; }
	.nav-click { display:block; }
	.nav-item:hover .nav-submenu { display:none; }
	.nav-submenu { position:static; width:100%; background:#FFF; }
	.nav-item { border-right:0px; padding-right:0px; margin-right:0px; }
	.nav-submenu { padding:0; margin:0px; text-align:center;  }
	.nav-submenu-item a { border:0; margin:0px; background:#EEE; border-bottom:1px solid #FFF; }
}
