/*CSS for Friends and Heroes
Date: 20th February 2007
Author: pol
*/
/*========================== GENERIC ===*/
body {
	background: #c3bfb3 url("../images/bg-body.jpg") center top no-repeat;
	font-size: 76%;
	font-family: arial, verdana, sans-serif;
	color: #636358;
}
h1 {
	margin: 0;
	padding: 0;
}
h2 {
	margin: 0;
	padding: 0;
	color: #1e0a29;
	font: normal 1.2em "Trebuchet MS", arial, verdana, sans-serif;
}
h3 {
	color: #1e0a29;
	font: normal 1.2em "Trebuchet MS", arial, verdana, sans-serif;
	padding: 0;
}
h3#user-feedback {
	color: #9c090d;
}
h2 span {
	font-size: 1.4em;
	color: #eeb600;
	background-color: #9c090d;
	padding: 0 6px;
	margin: 0 2px 0 0;
}
h4{
	color: #1e0a29;
	font: bold 1.1em "Trebuchet MS", arial, verdana, sans-serif;
	margin: 1em 0;
	}
p {
	line-height: 1.3em;
}
#left-col li {
	margin-top: 1em;
	}
a img {
	border: 0;
}
input,
button {
	font-size: 0.9em;
}
h3 input,
h3 button {
	font-size: 0.8em;
}
blockquote {
	color: #9e0d11;
	font-style: italic;
	text-indent: 0;
	margin: 0 0 1em 0;
}
address {
	font-style: normal;
}
a:link,
a:visited,
span.red {
	color: #9e0d11;
	text-decoration: none;
}
a:hover {
	color: #9e0d11;
	text-decoration: underline;
}
a:active,
a:focus {
	color: #9e0d11;
	text-decoration: none;	
}
#footer a:link,
#footer a:visited {
	color: #636358;
	text-decoration : underline;
}
#footer a:hover,
#footer a:active,
#footer a:focus {
	color: #636358;
	text-decoration: none;
}
#right-col img,
#right-col-tt img {
	display: block;
	margin: 10px 0;
}
/*====================== LAYOUT DIVS ===*/
#wrapper-outer {
	width: 780px;
	margin: 0 auto;
	padding: 0;
}
#wrapper-content {
	background: #f8f7db url("../images/bg-singed-scene.jpg") left bottom no-repeat;
	padding-bottom: 50px;
	float: left;
	width: 780px;
}
#wrapper-content.chatfooter {
	padding-bottom: 110px;
}
#left-col {
	width: 460px;
	float: left;
	margin: 30px 0 30px 30px;
	display: inline;/*required to prevent IE margin doubling bug*/
}
#middle-col {
	width: 320px;
	float: left;
	margin: 30px;
	/* for IE/Mac only */
	/*\*//*/
	margin: 30px 0 30px 30px;
	/**/
}
#right-col {
	width: 220px;
	overflow: hidden;
	float: right;
	display: inline;/*required to prevent IE margin doubling bug*/
	margin: 30px 20px 30px 0;
}
#right-col-tt {
	width: 240px;
	float: left;
	display: inline;/*required to prevent IE margin doubling bug*/
	margin: 30px 10px 30px 0;
}
#right-full-col {
	width: 570px;
	margin: 30px 0 30px 30px;
	/* for IE/Mac only */
	/*\*//*/
	width: 540px;
	/**/
	float: left;
}
#footer {
	clear: both;
	width: 768px;
	text-align: right;
	margin: 0 auto;
	color: #636358;
	font-size: 0.9em;
}
#footer a#sd {
	float: left;
	text-decoration: none;
}
/*======================== MAIN MENU ===*/
#nav {
	margin: 0;
	padding: 0;
	width: 780px;
	float: left;
	background: #a1070f url("../images/bg-menu.jpg") left top no-repeat;
}
#nav p {
	float: left;
	margin: 35px 0 10px 0;
	width: 80px;
	text-align: center;
	font-family: "Trebuchet MS", arial, verdana, sans-serif;
}
#nav p a {
	padding: 0px 0;
	width: 60px;
	text-align: center;
	color: #ddb8b5;
	font-size: 1em;
	display: block;
	margin: 0 auto;
}
#nav p#logo {
	margin: 0;
	padding: 5px 0;
	width: 145px;
	height: 82px;
}
#nav p#logo a {
	padding: 0;
	margin: 0;
	width: 145px;
	height: 82px;
}
/* precise positioning rules for menu items */
#nav p#n1 a {}
#nav p#n2 a {}
#nav p#n3 a { width: 75px; margin-left: 7px;} /*stories about heroes - a*/

