body {
	line-height: 150%;
	text-align: center;
	font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	color: #2b2201;
	background-color: #131313;
	margin: 0;
	padding: 0;
}

a {
	font-weight: bold;
	color: #c7000f;
	text-decoration: underline;
}

a:hover {
	text-decoration: none;
}

img {
	behavior: url("include/scripts/pngbehavior.htc");
	border: none;
}

table {
	width: 100%;
}

td {
	font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	padding: 0px;
	vertical-align: top;
}

td.border_right {
	border-right-width: 2px;
	border-right-style: solid;
	border-right-color: #c7000f;
}

th {
	font-family: "Lucida Grande", Helvetica, Arial, Verdana, sans-serif;
	font-size: 12px;
	color: #c7000f;
	font-weight: bold;
}

input.text, textarea {
	width: 500px;
}

textarea {
	height: 300px;
}

#header {
	background-image: url("../images/background.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	height: 576px;
	margin-left: auto;
	margin-right: auto;
}

#crest {
	background-image: url(../images/escut.png);
	background-repeat: no-repeat;
	height: 215px;
	width: 165px;
	position: absolute;
	top: 25px;
	margin-left: 35px;
}

#all{
	background-image: url("../images/background_content.jpg");
	background-position: center top;
	background-repeat: repeat-y;
	margin-left: auto;
	margin-right: auto;
	min-width: 1010px;
}

#main_container {
	height: auto;
	/*width: 900px;*/
	width: 1010px;
	margin-left: auto;
	margin-right: auto;
	margin-top: -576px;
}

#menu_bar {
	/*background-image: url("../images/menu_bar.png");*/
	height: 41px;
	width: 992px;
	/*margin-top: 0;
	margin-left: auto;
	margin-right: auto;*/
	margin: 0 8px 0 10px;
}

ul#navigation_bar li a{
	float: left;
	width: 124px;
	height: 0;
	padding-top: 41px;
	overflow: hidden;
	background-image: url(../images/menu_bar.png);
	_background-image: url(../images/menu_bar.gif);
	background-repeat: no-repeat;
}

ul#navigation_bar {
	height: 41px;
	margin: 0px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 0px;
	/*padding-top: 179px;*/
	list-style-type: none;
}

ul#navigation_bar li{
	display: inline;
}

#navigation_bar li#gn-principal a { background-position: 0 0; }
#navigation_bar li#gn-historia a { background-position: -124px 0; }
#navigation_bar li#gn-primer-equipo a { background-position: -248px 0; }
#navigation_bar li#gn-femenino a { background-position: -372px 0; }
#navigation_bar li#gn-futbol-base a { background-position: -496px 0; }
#navigation_bar li#gn-veteranos a { background-position: -620px 0; }
#navigation_bar li#gn-fototeca a { background-position: -744px 0; }
#navigation_bar li#gn-contacta a { background-position: -868px 0; }
 
#navigation_bar li#gn-principal a:hover { background-position: 0 -41px; }
#navigation_bar li#gn-historia a:hover { background-position: -124px -41px; }
#navigation_bar li#gn-primer-equipo a:hover { background-position: -248px -41px; }
#navigation_bar li#gn-femenino a:hover { background-position: -372px -41px; }
#navigation_bar li#gn-futbol-base a:hover { background-position: -496px -41px; }
#navigation_bar li#gn-veteranos a:hover { background-position: -620px -41px; }
#navigation_bar li#gn-fototeca a:hover { background-position: -744px -41px; }
#navigation_bar li#gn-contacta a:hover { background-position: -868px -41px; }
 
#navigation_bar li#gn-principal a:active { background-position: 0 -82px; }
#navigation_bar li#gn-historia a:active { background-position: -124px -82px; }
#navigation_bar li#gn-primer-equipo a:active { background-position: -248px -82px; }
#navigation_bar li#gn-femenino a:active { background-position: -372px -82px; }
#navigation_bar li#gn-futbol-base a:active { background-position: -496px -82px; }
#navigation_bar li#gn-veteranos a:active { background-position: -620px -82px; }
#navigation_bar li#gn-fototeca a:active { background-position: -744px -82px; }
#navigation_bar li#gn-contacta a:active { background-position: -868px -82px; }

