/* Main Parts */
.cwunit
{
	padding: 0px;
	margin: 0px;
	text-align: center; 				/* actually want to center block content, but auto margins dont work consistently and this works for IE */
	font-family: Arial, Helvetica, sans-serif;
	background-color : #e4d4b4;
	line-height: 24px;  				/* change between projects */
}

.toolbar
{
	margin: 5px;
	border: 1px solid #755f39;
	text-align: left;
	width: 640px;					/* Default width, overridden by script */
}

.brandarea
{
	/* done inline at build time */
}

.toolarea
{
	background-color: #efe6d1;
	height: 34px;
}

/* Button classes */
.btn
{
	border: 1px solid #efe6d1;
	margin: 1px;
	cursor: hand;
	width: 52px;
	height: 32px;
	background-repeat: no-repeat;
	background-position: 0px 0px;
	vertical-align: middle;
	padding: 5px;
}

.btn_out
{
	border: 1px solid #efe6d1;
}

.btn_over
{
	border-top: 	1px solid #F8F4EA;
	border-left: 	1px solid #F8F4EA;
	border-bottom: 	1px solid #755f39;
	border-right: 	1px solid #755f39;
}

.btn_dwn
{
	border-top: 	1px solid #755f39;
	border-left: 	1px solid #755f39;
	border-bottom: 	1px solid #F8F4EA;
	border-right: 	1px solid #F8F4EA;
	background-position: 1px 1px;
}

.btn_back 	{ background-image: url(layout/back.png);	float: left;	}
.btn_back_h	{ background-image: url(layout/back_h.png); 	float: left;	}

.btn_forward  	{ background-image: url(layout/forward.png); 	float: left;	}
.btn_forward_h  { background-image: url(layout/forward_h.png); 	float: left;	}

.btn_contents 	{ background-image: url(layout/cont.png);	float: left;	}
.btn_contents_h { background-image: url(layout/cont_h.png);	float: left;	}

.btn_print 	{ background-image: url(layout/print.png); 	float: left;	}
.btn_print_h    { background-image: url(layout/print_h.png); 	float: left;	}

.topicselector  { margin-top: 8px; float:right; line-height: normal; }

.btn_help     	{ background-image: url(layout/help.png); 	float: right;	}
.btn_help_h     { background-image: url(layout/help_h.png); 	float: right;	}


/* Content Area */
.contentarea
{
	width: 640px;
	
	padding-right: 5px; 			/* soak up space between content section and scroll bar on container */
	padding-left: 5px;
	padding-top: 1px;   			/* align content with top of scrollbar */
	text-align: left;			/* tis inherited */

	overflow-y: scroll;			/* In full layout content area scrolls, this is overridden from script in other versions */

	scrollbar-arrow-color: #755f39;		/* Pretty for IE5.5 and above */
	scrollbar-3dlight-color: #A38C69;
	scrollbar-base-color: #DECBBA;
	scrollbar-face-color: #efe6d1;
	scrollbar-track-color: #efe6d1;
	scrollbar-darkshadow-color: #EAE9E4;
	scrollbar-highlight-color: #EAE9E4;
}

.contentsection
{
	width: 614px;
	border: 1px solid #A38C69; 
	background-color: white;
	margin-bottom: 8px;
	padding: 12px 16px 16px 16px;
	text-align: left;	
}

.titlesection
{
	width: 614px;
	background-image: url(layout/water5.png);
	background-repeat: no-repeat;

	background-color: white;
	border: 1px solid #A38C69;
	padding: 8px;

	margin-bottom: 8px;
}

.copysection
{
	width: 614px;

	background-color: white;
	border: 1px solid #A38C69;
	padding: 8px;

	font-size: smaller;
	text-align:center;
	margin-bottom: 8px;
}

/* Text Formatting */
.brandtitle
{
	font-weight: bold;
	font-size: 12px;
	color: white;
	vertical-align: middle;
	margin-left: 5px;
}

.unittitle
{
	color: #663333;
	font-size: large;
	font-weight : bold;	
}

.topictitle
{
	color: #663333;
	font-size: medium;
	font-weight : bold;
	margin-bottom: 12pt;
}

.highlight
{
	background-color: #FDFDED;
	padding: 5px;
	border: 1px solid lightgrey;
}

/* Glossary terms and popups */
.glosstip
{
	position: absolute;
	visibility: hidden;
 	width: 300px;
	background-color: #EAF1F7;
	border: 1px solid black;
	padding: 4px;	
	color: black;
	z-index: 10000;
}

.termi
{
	font-size: 12px;
}

.glossterm
{
	visibility: visible;
	color: #1f5CBA;
	cursor: hand; 
}



/* -------------------------------------------------------- old -------------------------------------*/
/* Glossary terms and popups */
div.glosstip
{
	position: absolute;
	visibility: hidden;
 	width: 300px;
	background-color: #EAF1F7;
	border: 1px solid black;
	padding: 4px;	
	color: black;
	z-index: 10000;
}

div.termi
{
	font-size: 12px;
}

span.glossterm
{
	visibility: visible;
	color: #1f5CBA;
	cursor: hand; 
}


/* Worked examples */
div.wdb
{
	display: block;
}

div.wdn
{
	display: none;
}

div.wdb table tr td, div.wdn table tr td 
{
	vertical-align: middle;
	padding: 4px;
}

img.updwn
{
	cursor: hand;
}


/* Action References */
span.actionstep
{
	color: #579700;
}


/* Questions */
div.questioncontainer
{
	font-family: Arial, Helvetica, sans-serif;
}

div.questioncontainer input, div.questioncontainer select
{
	line-height: normal;
}

div.questioncontainer table tr td
{
	vertical-align: top;
}

img.checkbutton
{
	cursor: hand;
}

img.ansimg
{
	visibility: hidden;
}

div.coach
{
	position: absolute;
	visibility: hidden;
	background-color: oldlace;
	border: 1px solid black;
	padding: 4px;
	z-index: 10000;	
}

/* Captions */
span.figurecaption
{
	font-family: Arial, Helvetica, sans-serif;
	color: #000099;
}

/* Links */
a.quicklink
{
 	color: black;
	font-size: x-small;
	text-decoration: none;
}

a.nolink
{
	color: black;
	text-decoration: none;
}

/* Media containers */
td.simcontainer
{
	border: 1px solid red;
	width: 500px;
}

/* Grids */
table.datagrid tr td
{
	padding: 5px;
}

tr.trtop td
{
	vertical-align: top;
}

tr.trmiddle td
{
	vertical-align: middle;
}

tr.trbottom td
{
	vertical-align: bottom;
}

/* Stop weird IE 5.5 & 6 crashing, unfortunately means no scrolling on textareas */
TEXTAREA
{
	overflow: hidden;
}
