/* Site-wide CSS file */
html {
  font-size: 16px;
}

@media (max-width: 979px) {
  html {
    font-size: 14px;
  }
}

body {
  background-color: #faf9f6;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 9pt;
  line-height: 14pt;
  margin: 0;
}

h1 {
  border-bottom: 2px solid #077010;
  color: #077010;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: bold;
  font-style: italic;
  line-height: 2.5rem; /* Remove? */
  margin: 3rem 0 1rem 0;
  padding-bottom: 1rem;
  /* text-shadow: 1px 1px 5px rgba(0, 70, 0, 0.3); */
}

h2 {
  font-size: 2rem;
  line-height: 2.5rem;
}

h3 {
  margin: 2rem 0 1rem 0;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: bold;
  color: #077010;
  font-style: italic;
  text-shadow: 1px 1px 5px rgba(0, 70, 0, 0.3);
  border-bottom: 1.5px solid #077010;
  padding-bottom: 0.3rem;
  line-height: 1.2rem;
}

h4 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  color: #074010;
}

h5 {
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-style: italic;
  color: #074010;
}

.listNoBullet li {
  list-style-type: none;
}

pre {
  background-color: #F6F6F6;
  padding-top: 0.585vw;
  padding-left: 0.732vw;
  width: 100%;
}
@media (min-width: 651px) {
  pre {
    font-size: 7pt;
  }
}
@media (min-width: 767px) {
  pre {
    font-size: 8pt;
  }
}
@media (min-width: 850px) {
  pre {
    font-size: 9pt;
  }
}
@media (min-width: 1000px) {
  pre {
    font-size: 10pt;
  }
}
@media (max-width: 650px) {
  pre {
    font-size: 6pt;
  }
}

.spacing {
  margin-right: 6px;
}

table.zeroSize {
  border-spacing: 0;
  padding: 0;
  width: 100%;
}

/************** Caflora styles **************/
.scientificName {
  font-style: italic;
  font-weight: bold;
}

.commonName {
  font-weight: normal;
}

.cnpsCode {
}

.calIpcRating {
}

.iplValue {
  font-size: 10pt;
}


/************** Layout with side bar **************/
aside {
  background-color: #fff8cf;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 10em;
  padding-top: 3rem;
  padding-bottom: 3rem;
  padding-left: 1rem;
}

aside img {
  margin: 0.5rem 0;
}

@media (max-width: 979px) {
  aside {
    font-size: 12pt;
    padding-left: 3rem;
  }
}

main {
  display: flex;
  flex-grow: 1;
  justify-content: normal;
  padding-top: 2em;
  padding-bottom: 5em;
}

main article {
  max-width: 1200px;
  padding: 1rem;
}

div.content {
  background-color: #faf9f6;
  display: flex;
  font-size: 10pt;
  margin: 3rem 2rem 2rem 0;
  min-height: 100vh;
}

@media (max-width: 979px) {
  div.content {
    margin-top: 1rem; /* header gets shorter below this width. */
    margin-bottom: 0;
  }
}

/************** Main Content Area **************/
.contentArea {
  margin-top: 80px; 
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px;
}
@media (max-width: 979px) {
  .contentArea {
    max-width: none; /* header gets shorter below this width. */
    margin-top: 40px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 28px; /* footer unfixes below this width. */
  }
}

/* Content area for use with headerFixedApp on App pages. */
.contentAreaApp {
  background-color: #faf9f6;
  font-size: 10pt;
  margin-top: 40px;
}
@media (max-width: 979px) {
  .contentAreaApp {
    max-width: none;
  }
}

/* Content area for use with a special form. */
.contentAreaForm {
  display: flex;
  background-color: #faf9f6;
  font-size: 10pt;
  height: 100%;
  margin-top: 73px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 979px) {
  .contentAreaForm {
    max-width: none; /* header gets shorter below this width. */
    margin-top: 40px;
    padding-bottom: 28px; /* footer unfixes below this width. */
  }
}

