/* Show it is fixed to the top */
html {
  font-size: 16px;
}

.app-name{
  font-family: 'Roboto', sans-serif;
}

.feather {
  width: 16px;
  height: 16px;
  vertical-align: text-bottom;
}

#sidebar-nav {
  width: 230px;
}

body {
  position: relative;
  font-family: 'Roboto', sans-serif;
}

#omap {
  height: 350px;
}

.main-container {
  min-height: calc(100vh - 118.4px);
  margin: 0 2.2rem;
}

footer {
  border-top: solid 1px rgb(202, 202, 202);
  padding-top: 1rem;
  background-color: #212529;
  padding-left: 3rem;
  padding-bottom: 20px;
}

.btn-collapse {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  color: white;
  border: none;
  background-color: #212529 !important;
}

.btn-primary:focus {
  box-shadow: none;
}

.menu-btn {
  width: 22px;
  height: 22px;
}

.navbar-right-content {
  width: 150px;
}

.search-bar {
  border-radius: 37.6px !important;
  padding-left: 1.2rem;
  border: none;
  width: 200px;
}

.search-button {
  border-radius: 37.6px !important;
}

.match-list {
  position: absolute;
  background-color: white;
  color: black;
  top: 38px;
  left: 0px;
  width: 200px;
  border-radius: 5px;
  padding: 0;
}

.match-list li {
  list-style-type: none;
  padding: 0.5rem 0 0.5rem 1rem;
  margin: 0;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  line-break: normal;
  display: inline-block;
}

.match-list li:hover {
  background-color: rgb(193, 193, 193);
}

.search-form {
  position: relative;
}

.collapsing {
  -webkit-transition: none;
  transition: none;
  display: none;
}

.city-info {
  min-height: 380px;
  flex-direction: row;
  margin: 0rem;
}

.city-img-container {
  height: 380px;
  background-color: #828282;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px 0 0 4px;
  padding: 0 0;
}

.city-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.city-info-container {
  height: 20%;
}

.img-logo {
  height: 2rem;
}

.card-body h5 {
  font-size: 1.0rem;
}

.btns-temp {
  /* padding: 18px; */
  border-bottom: solid rgb(219, 219, 219) 1px;
  border-top: solid rgb(219, 219, 219) 1px;
}

.filter-list-container {
  position: absolute;
  top: 790px;
  left: auto;
  display: block !important;
  visibility: visible !important;
  z-index: 999;
}


.filter-list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0.8rem 0.8rem;
  background-color: black;
  border-radius: 2.5rem;
}

.filter-el {
  list-style: none;
  padding: 0.5rem;
  border-radius: 50%;
  height: 2.0rem;
  width: 1.8rem;
  line-height: 0rem;
  /* text-indent: -0.1rem; */
  color: white;
  text-align: center;
}

.filter-el-md {
  text-indent: -0.1rem;
}

.filter-el-bg {
  text-indent: -0.15rem;
}

.filter-el:hover {
  background-color: #212529;
  cursor: pointer;
}

.map-container {
  display: flex;
  justify-content: center;
}

.map-slider-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px; /* sets up gap between two items */
}

.btn-map {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  border: none;
  line-height: -1rem;
  color: white;
  background: black; /* Change background color to black */
  flex-shrink: 0; /* Prevent shrinking of play button*/
}

#timeslide {
  cursor: pointer;
  min-width: 50%; /* Set minimum width to 50% */
}

.chartCard, .chartCard2,.chartCard3 {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chartBox, .chartBox2, .chartBox3{
  width: 1000px;
  height: 500px;
  padding: 10px;
  background: white;
}

.chartCardComf {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chartBoxComf {
  width: 1000px;
  height: 500px;
  padding: 10px;
  background: white;
}

.legendTitle {
  	font-size: 0.9rem;
  	fill: #4F4F4F;
  	font-weight: 300;
}

#prdateDiv,#titleline {
  	font-size: 1.2rem;
  	fill: #4F4F4F;
  	font-weight: 300;
    text-anchor: middle;
}

.spinner-wrapper{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spinner-border{
  height: 50px;
  width: 50px;
}

.textshadow {
  color: transparent;
  text-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
}

.custom-container {
  margin-top: 9rem;
  margin-left: 2rem;
}

.svg-container {
  max-width: 75%;
  height: auto;
}

.carousel-inner{
    padding: 1em;
}

.card{
    margin: 0 .5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
}

#cardCarousel .carousel-control-prev,
#cardCarousel .carousel-control-next {
    background-color: #e1e1e1;
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}


#cardCarousel .carousel-control-prev {
    left: 10px; /* Adjust for Carousel 1 */
}

