body{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:12px;
color:#000;
margin:0;
padding:0;
background: #cbd9f7 url(../img/bg_dx.gif) no-repeat right bottom;
}

h2{
color: #9cf;
font-size:13px;
font-weight:bold;
text-transform:uppercase;
text-align:center;
}

img{
border:none;
}

a:link,a:visited{
color:#000;
}

a:hover, a:focus, a:active{
color: #9cf;
}


#contenitore {
background: url(../img/header.jpg) repeat-x top left;
width:100%;
margin: 0;
padding:0;
}

#bg{
position:absolute;
width:150px;
height:250px;
top:450px;
left:0;
background:  url(../img/bg_sx.gif)  no-repeat;
}

#nav{
float:right;
height:32px;
margin: 150px 20px 0 0;
display:inline;
padding:0;
}

#nav li{
text-align:center;
list-style: none;
float:left;
width:90px;
height:35px;
background: url(../img/btn_menu2.jpg) top left no-repeat;
margin: 0;
padding: 0;
}

#nav li a:link, #nav li a:visited, #active{
color:#000;
border:none;
font-weight:bold;
line-height:35px;
margin:0;
padding:0;
}

#nav li a:hover,#nav li a:focus, #nav li a:active{
color: #F9F;
}

#menu {
margin: 3px 0 0 0;
padding: 0;
height: 65px;
background:#f0f1f2;
text-align:center;
}

#menu ul {
padding:13px 0;
margin: 0 auto;	
width: 950px;
height: 45px;
}

#menu ul li {
list-style: none;
padding: 0;
margin: 0 5px;
display: inline; /* Risolve il bug dei margini raddoppiati in IE */
float: left;
}

#menu ul li a,#menu ul li a:visited {
background-repeat: no-repeat;
background-position: top left;
text-indent: -2000em; /* Phark Image Replacement */
width: 125px;
height: 45px;
float: left;
}

#menu ul li a:hover,#active,#menu ul li a:focus,#menu ul li a:active,#menu ul li.active a {
background-position: bottom left;
}

#home {
	background-image: url(../img/btn_home.jpg);
}

#aboutus {
	background-image: url(../img/btn_aboutus.jpg);
}
#contest {
	background-image: url(../img/btn_contest.jpg);
}

#cosplay {
	background-image: url(../img/btn_cosplay.jpg);
}

#links {
	background-image: url(../img/btn_links.jpg);
}

#report {
	background-image: url(../img/btn_report.jpg);
}

#shots {
	background-image: url(../img/btn_shots.jpg);
}


#submenu, #footer{
background: url(../img/submenu_bg.jpg) repeat-x;
height: 40px;
text-align:center;
margin:0;
padding:0;
}

#submenu ul{
height:40px;
width: auto;
margin: auto;
padding:0;
}

#submenu ul li{
display:inline;
list-style: none;
height: 40px;
margin: 0 5px;
padding:0;
}

#submenu a:link, #submenu a:visited{
color:#000;
font-weight:bold;
line-height: 40px;
background: url(../img/submenu_elenco.jpg) top left no-repeat;
margin: 0;
padding: 6px 0 6px 35px;
}

#submenu a:hover,#submenu a:focus, #submenu a:active{
color: #9cf;
}


#deco_sx{
position:absolute;
left:0;
background:url(../img/deco_sx.jpg);
float:left;
width:150px;
height: 170px;
}

#deco_dx{
position:absolute;
right:0;
background: url(../img/deco_dx.jpg);
width:150px;
height: 170px;
}

#main{
margin: 0 150px;
padding:0;
background-color:#fdfdfd;
border-bottom:1px solid #fdfdfd;
}

#contenuti{
text-align:justify;
min-height: 400px;
height: auto !important;
height: 400px;
margin: 5px;
}

.center{
text-align:center;
}

.box{
width:680px;
background:url(../img/box_centro.jpg) repeat-y;
margin:auto;
}

.box_cont{
margin: 0 20px;
text-align: justify;
}

.box_sotto{
width:680px;
height:30px;
background:url(../img/box_sotto.jpg) no-repeat;
}

#updates{
background:url(../img/box_updates.jpg) no-repeat;
width:680px;
height:80px;
}

