/*  
medieval denbighshire styles

*/



/* Begin Typography & Colors */
p, ul {font-size: 1.2em;}
p, h1, h2, h3, h4, ul {padding: 5px 5px 5px 20px;}
li {padding: 2px; list-style: none;}
h1, h2, h3, h4, th { color: #78ca47; font-family: Georgia, "Times New Roman", Times, serif; font-weight: bold; } 
h1{font-size: 1.8em; line-height: 1.2em;}
h2{font-size: 1.5em;}
h3{font-size: 1.3em;}

a:link { color: #2ba9e9; font-weight: bold; text-decoration: none; }
a:visited { color: #68ccff; font-weight: normal; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }

/* End Typography & Colors */



/*------------------------------------------------
 Begin Structure
------------------------------------------------*/
* {border: 0; margin: 0; padding: 0;}
body {color: white; font: 62.5%/1.8em "Zapf Chancery", "Comic Sans MS", cursive; background: #0e0e70; text-align: center;}

#page { position: relative; margin: 0 auto; width:918px; text-align: left; background: url(images/bg.jpg) center 204px no-repeat ;}
/*----------------------------------------------------------------
home page layout
-----------------------------------------------*/
body#home #page {border-top: #0e0e70 solid 1px; text-align: left; background: url(images/bghm.jpg) center 0 no-repeat ; height: 500px;}
body#home #maincontent img { padding-bottom: 0;}
/*-home page header layout-----------------------------------------------*/
body#home #header {height: 0; }
body#home #header h1 { background: url(images/hmtitle.gif) 1px top no-repeat; top: 425px; left: 200px; font-size: 3em;}
html[lang="en"] body#home #header h1{background-image: url(images/hmtitle.gif);}
html[lang="cy"] body#home #header h1{background-image: url(images/hmtitlew.gif);}
body#home #header h1 span, body#home #header h2 span {position: relative; top: -300px;}
body#home #header h2 { position: absolute; top: 370px; left: 200px;  background: none; width: 300px; }
/*----------------------------------------------------------------*/
#header { position: relative; top: 0; height: 204px; left: 67px;  width: 800px; margin-bottom: 10px;}

#header a {display: block;}
#header a:hover {text-decoration: none;}
#header h1 span, #header h2 span, #header p span, #header h3 span {position: relative; top: -3000px;}

#header h1{position: absolute; top: 0; left: 0;  padding: 0; background: url(images/h.gif) 1px top no-repeat;}
#header h1, #header h1 a {height: 54px; width: 540px;}
html[lang="en"] #header h1{background-image: url(images/h.gif);}
html[lang="cy"] #header h1{background-image: url(images/h_cy.gif);}


#header h2{position: absolute; top: 0; left: 540px; height: 54px; width: 176px; background: url(images/h_tm.gif) left top no-repeat; padding: 0; margin: 0;}

#header h3{position: absolute; top: 0; left: 716px; height: 204px; width: 84px; background: url(images/h_tt.gif) left top no-repeat; padding: 0;}
#header h3 a, #header h3 {height: 204px; width: 84px;}
/*-home page layout-----------------------------------------------
body#home #header h3 {background-image: url(images/hm_tt.gif);}
/*----------------------------------------------------------------*/


#timeline {position: absolute; top: 54px; left: 0; width: 540px; height: 150px;}
#timeline p.seal {position: absolute; top: 0; left: 1px; height:150px; width: 62px; background: url(images/h_seal.gif) left top no-repeat; padding: 0;}
#timeline p.scale {position: absolute; top: 0; left: 63px; height:150px; width: 654px; background: url(images/h_tl.jpg) left top no-repeat; padding: 0;}
#flashcontent {position: absolute; top: 0; left: 63px; height:150px; width: 654px;}
#timeline p {font-weight: bold; font-size: 1.2em;}

#main {background: #100D63; float: right; width: 617px; margin: 20px 0  30px 0; }
/*border graphic on div#bottom to counter the relative positioning in main content*/
#main #bottom {background: url(images/bgtop_11.gif) left bottom no-repeat; height: 50px; position: relative; top: 30px; left: -1px;}

#maincontent { position: relative; left: 0; top:-20px; width: 617px;  background: url(images/bgtop_09.gif) 100% 0px no-repeat;}
#maincontent p {font-size: 1.3em; line-height: 2em; padding: 10px 20px;}
#maincontent div.post > h3:first-child, #maincontent div.post > h2:first-child  {font-size: 1.8em;}
#maincontent > h2:first-child, div.post > h2:first-child {padding-top: 20px;}
#maincontent > ul:first-child li, div.post > ul:first-child li {display: inline;}
#maincontent .prop {height: 500px; float: left;}
/*------------------------------------------------
main content position and formating for video page and home page
-------------------------------------------------*/
body#video #main {float: right; width: 740px; margin: 20px 0 30px 0; }
body#video #main #bottom { background: url(images/vbtm.gif) left bottom no-repeat;}
body#video #maincontent { position: relative; left: 0; top:-20px; width: 740px;  background: url(images/vtop.gif) 100% 0px no-repeat;}


/*-------------home-------------------*/
body#home #maincontent { background: none;width: 740px;}
body#home #main {background: none; width: 740px;}
body#home #main img {margin: 0 0 0 40px;}
/*------------------------------------*/
div.video {position: relative; left: 20px; border: #000000 groove 2px; height: 495px; width: 700px; background: url(images/paper-bg.jpg);}
div.video object {padding: 0; margin: 0;}
/*nav under title*/
body#video #maincontent div.post  h2.vtitle {padding-top: 8px; float: left;}
body#video #maincontent div.post  ul.vnav {float: left; padding-top: 8px;}
body#video #maincontent div.post  ul.vnav  li {display: inline; margin: 0; padding: 0 10px; }

ul.vnav a {color: white; font-weight: bold; background: #0e0e70; border-style:solid; border-color: #2ba9e9; border-width: 1px 0 ;}
ul.vnav a[title="Video Diary"] {font-variant: small-caps; font-size: 1.2em; }
ul.vnav a:hover {color: #0e0e70; background: #2ba9e9;}
/*----------------------------------------------*/
/*formating for javascript history back*/
ul.vnav a[href*="javascript:history.back();"]{font-style: italic; font-weight: normal; background: none; border: none; }
ul.vnav a:hover[href*="javascript:history.back();"]{border-bottom: #2ba9e9 dotted 1px; color: #fff;}

body#video #maincontent div.post  div.entry { clear: left;}
body#video #maincontent div.post  div.entry p.first { padding-top: 0; padding-bottom: 0;}

/*----------------------------------------------*/

/*----------------------------------------------
google map
----------------------------------------------*/
#map  { position: relative; top:  0px; width: 600px; height: 600px; border: white solid 5px; margin: 20px 50px;}
#map h2.mapheader, #map p, #map h3 {color: #100D63;}
#map h3 {text-align: left;}
#map input {padding: 5px; margin: 10px 0;}
#map div.mapmarker {border-bottom: #eee solid 1px;}
/*----------------------------------------------*/

/*formating for links page: class="infolinks"*/
ul.infolinks {font-size: 1.4em; position: relative; left: 50px;}
ul.infolinks li a {color: white;}
ul.infolinks li a:hover {color: #2ba9e9;}
/*----------------------------------------------*/

/*formating for timetravellers blogs in ARCHIVES */
h2 a[href*="?cat=13"]{color: yellow; background: url(images/tt.gif) left top no-repeat; padding: 15px 5px 20px 60px;}



/*----------------------------------------------*/
#intro { margin: 22px 20px 20px 0; float: right; height: 370px; width: 294px;  background: url(images/featurebg2_09.jpg) left top no-repeat; padding: 0; }

#intro h2 { margin: 40px 0 0 0;color: #f89f1b; padding: 10px 30px 0 30px; text-align: left;}
#intro p {padding: 5px 30px; font-size: 1.4em; text-align: left;}
#intro img {padding: 0;}
#intro img#image67 {position: relative; top: -50px;}
#intro h2:first-letter {float: left; color:#f89f1b; font-size: 1.8em;  }

.clearintro {clear: right;}

/*profile table format*/
.profile {margin-left: 10px; margin-top: 10px;}
.profile p { padding: 6px 40px;}
.profile h2 {color: #f89f1b;}
.profile table{width: 48%; margin: 10px 0 10px 30px; border: #100D63 2px solid ;}
.profile td, .profile p{border-bottom: #0e0e70 1px dotted ;font-size: 1.2em; }
.profile td { padding: 6px 10px; background: url(images/bgtop_09.gif) 1% 10% no-repeat;}
.profile td.name { background-position: 99% 10%; width: 20%; font-weight: bold; color: #f89f1b; border: none; text-align: right;}

.profile tr.item td, .menu tr.item th {border-top: #C2CCD3 dashed 1px;}

.profile th {color: #70809b; font-size: 1.2em; font-weight: normal;}

/*video page position of flash*/
.flashvideo { position: relative; top: 0; left: 0px; height:495px; width: 700px;}


.charactervids { width: 700px; margin: 20px 0; font-size: 1.3em; line-height: 1.8em; padding: 0;}

/*----------------------------------------------
side bar
----------------------------------------------*/
#sidebar {float: left; width: 295px; margin-top: -50px; }
#sidebar ul.sidebar { float: right; background: none; padding: 0; width: 141px; font-size: 90%;}
body#video #sidebar ul.sidebar { display: none;}
/*li for php if statements 'do not display'*/
#sidebar ul.sidebar li.not {display: none;}

/*star selector hack - cos iepc doesn't seem to recognise child selector*/
* html #sidebar ul.sidebar li.pagenav,
* html #sidebar ul.sidebar li.blogtitle, 
* html #sidebar ul.sidebar li.archives { background: url(images/col_10.gif) left top repeat-y; margin: 15px 0; padding: 0;}
#sidebar ul.sidebar > li { background: url(images/col_10.gif) left top repeat-y; margin: 15px 0; padding: 0;}
* html #sidebar ul.sidebar li ul { position: relative;  top: 3px; background: url(images/col_11.gif) left bottom no-repeat; padding-left: 10px;}
#sidebar ul.sidebar li > ul { position: relative;  top: 3px; background: url(images/col_11.gif) left bottom no-repeat; padding: 0;}
* html #sidebar ul.sidebar li h2 { position: relative;  top: -3px; width: 121px; background: url(images/col_08.gif) left top no-repeat; padding:  10px;  }
#sidebar ul.sidebar li > h2 { position: relative;  top: -3px; width: 141px; background: url(images/col_08.gif) left top no-repeat; padding:  10px;   }
#sidebar ul.sidebar li ul > li {padding: 5px 10px;} 

 #sidebar ul.sidebar li.archives ul li { border-left: magenta solid 1px; padding-left: 0; margin-left: 20px;}
 #sidebar ul.sidebar li.archives ul li:before { content: "- "; color: magenta; font-weight: bold;}

/* text formating*/
#sidebar ul li.blogtitle {background: url(images/col_08.gif) left top no-repeat;  text-align: center;}
#sidebar ul li.blogtitle h1 { position: relative; top: 5px; background: url(images/col_11.gif) left bottom no-repeat; font-size: 1.4em;padding: 10px;}
#sidebar ul li.blogtitle h1 a { color: #4d8929;}
#sidebar ul li.blogtitle h1 a:visited { font-weight: bold;}
#sidebar h2 {color: #f89f1b; }

/*-------------------------
login links
-------------------------*/
#loginlinks {position: absolute; top: 160px; left: 0; font-size: 1.4em; }
#video #loginlinks {top: 0;}
#loginlinks li {border-width: 1px 2px 2px 1px; border-style:solid; border-color: #121233; padding: 2px 10px 5px; background-color: #23234f;}
#loginlinks li a { color: #fff; font-weight: bold; background-color: #23234f; padding-top: 0; }

/*-------------------------
qtranslate language choice
-------------------------*/
#language {position:  relative; top:50px; left: -8px; background: url(images/langbg_05.gif) left top repeat-y; width: 146px; text-align: center;}
#language ul {background: url(images/langbg_06.gif) left bottom no-repeat; padding: 0 0 10px 0;}/*flags padding-bottom=5*/

#language p {color: #f1e9cb; padding: 5px 0 0; }

#language ul li { display: inline; padding: 0 3px;}
#language ul li a{ width: 50px; color: white;}
#language ul li a:visited { color: white; font-weight: bold;}
#language ul li a:hover {border-top: white 0px solid; width: 50px;}/*image border-width: 1px*/

a:link { color: #2ba9e9; font-weight: bold; text-decoration: none; }
a:visited { color: #68ccff; font-weight: normal; text-decoration: none; }
a:hover { color: #fff; text-decoration: underline; }


/*.qtrans_flag_and_text { padding-top:20px; background-position: center top; background-repeat: no-repeat;}
.qtrans_flag_en { background-image: url(http://www.timemachinewales.com/wp-content/plugins/qtranslate/flags/gb.png); }
.qtrans_flag_cy { background-image: url(http://www.timemachinewales.com/wp-content/plugins/qtranslate/flags/cy.png); }*/

/*-------------------------*/

/*global nav blog role fomating within side bar*/
#sidebar ul.bloggers { background: none;  padding: 0; margin-top: 60px;}
#sidebar ul.bloggers ul {background: url(images/scrollbg_06.gif) left bottom no-repeat; padding: 0 0 10px 0; width: 146px; margin: 0;}
#sidebar ul.bloggers h2 { background: url(images/scrollbg_03.gif) left top no-repeat; border-bottom: none; color: #330000; padding: 10px 20px;margin: 0;}
#sidebar ul.bloggers li.blogrole  {background: url(images/scrollbg_05.gif) left top repeat-y; position: relative;  margin-top: 10px; padding: 0 ;  width: 146px; }
#sidebar ul.bloggers li.blogrole li {position: relative; left: 20px; width: 120px; background: none;}
#sidebar ul.bloggers li.blogrole a {position: relative;  font-size: 12px; padding-right: 15px; color: #000;}
#sidebar ul.bloggers li.blogrole li a:hover {color: #900; }
#sidebar ul.bloggers li.blogrole li {list-style: none; }
#sidebar ul.bloggers li.blogrole li.current-cat a {color: #900; }

/*-------------------------
side bar for video page and home page
-----------------------------*/
body#video #sidebar, body#home #sidebar { position: relative; width: 150px;}
body#video #sidebar ul.sidebar, body#home #sidebar ul.sidebar { position: absolute; left: 150px; top: 0; background: none; padding: 0; width: 800px; font-size: 62.5%;}


/* Begin Sidebar
#sidebar
{
	padding: 20px 0 10px 0;
	margin-left: 545px;
	width: 190px;
	}
 */
#sidebar form {
	margin: 0;
	}
/* End Sidebar */

/*footer*/

#footer {
	background: url('images/f_20.gif') no-repeat top; 
	border: none;
	padding: 0;
	margin: 0 auto 20px auto;
	width: 760px;
	height: 100px;
	clear: both;
	}
#footer p {
	margin: 0;
	padding: 20px 0;
	text-align: center;
	}
	
/*end fooer*/

.widecolumn .entry p {
	font-size: 1.05em;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}

.alt {
	background-color: none;
	border-bottom: #2ba9e9 1px dashed;
	}


small {
	font-family: Arial, Helvetica, Sans-Serif;
	font-size: 0.9em;
	line-height: 1.5em;
	}





h1, h1 a, h1 a:hover, h1 a:visited, #headerimg .description {
	text-decoration: none;
	color: white;
	}


#wp-calendar caption, cite {
	text-decoration: none;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
	}

.commentmetadata {
	font-weight: normal;
	}



small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: pink;
	}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
	}

acronym, abbr, span.caps
{
	font-size: 0.9em;
	letter-spacing: .07em;
	}


#wp-calendar #prev a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font: bold 1.3em 'Lucida Grande', Verdana, Arial, Sans-Serif;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}




.narrowcolumn {
	float: left;
	padding: 0 0 20px 45px;
	margin: 0px 0 0;
	width: 450px;
	}

.widecolumn {
	padding: 10px 0 20px 0;
	margin: 5px 0 0 150px;
	width: 450px;
	}

.post {
	margin: 0 0 40px;
	text-align: left;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}
 */
.postmetadata {
	clear: left;
}


/* End Structure */







/* Begin Images */

#intro p img {border:  0;}

p img {
border: #F89F1B solid 2px;
	padding: 0;
	margin: 10px;
	max-width: 100%;
	}

p img.generic {border: none;}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {	
	margin: 0 0 6px 11px;
	display: inline;
	}

img.alignleft {
	
	margin: 0 11px 6px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

.entry ul li:before {
	content: "\00BB \0020";
	}

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}



/* End Entry Lists */



/* Begin Form Elements */
#searchform {
position: relative;
top: 10px;
left: -5px;
background: url(images/langbg_05.gif) left top repeat-y;
	margin: 10px auto;	
	text-align: center;
	width: 146px;
	}

h2.center + #searchform {  background: none;}

h2.center + #searchform > div {background: none;}
h2.center + #searchform > div {background: none;}


#searchform  div {
background: url(images/langbg_06.gif) left bottom no-repeat;
padding: 5px 3px; }

#sidebar #searchform #s {
	width: 108px;
	padding: 2px;
	margin: 8px 0 0 0;
	}

#sidebar #searchsubmit {
	padding: 1px;
	margin: 5px 1px;
	border-bottom: #666 solid 2px;
	border-right: #666 solid 2px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}

select {
	width: 130px;
	}

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0 20px;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 3px;
	padding: 5px 10px 3px;
	list-style: none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */







/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}

.navigation {
	display: block;
	text-align: center;
	padding-top: 20px;
	margin: 0 60px 20px 20px;
	}
/* End Various Tags & Classes*/



/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */

