*{
	vertical-align: top;
}
/* corregge il three pixel bug di exploder */
* html .menubox { margin: 0 2px 2px 0; }

a > img {
	border : 0;
}

.menubox li a, #navbar a, .menubox a,a.moreinfo ,
.pagination td a , #search_result #result tr a{
	color : #456;
	text-decoration : none;
}
.menubox li a:hover, #navbar a:hover , .menubox a:hover,a.moreinfo:hover,
.pagination td a:hover, #search_result #result tr:hover {
	color : #123;
}
h1,h2,h3,h4,h5,h5{
	margin : 0px;
	padding : 0px;
}
body{
	margin : 0;
	padding : 0;
	font-family : verdana, arial, sans-serf;
	background : url('images/bg_wrap.jpg') #FFF repeat-x top left;
	font-size : 12px;
}
#wrap{
	background-color : white;
	margin : 0px auto 0px auto;
	width : 980px;
	vertical-align : top;
	border-left : 1px solid #ECECEC;
	border-right : 1px solid #ECECEC;
	overflow : hidden;
}
#greetings{
	width : 100%;
	height : 20px;
	line-height : 14px;
	font-size : 10px;
	text-align : right;
	color : #6c6454;
	border-bottom : 1px solid #fff2cc;
	margin : 0px;
}
#greetings a ,#footer a, .dati td a,
.torneo td p a, .dati th a {
	color : #800;
	text-decoration : none;
}
#greetings a:hover, #footer a:hover, .dati td a:hover,
.torneo td p a:hover{
	text-decoration : underline;
}
.dati th a:hover{
	text-decoration : none;
}
#top {
	width : 100%;
	text-align : center;
}

#banner{
	padding : 0px;
	margin : 0px;
}
#banner img, #banner a {
	border : 0px;
}

/* navbar son-of-suckerfish */
#navbar{
	display:block;
	width : 100%;
	float:left;
	clear:both;
	height : 24px;
	background : url('images/navbar.jpg') #FC3 repeat-x top left;
}
#navbar, #navbar ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
#navbar a {
	display: block;
	padding : 0px 10px;
	font-weight : bold;
}
#navbar a:hover{}
#navbar li {
	float: left;
}
#navbar li ul {
	position: absolute;
	z-index: 9998;
	left: -999em;
	border : 2px solid #FC3;
}
#navbar li:hover ul {
	left: auto;
	border : 2px solid #FFCC33;
}
/* link di 2ndo livello */
#navbar ul li ul > li {
	clear : both;
	width : 10em;
	background-color : #FFF;
	padding : 2px 0px;
}
#navbar ul li ul > li:hover {
	background-color : #feefc4;
	color : #333;
}
#navbar ul li ul > li a{
	font-weight : normal;
}
#navbar li:hover ul, #navbar li.sfhover ul {
	left: auto;
}
#footer{
	display:block;
	width : 100%;
	clear:both;
	padding-left : 10px;
	padding-top : 5px;
	margin-top : 15px;
	border-top : 1px solid #fff2cc;
	color :#6c6454;
	text-align : center;
	font-size:11px;
}
table#content{
	width : 100%;
	clear : both;
}

table.frontpage{
	width : 100%;
}
.frontpage h1{
	font-size : 20px;
	color : #800;
}
.frontpage h2{
	font-size : 16px;
	color : #123;
}
.frontpage h3{
	font-size : 14px;
	color : #456;
}
.frontpage p{
	font-size : 14px;
	color : #333;
}
a.moreinfo {
	text-decoration : none;
	font-size : 12px;
	font-weight : bold;
	padding : .25em 1em;
	border-bottom : 2px solid #d39902;
	border-right : 1px solid #d39902;
	border-top : 2px solid #ffeebb;
	border-left : 1px solid #ffeebb;
	background:url('images/navbar.jpg') #FC3 repeat-x top left;
}
.event_icon{
	margin : 0px;
	padding : 0px;
}
.event_icon img{
	float : right;
	margin : 0;
	padding : 0;
	padding-left : 5px;
}

