/*
 Theme Name: Hello Elementor Child Theme
 description:  A child theme of the Hello Elementor theme for use on the Illinois Pollinator website
 Author:       2wāv
 Template:     hello-elementor
 Version:      1.0.0
*/

/* All Filters */
.searchandfilter {
  font-family: var(--e-global-typography-primary-font-family);
  font-weight: bold;
}
.sf-input-checkbox {
  display: none;
}
.searchandfilter[data-sf-form-id="389"] > ul li > ul
/*.searchandfilter[data-sf-form-id="389"] > ul li > input */ {
  display: flex;
  justify-content: center;
}
.searchandfilter[data-sf-form-id="389"] > ul li > ul
/*.searchandfilter[data-sf-form-id="389"] > ul li > input */ {
  display: flex;
  justify-content: center;
}
.searchandfilter[data-sf-form-id="389"] > ul li > ul li {
  padding: 0;
  margin-right: 10px;
  background-color: #d0dcec;
}
.searchandfilter[data-sf-form-id="389"] > ul li > ul li label {
  padding: 10px;
  cursor: pointer;
}
.searchandfilter[data-sf-form-id="389"] > ul li > ul li:hover,
.searchandfilter[data-sf-form-id="389"] > ul li > ul li input[type="checkbox"]:checked + label {
  background-color: #524b59;
  color: #fff;
}

/* Zone Filters */
.sf-field-post-meta-zone ul {
  flex-wrap: wrap;
}
.sf-field-post-meta-zone ul li {
  margin-top: 10px;
}

/* Bloom Time Filters */
.sf-field-post-meta-bloom_time ul, 
.sf-field-post-meta-bloom_color ul {
  flex-wrap: wrap;
}
.sf-field-post-meta-bloom_time ul li,
.sf-field-post-meta-bloom_color ul li {
  padding-left: 10px !important;
  padding-right: 15px !important;
  margin-top: 10px;
}
.sf-field-post-meta-bloom_time ul li label,
.sf-field-post-meta-bloom_color ul li label {
  position: relative;
  left: 15px;
}
.sf-field-post-meta-bloom_time ul li label:before,
.sf-field-post-meta-bloom_color ul li label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/bloom.svg);
  position: absolute;
  left: -25px;
  top: 0;
  width: 32px;
}
.sf-field-post-meta-bloom_time ul li label:hover:before,
.sf-field-post-meta-bloom_time ul li input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/bloom-hover.svg);
  position: absolute;
  left: -25px;
  top: 0;
  height: 38px;
  background-color: #524b59;
}
/*.sf-field-post-meta-bloom_color ul li label:hover:before,*/
.sf-field-post-meta-bloom_color ul li input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/bloom-hover.svg);
  position: absolute;
  left: -25px;
  top: 0;
  height: 38px;
  background-color: #524b59;
}

/* Bloom Color Filters */
.sf-field-post-meta-bloom_color ul li {
  background-color: #f9f5e1 !important;
}
.sf-field-post-meta-bloom_color ul li:nth-child(2) {
  background-color: #f1ca63 !important;
}
.sf-field-post-meta-bloom_color ul li:nth-child(3) {
  background-color: #fba64c !important;
}
.sf-field-post-meta-bloom_color ul li:nth-child(4) {
  background-color: #e5d1ec !important;
}
.sf-field-post-meta-bloom_color ul li:nth-child(5) {
  background-color: #dd5952 !important;
}
.sf-field-post-meta-bloom_color ul li:nth-child(6) {
  background-color: #b6b4de !important;
}
.sf-field-post-meta-bloom_color ul li:nth-child(7) {
  background-color: #a5bd54 !important;
}
.sf-field-post-meta-bloom_color ul li:nth-child(8) {
  background-color: #a0b9d8 !important;
}
.sf-field-post-meta-bloom_color ul li:hover {
  color: #524b59 !important;
  outline: 5px solid #524b59;
}

