@font-face {
  font-family: "notosans";
  src: url("/css/fonts/notosans-regular-webfont.woff2") format("woff2"),
    url("/css/fonts/notosans-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
html {
  scroll-behavior: smooth;
}
body {
  overflow-x: hidden;
  color: #222;
  font-family: "notosans", sans-serif;
  font-size: 18px;
  line-height: 110%;
  background-color: #fff;
  background: url("/images/common/energygrid_bg3.gif") repeat;
}
.container-fluid {
  margin-right: auto;
  margin-left: auto;
  max-width: 1110px;
}

@media (max-width: 991.98px) {
  .mobile-toggle-container {
    display: flex;
    justify-content: flex-end; /* Force items to the right */
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping */
    width: 100%; /* Ensure container spans full width */
  }
  .mobile-toggle-container button {
    flex-shrink: 0; /* Prevent buttons from shrinking */
  }
  .navbar-collapse .d-lg-none form {
    margin-bottom: 0;
  }
  .navbar-collapse .d-lg-none .form-control {
    height: calc(1.5em + .75rem + 2px);
  }
}

/*.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}*/

.navbar-light .navbar-toggler-icon {
  background-image: url("/images/common/hamburger_green_lt.svg");
}


/*@media (max-width: 992px) {

  .navbar .container {
    position: relative;
  }
  .navbar-toggler {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
  }
}
.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23FFD700' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}*/

/* Remove the default focus outline completely */
.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

/* Or change it to a custom red outline */
.navbar-toggler:focus {
  outline: none;
  /*box-shadow: 0 0 0 0.25rem rgba(255, 0, 0, 0.5); /* adjust the thickness and opacity as needed */
}

.energygrid {
   color: #333 !important;
  font-weight: 200;
  margin-left: 4px;
}
.energygrid2 {
  color: #02b452 !important;
  font-weight: 200;
}
.fw {
  color: #02b452 !important;
  font-weight: 400;
  font-size: 1.2em;
}
.menu-selection {
  color: #02b452;
  padding: 8px;
  border: 1px solid #02b452;
  margin-right: 20px;
  border-radius: 6px;
}
iframe {
  border: none;
}
img.dim {
  filter: brightness(0.9);
}
.zbot {
  margin-bottom: 0;
  padding-bottom: 0;
}
.zpbot {
  margin-bottom: 5px;
}
.textrz {
  float: right;
  margin-bottom: 0;
}
.author {
  text-align: center;
  margin-top: 0;
  margin-bottom: 0.3em;
  font-size: 0.8em;
}
.bg-footer {
  bottom: 0;
  background-color: #f1eee2;
  color: #555 !important;
  font-size: 0.9rem;
  box-shadow: 0 -2px 4px rgba(119, 119, 119, 0.4);
}
a:link,
a:visited {
  color: #1c61c9;
}
a:hover,
a:active {
  color: #02b452;
}
a.zen:link,
a.zen:visited,
a.zen:hover,
a.zen:active {
  color: inherit;
  text-decoration: none;
}
a.quiet:link,
a.quiet:visited,
a.quiet:hover,
a.quiet:active {
  color: inherit;
  opacity: 0.7;
}
nav a:link,
nav a:visited {
  color: #2E2E2E;
  text-decoration: none;
}
nav a:hover,
nav a:active {
  color: #02b452 !important;
  text-decoration: none;
}

.navbar-brand {
  font-size: 1.5em;
}
.navbar {
  font-size: 1.2em;
  background-color: #f1eee2;
  padding: 20px;
}
.navbar-shadow {
  box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.4);
}
.nav-active {
  color: #d74958 !important;
}


.dropdown-menu {
  background-color: #f1eee2; 
}

.dropdown-menu .dropdown-item {
  color: #2E2E2E !important; 
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  background-color: #d1cfc5 !important;
  color: #2E2E2E!important; 
}

.nav-item.dropdown > .nav-link.dropdown-toggle {
  color: #2E2E2E; 
}

.form-control.search {
  background-color: #d1cfc5; 
  border: 1px solid #837b68; 
  min-width: 120px;
}

.form-control.search:focus {
  background-color: #d1cfc5;
  outline: none; 
  outline: none; 
  border: 2px solid #b6b5af;
  box-shadow: 0 0 5px rgba(102, 102, 102, 0.5);
}

.form-control.search:hover {
  background-color: #d1cfc5;
}

.theme-toggle {
  width: 30px;
  height: 20px;
  position: relative;
  background: #ccc; /* Default/light theme background */
  border-radius: 15px;
  transition: background 0.3s;
}

.theme-toggle::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 2px;
  top: 2px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s;
}

/* When dark theme is active (you might need to add a class via JS) */
.theme-toggle.dark {
  background: #333;
}

.theme-toggle.dark::after {
  transform: translateX(10px);
}


.theme-toggle:focus {
  outline: none;
  box-shadow: none;
}

.copyright {
  color: #555;
  margin: 0;
  font-size: 1.2rem;
}

