/* px to em conversion (default = 16px)*/
/* 18px = 1.125em */
/* 16px = 1em     */
/* 14px = 0.875em */
/* 12px = 0.75em  */
/* 10px = 0.625em */


/****** CSS Clear ******/

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
address,caption,cite,code,dfn,em,strong,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}

/********** end css clear ************/

/********** begin layout **********/
html, body {
	background-color: #666666; 
	background-image: url('images/css/background_body.png');
	background-repeat: repeat-x;
	font-family: Verdana, sans-serif, arial;
	font-size: 100%;
	color: #666;
}

#Container {
	margin: 0 auto; /*center on page*/
	text-align: left;
	width: 800px;
	font-size: 0.6875em;
	background-color: #f0f0f0;
	background-image: url('images/css/background_container.png');
	background-repeat: repeat-y;
	background-position: center;
	}

#Header {
	background-image: url('images/css/background_header.png');
	background-repeat: no-repeat;
	background-position: center;
	height: 150px;
}

#Header img {
	margin: 0 0 0 83px;}

#HeaderContent {
	margin: 15px 0 0 68px;
	width:475px;}

#HeaderContent p {
	text-align: center;}
	
#MainColumn {
	float:left;
	position:relative;
	width:475px;
	margin: 0 0 0 70px;
	line-height: 130%;
	z-index:5;}
	
#MainColumn  p {
	/*text-align: justify;*/}

#NavColumn {
	float: left;
	position: relative;
	width: 219px;
	margin: 0 0 0 15px;}
	
.NavHeader {
	background-image: url('images/css/background_navheader.png');
	background-repeat: no-repeat;
	background-position: left;
	line-height: 28px; /* the actual background height and line height is 47px but the text needs to be pushed up 20px */
	padding-bottom: 19px; /* used to push up the text */
	}
	
.NavHeader h3{
	margin:0;
	text-align: center;}
	
.NavContent {
	background-image: url('images/css/background_navcontent.png');
	background-repeat: repeat-y;
	background-position: left;}
	
.NavBottom {
	background-image: url('images/css/background_navbottom.png');
	background-repeat: no-repeat;
	background-position: left;
	line-height: 32px;}
	
#Bottom {
	clear: both;
	background-image: url('images/css/background_bottom.png');
	background-repeat: no-repeat;
	background-position: center;
	height: 70px;}

#BottomContent {
	width:475px;
	margin: 0 0 0 70px;
	text-align: center;
	color: #aaa;
	font-size: 0.875em;}

img.hr {
    display: block;
    margin-left: auto;
    margin-right: auto;
	clear: both;
	float: none;}

	
/********** end layout **********/
/********** begin styles **********/

h1, h2, h3 {
	margin: 0 0 10px 0;
	clear: both;
	color: #248;
	font-weight: lighter;}
	
h1 {
	font-size: 1.5em;}
	
h2 {
	font-size: 1.4em;}
	
h3 {
	font-size: 1.2em;
	/*font-weight: bold;*/}
	
p {
	margin: 0 0 10px 0;}
	
a {
	color: #9b9bcc;}
	
ol, ul {
	list-style-position: outside;
	margin: 0 0 0 20px;
	padding: 0;
	/*list-style: none;*/
}

#NavColumn ul , #NavColumn p{
	list-style: none;
	margin: 0 40px 0 40px;}

li {
	margin: 0 0 10px 0;}

.codedirection {
	unicode-bidi: bidi-override;
	direction: rtl;
}

hr {
	padding: 0;
	margin: 0;
	color: #aaa;
	background-color: #aaa;
	height: 1px;
	border: 0;
}

.quote {
    font-style: italic;
	text-align: right;
	padding: 10px 0 0 0;}

/************ jquery image popup *************/

#preview {
	position:absolute;
	border:1px solid #ccc;
	background:#d6d6e0;
	padding:5px;
	display:none;
	color:#333;
	}

.image_popups {
	float: left;
	background-color: #ddd;
	margin: 0 10px 10px 0;
	border: 2px solid #ccc;
	width: 110px;} /* need to specify width to validate, pics are all 100px wide */

.image_popups img {
	display: block;
	margin-left: auto;
    margin-right: auto;
	margin-top: 5px;
	margin-bottom: 5px;
	border: 1px solid #bbb;
}
	
/********** tables **********/
.grid
{
	border-collapse: collapse;
	border: 1px solid #777;
	line-height: 150%;
	margin: 0 0 10px 0;
}

.grid th {
	padding: 8px;
	font-weight: bold;
	text-align: center;
	background: #ddd;
	border: 1px solid #aaa;}

.grid td {
	padding: 8px;
	background: #eee;
	border: 1px solid #aaa;}
	
/*********** warning **********/
.warning p {
	/*margin-left: 100px;*/}

.warning img {
	float: left;
	margin: 0 10px 10px 0;}
	
div.warning {
	padding-top: 10px;
	padding-left: 10px;
	padding-right: 10px;
	margin: 10px 0 10px 0;
	/*border-top: 3px red double;
	border-bottom: 1px red solid;
	border-left: 1px #FFD0D0 solid;
	border-right: 1px #FFD0D0 solid;*/
	border: 1px #FFD0D0 solid;
	background-color: #FFE0E0;
	overflow: hidden;
	display: block;}
	
.noscript {
	background-image: url('images/css/noscript.png');
	background-repeat: no-repeat;
	background-position: center;
	height: 150px;
	clear: left;
	margin: 0 auto; /* center the div */
	margin-top: 40px; /* push the div down */
	margin-bottom: 10px; /* add space below the div */
	}
	
.noscript  p {
	margin: 0 30px 0 80px;
	padding-top: 40px;}
	