.menubox{
	width : 192px;
	display : block;
	margin : 0px; padding : 0px;
	margin-top : 10px;
	padding-right : 2px;
}
div.caption{
	border : 0px;
	padding : 0px;
	background : url('images/menu_caption.png') no-repeat top left;
	color : #800;
	font-weight : bold;
	font-size:13px;
	line-height : 25px;
	padding-left : 10px;
}
.menubox ul{
	width : 100%;
	list-style-type : none;
	margin : 0px; padding : 0px;
	border : 2px solid #FC3;
	border-top : 0px;
}
.menubox li{
	display : block;
	line-height : 25px;
}
.menubox li a{
	display : block;
	margin :0;	padding-left : 10px;
	font-size : 12px;
	font-weight : bold;
}
.menubox li a:hover, #search_result #result tr:hover{
	background-color : #FC3;
	-moz-opacity:0.5;
	opacity:0.5;
	filter : alpha(opacity=50);
}

#comics{
	background : url('images/spider.jpg') transparent no-repeat bottom right;
}
#cards{
	background : url('images/jester.jpg') transparent no-repeat bottom right;
}
#more{
	background : url('images/actarus.jpg') transparent no-repeat bottom right;
}
#events{
	background : url('images/tornei.jpg') transparent no-repeat bottom right;
}

#search , #login{
	background-color : #feefc4;
	border : 2px solid #FC3;
	border-top : 0px;
}
#searchbox label{
	font-size : 10px;
}
#searchbox .ct{
	width : 100px;
}
#searchbox select {
	width : 165px;
	border : 1px solid silver;
	margin-top : 5px;
	font-size : 10px;
}
#searchbox select option{
	font-weight : normal;
}
#search_form{
	margin : 0px;
	padding : 10px 0px 10px 10px;
}
#search_form fieldset{
	margin : 0px;
	padding : 0px;
	border : 0px;
	display : block;
}
#search_form input, #login_form input{
	margin : 0px;
}
/* menu maggiorati */
div#show , div#comics , div#cards , div#more {
	width : 230px;
}

#show table, #comics ul, #cards ul , #more ul{
	border-top : 1px solid #FC3;
}
#show table{
	width : 100%;
	border-left : 2px solid #FC3;
	border-right : 2px solid #FC3;
	border-bottom : 2px solid #FC3;
	background-color : #feefc4;
}
#show table td{
	padding : 4px 2px;
}
/* cooltext */
.ct{
	vertical-align : middle;
	/*text-align : center;*/
	background:url('images/input_bg.jpg') repeat-x top left;
	height : 22px;
	line-height : 22px;
	border : 0px;
	border-left : 2px solid silver;
	padding-left : 5px;
}

/* cool button */
.cb{
	border : 0;
	margin : 0px;
	background : url('images/bg_btn.png') repeat-x top ;
	line-height : 20px;
	height : 25px;
	color : #6c6454;
}
#search_result{
	margin : 0px;
	padding : 10px 0px;
	background-color : #FFF;
}
#search_result #result{
	width : 100%;
	border-collapse : collapse;
}
#search_result #result tr a{
	font-size : 12px;
	font-weight : bold;
}
#search_result #result tr{
	height:25px;
}
#search_result #result td{
	padding-left:10px;
}

#loginbox form{
	padding : 10px 10px;
	margin : 0;
}

#center{
	margin : 0px 0px ;
	padding : 10px 4px ;
	background-color : #feefc4;
	background-color : #FFF;
	font-size : 150%;
}

#center img#topic{
	display : block;
	position : absolute;
	top : 50px ;
	right : 10px;
	border : 2px solid #6c6454;
	border : 2px solid #FC3;
}

#center #data_evento{
	font-size : 12px;
	display : block;
	width : 200px;
	position : absolute ;
	top : 50px;
	left : 10px;
}
#center #titolo_evento{
	margin-top : 10px;
	font-size : 24px;
	font-weight : bold;
	display: block;
	width : 280px;
	color : #800;
}
#center #sottotitolo_evento{
	font-size : 18px;
	display: block;
	width : 280px;
	margin-top : 5px;
	margin-bottom : 15px;
}
#center .dati h3{
	font-size : 16px;
	font-weight : bold;
}
#center .dati li{
	padding : 3px;
}
#center .dati h3, #center .dati p{
	padding : 1px 4px;
}
#center .event_text{
	font-size : 16px;
}

