* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  background: #cbd6c2;
  color: #111;
  font-family: Verdana, Geneva, Arial, sans-serif;
  font-size: 11px;
}

a { color: #0000cc; }
a:visited { color: #551a8b; }
a:hover { color: #cc0000; }

.full-table { width: 100%; }
.anchor { scroll-margin-top: 8px; }
.clear { clear: both; }

#page {
  width: 820px;
  margin: 8px auto 18px;
  background: #fff;
  border: 1px solid #53664b;
}

#masthead {
  background: #24471f;
  border-bottom: 4px solid #c2a14a;
  padding: 8px 10px 7px;
}

#site-name {
  font-family: "Times New Roman", Georgia, serif;
  font-size: 34px;
  line-height: 34px;
  color: #fff4cf;
  font-weight: bold;
  letter-spacing: -1px;
}

#site-name span {
  color: #d6b34a;
  font-style: italic;
}

#tagline {
  color: #dce4d7;
  font-family: Arial, sans-serif;
  font-size: 10px;
  padding: 2px 0 0 3px;
}

.counter-cell {
  width: 160px;
  text-align: right;
  vertical-align: middle;
}

#counter-box {
  display: inline-block;
  min-width: 132px;
  background: #000;
  color: #42ff42;
  border: 2px inset #9a9a9a;
  padding: 4px 7px 3px;
  text-align: center;
  font-family: "Courier New", monospace;
  font-size: 16px;
  letter-spacing: 2px;
}

#counter-box small {
  display: block;
  color: #b6dcb6;
  font-family: Arial, sans-serif;
  font-size: 8px;
  letter-spacing: 0;
  margin-top: 2px;
}

#top-links {
  background: #e8dfbe;
  border-bottom: 1px solid #9e946a;
  padding: 5px 7px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 11px;
  line-height: 17px;
}

#top-links a {
  color: #332c10;
  text-decoration: none;
  padding: 0 4px;
  white-space: nowrap;
}

#top-links a:hover { color: #790000; text-decoration: underline; }
#top-links span { color: #9a8b54; }

#ticker-wrap {
  height: 25px;
  overflow: hidden;
  background: #fffbe9;
  border-bottom: 1px solid #cfc49c;
  white-space: nowrap;
  line-height: 24px;
  font-size: 10px;
}

.ticker-label {
  float: left;
  position: relative;
  z-index: 2;
  background: #fffbe9;
  color: #7b1414;
  font-weight: bold;
  padding: 0 5px 0 8px;
}

#newsTicker {
  width: 710px;
  vertical-align: top;
}

#layout { width: 100%; }

#main-column {
  width: 570px;
  vertical-align: top;
  padding: 13px 10px 16px 13px;
}

#sidebar {
  width: 250px;
  vertical-align: top;
  padding: 13px 13px 16px 3px;
}

h1 {
  margin: 0 0 9px;
  padding: 0 0 4px;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 23px;
  font-weight: bold;
  color: #294b23;
  border-bottom: 2px solid #c2a14a;
}

p { margin: 0 0 9px; line-height: 1.48; }

