@media screen and (max-width: 40em){

}


/* iPads (landscape) orizzontale ----------- */
@media only screen and (min-device-width : 421px) and (max-device-width : 768px) and (orientation : landscape) {
	
}

/* iPads (portrait) verticale ----------- */
@media only screen and (min-device-width : 421px) and (max-device-width : 768px) and (orientation : portrait) {
	
	
}


/* mobile */
@media only screen and (max-width: 780px){
	
	.prRe { display:none; }
	.phone_show { display:block; }
	.phone_hide { display:none; }
	body { font-size:16px; line-height:24px; }
	form .row { margin-bottom:0px; }
	input, select, textarea { line-height:normal; padding: 5px 10px; border-radius: 0; -webkit-appearance: none; -moz-appearance: none; appearance: none; }
	input, select  { height:40px; }
	::-webkit-input-placeholder { line-height:normal; font-size:12px; }
	.form_contatto input[type='submit'] { margin: 20px 0 60px 0; }
	.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto { bottom:10px; }
	.col.break { margin-top:80px; }
	
	.wrapper { min-width:0px; width:auto; }
	.content { padding:0 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_7 { width: 100%; }
	.span_2_of_7 { width: 100%; }
	.span_3_of_7 { width: 100%; }
	.span_4_of_7 { width: 100%; }
	.span_5_of_7 { width: 100%; }
	.span_6_of_7 { width: 100%; }
	.span_7_of_7 { 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; }
	.span_30 { width: 100%; float:none; }
	.span_70 { width: 100%; float:none; }
	
	.mt40 { margin-top:20px; }
	.pt40 { padding-top:20px; }
	.pb40 { padding-bottom: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; }
	
	.tabs .span_1_of_2 { width: 49.2%;  }
	.tabs .col { display: block; float:left; margin: 0 0 0 1.6%; }
	.tabs .col:first-child { margin-left: 0; }
	
	
	.logo img { height:50px; width:auto; }
	
	header { height: 100px; background:#FFF; z-index:99; padding-top:20px; }
	header .menu, header .social { display:none; }
	
	.hamburger { display:block; position:absolute; right:15px; top:40px; z-index:999; width:42px; height:42px; border-radius:200px; padding:12px 11px; display:block; }
	.hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after, .hamburger-inner, .hamburger-inner::before, .hamburger-inner::after { background-color:#000; }
	nav.mobile { padding:15px; position:fixed; top:100px; bottom:0; background:#FFF; width:100%; display:none; z-index:999; }
	nav.mobile li { position:relative; }
	nav.mobile li a { text-transform:uppercase; font-weight:normal; color:#000; font-size:16px; display:block; padding:10px 0px; text-align: center; font-family:var(--body-fonts-2); font-weight:bold; }
	nav.mobile .menu-mobile-content a { display: block; border-bottom:0px; padding:4px 4px 4px 20px;  }
	nav.mobile { overflow-y:scroll; }
	.navigation { padding: 40px 0; }
	
	
	footer .logo img { margin-bottom:20px; }
	
	#main { margin-top: 100px; }
	#main .content { padding: 10px 20px; }
	
	.slide li { height:500px; background-size:cover; }
	.slide .text { position:absolute; z-index:5; bottom:20px; left:0px; right:0px; width:100%; padding:0 40px; }
	.slide h1 { font-size:22px; line-height:30px; }
	
	.item-row.grid-2 { grid-template-columns:1fr; }
	.item-row { line-height:24px; font-size:16px; }
	.form { padding: 0 20px 80px 20px; }
	.form .grid-3 { gap:0px; }
	.form h2 { font-size:24px; }
	
	.grid-2 { display:grid; grid-template-columns:1fr; gap:20px; }
	.grid-3 { display:grid; grid-template-columns:1fr; gap:20px; }
	.grid-4 { display:grid; grid-template-columns:1fr; gap:20px; }
	
	
	.grid-column_1 { grid-template-columns: auto; }
	.grid-column_1 .nb { display:none; }
	.grid-column_2 { grid-template-columns: auto; }
	.grid-column_3 { grid-template-columns: auto; }
	.grid-column_4 { overflow-y: hidden; grid-template-columns: 250px 250px 250px 350px; }
	.grid-column_4.grid-container .item { border-right:0px; padding: 0 10px 0 0;  }
	.grid-column_5 { grid-template-columns: auto; }
	.grid-column_6 { grid-template-columns: 50% 50%; }
	.grid-column_6 .item { border-right: 1px solid var(--blue-color-4); padding: 0 5px; }
	.grid-column_6 .item:first-child, .grid-column_6.grid-container .item:nth-child(2n+1) { padding-left:0px; }
	.grid-column_6 .item:nth-child(2n) { padding-right:0px; border:0px; }
	.grid-column_6 .item:last-child { grid-column-start: 1; grid-column-end: 3; }
	
	.grid-column_7 { grid-template-columns: auto; }
	
	.grid-6 { grid-template-columns: 50% 50%; }
	.grid-6 .item, .grid-6 .item:nth-child(3n), .grid-6 .item:nth-child(3n+1) { border-right: 1px solid var(--blue-color-4); padding: 0 5px; }
	.grid-6  .item:first-child, .grid-6 .item:nth-child(2n+1) { padding-left:0px; }
	.grid-6  .item:nth-child(2n) { padding-right:0px; border:0px; }
	
	.grid-column_8 { grid-template-columns: 50% 50%; }
	.grid-column_8 .item:last-child { grid-row-start: 2; grid-column-start: 1; grid-row-end: 1; grid-column-end: 3; }
    .grid-column_8 .item { border-right: 1px solid var(--blue-color-4); padding: 0 5px; }
	.grid-column_8 .item:first-child, .grid-column_8 .item:nth-child(2n+1) { padding-left:0px; }
	.grid-column_8 .item:nth-child(2n) { padding-right:0px; border:0px; }
	
	.grid-column_9 { grid-template-columns: 100%; }
	.grid-column_11 { grid-template-columns: auto; }

	
	.span_20 { width: 30%; }
	.span_80 { width: 70%; }
	.span_65, .span_35 { width: 100%; float:none; }
	
	.paginazione, .paginazione .links  { text-align:center; }
	.paginazione a, .paginazione b { margin-top:10px; }
		
	.global-site-notice { position: fixed; right:0px; bottom:0px; left:0px; z-index:222; width:100%; max-width:400px; }
	div.top { right:20px; bottom:20px; z-index:200;}
	
	.blog { display:grid; grid-template-columns:1fr; gap:80px; padding:40px 0; }
	.list-blog .item img { float:none; margin-left:0px; margin-bottom:20px; width:100%; height:auto; }

}

@media only screen and (max-width: 400px){
	.iphone_hide { display:none; }
}