#nav p#n4 a { width: 58px; margin-left: 15px; position: relative; z-index: 10000;}/*time travellers - a*/


#nav p#n5 { width: 55px;}/*chat with us - p*/
#nav p#n5 a { width: 45px; }/*chat with us - a*/

#nav p#n6 { width: 108px; }/*your friends and heroes - p*/
#nav p#n6 a { width: 70px; }/*your friends and heroes - a*/

#nav p#n7 { width: 65px; } /*puzzles and games - p*/
#nav p#n7 a { width: 65px;}/*puzzles and games - a*/

#nav p#n8  { }/*goodies - p*/
#nav p#n8 a { margin-left: 20px;}/*goodies - a*/
/* eof */

#nav p a:link,
#nav p a:visited {
	text-decoration: none;
}
#nav p a:hover {
	color: #eeb600;
	text-decoration: none;
}
#nav p a:active,
#nav p a:focus {
	color: #ddb8b5;
	text-decoration: none;
}
#nav a.current {
	color: #eeb600;
	background: url("../images/arrow-gold-down.gif") center bottom no-repeat;
	padding-bottom: 10px;
}
/*================================ SUB MENU ===*/
#nav2 {
	width: 150px;
	float: left;
	background: #ebead0 url("../images/bg-nav2.jpg") left bottom no-repeat;
	padding-bottom: 20px;
	margin: 0;
	font-weight:bold;
	}
#nav2 h3 {
	margin: 30px 0 5px 8px;
	font: normal 1.2em "Trebuchet MS", arial, verdana, sans-serif;
}
#nav2 ul {
	float: left;
	margin: 0 0 0 10px;
	_margin: 0 0 0 5px;/*for IE6 only, does not affect IE7*/
	padding: 0;
}
#nav2 ul li {
	list-style-type: none;
	margin: 0;
	padding: 6px 0 6px 0;
	background: url("../images/bg-line-dashed.gif") left bottom no-repeat;
}
/*for nested list*/
#nav2 ul ul {
	width: 100px;
	float: none;
	margin-top: 6px;
	margin-bottom: 0px;
}
#nav2 ul ul li {
	background: none;
	padding: 2px 0;
}
#nav2 ul li a {
	background: url("../images/arrow-brown.gif") left center no-repeat;
	margin: 0;
	padding: 0 0 0 10px;
	color: #5a5a5a;
	display: block;
}
#nav2 ul li a:link,
#nav2 ul li a:visited {
	text-decoration: none;
}
#nav2 ul li a:hover,
#nav2 ul li.current a {
	text-decoration: none;
	color: #af0817;
	background: url("../images/arrow-red.gif") left center no-repeat;
}
#nav2 ul li a:active,
#nav2 ul li a:focus {
	text-decoration: none;
}
#nav2 ul li.current ul li a:link,
#nav2 ul li.current ul li a:visited {
	color: #5a5a5a;
	background: url("../images/arrow-brown.gif") left center no-repeat;
}
#nav2 ul li.current ul li a:hover {
	text-decoration: none;
	color: #af0817;
	background: url("../images/arrow-red.gif") left center no-repeat;	
}
/*----------------------*/
#nav2 ul li.current ul li.current a:link,
#nav2 ul li.current ul li.current a:visited {
	color: #af0817;
	background: url("../images/arrow-red.gif") left center no-repeat;
}
#nav2 ul li.current ul li.current a:hover {
	text-decoration: none;
	color: #af0817;
	background: url("../images/arrow-red.gif") left center no-repeat;	
}
/*----------------------*/
/*======================== CONTENT SECTIONS ===*/
/* flash in content */
#middle-col object {
	margin: 20px 0 10px 0;
}


