html, body, #contents {min-height: 100%;
	width: 100%;
	height: 100%;
	font-family:  verdana,"lucida grande",helvetica,arial,tahoma,sans-serif;
	font-size: 11px;
	color: #000000 ;
	background-color: #636363;
		background-image:url(http://www.galleriasanmaurizio.it/bggal.jpg);
	background-position: top;
	background-repeat:repeat-x;
	 margin:0px;
	  overflow-x:hidden;
	  min-width:1050px;
	}  /* hack for IE5+/Win.*/

html>body, html>body #contents {height: auto;}
/* Without this, Moz1.0 adds a vertical scrollbar */

body {margin: 0;
	font-family: Arial, sans-serif;
	background-color: #636363;
		background-image:url(http://www.galleriasanmaurizio.it/bggal.jpg);
	background-position: top;
	background-repeat:repeat-x;
	  overflow-x:hidden;
	  min-width:1050px;
	}


#contents {position: absolute;
	top: 0;
	left: 0;
	}
#header {
	height: px;
	background-image:url(http://www.galleriasanmaurizio.it/menu.jpg);
	margin-top:20px;
}

#maincontent {
	color: #000000;
	height:100%;
	width:auto;
	
}

#headertop{
background-color: #292929;}
#headertopindex{
	background-color:#AFAFAF;
}


#leftbg {
	float:left;
	margin:auto;
	height:600px;
	width:97px;
	background-image:url(http://www.galleriasanmaurizio.it/bglogoleft.jpg);
	background-repeat:repeat-y;
}

#index {
	float:left;
	margin:0px;
	width: 920px;
	background-color:#FFFFFF;
	border:none;
	padding: 10px 10px 0px 10px;
	height: 590px;
}



#bottombg {
	float:left;
	margin-left:0px;
	background-image:url(http://www.galleriasanmaurizio.it/bgbottombg.jpg);
	background-repeat:repeat-x;
	width:981px;
}
#bottomrightbg {
	float:left;
	margin-left:0px;
}



#content {
	margin-right: auto;
	margin-left: auto;
	width: 700px;
	line-height: 2em;
	padding: 10px;
}
/* ====== [ Elementi Testo-impaginazione] =============== */

#content a:link {
 background: transparent;
 text-decoration: underline;
 color: #663300;
 }
#content a:visited {
 background: transparent;
 text-decoration: underline;
 color: #663300; 
 }
#content a:hover {
 background: transparent;
 text-decoration: none;
 color: #ff3234;
 }




#content h2 {
	font-family:  "Times New Roman", arial, helvetica, sans-serif;
	font-size:26px;
	color: #663300;
	font-weight:bold;
}

#content strong {
	color: #663300;
}

#content img {
	border: 2px solid #d7d7d7;
	margin: 10px;
}

/* ====== [ Top Menu] =============== */

#topbarA {
	background-image:url(http://www.galleriasanmaurizio.it/menubg.jpg);
	background-repeat:repeat-x;
	color: #fff;
	height: auto;
}


#topbar {
	margin-right: auto;
	margin-left: 50px;
	width: 750px;
	line-height: 0em;
	color: #fff;
	height: 30px;
	margin-top:0px;
}
#minitabs {
	margin: 0;
	padding: 0 0 0px 0px;
	/*border-bottom: 1px solid #333;*/
}
#minitabs li {
	margin: 0; 
	padding: 0;
	display: inline;
	list-style-type: none;
}
#minitabs a:link, 
#minitabs a:visited {
	float: left;
	font-size: 10px;
	line-height: 30px;
	font-weight: bold;
	margin: 0 15px;
	padding-top: 0px;
	text-decoration: none;
	color: #fff;
}
#minitabs a:hover {
	border-bottom: 2px solid #ff3234;
	float: left;
	font-size: 10px;
	line-height: 25px;
	font-weight: bold;
	margin: 0 15px;
	padding-top: 0px;
	text-decoration: none;
	color: #fff;
}

/* ====== [ Footer ] =============== */
#tbar { height: 17px;
    font-size: 11px; 
    background-image: url(http://www.galleriasanmaurizio.it/upfooterbg.jpg); 
    background-repeat:repeat-x;	
    color: #fff;
	}
#footer {position: absolute;
	bottom: 0;
	background-color: #ccffcc;
	width: 100%;
	text-align: center;}
	
#footer2 { background-image:url(http://www.galleriasanmaurizio.it/footerbg.jpg); 
    background-repeat:repeat-x;
	color: #CCCCCC;
	font-size: 10px;
	padding-top:5px;
	padding-bottom:15px;
	text-align:right;
	padding-left: 60px;
	padding-right: 60px;
	}
	
#footer a:link, a:visited { 
	color: #FFFFFF;
	}
 #footer a:hover{ 
 border-bottom: none; color: #FFFFFF;
    }






	
#main { width: 100%; margin: 0px auto; text-align: left; }
#main img {	border: 2px solid #d7d7d7;	margin-top: 10px; margin-bottom: 10px; margin-left: 20px; margin-right: 20px;}
#main a:link {  text-decoration: none; color: #663300; }
#main a:visited { text-decoration: none; color: #663300;  }
#main a:hover { text-decoration: none; color: #ff3234;  }

#main strong {color: #663300;}


HR { clear: both; height: 0px; border: 0px; border-top: 1px solid #ccc; margin-top: 0px; padding: 0px; }

#gallerytitle  { font-family:  "Times New Roman", arial, helvetica, sans-serif;	font-size:26px;	color: #663300;	font-weight:bold; }
#albumname  { padding-left:10px; font-family:  "Times New Roman", arial, helvetica, sans-serif;	font-size:20px;	color: #663300;	font-weight:bold;  }
#imgname { padding-left:25px; text-align: left;  }
#albumdesc  { padding-left:20px; text-align: left;  }

.imgnav { margin-bottom: 4px; font-size: 8pt; font-weight: bold; color: #CCC; }
#images { margin: 5px 0px 10px;  }
#albums { clear: both; margin: 5px 0px 10px; padding: 0px; }
.pagenav { margin: 5px 0px 5px; font-size: 8pt; font-weight: bold; color: #CCC; clear: both; }
.disabledlink { color: #ddd; cursor: default; }
.albumtitle H3 { margin: 0px; padding: 0px; }
.albumthumb  { border: 0px; float: left; margin-right: 10px; }
.imagethumb IMG { border: 0px; float: left; margin: 0px; padding: 0px; }
.image IMG { border: 0px; margin: 0px; padding: 0px;  }
.image { border: 0px; margin: 0px; padding: 0px;  }

.error { color: #C33; font-weight: bold; }




	

