@import url(local/auth-icons.css);

* {
	margin:0;
	font-family: Tahoma, Geneva, Arial, sans-serif;
/*	font-size: 1em; */  /* Bug with text sizing in IE */
}

html, body { background:#EEE; padding:0 }

dl, ul, ol, li { padding:0 }

input,
textarea,
select,
button,
table
{ font-size: 1em }

#header h1
{ font-size: 2em }

#header h2
{ font-size: 1.5em }

#wizard
{ font-size: 1.1em }

#footer,
#head
{ font-size: .8em }

body,
button i,
button em,
th input,
.helper,
#inlinehelp li,
.add
{ font-size: .85em }

#header,
#wizard,
#xxxdoc,
#doc dl,
#commands,
#footer,
h1,
h2 {
	clear: both
}

a img {
	border: none;
}


a { color: #639 }

a:hover { text-decoration: none }

blockquote {
    margin-left: 2em;
}

abbr, acronym {
    cursor: help;
}



#head {
/*	overflow: auto;*/
	padding: 0 20px;
	height: auto;
	_height: 60px; /* Underscore hack for IE */
}

#logo, #logo a {
	width: 237px;
}

#logo {
    float: left;
}

/*
#logo.wt, #logo.wt a {
	width: 410px;    
}

#logo.pub, #logo.pub a {
	width: 410px;    
}
*/

#logo a {
	display: block;
    background-repeat: no-repeat;
	background-image: url(nihms_logo2_eee.gif);
/*Hide the text*/
	height: 0;
	overflow: hidden;
/*Size of the image*/
	padding-top: 60px;
}
/*
#logo.wt a {
	background-image: url(nihms_wt_logo2_eee.gif);
}

#logo.pub a {
	background-image: url(nihms_pub_logo_eee.gif);
}
*/

#logged {
	float: right;
	color: #999;
	margin-top: 10px;
}

#logged dt,
#logged dd {
	display: inline;
}

#logged dd+dd:before {
	content: "("
}

#logged dd+dd:after {
	content: ")"
}

#loginmenu {
	color: #999;
	float: right;
	clear: right;
    margin-top: .25em;
    margin-bottom: .25em;
}

#loginmenu a {
    white-space: nowrap;
}






#header {
	background: #999;
	padding-left: 20px;
}

#header h1,
#header dl,
#header p {
	background: #FFF;
	padding-left: 20px;
}

#header h1,
#header p {
	padding-top: 5px;
	padding-bottom: 5px;
}

#header h1 {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
}

#header dl {
	padding-bottom: 5px;
	color: #999;
}

#header dt, #header dd {
	display: inline;
}

#header dd {
	font-weight: bold;
}

#header h2 {
	color: #FFF;
}

h2 {
	text-shadow: black 0.1em 0.1em 0.1em;
}









#wizard {
	padding: .5em 0 0 0;
	padding-left: 20px;
	_padding-left: 40px;
	overflow: auto;
    _overflow: hidden;
    overflow: -moz-scrollbars-none;
	width: auto;
	_width: 100%;
	margin: 0;
	_margin: 0 -20px ;
	background: #CCC;
}

#wizard li {
	float: left;
	padding: 0.5em 1em 0.5em 0;
	display: block;
	font-weight: bold;
}

#wizard li:before {
	color: #CCC;
	background: #999;
	padding: 0.2em 0.5em;
	margin-right: .25em;
	_margin-right: 0.5em;
}

#info_:before		{ content: "1" }
#grant_:before		{ content: "2" }
#files_:before		{ content: "3" }
#review_:before		{ content: "4" }
#approval_:before	{ content: "5" }

#wizard a {
	color: #999;
	white-space: nowrap;
}

#wizard .completed a { color: #639 }

#info #info_ a,
#grant #grant_ a,
#files #files_ a,
#review #review_ a,
#approval #approval_ a {
	text-decoration: none;
	cursor: default;
	color: #000;
}

#info #info_:before,
#grant #grant_:before,
#files #files_:before,
#review #review_:before,
#approval #approval_:before {
	color: #000;
	background: #F5F5F5;
	border-bottom: 5px solid #F5F5F5;
}