#fiere{
background:url(../img/box_fiere.jpg) no-repeat;
width:680px;
height:80px;
}

#footer{
line-height:40px;
}

#room{
position:absolute;
top:0;
left:825px;
width:120px;
height:140px;
}

#room ul {
padding: 0;
margin: 0;	
width: 120px;
height: 100px;
}

#room ul li {
list-style: none;
padding: 0;
margin: 0;
}

#room ul li a,#room ul li a:visited {
background-repeat: no-repeat;
background-position: bottom left;
text-indent: -2000em; /* Phark Image Replacement */
width: 160px;
height: 70px;
display:block;
}

#room ul li a:hover {
background-position: top left;
}

#room ul li a:focus,#room ul li a:active {
background-position: bottom left;
}

#lionheart{
background-image: url(../img/btn_lionheart-room.jpg); 
}

#shadowings{
background-image: url(../img/btn_shadowngs-room.jpg); 
}

.gallery {
clear:both;
text-align:center;
margin: 0 0 0 20px;
padding:0;
}

.gallery ul {
margin: auto;
padding:0;
list-style: none;
}

.gallery li {
float: left;
list-style: none;
margin: 0 10px 20px 0;
padding:0;
}

.gallery ul li img{
border: 1px solid #F9F;
}

.clr{
clear:both;
}

h1, hr, .nascosto, .invisibile{
position: absolute;
top: -2000em;
left: -2000em;
text-indent:-2000em;
}


/* GUESTBOOK */

#gb-toolbar p,#gb-msgtotal span,.gb-footer-msg dl dd.pntemail,.gb-footer-msg dl dd.pntsito {
display: none;
}
form {
padding: 0;
margin: 0 0 22px 0;
}

label {
padding: 0;
margin: 0 3px 0 0;
cursor: pointer;
}

input.text,select,textarea {
font-size: 11px;
font-family: Arial,Helvetica,Verdana,Sans-serif;
color: #000;
background-color: #fff;
padding: 1px;
border: 1px solid #999;
margin: 0 14px 0 3px;
}

#gb-box-form form textarea {
width: 400px; /* Deve essere in pixel a causa di un bug di IE 6 che allarga la textarea se viene digitato un carattere al suo interno */
}

.clrboth {
clear: both;
}

p.success {
font-size: 13px;
font-weight: bold;
color: #080;
padding: 0;
margin: 12px 0;
}

p.errore {
font-size: 13px;
font-weight: bold;
color: #f00;
padding: 0;
margin: 12px 0;
}

/* Pagine di inserimento e modifica dei messaggi */

#gb-titlebar {
text-align: right;
background-color: #aaa;
height: 1%; /* Necessario per IE */
padding: 1px 0 0 220px;
border-bottom: 1px solid #666;
margin-bottom: 22px;
position: relative;
}

#gb-titlebar h2 {
font-size: 22px;
color: #fff;
line-height: 42px;
padding: 10px 12px 10px 0;
margin: 0;
}

#gb-box-form {
margin-bottom: 22px;
}

#gb-box-form p#obbligatori {
font-weight: bold;
text-align: right;
padding: 2px 9px 2px 12px;
margin: 0;
}

#gb-box-form form p {
padding: 2px 0 2px 12px;
margin: 0;
}

#gb-box-form form {
padding: 0;
margin: 9px 0 0 0;
}

p#pulsanti {
text-align: right;
padding: 0 7px 0 0;
margin: 0;
}

#gb-box-form form input.btn {
font-weight: bold;
color: #000;
background-color: #ccc;
border: 1px solid #999;
margin: 0 2px;
cursor: pointer;
}

/* Barra strumenti (solo amministrazione) */

#gb-toolbar {
text-align: left;
background-color: #aaa;
height: 1%; /* Necessario per IE */
padding: 1px 0 0 220px;
position: relative;
}

#gb-logosito {
width: 220px;
height: 62px;
padding: 0;
margin: 0;
position: absolute;
top: 0;
left: 0;
}

#gb-logosito a {
font-size: 1px;
width: 100%;
height: 100%;
display: block;
cursor: pointer;
}

