.btn-primary {
    background-color: #2d6e8d !important;
    color: white !important;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}
.pagination button:hover,
.btn-primary:hover {
    background-color: #335969 !important;
    color: white !important;
}

.searchcounty-form{
    display:flex;
    gap: 10px;
    position: relative;
    /* padding-top: 10px; */
    flex-wrap: wrap;
}

.inputdiv{
  flex:100%
}
.inputdiv .form-control{
  max-width: 310px;
  float: left;
}

/* autocomplete list style */
#autocompleteList{
    top: 40px;
    left: 0px;
    position: absolute;
    z-index: 1000;
    min-width: 10rem;
    /* padding: 0.5rem 0; */
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-clip: padding-box;
    /* border: 1px solid rgba(0,0,0,.15); */
    border-radius: 0.25rem;
    padding: 0;
  }
  #autocompleteList > *{
    list-style: none;
    display: block;
    width: 100%;
    padding: 0.3rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: #fff;
    border-left: 1px solid rgba(0,0,0,.15);
    border-right: 1px solid rgba(0,0,0,.15);
  }
  #autocompleteList > *:last-child{
    border-bottom: 1px solid rgba(0,0,0,.15);
  }

  #autocompleteList > li:hover{
    background-color: rgb(243, 243, 243);
  }

  #autocompleteList .selected{
    background-color: rgb(243, 243, 243);
  }


  .sub-content > * {
    margin-bottom: 0px !important;
    display: block;
}
.sub-item{
    font-weight: bold;
    margin-top: 10px;
    display: block;
}

#errorMsg{
    color: red;
    flex: 100%;
    /* position: absolute;
    top: -23px; */
  }
.errorborder{
    border: 2px solid red !important;
}
.search-section h2 {

}

.search-section{
    padding: 24px;
}

.r-tooltip i{
  color: #335969;
  cursor: pointer;
}
.r-tooltip{
  position: relative;
  max-width: 300px;
  width: 100%;
}
/* .sub-content > *{
  display: inline-block;
} */

.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block !important;
  max-width: 276px;
  line-height: 1.5;
  text-align: left;
  text-align: start;
  text-decoration: none;
  text-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  word-break: normal;
  word-spacing: normal;
  white-space: normal;
  line-break: auto;
  font-size: .875rem;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .2);
  border-radius: 0.3rem;
}
.arrow {
  position: absolute;
  display: block;
  width: 0.5rem;
  height: 1rem;
  margin: 0.3rem 0;

  &::before,
  &::after {
    position: absolute;
    display: block;
    content: "";
    border-color: transparent;
    border-style: solid;
  }
}

.bs-popover-right .arrow::before {
  left: 0;
  border-right-color: rgba(0, 0, 0, .25);
  border-width: 0.5rem 0.5rem 0.5rem 0;
}
.bs-popover-right .arrow::after {
  left: 1px;
  border-right-color: #fff;
  border-width: 0.5rem 0.5rem 0.5rem 0;
}
.popover-header {
  padding: 0.5rem 0.75rem;
  margin-bottom: 0;
  font-size: 1rem;
  color: inherit;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ebebeb;
  border-top-left-radius: calc(0.3rem - 1px);
  border-top-right-radius: calc(0.3rem - 1px);

  &:empty {
    display: none;
  }
}

.popover-body {
  padding: 0.5rem 0.75rem;
  color: #212529;
  font-size: 1rem;
}

.custom-popover {
  top: -47px;
  left: 25px;
}

#results .future-tag {
  padding: 2px 8px;
  background: #ed7425;
  color: white;
  font-size: 0.7rem;
  border-radius: 5px;
  font-weight: bold;
}

.search-section details.webcomp.feature__accordion .accordion-body {
  background: #fafafa;
}

.contact-info {
  border: 1px solid lightgray;
  padding: 10px;
  width: 250px;
  margin: 10px 20px 10px 20px !important;
  background: #fafafa;

}

/* .community-sup-list {
  display: grid;
  grid-template-columns: 30% 65%;
  grid-gap: 20px;
} */

.community-sup-list h4,
.community-sup-list p {
  margin: 0; /* Remove default margin for better alignment */
  font-size: 14px;
}

.support-part {
  padding-left: 30px;
}

.support-part > * {
  padding-bottom: 5px;
}

.webcomp.feature__accordion .accordion-title:focus {
  outline-offset: 2px;
  outline: solid 2px #306e8d !important;

}


/* form select css */
.form-select {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='24' height='24' viewBox='0 0 24 24'><path d='M17.087 10.35l-4.337 4.336-4.337-4.336c-0.293-0.293-0.768-0.293-1.060 0s-0.293 0.768 0 1.060l4.864 4.864c0.147 0.147 0.341 0.221 0.533 0.219 0.194 0 0.386-0.072 0.533-0.219l4.865-4.864c0.293-0.293 0.293-0.768 0-1.060s-0.768-0.293-1.061 0z'/></svg>");
  background-size: 20px 20px
}

.form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: black;
  background-color: white;
  background-image: var(--bs-form-select-bg-img),var(--bs-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: 1px solid #ababab;
  border-radius: 5px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  appearance: none
}

/* @media(prefers-reduced-motion: reduce) {
  .form-select {
      transition: none
  }
} */

.form-select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(13,110,253,.25)
}

.form-select[multiple],.form-select[size]:not([size="1"]) {
  padding-right: .75rem;
  background-image: none
}

/* .form-select:disabled {
  background-color: var(--bs-secondary-bg)
} */

.form-select:-moz-focusring {
  color: rgba(0,0,0,0);
  text-shadow: 0 0 0 var(--bs-body-color)
}

.form-select-sm {
  padding-top: .25rem;
  padding-bottom: .25rem;
  padding-left: .5rem;
  font-size: 0.875rem;
  border-radius: var(--bs-border-radius-sm)
}

.form-select-lg {
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-left: 1rem;
  font-size: 1.25rem;
  border-radius: var(--bs-border-radius-lg)
}
[data-bs-theme=dark] .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23adb5bd' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e")
}


.plan-selection {
  margin: 10px 0;
  max-width: 310px;
}

.searchcounty-form .inputdiv {
  display: flex;
  align-items: stretch; /* Align children to stretch vertically */
  width: 100%;
}

.searchcounty-form .form-control {
  flex: 1; /* Allow the input to grow and take available space */
  margin-right: 5px; /* Add spacing between input and button */
}

.searchcounty-form .btn {
  height: 100%; /* Set the button height to 100% of its parent's height */
}


/* Media query for screens under 400px */
@media (max-width: 400px) {
  .searchcounty-form .inputdiv {
    flex-direction: column; /* Stack elements vertically */
    display:inline-block;
  }

  .searchcounty-form .form-control {
    margin-right: 0; /* Remove margin between input and button */
    margin-bottom: 10px; /* Add spacing below the input */
    width: 100%;
  }

  .searchcounty-form .btn {
    width: 100%; /* Set button width to 100% */
    height: auto;
  }

}

.webcomp.anchor {
  top: -100px !important;
}

.anchor-focus {
  border: 0.25rem solid #c2dbfe;
}