.small-note { font-size: 10px; color: #555; }
.tiny { font-size: 9px; line-height: 1.45; color: #666; }
.new-tag { color: #d00000; font-weight: bold; font-size: 9px; }

.rule {
  height: 1px;
  border-top: 1px dotted #aaa17d;
  margin: 13px 0;
}

.welcome-table, .history-table, .mini-directory, .link-grid, .event-table { width: 100%; }
.welcome-photo-cell { width: 205px; vertical-align: top; padding-right: 10px; }
.welcome-copy { vertical-align: top; }

.photo {
  display: block;
  border: 3px solid #fff;
  outline: 1px solid #777;
  background: #ddd;
}

.photo-large { width: 195px; height: auto; }
.photo-history { width: 180px; height: auto; }
.caption {
  font-family: Arial, sans-serif;
  font-size: 9px;
  color: #666;
  margin-top: 4px;
  text-align: center;
}

.content-box, .side-box {
  border: 1px solid #89977e;
  background: #fffef8;
  margin-bottom: 12px;
}

.box-title, .side-title {
  background: #3a5a31;
  color: #fff5d5;
  border-bottom: 2px solid #b69336;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.box-title { padding: 4px 7px; font-size: 12px; }
.side-title { padding: 4px 6px; font-size: 11px; }
.box-content { padding: 9px; }
.side-content { padding: 7px; }

.news-item {
  padding: 0 0 8px;
  margin: 0 0 8px;
  border-bottom: 1px dotted #bdb69a;
}

.news-item:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.news-date { color: #7d1c1c; font-size: 9px; font-weight: bold; }
.news-title { font-weight: bold; color: #263d20; }

.event-table td {
  vertical-align: top;
  border-bottom: 1px dotted #c4bea5;
  padding: 4px 3px;
}

.event-date { width: 92px; color: #7d1c1c; font-weight: bold; font-size: 10px; }
.more-link { margin: 8px 0 0; font-size: 10px; }

.link-grid td {
  width: 33.33%;
  padding: 5px 7px;
  background: #f3f0df;
  border: 1px solid #d7d0b3;
  text-align: center;
  font-size: 10px;
}

.mini-directory td {
  width: 50%;
  vertical-align: top;
  padding: 7px 9px;
  background: #f7f4e8;
  border: 1px solid #d7d0b3;
  line-height: 1.65;
}

.history-photo-cell { width: 192px; vertical-align: top; padding-right: 10px; }

.photo-card {
  width: 48%;
  float: left;
  margin-right: 2%;
}

.photo-card .photo { width: 100%; height: 145px; object-fit: cover; }
.photo-strip { overflow: hidden; }

.quick-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.quick-list li {
  padding: 4px 0 4px 11px;
  border-bottom: 1px dotted #c8c1a4;
  position: relative;
}

.quick-list li:before {
  content: ">";
  position: absolute;
  left: 0;
  color: #7b1414;
}

.quick-list li:last-child { border-bottom: 0; }

.weather-box { text-align: center; }
#weatherTemp {
  font-family: "Times New Roman", Georgia, serif;
  color: #294b23;
  font-size: 28px;
  line-height: 30px;
  font-weight: bold;
}
#weatherCond { font-size: 10px; margin-top: 2px; }
#weatherFeels { font-size: 9px; color: #666; margin-top: 4px; }
.weather-credit { margin-top: 5px; font-size: 9px; color: #777; }

.webcam-box { text-align: center; }
.webcam-screen {
  width: 180px;
  height: 105px;
  margin: 0 auto 7px;
  border: 2px inset #888;
  background: #d8d8d2;
  color: #444;
  font-family: "Courier New", monospace;
  padding-top: 32px;
}
.webcam-screen span { display: block; font-size: 9px; }
.webcam-screen b { display: block; font-size: 16px; margin-top: 3px; }

.old-button {
  display: inline-block;
  background: #e8dfbe;
  border: 2px outset #cbc196;
  padding: 3px 8px;
  color: #2c2816 !important;
  text-decoration: none;
  font-weight: bold;
  font-size: 10px;
}
.old-button:active { border-style: inset; }

.web-ring { text-align: center; }
.web-button {
  display: inline-block;
  width: 88px;
  height: 31px;
  margin: 3px 2px;
  border: 1px outset #ddd;
  color: #fff !important;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: bold;
  line-height: 11px;
  padding-top: 4px;
  text-shadow: 1px 1px #000;
}
.web-button small { font-size: 8px; }
.wb-blue { background: #1d3f78; }
.wb-green { background: #2b5f38; }
.wb-red { background: #7a2929; }
.wb-gray { background: #565656; }
.ring-nav { margin: 6px 0 0; font-size: 9px; }

#footer {
  background: #24471f;
  color: #dce4d7;
  border-top: 4px solid #c2a14a;
  text-align: center;
  padding: 9px 10px 10px;
  font-family: Arial, sans-serif;
  font-size: 9px;
  line-height: 1.55;
}

#footer a { color: #fff2bd; }
.footer-badges { margin-bottom: 6px; }
.text-badge {
  display: inline-block;
  padding: 1px 4px;
  margin: 0 2px;
  background: #ececdf;
  color: #222;
  border: 1px outset #aaa;
  font-family: Arial, sans-serif;
  font-size: 8px;
}
.disclaimer { margin-top: 5px; color: #bac9b6; font-size: 8px; }
.photo-credit { color: #9fb19b; font-size: 8px; }

@media (max-width: 850px) {
  #page { width: calc(100% - 10px); margin: 5px auto; }
  #layout, #layout tbody, #layout tr, #layout td { display: block; width: 100%; }
  #main-column { padding: 11px; }
  #sidebar { padding: 0 11px 11px; }
  #newsTicker { width: calc(100% - 82px); }
  .counter-cell { display: table-cell !important; width: 145px !important; }
}

@media (max-width: 560px) {
  #site-name { font-size: 27px; line-height: 29px; }
  #masthead td { display: block; width: 100%; }
  .counter-cell { display: block !important; text-align: left; margin-top: 7px; }
  .welcome-table, .welcome-table tbody, .welcome-table tr, .welcome-table td,
  .history-table, .history-table tbody, .history-table tr, .history-table td,
  .mini-directory, .mini-directory tbody, .mini-directory tr, .mini-directory td {
    display: block;
    width: 100%;
  }
  .welcome-photo-cell, .history-photo-cell { padding: 0 0 9px; }
  .photo-large, .photo-history { width: 100%; max-width: 320px; }
  .mini-directory td { margin-bottom: 5px; }
  .photo-card { width: 100%; float: none; margin: 0 0 10px; }
}