#navigation_bar li#gn-principal.selected a { background-position: 0 -123px; }
#navigation_bar li#gn-historia.selected a { background-position: -124px -123px; }
#navigation_bar li#gn-primer-equipo.selected a { background-position: -248px -123px; }
#navigation_bar li#gn-femenino.selected a { background-position: -372px -123px; }
#navigation_bar li#gn-futbol-base.selected a { background-position: -496px -123px; }
#navigation_bar li#gn-veteranos.selected a { background-position: -620px -123px; }
#navigation_bar li#gn-fototeca.selected a { background-position: -744px -123px; }
#navigation_bar li#gn-contacta.selected a { background-position: -868px -123px; }

#content {
	margin-top: 20px;
	width: 961px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	min-height: 250px;
}

#main_container .submenu {
	/*background-color: aqua;*/
	color: #dc3e00;
	margin-left: 10px;
	margin-right: 8px;
	width: 972px;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 10px;
	text-align: left;
	display: none;
}

#main_container .submenu .submenu_title {
	background-image: url(../images/submenu_arrow_left.jpg);
	background-position: left;
	background-repeat: no-repeat;
	height: 30px;
	line-height: 30px;
}

#main_container .submenu .submenu_title .arrow_end {
	background-image: url(../images/submenu_arrow_right.jpg);
	background-repeat: no-repeat;
	height: 30px;
	width: 13px;
	float: right;
}

#main_container .submenu .clear { /* generic container (i.e. div) for floating buttons */
    overflow: hidden;
    width: 100%;
}

#main_container .submenu a.submenu_title {
	background: transparent url('../images/submenu_arrow_right.jpg') no-repeat scroll top right;
	color: #fff;
	display: block;
	float: left;
	font: normal 12px arial, sans-serif;
	height: 30px;
	margin-left: 4px;
	margin-right: 6px;
	padding-right: 13px; /* sliding doors padding */
	text-decoration: none;
	width: auto;
}

#main_container .submenu a.submenu_title span {
	background: transparent url('../images/submenu_arrow_left.jpg') no-repeat;
	display: block;
	line-height: 20px;
	padding: 5px 5px 5px 13px;
}

#main_container .submenu a.submenu_option {
	background: transparent url('../images/submenu_option_border_off.gif') no-repeat scroll top right;
	color: #7b7b7b;
	display: block;
	float: left;
	/*font: normal 12px arial, sans-serif;*/
	height: 30px;
	/*margin-left: 4px;
	margin-right: 6px;*/
	padding-right: 1px; /* sliding doors padding */
	text-decoration: none;
	width: auto;
}

#main_container .submenu a.submenu_option span {
	background: transparent url('../images/submenu_option_background_off.gif') repeat-x;
	display: block;
	line-height: 20px;
	padding: 5px 13px 5px 13px;
}

#main_container .submenu a.submenu_option img {
	float: left;
}

#main_container .submenu a.submenu_option:hover {
	background: transparent url('../images/submenu_option_border_on.gif') no-repeat scroll top right;
	color: #fff;
	display: block;
	float: left;
	/*font: normal 12px arial, sans-serif;*/
	height: 30px;
	/*margin-left: 4px;
	margin-right: 6px;*/
	padding-right: 13px; /* sliding doors padding */
	text-decoration: none;
	width: auto;
}

#main_container .submenu a.submenu_option:hover span {
	background: transparent url('../images/submenu_option_background_on.gif') no-repeat;
	display: block;
	line-height: 20px;
	padding: 5px 1px 5px 13px;
}

#date {
	color: #c7000f;
	text-align: right;
	margin-bottom: 10px;
}

#frame-left {
	float: left;
	width: 199px;
}

#frame-right {
	float: left;
	width: 199px;
}

#frame-center {
	float: left;
	width: 542px;
	margin-left: 10px;
	margin-right: 10px;
}