/************** Header **************/
.headerFixed {
  background-color: #216f39;
  border-bottom: 1px solid #196939;
  border-spacing: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  position: fixed;
  table-layout: fixed;
  width: 100%;
  top: 0;
  z-index: 6;
}
.headerFixed td {
  padding: 0px;
}
.headerFixed td.logo {
  width: 88px;
  height: 72px;
  line-height: 12pt;
  text-align: center;
  vertical-align: bottom;
}
.headerFixed .logo img {
  width: 64px;
  height: 64px;
  border: 0;
}
@media (max-width: 979px) {
  .headerFixed td.logo {
    width: 54px;
    height: 43px;
  }
  .headerFixed .logo img {
    width: 34px;
    height: 34px;
  }  
}
.headerSiteLink {
  color: #fefefe;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12pt;
  line-height: 15pt;
  text-decoration: none;
}
.headerLink {
  color: #fefefe;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  /*line-height: 15pt;*/
  text-decoration: none;
}
.headerTitle {
  color: #fffbb0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  line-height: 14pt;
  margin-left: 7px;
}
.headerTitleCenter {
  color: #fffbb0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  line-height: 14pt;
  text-align: center;
}
@media (max-width: 979px) {
  .headerTitleCenter {
    display: none;
  }
}
.headerUserArea {
  min-width: 300px;
  padding-right: 12px !important;
  text-align: right; 
  vertical-align: middle;
}
.headerUserSlot {
  color: #fffff0; 
  display: inline-block;
  font-size: 10pt;
  line-height: 6px; 
}
.headerLoginSlot {
  font-size: 10pt;
}

/* In App pages, the header is always thin. */
.headerFixedApp {
  background-color: #216f39;
  border-bottom: 1px solid #196939;
  border-spacing: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  line-height: 12pt;
  position: fixed;
  table-layout: fixed;
  width: 100%;
  top: 0;
  z-index: 6;
}
.headerFixedApp td {
  padding: 0px;
}
.headerFixedApp td.logo {
  width: 54px;
  height: 43px;
  line-height: 12pt;
  text-align: center;
  vertical-align: bottom;
}
.headerFixedApp .logo img {
  width: 34px;
  height: 34px;
  border: 0;
}
/* prevent from printing header on every page. */
@media print {
  .headerFixedApp {
    position: relative;
  }
}

.embedLoginBG{
  font-size: 10pt;
  padding: 5px 8px 4px 8px;
  text-decoration: none;
  color: #fefefe;
  border: 3px solid #277747;
  color: #fefefe;
  background-color: #41915e;
}

/************** Login (move more styles here) **************/
.loginInput {
  font-size: 16px;
  width: 100%;
}

.loginClose {
  font-size: 16px;
  font-weight: bold;
}

/************** citation **************/
.citation {
  background-color: #fff8cf;
  border: 1px solid #eae9df;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  line-height: 13pt;
  padding: 18px 0px 24px 18px;
}

.citation div {
  color: #103010;
  line-height: 14pt;
  padding: 10px 0px 0px 24px;
}

.citation .website {
  font-style: italic;
}

.citation #accessUrlSlot {
  word-break: break-all;
}

@media (max-width: 979px) {
  /* Reduce padding on mobile. */
  .citation div {
    padding-left: 12px;
  }
}

/************** footer **************/
.footerFixed {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 13;
}
@media (max-width: 979px) {
  /* unfix the footer on a small screen. */
  .footerFixed {
    position: static;
  }
}
.footerStatic {
  position: static;
  left: 0;
  bottom: 0;
  z-index: 13;
}
footer {
  background-color: #216f39;
  color: #fffdc7;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 14pt;
  text-align: center;
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  width: 100%;
}
footer span {
  margin: 0;
}
footer span + span::before {
  margin-left: 0.5rem;
  margin-right: 0.5rem;
  content: '\2022';
}
footer span a {
  color: #fffdc7;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.3s; /* Smooth color change on hover */
}
footer span a:hover {
  color: #f0d040;
}
footer span a.mailto {
  font-size: 13px;
  text-transform: none;
}
footer span.noselect {
  user-select: none;
}