/*---- features - image to the left, descriptive heading and text to the right 
with a VIEW or DOWNLOAD pseudo-button link.
---------------------
home page - features
meet the characters - box row > features
stories about heroes - episodes > box row > features
puzzles and games - puzzles > box row > features
goodies - goodies > features
-------------------*/
.features h3 {
	margin: 0;
}
.features {
	float: left;
	width: 100%;
}
.features img {
	float: left;
	display: block;
	margin: 0 15px 15px 0;
}
.features p {/*for all text in features*/
	margin: 0;
	width: auto;
}
/*time travellers scroll*/
	#scroll-tile {
		width: 240px;
		float: left;
		background: transparent url("../images/ScrollTile.gif") left center repeat-y;
	}
	#scroll-tile div.features {
		background: transparent url("../images/ScrollTop.gif") left top no-repeat;
		width: 240px;
		margin-top: -5px;
	}
	#scroll-btm {
		width: 240px;
		float: left;
		margin-bottom: -5px;
		background: transparent url("../images/ScrollBottom.gif") left bottom no-repeat;
	}
	#scroll-tile .features div {
		width: 190px;
		margin: 0 auto;	
		padding: 10px 8px 20px 0;
	}
/*eof*/
/*time travellers page*/
	#right-col-tt .features {
		padding: 30px 0;
		width: 240px;
	}
	#right-col-tt .features p {
		float: right;
		margin: 0 0 10px 5px;
		line-height: 1.1em;
		text-align: center;
		width: 90px;
		height: 110px;
		overflow: hidden;
	}
	#right-col-tt .features  a {
		font-size: 0.9em;
		margin: 0 0 10px 0;
		text-decoration: none;
	}
	#right-col-tt .features img {
		float: none;
		display: inline;
		margin: 0;
		padding: 0 0 5px 0;
	}
/*eof*/

.goodies {
	float: left;
	width: 100%;
	display: block;
	margin: 0 0 20px 0;
}
.goodies .features {
	width: 146px;
	float: left;
	display: block;
	margin: 0 0 30px 0;
	padding-right: 10px;
}
.goodies.wallpapers .features {
	clear: left;
	margin: 0;
}
.goodies .features.right {
	float: right;
	margin: 0 0 30px 0;
}
.goodies .features img {
	display: block;
	float: none;
	width: auto;
	margin: 5px 0;
}
.goodies.wallpapers .features img {
	float: left;
}
.goodies .features p {
	width: 100%;
	text-align: justify;
	margin: 0;
}
#middle-col .features {
	margin: 15px 0;
}
#middle-col .goodies .features {
	margin-top:0;
	}
/*----------- buttons ---------------------*/
p.view {/*for all view button links*/
	width: 42px;
	margin: 10px 0 0 0;
}

p.open {/*for all open button links*/
	width: 55px;
	margin: 5px 0 0 0;
	float: left;
	
	}

p.open a{
	margin: 0;
	background: url("../images/bt-open.gif") center no-repeat;
	text-align: center;
	padding: 2px 0;
	display: block;
	color: #fff;
	text-decoration: none;
}

p.open a:hover {
	color: #eeb600;
}

p.answer2 {/*for all answer button links*/
	width: 55px;
	margin: 5px;
	float:left;
}

p.answer2 a{
	margin: 0;
	background: url("../images/bt-answers.gif") center no-repeat;
	text-align: center;
	padding: 2px 0;
	display: block;
	color: #993300;
	text-decoration: none;
}

p.answer2 a:hover {
	color: #003399;
}

p.answer3 {/*for all answer button links*/
	width: 55px;
	margin: 10 10 5 5px;
	float:left;
}

p.answer3 a{
	margin: 0;
	background: url("../images/bt-answers.gif") center no-repeat;
	text-align: center;
	padding: 4px 0;
	display: block;
	color: #993300;
	text-decoration: none;
}

p.answer3 a:hover {
	color: #003399;
}


