html,
body{
	margin:0;
	padding:0;
	border:0;
}

html{
	position:relative;
	background-color:#faece1;
	background-image:url("../file/site/image/pagine/bg.jpg");
	font-family:'Dosis', sans-serif;
	font-weight:400;
	font-size:18px;
	color:#535353;
	
	/*color:#000;*/
}

body{
	-webkit-text-size-adjust:100%;
}

h1{
	margin:0 0 2em 0;
	text-align:center;
	text-transform:uppercase;
	font-size:1rem;
	font-weight:700;
	color:#37b6ad;
}

h2{
	margin:0 0 1.5em 0;
	font-size:1.4rem;
	font-weight:400;
}

p{
	margin:0 0 1.44em 0;
	line-height:1.38em;
}

img{
	margin:0;
	padding:0;
	border:0;
}

a{
	color:inherit;
	text-decoration:underline;
}

a[href^="mailto:"],
a[href^="tel:"]{
	text-decoration:none;
}

a:hover{
	text-decoration:none;
}

strong{
	font-weight:700;
}

header.main nav{
	text-transform:uppercase;
	font-size:1.11rem;
}

@media (min-width: 1024px){
	header.main nav{
		margin-left: calc(100% - 305px);
		background-color: rgba(255,255,255,0.9);
	}
}

header.main nav ul{
	margin:0;
	padding:0;
	list-style-type:none;
}

header.main nav ul li{
	margin:0;
	border-bottom:1px solid #b4b4b4;
}

header.main nav ul li:last-of-type{
	border:0;
}

header.main nav ul li a{
	display:block;
	padding:1em 0;
	text-decoration:none;
}

@media (min-width: 1024px){
	header.main nav ul li a{
		padding:1em;
	}
}

header.main nav ul li.active a,
header.main nav ul li a.noLink,
header.main nav ul li a:hover{
	color:#37b6ad;
}

header.main nav ul li a.noLink{
	cursor:default;
}

.content.main .box-testo{
	background-color:rgba(255,255,255,0.9);
	border-bottom:10px solid #37b6ad;
}

footer.main p{
	margin:0;
	line-height:1.48em;
	text-align:center;
	font-size:0.75rem;
	color:#fff;
}

footer.main p a{
	text-decoration:none;
}

@media (max-width:736px){
	.margini-mobile{
		margin-left:4%;
		margin-right:4%;
	}
	
	html{
		background-repeat:no-repeat;
		background-position:right top;
		background-attachment:fixed;
	}
	
	header.main{
		position:relative;
		padding-top:140px;
		margin-bottom:20px;
		background-image:url("../file/site/image/header/logo.png");
		background-repeat:no-repeat;
		background-position:50% 10px;
		background-size:auto 120px;
		z-index:1;
	}
	
	header.main .logo{
		display:block;
		position:absolute;
		top:10px;
		left:50%;
		width:124px;
		height:120px;
		transform:translateX(-50%);
	}
	
	header.main .bottone-mobile{
		display:block;
		position:absolute;
		top:10px;
		left:4%;
		width:50px;
		cursor:pointer;
		opacity:0.2;
	}
	
	header.main .bottone-mobile.closed{
		opacity:0.6;
	}

	header.main nav{
		display:none;
		position:relative;
		text-align:center;
	}
	
	header.main nav ul{
		box-sizing:border-box;
		background-color:#fff;
	}
	
	.content.main .box-testo{
		padding:4%;
	}
	
	footer.main{
		padding:4%;
	}
	
	footer.main p span{
		display:block;
	}
}

@media (min-width:737px){
	html,
	body{
		min-width:980px;
		min-height:100%;
	}
	
	html{
		background-repeat:no-repeat;
		background-position:center;
		background-size:cover;
		background-attachment:fixed;
	}
	
	body{
		padding-top:39px;
	}
	
	header.main{
		position:relative;
		float:left;
		box-sizing:border-box;
		width:22.125%;
		min-width:354px;
		margin-right:20px;
		padding-top:314px;
		background-image:url("../file/site/image/header/logo.png");
		background-repeat:no-repeat;
		background-position:100% 0;
	}
	
	header.main .logo{
		display:block;
		position:absolute;
		top:0;
		right:0;
		width:305px;;
		height:293px;
	}
	
	header.main .bottone-mobile{
		display:none;
	}
	
	header.main nav{
		text-align:right;
	}
	
	.content.main{
		float:left;
		box-sizing:border-box;
		width:56.938%;
		min-width:606px;
		min-height:calc(100vh - 59px);
		padding-top:314px;
	}
	
	.content.main .box-testo{
		min-height:300px;
		padding:28px 40px;
	}
	
	footer.main p span:nth-of-type(2):before,
	footer.main p span:nth-of-type(2):after{
		content:" - ";
		display:inline-block;
	}
}