@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){
	
	
	.phone_show { display:block; }
	.phone_hide { display:none; }
	body { font-size:16px; line-height:24px; text-align:left; }
	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:45px; }
	::-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; }
	
	
	h1 { margin: 20px 0; font-size:30px; line-height:32px; }
	h3 { font-weight:300; }
	.acc_title h3 { font-weight:bold; }
	
	header { position:relative; height: 90px; z-index:99; padding-top:5px; }
	header .menu .content { padding:0px; }
	header .menu nav { padding:15px;  background:#352828; width:100%;  }
	header .menu nav ul { display:grid; grid-template-columns:1fr 1fr; column-gap: 20px; line-height:16px; }
	header .menu nav li { position:relative; display:block; text-align:left; margin-bottom:10px; }
	header .menu nav li a { text-transform:uppercase; color:#CCAB6A; font-size:16px; padding:0px; }
	footer { padding:40px 0; font-size:14px; }
	footer .grid-footer { grid-template-columns:1fr; gap:20px; }

	.hamburger { background:#CCAB6A; display:block; position:absolute; right:15px; top:20px; 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:#FFF; }
	
	#main { padding-bottom:40px; padding-top:120px;  }
	.main-menu { line-height:35px; }
	.logo img, footer .logo img { height:50px; margin:0px;}
	.image img { padding:20px; }
	
	#main .content { padding: 10px 20px; }
	
	.slide li { height:500px; background-size:cover; }
	.slide .text { position:absolute; z-index:5; bottom:0px; left:0px; right:0px; width:100%; padding:0 40px 20px 40px; }
	.slide h1 { font-size:24px; line-height:30px; font-weight:bold; }
	
	.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; }
	
	.service .main-menu h3 { padding: 20px 0; font-weight:normal; font-size:22px; }
	.service .main-menu li { padding: 10px 0; margin:0px; font-size:18px; line-height:20px; }
	.acc_title h3 { font-size:18px; line-height:20px; }
	.acc_title i { top:12px; }
	
	
	.navigation { font-size: 30px; padding:30px 0; }
	.grid-about { display:block; }
	.grid-about img { margin-bottom:20px; }
	.grid-news { grid-template-columns: 1fr; }
	
	.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;}
	
		
}

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