/*
   Styles for content elements
*/

#bu-content hr {
  display: block;
  height: 1px;
  border: none;
  color: #dedede;
  background-color: #dedede;
  margin: 1em 0;
}

/* disable bold in links */
#article a strong,
#article a b {
  font-weight: normal;
}


/* CLASSES (to be used in edited contents) */

.newtopic {
  color:#e00;
}

.errmess {
  color: #e00;
}

.graybox {
  border: 1px solid #aeaeae;
  background-color: #dedede;
  padding: 4px;
}

div.graybox {
  margin: 1em 0;
}

.uc, .uppercase {
  text-transform: uppercase;
}

.cap, .capital {
  text-transform: capitalize;
}

img.bsn {
  border-color: #aeaeae;
  margin-left: 10px;
}

h1.graybar, h2.graybar, h3.graybar,
h4.graybar, h5.graybar, h6.graybar {
  background-color: #dedede;
  padding: 2px 4px;
}

#article div.box {
  border-top: none;
  border: 1px solid #aeaeae;
  padding: 4px;
  margin: 1em 0;
  position: relative;
}

#article div.box h2 {
  background-color: #dedede;
  color: #646464;
  padding: 2px 4px;
  margin: -4px -4px 4px -4px;
  border-bottom: 1px solid #aeaeae;
  border-top: 1px solid #aeaeae;
  position: relative;
  top: -1px;
}

#article div.box ol,
#article div.box ul {
}

#article div.box div,
#article div.box table,
#article div.box blockquote,
#article div.box img,
#article div.box p {
  display: none;
}


/* TABLE STYLES */

#article table {
  clear: both;
  margin-top: 1em;
}

#article table caption {
  caption-side: top;
  text-align: left;
}

#article table tr {
  vertical-align: top;
}

#article table td  p:first-child { margin-top: 0; }
#article table td  p:last-child { margin-bottom: 0; }

/* regular */

table.regular {
  background-color: #fff;
}

table.regular caption {
  font-size: 11px;
  margin-bottom: 3px;
  color: #646464;
}

table.regular th,
table.regular td {
  border: 1px solid #aeaeae;
}

table.regular th {
  background-color: #dedede;
  color: #646464;
  text-align: left;
  font-weight: bold;
}

/* compact (small font, no cellspacing) */

table.compact {
  background-color: white;
  border: 1px solid #aeaeae;
  border-collapse: collapse;
  margin-left: 1px;
}

table.compact caption {
  font-size: 11px;
  margin-bottom: 3px;
  color: #646464;
}

table.compact th,
table.compact td {
  font-size: 11px;
  border: 1px solid #aeaeae;
  padding: 3px;
}

table.compact th {
  background-color: #dedede;
  color: #646464;
  text-align: left;
  font-weight: bold;
}

/* grid (no border, no spacing) */

table.grid {
  border: none;
  border-spacing: 0px;
}

table.grid th,
table.grid td {
  background-color: transparent;
  border: none;
  padding: 0px;
  padding-bottom: 5px;
  padding-right: 5px;
}

/* end TO BE REVISED */



/* === Headings ==== */

#bu-content h1, #bu-content h2, #bu-content h3,
#bu-content h4, #bu-content h5, #bu-content h6 {
  color: #444;
}

#bu-content h1 { font-size: 15px; font-weight: bold; margin-bottom: 1em;  margin-top: 1em; }
#bu-content h2 { font-size: 13px; font-weight: bold; margin-bottom: 1em;  margin-top: 1.5em; }
#bu-content h3 { font-size: 12px; font-weight: bold; margin-bottom: 1em;  margin-top: 1.5em; }
#bu-content h4 { font-size: 12px; font-weight: bold; margin-bottom: 0em; margin-top: 1em; }
#bu-content h5 { font-size: 11px; font-weight: bold; margin-bottom: 0em; margin-top: 1em; }
#bu-content h6 { margin-bottom: 0em;}

body.lang-ar #bu-content h1 { font-size: 18px; }
body.lang-ar #bu-content h2 { font-size: 17px; }
body.lang-ar #bu-content h3 { font-size: 16px; }

/* override link style in headings */
div#article h1 a, div#article h2 a, div#article h3 a,
div#article h4 a, div#article h5 a, div#article h6 a {
  color: #444;
  text-decoration: none;
}

