.advanced-search-results .pager span {
    float:right;
    position: relative;
    z-index: 2;
}
.advanced-search-results .pager p {
    display: inline;
}

.advanced-search-results .results-bar {
    border-bottom: none;
}


#content .advanced-search-results div.pager {
    height: 12px;
    margin-top: 0;
}
#search-page .keywords button {margin: 5px 7px 0 0}

.usersearch #pager ul.pages {
display:block;
border:none;
text-transform:uppercase;
font-size:10px;
margin:15px 0;
padding:0;
}

.usersearch #pager ul.pages li {
list-style:none;
float:left;
border:1px solid #ccc;
text-decoration:none;
margin:0 5px 0 0;
padding:5px;
}

.usersearch #pager ul.pages li:hover {
border:1px solid #003f7e;
}

.usersearch #pager ul.pages li.pgEmpty {
border:1px solid #eee;
color:gray;
}

.usersearch #pager ul.pages li.pgCurrent {
border:1px solid #003f7e;
color:#000;
font-weight:700;
background-color:#eee;
}

form ul li.errors{
    color: red;
    font-weight: bold;
}

td.checkbox-toggle  {
	vertical-align: top; 
	padding-top: 7px;
}

/*The following are added for melchett related pages, should be refined when possible*/

.theme #content div.secondary-content.usersearch a.small-btn
{
   float: right;
}

.theme #content div.rightAlign a.small-btn, .theme #content div.rightAlign button{
    margin-left: 15px;    
}

.theme #content div.secondary-content.usersearch fieldset.center
{
    margin: 0 0 10px;
    padding:15px 32px 0 0;
    width: 522px;
}
.theme #content div.secondary-content.usersearch fieldset.center label
{
    display: inline-block;
    font-weight: bold;
    width:90px; 
}

/* For filters on portal sites*/

fieldset.search-include label{
float:left;
padding: 3px 5px 0 0;
}



.theme #content div.userdetails fieldset.right {
	padding-right: 10px;
}

.theme #content div.secondary-content.usersearch fieldset.center input.text,
.theme #content div.secondary-content.usersearch fieldset.center select
{
    display: inline-block;
    margin:0 0 15px;
    padding:3px 0;
    max-width: 420px;
}

.theme #content div.secondary-content.usersearch fieldset.center .col2 input.text
{
    width: 420px;
}

.theme #content div.secondary-content.usersearch fieldset.center .col3 input.text, .theme #content div.secondary-content.usersearch fieldset.center .col3 select
{
    width: 208px;
}

.theme #content div.secondary-content.usersearch fieldset.center .col4 input.text
{
    width: 160px;
}

.theme #content div.secondary-content.usersearch div.not-found {
    color:red;
}
.theme #content div.secondary-content.usersearch fieldset.details input[type=checkbox]{ float: left; margin-right: 5px;}
.theme #content div.secondary-content.usersearch fieldset.details .nomargin{ margin: 0;}
.theme #content div.secondary-content.usersearch fieldset.details .sub_label{ float: left; color: #0033CC; font-weight: bold;}

.theme #content div.secondary-content.usersearch fieldset.details div.text.disabled {
    clear:both;
    color:#000000;
    margin: 15px 0;
    padding:3px 5px 3px 0;
    min-height: 15px;
    width:99%;
    max-width:327px;
}

.theme #content div.secondary-content.usersearch fieldset.details textarea {
    background-color: #FAFAFA;
    background-image: none;
    clear: both;
    color: #000000;
    margin: 0 0 15px;
    padding: 3px 0;
    width: 99%;
}

.theme #content div.secondary-content.usersearch fieldset.details select.col_left {
    width: 250px;
    height: 80px;
    float: left;
}
.theme #content div.secondary-content.usersearch fieldset.details .col_right {
    width: 76px;
    float: right
}
.theme #content div.secondary-content.usersearch fieldset.details .col_right button {
    margin: 0 0 5px;
}
.theme #content div.secondary-content.usersearch fieldset.details .col_right button.disabled {
    background-color: gray;
}

/*================saved search====================*/
.saved-search {
    width: 750px;
    float: left;
    padding: 10px 0 0 0;
    border: 1px solid #d4d4d4;
    margin: 7px 0 22px;
}

.saved-search span.right {
    padding: 0 10px 0 0;
}

.saved-search h4 {
    display: inline;
    font-size: 1.0em;
    padding: 0 0 0 20px;
    margin: 0 0 10px;
    color: #000;
    word-wrap: break-word;
}

.saved-search button.red {
    margin: 0 30px 0 0;
}

.saved-search ul {
    position: relative;
    z-index: 10;
    width: 100%;
    overflow: hidden;
    padding: 5px 0 0 0;
    line-height: normal;
    bottom: -1px;
}

.saved-search ul li {
    float: left;
    margin: 0;
    padding: 0;
}

.saved-search ul li a {
    display: block;
    float: left;
    text-decoration: none;
    padding: 4px 10px 6px 22px;
    border: 1px solid #d4d4d4;
    border-left: none;
    color: #5c5c5c !important;
}

.saved-search ul li.active a{
    border-bottom: 1px solid #fafafa;
}
.saved-search ul li.active a i{
    background-image: url(../images/icons/arrow-d.png);
    height: 5px;
    width: 7px;
}

.saved-search .saved-name {
    max-width: 60%;
}

fieldset.edit-settings {
    border-top: 1px solid #d4d4d4;
	border-left: none;
	border-right: none;
    background: #fafafa;
    padding: 11px;
    position: relative;
    top: -1px;
    z-index: 0;
}

fieldset.edit-settings.settings-searchresults{
border-left: 1px solid #d4d4d4;
border-right: 1px solid #d4d4d4;
border-bottom: 1px solid #d4d4d4;
margin-bottom: 5px;
}

