/************* General default settings first *************/
* { margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6, pre, p, blockquote, ul, ol, dl, fieldset, form, address { margin: .5em 5%; } 

li, dd { margin-left: 5%; }

img { border: 0; }

a:link { color: #000066; font-weight: 700; text-decoration: none; }
a:visited { color: #663366; font-weight: 700; text-decoration: none; }
a:hover, a:focus, a:active { color: #CC0000; font-weight: 700; text-decoration: underline; }

h2 a:link, h2 a:visited { color: #000000; }
h2 a:hover, h2 a:focus, h2 a:active  { color: #cc0000; }

h3 a:link, h3 a:visited { color: #000000; }
h3 a:hover, h3 a:focus, h3 a:active  { color: #cc0000; }

/****** Getting consistent text sizes across browsers (IE5) ******/
body { font-size: 80%; }
/* Resets 1em to 12px. Can cause a small gap at the bottom of the mainbox (due to rounding errors?) */

h1 { font-size: 187.5%; font-weight: 400; }
h2 { font-size: 160%; font-weight: 400; }
h3 { font-size: 125%; font-weight: 700; }
h4 { font-size: 100%; font-weight: 700; }
h5 { font-size: 87.5%; font-weight: 700; }
h6 { font-size: 80%; font-weight: 700; }

pre { font-size: 100%; }
/* To stop pre text being too small */

/************* General layout stuff *************/
body {
margin: 0;
padding: 10px 0 0 0;
text-align: center; /* To center the page in IE */
font-family: Verdana, Helvetica, Arial, sans-serif;
color: #000000;
background-color: #D2E2F2;
word-spacing: 0.1em;
}

#page {
position: relative; /* provides datum for #sidebar */
margin: 0 auto;
text-align: left;
border: 1px solid #666666;
background-color: #6da0d5;
background-image:  url(images/blossom-pink.jpg);
background-repeat: no-repeat;
background-position: 0 0;
max-width: 81em;
min-width: 50em;
min-height: 59em;
}

/******************* Header stuff ******************/
#header { padding-bottom: .5em; }
	
#header h1 { 
margin: .2em .6em 0 .5em;
text-align: right;
font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif;
font-size: 300%; 
letter-spacing: .05em;
}
h1 a:link, h1 a:visited, h1 a:hover, h1 a:focus, h1 a:active  {
font-weight: 400;
color: #f6f6f6;
}

.description {
margin: 0 1.7em;
text-align: right;
font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif;
font-size: 125%; 
letter-spacing: .05em;
text-decoration: none;
color: #f6f6f6;
}

.skip {
height: 0;
width: 0;
overflow: hidden;
}

/************* Sidebar stuff *************/
#sidebar {
position: absolute;
margin-right: 1em;
right: 0;
width: 17em;
margin-top: 1em;
}

#sidebar h2 {
color: #333333;
font-size: 100%;
font-weight: 700;
margin: 0;
background-color: #b0cce8;
padding: .2em .5em .3em .8em;
background-image: url(images/blue-fade-14u.gif);
background-repeat: repeat-x;
background-position: top left;
border-bottom: 1px solid #333333;
}

/******************* Main content stuff ******************/
#content {
margin: .5em 19em 1.5em 11em;
background-color: #D2E2F2;
line-height: 1.4em;
min-width: 20em;
/*opacity: .85;  In CSS3 - not valid CSS2 */
}
#content h2, #content h3 {
background-color: #b0cce8;
background-image: url(images/blue-fade-14u.gif);
background-repeat: repeat-x;
background-position: top left;
font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif;
}
#content h2 {
border-top: 1px solid #557ca5;
padding: .4em .5em .4em .5em;
}
#content h3 {
font-size: 150%; 
font-weight: 400;
border-top: 1px solid #b0cce8;
padding: .2em .5em .4em .5em;
}
h2 a:link, h2 a:visited, h2 a:hover, h2 a:focus, h2 a:active  {
font-weight: 400;
}
h3 a:link, h3 a:visited, h3 a:hover, h3 a:focus, h3 a:active  {
font-weight: 400;
}

/**************** Footer stuff ***************/
#footer p {	
margin: 1em 1em 2em 1em;
text-align: center;
}

/**************** Miscellaneous layout stuff ***************/
.navigation { margin: 0 6%; }

#content h2.pagetitle { 
text-align: center;
margin-bottom: 1em;
}

/* Rounded corners on #content box */
.mbtl, .mbtr, .mbbl, .mbbr { height: 15px; }
.mbtl { background: url(images/tl-main.gif) no-repeat top left; }
.mbtr { background: url(images/tr-main.gif) no-repeat top right; }
.mbbl { background: url(images/bl-main.gif) no-repeat bottom left; }
.mbbr { background: url(images/br-main.gif) no-repeat bottom right; }

.smalltext {
font-family: Helvetica, Arial, sans-serif;
font-size: 85%;
line-height: 1.5em;
color: #555555;
}

.postmetadata { 
text-align: center; 
margin: 1em 10%;
}

