body
{
	text-align: left;
	margin: 2em;
    font-family: Verdana; 
    color: #333333; 
    font-size : 75%;
	width : 920px;
}

div, table, tr, td
{
    font-size : 100%;
	text-align : left;
	margin : auto;
	vertical-align : top;
}

table
{
    border-collapse: collapse;
}

hr
{
    height : 1px;
    margin : 1em 0 1em 0;
}

hr.footer
{
    margin-bottom : 3em;
}

a:visited
{
    color: #0000FF;
}

a.normal_link
{
    color: #0000FF;
}

a.menu_link, a.menu_link:visited
{
    color: #DADADA;
    font-weight : bold;
    text-decoration : none;
}

a.menu_link:hover
{
    color : #faa
}

a.non_decorated_link, a.non_decorated_link:visited
{
    color : #000000;
    text-decoration : none;
}

a.white_link, a.white_link:visited
{
    color : #FFFFFF;
    text-decoration : none;
}

a.underlined_link, a.underlined_link:visited
{
    color : #000000;
    text-decoration : underline;
}

table
{
    border : 0;
}

img
{
    border : 0;
}

img#logo
{
    width : 420px;
    height : 61px;
}

td#header_stats {
    width : 200px;
    text-align : right;
    font-family: Arial;
    font-size: 90%; 
}

select.season
{
    font-family : Arial;
    font-size : 90%;
    position : relative;
    top : 3px;
}

div#main_menu table
{
    text-align : center;
    margin : 0.75em auto auto auto;
    background-color : #666666;
    border-color : #666666;
    border-width : 4px;
    border-style : solid;
    color : #f55;
    font-weight : bold;
    font-size : 100%;
}

div#main_menu td
{
    text-align : center;
}

div#main_menu td
{
    border-left : 1px solid #FFFFFF;
    padding : 0 3px 0 3px;
}

div.sub_menu td
{
    border-left : 1px solid #000000;
    padding : 0 3px 0 3px;
}

div.sub_menu table
{
	margin-left : 0px;
}

div.sub_menu table.left_align_sub_menu
{
    text-align : left;
    margin-left : 0;
}

td.first_menu_item
{
    border-left : 0 !important;
}

div#content_title
{
    font-size: 125%; 
    font-weight: bold; 
    color: #004080;
    margin-bottom: 0.5em;
    margin-top : 1em;
    text-align : left;
    width : 100%;
}

div.content_title
{
    font-size: 110%; 
    font-weight: bold; 
    margin-bottom: 1em;
    margin-top : 1.5em;
    text-align : left;
}

div#content_summary
{
	font-size: 130%;
	font-weight: 500;
    width : 100%;
}

div#switch_season_hint
{
    width : 100%;
    font-size : 95%;
    position : relative;
    top : -6px;
}

div#content_detail
{
    width : 100%;
}

div#banner
{
    width : 95%;
    margin-top : 1em;
    color : red;
}
div.notice_title
{
    font-size: 135%; 
    font-weight: bold; 
    color: #ee0000;
    margin-top : 0.5em;
    margin-bottom : 1em;
}

div#footer
{
    text-align : center;
    font-size: 75%; 
    font-weight: bold;
    color: #999999;
    margin-top : 1em;
    margin-bottom : 3em;
}

div#hit_counter, div#hit_counter a img
{
    text-align : center;
    line-height : 1.5em;
    vertical-align : middle;
}

.highlight
{
	background-color:#FFFF88;
}

div#rules_heading
{
    margin-top : 1em;
    font-size : 120%;
    font-weight : bold;
}

div#contact_details
{
    margin-top : 2em;
}

tr.contacts_row
{
    line-height : 2em;
}

td.contacts_logo
{
    padding-right : 10px;
}

div.morespace
{
    margin-top : 1em;
    margin-bottom : 1em;
}

td.leaguetables_club { min-width : 46%; width : 46%; }
td.leaguetables_played { min-width : 9%; width : 9%; }
td.leaguetables_won { min-width : 9%; width : 9%; }
td.leaguetables_lost { min-width : 9%; width : 9%; }
td.leaguetables_for { min-width : 9%; width : 9%; }
td.leaguetables_against { min-width : 9%; width : 9%; }
td.leaguetables_points { min-width : 9%; width : 9%; }

