/*======================================================================
Abergele Field Club and Historical Society
url: www.abergelefieldclub.co.uk

author: Michelle Palmer | style:Cymru
Copyright (c) 2009 Michelle Palmer and style:Cymru
www.stylecymru.co.uk

Last update : 04 Apr 2010
======================================================================*/

/*======================================================================
CSS reset
======================================================================*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {margin:0;padding:0;border:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;}
body {line-height:1.5;}
table {border-collapse:separate;border-spacing:0;}
caption, th, td {text-align:left;font-weight:normal;}
table, td, th {vertical-align:middle;}
blockquote:before, blockquote:after, q:before, q:after {content:"";}
blockquote, q {quotes:"" "";}
a img {border:none; outline:none;}
a {outline:none;}

/*======================================================================
Typography default settings
======================================================================*/
body {font-size:62.5%;color:#222;background:#fff;font-family: Verdana, "Helvetica Neue", Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#111;}
h1 {font-size:2.3em;font-weight:bold;line-height:1;margin-bottom:0.5em;}
h2 {font-size:2.0em;margin-bottom:0.75em;}
h3 {font-size:1.8em;line-height:1.5;margin-bottom:1em;}
h4 {font-size:1.6em;line-height:1.25;margin-bottom:1.25em;}
h5 {font-size:1.5em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1.5em;font-weight:bold;}
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p,li {font-size:1.5em;margin:0 0 1.5em;}
li {font-size:1.4em;}
li p {font-size:1em;}
p img.left {float:left;margin:1.5em 1.5em 1.5em 0;padding:0;}
p img.right {float:right;margin:1.5em 0 1.5em 1.5em;}
blockquote {margin:1.5em;color:#333;font-style:italic;background: #ffffec;}
blockquote p {padding:1em;}
strong {font-weight:bold;}
em, dfn {font-style:italic;}
dfn {font-weight:bold;}
sup, sub {line-height:0;}
abbr, acronym {border-bottom:1px dotted #666;}
address {margin:0 0 1.5em;font-style:italic;}
del {color:#666;}
pre {margin:1.5em 0;white-space:pre;}
pre, code, tt {font:1em 'andale mono', 'lucida console', monospace;line-height:1.5;}
li ul, li ol {margin:0 1.5em;}
ul, ol {margin:0 1.5em 1.5em 1.5em;}
ul {list-style-type:disc;}
ol {list-style-type:decimal;}
dl {margin:0 0 1.5em 0;}
dl dt {font-weight:bold;}
dd {margin-left:1.5em;}
table {margin-bottom:1.4em;width:100%;}
th {font-weight:bold;}
thead th {background:#c3d9ff;}
th, td, caption {padding:4px 10px 4px 5px;}
tr.even td {background:#e5ecf9;}
tfoot {font-style:italic;}
caption {background:#eee;}

/*======================================================================
Typography - additional styling
======================================================================*/
.cushycms {} /* external content editor class */
.top_up {} /* external js lightbox */
.link {} /* external js lightbox presets held within html */

.textright {text-align: right;}
.textleft {text-align:left;}
.textmiddle {text-align:center;}
.pmiddle { margin-left:auto; margin-right:auto;}
.fleft { float: left;}
.fright { float: right;}
.clearfix:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.clearfix {display:block;}
.clear {clear:both;}
p.gap { padding-bottom: 2.5em; border-bottom : 1px dashed #a1a6bf;}

/*======================================================================
Main Link styling
======================================================================*/
a {text-decoration: none;}
a:link { color: #009;}
a:visited { color: #009;}
a:focus, a:hover { color: #000; text-decoration: underline;}
a:active{ color: #f00;}

/*More class links*/
.eventlist p.more {margin-left:2em;}
.more a:link, .more a:visited  {
	color : #009;
	background: transparent url(../images/general/more.gif) no-repeat 0 60%;
	padding-left : 20px;
}

/*======================================================================
Body bg set-up
======================================================================*/
body.plain { background: url(../images/general/bg_plain.jpg)  repeat-y center top; width: 100%; display: table;}
body.column { background: url(../images/general/bg_column.jpg)  repeat-y center top; width: 100%; display: table;}

/*======================================================================
Grid layout
======================================================================*/
.size1 { width:60px; margin: 0 10px;	overflow: hidden;	float: left; }
.size2 { width:200px; margin: 0;	overflow: hidden;	float: left; } /* adjusted */
.size3 { width:220px; margin: 0 10px;	overflow: hidden;	float: left; }
.size4 { width:280px; margin: 0 20px;	overflow: hidden;	float: right; } /* adjusted */
.size5 { width:380px; margin: 0 10px;	overflow: hidden;	float: left; }
.size6 { width:440px; margin: 0 20px;	overflow: hidden;	float: left; } /* adjusted */
.size7 { width:540px; margin: 0 10px;	overflow: hidden;	float: left; }
.size8 { width:600px; margin: 0 20px;	overflow: hidden;	float: left; } /* adjusted */
.size9 { width:700px; margin: 0 10px;	overflow: hidden;	float: left; }
.size10 { width:780px; margin: 0 10px;	overflow: hidden;	float: left; }
.size11 { width:860px; margin: 0 10px;	overflow: hidden;	float: left; }
.size12 { width:920px; margin: 0 20px;	overflow: hidden;	float: left; } /* adjusted */

/*box containers*/
.fullwidth { width:960px; margin: 0;	overflow: hidden;	float: left; }
.box { width: 960px; margin: 0 auto; overflow: hidden;}

/*======================================================================
Banner Image Replacement for header
======================================================================*/
#header p { margin-bottom: 0; }

#header p.rir {
	width: 960px;
	height: 180px;
	margin: 0 auto;
	overflow: hidden;
	text-align: left;
	position: relative;
}

#header p.rir span {
	background: url(../images/general/banner.jpg) no-repeat 0 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

/*======================================================================
Main Site Navigation
======================================================================*/
ul#global_nav {
  text-align: center;
	color: #000180;
	background: #e5e5e5 url(../images/general/main_nav_bg.jpg) 0 0 repeat-x;
	overflow: hidden;
	font-size : 1.2em;
	border-top: 1px #333 solid;
	border-bottom: 1px #999 solid;
	margin: 0 0 25px 0;
}

ul#global_nav li {
  float: left;
	list-style:none;
	display: inline; /* Fix IE Bug */
	text-align: center;
	margin:0;
}

ul#global_nav li a {
  display: block; /*makes the floats into blocks of width... */
  width: 160px; /* 960 width divided by 6 */
  padding: 10px 0; /* top and bottom padding */
  text-align: center;
  background: transparent url(../images/general/main_nav_bg.jpg) 0 0 repeat-x;
  text-decoration: none; /* removes underline */
  color : #000180;
}

ul#global_nav li a:hover {
  color : #000;
  background: transparent url(../images/general/main_nav_bg2.jpg) 0 0 repeat-x;
  text-decoration: none;
}

/*Page Here Indicator*/
#one li.one a, #one li.one a:hover,
#two li.two a,  #two li.two a:hover,
#three li.three a, #three li.three a:hover,
#four li.four a, #four li.four a:hover,
#five li.five a, #five li.five a:hover,
#six li.six a, #six li.six a:hover
{
	color: #000;
  background: transparent url(../images/general/main_nav_bg2.jpg) 0 0 repeat-x;
  text-decoration: none;
  cursor : default;
}

/*======================================================================
Footer styling
======================================================================*/
#footer {
	font-size: 0.9em;
	background: #e5e5e5 url(../images/general/main_nav_bg.jpg) bottom left repeat-x;
	border-top: 1px #999 solid;
  border-bottom: 1px #666 solid;
}

#footer p {
	padding: 20px 30px 0 20px;
}

/*======================================================================
Additional Image styling
======================================================================*/
img.picture {
	padding : 5px;
	margin :  10px;
	border : 1px solid #999;
	background: #fff;
}

/* Image Links */
a:link img, a:visited img {
	padding : 5px;
	margin :  10px;
	border : 1px solid #009;
	background: #fff;
}

a:focus img, a:hover img {
	padding : 5px;
	margin :  10px;
	border : 1px solid #000;
	background: #eee;
}

img.linkpic, a img.linkpic {
	margin: 1.5em 0;
	padding: 0;
	border:none;
	background:transparent;
}


/* end of style sheet */
