/***** styles_layout.css start *****/

/***** styles_layout.css start *****/
* /* universal reset*/
{
margin:0;
padding:0;
font-family: verdana, arial, helvetica, sans-serif; /* font-reset to beat default sheet*/
}

body 
{
font-size:62.5%; /* 1.0em == 10px*/
background:url(/theme/NUJ/pix/bkg-body.gif) #99a8aa;
font-family: verdana, arial, helvetica, sans-serif;
text-align:center;
}

p, li {font-size:1.0em;
line-height: 1.3em;}

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

a img {border: none;}

th {font-weight: bold;}

table {
	background-color:#FFFFFF;
}

/*************************/

#wrapper
{
margin:0 auto;
background: #ffffff;
width: 780px;
clear: both;
background:url(/theme/NUJ/pix/page_bg_shdw.gif) repeat-y;
text-align:left;
}

#layout
{
width: 760px;
margin: 0 auto;
display: inline;  /*this is a bug fix but for the life of me I can't remember what it fixes... :-/ */
height: 100%;
}

/****************************/
/* Banner and logo elements */
/****************************/

#header-home, #header
{
text-align: center;
}

.headermain
{
font-weight: bold;
color: #fff;
display:block;
margin:0 auto;
}
.headermain img
{
display:block;
text-align:center;
margin:0 auto;
}

.headermenu {float: right;}

#breadcrumb 
{
font-size: 1.0em;
font-weight: bold;
float: none; /*OVRRD*/
}

.logininfo, #header-home .headermenu {text-align: left;}

.logininfo
{
display:inline;
margin: 0 20px 0 0;
width:33%;
float:right;
text-align:right;
}

#crumb
{
padding: 5px 5px 5px 5px;
margin: 5px 31px 0 33px;
font-size: 1.0em;
font-weight: bold;
background: #ddd;
}
	
#crumb a
{
font-weight:normal;
color: #000000;
background: transparent;
}


/****************************/
/*          LINKS           */
/****************************/
	
	/* TEMPORARILY DISABLED */

#main_content_page a:visited {background: #bbcacc ;}
a.dimmed:link,a.dimmed:visited {text-decoration: none;}
a.autolink:link, a.autolink:visited {text-decoration: none;}
a.autolink:hover, a:hover, a.dimmed:hover	{text-decoration: underline;}
/*
#footer a, #footer a:active, #footer a:visited{	color: #0033cc;}
*/

/****************************/
/*          HEADERS         */
/****************************/
h1,h2,h3,h4,h5,h6
{
font-weight: bold;
color: black;
margin-bottom:2px;
}

h1 {font-size: 1.4em;}
h2	{font-size: 1.3em;}
h3	{font-size: 1.2em;}
h4	{font-size: 1.1em;}

/****************************/
/*    PAGE CONTENT WRAPPERS  */
/****************************/	
/*
	all pages default to main_page_content but some, such as the course/view page are main_content
*/	
	
#main_content 
{
padding: 0px 10px 5px 10px; /*no width so should be ok for box model.*/
margin: 5px 31px 5px 33px;
font-size: 1.2em;
}
	
#main_content_page
{
padding: 0px 10px 5px 10px; /*no width so should be ok for box model.*/
margin: 15px 31px 5px 33px;
text-align: left;
font-size: 1.2em;
}
		
#main_content_page:after, #main_content:after /* force the main_content or _page element to contain it's floated content'*/
{
content: ".";
display: block;
line-height: 1px;
font-size: 1px;
clear: both;
}
	
/* Shield from mac IE's delicate gaze, but apply for PC IEs \*/
/* * html #main_content_page, html #main_content {
    height:1%;
} */
/* end mac IE hack */ 

/****************************/
/*      CONTENT ELEMENTS - bit of a catch all at the minute.    */
/****************************/
.sitetopiccontent /* this wraps a block of related course elements on /course/view.php */
{
text-align: left;
margin: 5px 0;
padding-bottom: 5px;
-moz-border-radius: 0; /*OVRRD*/
display:block;
}
.section
{

}

	
.sitecontent /* not sure where this is ? */
{
float: right;
vertical-align: top;
text-align: left;
background: #fff;
margin-bottom: 5px;
margin-left: auto;
margin-right: auto;
width: 70%;
}
	
