/* These styles are just for the test template. Make some better ones. And yes, I know it's messy ;-) */
BODY { 
	background:#CC99CC url("../img/links/bg_body.gif") top left;
	font-family: Arial, Helvetica, sans-serif; font-size: 8pt; text-align: center; }
#main { width: 400px; margin: 0px auto; text-align: left; }
.albumthumb IMG { border: 0px; float: left; margin-right: 10px; }
.imagethumb IMG, .image IMG { border: 0px; margin: 0px; padding: 0px; }
.image { margin: 1px; padding: 0px; float: left; }
HR { clear: both; height: 0px; border: 0px; border-top: 1px solid #ccc; margin-top: 0px; padding: 0px; }
#gallerytitle H2 { font-size: 11pt; }
.imgnav { margin-bottom: 4px; font-size: 8pt; font-weight: bold; color: #CCC; }
#images { margin: 5px 0px 10px; clear: both; }
#albums { clear: both; margin: 5px 0px 10px; padding: 0px; }
.pagenav { margin: 5px 0px 5px; font-size: 8pt; font-weight: bold; color: #CCC; clear: both; }
.pagenav A:link, .pagenav A:visited { color: #333; text-decoration: none; }
.disabledlink { color: #ddd; cursor: default; }
#gallerytitle SPAN { font-weight: normal; color: #CCC; text-decoration: none; }
#gallerytitle A:link, #gallerytitle A:visited { text-decoration: underline; color: #999; }
.albumtitle H3 { margin: 0px; padding: 0px; }

A:link, A:visited {
	text-decoration: none;
	color: #000;
}
A:hover, A:active, 
#gallerytitle A:hover, #gallerytitle A:active, 
.pagenav A:hover, .pagenav A:active  {
	text-decoration: underline;
	color: #cc99cc;
	background-color: transparent;
}

UL.pagelist {
  padding: 0px;
  margin: 5px 0px 5px;
  list-style-type: none;
  height: 2em;
}
UL.pagelist LI { display: inline; font-weight: bold; }
UL.pagelist LI A, UL.pagelist LI span.disabledlink {
  display: block;
  float: left;
  padding: 2px 4px;
  background-color: #FFF6EC;
  text-decoration: none;
  color: #555;
}
UL.pagelist LI span.disabledlink { background-color: #fff; color: #ddd; cursor: default; }
UL.pagelist LI A:hover { background-color: #cc99cc; color: black; }
UL.pagelist LI.current A { background-color: #B063B0; color: #FFF; cursor: default; }

.commentcount { font-weight: normal; font-size: 11pt; margin-top: 10px; }

#comments {
  border: 1px solid #f0f0f0;
  padding: 15px 20px;
  margin: 15px 0px;
  width: 350px;
  display: block;
}
.comment {
  margin: 15px 0px;
  padding: 10px 10px;
  border: 1px solid #f0f0f0;
  background-color: #f8f8f8;
}
.commentmeta { color: #999; }
.commentauthor { font-weight: bold; }
.commentbody { margin: 5px 0px; line-height: 1.3em; }
.imgcommentform INPUT { margin-top: 4px; border: 1px solid #eee; background-color: #f8f8f8; }
.imgcommentform TEXTAREA { margin-top: 4px; font-family: Arial, helvetica, verdana, sans-serif; font-size: 10pt; border: 1px solid #eee;}
.error { color: #C33; font-weight: bold; }

/*** HTML Tags ***/
input,select {
	font:12px Arial,Sans-serif;
}
h1,h2,h3,h4,h5,h6,h7,
form {
	margin:0px;
	padding:0px;
}
/*** End of HTML Tags ***/


/*** Various Class ***/
.clear {
	clear:both;
}
.button {
	background:#999999;
	color:#FFFFFF;
	border-width:1px;
	border-color:#FFFFFF #663366 #663366 #FFFFFF;
	cursor:pointer;
	padding:0px 3px;
}
.inputbox {
	padding:2px 3px;
	color:#00659F;
}
.inputbox:focus {
	background:#EFEFEF;
}
textarea.inputbox {
	width:415px;
}
#sidebar .inputbox {
	width:100px;
}

.link {
	margin: 1px;
	padding: 2px;
	border: 1px #999999 solid;
	}
/*** End of Various Class ***/





/*** Layout ***/
#container {
	position:relative;
	margin:30px auto;
	width:720px;
	background:transparent url("../img/links/bg_container.gif") no-repeat top left;
	text-align:left;
	z-index:1;
}


/* Header */
#header {
	width:700px;
	height:380px;
	background:transparent url("../img/poesie/bg_header.jpg") no-repeat top left;
	position:relative;
	top:10px;
	left:10px;	
}
#header_title {
	position:absolute;
	bottom:71px;
	left:0px;
	height:71px;
	width:475px;
	background:transparent url("../img/poesie/bg_header_title.jpg") no-repeat top left;
}
#header_title h1 {
	color:#0F4766;
	font:25px Georgia, Verdana,Sans-serif;
	position:relative;
	top:8px;
	left:15px;
}
#header_title h1 a {
	color:#0F4766;
	text-decoration:none;
}
#header_title h1 a:hover {
	color:#FFFFFF;
	background: inherit;
}
#header_title h3 {
	color:#0F4766;
	position:relative;
	font:11px Arial,Verdana,Sans-serif;
	top:5px;
	left:15px;
	letter-spacing:1px;
}
#header_menu {
	background:#FFFFFF;
	width:154px;
	position:relative;
	float:right;
	right:50px;
}
#bg_header_menu {
	background:transparent url("../img/links/bg_header_menu.gif") no-repeat bottom left;
	width:154px;
	height:17px;
	position:absolute;
	bottom:-16px;
	left:0px;
}
#header_menu ul {
	margin:0px;
	padding:0px;
	width:140px;
	position:relative;
	left:7px;
	top:5px;
}
#header_menu ul li {
	list-style:none;
	font:11px/25px Arial,Verdana,Sans-serif;
	display:block;
	background:transparent url("../img/links/bg_dots.gif") repeat-x bottom left;
}
#header_menu li a {
	text-decoration:none;
	color:#0066CC;
	background:transparent url("../img/links/bg_list.gif") no-repeat 0px 2px;
	padding-left:15px;
}
#header_menu li a:hover {
	color:#999999;
	background:transparent url("../img/links/bg_list_over.gif") no-repeat 0px 2px;
}
#header_author {
	background:transparent url("../img/poesie/bg_header_author.jpg") no-repeat top left;
	width:671px;
	height:90px;
	position:absolute;
	bottom:0px;
	right:0px;
}
#header_author img {
	border:4px solid #FFFFFF;
	position:relative;
	left:30px;
	top:15px;
	float:left;
	width:53px;
}
#header_author p {
	position:relative;
	margin:0px;
	padding:0px;
	color:#FFFFFF;
	left:40px;
	top:20px;
	float:left;
	width:400px;
	line-height:15px;
}
/******* End of header *********/



