/* standard mini-icon backgrounds */
a[rel~="external"], a[href $='.defs'],a[href $='2go'],a[href $='.obo'],a[href *='GO_slims/'],a[href $='.owl'],a[href $='.daml'],a[href $='.dtd'],a[href $='.ontology'],a[href $='README'],a[href $='.txt'],a.txt, a[href $='.rtf'], a[href $='.doc'], a[href $='.docx'], a[href $='.pdf'], a[href $='.ppt'], a[href $='.pptx'], a[href $='.psd'], a[href $='.sxi'], a[href $='.zip'], a[href $='.gz'], a[href $='.gz?rev=HEAD'], .addr, a.dir, a[href $='rss.xml'], .panel a[href*='amigo.geneontology.org'], a[href*='facebook.com'], a[href *='go.berkeleybop.org/news4go'], a[href*='twitter.com'], a[href *='wikipedia.org'] { background-image: url(../images/icon-css-sprite.gif); }

h1 { padding-top: .8em; }
#fullpage{ width: 80em; max-width: 80em; }
#content, #main, #main-margin {margin-left: 22%}
#navBox { width: 20%; text-align: left; }

#main-margin { width: 58% }
#main-margin .floating-links { left: 103%; width: 31% }
#nav { width: 100%; margin: 0; }
#nav li /*, #nav li li, #nav li li li */ { float: none;  border-top: .1em solid #3875d7; }
#nav ul { margin: 0; position: relative; left: auto; font-weight: normal; }

#nav li:hover ul ul, #nav li:hover ul, #nav li li:hover ul { left: auto; }
#nav li, #nav ul, #nav ul li { width: auto; }
#nav ul ul { margin: 0; }
#nav ul { border: 0 none; }
#nav a { /* border-bottom: .1em solid #3875d7; */ padding-left: 10px; }
#nav ul a { padding-left: 20px; }
#nav ul ul a { padding-left: 30px; }
#nav ul ul ul a { padding-left: 40px; }
#nav ul, #nav ul ul, #nav ul ul ul { display: block; }

#nav a, #nav a:visited { background-color: #DFE8F9; border-bottom: 0 none; }
#nav ul a, #nav ul a:visited { background-color: #EBF1FC; border-bottom: 0 none; }
#nav ul ul a, #nav ul ul a:visited { background-color: #F6F9FF; border-bottom: 0 none; }
#nav a:hover, #nav a:focus, #nav ul a:hover, #nav ul a:focus, #nav ul ul a:hover, #nav ul ul a:focus, #nav ul ul ul a:hover, #nav ul ul ul a:focus { color: #fff; background-color: #3875D7; }
#nav a:active, #nav ul a:active, #nav ul ul a:active, #nav ul ul ul a:active { color: #3875D7; background-color: #fff; }

#nav #news-link, #nav #rss-link, #nav #twitter-link, #nav #facebook-link { background-repeat: no-repeat; background-image: url(../images/icon-css-sprite.gif); padding-left: 30px; padding-right: 20%; }

#nav #news-link, #nav #news-link:link { background-position: 98% -438px; }
#nav #news-link:visited { background-position: 98% -1438px; }
#nav #news-link:hover, #nav #news-link:focus, #nav #news-link:active { background-position: 98% -2438px; }

#nav #twitter-link, #nav #twitter-link:link { background-position: 98% -558px; }
#nav #twitter-link:visited { background-position: 98% -1558px; }
#nav #twitter-link:hover, #nav #twitter-link:focus, #nav #twitter-link:active { background-position: 98% -2558px; }

#facebook-link, #nav #facebook-link:link { background-position: 98% -518px; }
#facebook-link:visited { background-position: 98% -1518px; }
#facebook-link:hover, #nav #facebook-link:focus, #nav #facebook-link:active { background-position: 98% -2518px; }

#nav #rss-link, #nav #rss-link:link { background-position: 98% -278px; }
#nav #rss-link:visited { background-position: 98% -1278px; }
#nav #rss-link:hover, #nav #rss-link:focus, #nav #rss-link:active { background-position: 98% -2278px; }

p.toTop a, .navBar li a, .navBar li.here { zoom: 1; display: inline; }
a[rel~="external"], .addr { background-image: none; padding-right: 2px; }
a[href *='#'] { background-image: none; padding-left: 2px; padding-right: 2px; }
