
/****** General ******/

body {
	font-family: verdana, helvetica, arial, sans-serif; 
/*	min-width: 900px;	 - this causes a horizontal scrollbar to appear in tinyMCE textarea (in news pages) */
	max-width: 1200px;
}

h1 {
	font-family: "Times New Roman", Georgia, Serif;
	font-size: 200%;
	text-align: center;
}

h2 {
	font-family: verdana, helvetica, arial, sans-serif; 
	font-size: 100%;
	text-align: center;
	text-decoration: underline;
	color: gray;
	margin: 0;
	padding: 0;
}

h5 {
	font-family: verdana, helvetica, arial, sans-serif; 
	font-size: 120%;
	text-align: center;
	color: #505050;		/* dark grey */
}
/*
ol {
	text-align: center;
	margin: 0.8ex;
	padding: 0;
	list-style: none;
}

li {
	padding: 0.5ex;
}
*/
/*
a {
  color: #666666;
  color: blue;
  padding: 2px 6px;
  padding: 0px;
  margin: 0px;
  text-decoration: underline;
  outline-color: -moz-use-text-color;
  outline-style: none;
  outline-width: medium;
}

a:hover {
  color: #333333;
  text-decoration: none;
  background-color: #dddddd;
  background-color: #d8dee7;		// light bluey grey 
}
*/

div.centerBox {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
}

div.errorMsg {
	color: red;
	text-align: center;
}

div.centerText {
  text-align: center;
}

span.smallFont {
	font-size: 85%;
}

span.vSmallFont {
	font-size: 70%;
}

span.largeFont {
	font-size: 120%;
}

span.bigFont {
	font-size: 140%;
	color: #505050;		/* dark grey */
}

span.vBigFont {
	font-size: 250%;
}


/****** Styling for Tool Tips *******/

#toolTip {
  position: absolute;
/*  width: 150px;*/
  border: 2px solid black;
  border: 1px solid gray;
  font-family: verdana, helvetica, arial, sans-serif;
  font-size: 80%;
  padding: 2px;
  background-color: lightyellow;
  visibility: hidden;
  z-index: 100;
  -moz-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
	white-space: nowrap; 
}



/****** Styling for Generate Fixtures *******/

#panelDates, p.flip, #panelTeams {
	text-align: center;
}

p.flip {
  margin: 0 6ex;
  padding: 1ex;
  background-color: #e5eecc;
  border: solid 1px black;
}

#panelDates, #team4Section, #team5Section, #team6Section, #team7Section, #team8Section, #team9Section, 
#team10Section, #team11Section, #team12Section, #team13Section, #team14Section, #team5-6Info, 
#team7-8Info, #team9-10Info, #team11-12Info, #team13-14Info {
	display: none;
}

#panelTeams1-3 {
}

p.teamInfo {
	font-size: 70%;
	margin: 1ex 12ex 0 12ex;
  padding: 1ex;
	border: 1px solid #c3c3c3;
	background-color: #e5eecc;
	background-color: #FFFFCC;		/* very very very light yellow */
	color: blue;
	text-align: center;
	font-style: italic;
}

/****** Forms ******/

form.border {
  margin: 0;
  padding: 0.5em;
  font-size: 100%;
	border: 1px solid #707070;
	background-color: #f0f0f0;		/* very very light grey */
}

form.width350, form.width400, form.width450, form.width500, form.width550, form.width600, form.width700 {
	margin-left: auto;
	margin-right: auto;	
}

form.width350 {
	width: 350px;
}

form.width400 {
	width: 400px;
}

form.width450 {
	width: 450px;
}

form.width500 {
	width: 500px;
}

form.width550 {
	width: 550px;
}

form.width600 {
	width: 600px;
}

form.width700 {
	width: 700px;
}

form fieldset {
  /* clear: both; note that this clear causes inputs to break to left in ie5.x mac, commented out */
  border: 1px solid #000;
  padding: 10px;        /* padding in fieldset support spotty in IE */
  margin: 0.5em;
  width: 90%;
  margin-left: auto;
	margin-right: auto;
}

form legend {
  font-family: "Times New Roman", Georgia, Serif;
	font-size: 100%;
	color: #fff;
  background-color: #ffa20c;
  border: 1px solid #781351;
  padding: 2px 6px
}

form.blueLabelRight label, form.blueLabelRightWide label, form.blueLabel label, form.noFloatLabel label {
  font-family: "Times New Roman", Georgia, Serif;
  font-size: 100%;
  color: #5080D0;				/* blueish */
  font-weight: bold;
  margin-right: 0.5em;
  margin-top: 0.5ex; 		/* set top margin same as form input - textarea etc. elements */
  display: block;
}

