/* General style for the tbdb background */

/* set background frame color for top and general styles */
body {
	background-color:#D9F7FF;
	background-image:url(../../images/tbdb/bg1.gif);
	background-repeat:repeat-x;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	margin:0;
	padding:0;
}

/* General font spacing on the site */
#wrapper {
	line-height: 1.5em;
	font-size: 11px;
}	

/* General link behavior */
a {
        color: #0033CC;
        text-decoration: none;
}
a:hover {
        color: #CC6600;
        text-decoration: underline;
}
	

/* Styles for the TBDB menu */
#menuwrapper {
	height: 53px;
	margin: 0 0 0 16px;
	width: 1052px;
	font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
	font-size: 1.2em;
	}


/* level 1 navigation */
#nav1 {	
    margin: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	height: 28px;
}
#nav1 ul {
	list-style: none;
	margin: 0px;
	padding: 0px;
	white-space: nowrap;
}
#nav1 ul li {
	/* keep the menus on one line */
    display: inline;
	white-space: nowrap;
	height: 28px;
	padding: 2px 0;
	border-right: dotted 1px #FFF;
}
#nav1 ul li a {
	color: #336699;
	height: 28px;
	padding:6px 24px;
	margin: 0px;
	white-space: nowrap;
	line-height:28px;
    }
	
#nav1 ul li a:hover { color: #FFFFFF; background-color: #0066CC; text-decoration: none;}
#nav1 ul li a.activated {
	color: #FFFFFF;
	background-color: #0066CC;
}


#nav1 ul li a.on {
	color: #FFFFFF;
	background-color: #0099CC;
}

#nav1 ul li.on {
	color: #FFF;
	background-color: #0099CC;
	background-repeat: repeat-x;
}       


/* level 2 navigation */
#nav2 {
	height: 27px;
	line-height: 27px;
	
}
#nav2 ul {
	list-style: none;
	margin:0;
	padding:0;
	white-space: nowrap;
}
#nav2 ul li {
	height: 27px;
	/* keep the menus on one line */
	white-space: nowrap;
	display: inline;
	border-left: 1px dotted #aaF;
	padding: 0px 12px;
}


#nav2 ul li:first-child { border-left: none; }


#nav2 ul li a {
	font-size:0.95em;
	line-height:1em;
	color: #66FFFF;
	margin: 0;
	padding-right: 0px;
	padding-left: 4px;
	padding-top: 4px;
	padding-bottom: 5px;        
}
#nav2 ul li a.on {
	color: #66FFFF;
}
#nav2 ul li a:hover {
	color: #00FFFF;
	text-decoration: none;
}
#nav2 ul li a:active {
	color: #66FF66;
	text-decoration: none;
}
#nav2 ul li a:hover.on {
	color: #66FF33;
	text-decoration: none;
}
#nav2 ul li a:active.on {
        color: #66FF33;
        text-decoration: none;
}

.hidden {
        display: none;
}

/*   A few miscelaneous new styles */

/* Topheader for all pages other than home page */
#header1a {
	height: 100px;
	color: #FFFFFF;
	background-image:url(../../images/tbdb/top1.jpg);
	background-repeat:no-repeat;
	background-position: -40px 0px;
}

/* Top header for the homepage */
#header1 {
	background-image:url(../../images/tbdb/top1.jpg);
	background-position:-40px 0;
	background-repeat:no-repeat;
	color:#FFFFFF;
	height:100px;
	background-color: transparent;
}

/* Position login box in the proper location */
#login {
	color:#FFFFFF;
	font-family:Verdana,Arial,Helvetica,sans-serif;
	font-size:11px;
	height:25px;
	left:548px;
	position:absolute;
	text-align:right;
	top:19px;
	width:480px;
	z-index:2;
}

/* coloring for login link (in header) */
#login a {
	color:#CCFF99;
	text-decoration:none;
}

/* Position help button on the right without a scroll button */
#helpbutton {
        /* prevents scrollbar on bottom */
        margin-right: 5px;
}

/* style footer and make sure that it appears on its own line */

div#footer {
	clear: both;
	background-color:transparent;
	border-bottom:medium none;
	border-top:medium none;
	color:#0099CC;
	font-size:9px;
	height:34px;
	line-height:30px;
	margin:0;
	padding-left:16px;
}

/* style for footer links */
#footer a:hover {
	color:#6633CC;
}
#footer a {
	color: #0077AA;
}
.footlinks {
	padding-left: 250px;
}

/* Generic style for the maincontent of pages */

