@import url(https://fonts.googleapis.com/css?family=Cinzel);
@import url(https://fonts.googleapis.com/css?family=Roboto);

body{font-family: 'Roboto', sans-serif;}
html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}
/*PAGE ELEMENTS*/
#titlecontainer{
	z-index: 10;
  	position: fixed;
  	width: 100%;
 	margin: 25px 0;
	background-color:rgba(0,0,0,0.7);
}

#titolo{
	font-family: 'Cinzel', serif;
	display:block;
	font-size:55px;
	padding:10px 0 5px 0 ;
	color:white;
  	text-shadow: 2px 2px #000000;
  	margin-left:35px;
}

#address{
	font-family: 'Roboto', sans-serif;
	color:white;
	font-size:14px;
	font-weight:normal;
	padding:10px 0 20px 10px;
	margin-left:35px;
	margin-top:-15px;
	text-shadow: 1px 1px #000000;
}
#address .mobile
{ display:none; }


a
{
	color:#FFF248;
	text-decoration:none;
	text-shadow:1px 1px 1px #000;
}
a:hover
{text-decoration:underline;}

a.button
{
	display:inline-block;
	margin-top:5px;
	padding-left:30px;
	height:25px;
	line-height:25px;
	color:#ffaf48;
	background-position:0 0 ;
	background-repeat:no-repeat
}

a.button.map{ background-image:url("./images/icon-map.png"); }
a.button.weather{ background-image:url("./images/icon-weather.png"); }

#content
{
	background-color:rgba(0,0,0,0.7);
	color:#eee;
	
	position:fixed;
	top:300px;
	left:50%;
	z-index:999;
	
	width:800px;
	height:400px;
	margin-left:-400px;
	padding:10px 10px 10px 20px;
	overflow:auto;
	box-sizing:border-box;
	
	-webkit-transition: all 300ms ;
	-moz-transition: all 300ms ;
	-o-transition: all 300ms ;
	transition: all 300ms ;
}

#content h1
{
	font-weight:normal;
	font-size:1.5em;
}
#content p
{
	margin:0;
	font-weight:normal;
	line-height:20px;
	font-size:15px;
	text-align:justify;
	padding:0 20px 0 0;
}

#content:hover
{}

#slides
{
	background-image:url("./images/loader.gif");
	background-position:center center;
	background-repeat:no-repeat;
}


@media all and ( max-width:1000px )
{
	#content
	{
		width:600px;
		margin-left:-300px;
	}
}
@media all and ( max-width:800px )
{
	#content
	{
		width:500px;
		margin-left:-250px;
	}
}


@media all and ( max-width:750px )
{
	.mobile-hide{display:none;}
	#titlecontainer
	{
		margin:0;
	}
	#titolo
	{
		font-size: 30px;
		padding: 5px; 
	}
	
	#content
	{
		width: 350px;
		height: 550px;
		margin-left:-175px;
		bottom: 0;
		top: initial;
	}
	
}

@media all and ( max-width:750px ) and (orientation: portrait)
{
	#titolo
	{
		font-size: 30px;
		padding: 5px; 
	}
	#address ,
	#address a
	{
		font-weight:normal;
		font-size:14px;
	}
}

@media all and ( max-width:750px ) and (orientation: landscape)
{
	#titlecontainer
	{
		margin:0;
	}
	#titolo
	{
		font-size: 20px;
		padding: 5px; 
	}
	#address
	{
	/*	display:block;
		width:50%;
		height:55px;
		box-sizing:border-box;
		position:absolute;
		top:4px;
		right:0;
		text-align:right;
		font-size:11px;
		padding:25px 20px 10px 10px;*/
	}
	
	#content
	{
		width:100%;
		height: calc( 100% - 120px );
		left:0;
		margin:0;
		overflow:auto;
	}
	#content p
	{	
		font-size:14px;
		line-height:24px;
	}
}

@media all and ( max-width:550px ) and (orientation: portrait)
{
	#titlecontainer
	{
		height:176px;
	}
	#titolo,
	#address
	{
		margin-left:5px;
	}
	
	#address .mobile
	{ display:block; }
	#address .screen
	{ display:none;}
	
	#content
	{
		width:100%;
		height: calc( 100% - 176px );
		left:0;
		margin:0;
		overflow:auto;
	}
	#content p
	{	
		font-size:14px;
		line-height:21px;
	}
}



@media all and ( max-width:450px )
{
	#content
	{
		/*top:initial;
		bottom:0;
		width:100%;*/
	}
}


