/* General style for the tbdb background */

/* set background frame color for top and general styles */
c-anno {
	display: none;
}
body {
	background-color:#D9F7FF;
	background-image:url(/tbdbPages/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;
}	

/* style footer and make sure that it appears on its own line */
div#footer {
	clear: both;
	background-color:transparent;
	color:#0099CC;
	font-size:9px;
	height:34px;
	line-height:30px;
	margin:0;
	padding-left:16px;
}

/* Generic style for the maincontent of pages */

#maincontent {
	/* clear: both;  */
	background-color:#FFFFFF;
	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;
	float: left;
}

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

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

/* pages with left sidebar */

#sidebarleft, #maincontent.narrowleft #sidebarleft.side {
        background-color:#aaf892;
	float:left;
	margin:1px 20px 0 0;
	padding:20px 10px 20px 10px;
	width:176px;
}

#sidebarleft.side {
        width:284px;
        }

div.leftonly div#centerright,
div#maincontent.homepage div#bodycontent.leftright { 
	/* margin should be sidebar width + sidebar right padding + sidebar left padding + sidebar right margin */
	margin-left: 324px;
        /* removed by CS - the float destroys the height of the element
         float: left;  */
}

div.narrowleft div#centerright {
	margin-left: 216px;
	min-width: 760px;
}

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

#maincontent {
	/* extend border past bottom of left nav */
	float: left;
}

/* for gene expression scope */
div#topcontainer {
	background-color: #FFFFFF;
}

/* footer links */
.footlinks {
    padding-left: 250px;
}

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


/* Specific list and element styling */

/* 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 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;
}

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


/* 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(/tbdbPages/dotted1.gif);
        background-repeat:repeat-x;
        height: 3px;
        width: 100%;
        margin-bottom: 12px;
        }

/* style for bullets in quicklinks (and other sidebar stuff) */
#sidebarleft ul {
	margin:0;
	padding:10px 0 10px 6px;
}
#sidebarleft li {
	background:transparent url(/images/tbdb/bullet.gif) no-repeat scroll 0 0.5em;
	float:none;
	list-style-type:none;
	margin:0;
	padding:0 5px 6px 12px;
}

/* 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;
}

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





	
/* login styles */
/* 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;
}



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

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;
}

/* 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; /* (was: 6px 31px) */
    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; /* (was: 18px) */
    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(/tbdbPages/top1.jpg);
	background-repeat:no-repeat;
	background-position: -40px 0px;
}

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


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

/* style for footer links */
#footer a:hover {
	color:#6633CC;
}
#footer a {
	color: #0077AA;
}
.footlinks {
        padding-left: 250px;
}
.clr {
	clear: both;
}
.ecolihubdp {
        display: none;
}
.tbdbdp {
        display: auto;
}

