html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font), sans-serif;
  color: var(--charcoal);
  font-size: 16px;
}
.pest-page-header {
  margin-bottom: 40px;
}
.pest-header {
  margin-top: 20px;
  margin-bottom: 15px;
  font-size: 34px;
}
.pest-content-top-buttons {
  gap: 8px;
}
.pest-feature-container {
  margin-top: 40px;
  margin-bottom: 40px;
}
.pest-feature-detail-container {
  margin-left: 24px;
}
.pest-feature-header {
  font-weight: 400 !important;
  line-height: 34px;
  margin-block-start: 10px;
  margin-block-end: 10px;
}
.pest-feature-detail {
  margin-bottom: 20px;
}
.pest-main-container {
  margin-top: 16px;
  display: flex;
  flex-direction: row;
  max-width: var(--content-width);
}
.pest-main-content {
  margin-top: 0;
}
.pest-header-container {
  margin-top: 12px;
  display: flex;
  flex-direction: row;
}
.pest-feature-image {
  min-width: 50%;
}
.pest-main-image img {
  aspect-ratio: 16/9;
  border-radius: 5px;
}
.pest-main-image img {
  width: 100%;
}
.pest-content-main-container {
  max-width: 1080px;
  margin-top: 40px;
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 40px;
}
.pest-content-mobile-top {
  margin-top: 20px;
  margin-bottom: 40px;
}
.pest-mobile-logo {
  max-height: 24px;
}
.pest-top-content {
  height: 48px;
  margin-bottom: 40px;
}
.pest-logo-container {
  padding: 8px;
  /* Logo image has a slight gap on the left */
  padding-left: 6px;
  border-radius: 5px;
}
.pest-logo-container img {
  height: 24px !important;
}
.pest-right-container {
  /* Need to limit width to limit gallery size */
  max-width: 500px;
}
.pest-content-box h1,
.pest-content-box h2,
.pest-content-box h3,
.pest-content-box h4,
.pest-content-box h5,
.pest-content-box h6 {
  font-weight: 400 !important;
}
.taxonomy-box {
  margin-bottom: 8px;
}
.taxonomy {
  border-top: solid thin #CCC;
  display: flex;
  padding-top: 5px;
  padding-bottom: 5px;
}
.taxonomy-label {
  font-weight: 400;
  width: 140px;
}
.taxonomy-name {
  font-style: italic;
}
.notify-box {
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 20px;
}
.notify-button {
  background: var(--red-dark);
  color: #fff;
  cursor: pointer;
  margin-top: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
  border-radius: 5px;
}
.pest-filter-button {
  gap: 5px;
  padding: 2px 5px;
}
.bg-pest-green {
  --button-primary-background: var(--pest-green);
  --button-primary-border: var(--pest-green);
  --button-primary-color: #fff;
  --button-primary-background-hover: var(--pest-dark-green);
  --button-primary-border-hover: var(--pest-dark-green);
  --button-primary-color-hover: #fff;
}
.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary,
.btn-outline-primary.active,
.btn-outline-primary.dropdown-toggle.show,
.btn-outline-primary:active,
.btn-outline-primary:hover {
  background-color: var(--pest-green);
  border-color: var(--pest-green);
}
.btn-outline-primary {
  color: var(--pest-green);
  border-color: var(--pest-green);
  margin-right: 10px;
}
.btn-outline-primary .svg-img-white {
  filter: none;
}
.btn-outline-primary:hover .svg-img-white,
.btn-check:checked + .btn-outline-primary .svg-img-white {
  filter: invert(1);
  /* Inverts black to white */
}
.info-icon {
  margin-left: 3px;
  font-size: 20pt;
}
.pest-content-box {
  margin-top: 40px;
  margin-bottom: 20px;
}
.pest-content-box h3 {
  margin-bottom: 12px;
}
.pest-content-box h4 {
  margin-bottom: 10px;
}
.pest-content-box iframe {
  width: 100% !important;
}
.pest-content-box p {
  margin-bottom: 8px;
}
.accordion-link {
  --accordion-link-color: var(--pest-green);
  --accordion-link-hover: var(--pest-dark-green);
}
.accordion-main {
  margin-bottom: 0;
}
.pest-print-header {
  padding: 20px 52px 36px;
  width: 100%;
}
.print-header-pest-logo {
  background: #fff;
  border-radius: 5px;
  padding: 7px;
  height: 35px;
  right: 200px;
}
.print-header-logo-container {
  margin-top: 5px;
  margin-right: 20px;
}
.print-header-white-logo {
  /* The only way to have logos appear on a printed page is to set a fixed position */
  /* Note: These settings only work when preparing to print a page. Print emulation has a different layout. */
  position: absolute;
  top: 36px;
  right: 70px;
}
.print-header-white-logo img {
  height: 56px;
}
.pest-print-footer {
  font-size: 9pt;
  position: fixed;
  bottom: 0;
  width: 100%;
  padding: 16px 60px;
}
.print-header-text {
  font-size: 20pt !important;
  margin-bottom: 0;
}
.print-header-info {
  font-style: italic;
  font-size: 9pt;
}
.print-image-box {
  margin-bottom: 20px;
  break-inside: avoid;
  page-break-inside: avoid;
}
.print-image-box img {
  width: 100%;
  border-radius: 5px;
}
.print-caption {
  margin-top: 5px;
  font-size: 9pt;
}
.print-report-info {
  margin-top: 20px;
}
.search-form {
  width: 100%;
}
.pest-link,
.pest-link:hover {
  color: var(--pest-green);
  text-decoration: underline;
  --svg-fill: var(--pest-green);
}
.search-result-clear {
  margin-left: 8px;
  padding-left: 12px;
  padding-right: 12px;
}
.search-result-summary-detail {
  align-items: center;
}
.search-check-section {
  margin-top: 20px;
}
.search-result-summary {
  margin-top: 20px;
  margin-bottom: 40px;
}
.search-main-filter-box {
  margin-top: 20px;
  padding: 20px;
}
@media (min-width: 1400px) {
  .pest-main-container,
  .pest-content-main-container {
    max-width: var(--content-width-wide);
    justify-self: center;
  }
}
@media (max-width: 1400px) {
  .pest-content-main-container {
    max-width: var(--content-width);
    /*margin-left: 40px;*/
    margin-right: 40px;
  }
  .pest-main-content {
    margin: 0 40px;
  }
}
@media (max-width: 576px) {
  .pest-header {
    font-size: 32px;
  }
  .pest-main-container,
  .pest-feature-container,
  .pest-content-top-buttons {
    flex-direction: column;
  }
  .pest-content-main-container {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-right: 0;
  }
  .pest-main-content {
    margin: 0 12px;
  }
  .pest-feature-detail-container {
    margin-left: 0;
  }
  .pest-left-container,
  .pest-right-container {
    margin-right: 20px;
    min-width: 100%;
    max-width: 100%;
  }
  .pest-header-text {
    text-align: center;
  }
  .print-caption {
    font-size: 8pt;
  }
  .pest-page-header {
    margin-bottom: 24px;
  }
  .pest-feature-detail-container {
    margin-top: 20px;
  }
  .pest-feature-button {
    width: 100%;
  }
  .search-result-clear {
    margin-left: auto;
    margin-right: 0;
  }
  .search-result-summary-detail {
    width: 100%;
    margin-left: 10px;
    margin-right: 10px;
    align-items: center;
  }
  .search-check-section {
    gap: 24px;
  }
  .search-result-summary {
    flex-direction: column;
    gap: 10px;
  }
}
@media print {
  body {
    font-size: 11pt !important;
  }
  h3 {
    font-size: 14pt !important;
  }
  h4 {
    font-size: 12pt !important;
  }
  .page-top-spacer {
    margin-top: 0;
  }
  .alert-main-container {
    display: none;
  }
  .pest-content-main-container {
    margin-top: 36px !important;
    grid-template-columns: 58% 42%;
    gap: 0;
    padding-bottom: 52px;
  }
  .pest-top-content {
    display: none;
  }
  .pest-print-header,
  .pest-print-footer {
    /* Without this setting, the header and footer will have a white background when printing the page */
    -webkit-print-color-adjust: exact;
  }
  .pest-print-header,
  .pest-content-main-container {
    /*width: 100vh !important;*/
    width: 1036px;
  }
  .pest-content-main-container,
  .pest-main-container {
    margin-top: 40px;
    margin-left: 0px;
  }
  .pest-content-main-container {
    margin-top: 0;
    /* Must set content width otherwise content is quite narrow when printed */
    /*width: 1036px;*/
  }
  .pest-left-container {
    margin-right: 20px;
  }
}

