/* px to em conversion (default = 16px)*/
/* 18px = 1.125em */
/* 16px = 1em     */
/* 14px = 0.875em */
/* 12px = 0.75em  */
/* 10px = 0.625em */
/*  8px = 0.5em   */
/*  6px = 0.375em */
/*  4px = 0.25em  */

/****** 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,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: #ddd; 
	background-image: url('images/css/background.jpg');
	background-repeat: repeat-x;
	font-family: Verdana, sans-serif, arial;
	font-size: 14px;
	color: #555;
}

#Container {
	margin: 0 auto; /*center on page*/
	text-align: left;
	width: 85%;
	background-position: center;
	}

#Header {
	background-image: url('images/css/title.jpg');
	background-repeat: no-repeat;
	background-position: center;
	height: 520px; /******* change for different title pic height ****************/
	margin: 0 auto;
	margin-bottom: 30px;
}

.content_body {
	background-color: #fff;
	border: 1px solid #bbb;
	-webkit-box-shadow: 5px 3px 10px 0px #aaa;
	box-shadow: 5px 3px 10px 0px #aaa;
	padding: 40px 60px 40px 60px;
	margin: 0 auto 30px auto;
	position:relative;
	overflow:auto;
	max-width: 900px;
	min-width: 500px;
}
	
h2, h3, h4, h5 {
	line-height:25px;}
	
h2 {
	margin: 0 0 30px 0;
	font-weight:bold;
	font-size: 22px;}
	
h3 {
	margin: 0 0 10px 0;
	font-weight:bold;
	font-size: 18px;}
	
h4 {
	margin-left:50px;}
	
h5 {
	margin-left:100px;}

h2.Contents {
	margin: 0 0 40px 0;}
	
h3.Contents {
	margin: 0 0 10px 0;}

p {
	line-height: 20px;
	padding-bottom: 20px;
	/*text-align: justify;*/}
	
#Bottom {
	clear: both;
	background-image: url('images/css/background_bottom.png');
	background-repeat: no-repeat;
	background-position: center;
	height: 70px;}

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

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

	
a {
	color: #9b9bcc;}
	
ol, ul {
	list-style-position: outside;
	margin: 0 0 0 20px;
	padding: 0;
	/*list-style: none;*/}

ul {
	list-style-type:circle;
	margin: 0 30px 20px 40px;}

li {
	margin: 0 0 10px 20px;}

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

.quote {
	font-style: italic;
	text-align: right;
	padding: 10px 0 0 0;}
	
.calc p {
	margin-top: 1.75em;
	line-height: 1.75em;}
	
.sqrt {
	border-top: solid 1px;
	padding-top: 0.12em;}
	
.rad {
	font-size: 1.3em;}
	
.sqrt_sup {
	border-top: solid 1px;
	padding-top: 0.27em;
	vertical-align: -1px;}
	
.rad_sup {
	font-size: 1.4em;
	vertical-align: 0px;}
	
.caption_cite {
	margin: 0 0 0 5px;
	font-size: 0.875em;
	font-style: italic;}
    
.strike {
    text-decoration: line-through;}

/************ 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: 10px 40px 20px 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;
}

.image_popups hr {
	margin-top: 7px;
	background-color: #aaa;
	color: #aaa;
	height:1px;
	border:none;}

.image_bottom_space {
	line-height: 5px;}
	
/********** tables **********/
.grid
{
	border-collapse: collapse;
	border: 1px solid #777;
	line-height: 150%;
	margin: 10px 0 20px 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 and info **********/

div.warning, div.info {
	padding-top: 15px;
	padding-left: 10px;
	padding-right: 10px;
	margin: 10px 0 20px 0;
	overflow: hidden;
	display: block;}
	
.warning img, .info img {
	float: left;
	margin: 0 10px 10px 0;}

div.warning {
	border: 1px #FFD0D0 solid;
	background-color: #FFE0E0;
}

div.info {
	border: 1px #d0d0ff solid;
	background-color: #e0e0ff;
}
	
	/*
.noscript {
	background-image: url('images/css/noscript.png');
	background-repeat: no-repeat;
	background-position: center;
	height: 150px;
	clear: left;
	/*margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 10px;
	}
	
.noscript  p {
	margin: 0 30px 0 80px;
	padding-top: 40px;
	width: 400px;}
	*/
div.top {
	margin: 0 auto; 
	text-align:center;
	padding-top:20px;
}

.copy_protect {
    display:none; }
	
.right {
	text-align:right;
	float:right;}
	
.center {
	text-align:center;} 
	
.bold {
	font-weight:bold;}
	
.lighter {
	font-weight:lighter;}
		
.small {
	font-size:12px;
	margin:0;
	padding:0 0 8px 0;}
	
.big {
	font-size: 20px;
	display:inline-block;}
	
.bigger {
	font-size: 24px;
	margin-bottom: 30px;
	display:inline-block;}
	
.italic {
	font-style:italic;}
	
.equation {
	margin: 10px 80px 10px 80px;
	text-align: left;
	font-size: 12px;}