table.leaguetable
{
    margin-top : 2em;
    border : solid 1px black;
    width : 60%;
}

table.leaguetablenotes
{
    margin-top : 0.5em;
    margin-bottom : 0.5em;
    width : 60%;
}

table.detailedleaguetablenotes
{
    width: 130%;
    margin-top : 1em;
}

table.leaguetablenotes td, table.detailedleaguetablenotes td, div.footnote
{
    font-size: 75%;
    font-weight: bold;
}

table.leaguetable tr.division_name
{
    background: #004080; 
    color: white;
    font-weight: bold;
    line-height : 1.5em;
}

table.leaguetable tr.division_name td.more_table_detail
{
    text-align : right;
    padding-right : 0.5em;
}

table.leaguetable tr.division_name td.more_table_detail a
{
    color: white;
    text-decoration : none;
}

table.detailedleaguetable tr.division_name td
{
    text-align : center;
    font-weight: bold;
    line-height : 1.5em;
    border-left : 4px solid gray;
    border-right : 4px solid gray;
    border-bottom : 1px solid gray;
    border-top : 1px solid gray;
    background: #f0f0f0;
}

table.detailedleaguetable tr.detailed_table_cells
{
    line-height : 1.8em;
}

table.detailedleaguetable tr.division_name td.invisible
{
    border : 0 ! important;
    background: #ffffff !important;
}

table.leaguetable tr.division_headings
{
    font-weight: bold; 
    background: #e1e1e1; 
    color: #333333;
}

table.detailedleaguetable tr.detailed_table_headings td
{
    text-align : center;
    border-bottom : 1px solid gray;
    margin : 0 auto 0 auto;
}

table.detailedleaguetable tr.detailed_table_cells td
{ 
    text-align : center;
    border-top : 1px solid gray;
    border-bottom : 1px solid gray;
}

table.detailedleaguetable tr.detailed_table_headings td.played { border-left : 4px solid gray; }
table.detailedleaguetable tr.detailed_table_headings td.matches_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_headings td.matches_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_headings td.rubbers_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_headings td.rubbers_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_headings td.games_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_headings td.games_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_headings td.aces_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_headings td.aces_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_headings td.points { border-left : 2px solid gray; border-right : 4px solid gray; }

table.detailedleaguetable tr.detailed_table_cells td.name { border-left : 1px solid gray; font-weight : bold; padding : 0 0.5em 0 0.5em; text-align : right; }
table.detailedleaguetable tr.detailed_table_cells td.played { border-left : 4px solid gray; }
table.detailedleaguetable tr.detailed_table_cells td.matches_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_cells td.matches_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_cells td.rubbers_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_cells td.rubbers_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_cells td.games_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_cells td.games_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_cells td.aces_won { border-left : 2px solid gray; }
table.detailedleaguetable tr.detailed_table_cells td.aces_lost { border-left : 1px dotted gray; }
table.detailedleaguetable tr.detailed_table_cells td.points { border-left : 2px solid gray; border-right : 4px solid gray;}

div#bestpairs div.bestpairs_division_name
{
    color: #333333;
    margin-top : 2em;
    padding-left: 2px;
    padding-bottom: 0.5em;
    font-size : 120%;
    font-weight : bold;
}

div#bestpairs tr.bestpairs_headings
{
    background: #004080;
    color: white;
    vertical-align : top;
    font-weight : bold;
}

#noResultsToShow
{
	font-weight: bold;
	margin-top: 1em;
	text-align: center;
}

div#filter
{
    width : 100%;
    padding : 0.5em;
    padding-bottom : 0.25em;
    background-color : #f0f0f0;
    border : #d0d0d0 solid 1px;
    margin-top : 1em;
    margin-bottom : 1.5em;
}

form#filter_form
{
    margin-top : 0em;
    margin-bottom : 0em;
}

div#filter_title td
{
    font-size : 85%;
    font-weight : bold;
}

