/* 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 1fr; }	
	.mansonry  { column-count: 4;  }
}
@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 1fr;  }
	.mansonry  { column-count: 4;}
}
/* 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 1fr; }	
	.list-opere li {  margin-bottom:40px; }
	.list-opere img {  align-self: flex-end; }
	.list-opere li figure { height:200px; }
	.mansonry  { column-count: 4;}
	}
@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; }
	.mansonry  { column-count: 4;}
}

/* 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 { left:0; right:0; top:0; padding:0px; }
	#header .logo img { width:100px; 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; top:inherit;  }
	.submenu li { font-size: 12px; margin: 0 5px; }
	
	#main { margin-top: 140px; }
	.home .text { bottom:150px; }
	.home .text .btn { width:200px; line-height:18px; }
	.flex { display: block; align-items: inherit;  justify-content: inherit; }
	.text { padding:20px; }
	
	.collection-type.grid .item { width:100%; margin:0px; margin-bottom:40px; }
	.collection-type p.text { font-size:13px; line-height:16px; }
	.collection-type figure.flex { display: flex; align-items: center;  justify-content: center; }
	.collection-type figure h2 { font-size:22px; }
	
	.subnav .col { width:50%; }
	.list-stores .item { padding: 0 20px; }
	.list-press ul { padding: 0 10px; }
	.list-press { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-gap:0px; -moz-column-gap:0px; column-gap:0px; -webkit-column-width: 50%; -moz-column-width: 50%; column-width:50%;  }
	.list-press li { margin-bottom:20px;  }
	
	#overlay { position:fixed; top:0px; left:0; right:0; bottom:0; background-color: rgba(199, 239, 228, 0.0); z-index:1; display:none; }
	.header-page { padding: 20px 0; }
	.header-page h1 { font-size:30px; margin: 10px 0; }
	.header-page h2 { margin:0; }
	.header-page h3 { margin:0; }
	
	.gallery .span_1_of_2 { width: 49.2%; }
	.gallery .col { display: block; float:left; margin: 0 0 0 1.6%; }
	.gallery .col:first-child { margin-left: 0; }
	
	.cover { background-attachment:inherit; background-size: cover; height:300px; margin:0px; }
	.cover .text { max-width:100%; padding:20px; font-size: 14px; }
	.cover .text h1 { font-size:20px; }
	.box-home .text { background:#FFF; padding:0px; position:relative; bottom:0; right:0; left:0; text-align:left; margin:0 0 20px 0; }
 	.box-home h3 { margin: 10px 0 5px 0; }
 	a.link {  font-size:20px; }
 	.scheda_prodotti { margin-bottom:40px; }
 	.scheda_prodotti h1 { margin: 0 0 20px 0; }
    .scheda_prodotti h2 { margin-bottom: 20px; }
 	.scheda_prodotti .box-cart .span_1_of_5 { width:80px; margin-right:20px; }
 	.scheda_prodotti .box-cart .span_2_of_5 { width:200px; }
 	.scheda_prodotti .technical p.text { column-count:1; column-gap: 0px; font-size:14px; }
    
    .list-opere-cat li {  font-size:30px; }
    .list-opere-cat li a { padding:10px 0; }
    .list-opere li figure { height:150px; }
	.list-opere {  display: grid; grid-template-columns: 1fr 1fr; }
	.list-opere li {  margin-bottom:20px; }
	.list-opere img {  align-self: flex-end; }
	
	.mansonry  { column-count: 2; column-gap: 1em; }
	.list-collection { grid-template-columns:1fr 1fr; }
	.list-stores { grid-template-columns: 1fr 1fr; }

	
    .list-2 { grid-gap:20px; padding:0 10px; }
	.list-4 { grid-gap:20px;  grid-template-columns:1fr 1fr; padding:0 10px; }
	.details { padding: 0 10px; }
	
    .collection-type .item .cover { width:70%; margin:0 auto; float:none; }
    .collection-type .item .text { width:100%;  padding:20px; }
    .collection-type.grid .span_1_of_2:nth-child(2n+1) { margin:auto; }
 	.buttons .col { margin-bottom:10px; }
	.buttons { margin-bottom: 40px; }
	/*
	.buttons .col { display: block; float:left; margin: 0 0 5% 5%; }
 	.buttons .col:first-child { margin-left: 0; }
 	.buttons .span_1_of_3 { width: 47.5%; }
 	.buttons .span_1_of_2 { width: 47.5%; }
 	*/
 	#newsletter-notice { display:none; }
	.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; }

	#home .nav-mobile { color: #efece5; }
	#home .nav-item > a { background:none; color:#efece5; }
	#home .nav-item { background:none; }
	.header .menu li { float:left; width:50%; }
	
	.nav .divider { border-right:0px; margin-right:0px; padding-right:0px; }
	.nav-mobile { display:block; position:fixed; top:40px; right:10px; left:inherit; z-index:2222; }
	.nav { width:100%; padding:0px; margin:0;  }
	.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 #DDD; background:#efece5; }
	.nav-item > a { display:block; background:#efece5; 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; }
}