#home #doc p,
#faq #doc p {
    margin-bottom: .5em;
}

#home #doc li,
#faq #doc li {
    margin-bottom: .5em;
}

#home #news ul {
    margin-left: 2.5em;
}

#home #helps li {
	background: url(i/i_help.gif) no-repeat 0 2px ;
    list-style: none;
    padding-left: 20px;
}

#sidebar {
    float:right;
    width:20%;
    padding-bottom: 1em;
}

#sidebar div {
    background: #FFF;
    padding-bottom: .5em;
    margin-top: 1.5em;
}

#sidebar #logbox {
    background: #FF9;
}

#sidebar div ul {
    margin-left: 1.5em;
}

#sidebar div p {
    margin: 0 1em 0 1em;
}

#sidebar div:first-child {
    margin-top:0
}

#news,
#helps {
    float:left;
    width:77%;
}

#news {
    margin-bottom: 1em;
}

#news > *,
#helps > * {
    margin-left: 1em;
}

#news > h3,
#helps > h3 {
    margin-left: 0;
}

p + h3,
ul + h3,
ol + h3,
blockquote + h3,
table + h3,
form + h3 {
    margin-top: 1em;
}

#faq #doc ul,
#faq #doc ol {
    margin-left: 3em;
}

#faq #doc p {
    margin-left: 1em;
}

#faq h3 a {
    color: inherit;
    text-decoration: none;
}








#doc {
    padding: 2em 20px 1.5em 20px;
    background: #F5F5F5;
    border-bottom: .5em solid #999;
}

#home #doc { _height:1% }

h3 {
/*	border-top: 1px solid #CCC;*/
	border-bottom: 1px solid #CCC;
	padding: .25em .5em;
	margin: 0 0 1em 0;
	background: #EEE;
	font-size: 1.25em;
	clear: both;
	color: #666;
}

#doc dl {
    padding-bottom: 1em;
	width:100%;
/*	overflow:hidden;*/
}

/* Overflow clearing hack because of problem with Firefox 1.0 */
/* Can be removed and changed to overflov:hidden with next major Firefox release */
#doc dl:after {
	content: ".";
	display: block;
	height: 0;
	line-height: 0;
	font-size: 1px !important;
	font-size: 0;
	clear: both;
	visibility: hidden;
}

#doc dl {display: inline-table}

/* Hides from IE-mac \*/
* #doc dl {height: 1%}
#doc dl {display: block}
/* End hide from IE-mac */

/* End of overflow clearing hack */



#doc dt,
#doc .err dt,
#doc .warning dt,
#login #doc .err dt,
#login #doc .warning dt {
	font-weight: bold;
	float:left;
	width: 15%;
	line-height: normal;
}

#doc .err dt {
	text-decoration: blink;
}

#doc .err dd {
   font-weight: bold;
   color: red;
}

#doc .warning dd {
   font-weight: bold;
   color: green;
}

#doc dd,
#doc .err dd,
#doc .warning dd,
#login #doc .err dd,
#login #doc .warning dd {
	float: right;
	width:83%;
	line-height: normal;
}

#doc .form2 dl { width:20.5em }
#doc .form2 dt { width:8em }
#doc .form2 dd { width:12em }

#doc .err dd,
#doc .warning dd {
   margin-top: 3px;
}

#login #doc dt,
#login #doc dd {
	float: none;
	width: 100%;
	line-height: 2em;
}

#login #doc li {
	line-height: 1.5em;
}

#login #doc ul {
	margin-left: 3.75em;
}

#license_reject #doc dt,
#email #doc dt {
	width: 18%
}

#license_reject #doc dd,
#email #doc dd {
	width: 80%
}

#summary4admin #main-info dt {
	width: 6em;
}

#summary4admin #main-info dd {
	float: left;
	width: auto;
}

.sumstatus p {
   margin-bottom: 1em;
}


.add a {
	padding-left: 15px;
	background-image: url(i/i_add.gif);
	background-repeat: no-repeat;
	background-position: 0 50%;
}

.add {
	margin-top: .5em;
	font-weight: bold;
}


.pdfproof a {
	background-image:url(i/i_pdf.gif);
	background-repeat:no-repeat;
	padding-left:22px;
}

