/* andreas00 - an open source xhtml/css website layout by Andreas Viklund  - http://andreasviklund.com . 
Free to use for any purpose as long as the proper credits are given to the original author.
Version: 1.0 (Apr 07, 2006) 

Now updated fairly significantly by George Wych (May 2009) */

/***** Body and main container *****/

body {
margin:0px 0px 1px 0px;
padding: 5px 0px 5px 0px;
font-family: verdana, helvetica, arial, sans-serif;
font-size: 73%;  /* Enables font size scaling in MSIE */
/*background:rgb(135,135,135) url(img/snow4.gif) top center repeat;*/
/*background:rgb(135,135,135) url(img/bgstars.gif) top center repeat;*/
background:rgb(45,85,45);
/*background:rgb(135,135,135) url(img/natfl064.jpg) top center repeat;*/
/*background:rgb(135,135,135) url(img/green047.jpg) top center repeat;*/
}

/*this is the entire wrapper around the page*/
#wrap {

/*background:rgb(210,245,210) ;*/
background:rgb(255,255,255) ;
color:#303030;
margin:0 auto;
padding: 1px 5px;
width:900px;
min-width:600px;
border-right:solid 1px rgb(180,225,180);
border-left:solid 1px rgb(180,225,180);
border-bottom:solid 1px rgb(180,225,180);
}

/***** Header *****/

#header {
color:rgb(50,100,50);
background:rgb(255,255,255) url(img/front_banner.jpg) bottom left  repeat;
height:150px;
margin:0 0 10px 0;
padding:0;
border-bottom:solid 1px rgb(117,175,117);
}

#header a {
text-decoration:none;
}

#header h1 {
font-family: "trebuchet ms", verdana, helvetica, arial, sans-serif;
font-size:300%;
color:rgb(20,100,20);
font-weight:normal;
/*letter-spacing:-2px;*/
margin:  15px   0  0 15px;
padding:    15px 0 0 0;
text-align:left;
}

#header h1 a,#header h1 a:hover {
padding:0;
}

#header p {
font-family: "trebuchet ms", verdana, helvetica, arial, sans-serif;
font-size:130%;
/*letter-spacing:-1px;*/
margin: 0 0 0 15px;
padding:0 0 0 0;
text-align:left;
color: darkmagenta;
}

/***** Left sidebar *****/

#avmenu {
clear:left;
float:left;
width:150px;
/*width:16.8%;*/
margin:0 0 2px 0;
padding:0;
}

#avmenu ul {
list-style:none;
width:150px;
/*width:16.8%;*/
margin:0 0 20px 0;
padding:0;
}



#avmenu li {
margin-bottom:5px;
}

#avmenu li a {
font-weight:bold;
height:20px;
text-decoration:none;
color:#505050;
display:block;
padding:6px 0 0 10px;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
border-top:1px solid #d8d8d8;
border-right:1px solid #d8d8d8;
border-bottom:1px solid #d8d8d8;
/*border-left:4px solid #cccccc;*/
border-left:4px solid darkmagenta;
}

#avmenu li a:hover {
background:#eaeaea url(img/menubg2_pur.gif) bottom left repeat-x;
color:white;
border-top:1px solid #b0b0b0;
border-right:1px solid #b0b0b0;
border-bottom:1px solid #b0b0b0;
border-left:4px solid #505050;
}

#avmenu li a.current {
background:#eaeaea url(img/menubg2_pur.gif) bottom left repeat-x;
color:white;
border-top:1px solid #b0b0b0;
border-right:1px solid #b0b0b0;
border-bottom:1px solid #b0b0b0;
border-left:4px solid #505050;
background:#eaeaea url(img/menubg2.gif) bottom left repeat-x;
color:#505050;
border-top:1px solid #b0b0b0;
border-right:1px solid #b0b0b0;
border-bottom:1px solid #b0b0b0;
border-left:4px solid #505050;

}


#avmenu ul ul {
margin:5px 0 5px 15px;
font-size:0.9em;
width:135px;
/*width:15.1%;*/
}

#avmenu ul ul a {
height:16px;
margin:0;
padding:4px 0 0 8px;
}

#avmenu ul li ul li ul {
width:120px;
font-size:0.9em;
margin:5px 0 5px 15px;
}

#avmenu ul li ul li ul li ul {
width:105px;
font-size:0.9em;
margin:5px 0 5px 15px;
}


#avmenu h2 {
font-size:1.5em;
font-weight:normal;
}

#avmenu

/***** Right sidebar *****/

#extras {
float:right;
width:130px;
/*width:14.5%;*/
margin:0 0 10px 0;
padding:0;
font-size:0.9em;
}

#extras p, #extras ul {
margin:0 0 1.5em 0;
line-height:1.3em;
padding:0;
}