form.blueLabelRight label, form.blueLabelRightWide label, form.blueLabel label {
	float: left;
}

form.blueLabelRight label, form.blueLabelRightWide label {
  text-align: right;
  font-size: 110%;
}

form.blueLabelRight label {
  width: 8em;
}

form.blueLabelRightWide label {
  width: 12em;
}

form.blueLabel label {
	font-size: 100%;
}

form.noFloatLabel label {
  font-size: 110%;
}

label.alignLeft {
	text-align: left;
}

label.alignRight {
	text-align: right;
}

form label.short {
  width: 5em;
}

form input, form select {
	margin-left: 0.5em;
	margin-right: 0.5em;
	margin-top: 0.5ex; /* set top margin same as form label - textarea etc. elements */
  font-size: 100%;
} 

form br {
	clear: left;
}

div.inputBackground textarea, div.inputBackground input, div.inputBackground select {	
	background-color: rgb(225,225,225);		/* very light grey */
	background-color: #FFFFCC;		/* very very very light yellow */
}

div.inputBackground textarea:hover, div.inputBackground input:hover, div.inputBackground select:hover {	
	border-color: #FFCC55;	/* lightish orangey gold */
	border-color: #000000;	/* black */
}

div.inputBackground textarea:focus, div.inputBackground input:focus, div.inputBackground select:focus {	
	background-color: #FFCC55;	/* lightish orangey gold */
	background-color: #FFFF99;		/* very very light yellow */
	background-color: #ffff66;		/* very light yellow */
}

input.buttons, button.buttons, input.smallButtons, button.smallButtons {
	font-family: "Times New Roman", Georgia, Serif;
	font-weight: bold;
  color: #303030;		/* dark grey */
  font-size: 100%;
}

input.buttons, button.buttons {
  width: 95px;
  height: 35px;
}

div.centerButtons {
	/* use eg to centre a submit and a cancel button */
	width: 214px;
	margin-left: auto;
	margin-right: auto;
}

div.centerOneButton {
	/* use eg to centre a submit button */
	width: 90px;
	margin-left: auto;
	margin-right: auto;
}

form.resultCard {
  font-size: 110%;
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
	-moz-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  background-image: -webkit-gradient(linear, 0% 0%, 0% 95%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.1)));
  background-image: -moz-linear-gradient(-90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
}

form.resultCard label {
  font-family: "Times New Roman", Georgia, Serif;
  font-size: 110%;
  color: #5080D0;				/* blueish */
  font-weight: bold;
  margin: 0;
  padding: 0;
  line-height: 80%;
/*  margin-right: 0.5em;
  margin-top: 0.5ex; 		
  display: block;*/
}

form.resultCard label.playerList {
  line-height: 100%;
}

form.resultCard label.homeTeam {
  text-align: right;
}

form.resultCard select.playerList {
	width: 160px;
	padding: 0;
}

form.resultCard select.teamList {
	width: 160px;
	padding: 0;
}

form.resultCard fieldset {
  border: 1px solid #000;
  padding: 1px 3px 3px 3px;
  margin: 0.3ex 0 0.6ex 0;
  width: 100%;
}

form.resultCard legend {
  font-family: "Times New Roman", Georgia, Serif;
	font-size: 100%;
	color: #fff;
  background-color: #ffa20c;
  border: 1px solid gray;
  padding: 0 6px;
}



/****** Tables ******/

table.center {
	margin-left: auto;
	margin-right: auto;
	padding: 0.5ex 2ex;
}

table.border {
	border: 1px solid #C0C0C0;
}

table.midGrey {
	background-color: #C0C0C0;		/* light grey */
}

table.lightGrey {
	background-color: #E8E8E8;		/* light grey */
}

table.veryLightGrey {
	background-color: #F0F0F0;		/* very light grey */
}



/* Record Pagination */

div.pagination {
	padding: 0 3px;
	margin: 0 3px;
}

div.pagination a {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #AAAADD;
	text-decoration: none !important; /* no underline */
	color: #000099 !important;
	background-color: #f0f0f0 !important;		/* very very light grey */
}

div.pagination a:hover, div.pagination a:active {
	border: 1px solid #000099;
	color: #000 !important;
}

div.pagination span.current {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #000099;
	font-weight: bold;
	background-color: #000099;
	color: #FFF;
}

div.pagination span.disabled {
	padding: 2px 5px 2px 5px;
	margin: 2px;
	border: 1px solid #EEE;
	color: #DDD;
}