/*
   Back-to-top icon
   Note: we assume that all linked headings link to the page top.
*/
div#article h1 a, div#article h2 a, div#article h3 a,
div#article h4 a, div#article h5 a, div#article h6 a {
  display: block;
  width: 96%; /* for IE [100% - padding] */
  padding-right: 4%; /* prevent text from overlapping the icon */
  background-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/icon_up.gif");
  background-repeat: no-repeat;
  background-position:  100% .3em;
}

div#article h1 a:hover, div#article h2 a:hover, div#article h3 a:hover,
div#article h4 a:hover, div#article h5 a:hover, div#article h6 a:hover {
  background-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/icon_up_solid.gif");
}

body.rtl div#article h1 a, body.rtl div#article h2 a,
body.rtl div#article h3 a, body.rtl div#article h4 a,
body.rtl div#article h5 a, body.rtl div#article h6 a {
  background-position: 0% .3em;
  padding-right: 0%;
  padding-left: 4%;
}

/*
   This fixes a strange problem for rtl pages in IE where the links
   from the generated autotoc list do not work for normal headings
   (i.e. without the 'graybar' class). [see RT #139]
*/
* html body.rtl div#article h1, * html body.rtl div#article h2,
* html body.rtl div#article h3, * html body.rtl div#article h4,
* html body.rtl div#article h5, * html body.rtl div#article h6 {
  padding: 0px 1px;
}

h1 {
  margin-bottom: 1em;
}

#bu-header h1 {
  color: #646464;
  font-size: 15px;
}

#bu-header h1 span.timestamp {
  font-size: 9px;
  font-weight: normal;
  display: block;
}


/* ==== Floating images ==== */

.floatright, img.image-right {
  float: right;
  padding: 0 0 5px 10px;
  background-color: white;
}

.floatleft, img.image-left {
  float: left;
  padding: 0 10px 5px 0;
  background-color: white;
}


#bu-main.two-cols #bu-content img.topright {
  position: absolute;
  right: 0;
  top: 0px;
}


/* ==== BSP ==== */

div.bsp-record {
  margin: 1em 0 2em;
  position: relative; /* IE6/Win */
}

div.bsp-record h2,
div.bsp-record h3 {
  clear: right;
  background-color: #dedede;
  padding: 2px 4px;
}

div.bsp-record img {
  border: none;
  float: right;
  margin: 0 0 5px 5px;
}

form.bsp-select {
  clear: both;
  padding: 4px;
  color: #444;
  background-color: #dedede;
  font-size: 11px;
  margin-top: 1em;
}

form.bsp-cat-select {
  float: right;
  margin: 0;
  font-size: 11px;
}

form.bsp-select select,
form.bsp-cat-select select {
  color: #444;
  font-size: 11px;
}


/* ==== FUSE ==== */

div#fuse-record img.fuse-img {
  border: none;
  float: right;
  margin: 0 0 5px 5px;
}

body.rtl div#fuse-record img {
  border: none;
  float: left;
  margin: 0 5px 0 5px;
}

div#fuse-record h2 {
  background-color: #dedede;
  padding: 2px 4px;
}

/* IE6 */
* html div#fuse-record h2 { position: relative;  }

div#fuse-record div.tab {
  clear: both;
  margin-top: 0;
  border-bottom: 3px solid #dedede;
  background-repeat: no-repeat;
  background-position: 330px 0px;
  background-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/slant_right_dedede.gif");
}

body.rtl div#fuse-record div.tab {
  background-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/slant_left_dedede.gif");
  background-position: 210px 0px;
}

div#fuse-record h3 {
  margin: 0;
  padding: 2px 3px 1px 17px;
  width: 310px;
  background-color: #dedede;
  background-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/icon_man.gif");
  background-position: 3px .25em;
  background-repeat: no-repeat;
}

/* box model hack */
* html div#fuse-record h3 { width: 300px; w\idth: 310px; }

body.rtl div#fuse-record h3 {
  padding: 2px 17px 1px 3px;
  background-position: 315px .25em;
}

div#fuse-record p.contact {
  margin-top: .5em;
}


/* ==== EME edition selectbox ==== */

form.eme-select {
  clear: both;
  padding: 4px;
  color: #444;
  background-color: #dedede;
  font-size: 11px;
}

form.eme-select select {
  color: #444;
  font-size: 11px;
}


/* ==== EME Summary ==== */

dl.eme-list {
  margin-bottom: 2em;
}

dl.eme-list dt {
  font-weight: bold;
  color: #444;
}