#gb-logosito a span { /* Pixy Cover-Up Span */
background-image: url(../guestbook/images/logosito.jpg);
background-repeat: no-repeat;
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
left: 0;
}

#gb-toolbar ul {
padding: 0;
margin: 0 0 1px 0;
float: right;
}

#gb-toolbar ul li {
list-style: none;
padding: 0;
border-left: 1px solid #666;
margin: 0 1px 0 0;
float: left;
}

#gb-toolbar ul li a,#gb-toolbar ul li a:visited {
text-indent: -2000em; /* Phark Image Replacement */
text-decoration: none;
background-repeat: no-repeat;
background-position: center center;
width: 70px;
height: 60px;
float: left;
}

#gb-toolbar ul li a:hover {
text-decoration: none;
background-color: #666;
background-position: 12px 7px;
}

#eliminatutti {
background-image: url(../guestbook/images/icondelall.gif);
}

#selezionatutti {
background-image: url(../guestbook/images/iconselallon.gif);
}

#stampa {
background-image: url(../guestbook/images/iconprinter.gif);
}

#contactowner {
background-image: url(../guestbook/images/iconcontact.gif);
}

/* Barra opzioni di filtraggio (solo amministrazione) */

#gb-filterbar {
text-align: right;
background-color: #ccc;
height: 1%; /* Necessario per IE */
padding: 8px 40px 8px 0;
border-top: 1px solid #666;
border-bottom: 1px solid #666;
position: relative;
}

#gb-filterbar form {
padding: 0;
margin: 0;
}

#gb-filterbar p {
padding: 0;
margin: 0;
float: right;
}

#aggiorna {
width: 32px;
height: 32px;
padding: 0;
margin: 0;
position: absolute;
top: 2px;
right: 12px;
}

#aggiorna input {
background-color: transparent;
padding: 0;
border: none;
margin: 0;
}

#ordina {
width: 86px;
}

#visualizza {
width: 100px;
}

/* Messaggi totali (solo amministrazione) */

#gb-msgtotal {
font-size: 11px;
font-weight: bold;
line-height: 20px;
text-align: left;
padding-left: 12px;
margin: 4px 0 26px 0;
}

#gb-container {
width: 96%;
margin: 0 auto;
}

/* Box messaggio */

.gb-box-msg {
text-align: left;
border: 1px solid #666;
margin-bottom: 22px;
}

.gb-header-msg {
color: #000;
background-color: #fceef4;
height: 1%; /* Necessario per IE */
border-bottom: 1px solid #666;
}

.gb-id-autore-msg {
font-weight: bold;
line-height: 24px;
text-align: left;
width: 45%;
padding: 0;
margin: 0 0 0 7px;
display: inline; /* Evita i margini raddoppiati sullo stesso lato del float per IE */
float: left;
}

.gb-data-msg {
font-size: 11px;
line-height: 24px;
text-align: right;
width: 45%;
padding: 0;
margin: 0 7px 0 0;
display: inline; /* Evita i margini raddoppiati sullo stesso lato del float per IE */
float: right;
}

p.infouser {
font-size: 11px;
padding: 0 9px 0 4px;
margin: 0;
float: right;
}

.gb-messaggio {
text-align: left;
padding: 4px 9px 0 9px;
margin: 0 0 16px 0;
}

/* Footer messaggio */

.gb-footer-msg {
text-align: left;
background-color: #f0f1f2;
min-height: 22px; /* Hack per min-height in IE */
height: auto !important; /* Hack per min-height in IE */
height: 22px; /* Hack per min-height in IE */
padding-left: 12px;
border-top: 1px solid #666;
}

.gb-footer-msg dl {
line-height: 20px;
padding: 0;
margin: 0 1px 1px 0;
display: inline; /* Evita i margini raddoppiati sullo stesso lato del float per IE */
float: right;
}

.gb-footer-msg dl dt {
font-size: 11px;
font-weight: bold;
list-style: none;
padding: 0;
margin: 1px 4px 0 0;
float: left;
}

.gb-footer-msg dl dd {
font-size: 11px;
list-style: none;
padding: 0;
margin: 1px 0 0 0;
float: left;
}

