html, body, #wrap {height: 100%;margin:0px;padding:0px;text-align:center}

html {
	overflow-y:scroll;
}

body > #wrap {
	height: auto; 
	min-height: 100%;	
	color:#ffffff;	
}

body {
	background: url("img/sfondo.png") repeat-x scroll center top #ffe2b0;
	font-family:Georgia;
	font-size: 13pt;
}

a {
	text-decoration:none;	
}

#wrap {
	width:1028px;
	background: url("img/back_01.png") repeat-y scroll center top transparent;
	margin-left:auto;
	margin-right:auto;
}

#header {
	width: 974px;
	height: 224px;
	background: url("img/header.png") no-repeat scroll center top transparent;
	margin-left:auto;
	margin-right:auto;
}

#menu {
	color:#301801;
	float:left;
	height:35px;
	margin-left:25px;
	margin-top:187px;
	line-height: 35px;
	font-size: 21px;
	font-variant: small-caps;
}

#active {
	color:#301801;
	background-color:#ffc868;
}

#menu a{
	color:#ffc868;
	display:block;
	height: 35px;	
	float:left;
	line-height:34px;
	font-size: 14px;
	font-weight:bold;
}

#menu a:hover{
	background-color:#ffc868;
	color:#301801;
}

#menu ul li {
	float:left;
}

#flag {
	float: right;
}

#flag a{
	display: static;	
}

#flag a:hover{
	background-color:transparent;
}

#flag img{
	margin-left: 2px;
	margin-right: 2px;
}

#main {
	padding-bottom: 213px;
	margin-left:auto;
	margin-right:auto;
	width:974px;
	min-height: 420px;
	color:#ffffff;
	text-align: left;
	font-size:13px;
	background-color:#1e1405;
}  /* la stessa altezza del footer */
	
#main iframe {
	float:right;
	margin-right: 40px;
	margin-top: 25px;
	/*border: 1px solid #ffc868;*/
	background-color:transparent;
}

#testo{
	width: 550px;
	text-align:justify;
	float:left;
	margin-left: 30px;
	margin-top: 25px;
	line-height: 20px;
}

#testo strong {
	color: #ffc868;
}

.homemain {
	background-image: url(img/miramare.jpg);
	background-repeat:no-repeat;
}

.nohome {
	background-image: url(img/sfondopagine.gif);
	background-repeat:no-repeat;
}

#bottoni {
	font-size:15px;
	float: left;
	line-height: 605px;
	text-align:center;
	font-variant: small-caps;
	margin-top: 30px;
	margin-bottom:50px;
	width:974px;
}

#bottoni a{
	color:#1e1405;
	font-weight:bold;
	display:block;
	width:100%;
	height:342px;
}

#bottoni a:hover{
	text-decoration:underline;
}

#bottoni #bottone1 {
	border:0;
	width:321px;
	height:342px;
	margin-right:1px;
	float:left;
}

#bottoni #bottone2 {
	border:0;
	width:332px;
	height:342px;
	margin-right:1px;
	float:left;
}

#bottoni #bottone3 {
	border:0;
	width:319px;
	height:342px;
	margin:0px;
	float:right;
}

#galleria {
	float: left;
	width: 460px;
	margin:35px 0 20px 25px;
}

.gallery {
	float: left;
	border: 1px solid #ffc868;
	margin: 2px;
}

#testogall {
	float: right;
	margin:20px 40px 0 0;
	width: 420px;
	text-align: justify;
	line-height:20px;
}

#testogall h2 {
	font-style: italic;
	color: #ffc868;
}

#testogall strong {
	color: #ffc868;
}

#testogall ul {
	padding:0;
}

#mappa {
	float: left;
	width: 460px;
	height: 460px;
	margin:35px 0 0 25px;
}

#footer {
	clear:both;
	color:#ffffff;
	height:188px;
	margin-left:auto;
	margin-right:auto;
	margin-top:-187px;
	position:relative;
	width:974px;
	background: url("img/footer.png") no-repeat scroll center top transparent;
	margin-left:auto;
	margin-right:auto;
	text-align:center;
	font-size: 14px;
}

#footer strong{
	font-variant:small-caps;
	color:#ffc868;
}


#footercenter {
	margin-left:auto;
	margin-right:auto;
	padding-top:40px;
	width:780px;	
} 

#footer_sx {
	float:left;
	width: 389px;
	border-right: #00457e solid 1px;
	height: 95px;
	margin-top:30px;
}

#footer_sx img {
	float: left;
	margin-top: 10px;
}
#footer_sx p{
	float: right;
	width: 230px;
	margin-top: 2px;
}

#footer_dx {
	float:right;
	width: 389px;
	height: 95px;
	margin-top:30px;
}

#footer_menu {
	margin:auto;
	width: 358px;
}

#footer_menu a{
	color:#00457e;
}

#footer_menu a:hover{
	text-decoration:underline;
}

#imgpow {
	position:relative;
	top:-16px;
	right:20px;
	float:right;
	text-align:left;
	background:url(img/sgsa.png) no-repeat right top;
	width:89px;
	height:8px;
	padding:2px 0 9px 0;
	color:#fff;
	font-family:trebuchet MS;
	font-size:10px;
	text-decoration:none;
	display:block;
}

#imgpow:hover {
	color:#CC0000;
	background-position:bottom right!important;
}

#imgpow strong {
	display:block;
	text-indent:-5000px;
}


.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}
.clearfix {display: inline-block;}
/* Nascondi a IE su Mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* Fine Nascondi a IE su Mac */

#menu {
padding:0;
}
#menu ul {
	float:left;
	margin:0;
	padding:0;
	width: 887px;
}
#menu li {
float:left;
list-style:none outside none;
margin:0;
padding:0;
position:relative;
z-index:1;
}
#menu li ul li {
float:none;
width: 200px;
height:34px;
margin-top:0px;
margin-bottom:0px;
}
#menu li a {
display:block;
text-align:center;
text-decoration:none;
}
#menu ul ul {
	left:0;
	position:absolute;
	top:35px;
	visibility:hidden;
	z-index:1;
	text-align:left;
}
#menu ul ul a {
	display:block;
	float:none;
	height:34px;
	line-height:34px;
	text-decoration:none;
	z-index:1;
	border-top: 1px solid black;
	text-align:left;
	text-indent:10px;
}
#menu ul ul a:link {
	background-color:#ffc868;
	color:#301801;
}
#menu ul ul a:visited {
	background-color:#ffc868;
	color:#301801;
}

#menu ul ul a:hover {
	background-color:#301801;
	color:#ffc868;
	z-index:1;
}
#menu ul li:hover ul {
	visibility:visible;
	z-index:1;
}

#contattisx {
	float: left;
}


#contattidx {
	float: left;
}

#contattidx input, textarea {
	width: 350px;
	color: #a6a6a6;
	margin-top: 8px;
	font-size: 12px;
	border-color:#D6D6D6;
	border-style:solid;
	border-width:1px;
}

#contattidx select {
	width: 350px;
	color: #a6a6a6;
	/*margin-top: 8px;*/
	font-size: 12px;
	/*border-color:#D6D6D6;*/
	border-style:hidden;
	border-width:0px;
}