/* ==== Tab boxes for buyusa.gov/home ==== */

div.homebox {
  width: 350px;
  margin-bottom: 10px;
  padding: 20px 10px 12px 10px;
  background-color: #dedede;
  background-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/bg_hometab.gif");
  background-repeat: no-repeat;
  background-position: top left;
}

#bu-content div.homebox h2 {
  float:left;
  margin: 0;
  font-size: 14px;
  color: #646464;
  background-color: transparent;
}

div.homebox a {
  display: block;
  float: right;
  margin: 8px 10px 0 0;
  padding: 3px 10px;
  border: 1px solid #aaa;
  color: #646464;
  background-color: white;
  font-size: 12px;
  font-weight: bold;
}

.homebox form {
  margin-bottom: .3em;
  text-align: right;
  padding-top: 0px;
}

.homebox form label {
  display: block;
  margin-bottom: .3em;
  background-color: transparent;
  color: #646464;
  text-align: left;
  font-weight: bold;
  font-size: 14px;
}

.homebox form#odo-zip-form label {
  font-size: 11px;
  font-weight: normal;
  display: inline;
}

/* ==== Site lists at buyusa.gov/home ==== */

table.worldwide {
  border: 1px solid #dedede;
  border-spacing: 1px;
}

table.worldwide th {
  padding: 3px;
  color: #646464;
  background-color: #dedede;
  text-align: left;
}

table.worldwide td {
  font-size: 11px;
  background-color: #efefef;
  padding: 0px;
}

table.worldwide td a {
  display: block;
  padding: 3px 2px;
  position: relative; /* IE6 */
}

table.worldwide td a:hover {
  background-color: #dedede;
  text-decoration: none;
}


/* ==== Teasers ==== */

div#teasers {
  width: 100%; /* IE6/Win */
}


div#teasers h2 {
  margin: 1em 0 0 0;
  padding: 2px 4px;
  background-color: #dedede;
}

div#teasers p {
  margin: 0;
  padding: 4px;
  border: 1px solid #dedede;
}

div#teasers h2 a {
  font-weight: normal;
}


/* ==== Right column images/banners ==== */

#bu-right div.img img, #bu-right div.banner img {
  display: block;
  margin-bottom: 10px;
}

/* ==== Document list ==== */

ul#doclist {
  list-style-type: none;
  margin: 1.5em 0 0 0;
  padding: 0;
}

ul#doclist li {
  margin: 0 0 .5em 0;
  padding: 0;
}

ul#doclist li p {
  margin: 0;
  text-indent: 0;
}


/* ==== Doclets (right column document list) ==== */

div#doclist {
  font-size: 90%;
}

div#doclist h2 {
  display: none;
}

div#doclist h3 {
  margin: 0;
  background-color: #999;
  color: white;
  padding: 3px;
  padding-left: 5px;
  font-size: 90%;
  font-weight: bold;
}

div#doclist div {
  border: 1px solid #dedede;
  padding: 3px;
  margin-bottom: .5em;
}

div#doclist div p {
  margin: 0;
  margin-bottom: 3px;
}

div#doclist div span {
  display: block;
  font-style: italic;
}

div#doclist div a {
  display: block;
}


/* ==== Random FUSE box (right column) ==== */

div#tms-fuse-random {
  font-size: 11px;
  margin: 1em 0;
}

div#tms-fuse-random h2 {
  margin: 0;
  background-color: #999;
  color: white;
  padding: 3px;
  padding-left: 5px;
  font-size: 11px;
  font-weight: bold;
}

div#tms-fuse-random h3 {
  margin: 0;
  background-color: #fff;
  color: #000;
  font-size: 11px;
  font-weight: bold;
}

div#tms-fuse-random img {
  display: block;
  float: right;
  margin: 2px;
  margin-right: 0;
}

div#tms-fuse-random div {
  border: 1px solid #dedede;
  padding: 3px;
  margin-bottom: .5em;
}

div#tms-fuse-random div p {
  margin: .3em 0;
}


/* ==== FUSE News listing ==== */

dl.fuse-news dd.category,
dl.fuse-news dd.date {
  font-size: 11px;
}

/* ==== FUSE News box ==== */

div#tms-fuse-news {
  font-size: 11px;
  margin: 0 0 0 1em;
  width: 198px;
  float: right;
  border: 1px solid #999;
  overflow: hidden;
}

