
/* Font scelti da Google Fonts */
/* font-family: 'Lobster', cursive; */
/* font-family: 'Raleway', sans-serif; */

/* Regole generali */

body {
	margin: 0;
	padding: 0;
	background: #333;
	background: url("../img/bg-programma.jpg") no-repeat;
	background-size: cover;
	background-attachment: fixed;
    background-position: center;
	font-size: 0.9em;
	font-family: 'Raleway', sans-serif;
	line-height: 1.3em;
	color: #fff;
}
a {
	text-decoration: none;
	color: #963;
}
a:hover {
	color: #346;
}
img {
	max-width: 100%;
}



/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* Impagino gli elementi principali */
.container {
	width: 60%;
	max-width: 1920px;
	margin: 0 auto;
/*	position: relative;*/
}
.colonna {
	float: left;
	/*box-sizing: border-box;*/
}
.larghezza-1 {
	width: 0%;
	padding: 15px;
	/*position: fixed;*/
}
.larghezza-3 {
	width: 100%;
	padding: 15px 30px;
	/*border: 5px #fff solid;*/
}

/* imposto lo sfondo della colonna centrale */
.content {
	/*background: rgba(0,0,0,0.7);
	/*margin: 0 auto;*/
	margin-top: 20px;	
	margin-bottom: 50px;
	text-align: center;

}
/*.header {
	left: 0;
	top: 0;
}
*/
.sidebar {
	/*background: rgba(0,0,0,0.1);*/

}
.wrap {
	position:relative;
	margin:0 auto;
           /*replace 900px with your width*/
    width: 1100px;       
	max-width: 100%;
}
.footer {
	clear: both;
	background: rgba(0,0,0,0.7);
	padding: 20px;
	font-size: 0.8em;
	text-align: center;
   	position: fixed;
   	bottom: 0px;	
}


/* Impagino il menu */

span.rollover {

	opacity: 1;	
	height: 78px;
	width: 350px;
	position: absolute;
	clear: both;
	background: transparent;
	font-size: 1.5em;
	text-align: center;
	color: #000;	
	padding-left: 138px;
	padding-top: 50px;

}

span.rollover:hover{
	opacity: 0.7;
	height: 78px;
	width: 350px;
	clear: both;
	background: rgba(0,0,0,0.7);
	text-align: center;
	color: #fff;
	font-size: 1.5em;
	padding-left: 138px;
	padding-top: 50px;
}
.menu {
	float: left;
	display: inline;
	margin: 0;
	margin-top: 100px;
	padding: 0;
	list-style: none;
	text-align: left;
}
.menu li {
	float: left;
	display: inline;	
	padding: 0;
	margin: 0;
	height: 150px;
	width: 500px;
	margin-right: 1em;
	list-style: none;
	background-repeat: no-repeat;
}
.menu li a, .menu li a:visited {
	float: left;
	display: inline;	
	text-decoration: none;
	height: 128px;
	width: 500px;	
	background-repeat: no-repeat;
}


ul.menu li a:hover {
	background: none;
}




.nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
	font-size: 1.2em;
	line-height: 1.6em;
	font-family: 'Lobster', cursive;
}
.nav ul li a {
	display: block;
	padding: 0 10px;
}
.nav ul li a:hover {
	color: #fff;
	background: #963;
}


/* Impagino i testi */

h1, h2, h3 {
	font-family: 'Lobster', cursive;
	line-height: 1.2em;
}

/* Media query: per impaginare un sito responsive (mobile) */

@media only screen and (max-width: 900px) {
	body {
		font-size: 0.8em;
	}
    .larghezza-1 {
		width: 10%;
	}
	.larghezza-3 {
		width: 80%;
	}
}


@media only screen and (max-width: 700px) {
	body {
		font-size: 1em;
	}
	.colonna {
		float: none;
	}
    .larghezza-1 {
		width: 100%;
	}
	.larghezza-3 {
		width: 100%;
	}
	.header .logo {
		text-align: center;
	}
	.content {
		margin: 0;
		text-align: center;
	}
}
