/* general */
body {
	margin: 0;
	text-align: center;
}

#wrap{
	position:relative;
	width:1000px; 
	margin-left: auto; 
	margin-right: auto; 
	text-align: left;
}

#bgrnd {
	width: 1000;
	background: transparent url(bg2.gif) repeat-y; /*bg2 occupa 40pixel laterali*/
	float: left;
}

/* header div */
#header {
	width: 920px;
	margin: 0px 35px 0px 35px;
	background-color: rgb(183,17,18);
	text-align: center;
}

/* bodyheader table */
#bhtable {
	table-layout: fixed;
	width: 100%;
	background-color: rgb(183,17,18);
	border: none;
}

#bhtable td{
	height: 100px;
}


/* menu table div, other settings in DropDownMenuX.js, class ddmx*/
#menu {
	width: 926px;
	margin: 0px 35px 0px 35px;
	/*height: 32px;*/
	height: 32px;
	background-color: rgb(183, 17, 18);
}

/* classe per gli elementi del menu *
#menu ul{
	width: 100%;
	margin: 0px 0px 0px 0px;
	text-align: left;
	padding: 7px 0px 0px 0px;
	list-style: none;
}

#menu ul li{
	margin: 0;
	float: left;
	position: relative;
	/*list-style-type: none;
	list-style-image: none;
	list-style-position: outside;
	display: inline;*
}

#menu ul li a{
	padding: 3px 0.5em;
	text-decoration: none;
	color: #FFFFFF;
}

#menu ul li a:hover{
	color: #FFAAAA;
}

#menu ul li ul{
	background-color:  rgb(183, 17, 18);
	border: 1px solid black;
	display: none;
	position: absolute;
	width: 10em;
	top: 20px;
	left: 0;
}

#menu ul li ul li{
	margin-bottom: 0.7ex;
}*/

/* to fix IE & opera positioning...[http://www.alistapart.com/articles/dropdowns]*/
#menu li > ul {
	top: auto;
	left: auto;
}

/*#menu ul li:hover ul{ display: block; }*/

#menu ul li.over ul{ display: block; }

/* div content, generale */
#content {
	width: 920px;
	margin: 0px 0px 0px 40px;
	border: none;
	text-align: center;
	font-family: verdana, sans-serif;
	font-size: 12px;
}

/* tabella padre nella homepage */
#hometable{
	table-layout: fixed;
	width: 920px;
	/*border: 1px solid black;*/
	border-collapse: collapse; 
	border: none;
	margin: 1px 1px 1px 1px;
	padding: 0 0 0 0;
}

#hometable td{
	vertical-align: top;
	/*border: 1px dotted yellow;*/
}

#lefttd{
	width: 174px;
}

#newstd{
	width: 396px;
}

#newsnewstd{
	width: 722px;
}

#righttd{
	width: 322px;
	margin: 0 0 0 0;
}

/* applicato solo nella homepage alla tabella a sinsitra con le recent news */
.newsrecenthomepage{
	width: 174px;
	margin: 0 0 0 1px;
	/*border: 2px solid rgb(183, 17, 18);
	border: outset;*/
	border: 2px solid #000000;
	text-align: left;
	background-color: #FFFFFF;
	font-size: x-small;
	font-family: verdana, sans-serif;
}

td.newsrecenthomepage{
	border: none;
}

/* tabella centrale (include.php) visualizzata in homepage e in newspage */
.newsincludehomepage{
	margin: 0;
	width: 100%;
	border: 2px solid #000000;
	border-collapse: collapse; 
}

td.newsincludehomepage{
	border: none;
	text-align: justify;
	background-color: #FFFFFF;
	font-family: verdana, sans-serif;	
}

/* classe news default per tutte le tabelle di news(include,all,recent,topread e view.php) */
.newstable{
	margin: 3px 3px 3px 3px;
	width: 914px;
	border: 2px solid #000000;
	border-collapse: collapse; 
	font-family: verdana, sans-serif;
	font-size: 12px;
}

td.newstable{
	border: none;
	text-align: justify;
	background-color: #FFFFFF;
}

.newscaption{
	color: white;
	background-color: rgb(183, 17, 18);
	text-align: left;
	font-size: 12px;
	font-family: verdana, sans-serif;
	border: 0;
}

.newscaption a{
	color: white;
}

.newscaption a:hover{
	color: #FFAAAA;
}