.pdfproof2 a {
	background-image:url(i/i_pdf2.gif);
	background-repeat:no-repeat;
	padding: 5px 0 5px 40px;
	line-height: 1.8em;
	font-size: 1.25em;
}


#legal_review #doc p {
	line-height: 1.5em;
	margin: 0 auto;
    padding-bottom: .5em;
	max-width: 50em;
}












/* MS List */

#m1, #m2, #m3, #m4 {
	margin-left: 2em;
}

.mslist {
	background: #FFF;
	padding-top: .5em;
	padding-bottom: .5em;

}

#doc .mslist dt {
	width: 100%;
	float:none;
	padding-left:1em;
}

#doc .mslist .msid {
	float: left;
	width: auto !important;
	width: 25%;
	padding-left: 1em;
}

#doc .mslist .status {
	float: right;
	width: 65%
}

#doc .mslist dl {
	margin: 0;
	font-size: .85em;
	margin-top:.5em;
}

#doc .mslist dl dt {
	width: auto;
	padding-left:0;
	float: left;
}

#doc .mslist dl dd {
	width: auto;
	float: left;
}

#doc .mslist .quickcom {
	float:right;
	padding-right:1em;
}

#list #doc p {
   margin: 1em 2em 2em 2em;
}








/* Suggest */

/*
.dropdown {
   position: absolute;
   background: #FFF;
   width: 80%;
   _width: 100%;
   padding: 3px;
   border: 1px solid #DDD;
   border-bottom: 2px groove black;
   border-right: 2px groove black;
}


#grant .dropdown {
	width: 40em;
}

#grant_suggest .dropdown {
    width: 40em;
}

.dropdown a {
	display: block;
	width: 100%;
	text-overflow: ellipsis;
	overflow:hidden;
	text-decoration: none;
	white-space:nowrap;
	line-height: 1.5em;
    cursor: pointer;
}

.dropdown a:hover, .dropdown a.current {
	background: #FF6;
	color: #000;
	white-space:normal;
}

.dropdown i {
   font-style: normal;
}
*/



/* Suggest group */

.suggestgroup {
	float: left;
}

.suggestgroup input {
	display: block;
	float: none !important;
}

.dropdown {
	position: absolute;
	width: 40em;
}

.suggestgroup .grant-title {
	display: block;
	_display: inline;
	width: 26em;
	_width: auto;
}


/* Suggest group theme styles */

.dropdown ol {
	background: #FFF;
	padding: .5em 1em .5em 2.5em;
	border: 1px solid #DDD;
	border-bottom: 2px groove black;
	border-right: 2px groove black;
}

.dropdown ol a {
	display: block;
	width: 100%;
	text-overflow: ellipsis;
	overflow:hidden; /* TODO: Opera & Safari hide numbering */
	text-decoration: none;
	white-space:nowrap;
	line-height: 1.5em;
	cursor: pointer;
}

.dropdown ol a:hover,
.dropdown ol li.selected {
	background: #FF6;
	color: #000;
	white-space:normal;
}

.dropdown ol i {
	font-style: normal;
}








#grant tbody.person {
	border-bottom: 1px solid #CCC;
}

#grant .persons_grants {
	xxxfloat: left;
	margin: 4px;
}

#grant .persons_controls {
	xxxfloat: right;
	xxxpadding: 4px;
}



/* DocSum */

.docsum.check {
	list-style: none;
}

.docsum {
	margin-bottom: 1em;
}

.docsum h4 {
	font-size: 1em;
	text-indent: -1.5em;
	margin-left: 1.5em;
	margin-bottom: .25em;
}

.docsum p {
	margin-left: 1.5em;	
}

#grant-report .more {
	margin-bottom: .5em;
	display: inline-block;
}



/* Helpers */

#doc dd.helper {
	float: left;
	clear: left;
	width: 15%;
	margin: .5em 0 0 0;
}

.helper {
	background-image: url(i/i_help.gif);
	background-repeat: no-repeat;
	text-indent: 15px;
}

.helper.war {
	background-image: url(i/i_warn.gif);
}

.helper a {
	color: green;
}

p.helper {
	margin: 1em 0 1em 3em;
}

