body {
  background: #fafafa;
  color: #333333;
  margin-top: 5rem;
}

h1, h2, h3, h4, h5, h6 {
  color: #444444;
}

ul {
  margin: 0;
}

.bg-steel {
  background-color: #5f788a;
}

/* NREL Blue */
.nrel-blue {
  background-color: #0079c2;
}

/* NREL Orange */
.nrel-orange {
  background-color: #ee9521;
}

/* Navbar dark (prod) - light text */
.navbar-dark .navbar-nav .nav-link {
  color: #cbd5db;
  font-size: 0.95rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
  color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link.active {
  font-weight: 500;
}

/* Navbar light (dev/stage) - dark text */
.navbar-light .navbar-nav .nav-link {
  color: #495057;
  font-size: 0.95rem;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #343a40;
}

.navbar-light .navbar-nav .nav-link.active {
  font-weight: 500;
}

/* Home page active tab styling */
#mainTabs .nav-link.active {
  background: transparent;
  color: #0079c2;
  border-bottom: 4px solid #0079c2;
}

/* Home page inactive tab styling */
#mainTabs .nav-link {
  color: #6c757d;
  border-bottom: 4px solid transparent;
}

#mainTabs .nav-link:hover {
  color: #495057;
}

.content-section {
  background: #ffffff;
  padding: 10px 20px;
  border: 1px solid #dddddd;
  border-radius: 3px;
  margin-bottom: 20px;
}

.article-title {
  color: #0000BB;
  margin-bottom: 3px;
}



a.article-title:hover {
  color: #428bca;
  text-decoration: none;
}

.article-content {
  white-space: pre-line;
}

.article-img {
  height: 65px;
  width: 65px;
  margin-right: 16px;
}

.article-metadata {
  padding-bottom: 1px;
  margin-bottom: 4px;
  /* border: 1px solid #e3e3e3; */
  /* border-bottom: 1px solid #e3e3e3 */
}

.field-detail {
  border: 1px solid #a3a3a3;
}

.article-metadata a:hover {
  color: #333;
  text-decoration: none;
}

.article-svg {
  width: 25px;
  height: 25px;
  vertical-align: middle;
}

.account-img {
  height: 125px;
  width: 125px;
  margin-right: 20px;
  margin-bottom: 16px;
}

.account-heading {
  font-size: 2.5rem;
}

/* fix bootstrap-datepicker positional bug */
.datepicker {
  transform: translate(0, 5em);
}

.form-group {
  margin-bottom: 5px;
}

label.col-form-label {
  color: #5f788a;
  font-size: .75em;
}

.field-heading {
  color: #5f788a;
  font-size: .75em;
  margin-bottom: 2px;
}

.searchfield {
  margin-top: 5px;
  max-width: 120px;
}

legend {
  background-color: #5f788a;
  color: #cbd5db;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 0px;
  padding-left: 10px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

body {
  font-size: 14px;
  font-family: sans-serif;
}

.sidebar-item{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding-right: 0px;
}

.make-me-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 0;

  padding: 0 15px;
}

.sticky-offset {
  top: 56px;
}

a.anchor {
  display: block;
  position: relative;
  top: -60px;
  visibility: hidden;
}

/* Override Bootstrap container max-width for wider tables */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px !important;
    min-width: 1400px !important;
  }
}

/* NREL table styling - default prod (blue background, light text) */
.nrel-table thead th {
    background-color: #0079C2;
    color: #cbd5db;
    font-weight: normal;
    font-size: 0.95rem;
}

.nrel-table thead th a {
    color: #cbd5db;
    text-decoration: none;
}

.nrel-table thead th a:hover {
    color: #ffffff;
}

/* NREL table styling - dev/stage override (orange background, dark text) */
.nrel-orange-tables .nrel-table thead th {
    background-color: #ee9521;
    color: #495057;
    font-size: 0.95rem;
}

.nrel-orange-tables .nrel-table thead th a {
    color: #495057;
}

.nrel-orange-tables .nrel-table thead th a:hover {
    color: #343a40;
    text-decoration: none;
}

.nrel-table, .nrel-table th, .nrel-table td {
    border: 0px solid #dee2e6;
}

.nrel-table tr.system-header th {
    background: #ffc107;
    color: #212529;
    font-size: 18px;
    font-weight: 500;
    line-height: 1 !important;
}

.readonly-field input,
.readonly-field select {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    pointer-events: none;
}

/* Message icons */
.alert .fas {
    margin-right: 8px;
    vertical-align: middle;
    font-size: 1em;
}

.alert-success .fas {
    color: #155724;
}

.alert-info .fas {
    color: #0c5460;
}

.alert-warning .fas {
    color: #856404;
}

.alert-danger .fas {
    color: #721c24;
}
