@import url("https://fonts.googleapis.com/css?family=Open+Sans");

/*
 * user.css - kathleentreadway.com, Cassiopeia (Joomla 4/5/6) recreation of the Joomla 3 Protostar look
 * Built from the live site's actual CSS (template.css values, custom.css, and the inline style block).
 *
 * Install: /media/templates/site/cassiopeia/css/user.css  (or a Cassiopeia child template's css/user.css)
 *
 * Module setup that goes with this file (Advanced tab of each module):
 *   Left Nav / User Menu / Main sidebar menus : Module Class = menu-sidebar   (was "_menu")
 *   Contact Us                                : Module Class = rounded-box    (was "_rounded")
 *   Sidebar modules: Module Style = noCard, Show Title = Hide (except Contact Us if it shows a title)
 * Legacy names (._menu, ._rounded, .moduletable_menu, .moduletable_rounded) are also targeted below.
 *
 * Needs files from the old site's /images folder: logo-green.jpg and header-bg.gif
 * Template style (System > Site Template Styles > Cassiopeia): Brand > Logo = images/logo-green.jpg,
 * leave Site Title and Tagline empty.
 */

:root {
  --cassiopeia-color-primary: #60b071;
  --cassiopeia-color-link: #60b071;
  --cassiopeia-color-hover: #3f8a52;
  --link-color: #60b071;
  --link-color-rgb: 96, 176, 113;
  --link-hover-color: #3f8a52;
  --template-bg-light: #f4f6f7;
  --template-link-color: #60b071;
  --template-special-color: #60b071;
}

/* ---------- Page ---------- */
body.site {
  background-color: #f4f6f7;
  border-top: 3px solid #60b071;
  color: #333;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 15px;
  line-height: 18px;
}

