/*mobile*/
body,
.boxv
{
	font-size:20px;
}

.boxv
{
    width: calc(100vw - 40px);
    flex-basis: calc((100vw - 40px) * 2);
}

.boxvab
{
	padding-bottom:40px;
}

#intt #logo {
    width:80%;
    height: auto;
    margin-right:15px;
}

.int {
    padding: 0 20px;
}

#intt #logo img 
{
	width:100%;
	height:auto;
}

#rilhome > div,
#intpp,
#patroc,
#patroc > div > div,
#menuu > ul,
.listr
{
	flex-direction:column;
}

.listr
{
	margin:0;
}

#rilhome > div
{
	--rilgap:15px;
	margin:0;
}

#intp
{
	flex-direction:column-reverse;
}

#menu,
#menus,
#strum
{
	display:none;
}

#intt > :last-child
{
	position:relative;
}

#menuhandle
{
	top:20px;
	right:0;
	display:unset;
	position:absolute;
}

#menuhandle b
{
	display:none;
}

#menum
{
	top:50px;
	right:20px;
	z-index:10;
	padding:20px;
	position:absolute;
	background-color:#382D1B;
}

#menum li
{
	margin-bottom:10px;
}

#menum a
{
	color:white;
	white-space:nowrap;
}

#menum ul ul
{
	margin-top:10px;
	margin-left:20px;
}

#patroc img
{
	max-height:220px;
	object-fit:contain;
}

#nlsubs .blk,
#nlsubs .fld,
#nlsubs input.text
{
	max-width:100%;
}

.lightbox #login_c,
#lb_cerca > div > div > div
	{
    width: calc(80vw - 40px);
    font-size: 20px;
	}
	
.lightbox #login_c h1
{
    font-size: 80px;
}

#lb_cerca h1
{
    font-size: 60px;
}

#cercab
{
    text-align: center;
}

.lightbox #cercainputb
{
	margin-right:0;
    min-width: calc(80vw - 70px);
    max-width: calc(80vw - 70px);
}

.fregioinline
	{
	--wfregioext:100px;
	--wfregiomaxwid:calc(100vw - 73px);
	}
	
.fregioinline::before
	{
	max-width:var(--wfregiomaxwid);
	}

.fregioinline::after
	{
	left:min(var(--wfregiomaxwid), calc(100% + var(--wfregioext)));
	}

#area #corpoint img, .doctxt img
{
    width: calc(100vw - 40px) !important;
    max-width: calc(100vw - 40px) !important;
}

#listad {
    padding-bottom:30px;
}

#menuu > ul > li:last-child
{
	padding-top:30px;
}

li.separa
{
	margin-top:10px;
	padding-top:10px;
	border-top:2px solid white;
}

.dataev
{
	display:block;
	text-align:center;
	padding-bottom:15px;
}

.appt h1
{
    font-size: 24px;
}

.appt h1 span
{
    margin-left: 0;
}

.enrolled
{
    flex-direction: column;
}

.enrolledbox > div
{
    flex-direction: column;
}

.enrolled .enrollform
{
	font-size:18px;
}

.enrollform > div
{
	flex-direction:column;
}

.enrollform > div button
{
    font-size: 22px;
}

.enrollform input.marca + label
{
    margin-right: 0;
}

.appt h2 a
{
    padding-right: 33px;
}

.danza
{
	margin-top:30px;
}

.danza > a
{
	margin-bottom:15px;
}

.danza > a,
.danzamusicariga 
{
	display:block;
}

.danzamusicariga 
{
	text-align:right;
}

#docdll a img,
.danzamusicariga img
{
	max-width:40px;
}

.danzaaudiopl
{
	top:-10px;
	position:relative;
}

.fancyplayer .timenum
{
    min-width: 50px;
}

#doc .doctxt a
{
	max-width:calc(100vw - 40px);
	overflow-x:hidden;
	display: inline-block;
	text-overflow: ellipsis;
}

#docdll
{
    max-width: unset;
    margin-bottom:30px;
}

#docdll a
{
	white-space:nowrap;
}

#imggall .listr > a
{
    max-width: calc(100vw - 40px);
    flex-basis: calc(100vw - 40px);
}

#imggall .listr a img
{
    width: 100%;
}

.codapg .int
{
	display:none;
}

.codapg .rlist a:not(.currpg)
{
	display:none;
}