.sitecontent a {color: #000;}
	
.rightcontent /* right hand column ? */
{
float: right;
vertical-align: top;
text-align: left;
background: #fff;
margin-bottom: 5px;
margin-top: 5px;
}
	
.sitecontentheader /* nor sure where this is ? */
{
margin-top: 5px;
clear: both;
padding: 5px;
font-size: 1.4em;
background: #ddd;
width: 250px;
}
	/* these are a mystery*/
		.sitecontentheader_1
		{
		margin-top: 5px;
		clear: both;
		padding: 5px;
		font-size: 1.4em;
		background: #99e8ba;
		width: 250px;
		}

		.sitecontentheader_2
		{
		margin-top: 5px;
		clear: both;
		padding: 5px;
		font-size: 1.4em;
		background: #F48A7C;
		width: 250px;
		}

		.sitecontentheader_3
		{
		margin-top: 5px;
		clear: both;
		padding: 5px;
		font-size: 1.4em;
		background: #97c3f5;
		width: 250px;
		}

		.sitecontentheader_4
		{
		margin-top: 5px;
		clear: both;
		padding: 5px;
		font-size: 1.4em;
		background: #f5d597;
		width: 250px;
		}

.topic_admin
{
	height:50px;
	background-color:#CCCCCC;
}	
.topic_icons /* Icon block for moving sections ? */
{
}
.topic_add
{	
}
	
.topic_thumbs /* not sure where these are ? */
{
text-align: right;
margin: -15px 5px 0 15px;
padding: 5px 0 5px 0;
}

.topic_thumbs img /* not sure where these are ? */
{
border: 5px solid #fff;
}
	
.topic_intro /* not sure where these are ? */
{
font-size: 1.0em;
line-height: 1.2em;
width: 500px;
margin: 10px 0;
}
	
	

/****************************/
/*      BLOCK ELEMENTS      */
/****************************/
.column_header /* header element on sideblocks*/
{
display: block;
padding: 5px 5px 5px 0;
margin-bottom: 5px;
}

.columnbox /* not a clue ? */
{
padding: 5px 5px 5px 0;
padding-bottom: 30px;
margin-bottom: 15px;
border-bottom: 1px solid #ccc;	
}

.columnbox a
{
color: #0033cc;
}

.centre_header
{
/*display: block;*/
padding: 0 5px 5px 0px;
font-weight: bold;
}

.centre_header_mainpage
{
/*display: block;*/
padding: 0 5px 5px 80px;
font-weight: bold;
}

.left_sideblock
{
width: 175px;
margin-right: 5px;
position: relative;
left: 2px;
float: right;
}

/*  
.left_sideblock a
{
color: #0033cc;
}
*/

.right_sideblock
{
float: right;
width: 155px;
}
	
/****************************/
/*      FOOTER ELEMENTS     */
/****************************/
#footer
	{
	clear: both;
	padding: 5px 0px 5px 32px;
	font-size: 10px;
	padding-bottom:30px;
	background-image:url(/theme/NUJ/pix/footer_bg.gif);
	background-position:bottom;
	background-repeat:repeat-x;
	/*
		following block is for msie 5.5 only.  Hack after that re-fixes msie 6 which works correctly prior to the hack.
	*/
	_width:780px;				
	voice-family:"\"}\"";
   voice-family:inherit;
	_width:auto;
	}
	#footer p {
		margin:0;
	}

/****************************/
/*      FORM ELEMENTS     */
/****************************/
.form_item
{
margin: 5px;
padding: 5px;
}

.label_text
{
padding: 5px;
font-size: 1em;
}

label
{
font-size: 1.1em;
padding: 0 5px;
}

select
{
font-size: 1.0em;
margin: 5px;
background: #fff;
}

input
{
border: 1px solid #000;
padding: 2px;
margin:5px;
background: #eee;
font-family: verdana, arial, sans-serif;
display: inline;
}

input[type="hidden"] /* needed for Gecko*/
{
border: none !important;
display: none !important;
}

.quiz_nav {text-align:right;}

.textarea_label_text
{
vertical-align: top;
padding: 5px;
font-size: 1.0em;
}

textarea
{
border: 1px solid black;
padding: 2px;
font-family: verdana, arial, sans-serif;
font-size: 12px;
}

.hidden {display: none;}

