/*LA outline*/
.subblock-animation .state-outline {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  display: block;

  --state-duration: 3000ms;
  --state-ease: ease-out;
  --state-delay: 1200ms;
}

.state-outline .state-outline-final,
.state-outline .state-outline-draw {
  fill: none;
  stroke: #8d898b;
  stroke-width: var(--line-width);
  vector-effect: non-scaling-stroke;
  stroke-linejoin: round;
  opacity: .5;
}

.state-outline .state-outline-final {
  stroke-linecap: round;
  opacity: 0;
}

.state-outline .state-outline-draw {
  stroke-linecap: butt;
  opacity: 0;
}

.is-visible .state-outline.path-ready .state-outline-draw {
  animation: state-outline-draw var(--state-duration) var(--state-ease) var(--state-delay) both;
}

.is-visible .state-outline.path-ready .state-outline-final {
  animation: state-outline-final-in 1ms linear calc(var(--state-delay) + var(--state-duration)) both;
}

@keyframes state-outline-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: var(--state-path-length);
  }
  2% {
    opacity: .5;
    stroke-dashoffset: var(--state-path-length);
  }
  99.99% {
    opacity: .5;
    stroke-dashoffset: 0;
  }
    100% {
    opacity: 0;
    stroke-dashoffset: 0;
  }
}