/* styling for ? help button used in matchCard.php */

ul#division_no_help {
/*	position: relative;*/
	margin: 0;
	padding: 0;
	list-style-type: none;
	float: right
}

ul#division_no_help li {
	margin: 0 3ex 0 2ex;
	border: 1px solid #8eb4e6;	/* blueish */
	font-weight: normal;
	font-family: verdana, helvetica, arial, sans-serif;
	color: #505050;		/* grey */
	font-size : 110%;
	font-weight: bold;
	background-color: #cedef4;	/* very light blue */
  height: 18px;
	width: 18px;
	-moz-border-radius: 9px;
  -webkit-border-radius: 9px;
  border-radius: 9px;
/*	position: relative;*/
	text-align: center;
}



/* row highlighting in tables */

table.highlightrow, table.colouredrows {
	margin-left: auto;
	margin-right: auto;
	border-collapse: collapse;
	border-style: none;
}

/* this class is used by higlightrows.js */
table.highlightrow tr.highlight {
	background-color: #D4ED91	;		/* lime pulp */
	cursor: pointer;
}

table.colouredrows tr.oddrow td {
	background-color: #cedef4;	/* very light blue */
}

table.colouredrows tr.evenrow td {
	background-color: #E0EAF8;	/* very very light blue */
}

table.highlightrow td, table.highlightrow th, table.colouredrows td, table.colouredrows th {
	margin: 0;
	padding: 0.5ex 1ex;
	border-style: none;
	font-size : 110%;
}

table.highlightrow th, table.colouredrows th {
	background-color: transparent;
	color: #404040;	/* dark gray */
}

table.highlightrow a, table.highlightrow a:hover {
	color: black;
  text-decoration: none;
  background-color: transparent;
}

table.highlightrow td a, table.highlightrow td a:hover {
	color: black !important;
  text-decoration: none !important;
  background-color: transparent !important;
}

table.highlightrow th a, table.colouredrows th a {
	color: #404040 !important;	/* dark grey */
	font-weight: bold !important;
}

/* styling for mobile version */
/*
table.mobile td, table.mobile th {
	font-size : 50% !important;
}*/

/* General Table Stylings */

tr.columnHeading {
	background-color: transparent;
	font-weight: bold;
}

tr.columnHeadingAdmin {
	background-color: #8eb4e6;	/* blueish */
	font-weight: bold;
}

td.alignLeft, th.alignLeft {
	text-align: left;
}

td.alignRight, th.alignRight {
	text-align: right;
}

td.alignCenter, th.alignCenter {
	text-align: center;
}

td.bold {
	font-weight: bold;
}

td.italic {
	font-style: italic;
}

td.largeType {
	font-size: 190%;
	padding-right: 15px;
	border-right: 1px solid gray;
}

table.smallFont td {
	font-size: 90%;
}


table.outerShadow {
  -moz-box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
  -webkit-box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.6);
/* partial fix to display some css3 styles in ie 6-8 but result was 
that horiz nav bar appeared behind these elements so not implemented */
/*position:relative;
behavior:url(PIE.htc);*/
}

table.roundedCorners {
	-moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  background-color: #8eb4e6;	/* blueish */
  background-image: -webkit-gradient(linear, 0% 0%, 0% 95%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
  background-image: -moz-linear-gradient(-90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
	border-collapse: separate;
	padding: 8px;
	border: 2px solid #606060;		/* grey */
	border-spacing: 0 2px;
/* partial fix to display some css3 styles in ie 6-8 but result was 
that horiz nav bar appeared behind these elements so not implemented */
/*-pie-background: linear-gradient(#fed970, #febd4b);*/
}

table.roundedCornersNoColour {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  padding: 10px 15px;
  border-spacing: 2px;
}

table.roundedCorners td {
  border-style: none;
}

table.roundedCornersNoCollapse {
  -moz-border-radius: 20px;
  -webkit-border-radius: 20px;
  border-radius: 20px;
  background-color: #8eb4e6;	/* blueish */
  background-image: -webkit-gradient(linear, 0% 0%, 0% 95%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.6)));
  background-image: -moz-linear-gradient(-90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6));
	border-collapse: separate;
  border-spacing: 0 1px;
  padding: 8px;
  border: 2px solid #606060;		/* grey */
}

table.roundedCornersNoCollapse td {
/*	border: 2px solid inherit;*/
}



/* Table styling for Ko Draw Sheet */

table.drawSheet {
	table-layout: fixed;
	border-collapse: collapse;
}

