span.sbdb-link {
  cursor: pointer;
  font-size: small;
  color: #008CBA; /* foundation link color */
  /* padding-left: 0.9375rem; */
}

.sbdb-container {
  /*background-color: #fffafa;*/
  /*background-color: lightgreen;*/
  margin-bottom: 1rem;
}

/*div.sbdb-container table {*/
table {
  border: 1px solid black !important;
  /*border-collapse: separate !important;*/
}


h2.object-fullname {
  font-weight: bold;

  font-size: 2.5rem;
  margin-top: 0.5rem !important;
  margin-bottom: 0.25rem !important;

}

/* Prevent long text in modal from overlapping the close icon */
.reveal-modal {
  padding-right: 4.0rem !important;
}

.sb-panel {
  background-color: white;
  /*border: 1px solid darkgray;*/
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  /*overflow-x: auto;*/
}



div.search-section {
  margin-top: 1.0rem !important;
}

.orbit-viewer {
  width: 920px;
  height: 600px;
  border: none;
}
div.orbit-viewer-placeholder {
  border: 1px solid darkgray;
  height: 600px;
  /*width: 900px;*/
  background-color: black;
}
.orbit-viewer-placeholder h4 {
  color: lightgreen;
  text-align: center;
  padding-top: 20px;
}
a.warning-link {
  color: yellow;
  font-weight: bold;
  /*text-decoration: underline;*/
}

div.sb-object-details {
  /*background-color: #fffafa;*/
  background-color: ivory;
  padding-left: 10px;
  padding-bottom: 5px;
  /*border: 1px solid #eeeeee;*/
  border: 1px solid gainsboro;
  margin-bottom: 0.25rem;
}

div.sb-orbit-summary {
  /*background-color: lightyellow;*/
  /*background-color: ghostwhite;*/
  background-color: #f5f5f5;
  text-align: center;
  line-height: 1.2;
  padding-top: 3px;
  padding-bottom: 3px;
  border: 1px solid #333;
}
.orbit-ref {
  font-weight: bold;
  padding-left: 0.25rem;
  padding-right: 0.25rem;
  /*background-color: darkblue;*/
  /*color: yellow;*/
  background-color: #f08a24;
  color: white;
}



.sb-section-label {

  font-size: 1.5rem;

  font-weight: bold;
  color: darkgreen !important;
  margin-bottom: 5px !important;
}

.add-space-above {
  margin-top: 2.0em; /* need "em" here and not "rem" */
}

.sb-subsection-label {

  font-size: 1.4rem;

  font-weight: bold;
  /*color: darkgreen !important;*/
  margin-bottom: 0.25rem !important;
}

.sb-section-divider {
  border-top: 1px solid darkgray;
  margin-top: 10px;
  padding-top: 8px;
}

.align-left {
  text-align: left !important;
}
.align-center {
  text-align: center !important;
}
.align-right {
  text-align: right !important;
}
.no-wrap {
  white-space: nowrap;
}

.show-hide {
  /* intentionally blank */
}

.inline-link {

  font-size: 1.2rem;

  padding-left: 1.0rem;
  color: #337ab7; /* bootstrap link color */
  cursor: pointer;
}

/* Compress/Expand Button */
.com-exp-button {

}

.data-file-panel {
  background-color: ivory;
  padding: 1rem 1rem;
  width: 100%;
  overflow: auto;
}

/* ========================================================================== */
/* Misc. Table */

table.sb-full-width-table {
  width: 100% !important;
}
table.sb-space-below-table {
  margin-bottom: 20px;
}
table.sb-plain-table th {

  font-size: 1.4rem !important;

}
table.sb-nonresponsive-table {
  /* width: 0px !important;*/
}

/* Overrider Bootstrap table-hover background color */
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {

  background-color: rgba(255, 255, 244, 1.00) !important;

}


/* ========================================================================== */
/* Compact Table */

table.sb-compact-table tr.even,
table.sb-compact-table tr.alt,
table.sb-compact-table tr:nth-of-type(even) {
  background-color: #eee;
}

table.sb-compact-table thead tr {
  /*background-color: #ccc !important;*/
  /*background-color: #333 !important;*/
  background-color: darkslategray !important;
}

table.sb-compact-table {
  border-spacing: 1px 0px !important;
  border-collapse: separate !important;
  border-color: #333;
}

table.sb-compact-table thead > tr > th {
  padding-top:    4px;
  padding-bottom: 4px;
  color: white;
}
table.sb-compact-table thead > tr > th > span {
  color: white;
}
.dt-th-with-tip span { color: white; }

.dt-th-with-tip .tooltip-label:hover { color: white !important; }


.sb-compact-table th {
  text-align: center;
  /*font-size: 1.2rem;*/
  padding-top:    0px;
  padding-bottom: 0px;
  padding-left:   8px !important;
  padding-right:  8px;
}

.sb-compact-table td {
  text-align: center;
  color: black !important;
  padding-top:    0px !important;
  padding-bottom: 0px !important;
  padding-left:   8px !important;
  padding-right:  8px !important;
}

table.table-ellipsis {
  table-layout: fixed;
  width: 100%;
}
td.table-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

