/*=======================
style:Cymru Layout CSS
Last update : 11 Mar 2008
author: brynmor harries
www.stylecymru.co.uk
=======================*/

/*=====================
Global Styling Reset
=====================*/
html, body, div, span, blockquote, a, img, ol, ul, li, h1, h2, h3, h4, h5, h6, p {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-family: inherit;
	vertical-align: baseline;
}

h1, h2, h3, h4, h5, h6 {
	font-weight : normal;
}

ol, ul {
	list-style: none;
}

hr {
	display: none;
}

/*=====================
General Page Layout
=====================*/
body {
	min-width: 650px; /* netscape bug fix */
	color : #333;
	background: #fefefc url(../images/general/bodybg2.jpg) repeat-x bottom right;
	font: 62.5%/1.5 Verdana, Geneva, Arial, Helvetica, sans-serif;
}

/*==============================
General Typography
==============================*/
h2 {
	font-size: 3.0em;
	letter-spacing: 0;
	line-height: 1.0;
	/*color: #7E9B1B;*/
	color : #981e18;
	margin: 0 0 0.8em;
}

h3 {
	font-size: 2.4em;
	line-height: 1.0;
	color: #7E9B1B;
	margin-bottom: 0.5em;
}

h4 {
	font-size: 1.8em;
	line-height: 1.2;
	color: #7E9B1B;
	margin-bottom: 0.8em;
	margin-top : 1.2em;
}

p {
	font-size: 1.5em;
}

p, ul, ol {
	margin-bottom: 1.2em;
}

strong {
	font-weight : bold;
}

em {
	font-style : italic;
}

input, textarea {
	font-size : 1em;
}

blockquote {
	font-size: 1.5em;
	padding : 2em;
	margin-bottom: 1.5em;
	background: #eee;
	border : 1px solid #f1f1f1;
	font-style:italic;
}

/*==============================
Header Styling
==============================*/
#header  {
	position: relative;
	width: 90%;
	margin: 0 auto;
	padding : 30px 5% 30px 5%;
	background: #e4e3e3 url(../images/general/headbg.jpg) repeat-x 0 0;
	border-bottom : 1px solid #999;
	/* padding = 100% - container width +10%  */
}

#header h1 {
	float: left;
}

.linkbit {
	float: right;
	width: 250px;
	display : block;
	text-align : right;
}

.linkbit p {
	font-size: 1.8em;
	margin: 0;
	padding: 0;
}

/*==============================
Banner Image Replacement for header
==============================*/
.rir { 
	width: 396px;
	height: 101px;
	position: relative;
}

.rir span {
	background: url(../images/general/header.jpg) no-repeat 0 0;
	width: 100%;
	height: 100%;
	position: absolute;
}

/*======================================
MiniAdvert Layout
adapted from
http://www.cssglance.com/news/pure-css-miniadv/
======================================*/
.miniadvert {
	clear: right;
	float: right;
	width: 240px;
	margin: 10px 0 0 0;
	padding: 0 3px 3px;
	border: 1px solid #999;
	background: #fff;
}

#footer .miniadvert {
	background: transparent;
	border : none;
}

#header .miniadvert p, #footer .miniadvert p {
	font-size:80%;
	font-weight: bold;
	width: 100%;
	margin: 0 auto 7px;
	padding-top: 3px;
	padding-bottom: 3px;
	text-align : right;
}
	
.miniadvert ul {
	margin:0;
	padding:0;
	list-style:none
}

.miniadvert ul li {
	float:left;
	margin:0 2px 2px 0
}

.miniadvert a {
	float:left;
	position:relative;
	z-index:5;
	background-color:#E1EAC1;
	color:#000;
	text-decoration:none;
	width:18px;
	height:18px;
}

#footer .miniadvert a {
	background-color: #C6D88B;	
}

.miniadvert a:hover {
	z-index:10;
	background:#4e7200;
}

.miniadvert a span {
	display:none
}

.miniadvert a span strong {
	display:block;
	color: #4e7200;
	margin-bottom:3px
}

.miniadvert a:hover span {
	display:block;
	position:absolute;
	bottom:2em;
	right:2em;
	padding:4px;
	width:135px;
	border:1px solid #4e7200;
	background:#fff;
	color:#000;
	font-size:80%
}

.miniadvert img {
	border:0
}

/*==============================
Container Styling
==============================*/
#container {
	/*width: 85%;*/
	width: 85%;
	max-width : 1000px;
	min-width : 700px;
	margin: 0 auto;
	padding: 30px 0 0 0;
	background: #fffffc;
	border-left: 1px solid #ddd;
	border-right: 1px solid #ddd;
	/*border-bottom : 1px solid #ccc;*/
}