a { color: #60b071; }
a:hover, a:focus { color: #3f8a52; }

h1, h2, h3, h4, h5, h6, .site-title {
  font-family: "Open Sans", sans-serif;
  color: #333;
  line-height: 1.2;
}
h1 { font-size: 26px; }
h2 { font-size: 22px; }
h3 { font-size: 18px; }
h4 { font-size: 130%; }
h5 { font-size: 95%; text-transform: uppercase; }

/* ---------- White 960px page box (header + body + footer) ---------- */
.container-header,
.site-grid,
.container-footer {
  /* body is a flex container in Cassiopeia: without width:100%, auto margins shrink-wrap header/footer */
  width: 100%;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
}
.container-header {
  box-shadow: none;
  border: 0;
  padding: 0 10px;
  background-image: none;
}
.site-grid {
  padding: 0 10px 10px;
  /* 220px sidebar + three 240px columns; content = 720px with 20px left padding = ~700px text */
  grid-template-columns: [full-start] 0 [main-start] 220px 240px 240px 240px [main-end] 0 [full-end];
  grid-column-gap: 0;
}

/* ---------- Header band: logo + background graphic, 70px tall ---------- */
.container-header .navbar-brand {
  display: block;
  width: 100%;
  height: 70px;
  margin: 0 0 2px;
  padding-top: 15px;
  /* relative to this css file, so it works in /staging and at the site root */
  background: url("../../../../../images/header-bg.gif") no-repeat left top;
}
.container-header .navbar-brand a,
.container-header .navbar-brand img { display: inline-block; }

/* ---------- Main menu (green pills) ---------- */
.container-header .container-nav { padding: 0; justify-content: flex-start; }
.container-header .grid-child { justify-content: flex-start; max-width: none; }
.container-header .mod-menu > li { margin: 0; padding: 0; }
.container-header .mod-menu,
.container-header .metismenu.mod-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.container-header .mod-menu > li > a,
.container-header .mod-menu > li > span {
  display: block;
  padding: 8px 12px;
  font-size: 15px;
  line-height: 18px;
  color: #60b071;
  border-radius: 5px;
  text-decoration: none;
  background: transparent;
}
.container-header .mod-menu > li > a:hover,
.container-header .mod-menu > li > a:focus {
  background: #eee;
  color: #3f8a52;
}
.container-header .mod-menu > li.active > a,
.container-header .mod-menu > li.current > a,
.container-header .mod-menu > li.active > a:hover {
  background: #60b071;
  color: #fff;
}

/* ---------- Content column ---------- */
.container-component {
  background: transparent;
  border: 0;
  padding: 0 0 0 20px;
}
.has-sidebar-left .container-component { padding-left: 20px; }
body:not(.has-sidebar-left) .container-component { padding-left: 0; }

/* ---------- Left sidebar ---------- */
.container-sidebar-left,
.container-sidebar-left .card {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.container-sidebar-left .card-body { padding: 0; }

/* Sidebar menus (was module class suffix _menu) */
.container-sidebar-left .menu-sidebar,
.container-sidebar-left ._menu,
.moduletable_menu {
  margin-bottom: 1pc;
}
.container-sidebar-left .menu-sidebar ul,
.container-sidebar-left ._menu ul,
.container-sidebar-left ul.mod-menu,
div.sidebar-nav ul.nav {
  margin: 0 0 0 1pc;
  padding: 0;
  list-style-type: square;
}
.container-sidebar-left .menu-sidebar ul li,
.container-sidebar-left ._menu ul li,
.container-sidebar-left ul.mod-menu > li,
div.sidebar-nav ul.nav li {
  margin: 0 0 3px;
  padding-bottom: 2px;
  text-transform: uppercase;
  border-bottom: thin dotted #60b071;
  font-size: 10px;
  font-weight: bold;
  line-height: 18px;
}
.container-sidebar-left ul.mod-menu > li > a {
  display: inline;
  padding: 0;
  font-size: 10px;
  color: #60b071;
}
.container-sidebar-left ul.mod-menu > li.active > a { color: #3f8a52; }

/* Bootstrap 5 makes ul.nav a horizontal flex row; keep sidebar menus as a plain vertical list */
.container-sidebar-left ul.nav,
.container-sidebar-left ul.mod-menu {
  display: block;
}
.container-sidebar-left ul.nav > li,
.container-sidebar-left ul.mod-menu > li {
  display: list-item;
}

/* Rounded box, e.g. Contact Us (was module class suffix _rounded)
   .container-sidebar-left prefix needed so it beats the "no border on sidebar cards" rule above */
.container-sidebar-left .rounded-box,
.rounded-box,
._rounded,
.moduletable_rounded {
  border: 1px solid #60b071;
  border-radius: 20px;
  padding: 4px 14px;
}
.rounded-box h3,
._rounded h3,
.moduletable_rounded h3,
.rounded-box .card-header,
._rounded .card-header {
  margin: 0 0 5px;
  padding: 0;
  font-size: 1em;
  color: #60b071;
  text-transform: uppercase;
  background: transparent;
  border: 0;
}

/* ---------- Buttons ---------- */
.btn-primary {
  background: #60b071;
  border-color: #60b071;
  color: #fff;
}
.btn-primary:hover, .btn-primary:focus { background: #3f8a52; border-color: #3f8a52; }

/* ---------- Footer ---------- */
.container-footer {
  background: #fff;
  background-image: none;
  color: #333;
  border: 0;
  padding: 10px;
}
/* Cassiopeia gives the footer's inner box 40px top/bottom padding and space-between; flatten it */
.container-footer .grid-child {
  padding: 0;
  max-width: none;
  justify-content: flex-start;
}

/* ---------- Hidden login link ---------- */
a.hidelog { color: #5a5a5a; text-decoration: none; }
a.hidelog:hover, a.hidelog:active, a.hidelog:focus { color: #5a5a5a; text-decoration: none; }

/* ---------- Mobile ---------- */
@media (max-width: 991.98px) {
  .site-grid { grid-template-columns: [full-start] 0 [main-start] 1fr [main-end] 0 [full-end]; padding: 0 10px 10px; }
  .container-component,
  .has-sidebar-left .container-component { padding-left: 0; }
  .container-header .navbar-brand { background-size: auto 70px; }
}