table.fixed-no-wrap tbody td {
  font-family: courier,monospace;

  font-size: 1.2rem;

  white-space: nowrap;
}

.td-indent-1 {
  padding-left: 1rem !important;
}

.td-indent-2 {
  padding-left: 2rem !important;
}

table.table-footnote {
  margin-bottom: 0px !important;
}

.table-footnote {
  font-size: 1.0rem;
}

/* ========================================================================== */
/* Covariance Table */

div.cov-section {
  /*background-color: ghostwhite;*/
  border-left: 4px solid grey;
  padding-left: 8px;
  padding-bottom: 0px;
  overflow-x: auto;
}

table.sb-cov-table {
  border-spacing: 1px 1px;
  width: 100%;
}

table.sb-cov-table tbody th {
  color: white;
  background-color: #333 !important;
}

div.cov-elements table {
  width: 100%;
}

/* ========================================================================== */
/* Orbital Summary Panel */

div.sb-orbit-summary {
  /*overflow-x: auto;*/
  white-space: nowrap;
}

/* ========================================================================== */
/* Orbital Elements Table */

div.sb-orbital-elements-table {
  overflow-x: auto;
  width: 100%;
}
.sb-orbital-elements-table table {
  width: 100%;
}
.der-elem {
  font-style: italic;
  color: #666;
}
.nd-elem {
  font-style: italic;
  color: #999;
}

/* ========================================================================== */
/* Model Parameters Table */

div .sb-model-par-table {
  overflow-x: auto;
}
.sb-model-par-table table {
  width: 100%;
}

/* ========================================================================== */
/* OD Parameters Table */

div .sb-od-par-table {
  overflow-x: auto;
}
.sb-model-par-table table {
  width: 100%;
}

/* ========================================================================== */
/* Satellite Tables */

div.sb-sat-orbital-elements-table {
  overflow-x: auto;
  width: 100% !important;
}
.sb-sat-orbital-elements-table table {
  width: 100%;
}
div.sb-sat-orbit-summary {
  background-color: #f5f5f5;
  text-align: left;
  white-space: nowrap;
  line-height: 1.2;
  padding-left: 3px;
  padding-top: 3px;
  padding-bottom: 3px;
  border: 1px solid #333;
}


/* ========================================================================== */
/* Physical Parameters Panel */

div.sb-phys-par-panel {
  /*border-left: 4px solid yellow !important;*/
  overflow-x: auto;
}

/* ========================================================================== */
/* Discovery/Citation Panel */

.sb-discovery-panel {
}
.sb-dis-ref {

  font-size: 1.0rem;

  font-weight: bold;
  color: darkslategray;
}
.sb-dis-note {
  /*border: 1px solid gray;*/
  /*
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.25em;
  padding-bottom: 0.25em;
  */
  color: darkgray;
  /*font-weight: bold;*/
  /*background-color: ghostwhite;*/
}

/* ========================================================================== */
/* Close Approach Panel */

div.sb-anc-data {
  border: 1px solid black;
  background-color: white;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-top: 0rem;
  margin-bottom: 0.25rem;
}

div.sb-cad-panel {
  overflow-x: auto;
}

table.sb-cad-panel {
  width: 100%;
}
table.sb-cad-panel tbody td {
  font-family: courier,monospace;
  font-size: 0.8rem;
  white-space: nowrap;
}
td.td-fixed-font {
  font-family: courier,monospace;

  font-size: 1.2rem;

}

.ca-orbit-ref {
  font-weight: bold;
  font-size: 1.2rem;
}

.ca-table-controls {
  padding-top: 1.0rem;

  padding-bottom: 1.0rem;

  background-color: #f5f5f5;
}

.ca-legend {

}

/* ========================================================================== */
/* Radar Astrometry Panel */

div.sb-radar-panel {
  overflow-x: auto;
}
.sb-radar-panel table tbody td {
  font-family: courier,monospace;

  font-size: 1.2rem;

  white-space: nowrap;
}

/* ========================================================================== */
/* Misc. */

/* String-length ruler: */
#string-ruler {
  visibility: hidden;
  white-space: nowrap;
}

.text-bold {
  font-weight: bold;
}

/* OD log file display */
.od-log {

  font-size: 1.15rem;

  line-height: normal;
}

/* Top short instructions: */
.top-instr {
  border: 1px solid darkgray;
  background-color: ivory;
  padding-left: 1.0rem;
  padding-right: 1.0rem;

  padding-top: 0.5rem;
  padding-bottom: 0.5rem;

  margin-bottom: 1.25rem;
}
.top-instr p {
  margin-bottom: 0px !important;
}

/* Force long tooltips to not overflow the tooltip container: */
span.tooltip {
  word-wrap: break-word;
}
.tooltip-label {
  border-bottom: dotted 1px #999;
  font-weight: bold;
}
.tooltip-label:hover {
  color: #337ab7;
  cursor: help;
}
.tooltip-inner {
  font-size: 1.4rem;
}

div.busy_indicator {
  position: relative;
  height: 30px;
}

.header-panel {
  background-color: #eee;
}
.footer-panel {
  background-color: #eee;
}