#content {
	position:relative;
	background:#FFFFFF;
	width:663px;
	left:57px;
	top:22px;
	padding-bottom:0px;
}

#leftcol {
	position:relative;
	float:left;
	width:430px;
	height: auto;
	background: #fff;
	left:15px;
}

#spacer {  /* era sidebar, ora è spacer */
	width:188px;
	float:right;
	position:relative;
	right:10px;
	top:-12px;
	background:#fff;
}
#footer {
	position:relative;
	background: transparent url("../img/links/bg_footer.gif") no-repeat center;
	width:663px;
	height:77px;
	top:-17px !important;
	top:-8px;
	left:57px;
}
#footer p {
	position:relative;
	left:10px;
	top:10px;
	text-align:center;
	width:442px;
	line-height:17px;
	font:11px Arial,Verdana,Sans-serif;
	background:transparent url("../img/links/bg_dots.gif") repeat-x top left;
	padding-top:10px;
	color:#336699;
}
#footer p a{
	background:transparent url("../img/links/bg_dots.gif") repeat-x bottom left;
	color:#336699;
	text-decoration:none;
}
#footer p a:hover{
	color:#666666;
}



#form {
	margin-top:30px;
	padding-bottom:30px;
	position:relative;
	z-index:5;
}
#form label{
	float:left;
	width:80px;
	font-size:11px;
	position:relative;
	top:4px;
}
#form small {
	position:relative;
	top:4px;
}
#form input {
	float:left;
	margin-bottom:5px;
}
#form p {
	clear:both;
}