p.download {/*all download button links*/
	width: 160px;
}
p.res {
	clear: both;
	width: 80px;
	margin: 0 0 0 161px;
}
#left-col .features p.view {/*home page*/
	margin: 5px 0 10px 145px;
}
.episodes .box-row .features p.view {/*stories about heroes*/
	margin: 5px 0 10px 95px;
}
.puzzles .features p.download {/*puzzles*/
	margin: 5px 0 30px 95px;
}
.puzzles .features p.view {
	margin: 2px 0 2px 95px;
}
.goodies .features p.download {/*goodies colouring sheets*/
	margin: 2px 0;
}
.goodies .features p.view {
	width: 42px;
	margin: 2px 0;
}
.goodies .features p.res {
	width: 80px;
	margin: 2px 0;
}
p.view a,
.features p.view a,
.poem-gallery p.view a,
.submission p.view a {
	margin: 0;
	background: url("../images/bt-view.gif") center no-repeat;
	text-align: center;
	padding: 3px 0;
	display: block;
	color: #fff;
	text-decoration: none;
}
.features p.res a {
	margin: 0;
	background: url("../images/bt-res.gif") center no-repeat;
	text-align: center;
	padding: 3px 0;
	display: block;
	color: #fff;
	text-decoration: none;
}
p.download a {
	background: url("../images/bt-download.gif") left top no-repeat;
	color: #fff;
	padding: 3px 0;
	text-align: center;
}
.features p.download a {
	background: url("../images/adobe-pdf-icon.gif") left top no-repeat;
	color: #af0817;
	display: block;
}
.goodies .features p.download a {
	padding-left: 10px;
	}
p.download a:link,
p.download a:visited {
	text-decoration: none;
}
p.download a:hover {
	text-decoration: underline;
}
p.download a:active,
p.download a:focus {
	text-decoration: none;
}
.goodies p.download a:hover,
.goodies p.res a:hover {
	text-decoration: none;
	color: #eeb600;
}
p.view a:hover {
	color: #eeb600;
}
/*----------- eof buttons ---------------------*/


/*---- box row contains meet the characters boxes,
the stories about heroes boxes and puzzles boxes  ----*/
.box-row {
	margin: 5px 0;
	float: left;
}
.box-row img {/*really for meet the characters only*/
	margin: 0 5px 0 0;
}
.box-row img.last {
	margin-right: 0;
}
/* for the episodes and puzzles page - box row contains features */
.episodes .box-row,
.puzzles .box-row,
.goodies .box-row {
	float: left;
	width: 100%;
	margin: 0;
}
.puzzles.answers .box-row {
	margin: 10px 0;
	}