/*==============================
Breadcrumb Styling
==============================*/
p#breadcrumb {
	font-size: 1.3em;
	color: #333;
	background : #d0cece url(../images/general/menubg1.jpg) repeat-x 0 0;
	padding: 5px 5px 0.8em 8px;
	text-transform : lowercase;
	border-bottom : 1px solid #999;;
}

p#breadcrumb:hover {
	background : #ffc url(../images/general/menubg3.jpg) repeat-x 0 0;
}

/*==============================
Main Content Styling
==============================*/
#maincontent {
	float: right;
	width: 65%;
	margin: 0 1% 1% 0;
	display: inline;
}

#maincontent p, 
#maincontent h2,
#maincontent h3,
#maincontent h4,
#maincontent ul,
#maincontent ol
{
	padding-left: 30px;
}

#maincontent h4 {
	font-weight : bold;
}

#maincontent ul li {	
	font-size: 1.5em;
	padding-left: 15px;
	margin-bottom: 1.3em;
	background: url(../images/general/arrow.gif) no-repeat 0 0.5em;
}

#maincontent ol li {	
	font-size: 1.3em;
	/*padding-left: 15px;*/
	margin-left : 15px;
	margin-bottom: 1.3em;
	list-style-type : decimal;
}

#form input.txt:focus, #form textarea.txt:focus {
	color: #000;
	background: #e1eac1;
}

#maincontent p.picture {
	margin: 0 auto 1em;
}

#maincontent p.picture img {
	padding: 5px;
	border: 1px solid #ccc;
	background: #fff;
}

#maincontent p.highlight {
	font-weight : bold;
	background : #e1eac1;
	padding : 0.5em  30px;
	margin-right: 5%;
}

/*==============================
Panel Styling - Main Content
==============================*/
#maincontent .panel {
	padding : 20px 10px 0 0;
	margin-bottom: 2em;
	background: #ffe;
	border : 1px solid #f1f1f1;
	float : left; /* IE fix */
	width: 95%
}

#maincontent .panel:hover {
	background: #F8FFDB;
}

#maincontent .panel p {
	font-size: 1.7em;
	padding-right: 10px;
}

#maincontent .panel li {
	font-size : 1.6em
}

#maincontent .panel img {
	margin: 0 10px 1.2em 30px;
	padding: 5px;
	border: 1px solid #ccc;
	background: #fff;
}

#maincontent .panel a:hover.pic {
	color: #fff;
	background-color: transparent;
	text-decoration: none;
}

#maincontent .panel .pic img:hover {
	border: 1px solid #4e7200;
	background: #ddd;
}

/*==============================
Half Panel Styling - Main Content
==============================*/
#maincontent .halfpanel {
	float: left;
	display : inline;
	width: 49%;
	padding : 20px 0;
	margin : 0 3px 10px 0;
	min-width: 250px;
	border: 1px solid #fff;
}

#maincontent .halfpanel:hover {
	background: #ffe;
	border: 1px solid #f1f1f1;
}

#maincontent .halfpanel h3 {
	font-size : 2em;
}

#maincontent .halfpanel p {
	font-size: 1.5em;
	line-height : 1.5em;
	margin: 0;
}

#maincontent .halfpanel ul {
	margin-top: 1em;
}

#maincontent .halfpanel img {
	display : block; /* IE bug fix */
	margin: 0 10px 1.2em 30px;
	padding: 5px;
	border: 1px solid #ccc;
	background: #fff;	
}

#maincontent .halfpanel a:hover.pic {
	color: #ffe;
	background-color: transparent;
	text-decoration: none;
}

#maincontent .halfpanel .pic img:hover {
	border: 1px solid #4e7200;
	background: #ddd;
}

/*==============================
Portfolio Styling - Main Content
==============================*/
#maincontent .portfolio {
	float: left;
	display : inline;
	/*width: 145px;
	height: 28em;*/
	margin : 0 5px;
	padding : 5px 0 0 0;
	background: transparent;
	border: 1px solid #fff;
}

#maincontent .portfolio:hover {
	background: #f1f1f1; /*ffe*/
	border : 1px solid #ddd;
}

#maincontent .portfolio p.picture a:hover {
	background: none;
}

#maincontent .portfolio p
{
	padding : 0 0 0.8em;
	margin : 0;
	text-align : center;
}

#maincontent .portfolio p {
	font-size : 1.2em;	
}

#maincontent .portfolio p.picture {
	margin: 0 auto;
	padding : 0 5px;
}