/* Light Filters */
.sf-field-post-meta-light ul {
  flex-wrap: wrap;
}
.sf-field-post-meta-light ul li {
  background-color: #e8d986 !important;
  padding-left: 10px !important;
  padding-right: 15px !important;
  margin-top: 10px;
}
.sf-field-post-meta-light ul li label {
  position: relative;
  left: 15px;
}
.sf-field-post-meta-light ul li:hover {
  background-color: #524b59 !important;
}
.sf-field-post-meta-light ul li label:before {
  position: absolute;
  left: -25px;
  top: 0;
  width: 32px;
}
.sf-field-post-meta-light ul li:first-child label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/shade.svg);
}
.sf-field-post-meta-light ul li:first-child label:hover:before,
.sf-field-post-meta-light
  ul
  li:first-child
  input[type="checkbox"]:checked
  + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/shade-hover.svg);
  height: 38px;
  background-color: #524b59;
}
.sf-field-post-meta-light ul li:nth-child(2) label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/partial-sun.svg);
}
.sf-field-post-meta-light ul li:nth-child(2) label:hover:before,
.sf-field-post-meta-light ul li:nth-child(2) input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/partial-sun-hover.svg);
  height: 38px;
  background-color: #524b59;
}
.sf-field-post-meta-light ul li:nth-child(3) label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/full-sun.svg);
}
.sf-field-post-meta-light ul li:nth-child(3) label:hover:before,
.sf-field-post-meta-light ul li:nth-child(3) input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/full-sun-hover.svg);
  height: 38px;
  background-color: #524b59;
}

/* Water Filters */
.sf-field-post-meta-moisture ul {
  flex-wrap: wrap;
}
.sf-field-post-meta-moisture ul li {
  padding-left: 10px !important;
  padding-right: 15px !important;
  margin-top: 10px;
}
.sf-field-post-meta-moisture ul li label {
  position: relative;
  left: 15px;
}
.sf-field-post-meta-moisture ul li label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/dry-soil.svg);
  position: absolute;
  left: -25px;
  top: 0;
  width: 32px;
}
.sf-field-post-meta-moisture ul li label:hover:before,
.sf-field-post-meta-moisture ul li input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/dry-soil.svg);
  position: absolute;
  left: -25px;
  top: 0;
  height: 38px;
  background-color: #524b59;
}
.sf-field-post-meta-moisture ul li:nth-child(2) label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2022/07/medium-soil.svg);
}
.sf-field-post-meta-moisture ul li:nth-child(2) label:hover:before,
.sf-field-post-meta-moisture ul li input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2022/07/medium-soil-hover.svg);
}
.sf-field-post-meta-moisture ul li:nth-child(3) label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/moist-soil.svg);
}
.sf-field-post-meta-moisture ul li:nth-child(3) label:hover:before,
.sf-field-post-meta-moisture ul li input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/11/moist-soil-hover.svg);
}
.sf-field-post-meta-moisture ul li:nth-child(4) label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/09/wet-soil.svg);
}
.sf-field-post-meta-moisture ul li:nth-child(4) label:hover:before,
.sf-field-post-meta-moisture ul li input[type="checkbox"]:checked + label:before {
  content: url(https://illinoispollinators.org/wp-content/uploads/2021/11/wet-soil-hover.svg);
}

/* Drought Tolerance */
.sf-field-post-meta-drought_tolerance ul {
  flex-wrap: wrap;
}
.sf-field-post-meta-drought_tolerance ul li {
  margin-top: 10px;
}

/* Height Filters */
.sf-field-post-meta-height-range ul {
  flex-wrap: wrap;
}
.sf-field-post-meta-height-range ul li {
  margin-top: 10px;
}

/* Reset Buttons */
li.sf-field-reset {
  display: flex !important; 
  justify-content: center;
}
.sf-field-reset input, .sf-field-reset input:hover {
	border: none !important;
	margin-top: 10px;
}

/* Result Card */
.plant-result-card__common-name a {
  color: var(--e-global-color-primary);
  font-family: "Source Sans Pro", Sans-serif;
  font-size: 22px !important;
  font-weight: 800 !important;
  line-height: 24px !important;
}
