/* 
	- Client: Prestatyn Football Club
	- Author: Dave Robinson of sypher design (www.sypher-design.co.uk) 
	- Date: 9th June 2009
	- Version: 1.0
	- Comments: Site was made in a total of 2 weeks! Record :)
	
*/

* {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	height: 100%;
	margin: 0;
	padding: 0;
	background-color: #000;
	padding-top: 5px;
	font-family: arial, cursive, serif;
	font-size: 12px;
	background-image: url("images/background-grass.jpg");
	background-repeat: repeat-x;
	background-position: bottom;
	background-attachment: fixed;
	color: #000;
}

img {
	display: block;
	padding: 0;
	margin: 0;
}

h1,h2,h3,h4,h5,h6 {
	padding: 0;
	margin: 0:
}

p {
	margin: 5px;
	padding: 3px;
}

a {
	color: #333;
	text-decoration: underline;
}

a:hover {
	color: #333;
	text-decoration: none;
}

th {
	background-color: #EC2230;
	color: #fff;
	padding: 3px;
}

table caption {
	background-color: #EC2230;
	color: #fff;
	padding: 3px;
	font-weight: bold;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	width: 99%;
	margin: auto;
}

td {
	border-bottom: 1px solid #666;
}

tr:hover {
	background-color: #F2F2F2;
}

:focus {
	outline: 0;
}

label, button, input[type="submit"] {
	cursor:pointer;
}

dl { 
	padding: 5px;
	background-color: #F8F8F8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	width: 95%;
	margin: 5px auto 0px auto;;
}

dt {
	font-weight: bold;
	font-size: 13px;
	padding-top: 4px;
}

dd {
	border: 1px dotted #ccc;
	background-color: #fff;
	padding-left: 4px;
}

#bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#content {
	position: relative;
	z-index: 1;
}

#container {
	width: 809px;
	background-color: #fff;
	border: 1px solid #E8E8E8;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	margin: auto;
	padding-top: 10px;
	padding-bottom: 10px;
	overflow: auto;
}

#navigation {
	width: 160px;
	float: left;
	background-image: url("images/logo-bottom.jpg");
	background-repeat: no-repeat;
	border-right: 1px solid #D2A7AA;
	padding-top: 59px;
	overflow: auto;
}

#navigation ul {
	margin: 0;
	padding: 0;
	white-space: nowrap;
	margin-left: 4px;
	padding-top: 10px;
}

#navigation li {
	list-style-type: none;
	background-color: #fff;
	border: 1px solid #666;
	padding: 3px 0px 3px 5px;
	text-transform: uppercase;
	margin-top: 4px;
	width: 145px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	font-weight: bold;
	font-size: 13px;
}

#navigation li:hover {
	border: 1px solid #EC2230;
}

#navigation .active {
	border: 1px solid #EC2230;
	border-right-width: 2px;
	background-color: #F8F8F8;
}

#navigation a {
	display: block;
	text-decoration: none;
	color: #000;
}

#navigation a:hover {
	text-decoration: none;
}

#contentContainer {
	width: 648px;
	float: right;
	background-image: url("images/content-top.jpg");
	background-repeat: no-repeat;
	padding-top: 20px;
}

#sponsorBanner {
	margin: 0px 0px 8px 15px;
	width: 440px;
	background-color: #EC2230;
	text-align: center;
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	padding: 2px;
	float: left;
	font-size: 10px;
}

#mainContent {
	float: left;
	margin: 0px 0px 0px 15px;
	width: 436px;
	border: 1px solid #999;
	-moz-border-radius: 6px;
	-webkit-border-radius: 6px;
	background-image: url("images/background-content.jpg");
	background-position: bottom;
	background-repeat: repeat-x;
	padding: 8px 6px 6px 6px;
	line-height: 150%;
	border-bottom-width: 2px;
}

#mainContent #siteHeader {
	background-image: url("images/background-header.gif");
	background-repeat: no-repeat;
	width: 144px;
	height: 36px;
	text-align: center;
	padding-top: 5px;
	position: relative;
	top: -15px;
	margin-bottom: -40px;
}

#mainContent #siteHeader h1 {
	font-family: arial black, arial, cursive, serif;
	color: #fff;
	font-weight: bold;
	font-size: 17.5px;
}

.contentBox {
	border: 1px dotted #ccc;
	padding-bottom: 5px;
	overflow: hidden;
}

.contentBox:hover {
	border: 1px solid #ccc;
}

#siteHeader + .contentBox {
	padding-top: 25px;
}

#sideBar {
	float: right;
	width: 170px;
}

/* Begin featured news story */

#featuredStory {
	overflow: hidden;
}

#featuredStory .featuredDate {
	text-align: right;
}

#featuredStory .featuredDate p {
	line-height: 100%;
	font-size: 13px;
	font-weight: bold;
	color: #000;
	padding: 4px;
	background-color: #ccc;
	display: inline;
	margin-right: 10px;
}

#featuredStory img + h3 {
	background-color: #AEAEAE;
  	filter: alpha(opacity=85);
  	-moz-opacity: 0.85;
  	opacity: 0.85;
	color: #fff;
	font-weight: normal;
	margin: 0;
	margin-bottom: -28px;
	padding: 5px;
	text-align: right;
	font-size: 20px;
	text-transform: uppercase;
	text-shadow: #000 1px 1px 1px;
	position: relative;
	top: -28px;
	border-bottom: 1px solid #ccc;
	text-decoration: none;
}

#featuredStory img + h3:hover {
  	filter: alpha(opacity=95);
  	-moz-opacity: 0.95;
  	opacity: 0.95;
}

#featuredStory a {
	text-decoration: none;
}