/************** Layout ***************/
.row {
  display: grid;
  grid-template-columns: repeat(12, 1fr); /* 4 equal-width columns */
  gap: 20px; /* gutter size */
  margin-right: 15px;
}

.col-1 {
  grid-column: span 1;
}
.col-2 {
  grid-column: span 2;
}
.col-3 {
  grid-column: span 3;
}
.col-4 {
  grid-column: span 4;
}
.col-5 {
  grid-column: span 5;
}
.col-6 {
  grid-column: span 6;
}
.col-7 {
  grid-column: span 7;
}
.col-8 {
  grid-column: span 8;
}
.col-9 {
  grid-column: span 9;
}
.col-10 {
  grid-column: span 10;
}
.col-11 {
  grid-column: span 11;
}
.col-12 {
  grid-column: span 12;
}

.col-offset-2 {
  margin-left: 16.66666667%;
}
.col-offset-3 {
  margin-left: 25%;
}

@media (max-width: 768px) {
  .row {
    gap: 0; /* gutter size */
  }

  .col-offset-2 {
    margin-left: 0;
  }
  .col-offset-3 {
    margin-left: 0;
  }

  .col-1 {
    grid-column: span 12;
  }
  .col-2 {
    grid-column: span 12;
  }
  .col-3 {
    grid-column: span 12;
  }
  .col-4 {
    grid-column: span 12;
  }
  .col-5 {
    grid-column: span 12;
  }
  .col-6 {
    grid-column: span 12;
  }
  .col-7 {
    grid-column: span 12;
  }
  .col-8 {
    grid-column: span 12;
  }
  .col-9 {
    grid-column: span 12;
  }
  .col-10 {
    grid-column: span 12;
  }
  .col-11 {
    grid-column: span 12;
  }

  /* special handling for formTitle area */
  .formTitle .col-6 {
    grid-column: span 6;
  }
}

@media(max-width:640px) {
  /* special handling for formTitle area */
  .formTitle .col-6 {
    grid-column: span 12;
  }
}

/* Form layout classes */
.formTitleHelp {
  font-size: 11pt;
  font-weight: normal;
  margin-left: 8px;
}

.formTitle .small {
  font-size: 10pt;
  font-weight: normal;
  color: #222;
  margin-left: 2px;
  margin-top: 3px;
}

.rightCenter {
  text-align: right;
}
@media(max-width:640px) {
  .rightCenter {
    margin-top: 12px;
    text-align: center;
  }
}


/************** Forms ****************/
.responsiveForm {
  margin-left: 9px;
  margin-right: 9px;
  max-width: 920px;
}

.fluidContainer {
  margin-left: 9px;
  margin-right: 9px;
}

.formTitle {
  border-bottom: 1px solid #077010;
  color: #077010;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 1rem 0 0.5rem 0;
  padding-bottom: 0.5rem;
}

.formLabel {
  color: #077010;
  font-size: 12pt;
  font-weight: bold;
  line-height: 18pt;
  text-align: right;
}

.formField {
  font-size: 12pt;
  width: 100%;
}

.formField input, .formGroup select {
  font-size: 12pt;
  width: 100%;
}

.formFieldTight {
  font-size: 11pt;
  width: 95%;
}

.formFieldTight input {
  font-size: 11pt;
  width: 95%;
}

.formFieldTight select {
  -webkit-appearance: none;  /* Removes native iOS styling */
  -moz-appearance: none;
  appearance: none; /* Removes the arrow */
  
  /* Add an arrow back */
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  background-size: 12px auto;

  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 4px 30px 4px 8px; /* Extra right padding for custom arrow */
  font-size: 11pt; /* Prevents iOS auto-zoom on focus */
  color: #333;
}

