/* General element styles */

body
{
	background-color: white;
	/*background-image: url(images/background-gradient-lightblue-white.jpg);*/
	background-repeat: repeat-x;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

blockquote
{
  margin: 0 0 0 30px;
  padding: 10px 0 0 20px;
  font-size: 88%;
  line-height: 1.5em;
  color: #666;
  background: url(images/quotes.gif) no-repeat top left;
}

blockquote p
{
  margin-top: 0;
}

p {
	font-size: 1.0em;
}

p.start {
	font-size: 1.0em;
}

p.start:first-letter
{
	color: #369b01;
	font-size: 2.5em;
	text-transform: capitalize;
}

h1 {
	font-size: 1.8em;
}

h2 {
	font-size: 1.4em;
}

h3 {
	font-size: 1.2em;
}

h4 {
	font-size: 1.0em;
}

#container {
	background: white url(images/body.jpg) repeat-y left;
	margin: 0 auto;
	padding: 0;
	width: 760px;
}

/* Header */

#header {
	background: white url(images/header-760x232.jpg) no-repeat top left;
	height: 232px;
}

/* Site title and description */

#site-title {
	padding: 5px 20px 0 10px;
}

#site-title h1, #site-title p {
	display: inline;
}

#site-title h1 {
	float: left;
	font-size: 1.4em;
	margin: 0;
	padding: 5px 0 0 0;
}

#site-title h1 a {
	text-decoration: none;
	color: #0268cd;
}

#site-title h1 a:hover {
	color: #fe9b00;
}

#site-title p {
	float: right;
	margin: 0;
	padding-top: 18px;
	font-size: 0.7em;
	font-weight: bold;
	color: #369b01;
}

/* 3 coloured boxes */

#boxes {
	clear: both;
	margin: 0px;
	padding: 0px;
	font-weight: 500;
}

#boxes a {
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}

#boxes a:hover {
	text-decoration: underline;
}

#orangebox, #bluebox, #greenbox {
	overflow: hidden;
}

#orangebox p, #bluebox p, #greenbox p {
	margin: 0px;
	padding: 2px 0 2px 0;
	font-size: 0.8em;
	color: #000000;
}

#orangebox h2, #bluebox h2, #greenbox h2 {
	margin: 0;
	padding: 0 0 2px 0;
	font-size: 0.9em;
	color: #000000;
	border-bottom: 1px solid #6b6b6b;
}

#orangebox {
	float: left;
	width: 210px;
	height: 150px;
	margin: 0;
	padding: 20px 10px 0px 20px;
}

#bluebox {
	float: left;
	width: 210px;
	height: 150px;
	margin: 0;
	padding: 20px 20px 0px 28px;
}

#greenbox {
	float: left;
	width: 210px;
	height: 150px;
	margin: 0;
	padding: 20px 0px 0px 18px;
}

/* Content */

#content {
	float: right;
	margin: 0;
	padding: 0 40px 10px 10px;
	text-align: justify;
	width: 530px;
	font-size: 0.8em;
}

#content h2 {
	font-size: 1.4em;
	margin: 0 0 10px 0;
	padding: 5px 0 2px 0;
	color: #0268cd;
	border-bottom: 3px solid #c0c0c0;
}

#content p {
	/*padding: 0 0 7px 0;*/
	/*margin: 0;*/
}

#content a, #footer a {
	color: #0268cd;
	font-weight: bold;
	text-decoration: none;
}

#content a:hover, #footer a:hover {
	color: #fe9b00;
}

.info {
	font-size: 0.8em;
	font-weight: bold;
	color: #369b01;
	border-bottom: 2px solid #c0c0c0;
	padding-bottom: 2px;
}

/* Sidebar */

#sidebar { float: left; width: 160px; margin: 0; padding: 11px 0 0 20px; font-size: 0.8em; }
#sidebar h2 { font-size: 1.2em; margin: 0 0 5px 0; color: #0268cd; border-bottom: 3px solid #c0c0c0; width: 150px; }
#sidebar ul { margin: 0 0 0 5px; padding: 0 0 10px 0; font-size: 90%; }
#sidebar li { margin: 0; padding: 0px 0 0 20px; list-style: none; font-size: 90%; }

#sidebar table.accountboxred { border: none; font-size: 90%; width: 150px; background-color: #ffefef; }
#sidebar th.accountboxred { border: none; font-size: 90%; background-color: #ef1f1f; color: #ffffff; }
#sidebar a.accountboxred { color: #ffffff; text-decoration: none; }
#sidebar a.accountboxred:hover { color: #ffffff; text-decoration: underline; }
#sidebar input.accountboxred { border: 1px solid black; width: 135px; font-size: 90%; }

#sidebar table.accountboxgreen { border: none; font-size: 90%; width: 150px; background-color: #efffef; }
#sidebar th.accountboxgreen { border: none; font-size: 90%; background-color: #1fef1f; color: #ffffff; }
#sidebar a.accountboxgreen { color: #000000; text-decoration: none; }
#sidebar a.accountboxgreen:hover { color: #000000; text-decoration: underline; }
#sidebar input.accountboxgreen { border: 1px solid black; width: 135px; font-size: 90%; }


