.container, .wrapper, .header, .slideshow,
.content, .homecontent, .column, .columnA {
  box-sizing: border-box;
}

.container,
.wrapper { width: 100%; max-width: 975px; }

img { max-width: 100%; height: auto; }

.slideshow { width: 100%; height: auto; overflow: visible; float: none; }
.slideshow img { width: 100% !important; height: auto !important; display: block; }

.column  { background-image: none; }
.columnA { background-image: none; margin-top: 0; }
.ql-panel { min-height: 361px; background: #fff; }
.ql-panel .ql-title {
  margin: 0; padding: 12px 0; text-align: center;
  font-family: 'Montserrat', sans-serif; font-weight: 400; font-size: 1.6em;
  color: #66cccc; background: #336666;
}
.ql-cols { display: flex; }
.ql-group { flex: 1; padding: 16px 18px; }
.ql-active  { background: #d6e8e8; }
.ql-retiree { background: #cfcfcf; }
.ql-head {
  margin: 0 0 14px; padding: 0;
  font-family: 'Montserrat', sans-serif; font-weight: 700;
  color: #336666; letter-spacing: .03em;
}
.ql-group ul { list-style: none; margin: 0; padding: 0; }
.ql-group li { margin: 0 0 16px; }
.ql-group a {
  display: flex; align-items: center; gap: 10px;
  color: #000; text-decoration: none; font-size: 1.05em; line-height: 1.2;
}
.ql-group a:hover, .ql-group a:focus { color: #336666; text-decoration: underline; }
.ql-group svg { width: 26px; height: 26px; flex: 0 0 26px; fill: #444; }
.ql-panel .news { margin-top: 16px; }

.header { position: relative; }
.nav-toggle {
  display: none;
  position: absolute; top: 8px; right: 8px; z-index: 1000;
  padding: 8px 12px;
  font: 700 1em 'Montserrat', sans-serif;
  color: #fff; background: #336666; border: 0; border-radius: 4px;
  cursor: pointer;
}

@media (max-width: 768px) {

  .header {
    height: auto;
    background-size: contain;
    background-position: left top;
  }
  .header::before { content: ""; display: block; padding-bottom: 21%; }

  .content, .homecontent { float: none; width: 100%; padding: 10px; }
  .content > table,
  .content > form > table { margin: 0; width: 100%; }
  h1, h2, h3, h4, h5, h6, p { padding-left: 12px; padding-right: 12px; }
  .content ul, .content ol,
  .EditBody ul, .EditBody ol { padding: 0 12px 10px 24px; margin-left: 0; }
  .panels { margin: 12px; }

  .wrapper { background-image: none; }
  .column, .columnA {
    float: none; width: 100%; min-height: 0; margin: 10px 0;
    background-size: contain; background-repeat: no-repeat;
  }
  .news { margin: 20px 12px 12px; }

  footer { height: auto; }
  #search { margin: 8px 0 0; padding: 0; }
  #searchForm { text-align: center; }
  .searchbox { width: 70%; max-width: 220px; }

  .nav-toggle { display: block; }

  .horiznav, .horiznav2 {
    float: none !important; height: auto; margin: 0; padding: 0;
    width: 100%; clear: both;
  }
  .horiznav2, .horiznav2 ul {
	margin-top: 0 !important;
  }
  .horiznav  > ul.sf-menu,
  .horiznav2 > ul.sf-menu {
    float: none !important; position: static !important; left: auto !important;
    margin: 0 !important; 
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    display: none !important;
  }
  .header.nav-open .horiznav  > ul.sf-menu,
  .header.nav-open .horiznav2 > ul.sf-menu { display: block !important; }

  .sf-menu, .sf-menu * { position: static !important; }
  .sf-menu li { float: none !important; width: 100% !important;
                left: auto !important; height: auto !important; }
  .sf-menu ul { left: auto !important; width: 100% !important;
                height: auto !important; display: block !important;
                opacity: 1 !important; visibility: visible !important;
                overflow: visible !important; }
  .sf-menu a  { display: block !important; width: auto !important;
                font-size: 1em !important; padding: 12px 16px !important;
                border-bottom: 1px solid #ccc !important;
                color: #336666 !important; background: #fff !important;
                opacity: 1 !important; visibility: visible !important; }
  .sf-menu ul a { padding-left: 32px !important; font-size: 0.95em !important;
                  color: #4f4f4f !important; }
  .sf-sub-indicator { display: none !important; }
}

@media (max-width: 480px) {
  body { font-size: 90%; }
  .pagetitle { font-size: 1.4em; }
  h1 { font-size: 1.4em; }
  .searchbox { width: 90%; }
  .ql-cols { flex-direction: column; }
}
