/***************/
/* main layout */
/***************/
body { margin: 0; padding: 0; background:url(../images/bg_ball.png) no-repeat 110% 60%; }

#bodyWrapper { width: 800px; margin: auto; }

/* specific link colours for this site */
a         { color: #fff; text-decoration: none;  }
a:link    { color: #fff; text-decoration: none;  }
a:visited { color: #fff; text-decoration: none; }
a:hover   { color: #fff; text-decoration: underline; }
a:active  { color: #fff; text-decoration: underline; }

/*******************/
/* header elements */
/*******************/
#header {  }
#headerInner { height:175px; overflow:hidden;}
.block { display:block;}

#logo { float: left; }

#nav        { padding:0px; background-color :#000000; }
#nav ul     { margin:0; padding:0; }
#nav li     { float: left; font-size:1.2em; line-height: 40px; height: 40px; }
#nav li a   { display: block; color:#FFFFFF; background: none; text-align: center; }
#nav li a   { text-decoration: none; }

#nav #nav-home        { width: 101px; background: url(../images/nav_home.png) no-repeat scroll 0 0; }
#nav #nav-about       { width:  98px; background: url(../images/nav_about.png) no-repeat scroll 0 0; }
#nav #nav-players     { width: 100px; background: url(../images/nav_players.png) no-repeat scroll 0 0; }
#nav #nav-friendlies  { width: 101px; background: url(../images/nav_friendlies.png) no-repeat scroll 0 0; }
#nav #nav-tournaments { width:  99px; background: url(../images/nav_tournaments.png) no-repeat scroll 0 0; }
#nav #nav-coaching    { width: 100px; background: url(../images/nav_coaching.png) no-repeat scroll 0 0; }
#nav #nav-videos      { width: 101px; background: url(../images/nav_videos.png) no-repeat scroll 0 0; }
#nav #nav-forum       { width: 101px; background: url(../images/nav_forum.png) no-repeat scroll 0 0; line-height: 16px; }
#nav #nav-contact     { width: 100px; background: url(../images/nav_contact.png) no-repeat scroll 0 0; }
#nav #nav-forum a     { padding-top: 5px; }

#nav #nav-home:hover        { background-image: url(../images/nav_home_over.png); }
#nav #nav-about:hover       { background-image: url(../images/nav_about_over.png); }
#nav #nav-players:hover     { background-image: url(../images/nav_players_over.png); }
#nav #nav-friendlies:hover  { background-image: url(../images/nav_friendlies_over.png); }
#nav #nav-tournaments:hover { background-image: url(../images/nav_tournaments_over.png); }
#nav #nav-coaching:hover    { background-image: url(../images/nav_coaching_over.png); }
#nav #nav-videos:hover      { background-image: url(../images/nav_videos_over.png); }
#nav #nav-forum:hover       { background-image: url(../images/nav_forum_over.png); }
#nav #nav-contact:hover     { background-image: url(../images/nav_contact_over.png); }

/********************/
/* content elements */
/********************/
#main { background:#008ed3; padding:5px 21px 24px 21px;}
#upper { padding-bottom:20px;}

.titleText { font-size: 2.1em; line-height: 1.4em; letter-spacing:-1px; color:#000000; font-weight:bold; text-align:center;}

.lefty { float:left;}
.righty { float:right;}

#leftBox { margin-top: 17px; padding-right: 20px; }
#searchBox { background:url(../images/find_bg.jpg) no-repeat top; width:310px; padding:130px 0px 30px 115px;}

#friendliesForm   { background:url(../images/find_friendly.png) no-repeat scroll 0 0; height: 33px; padding: 52px 0 0 13px; margin-left: 40px; margin-bottom: 10px; width:243px; }
#tournamentsForm   { background:url(../images/find_tournaments.png) no-repeat scroll 0 0; height: 46px; padding: 89px 0 0 99px; margin-bottom: 0px; width:182px; }
#coachingFormFront { background:url(../images/find_coaching.png) no-repeat scroll 0 0; height: 46px; padding: 52px 0 0 10px; margin-left: 40px; margin-bottom: 10px; width:248px; }

#friendliesArea   { width: 131px; }
#tournamentsArea   { width: 131px; }
#coachingAreaFront { width: 131px; }

#ad      { float: left;  }
#penalty { float: right; }

#coachingForm { padding-left: 10px; line-height:29px; }
#penaltyBox {margin-top: 22px; }

#coachingArea,
#playersArea,
#playersAge    { width: 230px; margin-right: 10px; }

.resultHeading { float:left; margin-right:15px; font-size:1.4em; font-weight:bold;}
.blackText { color:#000000;}
.blackText select { margin-left: 10px; /*border: none; background: none; font-weight: bold;*/ }

#searchForm select { margin-bottom: 21px; }


#news {
	background: #008ed3 url(../images/news_bg.png) repeat-x scroll 0 0;
	color: #000;
	font-size: 18px;
	line-height: 42px;
}

ul#videos li { margin-bottom: 20px; }
ul#videos li h2 { background: none; }
ul#videos li h2 a { display: block; background: transparent url(../images/watch-video.png) no-repeat scroll 0 0; padding: 29px 0 0 160px; height: 75px; font-size: 1.1em; font-weight: normal; color: #fff; }

#resnav { margin-bottom: 30px; }

.pic {
	border: 5px solid #0081c0;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	float: left;
	width: 114px;
}
.pictext {
	float: right;
	width: 624px;
	font-size: 1.583em;
	line-height: 1.2105em;
}
.title {
	color: #000;
	font-size: 1.25em;
	font-weight: bold;
}
.contact {
	color: #000;
	font-size: 1.083em;
}
 
/*********/
/* items */
/*********/
.item              { margin-bottom: 10px; }
.item .itemHeader  {  }
.item .itemTitle   { font-weight: bold; }
.item .itemDate    { font-style: italic; }
.item .itemContent {  }
.item .itemImage   { float: left; margin-right: 5px; margin-bottom: 5px; }
.item .itemMore    {  }

.entry { margin-bottom: 20px; }

#itemBack          {  }


/*******************/
/* footer elements */
/*******************/
#footer { background:#000000; padding:10px; color:#FFFFFF;}
#footer a { text-decoration: none; } /* for the clevercherry.com link */

#footer #fleft  { float: left;  width: 500px; }
#footer #fright { float: right; width: 250px; text-align: right; }


/***********************/
/* general form styles */
/***********************/
.required { color: #800; }

/* all form elements are contained within a formrow div, with a label and
 *  then the element, this is the best way (but still not good) to emulate
 *  a table */
div.formrow {
  clear: both;
  text-align: left;
  margin-bottom: 10px;
}

div.formrow label {
  float: left;
  text-align: right;
  margin-right: 10px;
  width: 80px; /* default width for a default form, add new form ids and override */
}
div.formrow.indent { margin-left: 90px; } /* label width + label margin-right, override as above */
div.formrow label.radio {
	float: none;
	text-align: inherit;
	margin-right: 0;
	width: auto;
}

#advertiseForm div.formrow label  { width: 100px; }
#advertiseForm div.formrow.indent { margin-left: 110px; }

/* message and error boxes, not just useful in contact form */
#messages,
#errors,
#warnings,
#info { margin-bottom: 10px; }
.message { border: 1px solid #080; background: #efe; color: #080; padding: 3px 5px; margin-bottom: 15px; float: left; } /* you may need to clearfix this */
.message.nomargin { margin-bottom: 0; } /* if before something with a margin-top */
.message.info { border-color: #880; background: #ffe; color: #880; } /* info box in yellow */
.message.warn { border-color: #f40; background: #ffe; color: #f40; } /* warning box in orange */
.message.error { border-color: #f00; background: #fee; color: #f00; } /* error box in red */