#list #doc p.helper {
	margin: 1em 0 2em 1em;
}

#login #doc p.helper {
	margin-left: 0;
}

#inlinehelp ul {
	margin-left: 2em;
}

#inlinehelp li {
	margin-bottom: .5em;
}

#inlinehelp p {
	margin-bottom: .5em;
}



/* Welcome */

#welcome #doc {
   height: 1%;
   overflow: hidden;
   _overflow: visible;
}

#welcome dd.helper {
	float: right;
	clear: none;
	margin: 0 0 .5em 0;
	width: 65%;
}

#welcome #wiz0a dt,
#welcome #wiz0b dt {
	width: 35%;
}

#welcome #wiz0a dd,
#welcome #wiz0b dd {
	width: 60%;
	font-size: .85em;
}

#wiz0a {
	float: left;
	width: 49%;
	margin: 0 1% 1em 0;
}

#wiz0b {
	float: right;
	width: 48%;
	margin: 0 0 1em 1%;
}

#welcome #doc p {
   margin-bottom: 1em;
}




/* Tables */

table, td, th {
	border: none;
	empty-cells: show;
	border-collapse: collapse;
	border-color: #CCC;
	border-width: 1px;
}

table {
	margin-bottom: 1em;
	border-bottom-style: solid;
	*border-top: 3px solid #BBB;
}

thead {
	border-top: 3px solid #BBB;
}

td, th {
	border-left-style: solid;
	padding: .25em .5em
}

th {
	border-left: 1px solid #BBB;
	padding: .25em 0;
	background: #CCC;
}

table table th,
tbody th {
    background: #DDD;
}

td:first-child,
th:first-child {
	border-left: none;
}

tfoot {
	display: none;
}

td {
	vertical-align: top;
}

table caption {
	text-align: left;
/*	padding: .35em;*/
	font-weight: bold;
	color: #FFF;
	overflow: hidden;
	white-space: nowrap;
}

table caption span {
	background: #BBB;
	padding: .25em .5em;
	display: block;
	float:left;
}

table caption .edit-link {
	font-style: normal;
	color: #000;
	font-weight: normal;
}


caption span:first-letter,
thead th:first-letter {
	text-transform: uppercase;
}

#review caption {
/*	display: none;*/
}


#summary4admin table {
	margin-bottom: 1em;
}

#summary4admin table#history {
	margin-bottom: 0;
}


.addit {
	background: #CFF !important;
}

.altrow .addit,
.altrow.addit {
	background: #0FF !important;
}

tr.addit {
	border-bottom: 1px solid #BBB;
}

#grant_report .zebra tbody .altrow:hover {
	background: #F5F5F5;
}

#grant_report .zebra tbody tr:hover {
	background: #FFF;
}

#grant_report ul.manuscripts {
	margin-left: 2em;
}

#grant_report ul.check {
	list-style: none;
}

#grant_report .more {
	margin-left: 3em;
}

#grant_report li input {
	margin-right: .5em;
}

#grant_report fieldset {
	margin-top: 2em;
}

#grant_report .citation a {
	text-decoration: none;
}

#grant_report .citation a:hover {
	text-decoration: underline;
}

#grant_report .citation,
#grant_report .citation * {
	font-size: 1em;
	font-weight: normal;
	font-style: normal;
	display: inline;
}

#grant_report .citation.status-active a {
	color: red;
}

#grant_report .citation .additional {
	white-space: nowrap;
}

#grant_report .citation .additional * {
	font-size: .9em;
	color: #666 !important;
}

#grant_report .citation .additional .date {
	font-size: .8em;
}

#grant_report label:hover input {
	background: #FF9;
}

#grant_report label:hover input[disabled] {
	background: inherit;
}

#grant_report table li {
	margin: .25em 0;
}

#grant_report table {
	margin-bottom: 0;
}

#grant_report .pagination input {
	outline: none;
}

#grant_report .pagination .pages {
	margin-left: 1em;
}

.table-controls {
	background: #CCC;
	padding: .5em;
	overflow: hidden;
	_height: 1%;
}
.table-controls .pagination {
	float: right;
}
.table-controls .controls {
	float: left;
}