.formFieldTight input[type="text"] {
  /* Removes the default iOS inner shadow and styling */
  -webkit-appearance: none;
  appearance: none;
  
  /* Removes the default gray highlight when tapping */
  -webkit-tap-highlight-color: transparent;

  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 2px;
  padding: 4px 2px;
  color: #333;
}

.formFieldTight input[type="checkbox"] {
  margin-right: 6px;
  margin-bottom: 3px;
  vertical-align: bottom;
  width: unset;
}

.formFieldTight .gwt-CheckBox, .gwt-RadioButton {
  display: block;
  margin-bottom: 6px;  
}

.formFieldTight input[type="radio"] {
  margin-right: 6px;
  margin-bottom: 3px;
  vertical-align: bottom;
  width: unset;
}

.formTightLabel {
  padding-top: 8px;
}

.formText {
  font-size: 12pt;
}

.formCenter {
  width: 100%;
  text-align: center;
}

.formGroup {
  margin-bottom: 20px;
}

.formCheckboxGroup {
  display: inline-block;
  text-align: left;
}

.formCheckboxGroup div {
  margin-bottom: 4px;
}

.formCheckboxGroup input[type="checkbox"] {
  vertical-align: middle;
}

.formCheckboxGroup label {
  vertical-align: text-top;
}

@media (max-width: 768px) {
  .responsiveForm {
    /*margin-left: 0;*/
    margin-right: 6px;
  }
  .formLabel {
    text-align: left;
  }
  .formGroup {
    text-align: center;
  }
}

.well {
  background-color: #ededed;
  border: 1px solid #e2e2e2;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, .05);
  min-height: 20px;
  margin-bottom: 20px;
  padding: 12px 6px;
}

.btnPrimary {
  background-color: #077010;
  border-radius: 2px;
  border-color: rgba(0, 0, 0, .1) rgba(0, 0, 0, .1) rgba(0, 0, 0, .25);
  color: #fff;
  font-weight: 300;
}

.btnPrimary:hover {
  background-color: #005207;
  opacity: .8;
}

.btnDefault {
  background-color: #efefef;
  border-radius: 2px;
  border-width: 1px;
  border-color: #adadad;
  color: #000000;
  font-weight: 400;
}

.btnDefault:hover {
  background-color: #e5e5e5;
}

.btnFixedWidth {
  width: 120px !important;
}

.btnHeader {
  width: 100px !important;
  height: 25px !important;
}


/************ Toggle Panel *************/
.togglePanel {
  width: 100%;
  border: 1px solid #ddd;
  overflow: hidden; 
}

.togglePanelHeader {
  align-items: center;
  background-color: #efefef;
  color: #121212;
  cursor: pointer;
  display: flex; /* Use flex to align icon and header text */
  padding: 4px 4px 2px 8px;
  user-select: none;
}

.togglePanelHeader:hover {
  background-color: #e8e8e8;
}

.togglePanelHeader h2 {
  margin: 0 0 0 8px;
  font-size: 1.1em;
}

.toggleIcon {
  font-size: 1.5em;
  line-height: 1;
  /* Transition applied to smooth the rotation */
  transition: transform 0.3s ease; 
}

.togglePanelContent {
  padding: 0px 15px;
  background-color: #efefef;
  max-height: 0; 
  overflow: hidden;
  transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}

/* State when the panel is active (open) */
.togglePanel.active .togglePanelContent {
  border-top: 1px solid #ddd;
  max-height: 500px;
  padding: 10px 15px;
}

/* Rotate the caret when the panel is active (pointing down) */
.togglePanel.active .toggleIcon {
    transform: rotate(90deg); /* Rotates the '>' 90 degrees to look like a 'v' or 'down arrow' */
}