#extras a {
font-weight:bold;
}

#extras li {
list-style:none;
margin:0 0 6px 0;
padding:0;
}

#extras h2 {
font-size:1.6em;
font-weight:normal;
margin:0 0 6px 0;
letter-spacing:-1px;
}

/***** Main content *****/

#content {
margin: 10px 140px 10px 180px;
padding:0;
line-height:1.5em;
text-align:justify;
}

#contentwide {
margin:  10px 20px 10px 180px;
padding:0;
line-height:1.5em;
text-align:justify;
}

#contentfull {
margin:10px 10px 10px 10px;
padding:2px 0 0 0;
line-height:1.5em;
text-align:justify;
}

/*this section added*/
#content h1, #contentwide h1 {
  color: rgb(169,30,169);
  background-color: transparent;
  font-family: "trebuchet ms", verdana, helvetica, arial, sans-serif;
  font-size: 200%;
  margin: 0 0 5px 0;
padding: 0 0 0 0;
}

#content h2, #contentwide h2, #contentfull h2, table.tbody.tr.td.webheader {
color:rgb(109,0,109);
background-color: transparent;
font-family: "trebuchet ms", verdana, helvetica, arial, sans-serif;
font-weight: normal;
font-size: 151%;
margin: 8px 0 10px 0;
padding: 1ex 0 0 0;
}

#content h3, #contentwide h3, #contentfull h3 {
color: rgb(109,0,109);
background-color: transparent;
font-family: "trebuchet ms", verdana, helvetica, arial, sans-serif;
font-weight: normal;
font-size: 130%;
margin: 0px 0 10px 0;
padding: 0;
font-style: italic;
}

/*this section added*/
#content p {
  line-height: 1.75em;
  margin: 1em 0 1.5em 0;
  padding: 0;
}

#content img, #contentwide img, #contentfull img {
padding:1px;
display:inline;
background:#cccccc;
color:#303030;
/*border:3px solid blueviolet;*/
border:4px solid #f0f0f0;
}
#contentwide img.no_border, #content img.no_border 
{
padding:0;
border:0;
}	

#content a, #contentwide a, #contentfull a {
font-weight:normal;
}

#content ul, #content ol,
#contentwide ul, #contentwide ol,
#contentfull ul, #contentfull ol {
margin:0 0 16px 20px;
padding:0;
}

#content ul ul, #content ol ol,
#contentwide ul ul, #contentwide ol ol,
#contentfull ul ul, #contentfull ol ol {
margin:2px 0 2px 20px;
}

#content li, #contentwide li, #contentfull li {
margin:0 0 2px 10px;
padding:0 0 0 4px;
}

/***** Footer *****/

#footer {
clear:both;
margin:0 auto;
padding:8px 0;
border-top:2px solid #dadada;
width:100%;
/*width:85%;*/
text-align:center;
color:#808080;
/*background-color:#ffffff;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
font-size:0.9em;
}

#footer p {
padding:0;
margin:0;
}

#footer a {
color:#808080;
background-color:inherit;
text-decoration:none;
}

#footer a:hover {
text-decoration:underline;
}

/***** Various tags *****/

a {
/*text-decoration:none;*/
/*color:#505050;*/
/*background-color:inherit;*/
color: rgb(61,122,92);
background-color: transparent;
text-decoration: underline;
margin: 0;
padding: 0 1px 2px 1px;
}

a:hover {
/*text-decoration:underline;*/
/*color:#286ea0;*/
text-decoration:none;
color: rgb(117,174,117);
background-color:inherit;
}

a img {
border:0;
}

p {
margin:0 0 16px 0;
}

blockquote {
border-top:1px solid #d8d8d8;
border-right:1px solid #d8d8d8;
border-bottom:1px solid #d8d8d8;
border-left:4px solid #cccccc;
margin:16px;
padding:7px 7px 7px 11px;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
color:#505050;
}

blockquote p {
font-size:1.1em;
line-height:1.3em;
margin:0;
}

/***** Table styles *****/

/*  stuff for calendar */
td.actionlist_location { text-align:center; }
td.actionlist_type { text-align:center; }
td.actionlist_date { text-align:left; white-space:nowrap;}
td.actionlist_name { text-align:left; }
td.actionlist_period { text-align:left; }
td.actionlist_btn_listing {text-align:left;}
table.actionlist {width:100%; background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;}
table.actionlist_monthonly {width:100%; background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;}
table.actionlist_footer {background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;}
/*a table layout for setting content in a page - no borders etc */

table.layout {
border:none;
}

table.layout td {
border:none;
background:none;
font-size: 100%;
line-height:1.5em;
}