table.drawSheet th {
	font-size: 120%;
	padding-bottom: 3ex; 
	text-decoration: underline;
	white-space: nowrap; 
}

table.drawSheet td {
	font-size: 85%;
	line-height: 90%;
	white-space: nowrap;
}

table.drawSheet td.drawSheetMatchNo {
	font-size: 120%;
	padding-left: 3ex;
	padding-right: 0.5ex;
}

table.drawSheet td.homeName, table.drawSheet td.awayName, table.drawSheet td.spacer, 
table.drawSheet td.homeScore, table.drawSheet td.awayScore {
	background-color: #cedef4;	/* very light blue */
}

table.drawSheet td.homeScore, table.drawSheet td.awayScore {
	padding-right: 0.6ex;
	padding-left: 1ex;
}

table.drawSheet td.homeName, table.drawSheet td.homeScore {
	padding-top: 0.6ex;
}

table.drawSheet td.awayName, table.drawSheet td.awayScore {
	padding-bottom: 0.6ex;
}

table.drawSheet td.homeName, table.drawSheet td.awayName {
	padding-left: 0.6ex;
}



/* styling for a button with rounded edges, gradient, box shadow and text shadow */

.button1 {
   border-top: 1px solid #96d1f8;
   background: #65a9d7 !important;		/* light blue */
   background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7)) !important;
   background: -moz-linear-gradient(top, #3e779d, #65a9d7) !important;
   padding: 5px 10px;
   -webkit-border-radius: 8px;
   -moz-border-radius: 8px;
   border-radius: 8px;
   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
   box-shadow: rgba(0,0,0,1) 0 1px 0;
   text-shadow: rgba(0,0,0,.4) 0 1px 0;
   color: white !important;
   font-size: 140% !important;
   font-family: Georgia, serif !important;
   text-decoration: none !important;
   vertical-align: middle;
}

.button1:hover {
   border-top-color: #28597a !important;
   background: #28597a !important;			/* grey blue */
   color: #ccc !important;                              /* light grey */
}

.button1:active {
   border-top-color: #1b435e !important;
   background: #1b435e !important;
}



/* Table styling for specific tables */

table.viewResults {
	border-collapse: separate;
	padding: 8px;
	border-spacing: 0;
	empty-cells: hide;
}

table.viewResults th {
	-moz-border-radius-topleft: 20px;
	-webkit-border-top-left-radius: 20px;
	border-top-left-radius: 20px;
	-moz-border-radius-topright: 20px;
	-webkit-border-top-right-radius: 20px;
	border-top-right-radius: 20px;
	background-color: #8eb4e6;	/* blueish */
	border-top: 2px solid #606060;		/* grey */
	border-right: 2px solid #606060;		/* grey */
	border-bottom: 0;
	border-left: 2px solid #606060;		/* grey */
}

table.viewResults td.bottomRow {
	-moz-border-radius-bottomleft: 20px;
	-webkit-border-bottom-left-radius: 20px;
	border-bottom-left-radius: 20px;
	-moz-border-radius-bottomright: 20px;
	-webkit-border-bottom-right-radius: 20px;
	border-bottom-right-radius: 20px;
	background-color: #8eb4e6;	/* blueish */
	border-top: 0;
	border-right: 2px solid #606060;		/* grey */
	border-bottom: 2px solid #606060;		/* grey */
	border-left: 2px solid #606060;		/* grey */
	height: 10px;
	padding: 0;
	margin: 0;
}

table.viewResults td {
	border-top: 2px solid #8eb4e6;	/* blueish */
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}

table.viewResults td.leftColumn {
	border-left: 2px solid #606060;		/* grey */
}

table.viewResults td.rightColumn {
	border-right: 2px solid #606060;		/* grey */
}

table.viewResults td#spacer {
	border-top: 2px solid #606060;		/* grey */
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}

table.viewResults td.resultsSpacer {
/*	border-top: 2px solid #606060; */
	border-top: 0;
	border-bottom: 0;
	border-left: 0;
	border-right: 0;
}

table#resultDetails td {
	padding-left: 1ex;
	padding-right: 1ex;
	white-space: nowrap; 
	font-size: 130%;
}

table.viewTable th, table.viewTable td {
	padding-left: 1.5ex;
	padding-right: 1.5ex;
	white-space: nowrap; 
}


tr.missingResult td {
	background-color: #FFFFAA;		/* very very light yellow */
}

tr.missingMatchcard td {
	color: red;
}



/* styling for Main Menus */

div.mainmenu {
	margin-left: auto;
	margin-right: auto;
	width: 70%;
	text-align: center;
}