#cardCarousel .carousel-control-next {
    right: 10px; /* Adjust for Carousel 1 */
}



#statemapDiv {
  position: relative;
  height: 400px; /* Adjust the height as needed */
  left:10px;
}

#statemapDiv svg {
  width: 100%;
  height: 100%;
}

.county{
  fill:none;
  stroke:gray;
  stroke-width:0.2;
}

.d3-tooltip {
    position: absolute;
    width: auto;
    height: auto;
    font: 14px sans-serif;
    background: white;
    border-radius: 2px;
    pointer-events: none;
    padding: 3px 3px 3px 3px;
}

.d3-tooltip {
  position: absolute;
  padding: 7px;
  font-size: 1em;
  pointer-events: none;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  -moz-box-shadow:    3px 3px 10px 0px rgba(0, 0, 0, 0.25);
  -webkit-box-shadow: 3px 3px 10px 0px rgba(0, 0, 0, 0.25);
  box-shadow:         3px 3px 10px 0px rgba(0, 0, 0, 0.25);
}

.d3-tooltip p {
  margin: 0;
  padding: 0;
}

.d3-tooltip table {
  margin: 0;
  padding: 0;
  border-collapse: collapse;
}

/* Font for legend */
.axis path,
.axis tick,
.axis line {
  	fill: none;
  	stroke: #000;
}

.axis text {
    font-family: sans-serif;
  	font-size: .8rem;
  	fill: black;
  	font-weight: 400;
}

text.label {
  fill: black;
  stroke-width: 1px;
  font-size: 1.0rem;
  opacity: 1;
}



/* styling slider */
input[type="range"].styled-slider {
  height: 2.2em;
  -webkit-appearance: none;
}

/*progress support*/
input[type="range"].styled-slider.slider-progress {
  --range: calc(var(--max) - var(--min));
  --ratio: calc((var(--value) - var(--min)) / var(--range));
  --sx: calc(0.5 * 20px + var(--ratio) * (100% - 20px));
}

input[type="range"].styled-slider:focus {
  outline: none;
}

/*webkit*/
input[type="range"].styled-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 15px;
  height: 15px;
  border-radius: 16px;
  background: #ffffff;
  border: none;
  box-shadow: 0 0 2px black;
  margin-top: calc(4px * 0.5 - 15px * 0.5);
}

input[type="range"].styled-slider::-webkit-slider-runnable-track {
  height: 4px;
  border: none;
  border-radius: 4px;
  background: #dadada;
  box-shadow: none;
}

input[type="range"].styled-slider::-webkit-slider-thumb:hover {
  background: #dddddd;
}

input[type="range"].styled-slider:hover::-webkit-slider-runnable-track {
  background: #e6e6e6;
}

input[type="range"].styled-slider::-webkit-slider-thumb:active {
  background: #dddddd;
}

input[type="range"].styled-slider:active::-webkit-slider-runnable-track {
  background: #e6e6e6;
}

input[type="range"].styled-slider.slider-progress::-webkit-slider-runnable-track {
  background: linear-gradient(black, black) 0 / var(--sx) 100% no-repeat,
    #dadada;
}

input[type="range"].styled-slider.slider-progress:hover::-webkit-slider-runnable-track {
  background: linear-gradient(black, black) 0 / var(--sx) 100% no-repeat,
    #e6e6e6;
}

input[type="range"].styled-slider.slider-progress:active::-webkit-slider-runnable-track {
  background: linear-gradient(black, black) 0 / var(--sx) 100% no-repeat,
    #e6e6e6;
}

/*mozilla*/
input[type="range"].styled-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 16px;
  background: #ffffff;
  border: none;
  box-shadow: 0 0 2px black;
}

input[type="range"].styled-slider::-moz-range-track {
  height: 4px;
  border: none;
  border-radius: 4px;
  background: #dadada;
  box-shadow: none;
}

input[type="range"].styled-slider::-moz-range-thumb:hover {
  background: #dddddd;
}

input[type="range"].styled-slider:hover::-moz-range-track {
  background: #e6e6e6;
}

input[type="range"].styled-slider::-moz-range-thumb:active {
  background: #dddddd;
}

input[type="range"].styled-slider:active::-moz-range-track {
  background: #e6e6e6;
}