/*
.cutted .cut {
	content: "\2026";
	padding: 0 .5em;
	color: #2388E4;
}

.cutted .cut:hover {
	background: yellow;
}
*/

/*
.cutted .cut:before {
	content: "\2026";
	padding: 0 .5em;
	color: #2388E4;
}

.cutted .cut:before:hover {
	background: yellow;
	cursor: pointer;
}
*/













.zebra tbody tr { background-color: #FFF }
/*.zebra tbody tr:nth-child(even) { background: #F5F5F5 }*/ /* It suppose to fill even rows in tables... Maybe some day in a future */
.zebra tbody tr.altrow { background-color: #F5F5F5 }

.zebra tbody tr:hover { background-color: Aqua }

.zebra tbody tr.highlight:hover,
.zebra tbody tr.altrow.highlight:hover { background-color: yellow }



.zebra tbody tr.attn { background-color: #FFD9DF }
.zebra tbody tr.altrow.attn { background-color: #FFCED5 }

.zebra tbody tr.attn.highlight { background-color: #FFB428 }
.zebra tbody tr.altrow.attn.highlight { background-color: Orange }


.zebra tbody tr.highlight { background-color: #ff9 }
.zebra tbody tr.altrow.highlight { background-color: #ff6 }


.zebra tbody tr.attn:hover,
.zebra tbody tr.attn.highlight:hover,
.zebra tbody tr.attn:hover a
{ background-color: #00008B; color: white }

.zebra tbody tr.removed,
.zebra tbody tr.removed a { color: #CCC }


.org-- {
	display: list-item;
	margin-left: 16px;
}


.ico {
	display: block;
	height: 0;
	overflow: hidden;
	padding-top: 16px;
	width: 16px;
	margin-top: 2px;
	background-repeat: no-repeat;
}

.ico-new		{ background-image: url(i/i_new.gif) }
.ico-new-a		{ background-image: url(i/i_new-a.gif) }
.ico-ready		{ background-image: url(i/i_ready.gif) }
.ico-ready-a	{ background-image: url(i/i_ready-a.gif) }
.ico-rejected	{ background-image: url(i/i_rejected.gif) }
.ico-qa			{ background-image: url(i/i_qa.gif) }
.ico-ok			{ background-image: url(i/i_ok.gif) }
.ico-ok-p		{ background-image: url(i/i_ok-p.gif) }









.ico-zero {
	background: url(i/i_0.gif) no-repeat;
}

.ico-zero2 {
	background: url(i/i_02.gif) no-repeat;
}

/*.ico-ok {
	background: url(i/i_1.gif) no-repeat;
}

.ico-bad {
	background: url(i/i_x.gif) no-repeat;
}

.ico-pdfpub {
	background: url(i/i_pdfpub.gif) no-repeat;
}*/

.ico-pdfaut {
	background: url(i/i_pdfaut.gif) no-repeat;
}

#admin table a {
    text-decoration: none;
}

#admin table a:hover {
    text-decoration: underline;
}

.attn {
    background-color: #FFD9DF
}


.grant_id {
    white-space: nowrap
}

.grant_affil {
    font-size: .75em;
}

.xxxhidden_grants {
    width:auto; position:absolute; left:-3000px;
}

.grants_table {
    width:100%;
	border-bottom:0;
	clear:both;
	margin-bottom: 0;
}



/* Fieldsets */

/*
fieldset {
	padding: 0 1em 1em 1em;
	background: #EEE;
	border: 1px solid;
	display: block;
	position: relative;
    overflow: hidden;
    margin-bottom: 1em;
}

#summary4admin fieldset {
	position: static;
}

fieldset fieldset,
fieldset fieldset legend {
	background: #DDD
}

fieldset fieldset {
	margin-top: 0
}

fieldset legend {
	padding: 0 1em 0 1em;
	margin-bottom: 1em;
	background: #EEE;
	border-left: 1px solid;
	border-top: 1px solid;
	border-right: 1px solid;
	font-weight: bold;
}

fieldset p {
	margin-bottom: 1em;
}
*/

fieldset label {
	font-weight: bold;
}

fieldset {
	background: #EEE;
	border: 1px solid #AAA;
	margin: 0;
	padding: 0 1em 1em 1em;
	top: 1.25em;
	position: relative;
	margin-bottom: 2em;
}

fieldset legend {
	padding: 0 1em 0 1em;
	background: #EEE;
	border: 1px solid #AAA;
	border-bottom: none;
	font-weight: bold;
	margin-top: -1.25em;
	_margin-top: 0;
	position: relative;
	color: #666;
}

/* @media all and (min-width: 1px){ fieldset legend { top: -.7em } * ~ fieldset legend { top: 0 } } */

@media all and (min-width: 1px){ fieldset legend { top: -.7em } }
@media all and (width){ fieldset legend { top: 0 } }


fieldset fieldset,
fieldset fieldset legend {
	background: #E5E5E5;
}

fieldset form,
fieldset .fieldset {
	padding-top: 1em;
	overflow: hidden;
}






#search_grants {
	width: 40em;
}

#search_grants, {
	width: auto;
}

#search_grants p label,
#search_grants p input,
#search_grants .last label,
#search_grants .last input {
	float: left;
}

#search_grants p,
#search_grants .last {
	clear: both;
	overflow: hidden;
	margin-bottom: .5em;
	float: left;
	width: 33em; /* stupid IE need it */
}

#search_grants p label,
#search_grants .last label {
	margin: 0 .5em;
}

#search_grants p label:first-child,
#search_grants .last label:first-child {
	width: 6em;
	margin: 0;
}


#search_grants #info2 {
	float: left;
}