div.mainmenu table {
	width: 100%;
	padding: 0;
	margin: 0;
}

div.mainmenu table td {
	padding: 0.7ex 7ex;
	text-align: center;
	white-space: nowrap; 
}



/* styling for Notes pages */

table.notes {			/* used in scrolling page - notes.php */
	width: 70%;
}


/* styling for News pages */

table.news {			/* used in scrolling page - news.php */
	width: 90%;
}

a.newsHeadline {			/* used in scrolling page - news.php*/
	font-style: italic; 
	font-weight: bold;
}

div.news {						/* used in viewNews and viewEventNews */
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

div.newsArticle {
	margin-top: 2ex;
}

div.newsArticleText {
	margin: 0 0 0 63px;
	padding: 1ex 2ex;
}

div.eventArticleText {
	padding: 1ex 2ex;
	margin: 0 0.5ex;
}

div.newsTitle {
  font-family: Georgia, "Times New Roman", Serif;
  font-weight: bold;
  font-size: 150%;
  color: #5080D0;					/* blueish */
  text-decoration: none;
  padding: 0 0 0.5ex 0;
  margin: 0;
  text-shadow: 0px 1px 2px white;
}

div.newsCalendar {
  float: left;
  background: url('./images/calendarSmall.jpg');
  width: 73px;
  height: 68px;
  font-family: "Times New Roman", Georgia, Serif;
}

div.newsCalendarMonthYear {
  font-weight: bold;
  font-size: 1.0em;
  color: #E0E0E0;		/* greyish white */
  width: 73px;
  text-align: center;
  padding-top: 11px;
  text-shadow: 0px 1px 2px black;
}
      
div.newsCalendarDay {
  font-weight: bold;
  font-size: 2.2em;
  line-height: 0.95em;
  color: #555555;		/* light grey */
  width: 73px;
  text-align: center;
  padding: 0;
  margin-top: 6px;
  text-shadow: 0px 1px 1px black;
}


/* styling for viewPlayer list of player stats */

div.fiftyPercent {
    width: 50%;
    float: left;
    margin: 0;
    padding: 0;
}

div.twentyFivePercent {
    width: 25%;
    float: left;
    margin: 0;
    padding: 0;
}

div#leagueStats {
    float: right;
/*    position: absolute;
    top: 0px;
    right: 0px;*/
    z-index: 99;                        /* ensure element is in front of other elements */
/*    width: 25ex;*/
    display: inline;
    border: 1px solid gray;
    background-color: #FFFFCC;		/* very very very light yellow */
    font-size: 85%;
    padding: 0 4px;
    margin: 10px 3px 0 0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    -moz-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
}

div#leagueStats h2 {
    font-size: 110%;
}

div#leagueStats ul {
    list-style-type: none;
    padding: 5px;
    margin: 0;
/*    border:1px solid red;*/
}

div#leagueStats ul li {
    display: inline;
}

div#leagueStats ul li a {
    display: block;
    padding: 0;
    margin: 0;
    text-decoration: none;
    border-top: 1px dashed #FFCC55;	/* lightish orangey gold */
}


/* generated by www.roundedcornr.com */

/* corner radius: 30px, b/g colour: ffffff, colour at top: cedef4, colour at bottom: e0eaf8, gradient height 180px */
.roundedcornr_box_133095 {
   background: #e0eaf8 url(./images/roundedcornr_133095_grad.gif) repeat-x top left;
}

.roundedcornr_top_133095 div {
   background: url(./images/roundedcornr_133095_tl.gif) no-repeat top left;
}

.roundedcornr_top_133095 {
   background: transparent url(./images/roundedcornr_133095_tr.gif) no-repeat top right;
}

.roundedcornr_bottom_133095 div {
   background: url(./images/roundedcornr_133095_bl.gif) no-repeat bottom left;
}

.roundedcornr_bottom_133095 {
   background: transparent url(./images/roundedcornr_133095_br.gif) no-repeat bottom right;
}

.roundedcornr_top_133095 div, .roundedcornr_top_133095, .roundedcornr_bottom_133095 div, .roundedcornr_bottom_133095 {
   width: 100%;
   height: 30px;
   font-size: 1px;
}

.roundedcornr_content_133095 {
	margin: 0 30px;
}




/* increase default size of font in TinyMCE text editor */
body.mceContentBody {
  font-size: 0.8em;
  background-color: #fff;
  background-color: #FFFFCC;		/* very very very light yellow */
  padding: 5px;
  line-height: 135%;
}


    