/*==============================
Sub Content Styling
==============================*/
#subcontent {
	float: left;
	width: 25%;
	margin: 0 0 0 3%;
	display: inline;
}

#subcontent h3,
#subcontent p
{
	padding-left: 5px;
	padding-right: 5px;
}

#subcontent h3 {
	font-size: 2.5em;
	margin-bottom: 0.7em;
}

#subcontent p {
	font-size: 1.5em;
}

/*==============================
Shortbits Styling - Sub Content
==============================*/
.shortbits {
	list-style: none;
	font-size: 1.4em;
	line-height : 1.7em;
	margin-bottom: 2.0em;
}

.shortbits li {
	font-size : 1em;
	padding-left: 15px;
	margin-bottom: 1.3em;
	background: url(../images/general/arrow.gif) no-repeat 0 0.5em;
}

ul.shortbits li p {
	background : #ccc;
}

#subcontent p.pic {
	margin: 0 auto 1.2em auto;
	display : block;
	text-align : center;
}

#subcontent .pic img {
	padding: 5px;
	border: 1px solid #ccc;
	background: #fff;
}

#subcontent a:hover.pic {
	color: #fff;
	background-color: transparent;
	text-decoration: none;
}

/*==============================
Footer Styling
==============================*/
#footer {
	clear : both;
	display : block;
	background: #fafafa url(../images/general/footerbg.jpg) repeat-x bottom left;
	border: 1px solid #ddd;
	padding: 0 5% 30px 5%;
	margin: 0 auto;
	/* padding = as for header */
}

#footer h3 {
}

#footer .footblock {
	float: left;
	width: 40%;
	margin-top: 20px;
}

#footer .footblock p {
	font-size: 1.4em;
	/*line-height : 1.7em;*/
	margin: 1em 0 0 0;
}

#footer p.copyright {
	float: right;
	margin: 30px 0 0 0;
}

/*==============================
Navigation Styling
==============================*/
#menu ul {
	list-style: none;
	font-size: 1.5em;
	background-color: #E9E9E9;
	margin-bottom: 2em;
}

#menu li {
	display: inline; /* Fix IE Bug 
	border-top: 1px solid #ccc;*/
}

#menu a {
	font-weight : bold;
	text-decoration: none;
	display: block;
	color: #4e7200;
	padding: 6px 8px 6px 20px;
	border-left: 5px solid #999;
	background : #d0cece url(../images/general/menubg1.jpg) repeat-x 0 0;
	border-top: 1px solid #ccc;
}

#menu .first, #menu .first a {
	border-top: none;
}

#menu a:hover, #menu a:active, #menu a:focus {
	padding-left: 20px;
	border-left: 5px solid #4e7200;
	color: #000;
	background : #ffe url(../images/general/menubg3.jpg) repeat-x 0 0;
}

/* Navigation You Are Here Styling*/
.news #menu .news a,
.design #menu .design a,
.portfolio #menu .portfolio a,
.articles #menu .articles a,
.downloads #menu .downloads a
 {
	padding-left: 20px;
	border-left: 5px solid #4e7200;
	color: #333;
	cursor : default;
	background : #ffc url(../images/general/menubg2.jpg) repeat-x 0 0;
}

/*==============================
Link Styling
==============================*/
a {
	outline: none;
}

a:link, a:visited {
	/*color: #4580B3;*/
	color : #4e7200;
}

a:hover, a:active, a:focus {
	color: #fff;
	background-color: #4e7200;
	text-decoration: none;
}

#header a:link,
#header a:visited,
h2 a:link,
h2 a:visited,
h3 a:link,
h3 a:visited {
	color: #7e9b1b;
}

#header a:hover,
#header a:active,
#header a:focus,
#footer a:hover,
#footer a:active,
#footer a:focus,
h2 a:hover,
h2 a:active,
h2 a:focus,
h3 a:hover,
h3 a:active,
h3 a:focus  {
	color: #fff;
	background-color: #7e9b1b;
}

#footer h3 a {
	text-decoration : none;
}

#footer a:link,
#footer a:visited {
	color : #981e18;	
}

#footer a:hover {
	color : #fff;
	background-color : #981e18;
}

/*==============================
Utilities
==============================*/

/* Clearfix */
#header:after, #container:after, #footer:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

#header, #container, #footer {
	display: inline-block;
}

/* Hides from IE-mac \
*html #header, *html #container, *html #footer {height: 1%;}*/
#header, #container, #footer {display: block;}
/* End hide from IE-mac */

.clearing {
	clear : both;
	padding-top : 1.5em;
}

.textright {
	text-align : right;
	padding-right : 10px;
}

.textmiddle {
	text-align : center;
}