#featuredStory .featuredText {
	padding: 10px;
	overflow: auto;
	font-size: 11px;
}

#featuredStory .featuredText span {
	float: right;
	width: 84px;
	height: 21px;
	text-align: center;
	padding: 3px;
	font-size: 14px;
	margin-bottom: -10px;
}

#featuredStory .featuredText span a{
	text-decoration: none;
	color: #000;
}

#featuredStory .featuredText span a:hover{
	text-decoration: none;
	color: #666;
}

.featuredHeadline {
	text-transform: uppercase;
	letter-spacing: 1px;
	text-align: right;
	font-size: 15px;
}

.fullstoryText {
	font-weight: normal;
	color: #333;
}

.fullstoryText p:first-child {
	font-style: italic;
}

/* End featured news story */

.horizontalRule {
	width: 95%;
	height: 2px;
	background-color: #7F7F7F;
	clear: both;
	margin: 5px auto 5px auto;
}

.showOptions {
	text-align: right;
	color: #666;
	padding: 3px;
}

.showOptions span {
	margin: 2px;
}

.showOptions span .active {
	background-color: #FDE9EA;
}

.showOptions span:hover {
	background-color: #ccc;
}

.showOptions span a {
	padding: 2px;
	text-decoration: none;
	color: #666;
}

.floatLeft {
	float: left;
}

.floatRight {
	float: right;
}

/* News headlines section */

.floatRightDate {
	float: right;
	margin-top: -21px;
	background-color: #ccc;
	padding: 1px;
	clear: left;
}

.newsList {
	margin: 5px 5px 15px 10px;
	padding: 5px;
	white-space: nowrap;
}

.newsList li {
	display: block;
	padding: 3px 0px 3px 5px;
	border-bottom: 1px solid #ccc;
	list-style-type: none;
}

.newsList li:hover {
	background-color: #F3F2F3;
}

.newsList li:first-child {
	border-top: 1px solid #ccc;
}
.newsList li:last-child {
	border-bottom: 2px solid #ccc;
}

.newsList li a {
	text-decoration: none;
	color: #666;
	font-weight: bold;
}
.newsList li a:hover {
	text-decoration: none;
}

/* End of News headlines */

/* Begin Side Bar panels */

.sideBox {
	width: 95%;
	margin: 10px auto 25px auto;
	border: 1px solid black;
	-moz-border-radius: 8px;
	-webkit-border-radius: 8px;
	background-color: white;
	background-image: url("images/background-sidebar.jpg");
	background-position: bottom;
	background-repeat: repeat-x;
	border-bottom-width: 5px;
}

.sideBox .sideHeader {
	color: white;
	font-weight: bold;
	font-size: 20px;
	background-image: url("images/background-side-header.gif");
	background-repeat: no-repeat;
	padding: 2px;
	text-align: center;
	width: 147px;
	height: 34px;
	margin-top: -10px;
}

.sideBox .sideHeader a {
	text-decoration: none;
}
.sideBox .sideHeader a:hover {
	text-decoration: none;
}
/* End Side Bar panels */

.error {
	text-align: center;
	border: 1px solid #FC3C03;
	background-color: #FFFBFB;
	color: #FC3C03;
	padding: 4px;
	margin: 5px 1px 5px 1px;
}

.success {
	text-align: center;
	border: 1px solid #88D1E1;
	background-color: #F7FCFD;
	color: #206F80;
	padding: 4px;
	margin: 5px 1px 5px 1px;
}

.commentBox {
	margin: 5px;
	border: 1px dotted #ccc;
	padding: 5px;
}

.commentBox:hover {
	border: 1px solid #333;
}

.sideBox fieldset {
	border: 1px dotted #ccc;
	background-color: #fff;
}

.sideBox fieldset:hover {
	border: 1px dotted #A6CBF9;
	background-color: #F3F8FE;
}

.sideBox legend {
	padding: 4px;
	background-color: #000;
	color: #fff;
	font-weight: bold;
	text-align: center;
	font-size: 13px;
}

.sideBox input[type="submit"] {
	padding: 3px;
	border: 1px solid #EC2230;
	font-weight: bold;
	background-color: #EC2230;
	color: #fff;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
}

.sideBox input[type="text"] {
	padding: 3px;
	color: #666;
	border: 1px dotted #ccc;
	font-weight: bold;
}

.sideBox input[type="text"]:hover {
	border: 1px solid #ccc;
}

.sideBox input[type="text"]:focus {
	border: 1px solid #F58D95;
}

.sideBox textarea {
	border: 1px solid #ccc;
	padding: 3px;
	color: #666;
}
.sideBox textarea:focus {
	border: 1px solid #F58D95;
}

#footer {
	width: 800px;
  	filter: alpha(opacity=50);
  	-moz-opacity: 0.50;
  	opacity: 0.50;
	background: #fff url("images/icon-footer.jpg") left no-repeat;
	border: 1px solid #E8E8E8;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	margin: 10px auto 5px auto;
	padding: 5px;
	overflow: auto;
	text-align: right;
}

#footer:hover {
  	filter: alpha(opacity=100);
  	-moz-opacity: 1.00;
  	opacity: 1.00;
}

span.moreinfoText {
	float: right;
	width: 84px;
	height: 21px;
	background-image: url("images/background-button.gif");
	background-repeat: no-repeat;
	text-align: center;
	padding: 3px;
	font-size: 12px;
	font-weight: bold;
	margin-top: -5px;
	margin-right: 5px;
}

span.moreinfoText a{
	text-decoration: none;
	color: #fff;
}

span.moreinfoText a:hover{
	text-decoration: none;
	color: #fff;
}
