@charset "UTF-8";
/* CSS Document */

@font-face {
    font-family: shadow;
    src: url(ShadowsIntoLight.ttf);
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
	background:#000;
}


h2{
	font-family:shadow;
	font-size:36px;
	margin-top:0;
}

.title{
	display:block;
	text-align:center;
	height:100px;
	line-height:100px;
	font-size: 46px;
    color: #fff;
    background: #588fcc;
    position: relative;
    font-family: shadow;
	clear:both;
	box-shadow: 0 15px 20px rgba(0, 0, 0, 0.52);
	margin:0;
}

/* *****  CONTENUTO ***** */

.contenuto{
	    padding: 30px;
    max-width: 1200px;
    margin: auto;
    text-align: justify;
	background:rgba(255,255,255,0.9);
	position:relative;
}

.contenitore{
	background-image:url("../images/legno.jpg");
}

input[type="button"]{
	background:	#588fcc;
	padding:10px;
	color:#fff;
	border-radius:10px;
	cursor:pointer;
}

input[type="button"]:hover{
	background:#edb680;
}

.bottone{
	background: #588fcc;
    padding: 10px;
    color: #fff !important;
    border-radius: 10px;
    cursor: pointer;
    border: outset 2px;
    display: inline-block;
	text-decoration:none;
}

.bottone:hover{
	background:#edb680;
}

.bottone img{
	vertical-align: middle;
	height:20px;
}

.contenuto ul{
	list-style-position: inside;
    font-style: italic;
    padding-left: 0;
}

#storia{
	padding:30px;
}

#news {
    background: #b7d4f7;
    color:rgba(0, 0, 0, 0.83);
    padding: 10px !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    font-size: 12px !important;
    text-align: center;
    z-index: 4;
    width: auto !important;
    max-width: 100% !important;
    margin-top:50px;
}
#news button {background-color: #588fcc;
color:#fff;}

@media screen and (max-width:700px), screen and (max-height:700px){
	.title{
		font-size:36px;
	}
}

@media screen and (max-width:600px), screen and (max-height:600px){
	.title{
		font-size:32px;
		height: 90px;
		line-height: 90px;
	}

	.contenuto {
    	padding: 20px;
	}

	#storia{
    	padding: 20px;
	}
}

@media screen and (max-width:470px){

	.title{
		font-size:26px;
		height: 80px;
		line-height: 80px;
	}

	h2{
		font-size: 28px;
	}

	.contenuto{
		font-size: 0.8em;
		padding: 15px;
	}

	#storia{
    	padding: 15px;
	}

}


@media screen and (max-width:300px), screen and (max-height:400px){
	.contenuto {
    	padding: 10px;
	}

	h2{
		font-size: 22px;
		margin:15px 0;
	}

	#storia {
    	padding: 15px 0;
	}
}

.contenitorefoto{
	position:relative;
	height:300px;
	overflow:hidden;
	background:#000;
}

.contenitorefoto img{
	width: 100% !important;
    padding: 0 !important;
    opacity: 0.7;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
}

@media screen and (max-width:600px), screen and (max-height:600px){
	.contenitorefoto {
		height: 250px;
	}
}
@media screen and (max-width:470px){
	.contenitorefoto {
		height: 200px;
	}
}
@media screen and (max-width:300px), screen and (max-height:400px){
	.contenitorefoto {
		height: 150px;
	}
}


.text{
	position:fixed;
	top:0;
	left:0;
	bottom:0;
	right:0;
	background:rgba(0, 0, 0, 0.85);
	display:none;
	z-index: 9999;
}

.text a{
	color:#000;
}

.text a:hover{
	color:#4682ca;
}

.textInner{
	position:absolute;
	top:15%;
	left:15%;
	bottom:15%;
	right:15%;
	background:#fff;
	padding:30px;
	overflow:auto;
	color:#000;
	text-align:justify;
	border-radius:20px;
}

.chiudi{
	position: absolute;
	top: 15%;
	right: 15%;
	font-size: 24px;
	padding: 10px;
	background: #4682ca;
	color: #fff;
	font-family: arial;
	line-height: 24px;
	width: 24px;
	text-align: center;
	cursor: pointer;
	border-radius: 10px;
	z-index: 12;
	margin-right: -15px;
	margin-top: -15px;
}

.chiudi:hover{
	background:#426e9a;
}

@media screen and (max-width:960px){
	.textInner{
		top:10%;
		left:10%;
		bottom:10%;
		right:10%;
	}

	.chiudi{
		top: 10%;
		right: 10%;
	}


}

@media screen and (max-width:800px){


	.text h2{
		font-size: 28px;
	}

}

@media screen and (max-width:600px){


	.text h2{
		font-size: 24px;
	}

	.textInner{
		top:5%;
		left:5%;
		bottom:5%;
		right:5%;
		padding:20px;
		border-radius:15px;
	}

	.chiudi{
		top: 5%;
		right: 5%;
	}
}

@media screen and (max-width:470px){

	.text{
		font-size: 0.8em;
		padding:20px;
	}

	.textInner{
		padding:15px;
		border-radius:10px;
	 	}

	.chiudi {
		padding: 5px;
		margin-right:-10px;
		margin-top:-10px;
	}
}