.codapg .rlist a.dimsc_1,
.codapg .rlist a.dimsc_2
{
	display:inline-block !important;
}

#patroc,
#patroc div
{
	flex-wrap:nowrap;
}

#listad > div > form::before
{
	/*content:"Spiacenti, funzione temporaneamente non disponibile su dispositivi mobili.Utilizzate un tablet o un PC per usufruirne.";*/
}

#listad > div > form > div
{
	display:none;
}

.appt h2,
.corso h1
{
	padding-right:33px;
}

.listadanze
{
	margin-bottom:30px;
}

.notesoci
{
	margin-top:30px;
}

#contactus
	{
	display:block;
	margin:30px 0;
	padding-bottom:0;
	}

#contactus > div:first-child,
#contactus > div:last-child > span
	{
	color:#e5e1da;
	font-size:30px;
	line-height:unset;
	font-family:NeutraB;
	text-transform:uppercase;
	}

#contactus > div:last-child
	{
	font-size:inherit;
	font-family:Neutra;
	}

#contactus > div:last-child > span
	{
	position:relative;
	padding-right:0;
	display:block;
	border-bottom: none;
	}

#contactus span a
	{
	width:unset;
	height:unset;
	bottom:unset;
	right:unset;
	position:unset;
	display:block;
	text-align:center;
	font-size:28px !important;
	border-radius:unset;
	text-transform:uppercase;
	border:unset;
	font-family:Neutra !important;
	color:#574b34 !important;
	font-weight:normal !important;
	margin-top:30px;
	}
	
#contactus span a::after
	{
	content:"!";
}

#poptit
{
	overflow-x:hidden;
	font-size: calc(1rem / 18 * 20);
    margin-left:calc(var(--largfrecce) + var(--bordoimg));
    margin-right:calc(var(--largfrecce) + var(--bordoimg));
}

@media (orientation:portrait)
	{
	#popimg
		{
		width:calc(100vw - ((var(--largfrecce) + var(--bordoimg)) * 2 ) );
		height: auto;
		}
	}

#pophlp
	{
	display:none;
	}

@media all and (max-width: 320px) and (orientation:portrait), all and (max-height:320px) and (orientation:landscape) {
	#lb_calend > div > div
		{
		zoom:50%;
		}
	}
	
@media all and (min-width: 321px) and (max-width:374px) and (orientation:portrait), all and (min-height: 321px) and (max-height:374px) and (orientation:landscape) {
	#lb_calend > div > div
		{
		zoom:57%;
		}
	}
	
@media all and (min-width: 375px) and (orientation:portrait), all and (min-height:375px) and (orientation:landscape) {
	#lb_calend > div > div
		{
		zoom:60%;
		}
	}
	
@media all and (min-width: 425px) and (orientation:portrait), all and (min-height:425px) and (orientation:landscape) {
	#lb_calend > div > div
		{
		zoom:67%;
		}
	}	
	
#lb_calend > div > div .calen
	{
	font-size:17px;
	}

.scrollernextprev img
	{
	max-height:50px;
	}
	
.scrolleritem h2
	{
    /*right: 30px;
    bottom: 30px;
    position: absolute;*/
    font-size: 20px !important;
    text-align:right;
    /*
    text-transform: uppercase;
    text-shadow: 2px 2px 2px #000000;
    */
	}	
	
.scrolleritem
	{
	background-position:center;
	}
	
.scroller,
.scrolleritem > div
	{
	height: 250px !important;
	}

.scrollernextprev
	{
	top: calc(50% - 25px) !important;
	}

/*forms on mobiles*/
#listad > div > form > div
{
    display: block;
}

div.edittable > div
{
    display: flex;
	row-gap:30px !important;
	column-gap:0 !important;
	flex-direction:column !important;
}

.editform
{
    overflow:hidden;
}

.editform *
{
    /*outline: 1px dotted red;*/
}

.editform,
.editform input,
.editform select,
.editform input.t_passwordc
{
	max-width:100% !important;
}

.editform select,
.editform input.t_passwordc
{
	width: 100% !important;
}

.editform,
.edittable
{
	padding-left:0 !important;
	padding-right:0 !important;
}

div.edittable > div > span > span.lbl
{
	margin-left:0 !important;
}

div.edittable > div > span > span.fld
{
	order:2;
}

div.edittable > div > span > span.err
{
	order:3;
	flex-basis:100% !important;
}
