:root {
  --fyt-ink: #26231c;
  --fyt-link: #435627;
  --fyt-paper: #e8efcd;
  --fyt-line: #adc77f;
  --fyt-rail: 220px;
  --fyt-rail-fill: #c7d9a7;
  --fyt-title-fill: linear-gradient(#96ad2c, #c5d86b 55%, #98b033);
}

.fyt-page, .fyt-component {
  margin: 0;
  color: var(--fyt-ink);
  font: 13px/1.35 Arial, Helvetica, sans-serif;
  letter-spacing: .055em;
  overflow-wrap: break-word;
}

.fyt-page {
  background: #c5d883 url("../images/page_gl.png") no-repeat center top;
}

.fyt-component { background: var(--fyt-paper); }
.fyt-page *, .fyt-component * { box-sizing: border-box; }
.fyt-page a, .fyt-component a { color: var(--fyt-link); }
.fyt-page :focus-visible, .fyt-component :focus-visible {
  outline: 3px solid #225491;
  outline-offset: 2px;
}
.fyt-skip {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 1rem;
  padding: .6rem 1rem;
  color: #fff !important;
  background: #253a13;
  transform: translateY(-135%);
}
.fyt-skip:focus { transform: none; }
.fyt-sheet {
  width: 95%;
  margin: 15px auto 0;
  padding: 3px;
  border-radius: 12px;
  box-shadow: 0 0 4px #73893488;
  background: var(--fyt-paper);
}
.fyt-header {
  min-height: 205px;
  padding: 64px 1rem 1rem;
  text-align: center;
  border-radius: 9px 9px 0 0;
  background-color: #b5ce58;
  background-image: url("../images/header.jpg"), url("../images/header.png");
  background-position: left top;
  background-repeat: no-repeat;
}
.fyt-brand-heading { margin: 0; }
.fyt-page .fyt-brand, .fyt-location {
  display: block;
  margin: 0;
  font-family: "Arial Black", Arial, Helvetica, sans-serif;
  font-weight: bold;
  line-height: 1.16;
}
.fyt-page .fyt-brand {
  color: #343602;
  font-size: 31px;
  letter-spacing: 2px;
  text-decoration: none;
}
.fyt-location { margin-top: 2px; font-size: 21px; color: #474903; letter-spacing: 1px; }
.fyt-navigation {
  position: relative;
  z-index: 2;
  padding: 5px 3px 0;
  background: #9bb13c url("../images/nav.png") repeat-x left top;
  border-bottom: 1px solid #72872e;
}
.fyt-navigation ul, .fyt-panel-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fyt-navigation ul:not(ul ul) {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 3px;
}
.fyt-navigation li { position: relative; margin: 0; padding: 0; }
.fyt-navigation a, .fyt-navigation .mod-menu__separator, .fyt-navigation .mod-menu__heading {
  display: block;
  padding: 3px 12px;
  border: 1px solid #7c8b32;
  border-bottom: 0;
  border-radius: 8px 2px 0 0;
  color: #202314;
  background: linear-gradient(#8cae52, #baca8e 72%, #96ad5d);
  font-size: 13px;
  font-weight: bold;
  line-height: 17px;
  text-transform: uppercase;
  text-decoration: none;
}
.fyt-navigation :is(.current,.active) > a, .fyt-navigation a:is(:hover,:focus-visible) {
  background: linear-gradient(#f1f2df, #d8dfa8);
  color: #35431e;
}
.fyt-navigation ul ul {
  display: none;
  position: absolute;
  min-width: 12rem;
  left: 0;
  top: 100%;
  padding: 3px;
  background: #cedaa5;
  box-shadow: 0 3px 7px #0004;
}
.fyt-navigation ul ul ul { left: 100%; top: 0; }
.fyt-navigation li:is(:hover,:focus-within) > ul:not([aria-hidden]) { display: block; }
.fyt-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "main"; }
.fyt-layout.has-left { grid-template-columns: var(--fyt-rail) minmax(0, 1fr); grid-template-areas: "left main"; }
.fyt-layout.has-right { grid-template-columns: minmax(0, 1fr) var(--fyt-rail); grid-template-areas: "main right"; }
.fyt-layout.has-left.has-right { grid-template-columns: var(--fyt-rail) minmax(0, 1fr) var(--fyt-rail); grid-template-areas: "left main right"; }
.fyt-left { grid-area: left; }
.fyt-right { grid-area: right; }
.fyt-side { min-width: 0; padding: 7px; background: var(--fyt-rail-fill) url("../images/sidebar_bg.png") repeat; }
.fyt-main { grid-area: main; min-width: 0; padding: 18px 20px 24px; }
.fyt-main :is(img,video,iframe), .fyt-side img { max-width: 100%; }
.fyt-main img { height: auto; }
.fyt-crumbs { margin: 0 0 30px; }
.fyt-crumbs :is(.breadcrumb,ol) { display: flex; flex-wrap: wrap; padding: 0; margin: 0; list-style: none; background: transparent; }
.fyt-crumbs .breadcrumb-item + .breadcrumb-item::before { content: "›"; margin-inline: .45em; color: #976623; }
.fyt-main p { margin: 12px 0; }
.fyt-main :is(.page-header h1,.page-header h2,.com-content-category-blog__page-header h1) {
  padding: 9px 4px;
  margin: 0 0 18px;
  color: #35431e;
  border: 1px solid var(--fyt-line);
  background: #e0e9c5;
  font: bold 22px/1.3 Arial, Helvetica, sans-serif;
  letter-spacing: 2px;
}
.fyt-main h2 { font-size: 22px; }
.fyt-main h3 { font-size: 19px; }
.fyt-panel { margin: 0 0 9px; padding: 2px; border: 1px solid #a8bd80; background: #e3ebbe; }
.fyt-panel-body { padding: 5px; background: #f2f4e2; }
.fyt-panel-title { margin: 0; padding: 9px 7px; color: #182009; font: bold 13px/1.25 Arial,Helvetica,sans-serif; background: var(--fyt-title-fill); }
.fyt-panel-title::before { content: "↘"; margin-inline-end: .4em; }
.fyt-panel-menu, .fyt-panel-menu .fyt-panel-body { padding: 0; border: 0; background: transparent; }
.fyt-panel-menu li { margin: 0; padding: 0; }
.fyt-panel-menu ul { display: block; }
.fyt-panel-menu a, .fyt-panel-menu .mod-menu__heading, .fyt-panel-menu .mod-menu__separator {
  display: block;
  padding: 5px 8px 5px 19px;
  margin-bottom: 3px;
  border: 1px solid #9aab69;
  color: #3c382b;
  background: linear-gradient(#81982a, #b4cb55 53%, #92a937);
  font: bold 15px/18px Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: uppercase;
  text-decoration: none;
}
.fyt-panel-menu :is(.current,.active) > a, .fyt-panel-menu a:is(:hover,:focus-visible) { background: #dce7b0; }
.fyt-panel-menu ul ul { padding-inline-start: 10px; }
.fyt-panel-menu ul ul a { padding-inline-start: 9px; background: #e5edc9; font-size: 13px; }
.fyt-panel :is(input,select,textarea,.input-group) { max-width: 100%; }
.fyt-panel .form-control { min-width: 0; }
.fyt-panel .btn, .fyt-main .btn-primary {
  background-color: #aabd72;
  border: 1px solid #819653;
  color: #19210d;
}
.fyt-footer, .fyt-credit { text-align: center; font-size: 12px; }
.fyt-footer { padding: 12px; background: #d5e1bc; }
.fyt-footer p { margin: 2px 0; }
.fyt-credit { margin: 8px auto 20px; }
.fyt-page .visually-hidden:not(:focus):not(:focus-within), .fyt-component .visually-hidden:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (min-width: 701px) and (max-width: 1100px) {
  :root { --fyt-rail: clamp(142px, 17vw, 190px); }
  .fyt-main { padding-inline: 13px; }
  .fyt-panel-menu a { padding-inline-start: 8px; font-size: 13px; }
}

@media (max-width: 700px) {
  .fyt-sheet { width: calc(100% - 12px); margin-top: 6px; }
  .fyt-header { min-height: 130px; padding: 32px 10px 20px; background-size: auto 100%; }
  .fyt-page .fyt-brand { font-size: clamp(19px,4.8vw,26px); letter-spacing: 1px; }
  .fyt-location { font-size: clamp(14px,3.6vw,18px); }
  .fyt-navigation { padding-bottom: 3px; }
  .fyt-navigation ul:not(ul ul) { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(145px,100%), 1fr)); }
  .fyt-navigation a { display: flex; align-items: center; min-height: 42px; border: 1px solid #7c8b32; border-radius: 3px; }
  .fyt-navigation ul ul { display: block; position: static; min-width: 0; padding-inline-start: 7px; box-shadow: none; }
  .fyt-layout, .fyt-layout.has-left, .fyt-layout.has-right, .fyt-layout.has-left.has-right {
    display: flex; flex-direction: column;
  }
  .fyt-main { padding: 14px 12px; }
  .fyt-main [itemprop="articleBody"] p { text-align: start !important; }
  .fyt-crumbs { margin-bottom: 18px; }
  .fyt-side { padding: 7px 12px; }
  .fyt-panel-menu a { min-height: 42px; display: flex; align-items: center; }
  .fyt-credit { padding-inline: 8px; }
}

/* Joomla's menu button owns the expanded state for both pointer and keyboard users. */
:is(.fyt-navigation,.fyt-panel-menu) .deeper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}
:is(.fyt-navigation,.fyt-panel-menu) .deeper > ul { grid-column: 1 / -1; }
:is(.fyt-navigation,.fyt-panel-menu) .deeper > button:only-of-type:first-child { grid-column: 1 / -1; }
:is(.fyt-navigation,.fyt-panel-menu) .mod-menu__toggle-sub {
  min-width: 30px;
  justify-content: center;
  color: #243213;
  background: #c0d384;
  border: 1px solid #94a861;
  cursor: pointer;
}
:is(.fyt-navigation,.fyt-panel-menu) ul[aria-hidden="true"] { display: none; }
:is(.fyt-navigation,.fyt-panel-menu) ul[aria-hidden="false"] { display: block; }

@media print {
  .fyt-navigation, .fyt-side, .fyt-skip, .fyt-credit, .fyt-footer, .fyt-crumbs { display: none; }
  .fyt-page, .fyt-component, .fyt-sheet { margin: 0; width: auto; color: #111; background: #fff; box-shadow: none; }
  .fyt-header { min-height: 0; padding: 0 0 1em; background: none; }
  .fyt-layout, .fyt-layout.has-left, .fyt-layout.has-right, .fyt-layout.has-left.has-right { display: block; }
  .fyt-main { padding: 0; }
}

.fyt-calendar table, .fyt-visits { width: 100%; font-size: 12px; line-height: 1.35; border-collapse: collapse; letter-spacing: 0; }
.fyt-calendar caption { caption-side: top; text-align: center; color: #283713; font-weight: bold; }
.fyt-calendar td, .fyt-calendar th { width: 12.5%; text-align: center; padding: 1px 0; }
.fyt-calendar th { font-size: .88em; }
.fyt-calendar td[aria-current="date"], .fyt-calendar button[aria-current="date"] { font-weight: bold; text-decoration: underline; }
.fyt-calendar td button { padding: 1px; width: 100%; border: 0; border-radius: 2px; background: transparent; color: inherit; }
.fyt-calendar button[aria-pressed="true"] { background: #53661f; color: white; }
.fyt-cal-controls:not([hidden]) { display: flex; justify-content: space-between; }
.fyt-cal-controls button { border: 1px solid #98ab75; color: #223009; background: #e4eccf; }
.fyt-visits th, .fyt-visits td { padding: 2px; font-size: inherit; }
.fyt-visits th { font-weight: normal; text-align: left; }
.fyt-visits td { text-align: right; font-variant-numeric: tabular-nums; }
.fyt-footer .mod-finder { width: min(100%, 24rem); margin: 0 auto .6rem; }
.fyt-footer .mod-finder .btn { border-color: #819653; color: #19210d; background-color: #aabd72; }