input[type="range"].styled-slider.slider-progress::-moz-range-track {
  background: linear-gradient(black, black) 0 / var(--sx) 100% no-repeat,
    #dadada;
}

input[type="range"].styled-slider.slider-progress:hover::-moz-range-track {
  background: linear-gradient(black, black) 0 / var(--sx) 100% no-repeat,
    #e6e6e6;
}

input[type="range"].styled-slider.slider-progress:active::-moz-range-track {
  background: linear-gradient(black, black) 0 / var(--sx) 100% no-repeat,
    #e6e6e6;
}

/*ms*/
input[type="range"].styled-slider::-ms-fill-upper {
  background: transparent;
  border-color: transparent;
}

input[type="range"].styled-slider::-ms-fill-lower {
  background: transparent;
  border-color: transparent;
}

input[type="range"].styled-slider::-ms-thumb {
  width: 20px;
  height: 20px;
  border-radius: 16px;
  background: #ffffff;
  border: none;
  box-shadow: 0 0 2px black;
  margin-top: 0;
  box-sizing: border-box;
}

input[type="range"].styled-slider::-ms-track {
  height: 4px;
  border-radius: 4px;
  background: #dadada;
  border: none;
  box-shadow: none;
  box-sizing: border-box;
}

input[type="range"].styled-slider::-ms-thumb:hover {
  background: #dddddd;
}

input[type="range"].styled-slider:hover::-ms-track {
  background: #e6e6e6;
}

input[type="range"].styled-slider::-ms-thumb:active {
  background: #dddddd;
}

input[type="range"].styled-slider:active::-ms-track {
  background: #e6e6e6;
}

input[type="range"].styled-slider.slider-progress::-ms-fill-lower {
  height: 4px;
  border-radius: 4px 0 0 4px;
  margin: -undefined 0 -undefined -undefined;
  background: black;
  border: none;
  border-right-width: 0;
}

input[type="range"].styled-slider.slider-progress:hover::-ms-fill-lower {
  background: black;
}

input[type="range"].styled-slider.slider-progress:active::-ms-fill-lower {
  background: black;
}

/* Media query for screens larger than a MacBook */
@media (min-width: 1450px) {
  .main-container {
    margin: 0 10%; /* Adjust margin for very large screens */
  }

  footer {
    padding-left: 11%;
  }
}

@media only screen and (max-width: 1920px) {

  .chartBox, .chartBox2,.chartBox3 {
    width: 1000px;
    height: 500px;
    padding: 1px;
  }

  .chartBoxComf {
    width: 1000px;
    height: 500px;
    padding: 1px;
  }

  html {
    font-size: 16px;
  }

}

/* Note this block is min width */

@media (min-width: 768px) {
  .filter-list-container {
    left:0px;
  }

  .carousel-inner {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Enable snap scrolling */
  }
  .carousel-inner .carousel-item {
    margin-right:5px;
    flex: 0 0 auto; /* Three values: flex-grow | flex-shrink | flex-basis */
    display: block;
    max-width: 300px;
    scroll-snap-align: start;
  }

  #cardCarousel .carousel-control-prev, #cardCarousel .carousel-control-next {
  display: none;
  }




}



@media only screen and (max-width: 650px) {
  .main-container {
    margin: 0 2rem;
  }
  footer {
    padding-left: 2rem;
  }
  html {
    font-size: 14px;
  }
  .img-logo {
    display: 2rem;
  }
  .app-name {
    font-size: 1rem;
  }

  .navbar-right-content {
    width: 50px;
  }

  .search-bar {
    width: 130px;
    min-width: 130px;
  }

  .match-list {
    top: 34px;
    width: 130px;
  }

  .chartBox,.chartBox2,.chartBox3 {
    width: 600px;
    height: 300px;
    padding: 10px;
  }

  .chartBoxComf {
    width: 600px;
    height: 300px;
    padding: 10px;
  }

}

