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

general styles for all pages, edit with care

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

body,p,h1,h2,h3,h4,form,ul,li{
	margin:0;
	padding:0;	
}

body{
	font-family:Arial, Helvetica, sans-serif;
	font-size:12px;
	color:#333;
	background-color:#103374;
}

a:link , a:visited{
	text-decoration:none;
	color:#039;
}

a:hover{
	text-decoration:underline;
}

h1,h3{
	font-weight:normal;
	margin-bottom:12px;
}

h1{
	font-size:24px;
}

h2{
	font-weight:normal;
	font-size:18px;
	margin-top:12px;
}

h3{
	font-size:14px;
}

ul li{
	margin-left:20px;
}

p{
	margin-bottom:12px;
}

.right{
	text-align:right;
}

.blue{
	padding:10px;
	background-color:#D1E3F6;
	clear:both;
}

.cell{
	border-right: black 1px solid; 
	border-top: black 1px solid; 
	border-left: black 1px solid;
	border-bottom: black 1px solid;
}

.notify{
	background-color:#FFC;
	padding:10px;
	clear:both;
}

.pager{
	text-align:center;
	padding:10px;
	color:#036;
	font-size:11px;
	font-weight:bold;
	letter-spacing:10px;
	background-color:#f1f1f1;
	margin-top:5px;
	clear:both;
}

.pager a{
	color:#036;
	text-decoration:none;
}

.pager a:hover{
	color:#099;
}

/********** form *************/
fieldset{
	border:none;
}

#login form label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 250px; 
	padding: 0; 
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
}

form .input, form textarea {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of    label aligns textarea better in IE */
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
}

form .input{
	width:150px;
	border:#D3D5D6 solid 1px;
	border-top:#6D6F70 solid 1px;
	padding:5px;
}

.small_input{
	border:#D3D5D6 solid 1px;
	border-top:#6D6F70 solid 1px;
	width:80px;
}

.textarea, textarea { 
	overflow: auto;
	border:#D3D5D6 solid 1px;
	border-top:#6D6F70 solid 1px;
	width:300px;
	height:150px;
	padding:5px 0;
}

form p{
	margin:0;
	padding:2px;
}

form .login{
	margin:0px 0 0 10px; /* set margin on left of form elements rather than right of    label aligns textarea better in IE */
}


/********** homepage ***********/

#home{
	background:#0066CC url(/app/default/www/images/bg_home.jpg) top no-repeat;	
	margin:auto;
	width:980px;
	color:#FFF;
}

#home_header{
	color:#FFF;
	overflow:hidden;
	padding-left:540px;
	margin-bottom:240px;
}

#home_body{
	padding:0px 20px;
	overflow:hidden;
	padding-bottom:20px;	
}

#home_content{
	float:left;
	width:570px;
	line-height:20px;
	margin-right:20px;
}

#news{
	float:left;
	width:281px;
}

#news h2{
	padding-left:10px;
}

#news_wrap{
	background:#0043C3 url(/app/default/www/images/bg_news.jpg) left top no-repeat;
	padding-top:2px;
}

#news_wrap p{
	padding:0px 15px;	
}

#news_wrap h3 img{

}

#news_wrap h3{
	padding:5px;
	padding-left:10px;
	color:#9FF;
	font-size:18px;
	margin:5px;
}

#news_wrap a:link , #news_wrap a:visited{
	color:#6FF;
}

#news_wrap a:hover{
	color:#FFF;
	text-decoration:underline;
}

.news{
	border-bottom:#1C58CA solid 1px;
	padding:10px;
	font-size:11px;
}

/******************* CSS DROP DOWN *********************/

#navi{
	padding-left:20px;
}

#navi ul { /* all lists */
	list-style: none;
}

#navi li { /* all list items */
	float: left;
	position: relative;
	padding:5px 30px;
	padding-left:0;
	margin-left:0;
}

#navi li ul { /* second-level lists */
	display: none;
	position: absolute;
	top: 1em;
	left: 0;
	padding:5px;
	overflow:visible;
	z-index:99; /** add this fix for menu **/
	background:#003E9B url(/app/default/www/images/top_ul.jpg) left top no-repeat;
}

#navi li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	left: auto;
}

#navi li:hover ul,#navi li.over ul { /* lists nested under hovered list items */
	display: block;
	width:200px;	
}

#navi li li, #navi li ul{
	padding-bottom:0;
	margin-bottom:0;
}

#navi li li img{
	margin-left:-5px;
	padding-bottom:0;
	margin-bottom:-3px; /** fix 3px bug **/
}
#navi li li{
	width:200px;
}

/******************* SUBPAGES*********************/

#wrap{
	background-color:#0066CC;
	margin:auto;
	width:980px;
	overflow:hidden;
	padding-bottom:20px;
}

#header{
	/* background:url(/app/default/www/images/bg_header.jpg) left top no-repeat; */
	padding-bottom:30px;
}
#sub_header{
	background-color:#07203E;
	margin-bottom:10px;
}
#welcome{
	float:right;
	margin:10px 10px 0 10px;
	color:white;
}

#header a{
	color:#FFF;
}

#main_content{
	padding:10px;
	min-height:500px;
}

#main_content h1{
	background:url(/app/default/www/images/dot.gif) bottom repeat-x;
}

.results{
	float:left;
	width:445px;
	margin:10px 10px 5px;
	display:inline;
}

.results table , .results_add table , .results_view{
	border-collapse:collapse;
}

.results table td{

}

th{
	text-align:center;
	font-size:16px;
	padding:5px;
}

#results table td h2{
	margin:0;
	padding:0;
	padding-bottom:0;
}

.results_odd td , .results_even td{
	padding:3px;
}

.results_odd{
	width:100%;		
	background-color:#E6E6E6;
	padding:5px;	
}

.results_even{
	width:100%;	
	background-color:#E8F1FB;
	padding:5px;	
}

#results td.results_img{
	padding:5px;
	width:160px;
}

#results td.results_img_small{
	padding:5px;
	width:80px;
}

.results_img img , .results_img_small img{
	padding:3px;
	background-color:#FFF;
}

.results .cart{
	font-weight:bold;
	padding-bottom:7px;
}

.sci_name{
	font-style:italic;
}

.cart img{
	margin-bottom:-7px;
}

.results_add , .results_view{
	margin:10px 10px 5px;
}


/************* sub page flexible box *****************/

#f_wrap{
	background-color:#0066CC;
	margin:auto;
	width:100%;
	overflow:hidden;
	padding-bottom:20px;
}

#content{
	background-color:#FFF;
	clear:both;
	margin:10px;
}

#top{
	background:url(/app/default/www/images/top_right.jpg) right top no-repeat;
	clear:both;
}

#btm{
	background:url(/app/default/www/images/btm_right.jpg) right top no-repeat;
	clear:both;
}

.grid table, .grid td {
  border: solid #cccccc 1px;
 }
 .boxed{
  border: solid #cccccc 1px;
 }
 .dotted{
	background:url(/app/default/www/images/dot.gif) bottom repeat-x;
}
.normal textarea{
	margin: 0px; /* set margin on left of form elements rather than right of    label aligns textarea better in IE */
}
.white{
	padding:10px;
	background-color:#FFFFFF;
	clear:both;
}
.pg-normal {
	color: #84b5cc;
	font-weight: normal;
	text-decoration: none;    
	cursor: pointer;    
}
.pg-selected {
	color: #0066cc;
	font-weight: bold;        
	text-decoration: underline;
	cursor: pointer;
}