fieldset
{
background: #ddd;
border: 0px solid #ddd;
padding: 0 0 10px 10px;
background-image:url(/theme/NUJ/pix/quiz_bg.gif);
background-position:center center;
background-repeat:no-repeat;
}

legend
{
font-size: 1.1em;
font-weight: bold;
background: #ddd;
padding: 2px 10px 10px 10px;
}

input:hover{background: #fff;}

input:focus{background: #fff;}

.save_button
{
float: right;
margin: 5px 0;
}
/****************************/
/*     LOGIN PAGE			    */
/****************************/	
.new_login
{
float: right;
width: 45%;
}

.login_content
{
float: left;
width: 46%;
padding: 0 0 0 5px;
}

.login_content p
{
font-size: 0.9em;	
}

.new_login li
{
background: #fff;
padding: 5px;
}

.new_login ol
{
background: #fff;
}

.guest_login
{
background: #ddd;
padding-bottom: 20px;
padding-top: 10px;
padding-left: 10px;
}

.login_button
{
margin-left: 10px;
}

/****************************/
/*     QUIZ PAGE			    */
/****************************/	
.lesson_headers
	{
	background: url(words.gif) no-repeat right;
	margin-bottom: 10px;
	width: 360px;
	float: left;
	display: block;
	clear: both;
	}
	.lesson_headers img
	{vertical-align:middle;}
	
.lesson_title
	{
	font-size: 1.6em;
	font-weight: bold;
	line-height: 10px;
	padding: 5px;
	}
	
.lesson_header
	{
	font-size: 1.4em;
	font-weight: bold;
	padding: 5px;
	float: left;
	clear: both;
	}
	
.lessonheader_1
	{
	background: #99e8ba;
	padding: 5px;
	float: left;
	clear: both;
	display: block;
	width: 495px;
	height: 1.2em;
	}
	
.instruction_header
	{
	width: 45%;
	margin-bottom: 10px;
	line-height: 20px;
	padding: 5px;
	}
	
.instruction_main
	{
	width: 45%;
	margin-bottom: 5px;
	float: left;
	clear: both;
	}

.instruction_main blockquote {
	padding: 14px;
}
	
.answers
	{
	float: right;
	width: 300px;
	}
	
.quiz_nav
	{
	clear: both;
    background-color: rgb(221, 221, 221);
	}

/********************/	
hr
	{
	display: none;
	}

#footer
	{
	text-align: center;
	}
	
.generalbox
	{
	width:100%;
	float: left;
	border: 0;
	}
	
.singlebutton
	{
	text-align: right;
	}


/****************************/
/*     RESOURCE PAGE			 */ 
/****************************/
/* a lot of these will be common to quizzes as well but we'll keep them apart for now.*/	
.resource_copy
{
width:350px;
float:left;
}
p {
	margin-bottom:5px;
}
.resource_main_img
{
float:right;
width:330px;/* all images are on 330px white bgs.*/
}		
.resource_copy ul
{
	margin-left:35px;
}
.resource_copy li
{
margin:5px 0px;
}

.resource_copy blockquote
{
	background: #bbcacc;
	padding: 14px;
	width: 280px;
	margin-left:20px;
}


.resource_copy table
{
margin: 10px 0px 10px 20px;	/* left margin 20px? */
padding: 14px;
background: #eee;
/* width: 310px; */
}

/****************************/
/*          		          */
/****************************/
	
.course-content
	{
	padding: 0 0 0 5px;
	font-size: 0.9em;
	}
	
blockquote
	{
	background: #bbcacc;
	padding: 5px;
	margin: 10px 0 20px 0;
	width: 280px;
	}
	
dd
	{
	margin: 5px;
	}
	

	
	
.nav_back a, .nav_back a:active, .nav_back a:visited
	{
	font-size: 0.8em;
	color: #0033cc;
	}
	
.nav_back
		{
		float: left !important;
		margin-top: 10px;
		color: #999999 !important;
		font-size: 0.8em;	padding: 3px 0px 3px 20px;
		font-weight: bold;
		background-color: #ffffff !important;
		background:url(/pix/i/back.gif) no-repeat left !important;
		}
	
.nav_forward
	{
	float: right !important;
	margin-top: 10px;
	color: #999999 !important;
	padding: 3px 20px 3px 0;
	font-size: 0.8em;
	font-weight: bold;
	background-color: #ffffff !important;
	background:url(/pix/i/forward.gif) no-repeat right!important ;
	}
	
	.nav_back:hover, .nav_forward:hover
		{
		color: #0033cc!important;
		text-decoration: underline;
		}
	
.nav_forward a, .nav_forward a:active, .nav_forward a:visited
 	{
 	font-size: 0.8em;
	color: #0033cc;
	background-color: #fff !important;
 	}
	
.nav_forward a:hover
	{
	color: #0033cc !important;
	text-decoration: underline;
	}
	
.feedback_correct, .feedback_wrong, .feedback_text 
	{
	display: block;
	margin: 2px 20px 0 32px;
	text-align: left;
	font-size: 0.9em;	
	}
	
.feedback_correct
	{
	background-image: url(/theme/NUJ/correct.gif);
	padding: 2px 2px 2px 25px;
	background-position: 3px 2px;
	background-repeat:no-repeat;
	background-color: white;
	border:solid 1px #00CC00;
	}
	
.feedback_text {
	background-color: white;
	border:solid 1px #CCCC00;
}	
	
.feedback_wrong
	{
	background-image: url(/theme/NUJ/wrong.gif);
	padding: 2px 2px 2px 25px;
	background-position: 3px 2px;
	background-repeat: no-repeat;
	background-color: white;
	border:solid 1px #CC0000;
	}
.close_feedback,.close_feedback_right, .close_feedback_wrong, .close_feedback_partial
{
border:solid 1px #000;
padding:3px;
margin:3px;
white-space:no-wrap;
padding: 2px 2px 2px 25px;
display:block;
}	

.close_feedback_right
{
border-color:#00CC00;
background-image: url(/theme/NUJ/correct.gif);
background-position: 3px 2px;
background-repeat:no-repeat;
}
.close_feedback_wrong
{
border-color:#CC0000;
background-image: url(/theme/NUJ/wrong.gif);
background-position: 3px 2px;
background-repeat: no-repeat;
}
.close_feedback_partial
{
border-color:#CCCC00;
}
/* FORUMS BLOCK */
.forumheaderlist { /* the list of discussion threads within a forum*/
	border:solid 1px #ACACAC;
	width:100%;
}
.forumheaderlist td{
text-align:center;
background-color:#DEDEDE;
}
.forumheaderlist th{
text-align:center;
background-color:#ACACAC;
padding:4px;
}
.forumheaderlist td a {
	font-weight:normal;
}

.forumpost {
	border:solid 1px #DEDEDE;
	width:100%;
	margin-bottom:5px;
}
.forumpostindent {
	border:solid 1px #DEDEDE;
	width:auto;
	margin-bottom:5px;
	margin-left:20px;
}
tr.header {
	background-color:#DEDEDE;
}
.picture {
	padding:5px;
}
.subject, .author {
	margin-left:10px;
}
.content {
	padding:5px 10px;
}
div.commands {
	text-align:right;
	font-size:11px;
	margin-top:5px;
	color:#AAAAAA;
}
div.commands a {
	color:#AAAAAA;
}
div.commands a:hover {
	color:#000000;
}

/****************/

	
.highlight
	{
	background: none !important;
	text-align: left !important;
	font-size: 0.8em;
	line-height: 1.4em;
	}
	
.highlight li
	{
	margin-left: 30px;
	}
	
td
	{
	vertical-align: top !important;
	padding-top: 5px;
	padding-bottom: 5px;
	}
	
.left_sideblock td
	{
	width: auto;
	}

.searchform
	{
	margin: 0;
	padding: 0;
	}
	
.searchform form
	{
	margin: 0;
	padding: 0;
	}
	
.column_header div
	{
	clear: both;
	}
	
.list
	{
	display: block;
	clear: both;
	}
	
.important
{
background-image:url(/theme/NUJ/pix/important.png);
background-repeat: repeat-y;
display:block;
background-position:0px 0px;
}	
.important strong
{
padding:10px 0px 10px 38px;
background-image:url(/theme/NUJ/pix/important_id.gif);
background-position:top left;
background-repeat:no-repeat;
display:block;
}

.homelink
{
	margin-bottom:10px;
	text-align:center;
}
.login_block {
}

/****************************/
/*          COURSE-COLOURS  */
/****************************/
/*hub page main links*/
.grammar, .punctuation, .spelling, .abbreviations, .what_not, .writing, .style, .correct
{
background:left top no-repeat;
padding:0px 0px 0px 0px;
margin-top:0px;
margin-left:0px;
border:solid 1px #000;
}

h2.grammar , h2.punctuation , h2.spelling , h2.abbreviations , h2.what_not , h2.writing , h2.style , h2.correct 
{
background-color:#66CCFF;
border-bottom:solid 1px #000;
padding:5px 10px;
}
h2.grammar a , h2.punctuation a , h2.spelling a , h2.abbreviations a , h2.what_not a , h2.writing a , h2.style a , h2.correct a
{
	display:block;
}


.grammar span, .punctuation span, .spelling span, .abbreviations span, .what_not span, .writing span, .style span, .correct span
{
padding:5px 20px;
display:block;
display:none;
}


h2.grammar  {background-color:#66CCFF  }
h2.punctuation  {background-color:#D7F6F9   }
h2.spelling  {background-color:#E5F7CC   }
h2.abbreviations  {background-color:#CCFF66   }
h2.what_not  {background-color:#FFF55C   }
h2.writing  {background-color:#FFB835   }
h2.style  {background-color:#FF4D10   }
h2.correct  {background-color:#FF659B   }

body.grammar_b{background-image:url(/theme/NUJ/pix/grammar_bkg-body.gif) ;}
.grammar_b #wrapper{background-image:url(/theme/NUJ/pix/grammar_page_bg_shdw.gif);}
.grammar_b #footer{background-image:url(/theme/NUJ/pix/grammar_footer_bg.gif);}

body.punctuation_b{background-image:url(/theme/NUJ/pix/punctuation_bkg-body.gif) ;}
.punctuation_b #wrapper{background-image:url(/theme/NUJ/pix/punctuation_page_bg_shdw.gif);}
.punctuation_b #footer{background-image:url(/theme/NUJ/pix/punctuation_footer_bg.gif);}

body.spelling_b{background-image:url(/theme/NUJ/pix/spelling_bkg-body.gif) ;}
.spelling_b #wrapper{background-image:url(/theme/NUJ/pix/spelling_page_bg_shdw.gif);}
.spelling_b #footer{background-image:url(/theme/NUJ/pix/spelling_footer_bg.gif);}

body.abbreviations_b{background-image:url(/theme/NUJ/pix/abbreviations_bkg-body.gif) ;}
.abbreviations_b #wrapper{background-image:url(/theme/NUJ/pix/abbreviations_page_bg_shdw.gif);}
.abbreviations_b #footer{background-image:url(/theme/NUJ/pix/abbreviations_footer_bg.gif);}

body.what_not_b{background-image:url(/theme/NUJ/pix/what_not_bkg-body.gif) ;}
.what_not_b #wrapper{background-image:url(/theme/NUJ/pix/what_not_page_bg_shdw.gif);}
.what_not_b #footer{background-image:url(/theme/NUJ/pix/what_not_footer_bg.gif);}

body.writing_b{background-image:url(/theme/NUJ/pix/writing_bkg-body.gif) ;}
.writing_b #wrapper{background-image:url(/theme/NUJ/pix/writing_page_bg_shdw.gif);}
.writing_b #footer{background-image:url(/theme/NUJ/pix/writing_footer_bg.gif);}

body.style_b{background-image:url(/theme/NUJ/pix/style_bkg-body.gif) ;}
.style_b #wrapper{background-image:url(/theme/NUJ/pix/style_page_bg_shdw.gif);}
.style_b #footer{background-image:url(/theme/NUJ/pix/style_footer_bg.gif);}

body.correct_b{background-image:url(/theme/NUJ/pix/correct_copy_bkg-body.gif) ;}
.correct_b #wrapper{background-image:url(/theme/NUJ/pix/correct_copy_page_bg_shdw.gif);}
.correct_b #footer{background-image:url(/theme/NUJ/pix/correct_copy_footer_bg.gif);}


/* styles for the dicindex resource type*/
#mini_index {
	padding:10px 20px;
	list-style:none;
}
/* additional styles for the quiz intro page */
.quiz_intro {
	background:url(/theme/NUJ/cartoons/quiz.gif) top right no-repeat;
	padding-right:340px;
	min-height:200px;
	_height:200px;
}

/***** styles_layout.css end *****/



/***** styles_layout.css end *****/

