/* CLASSES GENERALS: */

/* missatges d'avís a la pàgina principal */
#page #content #missatgeavis {
	float: right; 
	padding: 8px; 
	background-color: #FFFF66;
	width: 350px;
}

/* missatges d'error o de ok */
.missat_err {
	padding: 4px;
	font-weight: bold;
	color: #AD0029;
	background-color: #EEE;
	cursor: default;
}
.missat_ok {
	padding: 4px;
	font-weight: bold;
	color: #749417;
	background-color: #EEE;
	cursor: default;
}

/* petita explicació al costat dels camps dels formularis */
.comentari {
	font-size: 0.8em;
	color: #666;
	background-color: #F3FBE4;
	border: 1px solid #F0F0F0;
	padding: 2px 6px;
}
.llegenda {
	font-size: 0.8em;
	color: #666;
}
	.llegenda ul {
		margin-top: 4px;
	}

/* files alternes dins taules */
.even { background-color: #f9f9f9; }
.odd  { background-color: #f0f0f0; }

/* colors diversos */
.estat0, .estat1, .estat2 {
	color: #86b535;
	font-weight: bold;
}
.estat9 {
	color: #ee5d23;
	font-weight: bold;
}

/* control·ladors per l'arbre del crèdit */
#treecontrol1, #treecontrol2 {
	border-top: 1px dashed #808080;
	border-bottom: 1px dashed #808080;
	padding: 8px 0;
}
#treecontrol3 {	
	border-bottom: 1px dashed #808080;
	padding: 0 0 8px 0;
}
	#treecontrol1 a, #treecontrol2 a, #treecontrol3 a {
		font-size: 11px;
		font-weight: bold;
		color: #397cb4;
		text-decoration: none;
	}
	#treecontrol1 img, #treecontrol2, #treecontrol3 img {
		vertical-align: middle;
	}
	
/* links per editar, afegir */
a.bt_pdf, 
a.bt_in, 
a.bt_ed {
	font-size: 11px;
	font-weight: bold;
	color: #397cb4;
	text-decoration: none;
	background-image: url("../comu/ico_config.gif");
	background-repeat: no-repeat;
	background-position: center left;
	padding: 1px 0 1px 14px;
}
a.bt_in {
	background-image: url("../comu/ico_mes.gif");
}
a.bt_pdf {
	background-image: url("../img/boto_pdf.gif");
	padding: 1px 0 1px 18px;
}


/* LLISTATS */

#ajaxform .llistat th, 
#page #content .llistat th {
	color: #999;
}

#ajaxform .llistat th, 
#ajaxform .llistat td,
#page #content .llistat th, 
#page #content .llistat td {
	padding: 2px 4px;
	text-align: left;
	vertical-align: top;
}

#ajaxform .espaiat th, 
#ajaxform .espaiat td,
#page #content .espaiat th, 
#page #content .espaiat td {
	padding: 8px 4px;
	text-align: left;
	vertical-align: top;
}
#ajaxform .llistat th.dreta, 
#ajaxform .llistat td.dreta,
#page #content .llistat th.dreta, 
#page #content .llistat td.dreta {
	text-align: right;
}
#ajaxform .llistat th.centre, 
#ajaxform .llistat td.centre,
#page #content .llistat th.centre, 
#page #content .llistat td.centre {
	text-align: center;
}

#ajaxform .llistat .totals td,
#page #content .llistat .totals td {
	border-top: 4px solid #CCCCCC;
	padding-top: 8px;
	font-weight: bold;
}

#ajaxform .llistat .destacat td,
#page #content .llistat .destacat td {
	font-size: 1.2em;
}

/* tr final amb la confirmació d'eliminacions */
#page #content .llistat tr.perelim td {
	padding-top: 12px;
}
	#page #content .llistat tr.perelim td #check_elim {
		margin-top: 6px;
	}
	#page #content .llistat tr.perelim td label {
		display: inline;
	}
	#page #content .llistat tr.perelim td input.send {
		margin: 0;
		padding: 2px 8px;
	}

/* tr per resaltar jugadors no inscrits */
#page #content .llistat tr.noinscrit td {
	background-color: #F1C6D0;
}


/* dins frmTria (filtres d'un llistat) */
#page #content #frmTria label {
	display: inline;
}
#page #content #frmTria input.send {
	margin: 0;
	padding: 0 8px;
}
#page #content #frmTria select {
	width: auto;
}

/* **** PAGINACIONS **** */
#page #content .paginacio {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: normal;
	color: #666;
	clear: both;
	padding-top: 12px;
}
	#page #content .paginacio ul {
		float: right;
		padding: 8px 0;
	}
		#page #content .paginacio ul li {
			display: inline;
			margin: 0 0 0 4px;
			padding: 0;
			text-align: center;
			background: none;
		}
			#page #content .paginacio ul li.nolink,
			#page #content .paginacio ul li.actual,
			#page #content .paginacio ul li a {
				padding: 4px 8px;
				border: 1px solid #F5E0A2;
			}
			#page #content .paginacio ul li.marcat,
			#page #content .paginacio ul li.actual {
				font-weight: bold;
			}
			#page #content .paginacio ul li.nolink {
				color: #ccc;
			}