/*the standard table layout*/
table {
margin:0 0 16px 0;
padding:0;
line-height:1.3em;
border-collapse:collapse;
border:1px solid darkmagenta;
}

table caption {
text-align:left;
font-size:1.5em;
font-weight:normal;
margin:0;
padding:6px 0 8px 0;
}

table th {
padding:7px;
text-align:left;
border:1px solid darkmagenta;
color:#404040;

}

table td {
padding:7px;
font-size:0.9em;
text-align:left;
border:1px solid darkmagenta;
color:black;
}

table tr td {
padding:7px;
font-size:0.9em;
text-align:left;
border:1px solid darkmagenta;
color:black;
}


table tr.grid_header td {
text-align:center;
border:solid 1px darkmagenta;
background:rgb(192,192,192);
}

table tr.grid td {
text-align:center;
border:solid 1px darkmagenta;
background:white;
}

table tr.grid_spacer td {
border:solid 1px darkmagenta;
background:rgb(247,255,247);
line-height:2px;
}

/*a basic table layout*/
table.basic {
margin:0 0 16px 0;
padding:0;
line-height:1.3em;
border-collapse:collapse;
border:1px solid darkmagenta;
}

table.basic caption {
text-align:left;
font-size:1.5em;
font-weight:normal;
margin:0;
padding:6px 0 8px 0;
}

table.basic th {
padding:7px;
/*text-align:left;*/
/*background:#eaeaea url(img/menubg2.gif) bottom left repeat-x;*/
border:1px solid darkmagenta;
background-color:rgb(152,255,152);
color:#404040;
}


table.basic tr.alt td {
text-align:center;
border:solid 1px darkmagenta;
background:rgb(232,255,232);
}

table.basic td {
padding:7px;
font-size:0.9em;
text-align:left;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
border:1px solid darkmagenta;
color:black;
}

table.basic tr td {
padding:7px;
font-size:0.9em;
text-align:left;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
border:1px solid darkmagenta;
color:black;
}

table.basic tr.grid_header td {
text-align:center;
border:solid 1px darkmagenta;
background:rgb(192,192,192);
}

table.basic tr.grid td {
text-align:center;
border:solid 1px darkmagenta;
background:white;
}

table.basic tr.grid_spacer td {
border:solid 1px darkmagenta;
background:rgb(247,255,247);
line-height:2px;
}

/* a good looking table to make things look pretty */
table.special {
margin:0 0 16px 0;
padding:0;
line-height:1.3em;
border-collapse:collapse;
border:1px solid darkmagenta;
}

table.special caption {
text-align:left;
font-size:1.5em;
font-weight:normal;
margin:0;
padding:6px 0 8px 0;
}

table.special th {
padding:7px;
line-height:1.8em;
text-align:center;
background:rgb(230,255,230) url(img/menubg1.gif) bottom left repeat-x;
color:#404040;
border:1px solid darkmagenta;
}

table.special td {
padding:7px;
font-size:0.9em;
text-align:left;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
color:#303030;
border:1px solid darkmagenta;
}

table.special td.centre 
{
padding:7px;
font-size:0.9em;
text-align:center;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
color:#303030;
}

table.special td.left 
{
padding:7px;
vertical-align:middle;
font-size:0.9em;
text-align:left;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
color:#303030;
}


table.special td.right 
{
padding:7px;
vertical-align:middle;
font-size:0.9em;
text-align:right;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
color:#303030;
}






/***** Form styles *****/

.button {
border-top:1px solid #d8d8d8;
border-right:1px solid #d8d8d8;
border-bottom:1px solid #d8d8d8;
border-left:4px solid #cccccc;
margin:0 0 15px 0;
padding:7px 7px 7px 11px;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
color:#505050;
font-weight:bold;
padding:4px;
width:120px;
}

input, textarea {
border:1px solid #cccccc;
/*font-family:Verdana,Tahoma,Arial,Sans-Serif;*/
font-family: verdana, helvetica, arial, sans-serif;
font-size:1em;
margin:0;
padding:4px;
}

label {
margin:2px;
}

input {
width:200px;
/*width:22.4%;*/
}

textarea {
width:400px;
/*width:44.75%;*/
}

/***** Search box *****/

#searchbox {
padding:0;
margin:6px 0 16px 0;
}

#searchform {
background:#ffffff;
border:1px solid #cccccc;
color:#505050;
font-size:0.9em;
padding:4px;
width:116px;
/*width:13%;*/
}

#searchbox label {
display:none;
}

/***** Various classes *****/

.left {
margin:10px 10px 5px 0;
float:left;
}

.right {
margin:10px 0 5px 10px;
float:right;
}