#search_grants #info3 {
	float: right;
/*	margin-top: 2.2em;  */
}













#form_search {
	width: 32em;
	float: left;
}


#form_search p * {
	float: left;
}

#form_search p option, /* Prevent Firefox to float options */
#form_search p optgroup,
#form_search p span input {
	float: none;
}

#form_search p {
	clear: both;
	overflow: hidden;
	margin-bottom: .5em;
}

#form_search p span {
	float: right;
}

#form_search p.last input {
	float: none;
}

#form_search p label {
	margin: 0 .5em;
}

#form_search p label:first-child {
	width: 6em;
	margin: 0;
}





#quick_search {
	width: 28em;
	float: right;
	margin-left: 1em;
}

#quick_search p {
	clear: both;
	overflow: hidden;
	margin-bottom: .5em;
}

#quick_search p label,
#quick_search p span {
	float: left;
	display: block;
}

#quick_search p label {
	width: 8em;
}

#quick_search p span {
	width: 17em;
}

























/* Preferences */

#preferences fieldset {
	margin-top: 2em;
    margin-bottom: 0;
}

#preferences fieldset fieldset {
	float: left;
	margin-top: 0;
    width: 45%;
    min-width: 24em;
}

#preferences fieldset p {
	clear: both;
	margin-bottom: 1em;
}

#preferences label {
	width: 8em !important;
	float: left;
    white-space: nowrap;
}
/*
#preferences #info1 {
	margin: 0 2em 2em 0;
	float: left;
	max-width: 29em;
    _max-width: none;
    _width: 45%;
}
*/













/* Errors and warnings */

#pis td p,
#info dd p,
#files td p {
	display: none;
}

#info dd p.add {
	display: block;
}

#pis td p.error,
#pis td p.warn,
#info dd p.error,
#info dd p.warn,
#files td p.error {
	display: block;
}

.error {
	color: red;
	font-weight: bold;
	font-size: .8em;
}

.warn {
	color: green;
	font-size: .8em;
}

#subreview,
#subapprove,
#subdelay,
#start,
.hsection,
.err dt,
.warning dt {
	padding: 4px 0 4px 5px;
	background: #FFA500 url(i/arrow1_f5f5f5.gif) no-repeat 100% 50%;
}

.err dt,
.warning dt {
	background-color: #F00;
	color: #FFF;
}

.warning dt {
	background-color: Green;
}

#working {
   font-weight:bold;
   color:#F00;
   margin:2em;
   display:none;
   text-decoration: blink;
}







/* Forms elements */

/*#doc dl input {
	width: 100%;
}*/

.enlarge {
    width:100%;
}

table .enlarge {
    _width:auto;
}

#doc tbody th input,
#doc p input,
#list #doc dl input  {
/*	width: auto !important;*/
	font-weight: normal;
}