#page #content .paginacio a:link,
#page #content .paginacio a:visited {
	text-decoration: none;
	color: #CA9901;
	background-color: #FAF0D2;
}
#page #content .paginacio a:hover {
	background-color: #f0f0f0;
	background-image: none;
}

/* quadres desplegables */
option { color: #397cb4;  padding-left: 2px; }
optgroup { color: #666; }
optgroup option { padding-left: 8px; }


/* pantalles ajax */

		/* capçaleres */
		#ajaxform h2 {
			margin-bottom: .2em;
			border-bottom: 1px dotted #999;
			padding-bottom: .2em;
			color: #666;
			font-family: georgia, arial, serif;
			font-size: 2.4em;
			font-weight: normal;
			line-height: 1.1em;
			letter-spacing: -1px;
		}
			#ajaxform h2.noborder {
				border: none;
				padding: 0;
			}
		#ajaxform h3 {
			margin-bottom: .4em;
			border-bottom: 1px dotted #999;
			padding-bottom: .4em;
			font-size: 1.42em;
			font-weight: normal;
			line-height: 1.1em;
			letter-spacing: -1px;
		}

		/* formularis */
			#ajaxform form fieldset {
				padding-bottom: .5em;
				border-bottom: 1px dotted #999;
				margin-bottom: .7em;
			}
				#ajaxform form fieldset legend {
					padding: 0;
					margin: 0;
					color: #333;
					font-size: 1em;
					font-weight: normal;
					margin-bottom: .3em;
				}
					#ajaxform form label {
						display: block;
						padding-bottom: .5em;
					}
					#ajaxform form label.seguit {
						display: inline;
					}
						#ajaxform form label input {
							width: 95%;
							border: 1px solid #cbcbcb;
							padding: 2px;
							background: #fff;
						}
							#ajaxform form label input.checkbox {
								width: auto;
								margin: 0 5px 0 0;
								border: 0;
								background: transparent;
							}
							#ajaxform form label input.small {
								width: 50%;
								border: 1px solid #cfcfcf;
								font-size: .83em;
								background: #f2f2f2;
							}
							#ajaxform form label input.tiny {
								width: 12%;
							}
							#ajaxform form label input.tiny2 {
								width: 24%;
							}
							#ajaxform form label input:focus {
								border: 1px solid #666;
							}
						#ajaxform form label select {
							width: 95%;
							border: 1px solid #cbcbcb;
							padding: 2px;
							background: #fff;
						}
							#ajaxform form label select:focus {
								border: 1px solid #444;
							}
				#ajaxform form div.textarea {
					padding: 0 0 5px 0;
				}
					#ajaxform form div.textarea textarea {
						width: 98%;
						height: 120px;
						border: 1px solid #cbcbcb;
						padding: 4px;
					}
					#ajaxform form div.textarea textarea.tiny {
						height: 60px;
					}
					#ajaxform form div.textarea textarea.big {
						height: 160px;
					}
						#ajaxform form div.textarea textarea:focus {
							border: 1px solid #444;
						}
				#ajaxform form input.send {
					margin: 1em 1em 1em 0;
					border: 1px solid #003c74;
					padding: .3em 1.3em;
					font-weight: bold;
					background: #fff;
				}
					#ajaxform form input.send:hover {
						background: #f0f0f0;
					}


/* SELECCIÓ */
#page #content form.seleccio {
	clear: both;
}
#page #content form.seleccio ul {
	margin-top: 8px;
}
#page #content form.seleccio ul label {
	display: inline;
	padding: 0;
}
#page #content form.seleccio ul li {
	background: none;
}
#page #content form.seleccio a.send {
	margin: 1em 1em 1em 0;
	border: 1px solid #003c74;
	padding: .5em 1.3em;
	font-weight: bold;
	background: #fff;
	color: #333;
}
#page #content form.seleccio a.send:hover {
	background: #f0f0f0;
}
#page #content form.seleccio .jafet {
	color: #999;
	font-style: italic;
}


#page #content a.send {
	margin: 1em 1em 1em 0;
	padding: .5em 1.3em;
	font-weight: bold;
	background:#FAF0D2 none repeat scroll 0 0;
	border:1px solid #F5E0A2;
	color:#CA9901;
}
#page #content a.send:hover {
	background: #f0f0f0;
}


div.llista_thumb {
	clear: both; 
	margin: 4px 0; 
}
div.llista_thumb img {
	float: left; 
	clear: top;
	margin: 4px 4px 0 0; 
	padding: 0;
}