.announce {
margin:5px 0 5px 0;
padding:7px 10px 5px 10px;
width:105px;
/*width:11.75%;*/
color:#505050;
/*background:#f4f4f4 url(img/menubg.gif) bottom left repeat-x;*/
background:rgb(230,255,230) url(img/menubg.gif) bottom left repeat-x;
border-top:1px solid #d8d8d8;
border-right:1px solid #d8d8d8;
border-bottom:1px solid #d8d8d8;
/*border-left:4px solid #cccccc;*/
border-left:4px solid darkmagenta;
line-height:1.3em;
font-size:100%;
}

.announce a {
font-weight:normal;
font-style:normal;

}

a.latestnews {
color: darkmagenta;
background-color: transparent;
text-decoration:none;
margin: 0;
padding: 0 1px 2px 1px;
}

a.latestnews:hover {
color: rgb(70,70,70);
background-color: transparent;
text-decoration:underline;
margin: 0;
padding: 0 1px 2px 1px;
}

.announce p {
font-size:0.9em;
}

.announce h2 {
margin:0 0 5px 0;
padding:0;
}

#avmenu .announce 
{	
width:125px;
/*width:14%;*/
}

.textright {
text-align:right;
margin:-10px 0 4px 0;
}

.center {
text-align:center;
}

.small {
font-size:0.8em;
}

.large {
font-size:1.3em;
}

.bold {
font-weight:bold;
}

.highlighted {
padding:3px;
background-color:#f0f0f0;
color:#303030;
border:1px solid #b0b0b0;
}

.hide {
display:none;
}

/*** Don't remove the class nixhier, this is required for commenting in news ASP ***/
p.nixhier {
	display:none;
}


/****** Mini League Styles ******/
table.web {background:none; border:none;}
table.web td {background:none;border:none;}
table.dtable {border: solid 1px darkmagenta; border-collapse:collapse;}
tr.dheader {line-height:normal;}
tr.dheader td {border: solid 1px darkmagenta;}
tr.dheader td.dnumber {background-color:rgb(104,34,139); color:White;font-weight:bold; }
tr.dheader td.sheader {background-color:rgb(192,255,192); color:black;font-weight:bold; text-align:center;}
tr.dheader td.totalheader {background-color:rgb(192,192,192); color:black; font-weight:bold; text-align:center;}
tr.divisionrow td {border: solid 1px darkmagenta; }
tr.divisionrow td.roundscore {text-align:center; width:80px;}
tr.divisionrow td.roundtotal {font-weight:bold; text-align:center; width:80px;}
tr.divisionrow td.pnamemale {color:rgb(0,0,156); text-align:left; width:110px; white-space:nowrap;}
tr.divisionrow td.pnamefemale {color:rgb(156,0,0); text-align:left; width:110px; white-space:nowrap;}
tr.divisionrow td.pdetails { text-align:left; width:380px; white-space:nowrap;}
tr td.breakrow {visibility:hidden; display:none;}
tr td.webheader {visibility:hidden; display:none;}
tr td.header {visibility:hidden; display:none;}
tr td.subheader {color:rgb(104,34,139); font-size:130%; text-decoration:underline;}
table.raceouter {border: solid 1px darkmagenta; border-collapse:collapse;}
table.raceouter td {background:none;}
table.raceouter td.rnamemale {color:rgb(0,0,156); text-align:left; background-color:rgb(200,255,200);}
table.raceouter td.rnamefemale {color:rgb(156,0,0); text-align:left; background-color:rgb(200,255,200);}
table.raceouter td.raceheader {text-align:center; background-color:rgb(104,34,139); color:White; width:25%; white-space:nowrap; }
table.raceouter td.racescore{background:none;}

/************Coaching prog styles **************/
table.coaching {width:648px; border: solid 1px darkmagenta; border-collapse:collapse;}
table.coaching tr th.tots {color:White; background-color:Blue; font-weight:bold;}
table.coaching tr th.tots_secondary {color:Black;  background-color:LightBlue; font-weight:bold;}
table.coaching tr td.head {color:Black;   font-weight:bold;}

table.coaching tr th.murrays {color:White; background-color:Red; font-weight:bold;}
table.coaching tr th.murrays_secondary {color:Black;  background-color:#FFAEAE; font-weight:bold;}

table.coaching tr th.nadals {color:White; background-color:#E56717; font-weight:bold;}
table.coaching tr th.nadals_secondary {color:Black;  background-color:Orange; font-weight:bold;}

table.coaching tr th.federers {color:White; background-color:Green; font-weight:bold;}
table.coaching tr th.federers_secondary {color:Black;  background-color:#8AFB17; font-weight:bold;}

table.coaching tr th.older {color:Black; background-color:#FBB117; font-weight:bold;}
table.coaching tr th.older_secondary {color:Black;  background-color:Yellow; font-weight:bold;}