.nocomments, .postmetadata, blockquote, strike { color: #555555; }

.entry p a:visited { color: #b85b5a; }

/******************* Images *********************/
.post img { /* default for images in posts */
float: right;
margin: .5em .5em 1em 1em;
border: 1px solid #999999; 
padding: 3px; 
}

.post img.alignleft { 
float: left; 
margin: .5em 1em 1em .5em;
border: 1px solid #999999; 
padding: 3px; 
}

.post .postmetadata { clear: right; } /* to clear floated images */

p img {	max-width: 100%; }
	
img.centered {
display: block;
margin-left: auto;
margin-right: auto;
border: 1px solid #999999; 
padding: 3px; 
}

/******************** Lists ***********************
Special stylized non-IE bullets. Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul { 
margin-left: 0;
padding: 0 0 0 10px;
list-style: none;
text-indent: -10px;
} 

html>body .entry li { margin: 7px 0 8px 10px; } 

.entry ul li:before { content: "\00BB \0020"; }

.entry ol { padding-left: 35px; margin: 0; }

.entry ol li { margin: 0; padding: 0; }

.postmetadata ul, .postmetadata li {
display: inline;
list-style-type: none;
list-style-image: none;
}

#sidebar ul, #sidebar ul ol { margin: 0; }

#sidebar ul li { list-style-type: none; list-style-image: none; }

#sidebar ul ul, #sidebar ul ol { margin: 0 .8em; padding: .3em 0 .5em 0;}

/*#sidebar ul ul li:before { content: "\00BB \0020"; }*/

#sidebar ul ul li, #sidebar ul ol li { margin: .2em 0 0 0; }

#sidebar ul ul ul, #sidebar ul ol {	margin: 0; }

ol li, #sidebar ul ol li { list-style: decimal outside;	}

.widget { /* used in sidebar list */
border: 1px solid #000000;
background-color: #D2E2F2;
margin: 1em 2em 1em 2.5em;
}

.widget_search { border: none; background-color: #6da0d5; margin: 0 0 0 0.7em; }
.widget_search label { display: none; }

.sidebartext {
display: none;
color: #f6f6f6;
margin: .5em 1.5em .5em 2em; 
}

.entrytext li { 
font-weight: 700; 
line-height: 1.6;
}


/******************* Forms ***********************/
#sidebar form { margin: 1.5em 0 0 1.9em; }

#sidebar #searchform #s {  }

#sidebar #searchsubmit { 
width: 5em;
background-color: #9FC1E3;
border-color: #9FC1E3;
color: #333333;
font-weight: 700;
padding-top: .1em;
padding-bottom: .1em;
margin: 8px 0 0 2px;
}

.entry form { /* This is mainly for password protected posts, makes them look better. */
text-align:center;
}

select { width: 9em; }

#commentform input { padding: .1em; }

#commentform textarea {
margin: 1em 0 .5em 0;
width: 87%;
}

#commentform #submit { 
float: right;
margin-right: 4em; 
}

/********************* Comments **********************/
.alt {
padding: .8em;
background-color: #f6f6f6;
border-top: 1px solid #999999;
border-bottom: 1px solid #999999;
}

h3#comments, h3#respond {margin-top: 1.5em;}
		
.commentlist { margin: 0 10%;}
	
.commentlist li { /* overides .alt */
margin: 1em 0;
padding: .5em 1em;
list-style: none;
background-color: #f6f6f6;
border: 1px solid #999999;
}
	
.commentlist cite, .commentlist cite a {
font-style: normal;
font-size: 110%;
font-weight: 700;
}	

.nocomments {
text-align: center;
margin: 0;
padding: 0;
}

.commentmetadata {
margin: .5em 0;
font-weight: 400;
}

.commentmetadata a:link, .commentmetadata a:visited, .commentmetadata a:hover, .commentmetadata a:focus, .commentmetadata a:active { font-weight: 400; }

/******************* Bits and bobs *******************/
.spacer { clear: both; }
.alignright { float: right; }	
.alignleft { float: left }
.nomargins { margin: 0; }
.center { text-align: center; }

hr { display: none;	}
cite { text-decoration: none; }
acronym, abbr, span.caps { cursor: help; }	
acronym, abbr { border-bottom: 1px dashed #999999; }
code { font-family: 'Courier New', Courier, Fixed; }

.codeinpost {
margin: 1em 8%;
padding: .5em 1em;
background-color: #f6f6f6;
border: 1px solid #999999;
}

blockquote {
margin: 1em 2em 0 1em;
padding-left: 1.5em;
border-left: 5px solid #dddddd;
}

blockquote cite {
margin: .5em 0 0 0;
display: block;
}

small { /* temp */
color: #FF0033;
}

#recaptcha_area { margin-left: 2.4em; }

/**** add-to-any ****/
.addtoany_share_save_container{ margin: 1em 5%; text-align: right; }

	ul.addtoany_list{
		display:inline;
		list-style-type:none;
		margin:0 !important;
		padding:0 !important;
		text-indent:0 !important;
	}
	ul.addtoany_list li{
		background:none !important;
		border:0;
		display:inline !important;
		line-height:32px;		
		list-style-type:none;
		margin:0 !important;
		padding:0 !important;
	}
	ul.addtoany_list li:before{content:"";}
	ul.addtoany_list li a{padding:0 9px;}
	ul.addtoany_list img{
		float:none;
		border:0;
		margin:0;
		padding:0;
		vertical-align:middle;
	}
	ul.addtoany_list a img{
		opacity:.6;
		-moz-opacity:.6;
		filter:alpha(opacity=60);
	}
	ul.addtoany_list a:hover img, ul.addtoany_list a.addtoany_share_save img{
		opacity:1;
		-moz-opacity:1;
		filter:alpha(opacity=100);
	}
	a.addtoany_share_save img{border:0;width:auto;height:auto;}