/************ square image with caption *************/
/* The main image wrapper: defines the square and contains the image */
.imageWrapper {
  aspect-ratio: 1 / 1;
  margin-left: auto;
  margin-right: auto;
  width: 90%; /* Responsive width */
  max-width: 150px; /* Max size for desktop viewing */
  overflow: hidden; /* Clips the image content */
  border-radius: 12px; /* Rounded corners applied to the square container */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for definition */
}

/* Image styling to prevent distortion */
.imageWrapper img {
  width: 100%;
  height: 100%;
  /* CRITICAL: object-fit: cover scales the image to fill the container 
     while preserving its aspect ratio (cropping if necessary). */
  object-fit: cover;
  display: block;
}

.captionArea {
  /* Padding only at the top to separate it from the image */
  padding-top: 8px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;  
  min-height: 3.0rem;
  max-width: 150px; /* Aligns the caption width with the image */
  width: 90%;
}

.captionText {
  color: #333;
  font-size: 8pt;
  line-height: 10pt;
  margin: 0;
}

/************** very basic tabs **************/
.tabLink {
  align-items: center;
  border-bottom-color: #dbdbdb;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  color: #4a4a4a;
  display: flex;
  justify-content: center;
  margin-bottom: -1px;
  padding: 0.5em 1em;
  vertical-align: top;
}

.tabLink:hover {
  border-bottom-color: #363636;
  color: #363636;
}

.tabLink.isActive {
  border-bottom-color: #3273dc;
  color: #3273dc;
}

/************** News *****************/
.newsContent {
  background-color: #fdfcf8;
  justify-content: center;
  margin-top: 80px; 
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px;
  padding-left: 7px;
  padding-right: 7px;
}
.newsContent table {
  max-width: 100%;
  overflow-x: auto;
}
@media (min-width: 768px) {
  .newsContent {
     width: 750px;
  }
}
@media (min-width: 992px) {
  .newsContent {
    width: 910px;
  }
}
@media (max-width: 979px) {
  .newsContent {
    max-width: none; /* header gets shorter below this width. */
    margin-top: 48px;
    padding-right: 12px;
    padding-left: 12px;
    padding-bottom: 28px; /* footer unfixes below this width. */
  }
  /* stack columns on mobile */
  .newsContent td {
    display: block !important;
    width: 100% !important;
  }
}

/************** WGH styles **************/
.wghContainer {
}

.wghTable {
  background-color: #f2f2f2;
  border: solid #d7d7d7 1px;
  padding: 4px 5px 10px 4px;
  width: 100%;
}

.wghTaxonRow {
  font-size: 13pt;
  line-height: 15pt;
}
@media (max-width: 979px) {
  .wghTaxonRow {
    font-size: 12pt;
    line-height: 14pt;
  }
}

.wghCommonNameRow {
  font-size: 13pt;
  line-height: 15pt;
  padding-bottom: 8px;
}
.wghCommonNameRow .commonName {
  margin-left: 4px;
}

@media (max-width: 979px) {
  .wghCommonNameRow {
    font-size: 12pt;
    line-height: 14pt;
    padding-bottom: 6px;
  }
  .wghCommonNameRow .commonName {
    margin-left: 2px;
  }
}

/* weirdness on mobile required these "!important" tags */
.wghTaxonIcon {
  box-sizing: border-box;
  padding: 0 !important;
  border: none !important;
  width: 15px !important;
  max-width: 15px !important;
  overflow: hidden;
}
.wghTaxonIcon img {
  display: block;
  padding-bottom: 2px;
}

.wghTaxonCount {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  height: 20px;
  line-height: 13pt;
  text-align: right;
}
.wghTaxonCount a {
  text-decoration: underline;
}

.wghTaxonPhoto {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  vertical-align: top;
}

.wghTaxonPhoto3 {
  display: table-cell;
}
@media (max-width: 979px) {
  .wghTaxonPhoto3 {
    display: none;
  }
}