/* applicato a td */
.newsbody{
	text-align: justify;
	font-size: small;
	font-family: verdana, sans-serif;
	border: none;
	padding: 0px 5px 30px 5px;
}

.newsbottom{
	background-color: rgb(183, 17, 18);
	color: white;
	text-align: left;
	font-size: x-small;
	font-family: verdana, sans-serif;
}

.newsbottom a{
	color: white;
}

.newsbottom a:hover{
	color: #FFAAAA;
}

/* box commenti */
.comment_caption {
	font-size: 13px;
	margin: 5px;
}

.comment {
	border: 0;
	/*border: 1px solid black;*/
	margin: 5px;
	padding: 5px;
	background: rgb(255,230,230);
}

.comment_data{
	float: right;
	margin-top: 0px;
	font-size: x-small;
}

.comment_aut{
	margin-top: 0px;
}

.comment_ins {
	border: 0;
	font-size: 12px;
}

.commentini{
	float: right;
	margin-top: 0;
	font-size: 10px;
}
/* tabella (cella di homepage) a destra */
#righttable{
	width: 320px;
	padding: 0 0 0 0;
	border: 2px solid #000000;
	/*border-collapse: collapse; */
}

#righttable img{
	border: none;
	text-align: center;
}

/* lista elenco allenamenti */
.practice_list{
	list-style-type: none;
	text-align: center;
}

/* lista elenco risultati (in gara e in allenamento) */
.result_list{
	list-style-type: none;
	text-align: center;
}

.result_list h3{
	height: 0cm;
}

/* tabella con form per query atleti */
.querytable{
	margin: 5px auto 5px auto;
	width: 90%;
	font-size: 11px;
	border: 1px solid black;
	/*border: 0;*/
	text-align: left;
}

.querytable td{
	/*border: 1px solid black;*/
	border: 0;
	vertical-align: top;
}

.querytable td.rightalign,
.querytable td.rightalign input,
.querytable td.rightalign select {
	text-align: right;
}

.querytable p{
	margin: 0px;
}

.querytable p.nontesserato {
	background-color: grey;
	color: #cccccc;
}

.querytable p.tesserato {
}

.queryopt{
	list-style-type: none;
	text-align: left;
}
.queryopt li{
	margin-left: 2em;
}

#editatleta {
	display: none;
}

#addnewatleta {
	display: none;
}

#addnewresult {
	display: none;
}

#editresult {
	display: none;
}
	

/* tabella risultati query */
.display_table {
	margin: 5px auto 5px auto;
	width: 80%;
	border: 1px solid black;
}

.display_table td.rightalign{
	text-align: right;
}

.displayrow_caption{
	background: rgb(183, 17, 18);
	color: #ffffff;
	font-size: 11px;
	font-weight: bold;
	padding: 2px 5px;
}

.displayrow0 td{
	color: #000000;
	font-size: 11px;
	padding: 2px 5px;
	background: #ffffff;
}

.displayrow1 td{
	color: #000000;
	font-size: 11px;
	padding: 2px 5px;
	background: rgb(255,230,230);
}

.intermezzo td{
	padding: 0;
}

/* lista elenco slideshow */
.sslist {
	list-style-type: none;
	text-align: center;
}

.sslist li{
	margin: 10px;
}

/* tabella slideshow */
#sspics{
	width: 80%;
	text-align: center;
	margin-top: 0px;
	margin-left: auto;
	margin-right: auto;
}

#sspics td{
	height: 170px;
	width: 170px;
	text-align: center;
	vertical-align: middle;
}

#sspics td img{
	border: 1px solid #000000;
	/*width: 160px;
	height: 120px;*/
}

#ssvideos{
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

#ssvideos td{
	border: 1px solid #000000;
	height: 30px;
	width: 170px;
	text-align: center;
	vertical-align: middle;
}

/* div footer */
#footer{
 	width: 926px;
	margin: 100px 35px 0px 35px;
	height: 20px;
	background-color: rgb(183, 17, 18);
	color: white;
	text-align: center;
} 	


/* legacy style TO BE REMOVED*/
  
  h1 {font-size: 1.2cm;
    font-family: times,sans-serif;
    font-weight: normal;
  }

  h2 { font-size: 0.6cm;
    font-family: times,sans-serif;
    font-weight: normal;
  }
  
  h3 { font-size: 0.5cm;
      font-family: times,sans-serif;
      font-weight: normal;
  }
  

