/*======================================================================
J&M Photography CSS

author: brynmor harries and  michelle palmer
url:    www.stylecymru.co.uk

Last update: 15 Dec 2009
======================================================================*/

/*======================================================================
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:85%;color:#fff;background:#000;font-family: Verdana, "Helvetica Neue", Arial, Helvetica, sans-serif;}
h1, h2, h3, h4, h5, h6 {font-weight:normal;color:#eee;}
h1 {font-size:3em;line-height:1;margin-bottom:0.5em;}
h2 {font-size:2em;margin-bottom:0.75em;}
h3 {font-size:1.5em;line-height:1;margin-bottom:1em;}
h4 {font-size:1.2em;line-height:1.25;margin-bottom:1.25em;}
h5 {font-size:1em;font-weight:bold;margin-bottom:1.5em;}
h6 {font-size:1em;font-weight:bold;}
blockquote {margin:0 1.5em 1em;color:#333;font-style:italic;background: #0000ec;}
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;}

p.textright {text-align: right;}
p.textleft {text-align:left;}

/*======================================================================
Typography utilities
======================================================================*/
.clearfix:after {content:"\0020";display:block;height:0;clear:both;visibility:hidden;overflow:hidden;}
.clearfix {display:block;}
.clear {clear:both;}

.fleft {float:left;}
.fright {float:right;}

/*======================================================================
Typography and image default settings
======================================================================*/
h1 img, h2 img, h3 img, h4 img, h5 img, h6 img {margin:0;}
p {margin:0 0 1.5em;}
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;}

/*======================================================================
Typography - additional styling
======================================================================*/
h1, h2, h3 {font-family:Georgia, "Times New Roman", Times, serif;}
span.first {font-weight: bold;}
.cushycms {} /* external content editor class */
.middle { text-align:center;}

/*======================================================================
Links styling
======================================================================*/
a:focus, a:hover {color:#72bdff;text-decoration:none;}
a {color:#fff;text-decoration:underline;}

/*======================================================================
Body Adjustment
======================================================================*/
body {
	text-align : center;
	margin :  0 auto;
}

/*======================================================================
Grid layout
======================================================================*/
.size1 { width:60px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size2 { width:140px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size3 { width:220px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size4 { width:300px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size5 { width:380px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size6 { width:460px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size7 { width:540px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size8 { width:620px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size9 { width:700px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size10 { width:780px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size11 { width:860px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }
.size12 { width:940px; margin: 0 10px;	overflow: hidden;	float: left; display: inline; }

.box { width: 960px; margin: 0 auto; overflow: hidden; text-align: left;}
.box .box { margin: 0 -10px; width: auto;}

/*======================================================================
Page Backgrounds:
======================================================================*/
#top_panel {
	padding:5px 0;
	background:#000;
}

#maincontent {
	font-size: 1.2em;
	color: #eee;
	background : #000;
}

#footer {
	color: #fff;
	background: #000 url(../images/general/footerpic.jpg) no-repeat 50% 0;
	overflow:hidden;
	text-align: left;
}

/*======================================================================
Banner Image Replacement for header
======================================================================*/
#header h1 { margin-bottom: 0; } /* removes h1 margin set in reset for image replacement in header */

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

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

/*======================================================================
Footer styling
======================================================================*/
#footer { margin-top:1.5em; background : #000 url(../images/general/menu_bg.jpg) repeat-x top left;}
#footer p { padding: 30px 0 0;}

/*======================================================================
Global Site Navigation Layout
======================================================================*/
#globalnav {
	width: 100%;
	color : #aaa;
	background : #000 url(../images/general/menu_bg.jpg) repeat-x top left;
	text-align : center;
	padding: 20px 0 5px 0;
	margin-bottom:10px;
	font-size:1.5em;
	border-bottom:1px solid #333;
}

#globalnav ul {
	margin : 0 auto;
	padding: 0;
	list-style : none;
}

#globalnav li {
	float: left;
	margin: 0;
	padding: 0;
	overflow: hidden;
	position: relative;
}

/*tab styles*/
#globalnav li a {
	display: block;
	width: 240px;
	padding: 10px 0;
	text-align : center;
	color: #aaa;
	background : transparent;
	text-decoration: none;
	outline: none;
}

#globalnav a:hover,
#globalnav a:focus,
#globalnav a:active {
	color: #72bdff;
	background : transparent;
}

/*Page Here Indicator*/
#one li.one a,
#two li.two a,
#three li.three a,
#four li.four a,
#five li.five a,
#six li.six a,
#seven li.seven a
 {
	cursor: default;
	color : #72bdff;
	background : transparent;
}

/*======================================================================
Additional Image styling
======================================================================*/
.feature img { padding: 4px; background: #fff; border: 1px solid #999; margin:0 auto; }
h2.admin {color:#72bdff; text-align:center;}
img.picleft {float:left; margin-right:1em; margin-bottom:1em;}
img.picright {float:right; margin-left:1em; margin-bottom:1em;}

/*======================================================================
Gallery thumbs Styling
======================================================================*/
div.thumbs {
	margin-bottom: 1em;
}

div.thumbs a img {
	padding: 5px;
	background: #fff;
	border: 1px solid #00f;
}

div.thumbs a:hover img {
	background: #efefef;
	border: 1px solid #000;
}
