body {
	/*background-color: #414141;*/
	margin: 0 0 0 0;
	text-align: center;
	font-family: Arial;
	background-color: #610029;
	font-size: 12px;
}

body.popup {
	margin: 0 0 0 0;
}

form {
	 margin: 0 0 0 0;
	 padding: 0 0 0 0;
}

#mainPage {
	display: block;
	margin: 0 auto;
	margin-bottom: 30px;
	width: 780px;
	position: relative;
	text-align: left;
	background-color: #780033; /*#286F99*/
	line-height: 18px;
}
	
#mainPage.popup {
	width: 100%;
}

	a, a:active, a:visited, a:link {
		text-decoration: none;
		color: #FBE20C;
	}
	
	a:hover {
		color: #FFF;
	}
	
	a.button, a.button:active, a.button:visited, a.button:link {
		height: 21px;
		padding-left: 3px;
		padding-right: 3px;
		
		
		background-image: url(../img/bgButton.png);
		background-position: 0 0;
		_background-position: 0 1;
		border: 1px solid #610029;
		/* font-size: 11px; */
		height: 18px;
		overflow: hidden;
		padding: 2 4 2 4;
		margin: 0 0 0 0;
		text-align: left;
		text-decoration: none;
		color: #FBE20C;
	}
	
	a.button:hover {
		background-image: url(../img/bgButtonOver.png);
		background-position: 0 0;
		_background-position: 0 1;
		color: #fff;
		border: 1px solid #610029;
	}
	
	#header {
		/*position: absolute;*/
		width: 780px;
		_width: 780px;
		height: 120px;
		background-color: #1F5576;
		display: block;
	}
	
	#menu {
		position: absolute;
		top: 120px;
		left: 0px;
		width: 150px;
		background-color: #9D3A57;
		_padding-top: 10px;
	}
		
		#menu ul {
			list-style-type: none;
			list-style-position: outside;
			padding-left: 30px;
			margin-left: 0px;
		}
		
			#menu ul li a.selected {
				text-decoration: underline;
			}
	
	#content {
		position: relative;
		margin: 18px 170px 30px 170px;
		min-height: 200px;
		color: #fff;
		text-align: justify;
	}
		
		#content #minHeight {
			float: right;
			height: 300px;
			width: 1px;
			background-color: #000;
			display: block;
			visibility: hidden;
		}
		
		#content ul {
			list-style-type: none;
			list-style-position: outside;
			padding-left: 15;
		}
		
			#content ul li {
				
			}
			
				#content .frmLabel {
					clear: left;
					float: left;
					width: 150px;
					_width: 120px;
					text-align: left;
					padding-top: 2px;
					padding-left: 30px;
				}
				
				#content .frmInput {
					float: left;
					width: 250px;
					text-align: left;
				}
				
				#content .frmInput input {
					width: 90%;
				}
				
				.w100 {
					width: 100% !important;
				}
				
				.inpCheck {
					width: 20px !important;
				}
				
				.button {
					width: auto !important;
				}
				
				.errMsg {
					color: #000;
				}
		
		.bg1 {
			background-color: #913551;
		}
		
		.bg2 {
			background-color: #9D3A57;
		}
		
		div.pagTit {
			margin-top: -10px;
			padding-bottom: 2px;
			margin-bottom: 10px;
			font-size: 18px;
			font-weight: bold;
			color: #FBE20C;
		}
		
		/* HISTORIA */
		
		div.historia {
			margin-bottom: 10px;
		}
		
			div.historiaTitle {
				font-weight: bold;
				margin-bottom: 3px;
				border-bottom: 1px solid #9D3A57;
				font-size: 13px;
				color: #fff;
			}
			
			div.historiaFotos {
				display: block;
				float: right;
				width: 150px;
				background-color: #174159;
				margin-left: 7px;
				margin-bottom: 5px;
				margin-top: 2px;
				border: 1px solid #FBE20C;
				
			}
			
			div.historiaData {
				font-weight: bold;
				font-size: 11px;
			}
			
			div.historiaTexte{
				_height:100px;
				min-height: 100px;
			}
		
		/* FI HISTORIA */
		
		/* TAULES */
		
		tr {
			font-size:11px;
			text-align: left;
		}
		
		tr.header {
			background-color: #610029;
			height: 18px;
			padding-left: 2px;
			color: #fff;
		}
			
			tr.resaltar {
				font-weight: bold;
				background-color: #3F001C !important;
				color: #fff;
			}
		
		/* FI TAULES*/
		
		/* DIRECTIVA */
		
		#directivaActual {
			width: 290px;
			float: left;
			background-color: #9D3A57;
		}
		
			.fitxaDirectiva {
				border: 1px solid #fff;
				/*min-height: 107px;
				_height: 107px;*/
			}
			
			.fitxaDirectivaHist {
				border: 1px solid #fff;
				/*min-height: 107px;
				_height: 107px;*/
			}
			
			.fitxaDirectiva .fotoDirectiva {
				float: left;
				width: 100px;
				margin-right: 5px;
				min-height: 107px;
				_height: 107px;
			}
			
			.fitxaDirectivaHist .fotoDirectiva {
				width: 128px;
				min-height: 64px;
				_height: 64px;
			}
			
			.fitxaDirectiva .carrecDirectiva {
				font-weight: bold;
				color: #000020;
				padding: 1px 3px 0px 0px;
				margin-left: 105px;
			}
			
			.fitxaDirectiva .nomDirectiva {
				font-weight: bold;
				padding: 0px 3px 0px 0px;
				margin-left: 105px;
			}
			
			.fitxaDirectivaHist .nomDirectiva {
				font-weight: bold;
				padding: 2px 3px 1px 0px;
				text-align: center;
			}
			
			.fitxaDirectiva .descDirectiva {
				padding: 0px 3px 5px 0px;
				margin-left: 105px;
			}
			
			.fitxaDirectiva .DirectivaMargLittle
			{
				margin-left: 5px !important;
			}
			
			.fitxaDirectiva .finFloat {
				clear:left;
			}
			
			.paginacioDirectiva {
				text-align: center;
				margin: 5px 0px 5px 0px;
			}
		
		#directivaHistoric {
			width: 140px;
			float:right;
			background-color: #9D3A57;
		}
		
		.contentWithMargin {
			margin: 5px 5px 5px 5px;
		}
		
			.contentWithMargin p {
				margin: 0 0 0 0;
			}
			
			.contentWithMargin p.title {
				margin: 0 0 5px 0;
				font-weight: bold;
				text-align: center;
			}
		
		/* FI DIRECTIVA */
		
		/* FORUM */
		
		div.categoriaTit {
			background-color: #610029;
			height: 18px;
			padding-left: 2px;
			color: #fff;
			_width: 98%;
		}
		
		div.categoria {
			padding-left: 2px;
			padding-top: 5px;
			padding-bottom: 5px;
			border-bottom: 1px solid #610029;
			_height: 1px;
			_width: 98%;
		}
			
			div.catName {
				float: left;
				width: 287px;
				_width: 280px;
				font-weight: bold;
			}
			div.catLecturas {
				float: left;
				width: 70px;
				text-align: center;
			}
			div.catCreacio {
				float: left;
				width: 80px;
				text-align: center;
			}
			div.catDescripcion {
				width: 288px;
				font-size: 11px;
			}
		
		div.missatge {
			border-bottom: 1px solid #610029;
			_height: 1px;
		}
		
		div.missatgeTit {
			height: 18px;
			margin-bottom: 5px;
			margin-top: 10px;
			font-weight: bold;
			border-bottom: 1px solid #000;
			background-color: #610029;
		}
		
			div.msgIco {
				float: left;
				width: 22px;
				height:20px;
			}
			div.msgTit {
				float: left;
				width: 140px;
				text-align: left;
			}
			div.msgRespostes {
				float: left;
				width: 72px;
				text-align:center;
			}
			div.msgAutor {
				float: left;
				width: 130px;
			}
			div.msgLectures {
				float: left;
				width: 70px;
				text-align:center;
			}
		
		#forumMissatge {
		
		}
		
			#forumMissatge #msgTitle {
				border-bottom: 1px solid #fff;
				padding-bottom: 5px;
				margin-bottom: 7px;
			}
			
			#forumMissatge #msgAuthor {
				font-size: 11px;
			}
			
			#forumMissatge #msgDate {
				font-size: 11px;
			}
			
			#forumMissatge #msgMessageTit {
				margin-top: 10px;
				font-weight: bold;
			}
			
			#forumMissatge #msgMessage {
				border: 1px solid #1F5576;
				padding: 3px 3px 3px 3px;
				background-color: #fff;
				color: #1F5576;
			}
			
			#forumMissatge #msgRespTit {
				margin-top: 10px;
				font-weight:bold;
			}
			
			#forumMissatge #msgResp {
				margin-top: 10px;
			}
			
		
		#forumMissatgeForm {
		
		}
			
			#forumMissatgeForm #forumIcon {
				margin-right: 5px;
			}
			
			#forumMissatgeForm div.forumMessageTitle {
				font-weight: bold;
				margin-bottom: 8px;
				padding-bottom: 5px;
				border-bottom: 1px solid #000;
			}
			
			#forumMissatgeForm div.forumLab {
				padding-top: 1px;
				float: left;
				width: 90px;
			}
			
			#forumMissatgeForm div.forumInp {
				float: left;
				width: 349px;
				margin-bottom: 3px;
				_height: 20px;
			}
			
			
			
			#forumMissatgeForm div input, #forumMissatgeForm div textarea, #forumMissatgeForm div select {
				font-size: 11px;
				border: 1px solid #555;
				width: 100%;
			}
			
			#forumMissatgeForm div input, #forumMissatgeForm div textarea, #forumMissatgeForm div select {
				_width: 341px !important;
			}
			
		
		/* FI FORUM */
		
		/* FITXA JUGADOR */
		
		#fitxaJugador {
			padding: 20px 20px 20px 20px;
			color: #fff;
			font-size: 13px;
		}
		
		#fotoJugador {
			float: right;
			margin-left: 10px;
		}
		
			#fotoJugador img {
				border: 1px solid #fff;
			}
		
		#nomJugador {
			font-size: 16px;
			font-weight: bold;
			color: #FBE20C;
			margin-bottom: 3px;
		}
		
		#equipJugador {
			color: #fff;
			font-weight: bold;
			padding-bottom: 10px;
			border-bottom: 1px solid #fff;
			margin-bottom: 10px;
		}
		
		#edatJugador {
			
		}
		
		#procedenciaJugador {
		
		}
		
		#dadesJugador {
			padding: 5px 5px 5px 5px;
			border: 1px solid #fff;
			height: 94px;
			overflow: auto
		}
		
		/* FI FITXA JUGADOR*/
		
	#rMenu {
		position: absolute;
		background-color: #9D3A57;
		width: 150px;
		right: 0px;
		top: 120px;
		_height: 1px;
		display: block;
		color: #fff;
	}
	
		#loggin {
			margin: 10px 5px 10px 5px;
		}
			
			#loggin div.logLab {
				float: left;
				width: 50px;
			}
			
			#loggin div.logInp {
				float: left;
				width: 90px;
				_width: 85px;
				/*background-color:#FF0000;*/
			}
			
			#loggin div.logout{
				margin-top: 5px;
				/*border-top: 1px dashed #fff;*/
				padding-top: 5px;
				padding-bottom: 5px;
				float: left;
				width: 140px;
				text-align: center;
			}
			
			#loggin div.logSend {
				margin-top: 3px;
				padding-top: 5px;
				float: left;
				text-align: right;
				width: 140px;
			}
			
			#loggin div.logRememberPass {
				/*border-top: 1px dashed #fff;*/
				float: left;
			}
			
			#loggin div.logRegister {
				margin-top: 5px;
				/*border-top: 1px dashed #fff;*/
				padding-top: 5px;
				margin-bottom: 5px;
				float: left;
				width: 140px;
				text-align: center;
			}
			
			#loggin div.logError {
				float: left;
				width: 140px;
				font-weight: bold;
				border-top: 1px dashed #fff;
				border-bottom: 1px dashed #fff;
				padding-top: 5px;
				padding-bottom: 5px;
				margin-bottom: 5px;
				background-color: #174159;
				color: #fff;
				text-align: center;
			}
			
			#loggin input {
				font-size: 11px;
				border: 1px solid #555;
				width: 90px;
				_width: 77px;
			}
		
		#rMenu #bannerRight {
			margin: 5px 5px 5px 5px;
		}
	
	#bannerInf {
		float: left;
		text-align: center;
		margin-bottom: 5px;
	}
		#testBanner {
			float: left;
			width: 382px;
			height: 70px;
			display: block;
			background-color: #fff;
			margin-left: 5px;
		}
	
	#footer {
		margin-top: 0px;
		_margin-top: 5px;
		padding-top: 5px;
		border-top: 1px solid #fff;
		border-bottom: 1px solid #fff;
		position: relative;
		padding-bottom: 5px;
		background-color: #610029;
	}
	
		#footer #copy {
			width: 780px;
			text-align: center;
		}
		
			#footer #copy a {
				font-size: 11px;
			}
			
	
	/* POPUP */
	
	#popupImg {
		width: 550px;
		height: 520px;
		background-color: #780033;
	}
	
	#popupPaginacio {
		width: 550px;
		height: 30px;
		border-top: 1px solid #fff;
		background-color: #9D3A57;
		text-align:center;
	}
	
		#popupPaginacio #popupBotons {
			text-align:center;
			width: 300px;
			margin: 5px auto;
		}
	
	
	
	
	/* FI POPUP */

img.noBorder {
	border: 0px;
} 

input, textarea {
	width: 100%;
	border: 0px;
}

.fLeft {
	float: left;
}

.fRight {
	float: right;
}

.noBug {
	width: 1px;
	height: 1px;
	overflow: hidden;
	display: block;
}

.aLeft {
	text-align: left;
}

.aRight {
	text-align: right !important;
}