.episodes .box-row {
	margin: 10px 0;
}
.episodes .box-row img,
.puzzles .box-row img,
.goodies .box-row {/*overwrites meet the characters rule*/
	margin: 0 5px 5px 0;
}
.box-row .features,
.goodies .box-row .features {
	float: left;
	width: 270px;
}
.goodies .box-row .features{
	width: 146px;
}
.box-row .features.right,
.goodies .box-row  {
	float: right;
}
/* ---- boxes are usually in the right sidebar containing
links to main pages where the links are large graphics ----*/
#boxes-wrapper {
	background: #ebead0 url("../images/box-top-features.gif") left top no-repeat;
	padding-top: 4px;
	width: 220px;
}
#boxes {
	background: url("../images/box-btm-features.gif") left bottom no-repeat;
	padding-bottom: 5px;
	width: 220px;
}
#boxes-wrapper h3 {
	margin: 5px 0 -5px 15px;
	font-size: 1em;
	color: #9e9987;
	font-weight: bold;
	font-family: arial, verdana, sans-serif;
}
#boxes h3 {
	margin: 10px auto;
	width: 194px;
}
#boxes #newsletter-parent {/*required for email script*/
	width: 194px;
	margin: 10px auto;
}
#boxes #thank-you{
	width: 194px;
	height:112px;
	margin: 10px auto;
	display:none;
}
#boxes h3#newsletter,
#boxes h3#newsletter-gy {
	width: 194px;
	background: url("../images/box-newsletter-p-tile.jpg") left bottom repeat-y;
}
#boxes h3#newsletter-gy {
	background: url("../images/box-gy-newsletter-tile.jpg") left bottom repeat-y;
}
#boxes h3#newsletter div,
#boxes h3#newsletter-gy div {
	background: url("../images/box-newsletter-p-top.jpg") left top no-repeat;
	width: 194px;
}
#boxes h3#newsletter-gy div {
	background: url("../images/box-gy-newsletter-top.jpg") left top no-repeat;
}
#boxes h3#newsletter form,
#boxes h3#newsletter-gy form {
	background: url("../images/box-newsletter-p-btm.jpg") left bottom no-repeat;
	width: 194px;
	margin: 0;
	padding: 0 0 10px 0;
}
#boxes h3#newsletter-gy form {
	background: url("../images/box-gy-newsletter-btm.jpg") left bottom no-repeat;
}
#boxes input#email,
#boxes input#email2 {
	margin: 75px 0 0 10px;
}
#boxes input#submit,
#boxes button {
	margin: 0px;
}
/*---- form backgrounds ----*/
form.chat-form,
form.feedback-form {
	background-color: #efeed3;
	width: 100%;	
	padding: 10px 0;
	margin: 10px 0;
	float: left;
}
form.chat-form-detail {
	width: 316px;
}
div.chat-form-row,
form.feedback-form div.row {
	clear: both;
	background: #e6e4bd url("../images/bg-chat-form-top.gif") left top no-repeat;
	padding-top: 4px;
	margin: 15px auto;
	width: 535px;
	/* for IE/Mac only */
	/*\*//*/
	width: 505px;
	/**/
}
form.feedback-form div.row {
	width: 420px;
	background-image: none;
	margin: 20px auto;
}
div.chat-form-row div {
	background: #e6e4bd url("../images/bg-chat-form-btm.gif") left bottom no-repeat;
	overflow: hidden;
	width: 535px;
	/* for IE/Mac only */
	/*\*//*/
	width: 505px;
	/**/
	padding-bottom: 2px;
}
form.chat-form-detail div.chat-form-row,
form.chat-form-detail div.chat-form-row div {
	width: 316px;
}
form.chat-form div h4,
form.feedback-form div h4 {
	float: left;
	margin: 10px;
	width: 60px;
	color: #9e0d11;
}
form.chat-form input,
form.chat-form textarea,
form.feedback-form input,
form.feedback-form textarea {
	width: 400px;
	margin: 10px 0;
	border: 1px solid #cfcc8c;
	background-color: #fff;
}
form.feedback-form input,
form.feedback-form textarea {
	width: 300px;
}

form.chat-form .buttons input,
form.chat-form input#privacy,
form.feedback-form input.submit,
form.feedback-form input#privacy {
	width: auto;
	border: 0;
	background-color: #9e0d11;
	color: #fff;
	margin: 0 19px;
	float: left;
	font-weight: bold;
	font-family: "Trebuchet MS", arial, verdana, sans-serif;
}


form.chat-form .buttons input,
form.feedback-form input.submit {
	float: right;
}
form.feedback-form input.submit {
	margin-right: 20px;
	}

/*for the roman and jewish names dropdowns */
form.chat-form p strong {
	margin: 0;
	padding: 0;
}
form.chat-form h4 {
	margin-left: 20px;
	}
	form.chat-form h4.margin-right {
		margin-left: 10px;
		margin-right: 20px;
	}
form.chat-form table th h4 {
	margin: 10px 0 10px 10px;
	width: 100%;
	text-align: left;
}