fieldset.edit-settings options{
    border-top: 1px solid #d4d4d4;
	background: #fafafa;
    padding: 11px;
    position: relative;
    top: -1px;
    z-index: 0;
}

fieldset.edit-settings fieldset {
    width: 100%;
    float: left;
    margin: 0 0 5px;
}

fieldset.edit-settings label {
    display: block;
    float: left;
    width: 120px;
    font-weight: bold;
    color: #000;
    margin: 3px 0 0 0;
}

fieldset.edit-settings .text {
    width: 317px;
    margin: 0 5px 0 0;
    color: #000;
    background: #FFF;
}

fieldset.edit-settings .small-btn {
    margin-top: 1px;
}

#content fieldset.edit-settings .small-btn.grey {
    background: #818181 url(../images/icons/gray-btn-left.png) no-repeat scroll 0 0;
}

#content fieldset.edit-settings .small-btn.grey:hover {
    background-color: #212121;
    background-position: 0 100%;
}

#content fieldset.edit-settings .small-btn.grey span {
    background: url(../images/icons/gray-btn-right.png) no-repeat scroll 100% 0;
}

#content fieldset.edit-settings .small-btn.grey:hover span {
    background-position: 100% 100%;
}

fieldset.edit-settings .disabled {
    background: #d4d0c8;
}

fieldset.edit-settings select {
    margin: 0 15px 0 0;
    width: 325px;
    float: left;
}

fieldset.edit-settings label.format {
    font-weight: bold;
    width: 90px;
}

fieldset.edit-settings select.format {
    width: 128px;
}

fieldset.edit-settings .readonly {
    display: block;
    float: left;
    margin: 3px 0 0 0;
}
fieldset.search-date .search-date-days{
    float:left;
}
fieldset.search-date .search-date-year{
    float:left;
    margin-left:10px;
}
fieldset.search-date .search-date-year select{
 width:70px;   
}

fieldset.search-date .search-date-days select{
 width:114px;   
}

table.fieldNameList {
    width: 20em;
    border-collapse: collapse; 
}

table.fieldNameList td{
    border: 1px solid;
}

table.fieldNameList caption{
    font-weight:bold;
}

table.fieldNameList .name{
    font-weight:bold;
    width:30%
}

p.search-history-margin{
margin-left:10px;
}

/* styles added for helpbox on search page*/

.search-options  #content, .tertiary-content.search-options{
overflow: visible;
}  
table.searchPageTable td,
table.searchPageTable th
{
border: 1px solid #ddd;
background-color: #fafafa;
border-collapse: collapse;
padding: 4px;
}

table.searchPageTable {
width: 100%;
}

.helpbox table {
width: 135px;
}


table.searchPageTable th{
font-weight: bold;

}

/*custom list for search helpboxes*/

ul.searchresults-list{
margin: 1px 1px 15px;
}


body.theme.search-options ul.tabNav li a{
color: #fff;
}

body.theme.search-options ul.tabNav li.current a{
color: #1E4C99;
}


#search-history h2, #search-page h2 {
float: left;
}

img#searchHelp, img#searchHistoryHelp{
cursor: pointer;
margin: 6px;
}

img#searchResultsHelp{
    margin-left: 4px;
}

img#searchHelpBoolean{
cursor: pointer;
margin: 4px 0 0 6px;
}

a#searchHelpBoolean{
cursor: pointer;
}

ul.tabNav li#fields, div.tab.fields { display: none; }

ul.tabNav { float: left; list-style: none; width: 100%; margin-top: 25px; margin-left: 9px; }
ul.tabNav li { float: left; margin: 0 3px 0 0; padding: 0; height: 16px; -moz-border-radius: 3px 3px 0 0;
    border: 1px solid #a7a7a7;
	-webkit-border-radius: 3px 3px 0px 0px; }

div.tabnav-wrap {
background: url("../images/nav/searchtabgradient.png") repeat-x scroll 0 0 transparent; margin-top: 10px; height: 46px;
float: left; width: 100%;
}

ul.tabNav li.current {
 background-color: #fbfbfb;
 border-bottom: 1px solid white;
 
 }
ul.tabNav a { background-color: #a7a7a7; color: #333; display: block;    padding: 1px 5px 0; text-decoration: none; font-size:10px;}
ul.tabNav li.current a {  border: none; background-color: #fbfbfb; }
div.tabContainer { clear: both; float: left; width: 100%; }
div.tabContainer div.tab {  color: #000; display: none; padding: 15px; }
div.tabContainer div.current { display: block; }
div.tab p:last-child { margin-bottom: 0; }

.helpbox {
	  -moz-border-radius: 15px;
	  -webkit-border-radius: 15px;
    background-color: #FFFFFF;
    border: 1px solid #d3d1d1;
    float: right;
    position: relative;
    width: 155px;
	margin-bottom: 40px;
	display: none; 
}


fieldset#boolean-search input#field1{
width: 99%;
}

/*
Accordion styles
*/


#browse-by-issues div.accordion { padding: 0;}

span.accordion-header {
cursor: pointer;

}

p.accordion-list{
padding-bottom: 10px;
}

/*
Nav arrows
*/

i.nav-arrows{
background-image: url("/images/biomed/grey-arrow-right.png");
background-repeat: no-repeat;
background-position: 0 0;
height: 7px;
left: 8px;
margin: 5px 0 0;
overflow: hidden;
position: absolute;
width: 10px;
}

i.nav-arrows.active {
background-image: url("/images/biomed/grey-arrow-down.png");
}

 .section-box .search-sections td {
	padding: 5px 3px 0;
}

 .search-sections td {
	padding: 5px 16px 0 0;
}

.search-sections td * {
	vertical-align: middle;
}

dl.small-top td {padding:9px;}