#casella{
	font-size : 12px;
}
#casella table{
	width:100%;
}
#casella form{
	margin : 0px;
	padding : 0px;
}
/*-------tabella dati------------- */
table.dati{
	width : 100%;
	empty-cells : show;
}
.dati {
	/*border-top: 1px solid #aea696;*/
	border-left: 1px solid #aea696;
	border-collapse : collapse;
	empty-cells : show;
	margin : 0px;
	padding : 0px;
}
.dati td.caption,
.dati caption{
	color : #800;
	background:url('images/navbar.jpg') #FC3 repeat-x top left;
	height : 24px;
	line-height : 24px;
	font-size : 14px;
	font-weight : bold;
	border : 1px solid #aea696;
	text-align: center;
}
.dati td.caption{
	height : 20px;
	line-height : 20px;
}
.dati td, .dati th {
	font-family: Verdana;
	font-size: 11px;
	padding :2px;
	border-bottom: 1px solid #aea696;
	border-right: 1px solid #aea696;
	margin : 0px;
}
.dati td a{}
.dati td a:hover{
	text-decoration : underline;
}
.dati th {
	background-color: #f3f1ed;
	vertical-align : text-bottom;
	white-space : nowrap;
}
.dati th a{
	color : #6c6454;
}
.dati th a:hover{
	color : #800;
}
.dati tr{
	background-color: #FFF;
	vertical-align : middle;
}
/*  toolbar sopra il caption */
td#toolbar{
	text-align : center;
	background: white;
	border : 1px solid #aea696;
/*	border-left : 1px solid #aea696;*/
}
td#toolbar img{
	padding : 2px 0;
	line-height: 12px;
	vertical-align: text-bottom;
}
/* ----- paginazione x tabella dati ---- */
.pagination{
	padding : 0;
	margin : 0;
}
table.pagination{
	width : 100%;
	empty-cells : show;
	border-collapse : collapse ;
}
.pagination td{
	text-align : center;
	color : #CCC;
	border : none;
	background-color : #FFF;
}
.pagination td a{
	text-decoration : none;
}
.pagination td a:hover{}

/* classe per i messaggi di errore */
.alert{
	display: block;
	padding: 10px 10px 10px 50px;
	margin: 15px 0;
}
.alert{
	color: #c00;
	border-top: 3px solid #fe7b7a;
	border-bottom: 3px solid #fe7b7a;
	background: #ffcccc url(../img/status-alert.png) 10px 50% no-repeat;
}

/* class x tornei */
#todo{
	color:#800000;
}
/* torneo */
table.torneo{
	width : 100%;
}
.torneo td{
	border : 0;
	color : #333;
	background-color: #FFF;
	text-align : center;
	vertical-align:top ;
	padding : 5px;
}
.torneo blockquote{
	font-size : 12px;
	border : 1px solid #FC3;
	padding : 1em;
	text-align : left;
}
.torneo h1{
	font-size : 16px;
	color : #800;
	margin : .5em 0px;
}
.torneo h2{
	font-size : 14px;
	color : #333;
}
.torneo h2{
	font-size : 12px;
	color : #333;
}

/* datasheet */
/* dati in forma tabellare*/
.datasheet{
	border-collapse : collapse;
	empty-cells : show;
	font-size : 80%;
	border : 1px solid #3f3fB2;
	margin-bottom : 10px;
	float : left;
}
.datasheet thead {
	height : auto !important;
}
.datasheet td{
	padding : .15em;
	border-bottom : 1px solid silver;
	border-left : 1px solid silver;
}
.datasheet th{
	background : url('../img/bg_topbar.png') #009 repeat-x bottom left;
	color : #CCC;
	border-top : 1px solid #5C5CBD;
	border-bottom : 1px solid #3F3F9C;
	padding : .25em;
}
.datasheet th a{
	color : #FFF;
}

/* classi speciali per mazzi cards */
tr.deck_name td{
	font-size : 120%;
	font-weight: bold;
	border : 0;
	border-bottom : 2px solid #3F3F9C;
	padding : 4px 0;
}
tr.deck_total td{
	font-size : 120%;
	font-weight: bold;
	border : 0;
	border-top : 2px solid #3F3F9C;
	padding : 4px 0;
}