#frame-center-right {
	float: left;
	width: 741px;
	margin-left: 10px;
	margin-right: 10px;
}

.section-title-background-left {
	background-image: url(../images/titol_left.jpg);
	background-repeat: no-repeat;
	float: left;
	height: 26px;
	width: 199px;
	margin: 0 0 5px 0;
}

.section-title-background-left.margin-top {
	margin-top: 10px;
}

.section-title-text-left {
	text-transform: uppercase;
	color: #fff;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 5px;
}

.section-title-background-right {
	background-image: url(../images/titol_right.jpg);
	background-repeat: no-repeat;
	text-transform: uppercase;
	float: left;
	height: 26px;
	width: 199px;
	margin: 0 0 5px 0;
}

.section-title-text-right {
	text-transform: uppercase;
	color: #fff;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 5px;
	text-align: right;
}

.section-title-background-center, .section-title-background-center-no-picture {
	float: left;
	height: 26px;
	width: 541px;
	margin: 0 0 5px 0;
}

.section-title-background-center {
	background-image: url(../images/titol_mig.jpg);
	background-repeat: no-repeat;
}

.section-title-background-center-no-picture {
	background-image: url(../images/titol_center_left.jpg);
	background-repeat: repeat-x;
}

.section-title-text-center, .section-title-text-center-no-picture {
	text-transform: uppercase;
	color: #fff;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 5px;
}

.section-title-background-center-right {
	background-image: url(../images/titol_center_left.jpg);
	background-repeat: repeat-x;
	float: left;
	height: 26px;
	width: 742px;
	margin: 0 0 5px 0;
}

.section-title-text-center-right {
	text-transform: uppercase;
	color: #fff;
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 5px;
}

/* History */

.history_img {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	border: #fff 5px solid;
	box-shadow: 0px 0px 2px 2px #eee;
	border-radius: 5px;
}

/* Results */

.section, .section-score-table {
	background-color: #f9dcdc;
	float: left;
	width: 179px;
	margin: 0 0 10px 0;
	padding: 5px 10px 5px 10px;
}

#results_layer {
	background-image: url(../images/results_background.jpg);
	background-repeat: no-repeat;
	/* height: 141px; */
	height: 123px;
	width: 199px;
	float: left;
	color: #fff;
	text-transform: uppercase;
}

#results_layer #home_result_row {
	height: 42px;
	width: 100%;
}

#results_layer #home_result_row #home_result_name {
	height: 42px;
	line-height: 42px;
	width: 138px;
	float: left;
	padding-left: 10px;
	font-size: 1.2em;
}

#results_layer #home_result_row #home_result_value {
	height: 42px;
	line-height: 42px;
	width: 51px;
	float: left;
	text-align: center;
	color: #aa2216;
	font-size: 2.0em;
}

#results_layer #away_result_row {
	height: 44px;
	width: 100%;
}

#results_layer #away_result_row #away_result_name {
	height: 44px;
	line-height: 44px;
	width: 138px;
	float: left;
	padding-left: 10px;
	font-size: 1.2em;
}

#results_layer #away_result_row #away_result_value {
	height: 44px;
	line-height: 44px;
	width: 51px;
	float: left;
	text-align: center;
	color: #aa2216;
	font-size: 2.0em;
}

#results_layer #competition_row {
	height: 18px;
	width: 100%;
}

#results_layer #competition_row #category_col {
	height: 18px;
	line-height: 18px;
	float: left;
	padding-left: 5px;
}

#results_layer #competition_row #league_col {
	height: 18px;
	line-height: 18px;
	float: right;
	padding-right: 5px;
	text-align: right;
}

#results_layer #date_time_row {
	height: 19px;
	width: 199px;
}

#results_layer #date_time_row #date_col {
	height: 19px;
	line-height: 19px;
	width: 143px;
	float: left;
	padding-left: 5px;
}

#results_layer #date_time_row #time_col {
	height: 19px;
	line-height: 19px;
	width: 46px;
	float: left;
	padding-right: 5px;
	text-align: right;
}