div#tms-fuse-news h2 {
  margin: 0;
  background-color: #999;
  color: white;
  padding: 3px;
  padding-left: 5px;
  font-size: 11px;
  font-weight: bold;
}

div#tms-fuse-news ul {
  margin: 0;
  padding: .5em .2em 0 0;
  list-style-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/li_black.gif");
}

div#tms-fuse-news ul li {
  padding: 0;
  margin: 0 0 0 2em;
}


div#tms-fuse-news p {
  margin: .3em;
  text-align: right;
}


/* === Directory listings === */

ul.bu-directory {
  list-style-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/li_black.gif");
  margin-left: 25px;
  padding-left: 0px;
}

body.rtl ul.bu-directory {
  list-style-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/li_black_rtl.gif");
}

ul.bu-subdirectory {
  list-style-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/li_black.gif");
  padding: 0px;
  margin-left: 25px;
  margin-right: 25px;
}

body.rtl ul.bu-subdirectory {
  list-style-image: url("../../../../build/fragments/fl_bg_master_stylesheets/graphics/li_black_rtl.gif");
  position: static;
}

ul.bu-subdirectory li {
  background-color: #efefef;
  padding: 2px 4px;
  margin-bottom: 2px;
}

/* IE6/Win */
* html ul.bu-subdirectory li { width: 100%; }



div#article, div#teasers {
  margin-bottom: 1.7em;
}

/* FAQ List */

#bu-content dl.faq dt { font-weight: bold; }
/* #bu-content dl.faq dt:before  { content: 'Q: '; } */
#bu-content dl.faq dd { margin: .3em 0 .5em 0; padding: 0; text-indent: 1em;}


div.toc { margin: 1em 0; }
div.toc ul, div.toc form { margin-top: 0; margin-bottom: 0; }


/* eMenu Office List */

form.tms-emenu-menus {
  font-size: 10px;
  color: #555555;
  background-color: #dedede;
  padding: .5em;
  margin: 1px;
}

form.tms-emenu-menus label {
  color: #555555;
  display:block;
  margin-bottom: 5px;
}

form.tms-emenu-menus label#em-zip-label {
  display: inline;
}

form.tms-emenu-menus select,
form.tms-emenu-menus input,
form.tms-emenu-menus select optgroup {
  font-size: 10px;
  margin-right: 10px;
}


/* post heading */
#tms-emenu-officelist h3 {
  margin-bottom: 1px;
  padding: 2px 3px;
  background-color: #dedede;
  position: relative;
}

/* single post section */
div.tms-emenu-post {
  border: 1px solid #dedede;
  padding: 4px;
}

/* post contact and address */
table.tms-emenu-postinfo {
  padding: 0;
  border-spacing: 0;
}

table.tms-emenu-postinfo td {
  padding: 0;
}

table.tms-emenu-postinfo td.address {
  padding-left: 1em;
}

/* staff list */
div.tms-emenu-stafflist {
  padding-left: 1.5em;
}

/* staff list heading */
#tms-emenu-officelist div.tms-emenu-stafflist h4 {
  font-style: normal;
  margin-left: -1.5em;
}

/* person name */
#tms-emenu-officelist div.tms-emenu-stafflist h5 {
  margin-bottom: .3em;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  color: black;
}

div.tms-emenu-personinfo p {
  margin: 0;
}

div.tms-emenu-personinfo p.industries {
  margin-top: .3em;
  font-size: 11px;
}


/* ==== TED template ==== */

table.ted-record {
  border: 1px solid #aeaeae;
  background-color: #dedede;
  padding: 4px;
  width: 100%;

}

table.ted-record th,
table.ted-record td {
  text-align: left;
  vertical-align: top;
}

table.ted-record th {
  color: #444;
  text-align: left;
  width: 12em;
}

/* batch navigation for search results */
ul.ted-nav { list-style: none; margin: .6em 0; padding: 0; }
ul.ted-nav li { text-align: center; margin: 0; }
ul.ted-nav li.prev { float: left; width: 5em; text-align: left;}
ul.ted-nav li.next { float: right; width: 5em; text-align: right; }



/* hide javascript generated link markers and list for printable version */
.footnote-links { display: none; }

/* Workaround for automatically inserted document type in doclinks in RTL pages */
a.doclink span.doctype { direction: ltr; unicode-bidi: bidi-override; }

/* hide debug markup */
#article span.invalid { display: none; }