/* For iphone 12, pro and pro max */
@media only screen and (max-width: 430px) {

  .main-container {
    margin: 0 14px;
  }

  #statemapDiv {
    margin: 0 1.1rem;
  }

  .filter-list-container {
    top: 1000px;
    left:-10px;
  }


  .search-bar {
  width: 130px;
  min-width: 130px;
  }

  .img-logo {
  height: 1.7rem;
  }

  .app-name {
    font-size: 14px;
  }

  .match-list {
    top: 34px;
    width: 130px;
  }

  .chartBox, .chartBox2,.chartBox3 {
    width: 430px;
    height: 280px;
    padding: 0px !important;
    margin: 0px !important;
  }

  .chartBoxComf {
    width: 430px;
    height: 280px;
    padding: 0px !important;
    margin: 0px !important;
  }

  .table-sm {
      font-size:14px !important;
      padding: 0px;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS devices */
  }

  html {
    font-size: 16px;
  }

  #leaveCode{
    font-size: 0.8rem;
  }

  .legendTitle {
      font-size: 1.25rem;
     }

   #prdateDiv,#titleline {
     font-size: 1.0rem;
    }

  .axis text{
    font-size: 1.25rem;
  }

  #timeslide {
    flex-grow: 0.8;    /* item can stretch to 80% width available */
  }


}

/* for iphone 12 mini */

@media only screen and (max-width: 395px) {

    .img-logo {
    height: 24px;
    }

    .main-container {
      margin: 0 14px;
    }

  .chartBox, .chartBox2,.chartBox3 {
    width: 390px;
    height: 280px;
    padding: 0px !important;
    margin: 0px !important;
  }

  .chartBoxComf {
    width: 390px;
    height: 280px;
    padding: 0px !important;
    margin: 0px !important;
  }

  .table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS devices */
  }

  body {
  font-size: 16px;
  }

  .legendTitle {
    font-size: 1.25rem;
   }

   #prdateDiv,#titleline {
     font-size: 1.0rem;
    }

  .axis text{
    font-size: 1.25rem;
    }

  #timeslide {
    flex-grow: 0.8;    /* item can stretch to 80% width available */
  }
}

/* User Reviews */
.userReviews{
  background-color: #F6F6F6;
  margin-top: 25px;
}
.userReviews .container1 {
  width: 65%;
  padding: 0;
  border-radius: 5px;
}
.userReviews .m{
  padding: 0 0;
}

.userReviews .m a {
  color: inherit;
  text-decoration: none;
}

.userReviews .m a:hover {
  text-decoration: underline;
}

.userReviews .review {
  font-size: 19px;
  font-weight: 450;
  color: black;
  padding: 10px 0;
}

.userReviews .carousel-inner-2 {
    overflow: hidden; /* Ensures that items do not overflow outside the carousel */
    max-width: 100%; /* Make sure it doesn't exceed the container's width */
    position: relative; /* Ensure proper positioning */
    height: 220px; /* Set a fixed height */
}

.userReviews .left {
  color:grey;
  font-size: 40px;
}
.userReviews .right {
  color:grey;
  font-size: 40px;
}

.carousel-indicators {
  bottom: -20px;
  right: 0;
  margin: 0;
}

.carousel-indicators [data-bs-target] {
    height: 15px;
    width: 15px;
    background-color: black; /* Ensure dots are visible */
    border-radius: 50%; /* Ensure the dots are circular */
    border: none; /* Remove any border if unnecessary */
    display: flex;
    align-items: center; /* Vertically center the content */
    justify-content: center; /* Horizontally center the content */
    margin: 0 5px; /* Add some spacing between the dots */
}

.userReviews .carousel-indicators .active{
  border: 3px solid;
  background-color:grey;
}
.userReviews .carousel-control-next,
.userReviews .carousel-control-prev {
    position: relative;
    /* Additional styles specific to this carousel */
}

@media (max-width:991px) {
  .userReviews .review{
    font-size: 18px;
    font-weight: 450;
    color: black;
    margin: 1px 15px;
  }
  .userReviews .m{
    padding: 0 15px;
  }
  .userReviews .carousel-inner-2{
    height: 195px;
  }
  .userReviews .container1 {
    width: 75%;
    padding: 0;
    border-radius: 5px;
  }
  .userReviews .left {
    color:grey;
    font-size: 30px;
  }
  .userReviews .right {
    color:grey;
    font-size: 30px;
  }
  .userReviews .carousel-indicators [data-bs-target ] {
    height: 8px;
    border: 1px solid #fff;
    width: 8px;
    background-color: black;
    border-radius: 50%;
  }
  .userReviews .carousel-indicators .active{
    border: 2px solid;
    background-color:grey;
  }
}
@media (max-width:767px) {
  .userReviews{
    margin-left: 2px;
    margin-right: 0px;
  }
  .userReviews .review {
    padding: 0 0;
    font-size: 17px;
    margin: 0px 15px;
  }
  .userReviews .carousel-inner-2{
    height: 195px;
  }

}
@media (max-width:480px) {
  .userReviews .review {
    padding: 0 0;
    font-size: 17px;
    margin: 0px 15px;
  }
  .userReviews .carousel-inner-2{
    height: 250px;
  }
  .userReviews .carousel-indicators {
    margin-right: 0; /* Remove right margin */
    margin-left: 0;  /* Remove left margin */
    margin-bottom: 0.5rem; /* Adjust bottom margin if needed */
    width: 100%; /* Ensure the indicators take full width */
    justify-content: center; /* Center the indicators */
  }
}