.wghTaxonDetails {
  padding-left: 12px;
  padding-bottom: 0;
}

.wghTaxonBloomWheel {
  padding-left: 12px;
  padding-top: 6px;
  vertical-align: top;
}
.wghTaxonBloomWheel img {
  width: 96px;
}
/* For rows without a Bloom wheel. */
.wghTaxonBloomWheel div {
  min-height: 90px;
}
@media (max-width: 979px) {
  .wghTaxonBloomWheel img {
    width: 80px;
  }
  /* For rows without a Bloom wheel. */
  .wghTaxonBloomWheel div {
    min-height: 80px;
  }
}

.wghTaxonFamily {
  color: #2e6070;
}

.wghTaxonBreak {
  border: none;
  border-top: 1px solid #ccc;
}


/************** Species List (psearch.html) **************/
.speciesListPhotoTable {
  width: 100%;
  max-width: 870px;
  background-color: #f8f8f8;
}
.speciesListPlantCell {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11pt;
  line-height: 19pt;
  color: #303037;
  background-color: #f8f8f8;
  padding: 6px 0px 15px 0px;
}

.xborderBottom {
  padding-bottom: 3px;
  border-bottom: 1px solid #87b0c3;
}
.xcellPhoto {
  border-bottom: 1px solid #87b0c3;
  font-size: 8pt;
  line-height: 12pt;
  padding: 7px 7px 8px 0px;
  background-color: #f8f8f8;
  color: #404040;
  text-align: center;
}
.xPhoto {
  max-height: 175px;
  max-width: 175px;
}

.controlPanel {
  border-bottom: 1px solid #87b0c3;
}
.controlBG {
  background-color: rgba(254, 253, 253, 0.87);
  font-size: 11pt;
  line-height: 14pt;
  height: 101px;
  width: 100%;
  top: 44px;
  overflow: hidden;
  padding: 6px 7px 2px 7px;
  position: fixed;
}
.controlTextBG {
  background-color: rgba(254, 253, 253, 0.7);
}


/************** Help Files **************/
.helpContent {
  background-color: #fefefe;
  display: flex;
  font-size: 12pt;
  line-height: 14pt;
  justify-content: center;
  margin-top: 80px; 
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 80px;
  padding-left: 7px;
  padding-right: 7px;
}
.helpContent p.indent {
  font-size: 11pt;
  text-indent: -1em;
  margin-left: 1em;
}
.helpContent table {
  max-width: 100%;
  overflow-x: auto;
}
@media (min-width: 768px) {
  .helpContent {
     width: 750px;
  }
}
@media (min-width: 992px) {
  .helpContent {
    width: 970px;
  }
}
/*
@media (min-width: 1200px) {
  .helpContent {
    width: 1170px;
  }
}*/
@media (max-width: 979px) {
  .helpContent {
    max-width: none; /* header gets shorter below this width. */
    margin-top: 48px;
    padding-right: 12px;
    padding-left: 12px;
    padding-bottom: 28px; /* footer unfixes below this width. */
  }
  /* stack columns on mobile */
  .helpContent td {
    display: block !important;
    width: 100% !important;
  }
  .helpContent ul {
    margin-left: 15px;
    padding-left: 15px;   
  }
}