.gb-footer-msg dl dd a,.gb-footer-msg dl dd a:visited {
font-size: 11px;
color: #333;
text-decoration: none;
background-repeat: no-repeat;
background-position: 3px 50%;
padding: 0 9px 0 23px;
margin-left: 1px;
display: inline; /* Evita i margini raddoppiati sullo stesso lato del float per IE */
float: left;
}

.gb-footer-msg dl dd a:hover,.gb-footer-msg dl dd a:focus,.gb-footer-msg dl dd a:active {
color: #F9F;
text-decoration: none;
background-color: #666;
}

p.modifica {
text-indent: -2000em; /* Phark Image Replacement */
width: 16px;
height: 16px;
padding: 0 7px;
border-right: 1px solid #999;
border-left: 1px solid #999;
margin: 3px 7px 0 0;
display: inline; /* Evita i margini raddoppiati sullo stesso lato del float per IE */
float: right;
}

p.modifica a {
background-image: url(../guestbook/images/iconmodify.gif);
background-repeat: no-repeat;
background-position: center center;
width: 16px;
height: 16px;
float: right;
}

p.seleziona {
font-size: 11px;
font-weight: bold;
color: #000;
line-height: 22px;
padding: 0 7px 0 0;
margin: 0;
float: right;
}

.chk {
background-color: transparent;
padding: 0;
border: none;
margin: 0 5px 0 2px;
}

.gb-footer-msg dl dd.scremail a {
background-image: url(../guestbook/images/iconmail.gif);
}

.gb-footer-msg dl dd.scrsito a {
background-image: url(../guestbook/images/iconwww.gif);
}

/* Page manager */

.gb-pag-mgr {
font-size: 11px;
font-weight: bold;
line-height: 21px;
text-align: right;
padding: 0 12px;
margin: 0;
}

.gb-pag-mgr a,.gb-pag-mgr span {
padding-right: 3px;
border-right: 1px solid #666;
margin: 0 4px;
}

.gb-pag-mgr a.ultimo,.gb-pag-mgr span.ultimo {
border: none;
}

/* Pulsanti e stili di formattazione testo */

#gb-txtformat {
width: 100%;
}

#gb-txtformat ul {
padding: 0;
margin: 0 20px 0 0;
display: inline; /* Evita i margini raddoppiati sullo stesso lato del float per IE */
float: right;
}

#gb-txtformat ul li {
list-style: none;
padding: 0;
margin: 0;
float: left;
}

#gb-txtformat ul li a {
text-indent: -2000em; /* Phark Image Replacement */
background-repeat: no-repeat;
background-position: center center;
width: 30px;
height: 20px;
float: left;
}

#gb-txtformat ul li a:hover {
background-color: #ccc;
background-position: center 3px;
}

a#grassetto {
background-image: url(../guestbook/images/iconbold.gif);
}

a#corsivo {
background-image: url(../guestbook/images/iconitalic.gif);
}

a#sottolineato {
background-image: url(../guestbook/images/iconunderlined.gif);
}

a#barrato {
background-image: url(../guestbook/images/iconstriked.gif);
}
a#img {
background-image: url(../guestbook/images/iconimg.gif);
}

.txtbold {
font-weight: bold;
}

.txtitalic {
font-style: italic;
}

.txtunderln {
text-decoration: underline;
}

.txtstriked {
text-decoration: line-through;
}

/* Lista degli smilies */

#gb-smilies {
line-height: 20px;
}

#smilies ul {
line-height: 18px;
padding: 2px 0 12px 0;
margin: 0 0 0 9px;
}

#smilies ul li {
list-style: none;
padding: 0;
margin: 0;
float: left;
}

.smile {
width: 15px;
margin: 4px;
float: left;
cursor: pointer;
border:none;
}


/* Codice di controllo */

#gb-codice {
height: 1%; /* Necessario per IE */
padding: 7px 0;
border-top: 1px solid #999;
margin: 7px 12px;
}

#gb-codice p {
line-height: 22px;
}

span.digit {
font-size: 16px;
font-weight: bold;
color: #606060;
text-align: center;
background-color: #ef0;
height: 1%; /* Necessario per IE */
padding: 0 2px;
border-top: 1px solid #f00;
border-bottom: 1px solid #f00;
}

img[alt=Smile]{
border:none;
}