#sidebar ul.main-nav li { background: url(images/orange-button.jpg) no-repeat left top; font-size: 90%; }
#sidebar ul.archive li { background: url(images/blue-button.jpg) no-repeat left top; font-size: 90%; }
#sidebar ul.archive li.bronze { background: url(images/bronze-button.png) no-repeat left top; font-size: 90%; }
#sidebar ul.archive li.silver { background: url(images/silver-button.png) no-repeat left top; font-size: 90%; }
#sidebar ul.archive li.gold { background: url(images/gold-button.png) no-repeat left top; font-size: 90%; }
#sidebar ul.category li { background: url(images/green-button.jpg) no-repeat left top; font-size: 90%; }

#sidebar li a, #sidebar a:visited { text-decoration: none; line-height: 18px; font-weight: bold; color: #0268cd; font-size: 90%; }
#sidebar li a:hover { color: #fe9b00; font-size: 90%; }

/* Footer */

#footer { clear: both; background: url(images/footer.jpg) no-repeat top right; height: 53px; text-align: center; }
#footer p { color: #6B6B6B; padding: 15px 10px 0 10px; font-size: 0.7em; }

/* Various styles */

.left {
	float: left;
	padding: 5px;
	margin: 0 5px 5px 0;
	border: 1px solid #000;
}

.right {
	float: right;
	padding: 5px;
	margin: 0 0 5px 5px;
	border: 1px solid #000;
}

.messageform
{
	font-family:Georgia, Times New Roman;
	border:2px dotted #000000;
	padding:7px 7px 7px 7px;
	background-color:#efefef;
}

a[rel=pdf]:link { padding-right: 19px; background: url(images/pdf-link.gif) no-repeat center right; }
a[rel=pdf]:visited { padding-right: 19px; background: url(images/pdf-link.gif) no-repeat center right; }

a[rel=doc]:link { padding-right: 19px; background: url(images/doc-link.gif) no-repeat center right; }
a[rel=doc]:visited { padding-right: 19px; background: url(images/doc-link.gif) no-repeat center right; }

a[rel=zip]:link { padding-right: 17px; background: url(images/zip-link.gif) no-repeat center right; }
a[rel=zip]:visited { padding-right: 17px; background: url(images/zip-link.gif) no-repeat center right; }

/* Identify off-site links (Option 1):
-- This method works in Firefox, IE7, and Safari (not IE6)
-- This method requires that you tag external links with rel="external"
-- Set to show icons only in .contentcolumn; you might want to change this, or comment out .contentcolumn to show icons everywhere
*/
a[rel=external]:link { padding-right: 15px; background: url('images/external-link.gif') no-repeat center right; }
a[rel=external]:visited { padding-right: 15px; background: url('images/external-link.gif') no-repeat center right; }

/* Identify off-site links (Option 2):
-- This method works in Firefox and Safari (not IE7 or IE6)
-- This method requires that you substitute 'domain.com' for your domain name, omitting the 'www'
-- Set to show icons only in .entry-content; you might want to change this, or comment out .entry-content to show icons everywhere
*/
/*
.contentcolumn a[href^="http://"]:not([href*="domain.com"]) { padding-right: 15px; background: url('images/external-link.gif') no-repeat center right; }
.contentcolumn a:visited[href^="http://"]:not([href*="domain.com"]) { padding-right: 15px; background: url('images/external-link.gif') no-repeat center right; }
*/

/* Identify off-site links (Option 3):
-- This method works in Firefox, Safari, IE7 and IE6 but does not differentiate between visited/ unvisited links
-- This method requires activation of the Link Indication WP plugin from http://sw-guide.de/wordpress/plugins/link-indication/
-- Class="liexternal" is applied to off-site links in post/ page content automatically (does not apply to sidebar links)
*/
/*
a.liexternal { padding-right: 15px; background: url('external-link.gif') no-repeat center right; }
*/

/* www.dynamicdrive.com */

.commentbox
{
	background-color: #ececec;
	width: 500px;
	padding: 10px;
}

.commentfooter
{
	background: url(images/commentbox-arrow.gif) 20px 0 no-repeat; /*20px 0 equals horizontal and vertical position of arrow. Adjust as desired (ie: 20px -5px).*/
	padding-left: 58px;
	padding-top: 1px;
	margin-bottom: 2em;
	color: #4a4a4a;
}

.formbutton
{
	cursor:pointer;
	border: outset 1px #cccccc;
	background:#99999;
	color: #66666;
	font-weight:bold;
	padding: 1px 2px;
	background:url(images/form-background.gif) repeat-x left top;
}


.cssform p
{
	width: 345px;
	clear: left;
	margin: 0;
	padding: 5px 0 8px 0;
	padding-left: 155px; /*width of left column containing the label elements*/
	border-top: 1px dashed gray;
	height: 1%;
}

.cssform label
{
	font-weight: bold;
	float: left;
	margin-left: -155px; /*width of left column*/
	width: 150px; /*width of labels. Should be smaller than left column (155px) to create some right margin*/
}

.cssform input[type="text"]
{ /*width of text boxes. IE6 does not understand this attribute*/
	width: 180px;
}

.cssform textarea
{
	width: 250px;
	height: 150px;
}

/*.threepxfix class below:
Targets IE6- ONLY. Adds 3 pixel indent for multi-line form contents.
to account for 3 pixel bug: http://www.positioniseverything.net/explorer/threepxtest.html
*/

* html .threepxfix
{
	margin-left: 3px;
}