@keyframes state-outline-final-in {
  to {
    opacity: .5;
  }
}
/*Search box*/
#impact-search {
  color: var(--wp--preset--color--base);
  font-size: clamp(19px, 1.188rem + ((1vw - 3.2px) * 0.234), 22px);
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}
#impact-search { min-height: 380px; }
#list-scroll { min-height: 230px; }
#map { height: 330px; }
@media (min-width: 576px) {
  #impact-search { min-height: 600px; }
  #list-scroll { min-height: 449px; }
  #map { height: 550px; }
}
#impact-search .question {
  background-color: var(--wp--preset--color--blue);
  width: 100%; /*Keeps items from jumping during question transition*/
}
#impact-search #question1 {
  padding: var(--wp--preset--spacing--base);
}
#impact-search .tab {
  display: flex;
}
#impact-search .tablinks {
  background-color: var(--wp--preset--color--base);
  border: 1px solid var(--wp--preset--color--border);
  border-bottom: 0!important;
  color: var(--wp--preset--color--blue);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  padding: .6rem;
  width: 50%;
  transition: background-color .3s ease, border-color .3s ease;
}
@media (min-width: 576px) {
  #impact-search .tablinks {
    font-size: clamp(19px, 1.188rem + ((1vw - 3.2px) * 0.547), 26px);
  }
}
#impact-search .tablinks.active {
  background-color: var(--wp--preset--color--tertiary);
  border: 1px solid var(--wp--preset--color--tertiary);
  color: var(--wp--preset--color--base);
}
#impact-search .tablinks:hover {
  background-color: var(--wp--preset--color--secondary);
  border: 1px solid var(--wp--preset--color--secondary);
  color: var(--wp--preset--color--base);
}
#impact-search .question h2 {
  color: var(--wp--preset--color--base);
  font-size: clamp(19px, 1.188rem + ((1vw - 3.2px) * 0.547), 26px);
  margin-top: 0;
  margin-bottom: var(--wp--preset--spacing--minus-5);
  text-align: center;
  text-transform: uppercase;
  position: relative;
}
#impact-search .state-outline {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  height: auto;
  width: calc(100% - 20px);
}
@media (min-width: 576px) {
  #impact-search .state-outline {
    top: 4rem;
  }
}
@media (min-width: 768px) {
  #impact-search .state-outline {
    top: 7rem;
  }
}
#impact-search .impact_list, #list-scroll ul {
  font-weight: 600;
  margin: 1rem 0 0;
  text-align: left;
  padding: 0;
  text-transform: uppercase;
}
#impact-search .impact_list {
  display: inline-block;
}
@media (max-width: 767px) {
  #impact-search .impact_list {
    margin-bottom: 1rem;
  }
}
#list-scroll ul {
  margin-left: calc(50% - 70px)
}
#impact-search .impact_list, #list-scroll ul li {
  list-style: none;
}
#impact-search .impact-button {
  margin-bottom: .5rem;
  padding-left: 40px;
  position: relative;
  cursor: pointer;
}
#impact-search .impact-button:before {
  content: '';
  border: 1px solid var(--wp--preset--color--base);
  border-radius: 50%;
  height: 26px;
  width: 26px;
  position: absolute;
  left: 0;
  top: calc(50% - 14px);
}
#impact-search .impact-button:after {
  content: '';
  background-color: var(--wp--preset--color--secondary);
  border-radius: 50%;
  height: 12px;
  width: 12px;
  position: absolute;
  left: 7px;
  top: calc(50% - 7px);
  opacity: 0;
  transition: opacity .3s ease;
}
#impact-search .impact-button.active:after {
  background-color: var(--wp--preset--color--yellow);
}
#impact-search .impact-button:hover:after, #impact-search .impact-button.active:after {
  opacity: 1;
}
#impact-search #searchDropdown { padding-bottom: 41px; position: relative; width: 100%; }
#impact-search #searchIcon { height: 20px; left: 19px; top: 13px; position: absolute; width: 20px; }
#impact-search #searchIcon path { fill: #6E6E6E; }
#impact-search #searchInput { border: 1px solid var(--wp--preset--color--border); display: block; font-family: 'Centene Sans'; font-size: 18px; font-weight: 500; font-style: normal; line-height: 1; margin-bottom: 10px; padding: 15px 20px 15px 52px; text-transform: uppercase; width: 100%; }
#impact-search #searchInput:focus { box-shadow: inset 0 0 5px #717171; outline: 0; }
#list-scroll { height: calc(100vh - 96px); max-height: 170px; width: 100%; overflow: auto;}
#impact-search #map>div:first-of-type{background:transparent!important;}
#impact-search .wp-block-buttons {
  left: 0;
  margin-top: -25px;
  position: absolute;
  width: 100%;
}
#impact-search #question1 .wp-block-buttons {
  margin-top: calc((var(--wp--preset--spacing--negative-6) * -1) - 25px)
}
.parishLabel {
  color:var(--wp--preset--color--contrast)!important;
  font-size: 7px;
  width: 55px;
  margin-left: -8px;
}
.parishLabel.is-hovered {
  color: var(--wp--preset--color--secondary)!important;
}
.districtLabel {
  background-color: var(--wp--preset--color--tertiary);
  color:  var(--wp--preset--color--base)!important;
  border-radius: 50px;
  font-size: 13px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.districtLabel.is-hovered {
  background-color: var(--wp--preset--color--secondary);
}
/*Scrolling containers*/
.jspContainer {
	overflow: hidden;
	position: relative;
}
.jspPane {
	position: absolute;
}
.jspScrollable:focus {
  outline: none;
}
.jspVerticalBar {
	position: absolute;
	top: 0;
	right: 1px;
	width: 25px;
	height: 100%;
	background: var(--wp--preset--color--blue);
  padding-left: 9px;
}
.jspCap {
 height: 9px;
}
.jspHorizontalBar .jspCap {
	float: left;
}
.jspTrack {
	background: transparent;
	position: relative;
}
.jspTrack:before {
    background: var(--wp--preset--color--border);
    content: '';
    position: absolute;
    display: block;
    width: 8px;
    height: 100%;
}
.jspDrag {
	background: var(--wp--preset--color--primary);
	position: relative;
	top: 0;
	left: 0;
	cursor: pointer;
  width: 8px;
  transition: background .3s ease;

}
.jspDrag:hover {
	background: var(--wp--preset--color--secondary);
}
.jspHorizontalBar .jspTrack,
.jspHorizontalBar .jspDrag {
	float: left;
	height: 100%;
}
.jspArrow.jspDisabled {
	cursor: default;
}
.jspVerticalBar .jspArrow:focus {
	outline: none;
}
.jspCorner {
	background: var(--wp--preset--color--border);
	float: left;
	height: 100%;
}