.helpContent a:hover {
  color: #f18000;
}
.helpContent a {
  text-decoration: none;
  color: #101070;
}
.helpHeader {
  background-color: #f0f0f0;
  color: #002036;
  font-size: 13pt;
  line-height: 14pt;
  padding: 10px 0px 10px 8px;
  border: 1px solid #dbdbdb;
}
.helpSubheading {
  margin-top: 8px;
  font-size: 12pt;
  line-height: 15pt;
}
.helpContentCell {
  font-size: 12pt;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  vertical-align: top;
}
.helpContentCellTop {
  font-size: 12pt;
  padding-left: 20px;
  padding-right: 20px;
  vertical-align: top;
}
.helpContentCell li, .helpContentCellTop li {
  margin-bottom: 15px;
}
@media (max-width: 979px) {
  .helpContentCell, .helpContentCellTop {
    padding-left: 8px;
    padding-right: 8px;
  }
}
.helpSectionHeader img {
  vertical-align: text-bottom;
}
.helpSectionHeader span {
  font-size: 11pt;
  font-weight: bold;
  vertical-align: middle;
}
.helpSection {
  font-size: 11pt;
  padding-left: 20px;
}
@media (max-width: 979px) {
  .helpSection {
    padding-left: 12px;
  }
}
.helpText {
  font-size: 11pt;
}
.helpListTight li, .helpTight {
  margin-bottom: 0;
}
.helpWell {
  background-color: #f2f2f2;
  padding: 20px;
}
@media (max-width: 979px) {
  .helpWell {
    padding: 8px;
  }
}
.helpAnchor {
   position: absolute;
   margin: -90px;
}
@media (max-width: 979px) {
  .helpAnchor {
     margin: -60px;
  }
}
.helpImage {
  margin-top: 18px;
  margin-bottom: 24px;
  text-align: center;
  font-size: 9pt;
}
@media (max-width: 979px) {
  .helpImage img {
    max-width: 350px;
  }
}
.helpUpdatedDate {
  font-size: 11pt;
  text-align: right;
  color: #706060;
}
.helpHighlight {
  color: #007030;
  font-weight: bold;
}
.helpHighlightSection {
  background-color: yellow;
}
.releaseNote  {
  font-size: 11pt;
  margin-top: 12px;
}
.releaseItem {
  margin-top: 2px;
  margin-left: 1em;
}
.releaseItem ul {
  padding-left: 20px;
}
@media (max-width: 979px) {
  .releaseItem ul {
      padding-left: 0;
  }
}

.helpCriteriaTable {
  width: 100%;
}
.helpCriteriaTable table {
  border: none;
  height: 100%;
  width: 100%;
  margin-left: 12px;
  margin-bottom: 15px;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 2px;
  text-align: left;
}
.helpCriteriaTable th {
  border: none;
  padding-bottom: 10px;
  height: fit-content;
  vertical-align: top;
}
.helpCriteriaTable th.label {
  color: #404740;
}
.helpCriteriaTable th.content {
  font-weight: normal;
} 
.helpCriteriaTable td {
  border: none;
  background-color: #ffffff;
  color: #000000;
  padding-left: 3px;
  padding-bottom: 10px;
  vertical-align: top;
}
.helpCriteriaTable td.highlight {
  background-color: #fcfbd7;
  border-bottom: 1px solid #e8eaca;
  font-style: italic;
  padding: 3px 3px 0px 20px;
}
@media (max-width: 979px) {
  .helpCriteriaTable {
    width: 90%;
  }  
  /* stack columns on mobile */
  .helpCriteriaTable td, th {
    display: block !important;
    width: 100% !important;
  }
}
.helpMessage {
  color: #573510;
}
.helpRolesTable table {
  color: black;
  background-color: #d0d0d0;
  font-size: 10pt;
  table-layout: fixed;
  width: 100%;
}
.helpRolesTable th {
  background-color: #00b0b0;
  text-align: center;
}
.helpRolesTable td {
  background-color: white;
}
.helpRolesTable td.gray {
  background-color: #f1f1f1;
}

.helpFieldsTable table {
  color: black;
  background-color: white;
  border: 1px solid gray;
  font-size: 10pt;
  line-height: 12pt;
  width: 100%;
}
.helpFieldsTable th {
  background-color: #f1f1f1;
  border: 1px solid gray;
  font-weight: bold;
  text-align: left;
  padding: 3px;
}
.helpFieldsTable td {
  border: 1px solid gray;
  padding: 3px;
}

