html, body, h1, h2, h3, h4 {
	margin: 0;
	padding: 0;
}
h1 img {
	display: block;
}
img {
	border: 0;
}
a {
	color: #464544;
}
a:hover {
	color: #666666;
}
.left {
	float: left;
}
.right {
	float: right;
}
.more {
	text-align: right;
}
.clear {
	clear: both;
}

body {
	background: #f8f9fa;
	text-align: left;
	font: 14px arial, sans-serif;
	color: #464544;
	padding-bottom: 10px;
}

#outer { display: contents; }

/** layout **/
#wrapper {
	text-align: center;
	margin: 0;
	width: 100%;
  position: relative;
  padding-bottom: 1px;
  padding-top: 1px;
  background-color: transparent;
  border-radius: 0;
}

#body-top {
  background-color: #d5d5d5;
  margin: 5px;
  padding-bottom: 14px;
  border-radius: 35px;
}

/** logo **/

#logo {
  max-width: 100%;
  text-align: center;
  background-color: transparent;
  border-radius: 0;
}
#logo h1 {
  color: #6F7033;
  font: 22px "Arial narrow", arial, sans-serif;
  line-height: 1;
  padding-top: 0.8em;
}
#logo p {
  color: #464544;
  font: 16px "Arial narrow", arial, sans-serif;
  margin: 0;
}

/** nav **/

#nav {
  border-top: 10px solid #fff;
  padding-top: 4px;
  padding-bottom: 14px;
  background-color: #fff;
}
#nav li {
  list-style: none;
}
#nav a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}
#nav a:hover {
  color: #FFA405;
}

/** green box **/
#gbox {
  width: 100%;
  max-width: 100%;
  margin-top: 24px;
  margin-left: 0;
  margin-right: 0;
}

#gbox-bg  { 
  background: linear-gradient(to bottom, #b0b863 0%, #b7bf6a 100%);
}
#gbox-grd {
  background: linear-gradient(to bottom, #b0b863 0%, #b7bf6a 100%);
}
#gbox-top { 
  background-color: #B0B863;
  height: 24px; 
  margin-top: 15px;
  border-radius: 15px 15px 0 0;
}
#gbox-bot {
  background-color: #b7bf6a;
  border-radius: 0 0 15px 15px;
  height: 23px;
}

#gbox-grd {
  min-height: 300px;
  padding: 2px 24px;
}

#gbox h2 {
  font: bold 14px arial, sans-serif;
  color: #000;
  margin: 0;
}

#gbox p {
  margin: 1em 0;
}

#features {
  background: #EDF0C4;
  /*background-image: -moz-linear-gradient(bottom,#edf0c4 0%, #e0f0c0 100%);*/
  padding: 14px;
  margin: 0 -14px;
  border-radius: 5px;
  text-align: left;
}
#features h2 {
  position: relative;
}
#features ul {
  float: left;
  width: 49%;
  margin: 1em 0;
  padding: 0;
}
#features li {
  list-style: square;
  margin-left: 12px;
}

/** footer **/

#newsletter, #events {
  float: left;
  width: 49%;
  margin-top: 1em;
}
#newsletter h2, #events h2 {
  color: #fff;
}
#newsletter .text {
  width: 125px;
}
#newsletter form {
  margin: 0.3em 0 0.6em 0;
}
#newsletter p {
  margin: 0.3em 0;
  font-size: 10px;
}
#newsletter a {
  color: #000;
}

#events {
  margin-left: 6%;
  width: 38%;
}
#events ul {
  margin: 0.3em 0;
  padding: 0;
}
#events li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/** grey box **/

#greybox {
  background: url(images/grey_bg.gif) repeat-y;
  width: 326px;
  position: absolute;
  top: 292px;
  left: 457px;
}
#greybox-top {
  background: url(images/grey_img.jpg) no-repeat;
  padding-left: 165px;
  padding-top: 18px;
}
#greybox-bot {
  background: bottom left url(images/grey_bot.gif) no-repeat;
  padding-bottom: 4px;
}
#greybox h2 {
  font: bold 12px arial, sans-serif;
  color: #E4EE6A;
  line-height: 1.5;
}
#greybox a {
  color: #fff;
}

#copyright {
  font-size: 9px;
  color: #fff;
  margin-top: 60px;
}

/** buttons **/


input[type="submit"] {
  border-radius: 4px;
  margin: 1px;
  text-decoration: none;
  padding: 2px 8px 2px 8px;
  box-shadow: rgba(0,0,0,0.2) 0 1px 0 0;
  border: 1px solid #d5d5d5; 
  /*background-image: -moz-linear-gradient(bottom,#edf0c4 0%, #e0f0c0 100%);*/
  background: #edf0c4; 
}

input[type="submit"]:hover {
  color: #333;
  /*background-image: -moz-linear-gradient(bottom,#e0f0c0 0%, #edf0c4 100%);*/
  background: #d5d5d5;
}

input[type="text"],
input[type="password"],
select {
  border-radius: 4px;
  margin: 1px;
  text-decoration: none;
  padding: 2px;
  box-shadow: rgba(0,0,0,0.2) 0 1px 0 0;
  border: 1px solid #d5d5d5; 
  /*background-image: -moz-linear-gradient(bottom,#edf0c4 0%, #e0f0c0 100%);*/
  background: #edf0c4;
}

/* Utility borders for better readability in dynamic tables */
:root { --tbl-border-color: #dee2e6; }
.table .v-sep-left { border-left: 2px solid var(--tbl-border-color) !important; }
.table .v-sep-inner { border-left: 1px solid var(--tbl-border-color) !important; }
/* keep footer/header alignment consistent */
.table tfoot th.v-sep-left,
.table thead th.v-sep-left { border-left: 2px solid var(--tbl-border-color) !important; }
.table tfoot th.v-sep-inner,
.table thead th.v-sep-inner { border-left: 1px solid var(--tbl-border-color) !important; }

/* Highlight max cells per row */
.table td.cell-max-tr { background-color: #fff3cd; } /* soft yellow */
.table td.cell-max-sh { background-color: #cfe2ff; } /* soft blue */

/* Chart height utility */
.chart-250 { max-height: 250px; height: 250px; width: 100%; }

/* Vertically scrollable card table with sticky header (for yearly aggregation table) */
.card-table-scroll-vert {
  max-height: 420px; /* approx. 10 data rows incl. some padding */
  overflow-y: auto;
}
.card-table-scroll-vert table { margin-bottom: 0; }
.card-table-scroll-vert thead {
  position: sticky;
  top: 0;
  z-index: 10; /* keep above body cells */
}
.card-table-scroll-vert thead th {
  background-color: #f8f9fa; /* match .table-light */
  /* Ensure a clear separation at the bottom of the sticky header */
  border-bottom: 1px solid var(--tbl-border-color);
}


/* Compact icon-only buttons to save space in tables and headers */
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .25rem .35rem; /* tighter than default btn-sm */
  line-height: 1;
}
.btn-icon i {
  font-size: 1rem; /* consistent icon size */
}
.btn.btn-sm.btn-icon {
  width: 2rem;
  height: 2rem;
  padding: 0; /* square, compact */
}