#maincontent {
	clear: both;
	background-color:#FFFFFF;
	/* 
	background-image:url(../../images/tbdb/dots.gif);
	background-repeat:repeat-y;
	*/
	border-bottom:1px solid #0099FF;
	border-left:1px solid #0099FF;
	border-right:1px solid #0099FF;
	margin:1px 16px;
	padding-right:30px;
	text-align:left;
	width:1020px;
}

/* login styles */

div#login.showlogin span#userdisplay,
div#login.showlogin span#signout
{
/*display: none;*/
	display: block;
}

div#login.hidelogin span#signin
{
display: block;
}

/* Logged in */
div#login.hidelogin span#userdisplay,
div#login.hidelogin span#signout
{
display: block;
}

div#login.hidelogin form#loginform,
div#login.hidelogin span#signin
{
/*display: none;*/
	display: block;

}


div.white {
	/* Top margin keeps it out of the menu */
	margin-top: 1px;
}

/* Styles for tables within the smd portion of tbdb */
.white th {
        background-color: #6699CC;
        text-align: left;
        padding-top: 4px;
        padding-right: 6px;
        padding-bottom: 5px;
        padding-left: 6px;
        font-size: 11px;
        line-height: 13px;
        vertical-align: top;

}

.white th a {
        color: #660000;
        text-decoration: none;
}
.white th a:hover {
        color: #660000;
        text-decoration: underline;
}
.white td {
        background-color: #FFFFFF;
        text-align: left;
        padding-top: 2px;
        padding-right: 6px;
        padding-bottom: 2px;
        padding-left: 6px;
        border-bottom-width: 1px;
        border-bottom-style: solid;
        border-bottom-color: #e6e4b1;
        vertical-align: top;
}

/* padding style for legacy smd pages */
div.padding {
	padding-left: 8px;
	padding-top: 2px;
}

/* pages with left sidebar */

#sidebarleft {
	background-color:#aaf892;
	float:left;
	margin:1px 20px 0 0;
	padding:20px 10px 10px;
}
#sidebarleft.home { 
	background-color:#aaf892;
	width:284px; 
	}

div.leftonly div#centerright {
	width: 830px;
	/* removed by CS - the float destroys the height of the element
	 float: left;  */
}
 
div#maincontent.leftonly {
	width: auto;
}


/* standardize Sidebar h2 tag */
#sidebarleft h2 {
	background-color:#66CC66;
	color:#FFFFFF;
	font-family:"Lucida Sans","Lucida Sans Unicode","Lucida Grande",Verdana,sans-serif;
	font-size:1.5em;
	letter-spacing:0.02em;
	line-height:14px;
	margin:-20px -10px 0;
	padding:16px 12px;
}

/* main body headers */
#bodycontent.homepage h2 {
	background-color: transparent;
	border: none;
	color:#339966;
	font-family:"Lucida Sans","Lucida Sans Unicode","Lucida Grande",Verdana,sans-serif;
	font-size:1.62em;
	line-height:18px;
	margin:0;
	padding:0;
}

#bodycontent h2 { margin:0 0 10px; }

#FGItable table { margin-left:0; }

/* main body padding */
#bodycontent {
	padding-top: 20px;
	padding-bottom: 50px;
	width: auto;
}

/* style for the 'images' on the second line of homepage header */
#header2 {
	background-color:#CCFF99;
	margin:0 0 0 16px;
	width:1052px;
}

/* Position user id and login link at appropriate location below search box */ 
#headersearch {
	margin-bottom: 0 0 18px 0;
	padding:0 0 20px;
}

/* Homepage only style for tutorial links */
#bodycontent ul.frontpage-links {
	font-size:1.5em;
	font-weight:bold;
	line-height:1.75em;
	font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, sans-serif;
	}
#bodycontent ul.frontpage-links li {
	display:list-item;
	list-style: inside;
	list-style-type:disc;
	margin-left:1em;	
	background-image: none;
	}	

#bodycontent hr {
	background-image:url(../../images/tbdb/dotted1.gif);
	background-repeat:repeat-x;
	border: 0px none;
	height: 3px;
	width: 100%;
	margin-bottom: 12px;
	}
/*
form#Form { display: none; }	*/
	
#hideMe {
background-image:url(../../images/loading.png); 
background-repeat:no-repeat; 
background-position:center 250px; 
display: none; 
height: 100%; 
left:0px; 
padding-top:300px; 
position:absolute; 
text-align:center; 
top:0px; 
width: 100%; 
z-index:1000;
}