table#filter_form_table td
{
    vertical-align : middle;
    padding-bottom : 0.5em;
}

div#results tr.results_headings, div#fixtures tr.fixtures_headings, div#playerstats tr.playerstats_headings_1, div#playerstats tr.playerstats_headings_2
{
    background: #004080; 
    color: white;
    font-weight: bold;
}

div#playerstats td.group_right
{
    border-right : 1px solid white;
}
div#playerstats td.group_left
{
    border-left : 1px solid white;
}
div#playerstats td.group
{
    border-right : 1px solid white;
    border-left : 1px solid white;
}

div#playerstats
{
    position : relative;
}
div#playerstats tr.playerstats_headings_1 td
{
    text-align : center;
}

table#player_stats_table td
{
    font-size : 90%;
}

table#player_stats_table tr.playerstats td
{
    border-right : 1px dotted #333333;
}

table#player_stats_table tr.playerstats td.first_col
{
    border-left : 1px dotted #333333;
}

table#player_stats_table tr td.playerstats_male_name_row { background-color : #D0D0FF; }
table#player_stats_table tr td.playerstats_female_name_row { background-color : #FFD0D0; }
table#player_stats_table tr td.playerstats_team_row { background-color : #FFDDBB; }
table#player_stats_table tr td.matches_won { background-color : #FFC0C0; }
table#player_stats_table tr td.matches_lost { background-color : #FFCACA; }
table#player_stats_table tr td.matches_percent { background-color : #FFD4D4; }
table#player_stats_table tr td.matches_diff { background-color : #FFE0E0; }
table#player_stats_table tr td.rubbers_won { background-color : #C0FFC0; }
table#player_stats_table tr td.rubbers_lost { background-color : #CAFFCA; }
table#player_stats_table tr td.rubbers_percent { background-color : #D4FFD4; }
table#player_stats_table tr td.rubbers_diff { background-color : #E0FFE0; }
table#player_stats_table tr td.games_won { background-color : #C0C0FF; }
table#player_stats_table tr td.games_lost { background-color : #CACAFF; }
table#player_stats_table tr td.games_percent { background-color : #D4D4FF; }
table#player_stats_table tr td.games_diff { background-color : #E0E0FF; }
table#player_stats_table tr td.aces_won { background-color : #AAAAAA; }
table#player_stats_table tr td.aces_lost { background-color : #BBBBBB; }
table#player_stats_table tr td.aces_percent { background-color : #CCCCCC; }
table#player_stats_table tr td.aces_diff { background-color : #DDDDDD; }

div#results tr.monthrow, div#fixtures tr.monthrow  
{
    background: #FFFFBF; 
    font-weight: bold;
    margin-bottom : 1em;
}

div#results td.monthrow, div#fixtures td.monthrow  
{
    padding : 3px 0 3px 3px;
    border-bottom : dashed 1px #333333;
}

div#results td.month_block, div#fixtures td.month_block
{
    border-bottom : 1em solid white;
}

table.fixtures_table tr.moved, table.fixtures_table tr.moved td
{
    color : #999999;
}

table.fixtures_table tr.old_fixture, table.fixtures_table tr.old_fixture td
{
    color : #999999;
}

table.fixtures_table tr.cancelled
{
}

.hidden
{
    display : none;
}

.block
{
    display : block;
}

.inline
{
    display : inline;
}

td.win
{
    font-weight: bold;
}

td.lose
{
    color: #999999;
}

td.draw
{
}

tr.oddrow, tr.evenrow
{
    line-height : 16px;
}

tr.oddrow
{
    background: #f0f0f0;
}

tr.evenrow 
{
    background: #ffffff;
}

td.results_plusminus { min-width : 5% ; width : 5%; text-align : right; }
td.results_day { min-width : 15% ; width : 15%; padding-left : 6px; }
td.results_date { min-width : 12% ; width : 12%; }
td.results_hometeam { min-width : 24% ; width : 24%; text-align : right; }
td.results_homerubbers { min-width : 4% ; width : 4%; text-align : right; }
td.results_dash { min-width : 2% ; width : 2%; text-align : center; }
td.results_awayrubbers { min-width : 4% ; width : 4%; text-align : left; }
td.results_awayteam { min-width : 24% ; width : 24%; }
td.results_division { min-width : 10% ; width : 10%; }

