div#t{
	width: 666px;
	min-width: 600px;
	margin-top: 20px;
	margin: auto;
	clear: both;
}

div#tabs { text-align: center; }

div#tabs div { display: inline-block; }

#bl {background: url(../../images/search/bl.gif) 0 100% no-repeat}
#br {background: url(../../images/search/br.gif) 100% 100% no-repeat}
#tl {background: url(../../images/search/tl.gif) 0 0 no-repeat}
#tr {background: url(../../images/search/tr.gif) 100% 0 no-repeat; padding:10px}
#t {background: url(../../images/search/t.gif) 0 0 repeat-x;}
#b {background: url(../../images/search/b.gif) 0 100% repeat-x}
#l {background: url(../../images/search/l.gif) 0 0 repeat-y}
#r {background: url(../../images/search/r.gif) 100% 0 repeat-y}

.selected .bl {background: url(../../images/search/selected/bl.gif) 0 100% no-repeat; z-index: 20; position: relative}
.selected .br {background: url(../../images/search/selected/br.gif) 100% 100% no-repeat; z-index: 18; position: relative}
.selected .tl {background: url(../../images/search/selected/tl.gif) 0 0 no-repeat; z-index: 16; position: relative}
.selected .tr {background: url(../../images/search/selected/tr.gif) 100% 0 no-repeat; padding:10px; z-index: 14; position: relative}
.selected .t {background: url(../../images/search/selected/t.gif) 0 0 repeat-x; z-index: 12; position: relative}
.selected .b {background: url(../../images/search/selected/b.gif) 0 100% repeat-x; z-index: 10; position: relative}
.selected .l {background: url(../../images/search/selected/l.gif) 0 0 repeat-y; z-index: 8; position: relative}
.selected .r {background: url(../../images/search/selected/r.gif) 100% 0 repeat-y; z-index: 6; position: relative}

.not-selected .bl {background: url(../../images/search/not-selected/bl.gif) 0 100% no-repeat; z-index: 20; position: relative}
.not-selected .br {background: url(../../images/search/not-selected/br.gif) 100% 100% no-repeat; z-index: 18; position: relative}
.not-selected .tl {background: url(../../images/search/not-selected/tl.gif) 0 0 no-repeat; z-index: 16; position: relative}
.not-selected .tr {background: url(../../images/search/not-selected/tr.gif) 100% 0 no-repeat; padding:10px; z-index: 14; position: relative}
.not-selected .t {background: #efeef3 url(../../images/search/not-selected/t.gif) 0 0 repeat-x; z-index: 12; position: relative}
.not-selected .b {background: url(../../images/search/not-selected/b.gif) 0 100% repeat-x; z-index: 10; position: relative}
.not-selected .l {background: url(../../images/search/not-selected/l.gif) 0 0 repeat-y; z-index: 8; position: relative}
.not-selected .r {background: url(../../images/search/not-selected/r.gif) 100% 0 repeat-y; z-index: 6; position: relative}

.not-selected a, .not-selected a:visited, .not-selected a:link {
	font-weight: bold;
	color: #99bfe7;
}

.selected a, .not-selected a:hover { font-weight: bold; color: #0060c3; }

.selected div.t , div#t {  background-color: white; }

div#search { padding: 20px; }

div.tab.search{
	text-align: center;
	padding: 6px;
	margin: 2px 2px -8px;	
}

div#search #libraries{
	width: 100%;
	text-align: right;
	margin: 5px 0px;
}

div#search input[type="text"], div#search select { border: 1px inset #8c8c8c; }

div.not-selected{ position: relative; z-index: 8; }

div.tab_container{ margin-bottom: -15px; }

div.first, div.second, div.third { float: left; }

div#pub_count {
	font-size: 2.2em;
	color: #aaaaaa;
	text-align: center;
	margin-top: 20px;
}

div#pub_count span { color: #aaaaaa; }

div#pub_count p.smaller { padding: 0px; font-size: 19px; }

div#pub_count p.smallest { font-size: 15px; }

div#autosuggest{
	position: absolute; 
	left: 22px; 
	top: 672px; 
	display: none;
}

div.after hr {
	margin-top: 25px;
	margin-bottom: 25px;
	border-color: #78A3ED;
	border-style: dotted none none;
}

div.after {
	margin: auto;
	width: 666px;
	clear: both;
}

/* Firfox 2 hacks */
body.ff2 div#tabs { width: 35em; margin-left: auto; margin-right: auto; }

body.ff2 div.tab_container{ margin-bottom: -11px; }
