html {
	width:100%;
	height: 100%;
}

body {
	height: 100%;
	margin:0;
	padding:0;
	font-family: 'Karla', sans-serif;
	color:#e81c24;
	font-size:22px;
	//background-image: url('musica_variabile_testo.png');
	background-attachment: fixed;
	background-position: center 92%;
	background-repeat: no-repeat;
	background-size: 350px;
	font-weight: bold;
}

p {
	margin:5px 0;
}

a {
	text-decoration: none;
	color:#e81c24;
	font-weight: 700;
	border-bottom: 3px solid transparent;
}

a:hover {
	border-bottom: 3px solid #e81c24;
}

ul {
	padding-left:20px;
}

canvas {
	margin:0;
	padding:0;
	top:0;
	left:0;
	position: fixed;
	z-index: 1;
}

canvas[resize] {
	width:100%;
	height: 100%;
}

#scrolldown {
	color:white;
	position: absolute;
	bottom:10px;
	width:100%;
	text-align: center;
	z-index: 10;
}

#enter {
	width:100%;
	text-align: center;
	z-index: 10;
	color:white;
	position: absolute;
  	top: 20px;
}

div#nav {
	position: fixed;
	z-index: 100;
	padding: 20px;
	width:100%;
	background-color: white;
	display: none;
}

div#nav_m {
	position: fixed;
	z-index: 100;
	padding: 20px;
	width:100%;
	background-color: white;
}

div#nav a, div#nav_m a  {
	margin-right: 4%;
}

#image img {
	width:200px;
}

.active {
	border-bottom: 3px solid #e81c24;
}

.entree {
	color:white;
	background-color: #e81c24;
	height:100%;
	z-index: 2;
	background-image: url('musica_variabile_testo_bianco.png');
	background-attachment: fixed;
	background-position: center 92%;
	background-repeat: no-repeat;
	background-size: 350px;
}

.entree ul, #container2 ul {
	padding:0;
	list-style-type: none;
	position: relative;
}

.entree ul li, #container2 ul li {
	position: absolute;
	top:0;
}

#container {
	width: 50%;
	height: 50%;
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

#container img {
	width: 100%;
}

.page {
	min-height:100%;
	color:#e81c24;
	position: relative;
	z-index: 2;
}

.content {
	padding:20px;
	padding-top:100px;
	display: inline-block;
}

.content p {
	max-width:600px;
	z-index: 1;
}

/* news img */
#news img {
	position: absolute;
  	right: 0;
  	bottom:20px;
  	max-height: 500px;
}

/* tabs */
#f-column {
	float:left;
	display: inline-block;
	margin-right: 20px;
	width:50%;
	min-width:600px;
	max-width:600px;
}

#s-column {
	display: inline-block;
	min-width:600px;
	max-width:600px;
}

.tab-content {
    display: none;
}

#tab-1 img {
	position: absolute;
  	right: 0;
  	width: 40%;
  	top: 200px;
  	z-index: -1;
}

#tab-2 img {
	position: absolute;
  	width: 30%;
  	top: 300px;
  	z-index: -1;
}

#tab-3 img {
	position: absolute;
  	height: 80%;
  	top: 80px;
  	right:0;
  	z-index: -1;
}

#tab-4 img {
  	width: 40%;
  	position: absolute;
  	bottom:100px;
  	z-index: -1;
}

#tab-5 img {
  	width: 40%;
  	position: absolute;
  	bottom: 50px;
  	z-index: -1;
  	right: 0;
}

.tabs-menu {
	display: inline-block;
	width: 600px;
}

.tabs-menu li {
	padding: 0;
}

.tabs-menu a {
	display: inline-block;
}

#contatti{
	background-image: url('musica_variabile_testo.png');
	width:98%;
	background-color: white;
	background-position: center 97%;
	background-repeat: no-repeat;
	background-size: 350px;
}

#container2 {
	width: 50%;
	height: 50%;
	position:absolute;
	top:50%;
	left:50%;
	transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}

#container2 img {
	width: 100%;
}

#normativa .active {
	display: inline-block;
}

#normativa p {
	font-size: 13px;
}

@media screen and (max-width: 1200px) {
	#tab-1 img {
	  	top: 600px;
	}

	#tab-2 img {
	  	width: 30%;
	  	top: 550px;
	  	left:60%;
	}

	#tab-3 img {
	  	height: 60%;
	  	top: 300px;
	  	right:0;
	}

	#tab-4 img {
	  	right:0;
	  	top:550px;
	}

}

@media screen and (max-width: 1024px) {
	#news img {
		position: relative !important;
	  	width:100%;
	}

	.tabs-menu {
	  	display: none;
	}

	.tab-content {
		display: block;
		margin:20px 0;
	}

	.tab-content img {
		position: relative !important;
	}

	#tab-1 img {
	  	width: 70%;
	  	top: -100px;
	}

	#tab-2 img {
	  	width: 70%;
	  	top: -50px;
	  	right:0;
	}

	#tab-3 img {
	  	width: 55%;
	  	top: -100px;
	  	right:0;
	}

	#tab-4 img {
	  	width: 70%;
	  	top: -20px;
	  	left:200px;
	}

	#tab-5 img {
	  	width: 70%;
	  	left:50px;
	}

	#container2 {
		position: relative;
	}

	#footer {
		margin-bottom:150px;
	}

}

@media screen and (max-width: 800px) {
	body {
		font-size:18px;
	}

	.entree {
		background-attachment: scroll;
  		background-position: center 88%;
  		background-size: 250px;
  	}

  	#contatti {
  		background-size: 250px;
  	}

  	#container, #container2 {
  		width:60%;
  	}
}

@media screen and (max-width: 650px) {
	div#nav a, div#nav_m a {
		margin-right: 2%;
	}

	canvas {
		display: none;
	}

	#f-column, #s-column{
		min-width: 100%;
	}

	#tab-2 img {
	  	left: 210px;
	}

	#container, #container2 {
  		width:80%;
  	}
}

@media screen and (max-width: 450px) {
	div#nav a, div#nav_m a {
		margin-right: 10%;
		margin-bottom:10px;
		display: inline-block;
		float:left;
		clear: left;
	}

	#tab-2 img {
	  	left:20px;
	}

	#tab-3 img {
	  	left:100px;
	}

	#tab-4 img {
	  	left:100px;
	}


	div#nav img, div#nav_m img {
		display: block;
		width:200px;
	}

	.content {
	  	padding-top: 220px;
	}
}
