* {
  box-sizing: border-box;
}
body, html{
  /*font-family: Autobus;*/
  /*font-family: Futura;*/
  /*font-family: Century Gothic;*/
  font-family: Baskerville;
  /*font-family: monospace;*/
  height:100%;
  margin: 0;
  font-size: 18px;
}

#main {
  padding: 16px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 24px;
  margin-top: 20px;
  /* height: 1500px; */ /* Used in this example to enable scrolling */
}


.navbar {
  overflow: hidden;
  display:flow-root;
  background-color: white;
  color: forestgreen;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  text-align: center;
}

.navbar a {
  float: right;
  display: block;
  color: darkseagreen;
  text-align: left;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 30px;
}

.navbar a{
  margin-top: 20px;
}

#logo {
  margin-top: 0;
}

.navbar a:hover {
  background-color: white;
  color: forestgreen;
}

.navbar a.active {
  background-color: white;
  color: forestgreen;
}

.footer {
  position: static;
  left: 0;
  bottom: 0;
  width: 100%;
  padding-top: 60px;
  background-color: #99aea2;;
  color: #000;
  text-align: center;
}

#logo:link {
  color: black; 
  background-color: transparent; 
  text-decoration: inherit;
}

#logo:visited {
  color: black;
  background-color: transparent;
  text-decoration: inherit;
}

#logo:hover {
  color: black;
  background-color: transparent;
  text-decoration: inherit;
}

#logo:active {
  color: black;
  background-color: transparent;
  text-decoration: inherit;
}
a:link:active:visited{
  color: orangered;
  text-decoration: none;
}

a:hover{
  color: blue;
  text-decoration: none;
}

a {
  color: orangered;
  text-decoration: none;
}
.navbar a::before {
  content: '';
  display: block;
  height: 5px;
  background-color: seagreen;

  position: relative;
  top: 0;
  width: 0%;

  transition: all ease-in-out 250ms;
}
.navbar a:not(#logo):hover::before {
  width:100%;
}

.navbar a.active::before {
  content: '';
  display: block;
  height: 4px;
  background-color: seagreen;

  position: relative;
  top: 0;
  width: 100%;

}

.footer .row {
  width: 100%;
  padding: 5px;
}

.footer .row::after {
  content: "";
  clear: both;
  display: table;
}

.footer .column {
  position: relative;
  float: left;
  padding: 5px;
  width: 33%;
}

.footer img{
  width: 8%;
  margin-bottom: 0.7rem;
}

hr {
  background-color: white;
}

a:link:active:visited{
  color: #1c5b32;
  text-decoration: none;
}

a:hover{
  color: #1c5b32;
  text-decoration: none;
}

a {
  color: #9b3c3c;
  text-decoration: none;
}

.footer i {
  color: white;
}

.btm-mar {
  margin-bottom: o.7rem;
}

/* Modal styles (shared across site) */
.modal-custom .modal-content {
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(34,34,34,0.05);
  box-shadow: 0 8px 24px rgba(10,20,10,0.08);
  font-family: Baskerville, serif;
}

.modal-custom .modal-header {
  border-bottom: none;
  padding: 1rem 1.25rem;
}

.modal-custom .modal-title {
  color: #1c5b32; /* dark green site accent */
  font-weight: 600;
  font-size: 1.25rem;
}

.modal-custom .btn-close {
  filter: none;
}

.modal-custom .modal-body {
  padding: 1rem 1.25rem;
  color: #333;
}

.modal-custom .modal-footer {
  border-top: none;
  padding: 0.75rem 1.25rem;
}

.modal-custom .btn-secondary {
  background-color: #99aea2; /* match footer background tone */
  border-color: #99aea2;
  color: #fff;
}

.modal-custom .btn-outline-dark {
  background-color: #9b3c3c; /* site link color as solid fill for contrast */
  border-color: #9b3c3c;
  color: #fff;
}

.modal-custom .btn-outline-dark:hover,
.modal-custom .btn-outline-dark:focus {
  background-color: #7a312f;
  border-color: #7a312f;
  color: #fff;
  box-shadow: 0 2px 6px rgba(122,49,47,0.18);
}

@media (max-width: 576px) {
  .modal-dialog { margin: 1.5rem; }
}