#results_layer #buttons_row {
	height: 18px;
	width: 100%;
	font-size: 0.8em;
}

#results_layer #buttons_row #previous {
	height: 18px;
	line-height: 18px;
	width: 95px;
	float: left;
	padding-left: 5px;
	cursor: pointer;
}

#results_layer #buttons_row #next {
	height: 18px;
	line-height: 18px;
	width: 94px;
	float: left;
	padding-right: 5px;
	text-align: right;
	cursor: pointer;
}

#last_match_icon {
	background-image: url(../images/last_match_48h.png);
	background-repeat: no-repeat;
	height: 48px;
	width: 55px;
	position: relative;
	left: -15px;
	top: -10px;
	z-index: 10;
	float: left;
}

.section-score-table {
	margin: 0 0 10px 0;
	padding: 0px;
	width: 199px;
}

.section-center {
	float: left;
	width: 541px;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
}

.section-center-right {
	float: left;
	width: 741px;
	margin: 0 0 10px 0;
	padding: 0 0 10px 0;
}

.author {
	font-size: 8pt;
	color: #a7a7a7;
	margin-bottom: 10px;
}

.section-category-header {
	color: #dc3e00;
	font-size: 8pt;
	line-height: 1.5em;
	text-transform: uppercase;
}

.section-header, .section-team {
	color: #122c49;
	font-size: 13pt;
	line-height: 1.2em;
	font-weight:bold;
}

.section-team {
	font-size: 10pt;
	line-height: 1.2em;
}

.section-schedule {
	color: #666;
}

.section-result {
	color: #000;
}

.section-poll-question {
	color: #c7000f;
}

.radio-label {
	margin-left: 5px;
}

#main-new {
	margin-left: auto;
	margin-right: auto;
	height: 406px;
	width: 541px;
	background-repeat: no-repeat;
	background-color: black;
}

#back-opacity {
	background-color: #000;/*#dd0202;*/
	height: 60px;
	width: 541px;
	filter: alpha(opacity=40);
	opacity: .40;
	position: relative;
	z-index: 50;
	top: 326px;
	margin-top: -40px;
}

#main-new-subtitle {
	background-repeat: no-repeat;
	color: #fff;
	height: 40px;
	width: 521px;
	position: relative;
	padding: 10px;
	z-index: 51;
	top: 346px;
	padding: 10px;
}

.photo_description_category {
	font-size: 12pt;
	text-transform: uppercase;
}

.photo_description_date {
	font-size: 12pt;
}

.photo_description_title {
	font-size: 14pt;
	clear: both;
	margin-top: 3px;
}

p.quote {
	text-align: center;
	font-style: italic;
	font-weight: bold;
	font-size: 1.5em;
}

#score-table {
	width: 100%;
	background-color: #f7d1d4;
	margin: 0;
	border-collapse: collapse;
	font-size: 16px;
}

#score-table .odd-row {
	background-color: #e85201;
	background-image:url(../images/odd_row_background.gif);
	border-bottom: solid 1px #813300;
	border-top:solid 1px #fff;
	font-size: 10px;
	color: #fff;
}

#score-table .even-row {
	background-color: #d24a00;
	background-image:url(../images/even_row_background.gif);
	border-bottom: solid 1px #813300;
	font-size: 10px;
	color: #fff;
}

#score-table .local-row {
	color: #000;
	font-weight: bold;
}

#score-table .column-position {
	text-align: right;
	padding-left: 1px;
	color: #ffba00;
	padding: 0;
	font-size: 11px;
	line-height: 23px;
	width: 25px;
}

#score-table .column-team-name {
	text-align: left;
	padding: 0 0 0 5px;
	font-size: 11px;
	line-height: 23px;
}

#score-table .column-points {
	text-align: right;
	padding: 0 10px 0 0;
	color: #ffba00;
	font-weight: bold;
	font-size: 10px;
	line-height: 23px;
	width: 30px;
}

#footer {
	background-image: url("../images/footer.jpg");
	background-position: center top;
	background-repeat: no-repeat;
	height: 154px;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
}