/************** Links **************/
.blueLink {
    text-decoration: none;
    color: #000090;
}

.violetLink {
    text-decoration: none;
    color: #800060;
}

.zgreenLink {
    color: #006520;
    text-decoration: none;
}

/************** Taxon Map **************/
polygon.cntoutline {
  fill: transparent;
  stroke:none; /* gray Replace with none if you like */
  stroke-width: 2;
  cursor: pointer;
  z-index: 5;
}

polygon.cntoutline:hover {
 stroke:black;
}

/************** Taxon Map **************/
.dataSPL {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10pt;
  line-height: 14pt;
  font-weight: normal;
  color: #001020;
}

/************** Fundraising popup **************/
.fundPopupOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 65px 16px 16px 16px;
  box-sizing: border-box;
  z-index: 9999;
}

/* mobile only */
@media (max-width: 640px) {
  .fundPopupOverlay {
    align-items: center;
    padding: 16px;
  }
}

.fundPopupCard {
  background: #1e6c3a; /* same color as the flower image background. */
  border-radius: 10px;
  border: 1px solid #ddd;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.fundPopupHeader {
  background: #1e6c3a; /* same color as the flower image background. */
  padding: 24px 24px 20px;
  position: relative;
}

.fundPopupClose {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  width: 28px;
  height: 28px;
  border-radius: 10%;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fundPopupClose:hover {
  background: rgba(255, 255, 255, 0.25);
}

.fundPopupEyebrow {
  font-size: 13px;
  color:#fffec7;
  margin: 0 0 6px;
  font-weight: 500;
}

.fundPopupHeadline {
  font-size: 22px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 6px;
}

.fundPopupSubhead {
  font-size: 13px;
  color: #fffec7;
  line-height: 1.6;
  margin: 0;
}

.fundPopupBody {
  padding: 0px 24px 20px 24px;
}

.fundPopupImage {
  height: 260px;
  overflow: hidden;
}

.fundPopupImage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.fundPopupMeta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}

.fundPopupMetaRaised {
  font-size: 13px;
  color:#fffec7d1;
}

.fundPopupMetaPercent {
  font-size: 13px;
  font-weight: 500;
  color: #fffec7d1;
}

.fundPopupLink {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 13px;
  background: #ffd03c;
  color: #0e4923;
  border-radius: 8px;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  transition: background 0.15s;
}

.fundPopupLink:hover {
  background: #e5a200;
  color: #0e4923;
}

.fundPopupDismissWrap {
  text-align: center;
  padding-bottom: 4px;
}

.fundPopupDismissBtn {
  background: none;
  border: none;
  color: #aaa;
  font-size: 12px;
  cursor: pointer;
  text-decoration: underline;
}

.fundPopupDismissBtn:hover {
  color: #888;
}


/************** Utility Classes **************/
.bottomMargin {
  margin-bottom: 7px;
}

.bottomMarginBig {
  margin-bottom: 20px !important;
}

.hide {
  display: none;
}

@media (max-width: 768px) {
  .hideOnMobile {
    display: none;
  }
}

.helpCircle {
  margin-bottom: 2px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #226f39;
  color: white;
  font-size: 10pt;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.helpCircle::before {
  content: "?";
}

.hasTooltip {
  cursor: help;
  text-decoration: underline dotted;
}

.tooltip {
  cursor: help;
  text-decoration: underline dotted;
  position: relative;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s 0s; /* no delay only on hide */
}

/* Shows on hover (desktop) AND focus (mobile tap) */
.tooltip:hover::after,
.tooltip:focus::after {
  opacity: 1;
  transition: opacity 0.2s 0.3s; /* delay only on show */
}

.hang {
  text-indent: -1em;
  margin-left: 1em;
}

.wordBreak {
  word-break: break-all;
}

.errorCode {
  color: #333;
  font-size: 9pt;
}
