@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:15px; line-height:22px; }
	form .row { margin-bottom:0px; }
	input, select, textarea { margin-bottom:10px; 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 15px; }
	
	.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%; }
	
	
	
	.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; }
	.border, .border2 { padding: 0px; border:0px; }
	
	header { height: 160px; }
	header .logo { padding: 0 20px; }
	header .logo h1 { font-size: 28px; line-height: 28px; }
	header .content { padding:0px; }
	header .container { grid-template-columns: 1fr; padding:0px; }
	header nav { display:none; }
	header .border { border:0px; }
	header .menu { border:0px;  }
	header .menu nav { border:0px; position:fixed; top:150px; left:0; bottom:0; right:0; background:var(--cultura-color); }
	header .menu ul { display:block; margin: 0 20px; }
	header .menu li { text-align:left; display:block; border-left: 5px solid #ffa0b9; border-bottom: 1px solid #ffa0b9; padding:10px 20px; border-right:0px; font-weight:bold; border-top:0px; }
	header .menu li:hover, header .menu li.selected { border-top:0; }
	
	#main { margin-top: 160px; }
	
	.list-dates { grid-template-columns: 1fr; gap:40px; }
	.list-dates .item { padding:0px; }
	.list-dates .item:not(:last-child) { border-right:0px; }	
	.list-dates .text { height:auto; padding-bottom:0; }
	.list-dates .subtitle { font-size:20px; line-height:26px; font-family: var(--body-fonts-2); color:#000; }
	.grid-where { grid-template-columns: 1fr; gap:20px; } 
	.grid-where .item:not(:last-child) { border:0px; }
	.grid-where .item { padding:0px; }
	.grid-guest { grid-template-columns: 1fr; }
	.detail .grid-2 { grid-template-columns: 1fr; padding:20px 0; }
	.detail h1 { font-size:30px; line-height:30px; }
	footer .logo img { height:20px; }
	footer .logo span { line-height: 20px; font-size:22px;  }
	footer .grid-footer { grid-template-columns: 1fr 1fr; }
	footer .grid-footer div:nth-child(odd) { border:0px; padding:0; }
	footer .grid-footer div:first-child, footer .grid-footer div:nth-child(2) { padding-bottom:40px; }
	.maps iframe { height:300px; }
	
	.hamburger { display:block; position:absolute; right:23px; top:20px; z-index:999; color:var(--cultura-color); width:42px; height:42px; border-radius:200px; padding:12px 11px; display:block;  background:#FFF; }
	.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:var(--cultura-color); }
	nav.mobile { padding:20px; position:fixed; top:90px; bottom:0; background:var(--blue-color); width:100%; display:none; z-index:999; }
	nav.mobile li { position:relative; }
	nav.mobile li a {  border-left:5px solid var(--blue-color-4); border-bottom:1px solid var(--blue-color-4); color:#FFF; font-family: var(--body-fonts-2); font-size:18px; font-weight:bold; display:block; padding:10px 10px 10px 20px; }
	nav.mobile .menu-mobile-content a { display: block; font-family: var(--body-fonts); font-size:13px; font-weight:normal; color:#FFF; border-bottom:0px; padding:4px 4px 4px 20px;  }
	nav.mobile li i { position:absolute; right:20px; color:#FFF;  }
	nav.mobile li i.icon-down { top:18px; }
	nav.mobile li i.icon-up { top:22px; }
	nav.mobile li span { background:none; }
	nav.mobile { overflow-y:scroll; }
	 
	.cover .image { padding: 20px 0 0 0; }
	.cover h1 { font-size: 30px; line-height: 35px; }
	.list-people { display:grid; grid-template-columns: 1fr 1fr; }
	.list-people li { width: 170px; }
	#main .content.full { padding:0px; }
	
	.posti { white-space:nowrap; }
	.posti li { width:32px; height:32px; display:inline-block; }
	.posti li label { padding:5px 2px; height:auto; }
	.booking-form { grid-template-columns: 1fr; gap:0px; }
		
	.item-row { padding:20px; }
	.item-row h2 { margin-bottom:0px; }
	.cover-image { height:300px;  }

	.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;}
	
	.list-partners { grid-template-columns: 1fr 1fr; }
	
}

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