div.results_header_note
{
    color : #222277;
    font-size : 90%;
    padding-bottom : 0.5em;
}


table.fixtures_table, table#results_table, table.bestpairs_table, table#player_stats_table
{
    width : 100%;
}

table td.details_name
{
    font-weight : bold;
    padding-right : 1em;
}

table.fixtures_detail_closed, table.results_detail_closed
{
    display : none;
}

table.fixtures_detail_open, table.results_detail_open
{
    line-height : 1.5em;
    display : block;
    border: dotted 1px #333333;
    margin: 0.5em 2em 1em 2em;
    background : #E6F6FF;
}

table.fixtures_detail_open
{
    width : 90%;
}

table.fixtures_detail_open td, table.results_detail_open td
{
    padding : 1px 3px 1px 3px;
}

table.results_key_info tr.results_conceded
{
    font-size : 115%;
    font-weight : bold;
    color : Red;
    background : yellow;
    margin-top : 1em;
}

table.results_detail
{
    font-size : 80%;
    margin : 1em 0 0.5em 0;
}

table.results_detail td
{
    padding-left : 1em;
    padding-right : 1em;
    line-height : 85%;
}

tr.results_detail_first_row td
{
    padding-bottom : 0.5em;
}

tr.secondPlayerInPair td
{
    border-bottom : 1px solid gray;
}

tr.border_bottom td
{
    border-bottom : 1px solid black;
}

td.border_right
{
    border-right : 1px solid black;
}

td.result_letter
{
    text-align : center;
}

td.result_sixes_last_col
{
    border-bottom : 0 !important;
}

td.results_detail_first_col
{
    border-left : 0px !important;
    padding-right : 1em;
    text-align : right;
}

div.venue_info_logo
{
    display : inline;
    position : relative;
    top : 2px;
}

td.fixtures_close_details, td.results_close_details
{
    margin-top : 0.5em;
    display : inline;
    font-size : 85%;
}

td.results_full_details
{
    margin : 0 auto 0 auto;
    text-align : center;
    font-size : 90%;
}

tr.no_border td
{
    border : 0;
}

td.fixtures_plusminus { min-width : 5% ; width : 5%; text-align : right; }
td.fixtures_day { min-width : 15% ; width : 15%; padding-left : 6px; }
td.fixtures_date { min-width : 13% ; width : 13%; }
td.fixtures_hometeam { min-width : 25% ; width : 25%; text-align : right; }
td.fixtures_padding { min-width : 2% ; width : 2%; text-align : center; }
td.fixtures_vs { min-width : 1% ; width : 1%; }
td.fixtures_padding { min-width : 2% ; width : 2%; text-align : center; }
td.fixtures_awayteam { min-width : 25% ; width : 25%; }
td.fixtures_division { min-width : 13% ; width : 13%; }


td.bestpairs_player1 { min-width : 25%; width : 25%; }
td.bestpairs_player2 { min-width : 25%; width : 25%; }
td.bestpairs_club { min-width : 25%; width : 25%; }
td.bestpairs_played { min-width : 10%; width : 10%; text-align : center; }
td.bestpairs_won { min-width : 7%; width : 7%; text-align : center; }
td.bestpairs_percent { min-width : 8%; width : 8%; text-align : center; }

table.club_details, table#venue_details
{
    margin-top : 2em;
    width : 95%;
}

table#summary_table
{
    margin-top : 2em;
    width : 100%;
}

td.venue_details_name, td.club_details_name, td.venue_details_value, td.club_details_value, tr.club_heading td, tr.venue_heading td
{
    vertical-align : top;
	border : 1px solid white;
	padding : 0.5em;
}

tr.heading td, tr.club_heading td, tr.venue_heading td
{
    font-weight: bold; 
    background: #6699CC;
    color: white;
}

tr.heading td
{
	padding : 0.5em;
}

table#summary_table tr.heading td
{
    font-weight: bold; 
    background: #6699CC;
    color: white;
    vertical-align : top;
	border : 1px solid white;
}