/*#doc tbody td input {
	width: 100%;
	_width: auto;
}*/

input[type="file"].enlarge {
   width:auto /* Firefox has ugly background */
}

@media all and (min-width: 1px){ input[type="file"].enlarge { width:100%; _width:auto } } /* only for Opera & rehack for Dean's IE7 v0.8 */

/*input[type="radio"] {
    width: auto;
}*/


#doc input[type="text"]:focus,
#doc input[type="password"]:focus,
#doc input[type="file"]:focus,
#doc textarea:focus,
#doc select:focus {
	background: #FF9
}


#doc .highlight input[type="text"]:focus,
#doc .highlight input[type="password"]:focus,
#doc .highlight input[type="file"]:focus,
#doc .highlight textarea:focus,
#doc .highlight select:focus {
	background: #FF0
}



textarea {
   width:100%;
   overflow: auto;
   white-space: pre-wrap;
}

table textarea {
    _width:98%;
}

#email #doc input {
   width: 50%;
}




.mode-show .mode-edit,
.mode-edit .mode-show {
    display:none
}


.tabmenu {
	border-bottom: 3px solid #BBB;
	overflow: hidden;
	_height: 1%;
}

.tabmenu li {
	float: left;
	list-style: none;
	background: #BBB;
	margin-right: 3px;
}

.tabmenu a,
.tabmenu .current {
	padding: .25em .5em;
	display: block;
}

.tabmenu a {
	background: #DDD;
	text-decoration: none;
	font-weight: normal;
}

.tabmenu a:hover,
.tabmenu a:focus {
	background: #CCC;
}







#commands {
	background: #999;
	padding: 0 20px;
	height:1%;  /* float clear fix for IE */
	overflow: hidden;
}

/* Hides from IE-mac \*/
#commands { overflow: visible }
/* End hide from IE-mac */


#navigation {
	float: right;
	max-width: 50%;	/* work around stupid regression in Firefox 1.5 and up */
	_width: 50%;	/* work around bug in IE */
}

#actions {
	min-height: 1.65em;
}

#actions span {
	margin-right: 1em;
}

#navigation span {
	float: right;
}

.next {
	padding-right: 10px;
	background: url(i/i_next.gif) no-repeat right;
	margin-left: 1em;
}

.back {
	padding-left: 10px;
	background: url(i/i_back.gif) no-repeat left;
}

.default {
	margin-left: 1em;
}

.next input,
.default input {
	outline: green solid 3px;
}

.back input,
.cancel input {
	outline: #2388E4 solid 3px;
}






#footer {
	padding: 1em 20px;
	text-align: center;
    border-top: .5em solid #999;
	color: #999;
}

#footer a {
	color: #666;
}

#footer a:visited {
	color: #999;
}

#footer #banners {
	overflow: visible;
	margin: 1em auto 0 auto;
	width: 250px;
	list-style: none;
}

#banners li {
	float: left;
}

#banners a,
#banners a:visited {
	height: 0;
	font-size: 1px;
	overflow: visible;
	padding-top: 55px;
	display: block;
	background-repeat: no-repeat;
	color:#EEE;
}

#footer a:hover {
	background-position: top right;
}


#footer #link_nih {
	background-image: url(nih_logo_eee.gif);
	width: 57px;
	margin-left: 13px;  /* just visual compensation */
}

#footer #link_dhhs {
	background-image: url(dhhs_logo_eee.gif);
	width: 57px;
}

#footer #link_firstgov {
	background-image: url(firstgov_logo_eee.gif);
	width: 122px;
}

#footer #link_wt {
    background-image: url(wt_logo_eee.gif);
    width: 122px;
}

#footer #link_hhmi {
    background-image: url(hhmi_logo_eee.gif);
    width: 112px;
}




/* Shared Styles */

.pipelist { list-style: none }
.pipelist li { display: inline }
.pipelist li:before { content: "| " }
.pipelist li:first-child:before { content: "" }

.highlight,
.highlight legend { background: #FF0 }


fieldset.highlight,
fieldset.highlight legend { background: #FF9 }

.clear { clear: both }

.last { margin-bottom: 0 !important }

.shw {
	display: none;
}