h1.card-title,
h2.card-title,
h3.card-title,
h4.card-title {
  margin-bottom: 0;
  color: #3f3f3f;
}
article p {
  line-height: normal;
}
article ol,
article ul {
  line-height: normal;
  padding-bottom: 1rem;
}
article ol > li::marker {
  font-weight: bold;
}
.zpadbot {
  padding-bottom: 0 !important;
}
.zpadtop {
  padding-top: 0 !important;
}
.card h4,
.card h5 {
  margin: 0;
}
.card-header {
  border-bottom: 0;
  padding: 6px 7px 2px 7px !important;
}
.card-footer {
  border-top: 0;
}
.card-bg-green {
  background-color: #deeee5 !important;
}
.card-bg-blue {
  background-color: #dee6ee !important;
}
.card-bg-blue-dk {
  background-color: #c6d6e6 !important;
}
.card-bg-pink {
  background-color: #ffe5f4 !important;
}
.card-bg-pink-dk {
  background-color: #f0d8e6 !important;
}
.card-bg-purple {
  background-color: #e5deee !important;
}
.card-bg-tint-dk {
  background-color: #dddbd1 !important;
}
h5 {
  font-size: 1.2rem;
  line-height: 100%;
}
.subtitle {
  font-size: 60% !important;
  color: #2d3748;
}
article ol,
article ul {
  padding-left: 20px;
  margin: 0;
}
article .card-header {
  /* background-color: #deeee8; */
  background-color: #dfdacc;
}
article .card-body {
  /* background-color: #deeee8; */
  background-color: #f1eee2;
}

article.grid .card-header {
  margin: 0;
  padding: 4px 7px;
  background-color: #f1eee2;
}
article.grid .card-body {
  margin: 0;
  padding: 0;
  font-size: 0.8em;
  background-color: #cac8bf;
}
article.grid .card-footer {
  margin: 0;
  padding: 4px 7px;
  font-size: 0.8em;
  background-color: #f1eee2;
}
article.grid .card-footer .heading {
  background-color: #dfdacc;
}
.sidebar .card-header {
  margin: 0;
  padding: 4px 7px;
  background-color: #ffcfaf;
}
.sidebar .card-body {
  margin: 0;
  padding: 4px 7px;
  font-size: 0.8em;
  background-color: #f1eee2;
}
.sidebar .card-footer {
  margin: 0;
  padding: 4px 7px;
  font-size: 0.8em;
  background-color: #f1eee2;
}
.card-body del {
  color: #666;
}
p.tinytext {
  font-size: 50%;
}
.text-small {
  font-size: 0.7em;
  line-height: 100%;
}
main .gotop {
  font-size: 0.7em;
  text-align: right;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}
article .gotop {
  font-size: 0.8em;
  text-align: right;
  margin-bottom: 0;
}
aside .gotop {
  font-size: 0.7em;
  text-align: right;
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}
.f-right {
  float: right;
  clear: both;
}
.sidebar ul,
.sidebar ol {
  padding-left: 20px;
  margin-top: -12px;
  margin-bottom: -10px;
}
.sidebar .card-body {
  padding: 5px 7px 4px 7px;
}
.highlight {
  background: #ffff40;
}
.searchheading {
  font-size: 130%;
  font-weight: bold;
}
.summary {
  font-size: 80%;
  font-style: italic;
}
.suggestion {
  font-size: 100%;
}
.results {
  font-size: 100%;
}
.category {
  color: #999999;
}
.sorting {
  text-align: right;
}
.result_title {
  font-size: 100%;
}
.description {
  font-size: 100%;
  color: #555;
}
.context {
  font-size: 100%;
}
.infoline {
  font-size: 80%;
  font-style: normal;
  color: #808080;
}
.zoom_searchform {
  font-size: 100%;
}
.zoom_results_per_page {
  font-size: 80%;
  margin-left: 10px;
}
.zoom_match {
  font-size: 80%;
  margin-left: 10px;
}
.zoom_categories {
  font-size: 80%;
}
.zoom_categories ul {
  display: inline;
  margin: 0px;
  padding: 0px;
}
.zoom_categories li {
  display: inline;
  margin-left: 15px;
  list-style-type: none;
}
.cat_summary ul {
  margin: 0px;
  padding: 0px;
  display: inline;
}
.cat_summary li {
  display: inline;
  margin-left: 15px;
  list-style-type: none;
}
.result_image {
  float: left;
  display: block;
}
.result_image img {
  margin: 10px;
  width: 80px;
  border: 0px;
}
.result_block {
  margin-top: 15px;
  margin-bottom: 15px;
  clear: left;
}
.result_altblock {
  margin-top: 15px;
  margin-bottom: 15px;
  clear: left;
}
.result_pages {
  font-size: 100%;
}
.result_pagescount {
  font-size: 100%;
}
.searchtime {
  font-size: 80%;
}
.recommended {
  background: #dfffbf;
  border-top: 1px dotted #808080;
  border-bottom: 1px dotted #808080;
  margin-top: 15px;
  margin-bottom: 15px;
}
.recommended_heading {
  float: right;
  font-weight: bold;
}
.recommend_block {
  margin-top: 15px;
  margin-bottom: 15px;
  clear: left;
}
.recommend_title {
  font-size: 100%;
}
.recommend_description {
  font-size: 100%;
  color: #555;
}
.recommend_infoline {
  font-size: 80%;
  font-style: normal;
  color: #808080;
}
.recommend_image {
  float: left;
  display: block;
}
.recommend_image img {
  margin: 10px;
  width: 80px;
  border: 0px;
}