table#summary_table td
{
	border : 1px solid white;
	padding : 0.5em;
}

table#summary_table td.name
{
    background: #e1e1e1;
	font-weight: bold;
	text-align :right;
	padding-right : 1em;
	width : 20%;
	line-height : 150%;
}

table#summary_table td.value
{
	background: #f0f0f0;
	border-right : 0 !important;
	padding-left : 1em;
	width : 80%;
	line-height : 150%;
}

td.venue_details_name, td.club_details_name
{
    background: #e1e1e1;
	font-weight: bold;
	text-align :right;
	width : 35%
}

td.venue_details_value, td.club_details_value
{
	background: #f0f0f0;
	border-right : 0 !important;
	width : 55%;
}

td.club_details_icons
{
	border-top : 1px solid white;
	border-right : 1px solid white;
	border-bottom : 1px solid white;
	background: #f0f0f0;
	width : 10%;
	padding-top : 0.5em;
}

div.conceded_marker
{
	font-size: 70%;
	font-weight:bolder;
	display: inline;
	color: #990000;
	vertical-align: middle;
}

table.tournament
{
	width : 125%;
}

table.tournament td
{
	border : 0px;
}

table td.tournament_menu
{
        text-align : right;
	font-size : 95%;
        font-weight : bold;
        width : 10em;
	border-right : 1px solid gray;
}

td.tournament_no_result
{
	background-color : gray;
}

table.tournament_results td
{
	border : 1px solid gray;
	font-size : 130%;
}

table.tournament_table td
{
	border : 1px solid gray;
	font-size : 90%;
}

table tr.tournament_headings td, table td.tournament_headings
{
	font-weight : bold;
	font-size : 90%;
}

table.tournament_results, table.tournament_table
{
	margin-left : 0.5em;
	margin-bottom : 2em;
}

table.tournament_table tr td.tournament_table_team_name
{
	width : 13em;
	min-width : 13em;
}

div.tournament_headings
{
	font-size : 130%;
	font-weight : bold;
	text-align : left;
	align : center;
	margin-bottom : 0.3em;
}

div.all_notices
{
    font-weight : bold;
    text-align : center;
}

span.selected_sort_key
{
    color : red;
}

table.admin_table_container
{
	margin-left : 0px;
}

table.admin_table
{
	margin-left : 0px;
}

table.admin_table, table.admin_table td, table.admin_table th
{
	border : 1px solid black;
}

table.admin_table td
{
	padding-left : 3px;
	padding-right : 3px;
}

table.admin_table th
{
	padding : 5px;
}

table.admin_table tr.admin_greyed td
{
	background-color : #BBBBBB;
}

table.admin_table tr.add_new td
{
	background-color : #4444FF;
	padding : 5px;
}

table.admin_table tr.add_new a
{
	color : yellow;
	font-weight : bold;
	text-decoration : none;
}

div.sub_menu table td
{
	padding-left : 10px;
	padding-right : 10px;
}

form#admin table
{
	margin : 0px;
	padding : 0px;
}

div.player_selection_hint
{
	margin-left:10px;
	margin-top: 80px;
	font-style:italic;
	border: 1px solid gray;
	background-color: lightyellow;
	padding: 4px;
}

div.submission_error_page
{
	color:red;
	font-size:120%;
	font-weight: 550;
	border: 2px solid gray;
	background-color: #E6E6E6;
	margin: 2em;
	padding: 10px;
}

tr.completed_fixture td
{
	background-color: #E5E5E5;
}

div.results_hint
{
	margin-left:20px;
	margin-top: 20px;
	font-style:italic;
	border: 1px solid gray;
	background-color: lightyellow;
	padding: 4px;
}


div#user_details
{
	margin-left: 60px;
	border: 1px solid gray;
	padding: 4px;
	background-color: lightyellow;
	text-align: right;
}

span.admin_notice
{
	font-style:italic;
	color: #400;
	border: 2px solid #0a0;
	background-color: #cfc;
	margin-left: 3em;
	padding: 3px;
}

p.admin_notice
{
	margin-top: 20px;
}