select {
	font-family: "Trebuchet MS",arial,verdana,sans-serif;
	font-size: 1em;
}
form.chat-form input.radio {
	border: 0;
	margin: 0 0 0 10px;
	background-color: transparent;
}
/*--- eof ---*/
/*---- forms on chat pages ----*/
form.chat-form img {
	margin: 10px 20px 20px 20px;
}
form.chat-form p {
	margin: 20px 20px 20px 20px;
}
div.chat-form-index,
.gallery-submissions {
	background-color: #efeed3;
	width: 100%;	
	padding: 20px 10px;
	margin: 10px 30px 10px 0;
	float: left;
}
div.chat-form-index {
	margin-right: 0;
}
.gallery-submissions {
	width: 540px;
}
.gallery-submissions h3 {
	font: bold 1em arial,verdana,sans-serif;
	color: #636358;
	margin: 0;
	text-align: center;
}
.gallery-submissions h4 {
	margin: 0;
	font: normal 1em arial,verdana,sans-serif;
	color: #636358;
	text-align: center;
}
.chat-form-index img {
	margin: 0 5px 20px 10px;
}
form.chat-form a {
	margin: 5px 5px 0 5px;
	font-size: 0.9em;
	color: 
}
form a.copyright,
form a.privacy  {
	margin-left: 15px;
}
/*---- Picture Gallery page ----*/
div.picture-gallery {/*use as a row container*/
	width: 100%;
	float: left;
	clear: left;
	margin: 0 0 20px 0;
}
div.picture-gallery div {
	width: 122px;
	float: left;
	margin: 0 20px 0 0;
}
.picture-gallery div h3 {
	width: 122px;
	background-color: #d3d2ba;
	font: normal 1em arial,verdana,sans-serif;
	color: #636358;
	margin: 0;
}
.picture-gallery div h4 {
	width: 122px;
	margin: 0;
	background-color: #ebead0;
	font: normal 1em arial,verdana,sans-serif;
	color: #636358;
}
div.picture-gallery p {
	background-color: #ebead0;
	margin: 0;
	padding: 5px;
	color: #636358;
}
/* poem and story gallery */
div.poem-gallery,
div.story-gallery {/*use as a parent container*/
	width: 100%;
	float: left;
	clear: left;
	margin: 0 0 20px 0;
}
div.poem-gallery h3,
div.story-gallery h3 {
	font: italic 1em arial,verdana,sans-serif;
	margin: 0 3px 5px 0;
	padding: 0 3px;
	width: 40%;
	float: left;
}
div.poem-gallery div,
div.story-gallery div {/*row container */
	clear: both;
	float: left;
	width: 100%;
}
div.poem-gallery div p,
div.story-gallery div p {
	background-color: #ebead0;
	margin: 0 3px 0 0;
	padding: 3px;
	color: #636358;
	float: left;
	width: 40%;	
}
div.poem-gallery div.dark p,
div.story-gallery div.dark p {
	background-color: #d3d2ba;
}
div.poem-gallery div p.view,
div.story-gallery div p.view {
	width: 42px;
	padding: 0 0 5px 2px;
	background-color: transparent;
}
/*for full text of poems or stories */
#right-full-col.submission div {
	background-color: #efeed3;
	width: 95%;	
	padding: 10px 20px;
	margin: 10px 0;
}
#right-full-col.submission div h3 {
	text-align: center;
	font: bold 1em arial,verdana,sans-serif;
	color: #636358;
}
#right-full-col.submission div h3 em,
#right-full-col.submission div h3 span {
	font-weight: normal;
}
/*======================== MISCELLANEOUS ===*/
div.hr hr,
div.hr-disc-centred hr {
	border: 0;
	color: transparent;
	display: none;
}
div.hr {
	background: url("../images/hr.gif") left top no-repeat;
	width: 487px;
	height: 17px;
	margin: 10px 0;
}
div.hr-disc-centred {
	background: url("../images/hr-disc-centred.gif") left top no-repeat;
	width: 315px;
	height: 33px;
	clear: both;
	margin: 15px auto;
}
img.portraits {
	margin: 0 0 10px 0;
}
.picture-gallery img,
#right-full-col.submission img {
	border: 3px solid #9e0d11;
}
#right-full-col.submission img {
	margin: 0 auto;
	display: block;
}
img.flash-sidebar {/*update this to refer to the object element when 
	flash is ready for putting into page*/
	margin: 0 0 10px 0;
}
.clear {
	clear: both;
}
.floatright {
	float: right;
}
.floatleft {
	float: left;
}
img.floatright {
	margin: 0 0 20px 30px;
}
img.floatleft {
	margin: 0 30px 20px 0;
}
/*for the chat with us answers pages*/
p.question {
	background-color: #dfdec5;
	width: 100%;
	margin: 10px 0 2px 0;
	padding: 5px;
	}
p.answer {
	background-color: #ebead0;
	width: 100%;
	margin: 2px 0 10px 0;
	padding: 5px;	
	}
#right-full-col.answers img,
#right-full-col.fullsize img {
	margin: 10px 0;
	}
#right-full-col.answers img {
	margin-bottom: 70px;
	}
/*for the videos on the stories about heroes pages*/
#secondflashcontent {
	margin-top: 10px;
	}