
body * {
  margin: 0;
  padding: 0;
}

body {
  font-family:verdana, Arial, Helvetica, sans-serif;
  font-size: 0.8em;
  background: url(/i/bg/wallpaper.gif) #f6efe9;
  color: #6D5235;
  margin: 0;
  padding: 0;
}

img {
  border: none;
} 

a {
  color: #6D5235;
}

a:hover {
  color: #999;
text-decoration:none;
}

h1 {
color:#fff;
font-size:1.3em;
}

h2 {
margin-top:3px;
  margin-bottom: 10px;
  color:#A12323;
  font-size:1.1em;
}

h3 {
  border-bottom: 1px solid #d4cfba;
  font-size: 1.5em;
  padding: 0 0 5px 0;
  margin: 0 0 10px 0;
  font-family:Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
}

h4 {
  font-size:1.1em;
}

h5 {
  font-weight: bold;
  font-size: 1em;
}

p {
  margin: 10px 0 10px 0;
  line-height: 1.4em;
}




/*---------------------------------------------------------
 menu
---------------------------------------------------------*/

#mainmenu {
  margin-left:auto;
  margin-right:auto;
  width: 790px;
  height: 48px;
  background: url(/i/bg/sf_menu.gif) #a12323;
  padding: 10px 0 0 10px;
border-bottom:1px solid #fff;
}

#mainmenu li {
  float:left;
  list-style-type:none;
  margin: 0 2px 0 0;
}

#mainmenu li a {
  display:block;
  height:48px;
  float:left;
  text-decoration:none;
  overflow: hidden;
text-indent:-10000px;
  outline:none;
  background-position: top left;
color:#fff;

}

#mainmenu li a:hover, #mainmenu li.current a {
  background-position: bottom left;
}

#mainmenu li.home a{
  background-image:url(/i/bg/menu_home.gif);
  width: 80px;
}

#mainmenu li.matrimoni a{
  background-image:url(/i/bg/menu_matrimoni.gif);
  width: 117px;
}

#mainmenu li.storia a{
  background-image:url(/i/bg/menu_storia.gif);
  width:90px;
}

#mainmenu li.menu a{
  background-image:url(/i/bg/menu-menu.gif);
  width: 80px;
}

#mainmenu li.turismo a{
  background-image:url(/i/bg/menu_turismo.gif);
  width: 117px;
}

#mainmenu li.contatti a{
  background-image:url(/i/bg/menu_contatti.gif);
  width: 117px;
}


#mainmenu li.immagini a{
  background-image:url(/i/bg/menu_immagini.gif);
  width: 117px;
}



/*---------------------------------------------------------
  Layout
---------------------------------------------------------*/
#container {
  width: 800px;
  margin-left: auto;
  margin-right: auto;
}

#stripe_h{
	height:15px;
	padding:2px 0  3px 5px;
	font-size:.8em;
	background:#A12323;
	color:#FFCCCC;
	padding-right:10px;
}

#header {
  height: 142px;
  background: url(/i/bg/sf_header.jpg) no-repeat #eadfcb;
}




#footer {
  clear: left;
  background:#A12323;
  width: 800px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
padding-top:5px;
  text-align:center;
  font-size: 1em;
color:#fff;
}

#footer ul{
  clear:both;
}

#footer li {
  display:inline;
  list-style-type:none;
  padding: 0 10px 0 10px;
}

#footer li.none {
  background:none;
}

#footer a {
  text-decoration:none;
color:#fff;
}
#footer a:hover {
  text-decoration:underline;
color:#FFCCCC;
}

#footer p{margin-top:4px;}

#rndimg {
  margin-left:auto;
  margin-right:auto;
  width: 800px;
  background-color:#a12323;
  height: 284px;
}
#main {
  background: #fff;
  padding: 10px 0 20px 0;
}
#topintro {
  float:left;
  width: 530px;
  position:relative;
}

.randompic{
  float:left;
  border-right:1px solid #FFF;

}



#textintro {
  float:right;
  display:inline;
  margin: 10px 15px 10px 0;
  color:#fff;
  position: relative; 
  width:240px;
  height: 250px;
  text-align:justify;
}



#sx{

  float:left;
  width: 510px;
  padding: 10px;
  z-index: 2;
}

#gallery{margin:10px 2px 10px 0px;}


#dx {
  float:left;
  width: 250px;
  position:relative;
font-size:.9em;
} 

#greydx{
  background:#eee;
  width: 260px;
  padding: 5px ;
  margin: 0 0 20px 0;
}

  
.clearfix:after {
  content: "."; 
  display: block; 
  height: 0; 
  clear: both; 
  visibility: hidden;
  }

* html>body .clearfix {
  display: inline-block; 
  width: 100%;
  }

* html .clearfix {
  /* Hides from IE-mac \*/
  height: 1%;
  /* End hide from IE-mac */
  } 


/*Classes*/
.clear {
  clear:both;
  line-height:0;
}

.right {
  float:right;
}

.left {
  float:left;
  margin: 0 10px 5px 0;
}
.center{text-align:center;}
.small{font-size:.7em;}
.dxtit {
	color:#666;
	margin-top:10px;
}

.img_gall 
{
   
    margin:10px 10px 10px 0px;
    border:1px solid #ccc;
    width:150px;
    height:110px;}
    
 .bodymenu{background:#fff; margin-left:20px;}
 .h3menu{text-align:right; border:0; font-size:1.3em;color:#333;}
 .satmap{background:url(/i/icone/satellite.gif) no-repeat 0 0; line-height:20px; padding:0px 2px 0 26px}