#links_footer {
	width: 900px;
	margin-left: auto;
	margin-right: auto;
	/*padding-top: 25px;*/
	position: relative;
}

.news-separator, .player-position-separator {
	background-color: #666;
	height: 1px;
	width: 100%;
	margin-top: 20px;
	margin-bottom: 20px;
}

.player-position-separator {
	margin-top: 2px;
	margin-bottom: 15px;
}

.foto-player {
	float: left;
	margin-bottom: 10px;
}

.player-data {
	float: left;
	height: 80px;
	width: 100px;
	margin-bottom: 10px;
}

.player-data-name, .player-data-number {
	color: #c7000f;
}

.player-data-name {
	line-height: 15px;
	height: 49px;
	width: 90px;
	padding: 5px 5px 0 5px;
	font-size: 15px;
}

.player-data-number {
	height: 21px;
	width: 90px;
	padding: 5px 5px 0 5px;
	font-size: 30px;
}

.player-data-separator {
	clear: both;
	/*height: 10px;*/
}

#complete-score-table {
	border-collapse: collapse;
	/* border: 1px solid #393939; */
	text-align: center;
	color: #757575;
}

#complete-score-table thead td.full {
	background-image: url(../images/titol_right.jpg);
	background-repeat: repeat-x;
	background-color: #757575;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
}

#complete-score-table thead td {
	border: 0.5px solid #000;
	font-size: 0.7em;
}

#complete-score-table thead td.empty {
	border: 1px solid #fff;
	background-color: #fff;
}

#complete-score-table thead td.empty.bottom {
	border-bottom: 1px solid #eaeaea;
}

#complete-score-table tbody tr:hover {
	background-color: #eaeaea;
}

#complete-score-table td {
	border-color: #eaeaea;
	border-width: 1px;
	border-style: solid;
	font-size: 0.8em;
	padding: 2px;
	width: 22px;
}

#complete-score-table td.column-team-name {
	text-align: left;
	padding-left: 10px;
	width: 140px;
	font-weight: bold;
}

#complete-score-table td.column-position {
	text-align: right;
	width: 21px;
	padding-right: 3px;
	background-color: #f4f4f4;
}

#complete-score-table td.column-points-total {
	color: white;
	font-weight: bold;
	background-color: #bebebe;
}

#complete-score-table td.column-points {
	font-weight: bold;
	background-color: #f4f4f4;
}

#admin_forms {
	text-align: justify;
	margin-left: 50px;
	margin-right: 30px;
	margin-bottom: 10px;
}

form.option_button {
	margin-bottom: 0;
}

#admin_forms .title {
	font-weight: bold;
	font-size: 14px;
	color: #cb680a;
}

p.ok {
	color: green;
}

p.error {
	color: red;
}

#logout {
	position: relative;
	z-index: 100;
	text-align: right;
	top: 10px;
	width: 100%;
}

.centered {
	text-align: center;
}

.small-text {
	font-size: 0.9em;
	font-style: italic;
}

/* Paginació */

#pagination {
	text-align: center;
	height: 25px;
	margin-top: 30px;
	padding: 5px 20px 5px 0;
	color: #2e2d2d;/*#666;*/
	/*background-color: aqua;
	opacity: 0.5;*/
}

#pagination .current {
	border: 1px solid #2e2d2d;/*#666;*/
	padding: 2px 5px 2px 5px;
	/*background-color: #2e2d2d;*//*#666;*/
	background-image: url("../images/bg_paginator_dark.gif");
	background-repeat: repeat-x;
	color: #fff;
	text-decoration: none;
}

#pagination a {
	border: 1px solid #2e2d2d;/*#666;*/
	padding: 2px 5px 2px 5px;
	/*background-color: #fff;*/
	background-image: url("../images/bg_paginator_light.gif");
	background-repeat: repeat-x;
	color: #666;
	text-decoration: none;
}

#pagination a:hover {
	border: 2px solid #2e2d2d;/*#666;*/
	padding: 1px 4px 1px 4px;
}

/* Fi paginaci— */