@media (max-width:395px) {
  .userReviews .review {
    padding: 0 0;
    font-size: 15px;
    margin: 1px 15px;
  }
  .userReviews .carousel-inner-2{
    height: 250px;
  }
  .userReviews .carousel-indicators {
    margin-right: 0; /* Remove right margin */
    margin-left: 0;  /* Remove left margin */
    margin-bottom: 0.5rem; /* Adjust bottom margin if needed */
    width: 100%; /* Ensure the indicators take full width */
    justify-content: center; /* Center the indicators */
  }
}

.adslot_2 {
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
  }


.adblock-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none; /* Hidden by default */
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.adblock-content {
  background: white;
  padding: 20px;
  max-width: 500px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

#adblock-modal h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

#adblock-modal p {
  font-size: 1rem;
  margin-bottom: 20px;
}

#adblock-modal button {
  width: 100%;
  margin-bottom: 10px;
}

.custom-link {
  color: #4286f4; /* Subtle but clear blue, clean */
  text-decoration: none; /* No underline initially */
  cursor: pointer; /* Show pointer cursor */
  transition: color 0.3s, text-decoration 0.3s;
}

.custom-link:hover {
  text-decoration: underline; /* Show underline on hover */
  color: #0056b3; /* Slightly darker on hover for feedback */
}


#cityNeighborListWrapper {
  display: flex;
  visibility: visible;
  height: auto;
  opacity: 1;
  align-items: center;
  justify-content: center;
}

.scroll-nav-icon {
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
  user-select: none;
}

.scroll-nav-icon:hover {
  color: #000;
}


.scrolling-nav {
  background-color: #f8f9fa;
  font-family: Roboto, sans-serif;
  position: relative;
  width: 80vw !important;
  margin: 0 auto;
}

.scrolling-nav::before,
.scrolling-nav::after {
  content: "";
  display: block;
  position: absolute;
  width: 20px; /* 10px * 2 */
  height: 100%;
  top: 0;
}

.scrolling-nav::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.scrolling-nav::after {
  right: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
}

.scrolling-nav ul {
  margin: 10px auto;
  padding: 5px 22px 5px 22px; /* (10 / 2) (10 + 2) */
  list-style-type: none;
  display: flex;
  overflow-x: auto;
  align-items: center;

  -ms-overflow-style: none; /* IE 10+ */
  scrollbar-width: none; /* Firefox */
}

.scrolling-nav ul::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.scrolling-nav ul li {
  flex: 0 0 auto;
  margin-right: 10px;
}

.scrolling-nav ul li a {
  display: block;
  text-decoration: none;
  color: #fff;
  background: black;
  border-radius: 20px;
  padding: 5px 22px;
}

.scrolling-nav ul li a:hover {
  background: #777;
}

#cityNeighborListTitle {
  font-size: 1.1rem;
}


#summary-toggle {
  text-decoration: none !important;
}
#summary-toggle:hover {
  text-decoration: none !important;
}

/* FAQ accordion container */
.faq-accordion .accordion-item {
  border: none;
  margin-bottom: 0.5rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

/* Question button */
.faq-accordion .accordion-button {
  font-weight: 600;
  background: #fff;
  color: #000;
  padding: 1rem 1.25rem;
  transition: background-color 0.3s ease, border-left 0.3s ease;
}

/* Remove default Bootstrap arrow background */
.faq-accordion .accordion-button::after {
  filter: grayscale(1);
}

/* Hover state */
.faq-accordion .accordion-button:hover {
  background: #f8f9fa;
}

/* Expanded question */
.faq-accordion .accordion-button:not(.collapsed) {
  background: #f3f4f6; /* light gray */
  color: #000;
  border-left: 4px solid #6c757d;
  box-shadow: none;
}

/* Answer panel */
.faq-accordion .accordion-body {
  background: #f9fafb;
  padding: 1rem 1.25rem;
  border-left: 4px solid #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Remove Bootstrap focus ring */
.faq-accordion .accordion-button:focus {
  box-shadow: none;
}
